| OLD | NEW |
| (Empty) |
| 1 #! /bin/sh | |
| 2 # Guess values for system-dependent variables and create Makefiles. | |
| 3 # Generated by GNU Autoconf 2.66 for hyphen 2.6. | |
| 4 # | |
| 5 # Report bugs to <nemeth@openoffice.org>. | |
| 6 # | |
| 7 # | |
| 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
| 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
| 10 # Foundation, Inc. | |
| 11 # | |
| 12 # | |
| 13 # This configure script is free software; the Free Software Foundation | |
| 14 # gives unlimited permission to copy, distribute and modify it. | |
| 15 ## -------------------- ## | |
| 16 ## M4sh Initialization. ## | |
| 17 ## -------------------- ## | |
| 18 | |
| 19 # Be more Bourne compatible | |
| 20 DUALCASE=1; export DUALCASE # for MKS sh | |
| 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 22 emulate sh | |
| 23 NULLCMD=: | |
| 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 25 # is contrary to our usage. Disable this feature. | |
| 26 alias -g '${1+"$@"}'='"$@"' | |
| 27 setopt NO_GLOB_SUBST | |
| 28 else | |
| 29 case `(set -o) 2>/dev/null` in #( | |
| 30 *posix*) : | |
| 31 set -o posix ;; #( | |
| 32 *) : | |
| 33 ;; | |
| 34 esac | |
| 35 fi | |
| 36 | |
| 37 | |
| 38 as_nl=' | |
| 39 ' | |
| 40 export as_nl | |
| 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 45 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 46 # but without wasting forks for bash or zsh. | |
| 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 49 as_echo='print -r --' | |
| 50 as_echo_n='print -rn --' | |
| 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 52 as_echo='printf %s\n' | |
| 53 as_echo_n='printf %s' | |
| 54 else | |
| 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 57 as_echo_n='/usr/ucb/echo -n' | |
| 58 else | |
| 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 60 as_echo_n_body='eval | |
| 61 arg=$1; | |
| 62 case $arg in #( | |
| 63 *"$as_nl"*) | |
| 64 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 66 esac; | |
| 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 68 ' | |
| 69 export as_echo_n_body | |
| 70 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 71 fi | |
| 72 export as_echo_body | |
| 73 as_echo='sh -c $as_echo_body as_echo' | |
| 74 fi | |
| 75 | |
| 76 # The user is always right. | |
| 77 if test "${PATH_SEPARATOR+set}" != set; then | |
| 78 PATH_SEPARATOR=: | |
| 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 81 PATH_SEPARATOR=';' | |
| 82 } | |
| 83 fi | |
| 84 | |
| 85 | |
| 86 # IFS | |
| 87 # We need space, tab and new line, in precisely that order. Quoting is | |
| 88 # there to prevent editors from complaining about space-tab. | |
| 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 90 # splitting by setting IFS to empty value.) | |
| 91 IFS=" "" $as_nl" | |
| 92 | |
| 93 # Find who we are. Look in the path if we contain no directory separator. | |
| 94 case $0 in #(( | |
| 95 *[\\/]* ) as_myself=$0 ;; | |
| 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 97 for as_dir in $PATH | |
| 98 do | |
| 99 IFS=$as_save_IFS | |
| 100 test -z "$as_dir" && as_dir=. | |
| 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 102 done | |
| 103 IFS=$as_save_IFS | |
| 104 | |
| 105 ;; | |
| 106 esac | |
| 107 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 108 # in which case we are not to be found in the path. | |
| 109 if test "x$as_myself" = x; then | |
| 110 as_myself=$0 | |
| 111 fi | |
| 112 if test ! -f "$as_myself"; then | |
| 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 | |
| 114 exit 1 | |
| 115 fi | |
| 116 | |
| 117 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 119 # suppresses any "Segmentation fault" message there. '((' could | |
| 120 # trigger a bug in pdksh 5.2.14. | |
| 121 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 122 do eval test x\${$as_var+set} = xset \ | |
| 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 124 done | |
| 125 PS1='$ ' | |
| 126 PS2='> ' | |
| 127 PS4='+ ' | |
| 128 | |
| 129 # NLS nuisances. | |
| 130 LC_ALL=C | |
| 131 export LC_ALL | |
| 132 LANGUAGE=C | |
| 133 export LANGUAGE | |
| 134 | |
| 135 # CDPATH. | |
| 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 137 | |
| 138 if test "x$CONFIG_SHELL" = x; then | |
| 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev
/null 2>&1; then : | |
| 140 emulate sh | |
| 141 NULLCMD=: | |
| 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 143 # is contrary to our usage. Disable this feature. | |
| 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 145 setopt NO_GLOB_SUBST | |
| 146 else | |
| 147 case \`(set -o) 2>/dev/null\` in #( | |
| 148 *posix*) : | |
| 149 set -o posix ;; #( | |
| 150 *) : | |
| 151 ;; | |
| 152 esac | |
| 153 fi | |
| 154 " | |
| 155 as_required="as_fn_return () { (exit \$1); } | |
| 156 as_fn_success () { as_fn_return 0; } | |
| 157 as_fn_failure () { as_fn_return 1; } | |
| 158 as_fn_ret_success () { return 0; } | |
| 159 as_fn_ret_failure () { return 1; } | |
| 160 | |
| 161 exitcode=0 | |
| 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 167 | |
| 168 else | |
| 169 exitcode=1; echo positional parameters were not saved. | |
| 170 fi | |
| 171 test x\$exitcode = x0 || exit 1" | |
| 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$
as_suggested" as_lineno_1a=\$LINENO | |
| 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as
_lineno_2a=\$LINENO | |
| 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"'
|| exit 1 | |
| 176 | |
| 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | |
| 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 181 PATH=/empty FPATH=/empty; export PATH FPATH | |
| 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | |
| 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 | |
| 184 test \$(( 1 + 1 )) = 2 || exit 1" | |
| 185 if (eval "$as_required") 2>/dev/null; then : | |
| 186 as_have_required=yes | |
| 187 else | |
| 188 as_have_required=no | |
| 189 fi | |
| 190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then
: | |
| 191 | |
| 192 else | |
| 193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 194 as_found=false | |
| 195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 196 do | |
| 197 IFS=$as_save_IFS | |
| 198 test -z "$as_dir" && as_dir=. | |
| 199 as_found=: | |
| 200 case $as_dir in #( | |
| 201 /*) | |
| 202 for as_base in sh bash ksh sh5; do | |
| 203 # Try only shells that exist, to save several forks. | |
| 204 as_shell=$as_dir/$as_base | |
| 205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a
"$as_shell"; } 2>/dev/null; then : | |
| 207 CONFIG_SHELL=$as_shell as_have_required=yes | |
| 208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a "$as_shell"; } 2>/dev/null; then : | |
| 209 break 2 | |
| 210 fi | |
| 211 fi | |
| 212 done;; | |
| 213 esac | |
| 214 as_found=false | |
| 215 done | |
| 216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHEL
L"; } 2>/dev/null; then : | |
| 218 CONFIG_SHELL=$SHELL as_have_required=yes | |
| 219 fi; } | |
| 220 IFS=$as_save_IFS | |
| 221 | |
| 222 | |
| 223 if test "x$CONFIG_SHELL" != x; then : | |
| 224 # We cannot yet assume a decent shell, so we have to provide a | |
| 225 # neutralization value for shells without unset; and this also | |
| 226 # works around shells that cannot unset nonexistent variables. | |
| 227 BASH_ENV=/dev/null | |
| 228 ENV=/dev/null | |
| 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 230 export CONFIG_SHELL | |
| 231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
| 232 fi | |
| 233 | |
| 234 if test x$as_have_required = xno; then : | |
| 235 $as_echo "$0: This script requires a shell more modern than all" | |
| 236 $as_echo "$0: the shells that I found on your system." | |
| 237 if test x${ZSH_VERSION+set} = xset ; then | |
| 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 240 else | |
| 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and | |
| 242 $0: nemeth@openoffice.org about your system, including any | |
| 243 $0: error possibly output before this message. Then install | |
| 244 $0: a modern shell, or manually run the script under such a | |
| 245 $0: shell if you do have one." | |
| 246 fi | |
| 247 exit 1 | |
| 248 fi | |
| 249 fi | |
| 250 fi | |
| 251 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 252 export SHELL | |
| 253 # Unset more variables known to interfere with behavior of common tools. | |
| 254 CLICOLOR_FORCE= GREP_OPTIONS= | |
| 255 unset CLICOLOR_FORCE GREP_OPTIONS | |
| 256 | |
| 257 ## --------------------- ## | |
| 258 ## M4sh Shell Functions. ## | |
| 259 ## --------------------- ## | |
| 260 # as_fn_unset VAR | |
| 261 # --------------- | |
| 262 # Portably unset VAR. | |
| 263 as_fn_unset () | |
| 264 { | |
| 265 { eval $1=; unset $1;} | |
| 266 } | |
| 267 as_unset=as_fn_unset | |
| 268 | |
| 269 # as_fn_set_status STATUS | |
| 270 # ----------------------- | |
| 271 # Set $? to STATUS, without forking. | |
| 272 as_fn_set_status () | |
| 273 { | |
| 274 return $1 | |
| 275 } # as_fn_set_status | |
| 276 | |
| 277 # as_fn_exit STATUS | |
| 278 # ----------------- | |
| 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 280 as_fn_exit () | |
| 281 { | |
| 282 set +e | |
| 283 as_fn_set_status $1 | |
| 284 exit $1 | |
| 285 } # as_fn_exit | |
| 286 | |
| 287 # as_fn_mkdir_p | |
| 288 # ------------- | |
| 289 # Create "$as_dir" as a directory, including parents if necessary. | |
| 290 as_fn_mkdir_p () | |
| 291 { | |
| 292 | |
| 293 case $as_dir in #( | |
| 294 -*) as_dir=./$as_dir;; | |
| 295 esac | |
| 296 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 297 as_dirs= | |
| 298 while :; do | |
| 299 case $as_dir in #( | |
| 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 301 *) as_qdir=$as_dir;; | |
| 302 esac | |
| 303 as_dirs="'$as_qdir' $as_dirs" | |
| 304 as_dir=`$as_dirname -- "$as_dir" || | |
| 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 306 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 307 X"$as_dir" : 'X\(//\)$' \| \ | |
| 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 309 $as_echo X"$as_dir" | | |
| 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 311 s//\1/ | |
| 312 q | |
| 313 } | |
| 314 /^X\(\/\/\)[^/].*/{ | |
| 315 s//\1/ | |
| 316 q | |
| 317 } | |
| 318 /^X\(\/\/\)$/{ | |
| 319 s//\1/ | |
| 320 q | |
| 321 } | |
| 322 /^X\(\/\).*/{ | |
| 323 s//\1/ | |
| 324 q | |
| 325 } | |
| 326 s/.*/./; q'` | |
| 327 test -d "$as_dir" && break | |
| 328 done | |
| 329 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 331 | |
| 332 | |
| 333 } # as_fn_mkdir_p | |
| 334 # as_fn_append VAR VALUE | |
| 335 # ---------------------- | |
| 336 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 337 # advantage of any shell optimizations that allow amortized linear growth over | |
| 338 # repeated appends, instead of the typical quadratic growth present in naive | |
| 339 # implementations. | |
| 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 341 eval 'as_fn_append () | |
| 342 { | |
| 343 eval $1+=\$2 | |
| 344 }' | |
| 345 else | |
| 346 as_fn_append () | |
| 347 { | |
| 348 eval $1=\$$1\$2 | |
| 349 } | |
| 350 fi # as_fn_append | |
| 351 | |
| 352 # as_fn_arith ARG... | |
| 353 # ------------------ | |
| 354 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 356 # must be portable across $(()) and expr. | |
| 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 358 eval 'as_fn_arith () | |
| 359 { | |
| 360 as_val=$(( $* )) | |
| 361 }' | |
| 362 else | |
| 363 as_fn_arith () | |
| 364 { | |
| 365 as_val=`expr "$@" || test $? -eq 1` | |
| 366 } | |
| 367 fi # as_fn_arith | |
| 368 | |
| 369 | |
| 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 371 # ---------------------------------------- | |
| 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 374 # script with STATUS, using 1 if that was 0. | |
| 375 as_fn_error () | |
| 376 { | |
| 377 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 378 if test "$4"; then | |
| 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 381 fi | |
| 382 $as_echo "$as_me: error: $2" >&2 | |
| 383 as_fn_exit $as_status | |
| 384 } # as_fn_error | |
| 385 | |
| 386 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 388 as_expr=expr | |
| 389 else | |
| 390 as_expr=false | |
| 391 fi | |
| 392 | |
| 393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 394 as_basename=basename | |
| 395 else | |
| 396 as_basename=false | |
| 397 fi | |
| 398 | |
| 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 400 as_dirname=dirname | |
| 401 else | |
| 402 as_dirname=false | |
| 403 fi | |
| 404 | |
| 405 as_me=`$as_basename -- "$0" || | |
| 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 407 X"$0" : 'X\(//\)$' \| \ | |
| 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 409 $as_echo X/"$0" | | |
| 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 411 s//\1/ | |
| 412 q | |
| 413 } | |
| 414 /^X\/\(\/\/\)$/{ | |
| 415 s//\1/ | |
| 416 q | |
| 417 } | |
| 418 /^X\/\(\/\).*/{ | |
| 419 s//\1/ | |
| 420 q | |
| 421 } | |
| 422 s/.*/./; q'` | |
| 423 | |
| 424 # Avoid depending upon Character Ranges. | |
| 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 428 as_cr_digits='0123456789' | |
| 429 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 430 | |
| 431 | |
| 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 437 sed -n ' | |
| 438 p | |
| 439 /[$]LINENO/= | |
| 440 ' <$as_myself | | |
| 441 sed ' | |
| 442 s/[$]LINENO.*/&-/ | |
| 443 t lineno | |
| 444 b | |
| 445 :lineno | |
| 446 N | |
| 447 :loop | |
| 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 449 t loop | |
| 450 s/-\n.*// | |
| 451 ' >$as_me.lineno && | |
| 452 chmod +x "$as_me.lineno" || | |
| 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s
hell" >&2; as_fn_exit 1; } | |
| 454 | |
| 455 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 456 # (the dirname of $[0] is not the place where we might find the | |
| 457 # original and so on. Autoconf is especially sensitive to this). | |
| 458 . "./$as_me.lineno" | |
| 459 # Exit status is that of the last command. | |
| 460 exit | |
| 461 } | |
| 462 | |
| 463 ECHO_C= ECHO_N= ECHO_T= | |
| 464 case `echo -n x` in #((((( | |
| 465 -n*) | |
| 466 case `echo 'xy\c'` in | |
| 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 468 xy) ECHO_C='\c';; | |
| 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 470 ECHO_T=' ';; | |
| 471 esac;; | |
| 472 *) | |
| 473 ECHO_N='-n';; | |
| 474 esac | |
| 475 | |
| 476 rm -f conf$$ conf$$.exe conf$$.file | |
| 477 if test -d conf$$.dir; then | |
| 478 rm -f conf$$.dir/conf$$.file | |
| 479 else | |
| 480 rm -f conf$$.dir | |
| 481 mkdir conf$$.dir 2>/dev/null | |
| 482 fi | |
| 483 if (echo >conf$$.file) 2>/dev/null; then | |
| 484 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 485 as_ln_s='ln -s' | |
| 486 # ... but there are two gotchas: | |
| 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 489 # In both cases, we have to default to `cp -p'. | |
| 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 491 as_ln_s='cp -p' | |
| 492 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 493 as_ln_s=ln | |
| 494 else | |
| 495 as_ln_s='cp -p' | |
| 496 fi | |
| 497 else | |
| 498 as_ln_s='cp -p' | |
| 499 fi | |
| 500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 501 rmdir conf$$.dir 2>/dev/null | |
| 502 | |
| 503 if mkdir -p . 2>/dev/null; then | |
| 504 as_mkdir_p='mkdir -p "$as_dir"' | |
| 505 else | |
| 506 test -d ./-p && rmdir ./-p | |
| 507 as_mkdir_p=false | |
| 508 fi | |
| 509 | |
| 510 if test -x / >/dev/null 2>&1; then | |
| 511 as_test_x='test -x' | |
| 512 else | |
| 513 if ls -dL / >/dev/null 2>&1; then | |
| 514 as_ls_L_option=L | |
| 515 else | |
| 516 as_ls_L_option= | |
| 517 fi | |
| 518 as_test_x=' | |
| 519 eval sh -c '\'' | |
| 520 if test -d "$1"; then | |
| 521 test -d "$1/."; | |
| 522 else | |
| 523 case $1 in #( | |
| 524 -*)set "./$1";; | |
| 525 esac; | |
| 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 527 ???[sx]*):;;*)false;;esac;fi | |
| 528 '\'' sh | |
| 529 ' | |
| 530 fi | |
| 531 as_executable_p=$as_test_x | |
| 532 | |
| 533 # Sed expression to map a string onto a valid CPP name. | |
| 534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 535 | |
| 536 # Sed expression to map a string onto a valid variable name. | |
| 537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 538 | |
| 539 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 540 | |
| 541 | |
| 542 test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 543 exec 6>&1 | |
| 544 | |
| 545 # Name of the host. | |
| 546 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 547 # so uname gets run too. | |
| 548 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 549 | |
| 550 # | |
| 551 # Initializations. | |
| 552 # | |
| 553 ac_default_prefix=/usr/local | |
| 554 ac_clean_files= | |
| 555 ac_config_libobj_dir=. | |
| 556 LIBOBJS= | |
| 557 cross_compiling=no | |
| 558 subdirs= | |
| 559 MFLAGS= | |
| 560 MAKEFLAGS= | |
| 561 | |
| 562 # Identity of this package. | |
| 563 PACKAGE_NAME='hyphen' | |
| 564 PACKAGE_TARNAME='hyphen' | |
| 565 PACKAGE_VERSION='2.6' | |
| 566 PACKAGE_STRING='hyphen 2.6' | |
| 567 PACKAGE_BUGREPORT='nemeth@openoffice.org' | |
| 568 PACKAGE_URL='' | |
| 569 | |
| 570 # Factoring default headers for most tests. | |
| 571 ac_includes_default="\ | |
| 572 #include <stdio.h> | |
| 573 #ifdef HAVE_SYS_TYPES_H | |
| 574 # include <sys/types.h> | |
| 575 #endif | |
| 576 #ifdef HAVE_SYS_STAT_H | |
| 577 # include <sys/stat.h> | |
| 578 #endif | |
| 579 #ifdef STDC_HEADERS | |
| 580 # include <stdlib.h> | |
| 581 # include <stddef.h> | |
| 582 #else | |
| 583 # ifdef HAVE_STDLIB_H | |
| 584 # include <stdlib.h> | |
| 585 # endif | |
| 586 #endif | |
| 587 #ifdef HAVE_STRING_H | |
| 588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 589 # include <memory.h> | |
| 590 # endif | |
| 591 # include <string.h> | |
| 592 #endif | |
| 593 #ifdef HAVE_STRINGS_H | |
| 594 # include <strings.h> | |
| 595 #endif | |
| 596 #ifdef HAVE_INTTYPES_H | |
| 597 # include <inttypes.h> | |
| 598 #endif | |
| 599 #ifdef HAVE_STDINT_H | |
| 600 # include <stdint.h> | |
| 601 #endif | |
| 602 #ifdef HAVE_UNISTD_H | |
| 603 # include <unistd.h> | |
| 604 #endif" | |
| 605 | |
| 606 ac_subst_vars='am__EXEEXT_FALSE | |
| 607 am__EXEEXT_TRUE | |
| 608 LTLIBOBJS | |
| 609 LIBOBJS | |
| 610 CPP | |
| 611 OTOOL64 | |
| 612 OTOOL | |
| 613 LIPO | |
| 614 NMEDIT | |
| 615 DSYMUTIL | |
| 616 RANLIB | |
| 617 AR | |
| 618 OBJDUMP | |
| 619 LN_S | |
| 620 NM | |
| 621 ac_ct_DUMPBIN | |
| 622 DUMPBIN | |
| 623 LD | |
| 624 FGREP | |
| 625 EGREP | |
| 626 GREP | |
| 627 SED | |
| 628 host_os | |
| 629 host_vendor | |
| 630 host_cpu | |
| 631 host | |
| 632 build_os | |
| 633 build_vendor | |
| 634 build_cpu | |
| 635 build | |
| 636 LIBTOOL | |
| 637 am__fastdepCC_FALSE | |
| 638 am__fastdepCC_TRUE | |
| 639 CCDEPMODE | |
| 640 AMDEPBACKSLASH | |
| 641 AMDEP_FALSE | |
| 642 AMDEP_TRUE | |
| 643 am__quote | |
| 644 am__include | |
| 645 DEPDIR | |
| 646 OBJEXT | |
| 647 EXEEXT | |
| 648 ac_ct_CC | |
| 649 CPPFLAGS | |
| 650 LDFLAGS | |
| 651 CFLAGS | |
| 652 CC | |
| 653 am__untar | |
| 654 am__tar | |
| 655 AMTAR | |
| 656 am__leading_dot | |
| 657 SET_MAKE | |
| 658 AWK | |
| 659 mkdir_p | |
| 660 MKDIR_P | |
| 661 INSTALL_STRIP_PROGRAM | |
| 662 STRIP | |
| 663 install_sh | |
| 664 MAKEINFO | |
| 665 AUTOHEADER | |
| 666 AUTOMAKE | |
| 667 AUTOCONF | |
| 668 ACLOCAL | |
| 669 VERSION | |
| 670 PACKAGE | |
| 671 CYGPATH_W | |
| 672 am__isrc | |
| 673 INSTALL_DATA | |
| 674 INSTALL_SCRIPT | |
| 675 INSTALL_PROGRAM | |
| 676 target_alias | |
| 677 host_alias | |
| 678 build_alias | |
| 679 LIBS | |
| 680 ECHO_T | |
| 681 ECHO_N | |
| 682 ECHO_C | |
| 683 DEFS | |
| 684 mandir | |
| 685 localedir | |
| 686 libdir | |
| 687 psdir | |
| 688 pdfdir | |
| 689 dvidir | |
| 690 htmldir | |
| 691 infodir | |
| 692 docdir | |
| 693 oldincludedir | |
| 694 includedir | |
| 695 localstatedir | |
| 696 sharedstatedir | |
| 697 sysconfdir | |
| 698 datadir | |
| 699 datarootdir | |
| 700 libexecdir | |
| 701 sbindir | |
| 702 bindir | |
| 703 program_transform_name | |
| 704 prefix | |
| 705 exec_prefix | |
| 706 PACKAGE_URL | |
| 707 PACKAGE_BUGREPORT | |
| 708 PACKAGE_STRING | |
| 709 PACKAGE_VERSION | |
| 710 PACKAGE_TARNAME | |
| 711 PACKAGE_NAME | |
| 712 PATH_SEPARATOR | |
| 713 SHELL' | |
| 714 ac_subst_files='' | |
| 715 ac_user_opts=' | |
| 716 enable_option_checking | |
| 717 enable_dependency_tracking | |
| 718 enable_shared | |
| 719 enable_static | |
| 720 with_pic | |
| 721 enable_fast_install | |
| 722 with_gnu_ld | |
| 723 enable_libtool_lock | |
| 724 ' | |
| 725 ac_precious_vars='build_alias | |
| 726 host_alias | |
| 727 target_alias | |
| 728 CC | |
| 729 CFLAGS | |
| 730 LDFLAGS | |
| 731 LIBS | |
| 732 CPPFLAGS | |
| 733 CPP' | |
| 734 | |
| 735 | |
| 736 # Initialize some variables set by options. | |
| 737 ac_init_help= | |
| 738 ac_init_version=false | |
| 739 ac_unrecognized_opts= | |
| 740 ac_unrecognized_sep= | |
| 741 # The variables have the same names as the options, with | |
| 742 # dashes changed to underlines. | |
| 743 cache_file=/dev/null | |
| 744 exec_prefix=NONE | |
| 745 no_create= | |
| 746 no_recursion= | |
| 747 prefix=NONE | |
| 748 program_prefix=NONE | |
| 749 program_suffix=NONE | |
| 750 program_transform_name=s,x,x, | |
| 751 silent= | |
| 752 site= | |
| 753 srcdir= | |
| 754 verbose= | |
| 755 x_includes=NONE | |
| 756 x_libraries=NONE | |
| 757 | |
| 758 # Installation directory options. | |
| 759 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 760 # and all the variables that are supposed to be based on exec_prefix | |
| 761 # by default will actually change. | |
| 762 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 763 # (The list follows the same order as the GNU Coding Standards.) | |
| 764 bindir='${exec_prefix}/bin' | |
| 765 sbindir='${exec_prefix}/sbin' | |
| 766 libexecdir='${exec_prefix}/libexec' | |
| 767 datarootdir='${prefix}/share' | |
| 768 datadir='${datarootdir}' | |
| 769 sysconfdir='${prefix}/etc' | |
| 770 sharedstatedir='${prefix}/com' | |
| 771 localstatedir='${prefix}/var' | |
| 772 includedir='${prefix}/include' | |
| 773 oldincludedir='/usr/include' | |
| 774 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
| 775 infodir='${datarootdir}/info' | |
| 776 htmldir='${docdir}' | |
| 777 dvidir='${docdir}' | |
| 778 pdfdir='${docdir}' | |
| 779 psdir='${docdir}' | |
| 780 libdir='${exec_prefix}/lib' | |
| 781 localedir='${datarootdir}/locale' | |
| 782 mandir='${datarootdir}/man' | |
| 783 | |
| 784 ac_prev= | |
| 785 ac_dashdash= | |
| 786 for ac_option | |
| 787 do | |
| 788 # If the previous option needs an argument, assign it. | |
| 789 if test -n "$ac_prev"; then | |
| 790 eval $ac_prev=\$ac_option | |
| 791 ac_prev= | |
| 792 continue | |
| 793 fi | |
| 794 | |
| 795 case $ac_option in | |
| 796 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 797 *) ac_optarg=yes ;; | |
| 798 esac | |
| 799 | |
| 800 # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 801 | |
| 802 case $ac_dashdash$ac_option in | |
| 803 --) | |
| 804 ac_dashdash=yes ;; | |
| 805 | |
| 806 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 807 ac_prev=bindir ;; | |
| 808 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 809 bindir=$ac_optarg ;; | |
| 810 | |
| 811 -build | --build | --buil | --bui | --bu) | |
| 812 ac_prev=build_alias ;; | |
| 813 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 814 build_alias=$ac_optarg ;; | |
| 815 | |
| 816 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 817 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 818 ac_prev=cache_file ;; | |
| 819 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 820 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 821 cache_file=$ac_optarg ;; | |
| 822 | |
| 823 --config-cache | -C) | |
| 824 cache_file=config.cache ;; | |
| 825 | |
| 826 -datadir | --datadir | --datadi | --datad) | |
| 827 ac_prev=datadir ;; | |
| 828 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 829 datadir=$ac_optarg ;; | |
| 830 | |
| 831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 832 | --dataroo | --dataro | --datar) | |
| 833 ac_prev=datarootdir ;; | |
| 834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 836 datarootdir=$ac_optarg ;; | |
| 837 | |
| 838 -disable-* | --disable-*) | |
| 839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 840 # Reject names that are not valid shell variable names. | |
| 841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 842 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 843 ac_useropt_orig=$ac_useropt | |
| 844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 845 case $ac_user_opts in | |
| 846 *" | |
| 847 "enable_$ac_useropt" | |
| 848 "*) ;; | |
| 849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disabl
e-$ac_useropt_orig" | |
| 850 ac_unrecognized_sep=', ';; | |
| 851 esac | |
| 852 eval enable_$ac_useropt=no ;; | |
| 853 | |
| 854 -docdir | --docdir | --docdi | --doc | --do) | |
| 855 ac_prev=docdir ;; | |
| 856 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 857 docdir=$ac_optarg ;; | |
| 858 | |
| 859 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 860 ac_prev=dvidir ;; | |
| 861 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 862 dvidir=$ac_optarg ;; | |
| 863 | |
| 864 -enable-* | --enable-*) | |
| 865 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 866 # Reject names that are not valid shell variable names. | |
| 867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 868 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 869 ac_useropt_orig=$ac_useropt | |
| 870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 871 case $ac_user_opts in | |
| 872 *" | |
| 873 "enable_$ac_useropt" | |
| 874 "*) ;; | |
| 875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable
-$ac_useropt_orig" | |
| 876 ac_unrecognized_sep=', ';; | |
| 877 esac | |
| 878 eval enable_$ac_useropt=\$ac_optarg ;; | |
| 879 | |
| 880 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 881 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 882 | --exec | --exe | --ex) | |
| 883 ac_prev=exec_prefix ;; | |
| 884 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 885 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 886 | --exec=* | --exe=* | --ex=*) | |
| 887 exec_prefix=$ac_optarg ;; | |
| 888 | |
| 889 -gas | --gas | --ga | --g) | |
| 890 # Obsolete; use --with-gas. | |
| 891 with_gas=yes ;; | |
| 892 | |
| 893 -help | --help | --hel | --he | -h) | |
| 894 ac_init_help=long ;; | |
| 895 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 896 ac_init_help=recursive ;; | |
| 897 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 898 ac_init_help=short ;; | |
| 899 | |
| 900 -host | --host | --hos | --ho) | |
| 901 ac_prev=host_alias ;; | |
| 902 -host=* | --host=* | --hos=* | --ho=*) | |
| 903 host_alias=$ac_optarg ;; | |
| 904 | |
| 905 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 906 ac_prev=htmldir ;; | |
| 907 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 908 | --ht=*) | |
| 909 htmldir=$ac_optarg ;; | |
| 910 | |
| 911 -includedir | --includedir | --includedi | --included | --include \ | |
| 912 | --includ | --inclu | --incl | --inc) | |
| 913 ac_prev=includedir ;; | |
| 914 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 915 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 916 includedir=$ac_optarg ;; | |
| 917 | |
| 918 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 919 ac_prev=infodir ;; | |
| 920 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 921 infodir=$ac_optarg ;; | |
| 922 | |
| 923 -libdir | --libdir | --libdi | --libd) | |
| 924 ac_prev=libdir ;; | |
| 925 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 926 libdir=$ac_optarg ;; | |
| 927 | |
| 928 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 929 | --libexe | --libex | --libe) | |
| 930 ac_prev=libexecdir ;; | |
| 931 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 932 | --libexe=* | --libex=* | --libe=*) | |
| 933 libexecdir=$ac_optarg ;; | |
| 934 | |
| 935 -localedir | --localedir | --localedi | --localed | --locale) | |
| 936 ac_prev=localedir ;; | |
| 937 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 938 localedir=$ac_optarg ;; | |
| 939 | |
| 940 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 941 | --localstate | --localstat | --localsta | --localst | --locals) | |
| 942 ac_prev=localstatedir ;; | |
| 943 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 944 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 945 localstatedir=$ac_optarg ;; | |
| 946 | |
| 947 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 948 ac_prev=mandir ;; | |
| 949 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 950 mandir=$ac_optarg ;; | |
| 951 | |
| 952 -nfp | --nfp | --nf) | |
| 953 # Obsolete; use --without-fp. | |
| 954 with_fp=no ;; | |
| 955 | |
| 956 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 957 | --no-cr | --no-c | -n) | |
| 958 no_create=yes ;; | |
| 959 | |
| 960 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 961 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 962 no_recursion=yes ;; | |
| 963 | |
| 964 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 965 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 966 | --oldin | --oldi | --old | --ol | --o) | |
| 967 ac_prev=oldincludedir ;; | |
| 968 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 969 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 970 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 971 oldincludedir=$ac_optarg ;; | |
| 972 | |
| 973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 974 ac_prev=prefix ;; | |
| 975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 976 prefix=$ac_optarg ;; | |
| 977 | |
| 978 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 979 | --program-pre | --program-pr | --program-p) | |
| 980 ac_prev=program_prefix ;; | |
| 981 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 982 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 983 program_prefix=$ac_optarg ;; | |
| 984 | |
| 985 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 986 | --program-suf | --program-su | --program-s) | |
| 987 ac_prev=program_suffix ;; | |
| 988 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 989 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 990 program_suffix=$ac_optarg ;; | |
| 991 | |
| 992 -program-transform-name | --program-transform-name \ | |
| 993 | --program-transform-nam | --program-transform-na \ | |
| 994 | --program-transform-n | --program-transform- \ | |
| 995 | --program-transform | --program-transfor \ | |
| 996 | --program-transfo | --program-transf \ | |
| 997 | --program-trans | --program-tran \ | |
| 998 | --progr-tra | --program-tr | --program-t) | |
| 999 ac_prev=program_transform_name ;; | |
| 1000 -program-transform-name=* | --program-transform-name=* \ | |
| 1001 | --program-transform-nam=* | --program-transform-na=* \ | |
| 1002 | --program-transform-n=* | --program-transform-=* \ | |
| 1003 | --program-transform=* | --program-transfor=* \ | |
| 1004 | --program-transfo=* | --program-transf=* \ | |
| 1005 | --program-trans=* | --program-tran=* \ | |
| 1006 | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 1007 program_transform_name=$ac_optarg ;; | |
| 1008 | |
| 1009 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 1010 ac_prev=pdfdir ;; | |
| 1011 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 1012 pdfdir=$ac_optarg ;; | |
| 1013 | |
| 1014 -psdir | --psdir | --psdi | --psd | --ps) | |
| 1015 ac_prev=psdir ;; | |
| 1016 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 1017 psdir=$ac_optarg ;; | |
| 1018 | |
| 1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1020 | -silent | --silent | --silen | --sile | --sil) | |
| 1021 silent=yes ;; | |
| 1022 | |
| 1023 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 1024 ac_prev=sbindir ;; | |
| 1025 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 1026 | --sbi=* | --sb=*) | |
| 1027 sbindir=$ac_optarg ;; | |
| 1028 | |
| 1029 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 1030 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 1031 | --sharedst | --shareds | --shared | --share | --shar \ | |
| 1032 | --sha | --sh) | |
| 1033 ac_prev=sharedstatedir ;; | |
| 1034 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 1035 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 1036 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 1037 | --sha=* | --sh=*) | |
| 1038 sharedstatedir=$ac_optarg ;; | |
| 1039 | |
| 1040 -site | --site | --sit) | |
| 1041 ac_prev=site ;; | |
| 1042 -site=* | --site=* | --sit=*) | |
| 1043 site=$ac_optarg ;; | |
| 1044 | |
| 1045 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 1046 ac_prev=srcdir ;; | |
| 1047 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 1048 srcdir=$ac_optarg ;; | |
| 1049 | |
| 1050 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 1051 | --syscon | --sysco | --sysc | --sys | --sy) | |
| 1052 ac_prev=sysconfdir ;; | |
| 1053 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 1054 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 1055 sysconfdir=$ac_optarg ;; | |
| 1056 | |
| 1057 -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 1058 ac_prev=target_alias ;; | |
| 1059 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 1060 target_alias=$ac_optarg ;; | |
| 1061 | |
| 1062 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1063 verbose=yes ;; | |
| 1064 | |
| 1065 -version | --version | --versio | --versi | --vers | -V) | |
| 1066 ac_init_version=: ;; | |
| 1067 | |
| 1068 -with-* | --with-*) | |
| 1069 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1070 # Reject names that are not valid shell variable names. | |
| 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1072 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1073 ac_useropt_orig=$ac_useropt | |
| 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1075 case $ac_user_opts in | |
| 1076 *" | |
| 1077 "with_$ac_useropt" | |
| 1078 "*) ;; | |
| 1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$
ac_useropt_orig" | |
| 1080 ac_unrecognized_sep=', ';; | |
| 1081 esac | |
| 1082 eval with_$ac_useropt=\$ac_optarg ;; | |
| 1083 | |
| 1084 -without-* | --without-*) | |
| 1085 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1086 # Reject names that are not valid shell variable names. | |
| 1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1088 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1089 ac_useropt_orig=$ac_useropt | |
| 1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1091 case $ac_user_opts in | |
| 1092 *" | |
| 1093 "with_$ac_useropt" | |
| 1094 "*) ;; | |
| 1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--withou
t-$ac_useropt_orig" | |
| 1096 ac_unrecognized_sep=', ';; | |
| 1097 esac | |
| 1098 eval with_$ac_useropt=no ;; | |
| 1099 | |
| 1100 --x) | |
| 1101 # Obsolete; use --with-x. | |
| 1102 with_x=yes ;; | |
| 1103 | |
| 1104 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1105 | --x-incl | --x-inc | --x-in | --x-i) | |
| 1106 ac_prev=x_includes ;; | |
| 1107 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1108 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1109 x_includes=$ac_optarg ;; | |
| 1110 | |
| 1111 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1112 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1113 ac_prev=x_libraries ;; | |
| 1114 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1115 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1116 x_libraries=$ac_optarg ;; | |
| 1117 | |
| 1118 -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
| 1119 Try \`$0 --help' for more information" | |
| 1120 ;; | |
| 1121 | |
| 1122 *=*) | |
| 1123 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1124 # Reject names that are not valid shell variable names. | |
| 1125 case $ac_envvar in #( | |
| 1126 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1127 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1128 esac | |
| 1129 eval $ac_envvar=\$ac_optarg | |
| 1130 export $ac_envvar ;; | |
| 1131 | |
| 1132 *) | |
| 1133 # FIXME: should be removed in autoconf 3.0. | |
| 1134 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1135 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1136 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1137 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti
on} | |
| 1138 ;; | |
| 1139 | |
| 1140 esac | |
| 1141 done | |
| 1142 | |
| 1143 if test -n "$ac_prev"; then | |
| 1144 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1145 as_fn_error $? "missing argument to $ac_option" | |
| 1146 fi | |
| 1147 | |
| 1148 if test -n "$ac_unrecognized_opts"; then | |
| 1149 case $enable_option_checking in | |
| 1150 no) ;; | |
| 1151 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
| 1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt
s" >&2 ;; | |
| 1153 esac | |
| 1154 fi | |
| 1155 | |
| 1156 # Check all directory arguments for consistency. | |
| 1157 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1158 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1159 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1160 libdir localedir mandir | |
| 1161 do | |
| 1162 eval ac_val=\$$ac_var | |
| 1163 # Remove trailing slashes. | |
| 1164 case $ac_val in | |
| 1165 */ ) | |
| 1166 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
| 1167 eval $ac_var=\$ac_val;; | |
| 1168 esac | |
| 1169 # Be sure to have absolute directory names. | |
| 1170 case $ac_val in | |
| 1171 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1173 esac | |
| 1174 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 1175 done | |
| 1176 | |
| 1177 # There might be people who depend on the old broken behavior: `$host' | |
| 1178 # used to hold the argument of --host etc. | |
| 1179 # FIXME: To remove some day. | |
| 1180 build=$build_alias | |
| 1181 host=$host_alias | |
| 1182 target=$target_alias | |
| 1183 | |
| 1184 # FIXME: To remove some day. | |
| 1185 if test "x$host_alias" != x; then | |
| 1186 if test "x$build_alias" = x; then | |
| 1187 cross_compiling=maybe | |
| 1188 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use
--host. | |
| 1189 If a cross compiler is detected then cross compile mode will be used" >&2 | |
| 1190 elif test "x$build_alias" != "x$host_alias"; then | |
| 1191 cross_compiling=yes | |
| 1192 fi | |
| 1193 fi | |
| 1194 | |
| 1195 ac_tool_prefix= | |
| 1196 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1197 | |
| 1198 test "$silent" = yes && exec 6>/dev/null | |
| 1199 | |
| 1200 | |
| 1201 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1202 ac_ls_di=`ls -di .` && | |
| 1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1204 as_fn_error $? "working directory cannot be determined" | |
| 1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1206 as_fn_error $? "pwd does not report name of working directory" | |
| 1207 | |
| 1208 | |
| 1209 # Find the source files, if location was not specified. | |
| 1210 if test -z "$srcdir"; then | |
| 1211 ac_srcdir_defaulted=yes | |
| 1212 # Try the directory containing this script, then the parent directory. | |
| 1213 ac_confdir=`$as_dirname -- "$as_myself" || | |
| 1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1215 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
| 1216 X"$as_myself" : 'X\(//\)$' \| \ | |
| 1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1218 $as_echo X"$as_myself" | | |
| 1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1220 s//\1/ | |
| 1221 q | |
| 1222 } | |
| 1223 /^X\(\/\/\)[^/].*/{ | |
| 1224 s//\1/ | |
| 1225 q | |
| 1226 } | |
| 1227 /^X\(\/\/\)$/{ | |
| 1228 s//\1/ | |
| 1229 q | |
| 1230 } | |
| 1231 /^X\(\/\).*/{ | |
| 1232 s//\1/ | |
| 1233 q | |
| 1234 } | |
| 1235 s/.*/./; q'` | |
| 1236 srcdir=$ac_confdir | |
| 1237 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1238 srcdir=.. | |
| 1239 fi | |
| 1240 else | |
| 1241 ac_srcdir_defaulted=no | |
| 1242 fi | |
| 1243 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
| 1246 fi | |
| 1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1248 ac_abs_confdir=`( | |
| 1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1250 pwd)` | |
| 1251 # When building in place, set srcdir=. | |
| 1252 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1253 srcdir=. | |
| 1254 fi | |
| 1255 # Remove unnecessary trailing slashes from srcdir. | |
| 1256 # Double slashes in file names in object file debugging info | |
| 1257 # mess up M-x gdb in Emacs. | |
| 1258 case $srcdir in | |
| 1259 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1260 esac | |
| 1261 for ac_var in $ac_precious_vars; do | |
| 1262 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1263 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1264 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1265 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1266 done | |
| 1267 | |
| 1268 # | |
| 1269 # Report the --help message. | |
| 1270 # | |
| 1271 if test "$ac_init_help" = "long"; then | |
| 1272 # Omit some internal or obsolete options to make the list less imposing. | |
| 1273 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1274 cat <<_ACEOF | |
| 1275 \`configure' configures hyphen 2.6 to adapt to many kinds of systems. | |
| 1276 | |
| 1277 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1278 | |
| 1279 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1280 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1281 | |
| 1282 Defaults for the options are specified in brackets. | |
| 1283 | |
| 1284 Configuration: | |
| 1285 -h, --help display this help and exit | |
| 1286 --help=short display options specific to this package | |
| 1287 --help=recursive display the short help of all the included packages | |
| 1288 -V, --version display version information and exit | |
| 1289 -q, --quiet, --silent do not print \`checking ...' messages | |
| 1290 --cache-file=FILE cache test results in FILE [disabled] | |
| 1291 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1292 -n, --no-create do not create output files | |
| 1293 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1294 | |
| 1295 Installation directories: | |
| 1296 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1297 [$ac_default_prefix] | |
| 1298 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1299 [PREFIX] | |
| 1300 | |
| 1301 By default, \`make install' will install all the files in | |
| 1302 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1303 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1304 for instance \`--prefix=\$HOME'. | |
| 1305 | |
| 1306 For better control, use the options below. | |
| 1307 | |
| 1308 Fine tuning of the installation directories: | |
| 1309 --bindir=DIR user executables [EPREFIX/bin] | |
| 1310 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1311 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1315 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1316 --includedir=DIR C header files [PREFIX/include] | |
| 1317 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1320 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1322 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1323 --docdir=DIR documentation root [DATAROOTDIR/doc/hyphen] | |
| 1324 --htmldir=DIR html documentation [DOCDIR] | |
| 1325 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1326 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1327 --psdir=DIR ps documentation [DOCDIR] | |
| 1328 _ACEOF | |
| 1329 | |
| 1330 cat <<\_ACEOF | |
| 1331 | |
| 1332 Program names: | |
| 1333 --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 1334 --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 1335 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
| 1336 | |
| 1337 System types: | |
| 1338 --build=BUILD configure for building on BUILD [guessed] | |
| 1339 --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
| 1340 _ACEOF | |
| 1341 fi | |
| 1342 | |
| 1343 if test -n "$ac_init_help"; then | |
| 1344 case $ac_init_help in | |
| 1345 short | recursive ) echo "Configuration of hyphen 2.6:";; | |
| 1346 esac | |
| 1347 cat <<\_ACEOF | |
| 1348 | |
| 1349 Optional Features: | |
| 1350 --disable-option-checking ignore unrecognized --enable/--with options | |
| 1351 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1352 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1353 --disable-dependency-tracking speeds up one-time build | |
| 1354 --enable-dependency-tracking do not reject slow dependency extractors | |
| 1355 --enable-shared[=PKGS] build shared libraries [default=yes] | |
| 1356 --enable-static[=PKGS] build static libraries [default=yes] | |
| 1357 --enable-fast-install[=PKGS] | |
| 1358 optimize for fast installation [default=yes] | |
| 1359 --disable-libtool-lock avoid locking (might break parallel builds) | |
| 1360 | |
| 1361 Optional Packages: | |
| 1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 1364 --with-pic try to use only PIC/non-PIC objects [default=use | |
| 1365 both] | |
| 1366 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
| 1367 | |
| 1368 Some influential environment variables: | |
| 1369 CC C compiler command | |
| 1370 CFLAGS C compiler flags | |
| 1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1372 nonstandard directory <lib dir> | |
| 1373 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1375 you have headers in a nonstandard directory <include dir> | |
| 1376 CPP C preprocessor | |
| 1377 | |
| 1378 Use these variables to override the choices made by `configure' or to help | |
| 1379 it to find libraries and programs with nonstandard names/locations. | |
| 1380 | |
| 1381 Report bugs to <nemeth@openoffice.org>. | |
| 1382 _ACEOF | |
| 1383 ac_status=$? | |
| 1384 fi | |
| 1385 | |
| 1386 if test "$ac_init_help" = "recursive"; then | |
| 1387 # If there are subdirs, report their specific --help. | |
| 1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1389 test -d "$ac_dir" || | |
| 1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1391 continue | |
| 1392 ac_builddir=. | |
| 1393 | |
| 1394 case "$ac_dir" in | |
| 1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1396 *) | |
| 1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1398 # A ".." for each directory in $ac_dir_suffix. | |
| 1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1400 case $ac_top_builddir_sub in | |
| 1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1403 esac ;; | |
| 1404 esac | |
| 1405 ac_abs_top_builddir=$ac_pwd | |
| 1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1407 # for backward compatibility: | |
| 1408 ac_top_builddir=$ac_top_build_prefix | |
| 1409 | |
| 1410 case $srcdir in | |
| 1411 .) # We are building in place. | |
| 1412 ac_srcdir=. | |
| 1413 ac_top_srcdir=$ac_top_builddir_sub | |
| 1414 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1415 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1416 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1417 ac_top_srcdir=$srcdir | |
| 1418 ac_abs_top_srcdir=$srcdir ;; | |
| 1419 *) # Relative name. | |
| 1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1421 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1423 esac | |
| 1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1425 | |
| 1426 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1427 # Check for guested configure. | |
| 1428 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1429 echo && | |
| 1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1431 elif test -f "$ac_srcdir/configure"; then | |
| 1432 echo && | |
| 1433 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1434 else | |
| 1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1436 fi || ac_status=$? | |
| 1437 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1438 done | |
| 1439 fi | |
| 1440 | |
| 1441 test -n "$ac_init_help" && exit $ac_status | |
| 1442 if $ac_init_version; then | |
| 1443 cat <<\_ACEOF | |
| 1444 hyphen configure 2.6 | |
| 1445 generated by GNU Autoconf 2.66 | |
| 1446 | |
| 1447 Copyright (C) 2010 Free Software Foundation, Inc. | |
| 1448 This configure script is free software; the Free Software Foundation | |
| 1449 gives unlimited permission to copy, distribute and modify it. | |
| 1450 _ACEOF | |
| 1451 exit | |
| 1452 fi | |
| 1453 | |
| 1454 ## ------------------------ ## | |
| 1455 ## Autoconf initialization. ## | |
| 1456 ## ------------------------ ## | |
| 1457 | |
| 1458 # ac_fn_c_try_compile LINENO | |
| 1459 # -------------------------- | |
| 1460 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1461 ac_fn_c_try_compile () | |
| 1462 { | |
| 1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1464 rm -f conftest.$ac_objext | |
| 1465 if { { ac_try="$ac_compile" | |
| 1466 case "(($ac_try" in | |
| 1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1468 *) ac_try_echo=$ac_try;; | |
| 1469 esac | |
| 1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1471 $as_echo "$ac_try_echo"; } >&5 | |
| 1472 (eval "$ac_compile") 2>conftest.err | |
| 1473 ac_status=$? | |
| 1474 if test -s conftest.err; then | |
| 1475 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1476 cat conftest.er1 >&5 | |
| 1477 mv -f conftest.er1 conftest.err | |
| 1478 fi | |
| 1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1480 test $ac_status = 0; } && { | |
| 1481 test -z "$ac_c_werror_flag" || | |
| 1482 test ! -s conftest.err | |
| 1483 } && test -s conftest.$ac_objext; then : | |
| 1484 ac_retval=0 | |
| 1485 else | |
| 1486 $as_echo "$as_me: failed program was:" >&5 | |
| 1487 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1488 | |
| 1489 ac_retval=1 | |
| 1490 fi | |
| 1491 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1492 as_fn_set_status $ac_retval | |
| 1493 | |
| 1494 } # ac_fn_c_try_compile | |
| 1495 | |
| 1496 # ac_fn_c_try_link LINENO | |
| 1497 # ----------------------- | |
| 1498 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1499 ac_fn_c_try_link () | |
| 1500 { | |
| 1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1502 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 1503 if { { ac_try="$ac_link" | |
| 1504 case "(($ac_try" in | |
| 1505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1506 *) ac_try_echo=$ac_try;; | |
| 1507 esac | |
| 1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1509 $as_echo "$ac_try_echo"; } >&5 | |
| 1510 (eval "$ac_link") 2>conftest.err | |
| 1511 ac_status=$? | |
| 1512 if test -s conftest.err; then | |
| 1513 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1514 cat conftest.er1 >&5 | |
| 1515 mv -f conftest.er1 conftest.err | |
| 1516 fi | |
| 1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1518 test $ac_status = 0; } && { | |
| 1519 test -z "$ac_c_werror_flag" || | |
| 1520 test ! -s conftest.err | |
| 1521 } && test -s conftest$ac_exeext && { | |
| 1522 test "$cross_compiling" = yes || | |
| 1523 $as_test_x conftest$ac_exeext | |
| 1524 }; then : | |
| 1525 ac_retval=0 | |
| 1526 else | |
| 1527 $as_echo "$as_me: failed program was:" >&5 | |
| 1528 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1529 | |
| 1530 ac_retval=1 | |
| 1531 fi | |
| 1532 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
| 1533 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
| 1534 # interfere with the next link command; also delete a directory that is | |
| 1535 # left behind by Apple's compiler. We do this before executing the actions. | |
| 1536 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1538 as_fn_set_status $ac_retval | |
| 1539 | |
| 1540 } # ac_fn_c_try_link | |
| 1541 | |
| 1542 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
| 1543 # ------------------------------------------------------- | |
| 1544 # Tests whether HEADER exists and can be compiled using the include files in | |
| 1545 # INCLUDES, setting the cache variable VAR accordingly. | |
| 1546 ac_fn_c_check_header_compile () | |
| 1547 { | |
| 1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1550 $as_echo_n "checking for $2... " >&6; } | |
| 1551 if eval "test \"\${$3+set}\"" = set; then : | |
| 1552 $as_echo_n "(cached) " >&6 | |
| 1553 else | |
| 1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1555 /* end confdefs.h. */ | |
| 1556 $4 | |
| 1557 #include <$2> | |
| 1558 _ACEOF | |
| 1559 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1560 eval "$3=yes" | |
| 1561 else | |
| 1562 eval "$3=no" | |
| 1563 fi | |
| 1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1565 fi | |
| 1566 eval ac_res=\$$3 | |
| 1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1568 $as_echo "$ac_res" >&6; } | |
| 1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1570 | |
| 1571 } # ac_fn_c_check_header_compile | |
| 1572 | |
| 1573 # ac_fn_c_try_cpp LINENO | |
| 1574 # ---------------------- | |
| 1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1576 ac_fn_c_try_cpp () | |
| 1577 { | |
| 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1579 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1580 case "(($ac_try" in | |
| 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1582 *) ac_try_echo=$ac_try;; | |
| 1583 esac | |
| 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1585 $as_echo "$ac_try_echo"; } >&5 | |
| 1586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1587 ac_status=$? | |
| 1588 if test -s conftest.err; then | |
| 1589 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1590 cat conftest.er1 >&5 | |
| 1591 mv -f conftest.er1 conftest.err | |
| 1592 fi | |
| 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1594 test $ac_status = 0; } >/dev/null && { | |
| 1595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 1596 test ! -s conftest.err | |
| 1597 }; then : | |
| 1598 ac_retval=0 | |
| 1599 else | |
| 1600 $as_echo "$as_me: failed program was:" >&5 | |
| 1601 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1602 | |
| 1603 ac_retval=1 | |
| 1604 fi | |
| 1605 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1606 as_fn_set_status $ac_retval | |
| 1607 | |
| 1608 } # ac_fn_c_try_cpp | |
| 1609 | |
| 1610 # ac_fn_c_try_run LINENO | |
| 1611 # ---------------------- | |
| 1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
| 1613 # that executables *can* be run. | |
| 1614 ac_fn_c_try_run () | |
| 1615 { | |
| 1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1617 if { { ac_try="$ac_link" | |
| 1618 case "(($ac_try" in | |
| 1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1620 *) ac_try_echo=$ac_try;; | |
| 1621 esac | |
| 1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1623 $as_echo "$ac_try_echo"; } >&5 | |
| 1624 (eval "$ac_link") 2>&5 | |
| 1625 ac_status=$? | |
| 1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1627 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
| 1628 { { case "(($ac_try" in | |
| 1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1630 *) ac_try_echo=$ac_try;; | |
| 1631 esac | |
| 1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1633 $as_echo "$ac_try_echo"; } >&5 | |
| 1634 (eval "$ac_try") 2>&5 | |
| 1635 ac_status=$? | |
| 1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1637 test $ac_status = 0; }; }; then : | |
| 1638 ac_retval=0 | |
| 1639 else | |
| 1640 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1641 $as_echo "$as_me: failed program was:" >&5 | |
| 1642 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1643 | |
| 1644 ac_retval=$ac_status | |
| 1645 fi | |
| 1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1648 as_fn_set_status $ac_retval | |
| 1649 | |
| 1650 } # ac_fn_c_try_run | |
| 1651 | |
| 1652 # ac_fn_c_check_func LINENO FUNC VAR | |
| 1653 # ---------------------------------- | |
| 1654 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
| 1655 ac_fn_c_check_func () | |
| 1656 { | |
| 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1659 $as_echo_n "checking for $2... " >&6; } | |
| 1660 if eval "test \"\${$3+set}\"" = set; then : | |
| 1661 $as_echo_n "(cached) " >&6 | |
| 1662 else | |
| 1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1664 /* end confdefs.h. */ | |
| 1665 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
| 1666 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 1667 #define $2 innocuous_$2 | |
| 1668 | |
| 1669 /* System header to define __stub macros and hopefully few prototypes, | |
| 1670 which can conflict with char $2 (); below. | |
| 1671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 1672 <limits.h> exists even on freestanding compilers. */ | |
| 1673 | |
| 1674 #ifdef __STDC__ | |
| 1675 # include <limits.h> | |
| 1676 #else | |
| 1677 # include <assert.h> | |
| 1678 #endif | |
| 1679 | |
| 1680 #undef $2 | |
| 1681 | |
| 1682 /* Override any GCC internal prototype to avoid an error. | |
| 1683 Use char because int might match the return type of a GCC | |
| 1684 builtin and then its argument prototype would still apply. */ | |
| 1685 #ifdef __cplusplus | |
| 1686 extern "C" | |
| 1687 #endif | |
| 1688 char $2 (); | |
| 1689 /* The GNU C library defines this for functions which it implements | |
| 1690 to always fail with ENOSYS. Some functions are actually named | |
| 1691 something starting with __ and the normal name is an alias. */ | |
| 1692 #if defined __stub_$2 || defined __stub___$2 | |
| 1693 choke me | |
| 1694 #endif | |
| 1695 | |
| 1696 int | |
| 1697 main () | |
| 1698 { | |
| 1699 return $2 (); | |
| 1700 ; | |
| 1701 return 0; | |
| 1702 } | |
| 1703 _ACEOF | |
| 1704 if ac_fn_c_try_link "$LINENO"; then : | |
| 1705 eval "$3=yes" | |
| 1706 else | |
| 1707 eval "$3=no" | |
| 1708 fi | |
| 1709 rm -f core conftest.err conftest.$ac_objext \ | |
| 1710 conftest$ac_exeext conftest.$ac_ext | |
| 1711 fi | |
| 1712 eval ac_res=\$$3 | |
| 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1714 $as_echo "$ac_res" >&6; } | |
| 1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
| 1716 | |
| 1717 } # ac_fn_c_check_func | |
| 1718 cat >config.log <<_ACEOF | |
| 1719 This file contains any messages produced by compilers while | |
| 1720 running configure, to aid debugging if configure makes a mistake. | |
| 1721 | |
| 1722 It was created by hyphen $as_me 2.6, which was | |
| 1723 generated by GNU Autoconf 2.66. Invocation command line was | |
| 1724 | |
| 1725 $ $0 $@ | |
| 1726 | |
| 1727 _ACEOF | |
| 1728 exec 5>>config.log | |
| 1729 { | |
| 1730 cat <<_ASUNAME | |
| 1731 ## --------- ## | |
| 1732 ## Platform. ## | |
| 1733 ## --------- ## | |
| 1734 | |
| 1735 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1736 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1737 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1738 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1739 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1740 | |
| 1741 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1742 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1743 | |
| 1744 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1745 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1746 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1747 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1748 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1749 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1750 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1751 | |
| 1752 _ASUNAME | |
| 1753 | |
| 1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1755 for as_dir in $PATH | |
| 1756 do | |
| 1757 IFS=$as_save_IFS | |
| 1758 test -z "$as_dir" && as_dir=. | |
| 1759 $as_echo "PATH: $as_dir" | |
| 1760 done | |
| 1761 IFS=$as_save_IFS | |
| 1762 | |
| 1763 } >&5 | |
| 1764 | |
| 1765 cat >&5 <<_ACEOF | |
| 1766 | |
| 1767 | |
| 1768 ## ----------- ## | |
| 1769 ## Core tests. ## | |
| 1770 ## ----------- ## | |
| 1771 | |
| 1772 _ACEOF | |
| 1773 | |
| 1774 | |
| 1775 # Keep a trace of the command line. | |
| 1776 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 1777 # Strip out --silent because we don't want to record it for future runs. | |
| 1778 # Also quote any args containing shell meta-characters. | |
| 1779 # Make two passes to allow for proper duplicate-argument suppression. | |
| 1780 ac_configure_args= | |
| 1781 ac_configure_args0= | |
| 1782 ac_configure_args1= | |
| 1783 ac_must_keep_next=false | |
| 1784 for ac_pass in 1 2 | |
| 1785 do | |
| 1786 for ac_arg | |
| 1787 do | |
| 1788 case $ac_arg in | |
| 1789 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1791 | -silent | --silent | --silen | --sile | --sil) | |
| 1792 continue ;; | |
| 1793 *\'*) | |
| 1794 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1795 esac | |
| 1796 case $ac_pass in | |
| 1797 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 1798 2) | |
| 1799 as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 1800 if test $ac_must_keep_next = true; then | |
| 1801 ac_must_keep_next=false # Got value, back to normal. | |
| 1802 else | |
| 1803 case $ac_arg in | |
| 1804 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1805 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1806 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1807 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1808 case "$ac_configure_args0 " in | |
| 1809 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1810 esac | |
| 1811 ;; | |
| 1812 -* ) ac_must_keep_next=true ;; | |
| 1813 esac | |
| 1814 fi | |
| 1815 as_fn_append ac_configure_args " '$ac_arg'" | |
| 1816 ;; | |
| 1817 esac | |
| 1818 done | |
| 1819 done | |
| 1820 { ac_configure_args0=; unset ac_configure_args0;} | |
| 1821 { ac_configure_args1=; unset ac_configure_args1;} | |
| 1822 | |
| 1823 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 1824 # config.log. We remove comments because anyway the quotes in there | |
| 1825 # would cause problems or look ugly. | |
| 1826 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 1827 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 1828 trap 'exit_status=$? | |
| 1829 # Save into config.log some information that might help in debugging. | |
| 1830 { | |
| 1831 echo | |
| 1832 | |
| 1833 $as_echo "## ---------------- ## | |
| 1834 ## Cache variables. ## | |
| 1835 ## ---------------- ##" | |
| 1836 echo | |
| 1837 # The following way of writing the cache mishandles newlines in values, | |
| 1838 ( | |
| 1839 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\
''`; do | |
| 1840 eval ac_val=\$$ac_var | |
| 1841 case $ac_val in #( | |
| 1842 *${as_nl}*) | |
| 1843 case $ac_var in #( | |
| 1844 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 | |
| 1845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 1846 esac | |
| 1847 case $ac_var in #( | |
| 1848 _ | IFS | as_nl) ;; #( | |
| 1849 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 1850 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 1851 esac ;; | |
| 1852 esac | |
| 1853 done | |
| 1854 (set) 2>&1 | | |
| 1855 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 1856 *${as_nl}ac_space=\ *) | |
| 1857 sed -n \ | |
| 1858 "s/'\''/'\''\\\\'\'''\''/g; | |
| 1859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''
/p" | |
| 1860 ;; #( | |
| 1861 *) | |
| 1862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 1863 ;; | |
| 1864 esac | | |
| 1865 sort | |
| 1866 ) | |
| 1867 echo | |
| 1868 | |
| 1869 $as_echo "## ----------------- ## | |
| 1870 ## Output variables. ## | |
| 1871 ## ----------------- ##" | |
| 1872 echo | |
| 1873 for ac_var in $ac_subst_vars | |
| 1874 do | |
| 1875 eval ac_val=\$$ac_var | |
| 1876 case $ac_val in | |
| 1877 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`
;; | |
| 1878 esac | |
| 1879 $as_echo "$ac_var='\''$ac_val'\''" | |
| 1880 done | sort | |
| 1881 echo | |
| 1882 | |
| 1883 if test -n "$ac_subst_files"; then | |
| 1884 $as_echo "## ------------------- ## | |
| 1885 ## File substitutions. ## | |
| 1886 ## ------------------- ##" | |
| 1887 echo | |
| 1888 for ac_var in $ac_subst_files | |
| 1889 do | |
| 1890 eval ac_val=\$$ac_var | |
| 1891 case $ac_val in | |
| 1892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g
"`;; | |
| 1893 esac | |
| 1894 $as_echo "$ac_var='\''$ac_val'\''" | |
| 1895 done | sort | |
| 1896 echo | |
| 1897 fi | |
| 1898 | |
| 1899 if test -s confdefs.h; then | |
| 1900 $as_echo "## ----------- ## | |
| 1901 ## confdefs.h. ## | |
| 1902 ## ----------- ##" | |
| 1903 echo | |
| 1904 cat confdefs.h | |
| 1905 echo | |
| 1906 fi | |
| 1907 test "$ac_signal" != 0 && | |
| 1908 $as_echo "$as_me: caught signal $ac_signal" | |
| 1909 $as_echo "$as_me: exit $exit_status" | |
| 1910 } >&5 | |
| 1911 rm -f core *.core core.conftest.* && | |
| 1912 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 1913 exit $exit_status | |
| 1914 ' 0 | |
| 1915 for ac_signal in 1 2 13 15; do | |
| 1916 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 1917 done | |
| 1918 ac_signal=0 | |
| 1919 | |
| 1920 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 1921 rm -f -r conftest* confdefs.h | |
| 1922 | |
| 1923 $as_echo "/* confdefs.h */" > confdefs.h | |
| 1924 | |
| 1925 # Predefined preprocessor variables. | |
| 1926 | |
| 1927 cat >>confdefs.h <<_ACEOF | |
| 1928 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 1929 _ACEOF | |
| 1930 | |
| 1931 cat >>confdefs.h <<_ACEOF | |
| 1932 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 1933 _ACEOF | |
| 1934 | |
| 1935 cat >>confdefs.h <<_ACEOF | |
| 1936 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 1937 _ACEOF | |
| 1938 | |
| 1939 cat >>confdefs.h <<_ACEOF | |
| 1940 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 1941 _ACEOF | |
| 1942 | |
| 1943 cat >>confdefs.h <<_ACEOF | |
| 1944 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 1945 _ACEOF | |
| 1946 | |
| 1947 cat >>confdefs.h <<_ACEOF | |
| 1948 #define PACKAGE_URL "$PACKAGE_URL" | |
| 1949 _ACEOF | |
| 1950 | |
| 1951 | |
| 1952 # Let the site file select an alternate cache file if it wants to. | |
| 1953 # Prefer an explicitly selected file to automatically selected ones. | |
| 1954 ac_site_file1=NONE | |
| 1955 ac_site_file2=NONE | |
| 1956 if test -n "$CONFIG_SITE"; then | |
| 1957 # We do not want a PATH search for config.site. | |
| 1958 case $CONFIG_SITE in #(( | |
| 1959 -*) ac_site_file1=./$CONFIG_SITE;; | |
| 1960 */*) ac_site_file1=$CONFIG_SITE;; | |
| 1961 *) ac_site_file1=./$CONFIG_SITE;; | |
| 1962 esac | |
| 1963 elif test "x$prefix" != xNONE; then | |
| 1964 ac_site_file1=$prefix/share/config.site | |
| 1965 ac_site_file2=$prefix/etc/config.site | |
| 1966 else | |
| 1967 ac_site_file1=$ac_default_prefix/share/config.site | |
| 1968 ac_site_file2=$ac_default_prefix/etc/config.site | |
| 1969 fi | |
| 1970 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 1971 do | |
| 1972 test "x$ac_site_file" = xNONE && continue | |
| 1973 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 1974 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file"
>&5 | |
| 1975 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 1976 sed 's/^/| /' "$ac_site_file" >&5 | |
| 1977 . "$ac_site_file" \ | |
| 1978 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 1979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 1980 as_fn_error $? "failed to load site script $ac_site_file | |
| 1981 See \`config.log' for more details" "$LINENO" 5; } | |
| 1982 fi | |
| 1983 done | |
| 1984 | |
| 1985 if test -r "$cache_file"; then | |
| 1986 # Some versions of bash will fail to source /dev/null (special files | |
| 1987 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
| 1988 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
| 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
| 1990 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
| 1991 case $cache_file in | |
| 1992 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 1993 *) . "./$cache_file";; | |
| 1994 esac | |
| 1995 fi | |
| 1996 else | |
| 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 1998 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 1999 >$cache_file | |
| 2000 fi | |
| 2001 | |
| 2002 # Check that the precious variables saved in the cache have kept the same | |
| 2003 # value. | |
| 2004 ac_cache_corrupted=false | |
| 2005 for ac_var in $ac_precious_vars; do | |
| 2006 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 2007 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 2008 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 2009 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 2010 case $ac_old_set,$ac_new_set in | |
| 2011 set,) | |
| 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$a
c_old_val' in the previous run" >&5 | |
| 2013 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous ru
n" >&2;} | |
| 2014 ac_cache_corrupted=: ;; | |
| 2015 ,set) | |
| 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in
the previous run" >&5 | |
| 2017 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 2018 ac_cache_corrupted=: ;; | |
| 2019 ,);; | |
| 2020 *) | |
| 2021 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 2022 # differences in whitespace do not lead to failure. | |
| 2023 ac_old_val_w=`echo x $ac_old_val` | |
| 2024 ac_new_val_w=`echo x $ac_new_val` | |
| 2025 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed
since the previous run:" >&5 | |
| 2027 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 2028 ac_cache_corrupted=: | |
| 2029 else | |
| 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace
changes in \`$ac_var' since the previous run:" >&5 | |
| 2031 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the p
revious run:" >&2;} | |
| 2032 eval $ac_var=\$ac_old_val | |
| 2033 fi | |
| 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'
" >&5 | |
| 2035 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 2036 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'
" >&5 | |
| 2037 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 2038 fi;; | |
| 2039 esac | |
| 2040 # Pass precious variables to config.status. | |
| 2041 if test "$ac_new_set" = set; then | |
| 2042 case $ac_new_val in | |
| 2043 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2044 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 2045 esac | |
| 2046 case " $ac_configure_args " in | |
| 2047 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 2048 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 2049 esac | |
| 2050 fi | |
| 2051 done | |
| 2052 if $ac_cache_corrupted; then | |
| 2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can
compromise the build" >&5 | |
| 2056 $as_echo "$as_me: error: changes in the environment can compromise the build" >&
2;} | |
| 2057 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over"
"$LINENO" 5 | |
| 2058 fi | |
| 2059 ## -------------------- ## | |
| 2060 ## Main body of script. ## | |
| 2061 ## -------------------- ## | |
| 2062 | |
| 2063 ac_ext=c | |
| 2064 ac_cpp='$CPP $CPPFLAGS' | |
| 2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2068 | |
| 2069 | |
| 2070 am__api_version='1.11' | |
| 2071 | |
| 2072 ac_aux_dir= | |
| 2073 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
| 2074 if test -f "$ac_dir/install-sh"; then | |
| 2075 ac_aux_dir=$ac_dir | |
| 2076 ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 2077 break | |
| 2078 elif test -f "$ac_dir/install.sh"; then | |
| 2079 ac_aux_dir=$ac_dir | |
| 2080 ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 2081 break | |
| 2082 elif test -f "$ac_dir/shtool"; then | |
| 2083 ac_aux_dir=$ac_dir | |
| 2084 ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 2085 break | |
| 2086 fi | |
| 2087 done | |
| 2088 if test -z "$ac_aux_dir"; then | |
| 2089 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \
"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
| 2090 fi | |
| 2091 | |
| 2092 # These three variables are undocumented and unsupported, | |
| 2093 # and are intended to be withdrawn in a future Autoconf release. | |
| 2094 # They can cause serious problems if a builder's source tree is in a directory | |
| 2095 # whose full name contains unusual characters. | |
| 2096 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
| 2097 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
| 2098 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
| 2099 | |
| 2100 | |
| 2101 # Find a good install program. We prefer a C program (faster), | |
| 2102 # so one script is as good as another. But avoid the broken or | |
| 2103 # incompatible versions: | |
| 2104 # SysV /etc/install, /usr/sbin/install | |
| 2105 # SunOS /usr/etc/install | |
| 2106 # IRIX /sbin/install | |
| 2107 # AIX /bin/install | |
| 2108 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 2109 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 2110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 2111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 2112 # OS/2's system install, which has a completely different semantic | |
| 2113 # ./install, which can be erroneously created by make from ./install.sh. | |
| 2114 # Reject install programs that cannot install multiple files. | |
| 2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
| 2116 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
| 2117 if test -z "$INSTALL"; then | |
| 2118 if test "${ac_cv_path_install+set}" = set; then : | |
| 2119 $as_echo_n "(cached) " >&6 | |
| 2120 else | |
| 2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2122 for as_dir in $PATH | |
| 2123 do | |
| 2124 IFS=$as_save_IFS | |
| 2125 test -z "$as_dir" && as_dir=. | |
| 2126 # Account for people who put trailing slashes in PATH elements. | |
| 2127 case $as_dir/ in #(( | |
| 2128 ./ | .// | /[cC]/* | \ | |
| 2129 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
| 2130 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
| 2131 /usr/ucb/* ) ;; | |
| 2132 *) | |
| 2133 # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 2134 # Don't use installbsd from OSF since it installs stuff as root | |
| 2135 # by default. | |
| 2136 for ac_prog in ginstall scoinst install; do | |
| 2137 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2138 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
| 2139 if test $ac_prog = install && | |
| 2140 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2141 # AIX install. It has an incompatible calling convention. | |
| 2142 : | |
| 2143 elif test $ac_prog = install && | |
| 2144 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2145 # program-specific install script used by HP pwplus--don't use. | |
| 2146 : | |
| 2147 else | |
| 2148 rm -rf conftest.one conftest.two conftest.dir | |
| 2149 echo one > conftest.one | |
| 2150 echo two > conftest.two | |
| 2151 mkdir conftest.dir | |
| 2152 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
| 2153 test -s conftest.one && test -s conftest.two && | |
| 2154 test -s conftest.dir/conftest.one && | |
| 2155 test -s conftest.dir/conftest.two | |
| 2156 then | |
| 2157 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 2158 break 3 | |
| 2159 fi | |
| 2160 fi | |
| 2161 fi | |
| 2162 done | |
| 2163 done | |
| 2164 ;; | |
| 2165 esac | |
| 2166 | |
| 2167 done | |
| 2168 IFS=$as_save_IFS | |
| 2169 | |
| 2170 rm -rf conftest.one conftest.two conftest.dir | |
| 2171 | |
| 2172 fi | |
| 2173 if test "${ac_cv_path_install+set}" = set; then | |
| 2174 INSTALL=$ac_cv_path_install | |
| 2175 else | |
| 2176 # As a last resort, use the slow shell script. Don't cache a | |
| 2177 # value for INSTALL within a source directory, because that will | |
| 2178 # break other packages using the cache if that directory is | |
| 2179 # removed, or if the value is a relative name. | |
| 2180 INSTALL=$ac_install_sh | |
| 2181 fi | |
| 2182 fi | |
| 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
| 2184 $as_echo "$INSTALL" >&6; } | |
| 2185 | |
| 2186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 2187 # It thinks the first close brace ends the variable substitution. | |
| 2188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 2189 | |
| 2190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 2191 | |
| 2192 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 2193 | |
| 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 | |
| 2195 $as_echo_n "checking whether build environment is sane... " >&6; } | |
| 2196 # Just in case | |
| 2197 sleep 1 | |
| 2198 echo timestamp > conftest.file | |
| 2199 # Reject unsafe characters in $srcdir or the absolute working directory | |
| 2200 # name. Accept space and tab only in the latter. | |
| 2201 am_lf=' | |
| 2202 ' | |
| 2203 case `pwd` in | |
| 2204 *[\\\"\#\$\&\'\`$am_lf]*) | |
| 2205 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
| 2206 esac | |
| 2207 case $srcdir in | |
| 2208 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
| 2209 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
| 2210 esac | |
| 2211 | |
| 2212 # Do `set' in a subshell so we don't clobber the current shell's | |
| 2213 # arguments. Must try -L first in case configure is actually a | |
| 2214 # symlink; some systems play weird games with the mod time of symlinks | |
| 2215 # (eg FreeBSD returns the mod time of the symlink's containing | |
| 2216 # directory). | |
| 2217 if ( | |
| 2218 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
| 2219 if test "$*" = "X"; then | |
| 2220 # -L didn't work. | |
| 2221 set X `ls -t "$srcdir/configure" conftest.file` | |
| 2222 fi | |
| 2223 rm -f conftest.file | |
| 2224 if test "$*" != "X $srcdir/configure conftest.file" \ | |
| 2225 && test "$*" != "X conftest.file $srcdir/configure"; then | |
| 2226 | |
| 2227 # If neither matched, then we have a broken ls. This can happen | |
| 2228 # if, for instance, CONFIG_SHELL is bash and it inherits a | |
| 2229 # broken ls alias from the environment. This has actually | |
| 2230 # happened. Such a system could not be considered "sane". | |
| 2231 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
| 2232 alias in your environment" "$LINENO" 5 | |
| 2233 fi | |
| 2234 | |
| 2235 test "$2" = conftest.file | |
| 2236 ) | |
| 2237 then | |
| 2238 # Ok. | |
| 2239 : | |
| 2240 else | |
| 2241 as_fn_error $? "newly created file is older than distributed files! | |
| 2242 Check your system clock" "$LINENO" 5 | |
| 2243 fi | |
| 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2245 $as_echo "yes" >&6; } | |
| 2246 test "$program_prefix" != NONE && | |
| 2247 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
| 2248 # Use a double $ so make ignores it. | |
| 2249 test "$program_suffix" != NONE && | |
| 2250 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
| 2251 # Double any \ or $. | |
| 2252 # By default was `s,x,x', remove it if useless. | |
| 2253 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
| 2254 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
| 2255 | |
| 2256 # expand $ac_aux_dir to an absolute path | |
| 2257 am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 2258 | |
| 2259 if test x"${MISSING+set}" != xset; then | |
| 2260 case $am_aux_dir in | |
| 2261 *\ * | *\ *) | |
| 2262 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| 2263 *) | |
| 2264 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| 2265 esac | |
| 2266 fi | |
| 2267 # Use eval to expand $SHELL | |
| 2268 if eval "$MISSING --run true"; then | |
| 2269 am_missing_run="$MISSING --run " | |
| 2270 else | |
| 2271 am_missing_run= | |
| 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old
or missing" >&5 | |
| 2273 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
| 2274 fi | |
| 2275 | |
| 2276 if test x"${install_sh}" != xset; then | |
| 2277 case $am_aux_dir in | |
| 2278 *\ * | *\ *) | |
| 2279 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
| 2280 *) | |
| 2281 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
| 2282 esac | |
| 2283 fi | |
| 2284 | |
| 2285 # Installed binaries are usually stripped using `strip' when the user | |
| 2286 # run `make install-strip'. However `strip' might not be the right | |
| 2287 # tool to use in cross-compilation environments, therefore Automake | |
| 2288 # will honor the `STRIP' environment variable to overrule this program. | |
| 2289 if test "$cross_compiling" != no; then | |
| 2290 if test -n "$ac_tool_prefix"; then | |
| 2291 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
| 2292 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2294 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2295 if test "${ac_cv_prog_STRIP+set}" = set; then : | |
| 2296 $as_echo_n "(cached) " >&6 | |
| 2297 else | |
| 2298 if test -n "$STRIP"; then | |
| 2299 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 2300 else | |
| 2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2302 for as_dir in $PATH | |
| 2303 do | |
| 2304 IFS=$as_save_IFS | |
| 2305 test -z "$as_dir" && as_dir=. | |
| 2306 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2308 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 2309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2310 break 2 | |
| 2311 fi | |
| 2312 done | |
| 2313 done | |
| 2314 IFS=$as_save_IFS | |
| 2315 | |
| 2316 fi | |
| 2317 fi | |
| 2318 STRIP=$ac_cv_prog_STRIP | |
| 2319 if test -n "$STRIP"; then | |
| 2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 2321 $as_echo "$STRIP" >&6; } | |
| 2322 else | |
| 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2324 $as_echo "no" >&6; } | |
| 2325 fi | |
| 2326 | |
| 2327 | |
| 2328 fi | |
| 2329 if test -z "$ac_cv_prog_STRIP"; then | |
| 2330 ac_ct_STRIP=$STRIP | |
| 2331 # Extract the first word of "strip", so it can be a program name with args. | |
| 2332 set dummy strip; ac_word=$2 | |
| 2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2334 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2335 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
| 2336 $as_echo_n "(cached) " >&6 | |
| 2337 else | |
| 2338 if test -n "$ac_ct_STRIP"; then | |
| 2339 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 2340 else | |
| 2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2342 for as_dir in $PATH | |
| 2343 do | |
| 2344 IFS=$as_save_IFS | |
| 2345 test -z "$as_dir" && as_dir=. | |
| 2346 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2348 ac_cv_prog_ac_ct_STRIP="strip" | |
| 2349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2350 break 2 | |
| 2351 fi | |
| 2352 done | |
| 2353 done | |
| 2354 IFS=$as_save_IFS | |
| 2355 | |
| 2356 fi | |
| 2357 fi | |
| 2358 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 2359 if test -n "$ac_ct_STRIP"; then | |
| 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 2361 $as_echo "$ac_ct_STRIP" >&6; } | |
| 2362 else | |
| 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2364 $as_echo "no" >&6; } | |
| 2365 fi | |
| 2366 | |
| 2367 if test "x$ac_ct_STRIP" = x; then | |
| 2368 STRIP=":" | |
| 2369 else | |
| 2370 case $cross_compiling:$ac_tool_warned in | |
| 2371 yes:) | |
| 2372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 2373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 2374 ac_tool_warned=yes ;; | |
| 2375 esac | |
| 2376 STRIP=$ac_ct_STRIP | |
| 2377 fi | |
| 2378 else | |
| 2379 STRIP="$ac_cv_prog_STRIP" | |
| 2380 fi | |
| 2381 | |
| 2382 fi | |
| 2383 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 2384 | |
| 2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 | |
| 2386 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
| 2387 if test -z "$MKDIR_P"; then | |
| 2388 if test "${ac_cv_path_mkdir+set}" = set; then : | |
| 2389 $as_echo_n "(cached) " >&6 | |
| 2390 else | |
| 2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2392 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
| 2393 do | |
| 2394 IFS=$as_save_IFS | |
| 2395 test -z "$as_dir" && as_dir=. | |
| 2396 for ac_prog in mkdir gmkdir; do | |
| 2397 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2398 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; } || continue | |
| 2399 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
| 2400 'mkdir (GNU coreutils) '* | \ | |
| 2401 'mkdir (coreutils) '* | \ | |
| 2402 'mkdir (fileutils) '4.1*) | |
| 2403 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
| 2404 break 3;; | |
| 2405 esac | |
| 2406 done | |
| 2407 done | |
| 2408 done | |
| 2409 IFS=$as_save_IFS | |
| 2410 | |
| 2411 fi | |
| 2412 | |
| 2413 test -d ./--version && rmdir ./--version | |
| 2414 if test "${ac_cv_path_mkdir+set}" = set; then | |
| 2415 MKDIR_P="$ac_cv_path_mkdir -p" | |
| 2416 else | |
| 2417 # As a last resort, use the slow shell script. Don't cache a | |
| 2418 # value for MKDIR_P within a source directory, because that will | |
| 2419 # break other packages using the cache if that directory is | |
| 2420 # removed, or if the value is a relative name. | |
| 2421 MKDIR_P="$ac_install_sh -d" | |
| 2422 fi | |
| 2423 fi | |
| 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
| 2425 $as_echo "$MKDIR_P" >&6; } | |
| 2426 | |
| 2427 mkdir_p="$MKDIR_P" | |
| 2428 case $mkdir_p in | |
| 2429 [\\/$]* | ?:[\\/]*) ;; | |
| 2430 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
| 2431 esac | |
| 2432 | |
| 2433 for ac_prog in gawk mawk nawk awk | |
| 2434 do | |
| 2435 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2436 set dummy $ac_prog; ac_word=$2 | |
| 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2438 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2439 if test "${ac_cv_prog_AWK+set}" = set; then : | |
| 2440 $as_echo_n "(cached) " >&6 | |
| 2441 else | |
| 2442 if test -n "$AWK"; then | |
| 2443 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| 2444 else | |
| 2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2446 for as_dir in $PATH | |
| 2447 do | |
| 2448 IFS=$as_save_IFS | |
| 2449 test -z "$as_dir" && as_dir=. | |
| 2450 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2452 ac_cv_prog_AWK="$ac_prog" | |
| 2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2454 break 2 | |
| 2455 fi | |
| 2456 done | |
| 2457 done | |
| 2458 IFS=$as_save_IFS | |
| 2459 | |
| 2460 fi | |
| 2461 fi | |
| 2462 AWK=$ac_cv_prog_AWK | |
| 2463 if test -n "$AWK"; then | |
| 2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
| 2465 $as_echo "$AWK" >&6; } | |
| 2466 else | |
| 2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2468 $as_echo "no" >&6; } | |
| 2469 fi | |
| 2470 | |
| 2471 | |
| 2472 test -n "$AWK" && break | |
| 2473 done | |
| 2474 | |
| 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
AKE)" >&5 | |
| 2476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
| 2477 set x ${MAKE-make} | |
| 2478 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
| 2479 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | |
| 2480 $as_echo_n "(cached) " >&6 | |
| 2481 else | |
| 2482 cat >conftest.make <<\_ACEOF | |
| 2483 SHELL = /bin/sh | |
| 2484 all: | |
| 2485 @echo '@@@%%%=$(MAKE)=@@@%%%' | |
| 2486 _ACEOF | |
| 2487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
| 2488 case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
| 2489 *@@@%%%=?*=@@@%%%*) | |
| 2490 eval ac_cv_prog_make_${ac_make}_set=yes;; | |
| 2491 *) | |
| 2492 eval ac_cv_prog_make_${ac_make}_set=no;; | |
| 2493 esac | |
| 2494 rm -f conftest.make | |
| 2495 fi | |
| 2496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
| 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2498 $as_echo "yes" >&6; } | |
| 2499 SET_MAKE= | |
| 2500 else | |
| 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2502 $as_echo "no" >&6; } | |
| 2503 SET_MAKE="MAKE=${MAKE-make}" | |
| 2504 fi | |
| 2505 | |
| 2506 rm -rf .tst 2>/dev/null | |
| 2507 mkdir .tst 2>/dev/null | |
| 2508 if test -d .tst; then | |
| 2509 am__leading_dot=. | |
| 2510 else | |
| 2511 am__leading_dot=_ | |
| 2512 fi | |
| 2513 rmdir .tst 2>/dev/null | |
| 2514 | |
| 2515 if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 2516 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 2517 # is not polluted with repeated "-I." | |
| 2518 am__isrc=' -I$(srcdir)' | |
| 2519 # test to see if srcdir already configured | |
| 2520 if test -f $srcdir/config.status; then | |
| 2521 as_fn_error $? "source directory already configured; run \"make distclean\"
there first" "$LINENO" 5 | |
| 2522 fi | |
| 2523 fi | |
| 2524 | |
| 2525 # test whether we have cygpath | |
| 2526 if test -z "$CYGPATH_W"; then | |
| 2527 if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 2528 CYGPATH_W='cygpath -w' | |
| 2529 else | |
| 2530 CYGPATH_W=echo | |
| 2531 fi | |
| 2532 fi | |
| 2533 | |
| 2534 | |
| 2535 # Define the identity of the package. | |
| 2536 PACKAGE=hyphen | |
| 2537 VERSION=2.6 | |
| 2538 | |
| 2539 | |
| 2540 cat >>confdefs.h <<_ACEOF | |
| 2541 #define PACKAGE "$PACKAGE" | |
| 2542 _ACEOF | |
| 2543 | |
| 2544 | |
| 2545 cat >>confdefs.h <<_ACEOF | |
| 2546 #define VERSION "$VERSION" | |
| 2547 _ACEOF | |
| 2548 | |
| 2549 # Some tools Automake needs. | |
| 2550 | |
| 2551 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
| 2552 | |
| 2553 | |
| 2554 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
| 2555 | |
| 2556 | |
| 2557 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
| 2558 | |
| 2559 | |
| 2560 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
| 2561 | |
| 2562 | |
| 2563 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
| 2564 | |
| 2565 # We need awk for the "check" target. The system "awk" is bad on | |
| 2566 # some platforms. | |
| 2567 # Always define AMTAR for backward compatibility. | |
| 2568 | |
| 2569 AMTAR=${AMTAR-"${am_missing_run}tar"} | |
| 2570 | |
| 2571 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
| 2572 | |
| 2573 | |
| 2574 | |
| 2575 | |
| 2576 | |
| 2577 ac_ext=c | |
| 2578 ac_cpp='$CPP $CPPFLAGS' | |
| 2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2582 if test -n "$ac_tool_prefix"; then | |
| 2583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | |
| 2584 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2586 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2587 if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2588 $as_echo_n "(cached) " >&6 | |
| 2589 else | |
| 2590 if test -n "$CC"; then | |
| 2591 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2592 else | |
| 2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2594 for as_dir in $PATH | |
| 2595 do | |
| 2596 IFS=$as_save_IFS | |
| 2597 test -z "$as_dir" && as_dir=. | |
| 2598 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2600 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2602 break 2 | |
| 2603 fi | |
| 2604 done | |
| 2605 done | |
| 2606 IFS=$as_save_IFS | |
| 2607 | |
| 2608 fi | |
| 2609 fi | |
| 2610 CC=$ac_cv_prog_CC | |
| 2611 if test -n "$CC"; then | |
| 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2613 $as_echo "$CC" >&6; } | |
| 2614 else | |
| 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2616 $as_echo "no" >&6; } | |
| 2617 fi | |
| 2618 | |
| 2619 | |
| 2620 fi | |
| 2621 if test -z "$ac_cv_prog_CC"; then | |
| 2622 ac_ct_CC=$CC | |
| 2623 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2624 set dummy gcc; ac_word=$2 | |
| 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2626 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
| 2628 $as_echo_n "(cached) " >&6 | |
| 2629 else | |
| 2630 if test -n "$ac_ct_CC"; then | |
| 2631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2632 else | |
| 2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2634 for as_dir in $PATH | |
| 2635 do | |
| 2636 IFS=$as_save_IFS | |
| 2637 test -z "$as_dir" && as_dir=. | |
| 2638 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2640 ac_cv_prog_ac_ct_CC="gcc" | |
| 2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2642 break 2 | |
| 2643 fi | |
| 2644 done | |
| 2645 done | |
| 2646 IFS=$as_save_IFS | |
| 2647 | |
| 2648 fi | |
| 2649 fi | |
| 2650 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2651 if test -n "$ac_ct_CC"; then | |
| 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2653 $as_echo "$ac_ct_CC" >&6; } | |
| 2654 else | |
| 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2656 $as_echo "no" >&6; } | |
| 2657 fi | |
| 2658 | |
| 2659 if test "x$ac_ct_CC" = x; then | |
| 2660 CC="" | |
| 2661 else | |
| 2662 case $cross_compiling:$ac_tool_warned in | |
| 2663 yes:) | |
| 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 2665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 2666 ac_tool_warned=yes ;; | |
| 2667 esac | |
| 2668 CC=$ac_ct_CC | |
| 2669 fi | |
| 2670 else | |
| 2671 CC="$ac_cv_prog_CC" | |
| 2672 fi | |
| 2673 | |
| 2674 if test -z "$CC"; then | |
| 2675 if test -n "$ac_tool_prefix"; then | |
| 2676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. | |
| 2677 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2679 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2680 if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2681 $as_echo_n "(cached) " >&6 | |
| 2682 else | |
| 2683 if test -n "$CC"; then | |
| 2684 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2685 else | |
| 2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2687 for as_dir in $PATH | |
| 2688 do | |
| 2689 IFS=$as_save_IFS | |
| 2690 test -z "$as_dir" && as_dir=. | |
| 2691 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2693 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2695 break 2 | |
| 2696 fi | |
| 2697 done | |
| 2698 done | |
| 2699 IFS=$as_save_IFS | |
| 2700 | |
| 2701 fi | |
| 2702 fi | |
| 2703 CC=$ac_cv_prog_CC | |
| 2704 if test -n "$CC"; then | |
| 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2706 $as_echo "$CC" >&6; } | |
| 2707 else | |
| 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2709 $as_echo "no" >&6; } | |
| 2710 fi | |
| 2711 | |
| 2712 | |
| 2713 fi | |
| 2714 fi | |
| 2715 if test -z "$CC"; then | |
| 2716 # Extract the first word of "cc", so it can be a program name with args. | |
| 2717 set dummy cc; ac_word=$2 | |
| 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2719 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2720 if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2721 $as_echo_n "(cached) " >&6 | |
| 2722 else | |
| 2723 if test -n "$CC"; then | |
| 2724 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2725 else | |
| 2726 ac_prog_rejected=no | |
| 2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2728 for as_dir in $PATH | |
| 2729 do | |
| 2730 IFS=$as_save_IFS | |
| 2731 test -z "$as_dir" && as_dir=. | |
| 2732 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2735 ac_prog_rejected=yes | |
| 2736 continue | |
| 2737 fi | |
| 2738 ac_cv_prog_CC="cc" | |
| 2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2740 break 2 | |
| 2741 fi | |
| 2742 done | |
| 2743 done | |
| 2744 IFS=$as_save_IFS | |
| 2745 | |
| 2746 if test $ac_prog_rejected = yes; then | |
| 2747 # We found a bogon in the path, so make sure we never use it. | |
| 2748 set dummy $ac_cv_prog_CC | |
| 2749 shift | |
| 2750 if test $# != 0; then | |
| 2751 # We chose a different compiler from the bogus one. | |
| 2752 # However, it has the same basename, so the bogon will be chosen | |
| 2753 # first if we set CC to just the basename; use the full file name. | |
| 2754 shift | |
| 2755 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2756 fi | |
| 2757 fi | |
| 2758 fi | |
| 2759 fi | |
| 2760 CC=$ac_cv_prog_CC | |
| 2761 if test -n "$CC"; then | |
| 2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2763 $as_echo "$CC" >&6; } | |
| 2764 else | |
| 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2766 $as_echo "no" >&6; } | |
| 2767 fi | |
| 2768 | |
| 2769 | |
| 2770 fi | |
| 2771 if test -z "$CC"; then | |
| 2772 if test -n "$ac_tool_prefix"; then | |
| 2773 for ac_prog in cl.exe | |
| 2774 do | |
| 2775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 2776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2778 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2779 if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2780 $as_echo_n "(cached) " >&6 | |
| 2781 else | |
| 2782 if test -n "$CC"; then | |
| 2783 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2784 else | |
| 2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2786 for as_dir in $PATH | |
| 2787 do | |
| 2788 IFS=$as_save_IFS | |
| 2789 test -z "$as_dir" && as_dir=. | |
| 2790 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2792 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2794 break 2 | |
| 2795 fi | |
| 2796 done | |
| 2797 done | |
| 2798 IFS=$as_save_IFS | |
| 2799 | |
| 2800 fi | |
| 2801 fi | |
| 2802 CC=$ac_cv_prog_CC | |
| 2803 if test -n "$CC"; then | |
| 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2805 $as_echo "$CC" >&6; } | |
| 2806 else | |
| 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2808 $as_echo "no" >&6; } | |
| 2809 fi | |
| 2810 | |
| 2811 | |
| 2812 test -n "$CC" && break | |
| 2813 done | |
| 2814 fi | |
| 2815 if test -z "$CC"; then | |
| 2816 ac_ct_CC=$CC | |
| 2817 for ac_prog in cl.exe | |
| 2818 do | |
| 2819 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2820 set dummy $ac_prog; ac_word=$2 | |
| 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2822 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
| 2824 $as_echo_n "(cached) " >&6 | |
| 2825 else | |
| 2826 if test -n "$ac_ct_CC"; then | |
| 2827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2828 else | |
| 2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2830 for as_dir in $PATH | |
| 2831 do | |
| 2832 IFS=$as_save_IFS | |
| 2833 test -z "$as_dir" && as_dir=. | |
| 2834 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 2836 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2838 break 2 | |
| 2839 fi | |
| 2840 done | |
| 2841 done | |
| 2842 IFS=$as_save_IFS | |
| 2843 | |
| 2844 fi | |
| 2845 fi | |
| 2846 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2847 if test -n "$ac_ct_CC"; then | |
| 2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2849 $as_echo "$ac_ct_CC" >&6; } | |
| 2850 else | |
| 2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2852 $as_echo "no" >&6; } | |
| 2853 fi | |
| 2854 | |
| 2855 | |
| 2856 test -n "$ac_ct_CC" && break | |
| 2857 done | |
| 2858 | |
| 2859 if test "x$ac_ct_CC" = x; then | |
| 2860 CC="" | |
| 2861 else | |
| 2862 case $cross_compiling:$ac_tool_warned in | |
| 2863 yes:) | |
| 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 2865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 2866 ac_tool_warned=yes ;; | |
| 2867 esac | |
| 2868 CC=$ac_ct_CC | |
| 2869 fi | |
| 2870 fi | |
| 2871 | |
| 2872 fi | |
| 2873 | |
| 2874 | |
| 2875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
:" >&5 | |
| 2876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2877 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 2878 See \`config.log' for more details" "$LINENO" 5; } | |
| 2879 | |
| 2880 # Provide some information about the compiler. | |
| 2881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 2882 set X $ac_compile | |
| 2883 ac_compiler=$2 | |
| 2884 for ac_option in --version -v -V -qversion; do | |
| 2885 { { ac_try="$ac_compiler $ac_option >&5" | |
| 2886 case "(($ac_try" in | |
| 2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2888 *) ac_try_echo=$ac_try;; | |
| 2889 esac | |
| 2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2891 $as_echo "$ac_try_echo"; } >&5 | |
| 2892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 2893 ac_status=$? | |
| 2894 if test -s conftest.err; then | |
| 2895 sed '10a\ | |
| 2896 ... rest of stderr output deleted ... | |
| 2897 10q' conftest.err >conftest.er1 | |
| 2898 cat conftest.er1 >&5 | |
| 2899 fi | |
| 2900 rm -f conftest.er1 conftest.err | |
| 2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2902 test $ac_status = 0; } | |
| 2903 done | |
| 2904 | |
| 2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2906 /* end confdefs.h. */ | |
| 2907 | |
| 2908 int | |
| 2909 main () | |
| 2910 { | |
| 2911 | |
| 2912 ; | |
| 2913 return 0; | |
| 2914 } | |
| 2915 _ACEOF | |
| 2916 ac_clean_files_save=$ac_clean_files | |
| 2917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 2918 # Try to create an executable without -o first, disregard a.out. | |
| 2919 # It will help us diagnose broken compilers, and finding out an intuition | |
| 2920 # of exeext. | |
| 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
>&5 | |
| 2922 $as_echo_n "checking whether the C compiler works... " >&6; } | |
| 2923 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 2924 | |
| 2925 # The possible output files: | |
| 2926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 2927 | |
| 2928 ac_rmfiles= | |
| 2929 for ac_file in $ac_files | |
| 2930 do | |
| 2931 case $ac_file in | |
| 2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2933 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 2934 esac | |
| 2935 done | |
| 2936 rm -f $ac_rmfiles | |
| 2937 | |
| 2938 if { { ac_try="$ac_link_default" | |
| 2939 case "(($ac_try" in | |
| 2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2941 *) ac_try_echo=$ac_try;; | |
| 2942 esac | |
| 2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2944 $as_echo "$ac_try_echo"; } >&5 | |
| 2945 (eval "$ac_link_default") 2>&5 | |
| 2946 ac_status=$? | |
| 2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2948 test $ac_status = 0; }; then : | |
| 2949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 2950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 2951 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 2952 # so that the user can short-circuit this test for compilers unknown to | |
| 2953 # Autoconf. | |
| 2954 for ac_file in $ac_files '' | |
| 2955 do | |
| 2956 test -f "$ac_file" || continue | |
| 2957 case $ac_file in | |
| 2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) | |
| 2959 ;; | |
| 2960 [ab].out ) | |
| 2961 # We found the default executable, but exeext='' is most | |
| 2962 # certainly right. | |
| 2963 break;; | |
| 2964 *.* ) | |
| 2965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 2966 then :; else | |
| 2967 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2968 fi | |
| 2969 # We set ac_cv_exeext here because the later test for it is not | |
| 2970 # safe: cross compilers may not add the suffix if given an `-o' | |
| 2971 # argument, so we may need to know it at that point already. | |
| 2972 # Even if this section looks crufty: it has the advantage of | |
| 2973 # actually working. | |
| 2974 break;; | |
| 2975 * ) | |
| 2976 break;; | |
| 2977 esac | |
| 2978 done | |
| 2979 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 2980 | |
| 2981 else | |
| 2982 ac_file='' | |
| 2983 fi | |
| 2984 if test -z "$ac_file"; then : | |
| 2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2986 $as_echo "no" >&6; } | |
| 2987 $as_echo "$as_me: failed program was:" >&5 | |
| 2988 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2989 | |
| 2990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2992 as_fn_error 77 "C compiler cannot create executables | |
| 2993 See \`config.log' for more details" "$LINENO" 5; } | |
| 2994 else | |
| 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2996 $as_echo "yes" >&6; } | |
| 2997 fi | |
| 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output
file name" >&5 | |
| 2999 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
| 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 3001 $as_echo "$ac_file" >&6; } | |
| 3002 ac_exeext=$ac_cv_exeext | |
| 3003 | |
| 3004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 3005 ac_clean_files=$ac_clean_files_save | |
| 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 3007 $as_echo_n "checking for suffix of executables... " >&6; } | |
| 3008 if { { ac_try="$ac_link" | |
| 3009 case "(($ac_try" in | |
| 3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3011 *) ac_try_echo=$ac_try;; | |
| 3012 esac | |
| 3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3014 $as_echo "$ac_try_echo"; } >&5 | |
| 3015 (eval "$ac_link") 2>&5 | |
| 3016 ac_status=$? | |
| 3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3018 test $ac_status = 0; }; then : | |
| 3019 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 3020 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 3021 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 3022 # `rm'. | |
| 3023 for ac_file in conftest.exe conftest conftest.*; do | |
| 3024 test -f "$ac_file" || continue | |
| 3025 case $ac_file in | |
| 3026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
| 3027 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 3028 break;; | |
| 3029 * ) break;; | |
| 3030 esac | |
| 3031 done | |
| 3032 else | |
| 3033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3035 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 3036 See \`config.log' for more details" "$LINENO" 5; } | |
| 3037 fi | |
| 3038 rm -f conftest conftest$ac_cv_exeext | |
| 3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 3040 $as_echo "$ac_cv_exeext" >&6; } | |
| 3041 | |
| 3042 rm -f conftest.$ac_ext | |
| 3043 EXEEXT=$ac_cv_exeext | |
| 3044 ac_exeext=$EXEEXT | |
| 3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3046 /* end confdefs.h. */ | |
| 3047 #include <stdio.h> | |
| 3048 int | |
| 3049 main () | |
| 3050 { | |
| 3051 FILE *f = fopen ("conftest.out", "w"); | |
| 3052 return ferror (f) || fclose (f) != 0; | |
| 3053 | |
| 3054 ; | |
| 3055 return 0; | |
| 3056 } | |
| 3057 _ACEOF | |
| 3058 ac_clean_files="$ac_clean_files conftest.out" | |
| 3059 # Check that the compiler produces executables we can run. If not, either | |
| 3060 # the compiler is broken, or we cross compile. | |
| 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5 | |
| 3062 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 3063 if test "$cross_compiling" != yes; then | |
| 3064 { { ac_try="$ac_link" | |
| 3065 case "(($ac_try" in | |
| 3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3067 *) ac_try_echo=$ac_try;; | |
| 3068 esac | |
| 3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3070 $as_echo "$ac_try_echo"; } >&5 | |
| 3071 (eval "$ac_link") 2>&5 | |
| 3072 ac_status=$? | |
| 3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3074 test $ac_status = 0; } | |
| 3075 if { ac_try='./conftest$ac_cv_exeext' | |
| 3076 { { case "(($ac_try" in | |
| 3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3078 *) ac_try_echo=$ac_try;; | |
| 3079 esac | |
| 3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3081 $as_echo "$ac_try_echo"; } >&5 | |
| 3082 (eval "$ac_try") 2>&5 | |
| 3083 ac_status=$? | |
| 3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3085 test $ac_status = 0; }; }; then | |
| 3086 cross_compiling=no | |
| 3087 else | |
| 3088 if test "$cross_compiling" = maybe; then | |
| 3089 cross_compiling=yes | |
| 3090 else | |
| 3091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3093 as_fn_error $? "cannot run C compiled programs. | |
| 3094 If you meant to cross compile, use \`--host'. | |
| 3095 See \`config.log' for more details" "$LINENO" 5; } | |
| 3096 fi | |
| 3097 fi | |
| 3098 fi | |
| 3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
| 3100 $as_echo "$cross_compiling" >&6; } | |
| 3101 | |
| 3102 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
| 3103 ac_clean_files=$ac_clean_files_save | |
| 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&
5 | |
| 3105 $as_echo_n "checking for suffix of object files... " >&6; } | |
| 3106 if test "${ac_cv_objext+set}" = set; then : | |
| 3107 $as_echo_n "(cached) " >&6 | |
| 3108 else | |
| 3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3110 /* end confdefs.h. */ | |
| 3111 | |
| 3112 int | |
| 3113 main () | |
| 3114 { | |
| 3115 | |
| 3116 ; | |
| 3117 return 0; | |
| 3118 } | |
| 3119 _ACEOF | |
| 3120 rm -f conftest.o conftest.obj | |
| 3121 if { { ac_try="$ac_compile" | |
| 3122 case "(($ac_try" in | |
| 3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3124 *) ac_try_echo=$ac_try;; | |
| 3125 esac | |
| 3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3127 $as_echo "$ac_try_echo"; } >&5 | |
| 3128 (eval "$ac_compile") 2>&5 | |
| 3129 ac_status=$? | |
| 3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3131 test $ac_status = 0; }; then : | |
| 3132 for ac_file in conftest.o conftest.obj conftest.*; do | |
| 3133 test -f "$ac_file" || continue; | |
| 3134 case $ac_file in | |
| 3135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM ) ;; | |
| 3136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 3137 break;; | |
| 3138 esac | |
| 3139 done | |
| 3140 else | |
| 3141 $as_echo "$as_me: failed program was:" >&5 | |
| 3142 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3143 | |
| 3144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3146 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
| 3147 See \`config.log' for more details" "$LINENO" 5; } | |
| 3148 fi | |
| 3149 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 3150 fi | |
| 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
| 3152 $as_echo "$ac_cv_objext" >&6; } | |
| 3153 OBJEXT=$ac_cv_objext | |
| 3154 ac_objext=$OBJEXT | |
| 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 | |
| 3156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 3157 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | |
| 3158 $as_echo_n "(cached) " >&6 | |
| 3159 else | |
| 3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3161 /* end confdefs.h. */ | |
| 3162 | |
| 3163 int | |
| 3164 main () | |
| 3165 { | |
| 3166 #ifndef __GNUC__ | |
| 3167 choke me | |
| 3168 #endif | |
| 3169 | |
| 3170 ; | |
| 3171 return 0; | |
| 3172 } | |
| 3173 _ACEOF | |
| 3174 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3175 ac_compiler_gnu=yes | |
| 3176 else | |
| 3177 ac_compiler_gnu=no | |
| 3178 fi | |
| 3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3180 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 3181 | |
| 3182 fi | |
| 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 3184 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 3185 if test $ac_compiler_gnu = yes; then | |
| 3186 GCC=yes | |
| 3187 else | |
| 3188 GCC= | |
| 3189 fi | |
| 3190 ac_test_CFLAGS=${CFLAGS+set} | |
| 3191 ac_save_CFLAGS=$CFLAGS | |
| 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 3193 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 3194 if test "${ac_cv_prog_cc_g+set}" = set; then : | |
| 3195 $as_echo_n "(cached) " >&6 | |
| 3196 else | |
| 3197 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 3198 ac_c_werror_flag=yes | |
| 3199 ac_cv_prog_cc_g=no | |
| 3200 CFLAGS="-g" | |
| 3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3202 /* end confdefs.h. */ | |
| 3203 | |
| 3204 int | |
| 3205 main () | |
| 3206 { | |
| 3207 | |
| 3208 ; | |
| 3209 return 0; | |
| 3210 } | |
| 3211 _ACEOF | |
| 3212 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3213 ac_cv_prog_cc_g=yes | |
| 3214 else | |
| 3215 CFLAGS="" | |
| 3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3217 /* end confdefs.h. */ | |
| 3218 | |
| 3219 int | |
| 3220 main () | |
| 3221 { | |
| 3222 | |
| 3223 ; | |
| 3224 return 0; | |
| 3225 } | |
| 3226 _ACEOF | |
| 3227 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3228 | |
| 3229 else | |
| 3230 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3231 CFLAGS="-g" | |
| 3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3233 /* end confdefs.h. */ | |
| 3234 | |
| 3235 int | |
| 3236 main () | |
| 3237 { | |
| 3238 | |
| 3239 ; | |
| 3240 return 0; | |
| 3241 } | |
| 3242 _ACEOF | |
| 3243 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3244 ac_cv_prog_cc_g=yes | |
| 3245 fi | |
| 3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3247 fi | |
| 3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3249 fi | |
| 3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3251 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3252 fi | |
| 3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 3254 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 3255 if test "$ac_test_CFLAGS" = set; then | |
| 3256 CFLAGS=$ac_save_CFLAGS | |
| 3257 elif test $ac_cv_prog_cc_g = yes; then | |
| 3258 if test "$GCC" = yes; then | |
| 3259 CFLAGS="-g -O2" | |
| 3260 else | |
| 3261 CFLAGS="-g" | |
| 3262 fi | |
| 3263 else | |
| 3264 if test "$GCC" = yes; then | |
| 3265 CFLAGS="-O2" | |
| 3266 else | |
| 3267 CFLAGS= | |
| 3268 fi | |
| 3269 fi | |
| 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 | |
| 3271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 3272 if test "${ac_cv_prog_cc_c89+set}" = set; then : | |
| 3273 $as_echo_n "(cached) " >&6 | |
| 3274 else | |
| 3275 ac_cv_prog_cc_c89=no | |
| 3276 ac_save_CC=$CC | |
| 3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3278 /* end confdefs.h. */ | |
| 3279 #include <stdarg.h> | |
| 3280 #include <stdio.h> | |
| 3281 #include <sys/types.h> | |
| 3282 #include <sys/stat.h> | |
| 3283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 3284 struct buf { int x; }; | |
| 3285 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 3286 static char *e (p, i) | |
| 3287 char **p; | |
| 3288 int i; | |
| 3289 { | |
| 3290 return p[i]; | |
| 3291 } | |
| 3292 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 3293 { | |
| 3294 char *s; | |
| 3295 va_list v; | |
| 3296 va_start (v,p); | |
| 3297 s = g (p, va_arg (v,int)); | |
| 3298 va_end (v); | |
| 3299 return s; | |
| 3300 } | |
| 3301 | |
| 3302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 3303 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 3304 These don't provoke an error unfortunately, instead are silently treated | |
| 3305 as 'x'. The following induces an error, until -std is added to get | |
| 3306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 3307 array size at least. It's necessary to write '\x00'==0 to get something | |
| 3308 that's true only with -std. */ | |
| 3309 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 3310 | |
| 3311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3312 inside strings and character constants. */ | |
| 3313 #define FOO(x) 'x' | |
| 3314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3315 | |
| 3316 int test (int i, double x); | |
| 3317 struct s1 {int (*f) (int a);}; | |
| 3318 struct s2 {int (*f) (double a);}; | |
| 3319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); | |
| 3320 int argc; | |
| 3321 char **argv; | |
| 3322 int | |
| 3323 main () | |
| 3324 { | |
| 3325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3326 ; | |
| 3327 return 0; | |
| 3328 } | |
| 3329 _ACEOF | |
| 3330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3331 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3332 do | |
| 3333 CC="$ac_save_CC $ac_arg" | |
| 3334 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3335 ac_cv_prog_cc_c89=$ac_arg | |
| 3336 fi | |
| 3337 rm -f core conftest.err conftest.$ac_objext | |
| 3338 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3339 done | |
| 3340 rm -f conftest.$ac_ext | |
| 3341 CC=$ac_save_CC | |
| 3342 | |
| 3343 fi | |
| 3344 # AC_CACHE_VAL | |
| 3345 case "x$ac_cv_prog_cc_c89" in | |
| 3346 x) | |
| 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3348 $as_echo "none needed" >&6; } ;; | |
| 3349 xno) | |
| 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3351 $as_echo "unsupported" >&6; } ;; | |
| 3352 *) | |
| 3353 CC="$CC $ac_cv_prog_cc_c89" | |
| 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3355 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3356 esac | |
| 3357 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3358 | |
| 3359 fi | |
| 3360 | |
| 3361 ac_ext=c | |
| 3362 ac_cpp='$CPP $CPPFLAGS' | |
| 3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3366 DEPDIR="${am__leading_dot}deps" | |
| 3367 | |
| 3368 ac_config_commands="$ac_config_commands depfiles" | |
| 3369 | |
| 3370 | |
| 3371 am_make=${MAKE-make} | |
| 3372 cat > confinc << 'END' | |
| 3373 am__doit: | |
| 3374 @echo this is the am__doit target | |
| 3375 .PHONY: am__doit | |
| 3376 END | |
| 3377 # If we don't find an include directive, just comment out the code. | |
| 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 | |
| 3379 $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
| 3380 am__include="#" | |
| 3381 am__quote= | |
| 3382 _am_result=none | |
| 3383 # First try GNU make style include. | |
| 3384 echo "include confinc" > confmf | |
| 3385 # Ignore all kinds of additional output from `make'. | |
| 3386 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3387 *the\ am__doit\ target*) | |
| 3388 am__include=include | |
| 3389 am__quote= | |
| 3390 _am_result=GNU | |
| 3391 ;; | |
| 3392 esac | |
| 3393 # Now try BSD make style include. | |
| 3394 if test "$am__include" = "#"; then | |
| 3395 echo '.include "confinc"' > confmf | |
| 3396 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3397 *the\ am__doit\ target*) | |
| 3398 am__include=.include | |
| 3399 am__quote="\"" | |
| 3400 _am_result=BSD | |
| 3401 ;; | |
| 3402 esac | |
| 3403 fi | |
| 3404 | |
| 3405 | |
| 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
| 3407 $as_echo "$_am_result" >&6; } | |
| 3408 rm -f confinc confmf | |
| 3409 | |
| 3410 # Check whether --enable-dependency-tracking was given. | |
| 3411 if test "${enable_dependency_tracking+set}" = set; then : | |
| 3412 enableval=$enable_dependency_tracking; | |
| 3413 fi | |
| 3414 | |
| 3415 if test "x$enable_dependency_tracking" != xno; then | |
| 3416 am_depcomp="$ac_aux_dir/depcomp" | |
| 3417 AMDEPBACKSLASH='\' | |
| 3418 fi | |
| 3419 if test "x$enable_dependency_tracking" != xno; then | |
| 3420 AMDEP_TRUE= | |
| 3421 AMDEP_FALSE='#' | |
| 3422 else | |
| 3423 AMDEP_TRUE='#' | |
| 3424 AMDEP_FALSE= | |
| 3425 fi | |
| 3426 | |
| 3427 | |
| 3428 | |
| 3429 depcc="$CC" am_compiler_list= | |
| 3430 | |
| 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | |
| 3432 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
| 3433 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | |
| 3434 $as_echo_n "(cached) " >&6 | |
| 3435 else | |
| 3436 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 3437 # We make a subdir and do the tests there. Otherwise we can end up | |
| 3438 # making bogus files that we don't know about and never remove. For | |
| 3439 # instance it was reported that on HP-UX the gcc test will end up | |
| 3440 # making a dummy file named `D' -- because `-MD' means `put the output | |
| 3441 # in D'. | |
| 3442 mkdir conftest.dir | |
| 3443 # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 3444 # using a relative directory. | |
| 3445 cp "$am_depcomp" conftest.dir | |
| 3446 cd conftest.dir | |
| 3447 # We will build objects and dependencies in a subdirectory because | |
| 3448 # it helps to detect inapplicable dependency modes. For instance | |
| 3449 # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 3450 # side effect of compilation, but ICC will put the dependencies in | |
| 3451 # the current directory while Tru64 will put them in the object | |
| 3452 # directory. | |
| 3453 mkdir sub | |
| 3454 | |
| 3455 am_cv_CC_dependencies_compiler_type=none | |
| 3456 if test "$am_compiler_list" = ""; then | |
| 3457 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
| 3458 fi | |
| 3459 am__universal=false | |
| 3460 case " $depcc " in #( | |
| 3461 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 3462 esac | |
| 3463 | |
| 3464 for depmode in $am_compiler_list; do | |
| 3465 # Setup a source with many dependencies, because some compilers | |
| 3466 # like to wrap large dependency lists on column 80 (with \), and | |
| 3467 # we should not choose a depcomp mode which is confused by this. | |
| 3468 # | |
| 3469 # We need to recreate these files for each test, as the compiler may | |
| 3470 # overwrite some of them when testing with obscure command lines. | |
| 3471 # This happens at least with the AIX C compiler. | |
| 3472 : > sub/conftest.c | |
| 3473 for i in 1 2 3 4 5 6; do | |
| 3474 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 3475 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| 3476 # Solaris 8's {/usr,}/bin/sh. | |
| 3477 touch sub/conftst$i.h | |
| 3478 done | |
| 3479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 3480 | |
| 3481 # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
| 3482 # mode. It turns out that the SunPro C++ compiler does not properly | |
| 3483 # handle `-M -o', and we need to detect this. Also, some Intel | |
| 3484 # versions had trouble with output in subdirs | |
| 3485 am__obj=sub/conftest.${OBJEXT-o} | |
| 3486 am__minus_obj="-o $am__obj" | |
| 3487 case $depmode in | |
| 3488 gcc) | |
| 3489 # This depmode causes a compiler race in universal mode. | |
| 3490 test "$am__universal" = false || continue | |
| 3491 ;; | |
| 3492 nosideeffect) | |
| 3493 # after this tag, mechanisms are not by side-effect, so they'll | |
| 3494 # only be used when explicitly requested | |
| 3495 if test "x$enable_dependency_tracking" = xyes; then | |
| 3496 continue | |
| 3497 else | |
| 3498 break | |
| 3499 fi | |
| 3500 ;; | |
| 3501 msvisualcpp | msvcmsys) | |
| 3502 # This compiler won't grok `-c -o', but also, the minuso test has | |
| 3503 # not run yet. These depmodes are late enough in the game, and | |
| 3504 # so weak that their functioning should not be impacted. | |
| 3505 am__obj=conftest.${OBJEXT-o} | |
| 3506 am__minus_obj= | |
| 3507 ;; | |
| 3508 none) break ;; | |
| 3509 esac | |
| 3510 if depmode=$depmode \ | |
| 3511 source=sub/conftest.c object=$am__obj \ | |
| 3512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 3513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
| 3514 >/dev/null 2>conftest.err && | |
| 3515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
| 3518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 3519 # icc doesn't choke on unknown options, it will just issue warnings | |
| 3520 # or remarks (even with -Werror). So we grep stderr for any message | |
| 3521 # that says an option was ignored or not supported. | |
| 3522 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 3523 # icc: Command line warning: ignoring option '-M'; no argument required | |
| 3524 # The diagnosis changed in icc 8.0: | |
| 3525 # icc: Command line remark: option '-MP' not supported | |
| 3526 if (grep 'ignoring option' conftest.err || | |
| 3527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 3528 am_cv_CC_dependencies_compiler_type=$depmode | |
| 3529 break | |
| 3530 fi | |
| 3531 fi | |
| 3532 done | |
| 3533 | |
| 3534 cd .. | |
| 3535 rm -rf conftest.dir | |
| 3536 else | |
| 3537 am_cv_CC_dependencies_compiler_type=none | |
| 3538 fi | |
| 3539 | |
| 3540 fi | |
| 3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 | |
| 3542 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
| 3543 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
| 3544 | |
| 3545 if | |
| 3546 test "x$enable_dependency_tracking" != xno \ | |
| 3547 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
| 3548 am__fastdepCC_TRUE= | |
| 3549 am__fastdepCC_FALSE='#' | |
| 3550 else | |
| 3551 am__fastdepCC_TRUE='#' | |
| 3552 am__fastdepCC_FALSE= | |
| 3553 fi | |
| 3554 | |
| 3555 | |
| 3556 | |
| 3557 case `pwd` in | |
| 3558 *\ * | *\ *) | |
| 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well
with whitespace in \`pwd\`" >&5 | |
| 3560 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`
" >&2;} ;; | |
| 3561 esac | |
| 3562 | |
| 3563 | |
| 3564 | |
| 3565 macro_version='2.2.10' | |
| 3566 macro_revision='1.3175' | |
| 3567 | |
| 3568 | |
| 3569 | |
| 3570 | |
| 3571 | |
| 3572 | |
| 3573 | |
| 3574 | |
| 3575 | |
| 3576 | |
| 3577 | |
| 3578 | |
| 3579 | |
| 3580 ltmain="$ac_aux_dir/ltmain.sh" | |
| 3581 | |
| 3582 # Make sure we can run config.sub. | |
| 3583 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
| 3584 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
| 3585 | |
| 3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
| 3587 $as_echo_n "checking build system type... " >&6; } | |
| 3588 if test "${ac_cv_build+set}" = set; then : | |
| 3589 $as_echo_n "(cached) " >&6 | |
| 3590 else | |
| 3591 ac_build_alias=$build_alias | |
| 3592 test "x$ac_build_alias" = x && | |
| 3593 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
| 3594 test "x$ac_build_alias" = x && | |
| 3595 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
| 3596 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
| 3597 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO
" 5 | |
| 3598 | |
| 3599 fi | |
| 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
| 3601 $as_echo "$ac_cv_build" >&6; } | |
| 3602 case $ac_cv_build in | |
| 3603 *-*-*) ;; | |
| 3604 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
| 3605 esac | |
| 3606 build=$ac_cv_build | |
| 3607 ac_save_IFS=$IFS; IFS='-' | |
| 3608 set x $ac_cv_build | |
| 3609 shift | |
| 3610 build_cpu=$1 | |
| 3611 build_vendor=$2 | |
| 3612 shift; shift | |
| 3613 # Remember, the first character of IFS is used to create $*, | |
| 3614 # except with old shells: | |
| 3615 build_os=$* | |
| 3616 IFS=$ac_save_IFS | |
| 3617 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
| 3618 | |
| 3619 | |
| 3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
| 3621 $as_echo_n "checking host system type... " >&6; } | |
| 3622 if test "${ac_cv_host+set}" = set; then : | |
| 3623 $as_echo_n "(cached) " >&6 | |
| 3624 else | |
| 3625 if test "x$host_alias" = x; then | |
| 3626 ac_cv_host=$ac_cv_build | |
| 3627 else | |
| 3628 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
| 3629 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO"
5 | |
| 3630 fi | |
| 3631 | |
| 3632 fi | |
| 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
| 3634 $as_echo "$ac_cv_host" >&6; } | |
| 3635 case $ac_cv_host in | |
| 3636 *-*-*) ;; | |
| 3637 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
| 3638 esac | |
| 3639 host=$ac_cv_host | |
| 3640 ac_save_IFS=$IFS; IFS='-' | |
| 3641 set x $ac_cv_host | |
| 3642 shift | |
| 3643 host_cpu=$1 | |
| 3644 host_vendor=$2 | |
| 3645 shift; shift | |
| 3646 # Remember, the first character of IFS is used to create $*, | |
| 3647 # except with old shells: | |
| 3648 host_os=$* | |
| 3649 IFS=$ac_save_IFS | |
| 3650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
| 3651 | |
| 3652 | |
| 3653 # Backslashify metacharacters that are still active within | |
| 3654 # double-quoted strings. | |
| 3655 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | |
| 3656 | |
| 3657 # Same as above, but do not quote variable references. | |
| 3658 double_quote_subst='s/\(["`\\]\)/\\\1/g' | |
| 3659 | |
| 3660 # Sed substitution to delay expansion of an escaped shell variable in a | |
| 3661 # double_quote_subst'ed string. | |
| 3662 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | |
| 3663 | |
| 3664 # Sed substitution to delay expansion of an escaped single quote. | |
| 3665 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | |
| 3666 | |
| 3667 # Sed substitution to avoid accidental globbing in evaled expressions | |
| 3668 no_glob_subst='s/\*/\\\*/g' | |
| 3669 | |
| 3670 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 3671 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 3672 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 3673 | |
| 3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | |
| 3675 $as_echo_n "checking how to print strings... " >&6; } | |
| 3676 # Test print first, because it will be a builtin if present. | |
| 3677 if test "X`print -r -- -n 2>/dev/null`" = X-n && \ | |
| 3678 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 3679 ECHO='print -r --' | |
| 3680 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 3681 ECHO='printf %s\n' | |
| 3682 else | |
| 3683 # Use this function as a fallback that always works. | |
| 3684 func_fallback_echo () | |
| 3685 { | |
| 3686 eval 'cat <<_LTECHO_EOF | |
| 3687 $1 | |
| 3688 _LTECHO_EOF' | |
| 3689 } | |
| 3690 ECHO='func_fallback_echo' | |
| 3691 fi | |
| 3692 | |
| 3693 # func_echo_all arg... | |
| 3694 # Invoke $ECHO with all args, space-separated. | |
| 3695 func_echo_all () | |
| 3696 { | |
| 3697 $ECHO "" | |
| 3698 } | |
| 3699 | |
| 3700 case "$ECHO" in | |
| 3701 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | |
| 3702 $as_echo "printf" >&6; } ;; | |
| 3703 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | |
| 3704 $as_echo "print -r" >&6; } ;; | |
| 3705 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | |
| 3706 $as_echo "cat" >&6; } ;; | |
| 3707 esac | |
| 3708 | |
| 3709 | |
| 3710 | |
| 3711 | |
| 3712 | |
| 3713 | |
| 3714 | |
| 3715 | |
| 3716 | |
| 3717 | |
| 3718 | |
| 3719 | |
| 3720 | |
| 3721 | |
| 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca
te output" >&5 | |
| 3723 $as_echo_n "checking for a sed that does not truncate output... " >&6; } | |
| 3724 if test "${ac_cv_path_SED+set}" = set; then : | |
| 3725 $as_echo_n "(cached) " >&6 | |
| 3726 else | |
| 3727 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbb/ | |
| 3728 for ac_i in 1 2 3 4 5 6 7; do | |
| 3729 ac_script="$ac_script$as_nl$ac_script" | |
| 3730 done | |
| 3731 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | |
| 3732 { ac_script=; unset ac_script;} | |
| 3733 if test -z "$SED"; then | |
| 3734 ac_path_SED_found=false | |
| 3735 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3737 for as_dir in $PATH | |
| 3738 do | |
| 3739 IFS=$as_save_IFS | |
| 3740 test -z "$as_dir" && as_dir=. | |
| 3741 for ac_prog in sed gsed; do | |
| 3742 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3743 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | |
| 3744 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | |
| 3745 # Check for GNU ac_path_SED and select it if it is found. | |
| 3746 # Check for GNU $ac_path_SED | |
| 3747 case `"$ac_path_SED" --version 2>&1` in | |
| 3748 *GNU*) | |
| 3749 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | |
| 3750 *) | |
| 3751 ac_count=0 | |
| 3752 $as_echo_n 0123456789 >"conftest.in" | |
| 3753 while : | |
| 3754 do | |
| 3755 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3756 mv "conftest.tmp" "conftest.in" | |
| 3757 cp "conftest.in" "conftest.nl" | |
| 3758 $as_echo '' >> "conftest.nl" | |
| 3759 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null |
| break | |
| 3760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3761 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3762 if test $ac_count -gt ${ac_path_SED_max-0}; then | |
| 3763 # Best one so far, save it but keep looking for a better one | |
| 3764 ac_cv_path_SED="$ac_path_SED" | |
| 3765 ac_path_SED_max=$ac_count | |
| 3766 fi | |
| 3767 # 10*(2^10) chars as input seems more than enough | |
| 3768 test $ac_count -gt 10 && break | |
| 3769 done | |
| 3770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3771 esac | |
| 3772 | |
| 3773 $ac_path_SED_found && break 3 | |
| 3774 done | |
| 3775 done | |
| 3776 done | |
| 3777 IFS=$as_save_IFS | |
| 3778 if test -z "$ac_cv_path_SED"; then | |
| 3779 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
| 3780 fi | |
| 3781 else | |
| 3782 ac_cv_path_SED=$SED | |
| 3783 fi | |
| 3784 | |
| 3785 fi | |
| 3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | |
| 3787 $as_echo "$ac_cv_path_SED" >&6; } | |
| 3788 SED="$ac_cv_path_SED" | |
| 3789 rm -f conftest.sed | |
| 3790 | |
| 3791 test -z "$SED" && SED=sed | |
| 3792 Xsed="$SED -e 1s/^X//" | |
| 3793 | |
| 3794 | |
| 3795 | |
| 3796 | |
| 3797 | |
| 3798 | |
| 3799 | |
| 3800 | |
| 3801 | |
| 3802 | |
| 3803 | |
| 3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
es and -e" >&5 | |
| 3805 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 3806 if test "${ac_cv_path_GREP+set}" = set; then : | |
| 3807 $as_echo_n "(cached) " >&6 | |
| 3808 else | |
| 3809 if test -z "$GREP"; then | |
| 3810 ac_path_GREP_found=false | |
| 3811 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3814 do | |
| 3815 IFS=$as_save_IFS | |
| 3816 test -z "$as_dir" && as_dir=. | |
| 3817 for ac_prog in grep ggrep; do | |
| 3818 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3819 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3820 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
| 3821 # Check for GNU ac_path_GREP and select it if it is found. | |
| 3822 # Check for GNU $ac_path_GREP | |
| 3823 case `"$ac_path_GREP" --version 2>&1` in | |
| 3824 *GNU*) | |
| 3825 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3826 *) | |
| 3827 ac_count=0 | |
| 3828 $as_echo_n 0123456789 >"conftest.in" | |
| 3829 while : | |
| 3830 do | |
| 3831 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3832 mv "conftest.tmp" "conftest.in" | |
| 3833 cp "conftest.in" "conftest.nl" | |
| 3834 $as_echo 'GREP' >> "conftest.nl" | |
| 3835 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break | |
| 3836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3837 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3838 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3839 # Best one so far, save it but keep looking for a better one | |
| 3840 ac_cv_path_GREP="$ac_path_GREP" | |
| 3841 ac_path_GREP_max=$ac_count | |
| 3842 fi | |
| 3843 # 10*(2^10) chars as input seems more than enough | |
| 3844 test $ac_count -gt 10 && break | |
| 3845 done | |
| 3846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3847 esac | |
| 3848 | |
| 3849 $ac_path_GREP_found && break 3 | |
| 3850 done | |
| 3851 done | |
| 3852 done | |
| 3853 IFS=$as_save_IFS | |
| 3854 if test -z "$ac_cv_path_GREP"; then | |
| 3855 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us
r/xpg4/bin" "$LINENO" 5 | |
| 3856 fi | |
| 3857 else | |
| 3858 ac_cv_path_GREP=$GREP | |
| 3859 fi | |
| 3860 | |
| 3861 fi | |
| 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 3863 $as_echo "$ac_cv_path_GREP" >&6; } | |
| 3864 GREP="$ac_cv_path_GREP" | |
| 3865 | |
| 3866 | |
| 3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 3868 $as_echo_n "checking for egrep... " >&6; } | |
| 3869 if test "${ac_cv_path_EGREP+set}" = set; then : | |
| 3870 $as_echo_n "(cached) " >&6 | |
| 3871 else | |
| 3872 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3873 then ac_cv_path_EGREP="$GREP -E" | |
| 3874 else | |
| 3875 if test -z "$EGREP"; then | |
| 3876 ac_path_EGREP_found=false | |
| 3877 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3879 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3880 do | |
| 3881 IFS=$as_save_IFS | |
| 3882 test -z "$as_dir" && as_dir=. | |
| 3883 for ac_prog in egrep; do | |
| 3884 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3885 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3886 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
| 3887 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 3888 # Check for GNU $ac_path_EGREP | |
| 3889 case `"$ac_path_EGREP" --version 2>&1` in | |
| 3890 *GNU*) | |
| 3891 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 3892 *) | |
| 3893 ac_count=0 | |
| 3894 $as_echo_n 0123456789 >"conftest.in" | |
| 3895 while : | |
| 3896 do | |
| 3897 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3898 mv "conftest.tmp" "conftest.in" | |
| 3899 cp "conftest.in" "conftest.nl" | |
| 3900 $as_echo 'EGREP' >> "conftest.nl" | |
| 3901 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak | |
| 3902 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3903 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3904 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 3905 # Best one so far, save it but keep looking for a better one | |
| 3906 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 3907 ac_path_EGREP_max=$ac_count | |
| 3908 fi | |
| 3909 # 10*(2^10) chars as input seems more than enough | |
| 3910 test $ac_count -gt 10 && break | |
| 3911 done | |
| 3912 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3913 esac | |
| 3914 | |
| 3915 $ac_path_EGREP_found && break 3 | |
| 3916 done | |
| 3917 done | |
| 3918 done | |
| 3919 IFS=$as_save_IFS | |
| 3920 if test -z "$ac_cv_path_EGREP"; then | |
| 3921 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
| 3922 fi | |
| 3923 else | |
| 3924 ac_cv_path_EGREP=$EGREP | |
| 3925 fi | |
| 3926 | |
| 3927 fi | |
| 3928 fi | |
| 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 3930 $as_echo "$ac_cv_path_EGREP" >&6; } | |
| 3931 EGREP="$ac_cv_path_EGREP" | |
| 3932 | |
| 3933 | |
| 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | |
| 3935 $as_echo_n "checking for fgrep... " >&6; } | |
| 3936 if test "${ac_cv_path_FGREP+set}" = set; then : | |
| 3937 $as_echo_n "(cached) " >&6 | |
| 3938 else | |
| 3939 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | |
| 3940 then ac_cv_path_FGREP="$GREP -F" | |
| 3941 else | |
| 3942 if test -z "$FGREP"; then | |
| 3943 ac_path_FGREP_found=false | |
| 3944 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3946 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3947 do | |
| 3948 IFS=$as_save_IFS | |
| 3949 test -z "$as_dir" && as_dir=. | |
| 3950 for ac_prog in fgrep; do | |
| 3951 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3952 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3953 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | |
| 3954 # Check for GNU ac_path_FGREP and select it if it is found. | |
| 3955 # Check for GNU $ac_path_FGREP | |
| 3956 case `"$ac_path_FGREP" --version 2>&1` in | |
| 3957 *GNU*) | |
| 3958 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | |
| 3959 *) | |
| 3960 ac_count=0 | |
| 3961 $as_echo_n 0123456789 >"conftest.in" | |
| 3962 while : | |
| 3963 do | |
| 3964 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3965 mv "conftest.tmp" "conftest.in" | |
| 3966 cp "conftest.in" "conftest.nl" | |
| 3967 $as_echo 'FGREP' >> "conftest.nl" | |
| 3968 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3970 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3971 if test $ac_count -gt ${ac_path_FGREP_max-0}; then | |
| 3972 # Best one so far, save it but keep looking for a better one | |
| 3973 ac_cv_path_FGREP="$ac_path_FGREP" | |
| 3974 ac_path_FGREP_max=$ac_count | |
| 3975 fi | |
| 3976 # 10*(2^10) chars as input seems more than enough | |
| 3977 test $ac_count -gt 10 && break | |
| 3978 done | |
| 3979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3980 esac | |
| 3981 | |
| 3982 $ac_path_FGREP_found && break 3 | |
| 3983 done | |
| 3984 done | |
| 3985 done | |
| 3986 IFS=$as_save_IFS | |
| 3987 if test -z "$ac_cv_path_FGREP"; then | |
| 3988 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
| 3989 fi | |
| 3990 else | |
| 3991 ac_cv_path_FGREP=$FGREP | |
| 3992 fi | |
| 3993 | |
| 3994 fi | |
| 3995 fi | |
| 3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | |
| 3997 $as_echo "$ac_cv_path_FGREP" >&6; } | |
| 3998 FGREP="$ac_cv_path_FGREP" | |
| 3999 | |
| 4000 | |
| 4001 test -z "$GREP" && GREP=grep | |
| 4002 | |
| 4003 | |
| 4004 | |
| 4005 | |
| 4006 | |
| 4007 | |
| 4008 | |
| 4009 | |
| 4010 | |
| 4011 | |
| 4012 | |
| 4013 | |
| 4014 | |
| 4015 | |
| 4016 | |
| 4017 | |
| 4018 | |
| 4019 | |
| 4020 | |
| 4021 # Check whether --with-gnu-ld was given. | |
| 4022 if test "${with_gnu_ld+set}" = set; then : | |
| 4023 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |
| 4024 else | |
| 4025 with_gnu_ld=no | |
| 4026 fi | |
| 4027 | |
| 4028 ac_prog=ld | |
| 4029 if test "$GCC" = yes; then | |
| 4030 # Check if gcc -print-prog-name=ld gives a path. | |
| 4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | |
| 4032 $as_echo_n "checking for ld used by $CC... " >&6; } | |
| 4033 case $host in | |
| 4034 *-*-mingw*) | |
| 4035 # gcc leaves a trailing carriage return which upsets mingw | |
| 4036 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
| 4037 *) | |
| 4038 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
| 4039 esac | |
| 4040 case $ac_prog in | |
| 4041 # Accept absolute paths. | |
| 4042 [\\/]* | ?:[\\/]*) | |
| 4043 re_direlt='/[^/][^/]*/\.\./' | |
| 4044 # Canonicalize the pathname of ld | |
| 4045 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | |
| 4046 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | |
| 4047 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | |
| 4048 done | |
| 4049 test -z "$LD" && LD="$ac_prog" | |
| 4050 ;; | |
| 4051 "") | |
| 4052 # If it fails, then pretend we aren't using GCC. | |
| 4053 ac_prog=ld | |
| 4054 ;; | |
| 4055 *) | |
| 4056 # If it is relative, then search for the first ld in PATH. | |
| 4057 with_gnu_ld=unknown | |
| 4058 ;; | |
| 4059 esac | |
| 4060 elif test "$with_gnu_ld" = yes; then | |
| 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
| 4062 $as_echo_n "checking for GNU ld... " >&6; } | |
| 4063 else | |
| 4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
| 4065 $as_echo_n "checking for non-GNU ld... " >&6; } | |
| 4066 fi | |
| 4067 if test "${lt_cv_path_LD+set}" = set; then : | |
| 4068 $as_echo_n "(cached) " >&6 | |
| 4069 else | |
| 4070 if test -z "$LD"; then | |
| 4071 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 4072 for ac_dir in $PATH; do | |
| 4073 IFS="$lt_save_ifs" | |
| 4074 test -z "$ac_dir" && ac_dir=. | |
| 4075 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| 4076 lt_cv_path_LD="$ac_dir/$ac_prog" | |
| 4077 # Check to see if the program is GNU ld. I'd rather use --version, | |
| 4078 # but apparently some variants of GNU ld only accept -v. | |
| 4079 # Break only if it was the GNU/non-GNU ld that we prefer. | |
| 4080 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
| 4081 *GNU* | *'with BFD'*) | |
| 4082 test "$with_gnu_ld" != no && break | |
| 4083 ;; | |
| 4084 *) | |
| 4085 test "$with_gnu_ld" != yes && break | |
| 4086 ;; | |
| 4087 esac | |
| 4088 fi | |
| 4089 done | |
| 4090 IFS="$lt_save_ifs" | |
| 4091 else | |
| 4092 lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
| 4093 fi | |
| 4094 fi | |
| 4095 | |
| 4096 LD="$lt_cv_path_LD" | |
| 4097 if test -n "$LD"; then | |
| 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
| 4099 $as_echo "$LD" >&6; } | |
| 4100 else | |
| 4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4102 $as_echo "no" >&6; } | |
| 4103 fi | |
| 4104 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
| 4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 | |
| 4106 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
| 4107 if test "${lt_cv_prog_gnu_ld+set}" = set; then : | |
| 4108 $as_echo_n "(cached) " >&6 | |
| 4109 else | |
| 4110 # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
| 4111 case `$LD -v 2>&1 </dev/null` in | |
| 4112 *GNU* | *'with BFD'*) | |
| 4113 lt_cv_prog_gnu_ld=yes | |
| 4114 ;; | |
| 4115 *) | |
| 4116 lt_cv_prog_gnu_ld=no | |
| 4117 ;; | |
| 4118 esac | |
| 4119 fi | |
| 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | |
| 4121 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | |
| 4122 with_gnu_ld=$lt_cv_prog_gnu_ld | |
| 4123 | |
| 4124 | |
| 4125 | |
| 4126 | |
| 4127 | |
| 4128 | |
| 4129 | |
| 4130 | |
| 4131 | |
| 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name
lister (nm)" >&5 | |
| 4133 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | |
| 4134 if test "${lt_cv_path_NM+set}" = set; then : | |
| 4135 $as_echo_n "(cached) " >&6 | |
| 4136 else | |
| 4137 if test -n "$NM"; then | |
| 4138 # Let the user override the test. | |
| 4139 lt_cv_path_NM="$NM" | |
| 4140 else | |
| 4141 lt_nm_to_check="${ac_tool_prefix}nm" | |
| 4142 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | |
| 4143 lt_nm_to_check="$lt_nm_to_check nm" | |
| 4144 fi | |
| 4145 for lt_tmp_nm in $lt_nm_to_check; do | |
| 4146 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 4147 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | |
| 4148 IFS="$lt_save_ifs" | |
| 4149 test -z "$ac_dir" && ac_dir=. | |
| 4150 tmp_nm="$ac_dir/$lt_tmp_nm" | |
| 4151 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | |
| 4152 # Check to see if the nm accepts a BSD-compat flag. | |
| 4153 # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
| 4154 # nm: unknown option "B" ignored | |
| 4155 # Tru64's nm complains that /dev/null is an invalid object file | |
| 4156 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | |
| 4157 */dev/null* | *'Invalid file or object type'*) | |
| 4158 lt_cv_path_NM="$tmp_nm -B" | |
| 4159 break | |
| 4160 ;; | |
| 4161 *) | |
| 4162 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
| 4163 */dev/null*) | |
| 4164 lt_cv_path_NM="$tmp_nm -p" | |
| 4165 break | |
| 4166 ;; | |
| 4167 *) | |
| 4168 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
| 4169 continue # so that we can try to find one that supports BSD flags | |
| 4170 ;; | |
| 4171 esac | |
| 4172 ;; | |
| 4173 esac | |
| 4174 fi | |
| 4175 done | |
| 4176 IFS="$lt_save_ifs" | |
| 4177 done | |
| 4178 : ${lt_cv_path_NM=no} | |
| 4179 fi | |
| 4180 fi | |
| 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | |
| 4182 $as_echo "$lt_cv_path_NM" >&6; } | |
| 4183 if test "$lt_cv_path_NM" != "no"; then | |
| 4184 NM="$lt_cv_path_NM" | |
| 4185 else | |
| 4186 # Didn't find any BSD compatible name lister, look for dumpbin. | |
| 4187 if test -n "$DUMPBIN"; then : | |
| 4188 # Let the user override the test. | |
| 4189 else | |
| 4190 if test -n "$ac_tool_prefix"; then | |
| 4191 for ac_prog in dumpbin "link -dump" | |
| 4192 do | |
| 4193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 4194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4196 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4197 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : | |
| 4198 $as_echo_n "(cached) " >&6 | |
| 4199 else | |
| 4200 if test -n "$DUMPBIN"; then | |
| 4201 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | |
| 4202 else | |
| 4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4204 for as_dir in $PATH | |
| 4205 do | |
| 4206 IFS=$as_save_IFS | |
| 4207 test -z "$as_dir" && as_dir=. | |
| 4208 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4210 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | |
| 4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4212 break 2 | |
| 4213 fi | |
| 4214 done | |
| 4215 done | |
| 4216 IFS=$as_save_IFS | |
| 4217 | |
| 4218 fi | |
| 4219 fi | |
| 4220 DUMPBIN=$ac_cv_prog_DUMPBIN | |
| 4221 if test -n "$DUMPBIN"; then | |
| 4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | |
| 4223 $as_echo "$DUMPBIN" >&6; } | |
| 4224 else | |
| 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4226 $as_echo "no" >&6; } | |
| 4227 fi | |
| 4228 | |
| 4229 | |
| 4230 test -n "$DUMPBIN" && break | |
| 4231 done | |
| 4232 fi | |
| 4233 if test -z "$DUMPBIN"; then | |
| 4234 ac_ct_DUMPBIN=$DUMPBIN | |
| 4235 for ac_prog in dumpbin "link -dump" | |
| 4236 do | |
| 4237 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 4238 set dummy $ac_prog; ac_word=$2 | |
| 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4240 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4241 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : | |
| 4242 $as_echo_n "(cached) " >&6 | |
| 4243 else | |
| 4244 if test -n "$ac_ct_DUMPBIN"; then | |
| 4245 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | |
| 4246 else | |
| 4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4248 for as_dir in $PATH | |
| 4249 do | |
| 4250 IFS=$as_save_IFS | |
| 4251 test -z "$as_dir" && as_dir=. | |
| 4252 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4254 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | |
| 4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4256 break 2 | |
| 4257 fi | |
| 4258 done | |
| 4259 done | |
| 4260 IFS=$as_save_IFS | |
| 4261 | |
| 4262 fi | |
| 4263 fi | |
| 4264 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | |
| 4265 if test -n "$ac_ct_DUMPBIN"; then | |
| 4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | |
| 4267 $as_echo "$ac_ct_DUMPBIN" >&6; } | |
| 4268 else | |
| 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4270 $as_echo "no" >&6; } | |
| 4271 fi | |
| 4272 | |
| 4273 | |
| 4274 test -n "$ac_ct_DUMPBIN" && break | |
| 4275 done | |
| 4276 | |
| 4277 if test "x$ac_ct_DUMPBIN" = x; then | |
| 4278 DUMPBIN=":" | |
| 4279 else | |
| 4280 case $cross_compiling:$ac_tool_warned in | |
| 4281 yes:) | |
| 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4284 ac_tool_warned=yes ;; | |
| 4285 esac | |
| 4286 DUMPBIN=$ac_ct_DUMPBIN | |
| 4287 fi | |
| 4288 fi | |
| 4289 | |
| 4290 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | |
| 4291 *COFF*) | |
| 4292 DUMPBIN="$DUMPBIN -symbols" | |
| 4293 ;; | |
| 4294 *) | |
| 4295 DUMPBIN=: | |
| 4296 ;; | |
| 4297 esac | |
| 4298 fi | |
| 4299 | |
| 4300 if test "$DUMPBIN" != ":"; then | |
| 4301 NM="$DUMPBIN" | |
| 4302 fi | |
| 4303 fi | |
| 4304 test -z "$NM" && NM=nm | |
| 4305 | |
| 4306 | |
| 4307 | |
| 4308 | |
| 4309 | |
| 4310 | |
| 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 | |
| 4312 $as_echo_n "checking the name lister ($NM) interface... " >&6; } | |
| 4313 if test "${lt_cv_nm_interface+set}" = set; then : | |
| 4314 $as_echo_n "(cached) " >&6 | |
| 4315 else | |
| 4316 lt_cv_nm_interface="BSD nm" | |
| 4317 echo "int some_variable = 0;" > conftest.$ac_ext | |
| 4318 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | |
| 4319 (eval "$ac_compile" 2>conftest.err) | |
| 4320 cat conftest.err >&5 | |
| 4321 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
| 4322 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | |
| 4323 cat conftest.err >&5 | |
| 4324 (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
| 4325 cat conftest.out >&5 | |
| 4326 if $GREP 'External.*some_variable' conftest.out > /dev/null; then | |
| 4327 lt_cv_nm_interface="MS dumpbin" | |
| 4328 fi | |
| 4329 rm -f conftest* | |
| 4330 fi | |
| 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | |
| 4332 $as_echo "$lt_cv_nm_interface" >&6; } | |
| 4333 | |
| 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
| 4335 $as_echo_n "checking whether ln -s works... " >&6; } | |
| 4336 LN_S=$as_ln_s | |
| 4337 if test "$LN_S" = "ln -s"; then | |
| 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 4339 $as_echo "yes" >&6; } | |
| 4340 else | |
| 4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | |
| 4342 $as_echo "no, using $LN_S" >&6; } | |
| 4343 fi | |
| 4344 | |
| 4345 # find the maximum length of command line arguments | |
| 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command
line arguments" >&5 | |
| 4347 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | |
| 4348 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : | |
| 4349 $as_echo_n "(cached) " >&6 | |
| 4350 else | |
| 4351 i=0 | |
| 4352 teststring="ABCD" | |
| 4353 | |
| 4354 case $build_os in | |
| 4355 msdosdjgpp*) | |
| 4356 # On DJGPP, this test can blow up pretty badly due to problems in libc | |
| 4357 # (any single argument exceeding 2000 bytes causes a buffer overrun | |
| 4358 # during glob expansion). Even if it were fixed, the result of this | |
| 4359 # check would be larger than it should be. | |
| 4360 lt_cv_sys_max_cmd_len=12288; # 12K is about right | |
| 4361 ;; | |
| 4362 | |
| 4363 gnu*) | |
| 4364 # Under GNU Hurd, this test is not required because there is | |
| 4365 # no limit to the length of command line arguments. | |
| 4366 # Libtool will interpret -1 as no limit whatsoever | |
| 4367 lt_cv_sys_max_cmd_len=-1; | |
| 4368 ;; | |
| 4369 | |
| 4370 cygwin* | mingw* | cegcc*) | |
| 4371 # On Win9x/ME, this test blows up -- it succeeds, but takes | |
| 4372 # about 5 minutes as the teststring grows exponentially. | |
| 4373 # Worse, since 9x/ME are not pre-emptively multitasking, | |
| 4374 # you end up with a "frozen" computer, even though with patience | |
| 4375 # the test eventually succeeds (with a max line length of 256k). | |
| 4376 # Instead, let's just punt: use the minimum linelength reported by | |
| 4377 # all of the supported platforms: 8192 (on NT/2K/XP). | |
| 4378 lt_cv_sys_max_cmd_len=8192; | |
| 4379 ;; | |
| 4380 | |
| 4381 mint*) | |
| 4382 # On MiNT this can take a long time and run out of memory. | |
| 4383 lt_cv_sys_max_cmd_len=8192; | |
| 4384 ;; | |
| 4385 | |
| 4386 amigaos*) | |
| 4387 # On AmigaOS with pdksh, this test takes hours, literally. | |
| 4388 # So we just punt and use a minimum line length of 8192. | |
| 4389 lt_cv_sys_max_cmd_len=8192; | |
| 4390 ;; | |
| 4391 | |
| 4392 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | |
| 4393 # This has been around since 386BSD, at least. Likely further. | |
| 4394 if test -x /sbin/sysctl; then | |
| 4395 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |
| 4396 elif test -x /usr/sbin/sysctl; then | |
| 4397 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | |
| 4398 else | |
| 4399 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | |
| 4400 fi | |
| 4401 # And add a safety zone | |
| 4402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 4403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 4404 ;; | |
| 4405 | |
| 4406 interix*) | |
| 4407 # We know the value 262144 and hardcode it with a safety zone (like BSD) | |
| 4408 lt_cv_sys_max_cmd_len=196608 | |
| 4409 ;; | |
| 4410 | |
| 4411 osf*) | |
| 4412 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | |
| 4413 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | |
| 4414 # nice to cause kernel panics so lets avoid the loop below. | |
| 4415 # First set a reasonable default. | |
| 4416 lt_cv_sys_max_cmd_len=16384 | |
| 4417 # | |
| 4418 if test -x /sbin/sysconfig; then | |
| 4419 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | |
| 4420 *1*) lt_cv_sys_max_cmd_len=-1 ;; | |
| 4421 esac | |
| 4422 fi | |
| 4423 ;; | |
| 4424 sco3.2v5*) | |
| 4425 lt_cv_sys_max_cmd_len=102400 | |
| 4426 ;; | |
| 4427 sysv5* | sco5v6* | sysv4.2uw2*) | |
| 4428 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | |
| 4429 if test -n "$kargmax"; then | |
| 4430 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | |
| 4431 else | |
| 4432 lt_cv_sys_max_cmd_len=32768 | |
| 4433 fi | |
| 4434 ;; | |
| 4435 *) | |
| 4436 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | |
| 4437 if test -n "$lt_cv_sys_max_cmd_len"; then | |
| 4438 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 4439 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 4440 else | |
| 4441 # Make teststring a little bigger before we do anything with it. | |
| 4442 # a 1K string should be a reasonable start. | |
| 4443 for i in 1 2 3 4 5 6 7 8 ; do | |
| 4444 teststring=$teststring$teststring | |
| 4445 done | |
| 4446 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | |
| 4447 # If test is not a shell built-in, we'll probably end up computing a | |
| 4448 # maximum length that is only half of the actual maximum length, but | |
| 4449 # we can't tell. | |
| 4450 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null`
\ | |
| 4451 = "X$teststring$teststring"; } >/dev/null 2>&1 && | |
| 4452 test $i != 17 # 1/2 MB should be enough | |
| 4453 do | |
| 4454 i=`expr $i + 1` | |
| 4455 teststring=$teststring$teststring | |
| 4456 done | |
| 4457 # Only check the string length outside the loop. | |
| 4458 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | |
| 4459 teststring= | |
| 4460 # Add a significant safety factor because C++ compilers can tack on | |
| 4461 # massive amounts of additional arguments before passing them to the | |
| 4462 # linker. It appears as though 1/2 is a usable value. | |
| 4463 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | |
| 4464 fi | |
| 4465 ;; | |
| 4466 esac | |
| 4467 | |
| 4468 fi | |
| 4469 | |
| 4470 if test -n $lt_cv_sys_max_cmd_len ; then | |
| 4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | |
| 4472 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | |
| 4473 else | |
| 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | |
| 4475 $as_echo "none" >&6; } | |
| 4476 fi | |
| 4477 max_cmd_len=$lt_cv_sys_max_cmd_len | |
| 4478 | |
| 4479 | |
| 4480 | |
| 4481 | |
| 4482 | |
| 4483 | |
| 4484 : ${CP="cp -f"} | |
| 4485 : ${MV="mv -f"} | |
| 4486 : ${RM="rm -f"} | |
| 4487 | |
| 4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
some XSI constructs" >&5 | |
| 4489 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
} | |
| 4490 # Try some XSI features | |
| 4491 xsi_shell=no | |
| 4492 ( _lt_dummy="a/b/c" | |
| 4493 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ | |
| 4494 = c,a/b,, \ | |
| 4495 && eval 'test $(( 1 + 1 )) -eq 2 \ | |
| 4496 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | |
| 4497 && xsi_shell=yes | |
| 4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 | |
| 4499 $as_echo "$xsi_shell" >&6; } | |
| 4500 | |
| 4501 | |
| 4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5 | |
| 4503 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } | |
| 4504 lt_shell_append=no | |
| 4505 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ | |
| 4506 >/dev/null 2>&1 \ | |
| 4507 && lt_shell_append=yes | |
| 4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 | |
| 4509 $as_echo "$lt_shell_append" >&6; } | |
| 4510 | |
| 4511 | |
| 4512 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 4513 lt_unset=unset | |
| 4514 else | |
| 4515 lt_unset=false | |
| 4516 fi | |
| 4517 | |
| 4518 | |
| 4519 | |
| 4520 | |
| 4521 | |
| 4522 # test EBCDIC or ASCII | |
| 4523 case `echo X|tr X '\101'` in | |
| 4524 A) # ASCII based system | |
| 4525 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | |
| 4526 lt_SP2NL='tr \040 \012' | |
| 4527 lt_NL2SP='tr \015\012 \040\040' | |
| 4528 ;; | |
| 4529 *) # EBCDIC based system | |
| 4530 lt_SP2NL='tr \100 \n' | |
| 4531 lt_NL2SP='tr \r\n \100\100' | |
| 4532 ;; | |
| 4533 esac | |
| 4534 | |
| 4535 | |
| 4536 | |
| 4537 | |
| 4538 | |
| 4539 | |
| 4540 | |
| 4541 | |
| 4542 | |
| 4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload objec
t files" >&5 | |
| 4544 $as_echo_n "checking for $LD option to reload object files... " >&6; } | |
| 4545 if test "${lt_cv_ld_reload_flag+set}" = set; then : | |
| 4546 $as_echo_n "(cached) " >&6 | |
| 4547 else | |
| 4548 lt_cv_ld_reload_flag='-r' | |
| 4549 fi | |
| 4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | |
| 4551 $as_echo "$lt_cv_ld_reload_flag" >&6; } | |
| 4552 reload_flag=$lt_cv_ld_reload_flag | |
| 4553 case $reload_flag in | |
| 4554 "" | " "*) ;; | |
| 4555 *) reload_flag=" $reload_flag" ;; | |
| 4556 esac | |
| 4557 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 4558 case $host_os in | |
| 4559 darwin*) | |
| 4560 if test "$GCC" = yes; then | |
| 4561 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | |
| 4562 else | |
| 4563 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 4564 fi | |
| 4565 ;; | |
| 4566 esac | |
| 4567 | |
| 4568 | |
| 4569 | |
| 4570 | |
| 4571 | |
| 4572 | |
| 4573 | |
| 4574 | |
| 4575 | |
| 4576 if test -n "$ac_tool_prefix"; then | |
| 4577 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. | |
| 4578 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4580 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4581 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : | |
| 4582 $as_echo_n "(cached) " >&6 | |
| 4583 else | |
| 4584 if test -n "$OBJDUMP"; then | |
| 4585 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| 4586 else | |
| 4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4588 for as_dir in $PATH | |
| 4589 do | |
| 4590 IFS=$as_save_IFS | |
| 4591 test -z "$as_dir" && as_dir=. | |
| 4592 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4594 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| 4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4596 break 2 | |
| 4597 fi | |
| 4598 done | |
| 4599 done | |
| 4600 IFS=$as_save_IFS | |
| 4601 | |
| 4602 fi | |
| 4603 fi | |
| 4604 OBJDUMP=$ac_cv_prog_OBJDUMP | |
| 4605 if test -n "$OBJDUMP"; then | |
| 4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
| 4607 $as_echo "$OBJDUMP" >&6; } | |
| 4608 else | |
| 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4610 $as_echo "no" >&6; } | |
| 4611 fi | |
| 4612 | |
| 4613 | |
| 4614 fi | |
| 4615 if test -z "$ac_cv_prog_OBJDUMP"; then | |
| 4616 ac_ct_OBJDUMP=$OBJDUMP | |
| 4617 # Extract the first word of "objdump", so it can be a program name with args. | |
| 4618 set dummy objdump; ac_word=$2 | |
| 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4620 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4621 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : | |
| 4622 $as_echo_n "(cached) " >&6 | |
| 4623 else | |
| 4624 if test -n "$ac_ct_OBJDUMP"; then | |
| 4625 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
| 4626 else | |
| 4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4628 for as_dir in $PATH | |
| 4629 do | |
| 4630 IFS=$as_save_IFS | |
| 4631 test -z "$as_dir" && as_dir=. | |
| 4632 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4634 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
| 4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4636 break 2 | |
| 4637 fi | |
| 4638 done | |
| 4639 done | |
| 4640 IFS=$as_save_IFS | |
| 4641 | |
| 4642 fi | |
| 4643 fi | |
| 4644 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
| 4645 if test -n "$ac_ct_OBJDUMP"; then | |
| 4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
| 4647 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
| 4648 else | |
| 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4650 $as_echo "no" >&6; } | |
| 4651 fi | |
| 4652 | |
| 4653 if test "x$ac_ct_OBJDUMP" = x; then | |
| 4654 OBJDUMP="false" | |
| 4655 else | |
| 4656 case $cross_compiling:$ac_tool_warned in | |
| 4657 yes:) | |
| 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4660 ac_tool_warned=yes ;; | |
| 4661 esac | |
| 4662 OBJDUMP=$ac_ct_OBJDUMP | |
| 4663 fi | |
| 4664 else | |
| 4665 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| 4666 fi | |
| 4667 | |
| 4668 test -z "$OBJDUMP" && OBJDUMP=objdump | |
| 4669 | |
| 4670 | |
| 4671 | |
| 4672 | |
| 4673 | |
| 4674 | |
| 4675 | |
| 4676 | |
| 4677 | |
| 4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent lib
raries" >&5 | |
| 4679 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | |
| 4680 if test "${lt_cv_deplibs_check_method+set}" = set; then : | |
| 4681 $as_echo_n "(cached) " >&6 | |
| 4682 else | |
| 4683 lt_cv_file_magic_cmd='$MAGIC_CMD' | |
| 4684 lt_cv_file_magic_test_file= | |
| 4685 lt_cv_deplibs_check_method='unknown' | |
| 4686 # Need to set the preceding variable on all platforms that support | |
| 4687 # interlibrary dependencies. | |
| 4688 # 'none' -- dependencies not supported. | |
| 4689 # `unknown' -- same as none, but documents that we really don't know. | |
| 4690 # 'pass_all' -- all dependencies passed with no checks. | |
| 4691 # 'test_compile' -- check by making test program. | |
| 4692 # 'file_magic [[regex]]' -- check by looking for files in library path | |
| 4693 # which responds to the $file_magic_cmd with a given extended regex. | |
| 4694 # If you have `file' or equivalent on your system and you're not sure | |
| 4695 # whether `pass_all' will *always* work, you probably want this one. | |
| 4696 | |
| 4697 case $host_os in | |
| 4698 aix[4-9]*) | |
| 4699 lt_cv_deplibs_check_method=pass_all | |
| 4700 ;; | |
| 4701 | |
| 4702 beos*) | |
| 4703 lt_cv_deplibs_check_method=pass_all | |
| 4704 ;; | |
| 4705 | |
| 4706 bsdi[45]*) | |
| 4707 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje
ct|dynamic lib)' | |
| 4708 lt_cv_file_magic_cmd='/usr/bin/file -L' | |
| 4709 lt_cv_file_magic_test_file=/shlib/libc.so | |
| 4710 ;; | |
| 4711 | |
| 4712 cygwin*) | |
| 4713 # func_win32_libid is a shell function defined in ltmain.sh | |
| 4714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 4715 lt_cv_file_magic_cmd='func_win32_libid' | |
| 4716 ;; | |
| 4717 | |
| 4718 mingw* | pw32*) | |
| 4719 # Base MSYS/MinGW do not provide the 'file' command needed by | |
| 4720 # func_win32_libid shell function, so use a weaker test based on 'objdump', | |
| 4721 # unless we find 'file', for example because we are cross-compiling. | |
| 4722 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | |
| 4723 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | |
| 4724 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 4725 lt_cv_file_magic_cmd='func_win32_libid' | |
| 4726 else | |
| 4727 # Keep this pattern in sync with the one in func_win32_libid. | |
| 4728 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' | |
| 4729 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 4730 fi | |
| 4731 ;; | |
| 4732 | |
| 4733 cegcc*) | |
| 4734 # use the weaker test based on 'objdump'. See mingw*. | |
| 4735 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architect
ure: arm)?' | |
| 4736 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 4737 ;; | |
| 4738 | |
| 4739 darwin* | rhapsody*) | |
| 4740 lt_cv_deplibs_check_method=pass_all | |
| 4741 ;; | |
| 4742 | |
| 4743 freebsd* | dragonfly*) | |
| 4744 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 4745 case $host_cpu in | |
| 4746 i*86 ) | |
| 4747 # Not sure whether the presence of OpenBSD here was a mistake. | |
| 4748 # Let's accept both of them until this is cleared up. | |
| 4749 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8
6 (compact )?demand paged shared library' | |
| 4750 lt_cv_file_magic_cmd=/usr/bin/file | |
| 4751 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
| 4752 ;; | |
| 4753 esac | |
| 4754 else | |
| 4755 lt_cv_deplibs_check_method=pass_all | |
| 4756 fi | |
| 4757 ;; | |
| 4758 | |
| 4759 gnu*) | |
| 4760 lt_cv_deplibs_check_method=pass_all | |
| 4761 ;; | |
| 4762 | |
| 4763 haiku*) | |
| 4764 lt_cv_deplibs_check_method=pass_all | |
| 4765 ;; | |
| 4766 | |
| 4767 hpux10.20* | hpux11*) | |
| 4768 lt_cv_file_magic_cmd=/usr/bin/file | |
| 4769 case $host_cpu in | |
| 4770 ia64*) | |
| 4771 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha
red object file - IA64' | |
| 4772 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
| 4773 ;; | |
| 4774 hppa*64*) | |
| 4775 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]' | |
| 4776 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
| 4777 ;; | |
| 4778 *) | |
| 4779 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]
) shared library' | |
| 4780 lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
| 4781 ;; | |
| 4782 esac | |
| 4783 ;; | |
| 4784 | |
| 4785 interix[3-9]*) | |
| 4786 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | |
| 4787 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | |
| 4788 ;; | |
| 4789 | |
| 4790 irix5* | irix6* | nonstopux*) | |
| 4791 case $LD in | |
| 4792 *-32|*"-32 ") libmagic=32-bit;; | |
| 4793 *-n32|*"-n32 ") libmagic=N32;; | |
| 4794 *-64|*"-64 ") libmagic=64-bit;; | |
| 4795 *) libmagic=never-match;; | |
| 4796 esac | |
| 4797 lt_cv_deplibs_check_method=pass_all | |
| 4798 ;; | |
| 4799 | |
| 4800 # This must be Linux ELF. | |
| 4801 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 4802 lt_cv_deplibs_check_method=pass_all | |
| 4803 ;; | |
| 4804 | |
| 4805 netbsd*) | |
| 4806 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 4807 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | |
| 4808 else | |
| 4809 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
| 4810 fi | |
| 4811 ;; | |
| 4812 | |
| 4813 newos6*) | |
| 4814 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|
dynamic lib)' | |
| 4815 lt_cv_file_magic_cmd=/usr/bin/file | |
| 4816 lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
| 4817 ;; | |
| 4818 | |
| 4819 *nto* | *qnx*) | |
| 4820 lt_cv_deplibs_check_method=pass_all | |
| 4821 ;; | |
| 4822 | |
| 4823 openbsd*) | |
| 4824 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | |
| 4825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' | |
| 4826 else | |
| 4827 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | |
| 4828 fi | |
| 4829 ;; | |
| 4830 | |
| 4831 osf3* | osf4* | osf5*) | |
| 4832 lt_cv_deplibs_check_method=pass_all | |
| 4833 ;; | |
| 4834 | |
| 4835 rdos*) | |
| 4836 lt_cv_deplibs_check_method=pass_all | |
| 4837 ;; | |
| 4838 | |
| 4839 solaris*) | |
| 4840 lt_cv_deplibs_check_method=pass_all | |
| 4841 ;; | |
| 4842 | |
| 4843 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 4844 lt_cv_deplibs_check_method=pass_all | |
| 4845 ;; | |
| 4846 | |
| 4847 sysv4 | sysv4.3*) | |
| 4848 case $host_vendor in | |
| 4849 motorola) | |
| 4850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared ob
ject|dynamic lib) M[0-9][0-9]* Version [0-9]' | |
| 4851 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
| 4852 ;; | |
| 4853 ncr) | |
| 4854 lt_cv_deplibs_check_method=pass_all | |
| 4855 ;; | |
| 4856 sequent) | |
| 4857 lt_cv_file_magic_cmd='/bin/file' | |
| 4858 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared ob
ject|dynamic lib )' | |
| 4859 ;; | |
| 4860 sni) | |
| 4861 lt_cv_file_magic_cmd='/bin/file' | |
| 4862 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic li
b" | |
| 4863 lt_cv_file_magic_test_file=/lib/libc.so | |
| 4864 ;; | |
| 4865 siemens) | |
| 4866 lt_cv_deplibs_check_method=pass_all | |
| 4867 ;; | |
| 4868 pc) | |
| 4869 lt_cv_deplibs_check_method=pass_all | |
| 4870 ;; | |
| 4871 esac | |
| 4872 ;; | |
| 4873 | |
| 4874 tpf*) | |
| 4875 lt_cv_deplibs_check_method=pass_all | |
| 4876 ;; | |
| 4877 esac | |
| 4878 | |
| 4879 fi | |
| 4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 | |
| 4881 $as_echo "$lt_cv_deplibs_check_method" >&6; } | |
| 4882 file_magic_cmd=$lt_cv_file_magic_cmd | |
| 4883 deplibs_check_method=$lt_cv_deplibs_check_method | |
| 4884 test -z "$deplibs_check_method" && deplibs_check_method=unknown | |
| 4885 | |
| 4886 | |
| 4887 | |
| 4888 | |
| 4889 | |
| 4890 | |
| 4891 | |
| 4892 | |
| 4893 | |
| 4894 | |
| 4895 | |
| 4896 | |
| 4897 if test -n "$ac_tool_prefix"; then | |
| 4898 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name
with args. | |
| 4899 set dummy ${ac_tool_prefix}ar; ac_word=$2 | |
| 4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4901 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4902 if test "${ac_cv_prog_AR+set}" = set; then : | |
| 4903 $as_echo_n "(cached) " >&6 | |
| 4904 else | |
| 4905 if test -n "$AR"; then | |
| 4906 ac_cv_prog_AR="$AR" # Let the user override the test. | |
| 4907 else | |
| 4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4909 for as_dir in $PATH | |
| 4910 do | |
| 4911 IFS=$as_save_IFS | |
| 4912 test -z "$as_dir" && as_dir=. | |
| 4913 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4915 ac_cv_prog_AR="${ac_tool_prefix}ar" | |
| 4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4917 break 2 | |
| 4918 fi | |
| 4919 done | |
| 4920 done | |
| 4921 IFS=$as_save_IFS | |
| 4922 | |
| 4923 fi | |
| 4924 fi | |
| 4925 AR=$ac_cv_prog_AR | |
| 4926 if test -n "$AR"; then | |
| 4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | |
| 4928 $as_echo "$AR" >&6; } | |
| 4929 else | |
| 4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4931 $as_echo "no" >&6; } | |
| 4932 fi | |
| 4933 | |
| 4934 | |
| 4935 fi | |
| 4936 if test -z "$ac_cv_prog_AR"; then | |
| 4937 ac_ct_AR=$AR | |
| 4938 # Extract the first word of "ar", so it can be a program name with args. | |
| 4939 set dummy ar; ac_word=$2 | |
| 4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4941 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4942 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : | |
| 4943 $as_echo_n "(cached) " >&6 | |
| 4944 else | |
| 4945 if test -n "$ac_ct_AR"; then | |
| 4946 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
| 4947 else | |
| 4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4949 for as_dir in $PATH | |
| 4950 do | |
| 4951 IFS=$as_save_IFS | |
| 4952 test -z "$as_dir" && as_dir=. | |
| 4953 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 4955 ac_cv_prog_ac_ct_AR="ar" | |
| 4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4957 break 2 | |
| 4958 fi | |
| 4959 done | |
| 4960 done | |
| 4961 IFS=$as_save_IFS | |
| 4962 | |
| 4963 fi | |
| 4964 fi | |
| 4965 ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
| 4966 if test -n "$ac_ct_AR"; then | |
| 4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | |
| 4968 $as_echo "$ac_ct_AR" >&6; } | |
| 4969 else | |
| 4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4971 $as_echo "no" >&6; } | |
| 4972 fi | |
| 4973 | |
| 4974 if test "x$ac_ct_AR" = x; then | |
| 4975 AR="false" | |
| 4976 else | |
| 4977 case $cross_compiling:$ac_tool_warned in | |
| 4978 yes:) | |
| 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4981 ac_tool_warned=yes ;; | |
| 4982 esac | |
| 4983 AR=$ac_ct_AR | |
| 4984 fi | |
| 4985 else | |
| 4986 AR="$ac_cv_prog_AR" | |
| 4987 fi | |
| 4988 | |
| 4989 test -z "$AR" && AR=ar | |
| 4990 test -z "$AR_FLAGS" && AR_FLAGS=cru | |
| 4991 | |
| 4992 | |
| 4993 | |
| 4994 | |
| 4995 | |
| 4996 | |
| 4997 | |
| 4998 | |
| 4999 | |
| 5000 | |
| 5001 | |
| 5002 if test -n "$ac_tool_prefix"; then | |
| 5003 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
| 5004 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5006 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5007 if test "${ac_cv_prog_STRIP+set}" = set; then : | |
| 5008 $as_echo_n "(cached) " >&6 | |
| 5009 else | |
| 5010 if test -n "$STRIP"; then | |
| 5011 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 5012 else | |
| 5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5014 for as_dir in $PATH | |
| 5015 do | |
| 5016 IFS=$as_save_IFS | |
| 5017 test -z "$as_dir" && as_dir=. | |
| 5018 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5020 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5022 break 2 | |
| 5023 fi | |
| 5024 done | |
| 5025 done | |
| 5026 IFS=$as_save_IFS | |
| 5027 | |
| 5028 fi | |
| 5029 fi | |
| 5030 STRIP=$ac_cv_prog_STRIP | |
| 5031 if test -n "$STRIP"; then | |
| 5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 5033 $as_echo "$STRIP" >&6; } | |
| 5034 else | |
| 5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5036 $as_echo "no" >&6; } | |
| 5037 fi | |
| 5038 | |
| 5039 | |
| 5040 fi | |
| 5041 if test -z "$ac_cv_prog_STRIP"; then | |
| 5042 ac_ct_STRIP=$STRIP | |
| 5043 # Extract the first word of "strip", so it can be a program name with args. | |
| 5044 set dummy strip; ac_word=$2 | |
| 5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5046 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5047 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
| 5048 $as_echo_n "(cached) " >&6 | |
| 5049 else | |
| 5050 if test -n "$ac_ct_STRIP"; then | |
| 5051 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 5052 else | |
| 5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5054 for as_dir in $PATH | |
| 5055 do | |
| 5056 IFS=$as_save_IFS | |
| 5057 test -z "$as_dir" && as_dir=. | |
| 5058 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5060 ac_cv_prog_ac_ct_STRIP="strip" | |
| 5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5062 break 2 | |
| 5063 fi | |
| 5064 done | |
| 5065 done | |
| 5066 IFS=$as_save_IFS | |
| 5067 | |
| 5068 fi | |
| 5069 fi | |
| 5070 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 5071 if test -n "$ac_ct_STRIP"; then | |
| 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 5073 $as_echo "$ac_ct_STRIP" >&6; } | |
| 5074 else | |
| 5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5076 $as_echo "no" >&6; } | |
| 5077 fi | |
| 5078 | |
| 5079 if test "x$ac_ct_STRIP" = x; then | |
| 5080 STRIP=":" | |
| 5081 else | |
| 5082 case $cross_compiling:$ac_tool_warned in | |
| 5083 yes:) | |
| 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 5086 ac_tool_warned=yes ;; | |
| 5087 esac | |
| 5088 STRIP=$ac_ct_STRIP | |
| 5089 fi | |
| 5090 else | |
| 5091 STRIP="$ac_cv_prog_STRIP" | |
| 5092 fi | |
| 5093 | |
| 5094 test -z "$STRIP" && STRIP=: | |
| 5095 | |
| 5096 | |
| 5097 | |
| 5098 | |
| 5099 | |
| 5100 | |
| 5101 if test -n "$ac_tool_prefix"; then | |
| 5102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. | |
| 5103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
| 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5105 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5106 if test "${ac_cv_prog_RANLIB+set}" = set; then : | |
| 5107 $as_echo_n "(cached) " >&6 | |
| 5108 else | |
| 5109 if test -n "$RANLIB"; then | |
| 5110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| 5111 else | |
| 5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5113 for as_dir in $PATH | |
| 5114 do | |
| 5115 IFS=$as_save_IFS | |
| 5116 test -z "$as_dir" && as_dir=. | |
| 5117 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
| 5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5121 break 2 | |
| 5122 fi | |
| 5123 done | |
| 5124 done | |
| 5125 IFS=$as_save_IFS | |
| 5126 | |
| 5127 fi | |
| 5128 fi | |
| 5129 RANLIB=$ac_cv_prog_RANLIB | |
| 5130 if test -n "$RANLIB"; then | |
| 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
| 5132 $as_echo "$RANLIB" >&6; } | |
| 5133 else | |
| 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5135 $as_echo "no" >&6; } | |
| 5136 fi | |
| 5137 | |
| 5138 | |
| 5139 fi | |
| 5140 if test -z "$ac_cv_prog_RANLIB"; then | |
| 5141 ac_ct_RANLIB=$RANLIB | |
| 5142 # Extract the first word of "ranlib", so it can be a program name with args. | |
| 5143 set dummy ranlib; ac_word=$2 | |
| 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5145 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | |
| 5147 $as_echo_n "(cached) " >&6 | |
| 5148 else | |
| 5149 if test -n "$ac_ct_RANLIB"; then | |
| 5150 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
| 5151 else | |
| 5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5153 for as_dir in $PATH | |
| 5154 do | |
| 5155 IFS=$as_save_IFS | |
| 5156 test -z "$as_dir" && as_dir=. | |
| 5157 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5159 ac_cv_prog_ac_ct_RANLIB="ranlib" | |
| 5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5161 break 2 | |
| 5162 fi | |
| 5163 done | |
| 5164 done | |
| 5165 IFS=$as_save_IFS | |
| 5166 | |
| 5167 fi | |
| 5168 fi | |
| 5169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
| 5170 if test -n "$ac_ct_RANLIB"; then | |
| 5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
| 5172 $as_echo "$ac_ct_RANLIB" >&6; } | |
| 5173 else | |
| 5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5175 $as_echo "no" >&6; } | |
| 5176 fi | |
| 5177 | |
| 5178 if test "x$ac_ct_RANLIB" = x; then | |
| 5179 RANLIB=":" | |
| 5180 else | |
| 5181 case $cross_compiling:$ac_tool_warned in | |
| 5182 yes:) | |
| 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 5185 ac_tool_warned=yes ;; | |
| 5186 esac | |
| 5187 RANLIB=$ac_ct_RANLIB | |
| 5188 fi | |
| 5189 else | |
| 5190 RANLIB="$ac_cv_prog_RANLIB" | |
| 5191 fi | |
| 5192 | |
| 5193 test -z "$RANLIB" && RANLIB=: | |
| 5194 | |
| 5195 | |
| 5196 | |
| 5197 | |
| 5198 | |
| 5199 | |
| 5200 # Determine commands to create old-style static archives. | |
| 5201 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | |
| 5202 old_postinstall_cmds='chmod 644 $oldlib' | |
| 5203 old_postuninstall_cmds= | |
| 5204 | |
| 5205 if test -n "$RANLIB"; then | |
| 5206 case $host_os in | |
| 5207 openbsd*) | |
| 5208 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | |
| 5209 ;; | |
| 5210 *) | |
| 5211 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | |
| 5212 ;; | |
| 5213 esac | |
| 5214 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | |
| 5215 fi | |
| 5216 | |
| 5217 case $host_os in | |
| 5218 darwin*) | |
| 5219 lock_old_archive_extraction=yes ;; | |
| 5220 *) | |
| 5221 lock_old_archive_extraction=no ;; | |
| 5222 esac | |
| 5223 | |
| 5224 | |
| 5225 | |
| 5226 | |
| 5227 | |
| 5228 | |
| 5229 | |
| 5230 | |
| 5231 | |
| 5232 | |
| 5233 | |
| 5234 | |
| 5235 | |
| 5236 | |
| 5237 | |
| 5238 | |
| 5239 | |
| 5240 | |
| 5241 | |
| 5242 | |
| 5243 | |
| 5244 | |
| 5245 | |
| 5246 | |
| 5247 | |
| 5248 | |
| 5249 | |
| 5250 | |
| 5251 | |
| 5252 | |
| 5253 | |
| 5254 | |
| 5255 | |
| 5256 | |
| 5257 | |
| 5258 | |
| 5259 | |
| 5260 | |
| 5261 | |
| 5262 # If no C compiler was specified, use CC. | |
| 5263 LTCC=${LTCC-"$CC"} | |
| 5264 | |
| 5265 # If no C compiler flags were specified, use CFLAGS. | |
| 5266 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 5267 | |
| 5268 # Allow CC to be a program name with arguments. | |
| 5269 compiler=$CC | |
| 5270 | |
| 5271 | |
| 5272 # Check for command to grab the raw symbol name followed by C symbol from nm. | |
| 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output fr
om $compiler object" >&5 | |
| 5274 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6;
} | |
| 5275 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : | |
| 5276 $as_echo_n "(cached) " >&6 | |
| 5277 else | |
| 5278 | |
| 5279 # These are sane defaults that work on at least a few old systems. | |
| 5280 # [They come from Ultrix. What could be older than Ultrix?!! ;)] | |
| 5281 | |
| 5282 # Character class describing NM global symbol codes. | |
| 5283 symcode='[BCDEGRST]' | |
| 5284 | |
| 5285 # Regexp to match symbols that can be accessed directly from C. | |
| 5286 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | |
| 5287 | |
| 5288 # Define system-specific variables. | |
| 5289 case $host_os in | |
| 5290 aix*) | |
| 5291 symcode='[BCDT]' | |
| 5292 ;; | |
| 5293 cygwin* | mingw* | pw32* | cegcc*) | |
| 5294 symcode='[ABCDGISTW]' | |
| 5295 ;; | |
| 5296 hpux*) | |
| 5297 if test "$host_cpu" = ia64; then | |
| 5298 symcode='[ABCDEGRST]' | |
| 5299 fi | |
| 5300 ;; | |
| 5301 irix* | nonstopux*) | |
| 5302 symcode='[BCDEGRST]' | |
| 5303 ;; | |
| 5304 osf*) | |
| 5305 symcode='[BCDEGQRST]' | |
| 5306 ;; | |
| 5307 solaris*) | |
| 5308 symcode='[BDRT]' | |
| 5309 ;; | |
| 5310 sco3.2v5*) | |
| 5311 symcode='[DT]' | |
| 5312 ;; | |
| 5313 sysv4.2uw2*) | |
| 5314 symcode='[DT]' | |
| 5315 ;; | |
| 5316 sysv5* | sco5v6* | unixware* | OpenUNIX*) | |
| 5317 symcode='[ABDT]' | |
| 5318 ;; | |
| 5319 sysv4) | |
| 5320 symcode='[DFNSTU]' | |
| 5321 ;; | |
| 5322 esac | |
| 5323 | |
| 5324 # If we're using GNU nm, then use its standard symbol codes. | |
| 5325 case `$NM -V 2>&1` in | |
| 5326 *GNU* | *'with BFD'*) | |
| 5327 symcode='[ABCDGIRSTW]' ;; | |
| 5328 esac | |
| 5329 | |
| 5330 # Transform an extracted symbol line into a proper C declaration. | |
| 5331 # Some systems (esp. on ia64) link data and code symbols differently, | |
| 5332 # so use this general approach. | |
| 5333 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p'
-e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
| 5334 | |
| 5335 # Transform an extracted symbol line into symbol name and symbol address | |
| 5336 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1
\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *)
\&\2},/p'" | |
| 5337 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\", (voi
d *) \&\2},/p'" | |
| 5338 | |
| 5339 # Handle CRLF in mingw tool chain | |
| 5340 opt_cr= | |
| 5341 case $build_os in | |
| 5342 mingw*) | |
| 5343 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | |
| 5344 ;; | |
| 5345 esac | |
| 5346 | |
| 5347 # Try without a prefix underscore, then with it. | |
| 5348 for ac_symprfx in "" "_"; do | |
| 5349 | |
| 5350 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | |
| 5351 symxfrm="\\1 $ac_symprfx\\2 \\2" | |
| 5352 | |
| 5353 # Write the raw and C identifiers. | |
| 5354 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 5355 # Fake it for dumpbin and say T for any non-static function | |
| 5356 # and D for any global variable. | |
| 5357 # Also find C++ and __fastcall symbols from MSVC++, | |
| 5358 # which start with @ or ?. | |
| 5359 lt_cv_sys_global_symbol_pipe="$AWK '"\ | |
| 5360 " {last_section=section; section=\$ 3};"\ | |
| 5361 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | |
| 5362 " \$ 0!~/External *\|/{next};"\ | |
| 5363 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | |
| 5364 " {if(hide[section]) next};"\ | |
| 5365 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | |
| 5366 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | |
| 5367 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ | |
| 5368 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | |
| 5369 " ' prfx=^$ac_symprfx" | |
| 5370 else | |
| 5371 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[
][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | |
| 5372 fi | |
| 5373 | |
| 5374 # Check to see that the pipe works correctly. | |
| 5375 pipe_works=no | |
| 5376 | |
| 5377 rm -f conftest* | |
| 5378 cat > conftest.$ac_ext <<_LT_EOF | |
| 5379 #ifdef __cplusplus | |
| 5380 extern "C" { | |
| 5381 #endif | |
| 5382 char nm_test_var; | |
| 5383 void nm_test_func(void); | |
| 5384 void nm_test_func(void){} | |
| 5385 #ifdef __cplusplus | |
| 5386 } | |
| 5387 #endif | |
| 5388 int main(){nm_test_var='a';nm_test_func();return(0);} | |
| 5389 _LT_EOF | |
| 5390 | |
| 5391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 5392 (eval $ac_compile) 2>&5 | |
| 5393 ac_status=$? | |
| 5394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5395 test $ac_status = 0; }; then | |
| 5396 # Now try to grab the symbols. | |
| 5397 nlist=conftest.nm | |
| 5398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objex
t \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | |
| 5399 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>
&5 | |
| 5400 ac_status=$? | |
| 5401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5402 test $ac_status = 0; } && test -s "$nlist"; then | |
| 5403 # Try sorting and uniquifying the output. | |
| 5404 if sort "$nlist" | uniq > "$nlist"T; then | |
| 5405 mv -f "$nlist"T "$nlist" | |
| 5406 else | |
| 5407 rm -f "$nlist"T | |
| 5408 fi | |
| 5409 | |
| 5410 # Make sure that we snagged all the symbols we need. | |
| 5411 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | |
| 5412 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | |
| 5413 cat <<_LT_EOF > conftest.$ac_ext | |
| 5414 #ifdef __cplusplus | |
| 5415 extern "C" { | |
| 5416 #endif | |
| 5417 | |
| 5418 _LT_EOF | |
| 5419 # Now generate the symbol file. | |
| 5420 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' | |
| 5421 | |
| 5422 cat <<_LT_EOF >> conftest.$ac_ext | |
| 5423 | |
| 5424 /* The mapping between symbol names and symbols. */ | |
| 5425 const struct { | |
| 5426 const char *name; | |
| 5427 void *address; | |
| 5428 } | |
| 5429 lt__PROGRAM__LTX_preloaded_symbols[] = | |
| 5430 { | |
| 5431 { "@PROGRAM@", (void *) 0 }, | |
| 5432 _LT_EOF | |
| 5433 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/"
< "$nlist" | $GREP -v main >> conftest.$ac_ext | |
| 5434 cat <<\_LT_EOF >> conftest.$ac_ext | |
| 5435 {0, (void *) 0} | |
| 5436 }; | |
| 5437 | |
| 5438 /* This works around a problem in FreeBSD linker */ | |
| 5439 #ifdef FREEBSD_WORKAROUND | |
| 5440 static const void *lt_preloaded_setup() { | |
| 5441 return lt__PROGRAM__LTX_preloaded_symbols; | |
| 5442 } | |
| 5443 #endif | |
| 5444 | |
| 5445 #ifdef __cplusplus | |
| 5446 } | |
| 5447 #endif | |
| 5448 _LT_EOF | |
| 5449 # Now try linking the two files. | |
| 5450 mv conftest.$ac_objext conftstm.$ac_objext | |
| 5451 lt_save_LIBS="$LIBS" | |
| 5452 lt_save_CFLAGS="$CFLAGS" | |
| 5453 LIBS="conftstm.$ac_objext" | |
| 5454 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | |
| 5455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 | |
| 5456 (eval $ac_link) 2>&5 | |
| 5457 ac_status=$? | |
| 5458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5459 test $ac_status = 0; } && test -s conftest${ac_exeext}; then | |
| 5460 pipe_works=yes | |
| 5461 fi | |
| 5462 LIBS="$lt_save_LIBS" | |
| 5463 CFLAGS="$lt_save_CFLAGS" | |
| 5464 else | |
| 5465 echo "cannot find nm_test_func in $nlist" >&5 | |
| 5466 fi | |
| 5467 else | |
| 5468 echo "cannot find nm_test_var in $nlist" >&5 | |
| 5469 fi | |
| 5470 else | |
| 5471 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
| 5472 fi | |
| 5473 else | |
| 5474 echo "$progname: failed program was:" >&5 | |
| 5475 cat conftest.$ac_ext >&5 | |
| 5476 fi | |
| 5477 rm -rf conftest* conftst* | |
| 5478 | |
| 5479 # Do not use the global_symbol_pipe unless it works. | |
| 5480 if test "$pipe_works" = yes; then | |
| 5481 break | |
| 5482 else | |
| 5483 lt_cv_sys_global_symbol_pipe= | |
| 5484 fi | |
| 5485 done | |
| 5486 | |
| 5487 fi | |
| 5488 | |
| 5489 if test -z "$lt_cv_sys_global_symbol_pipe"; then | |
| 5490 lt_cv_sys_global_symbol_to_cdecl= | |
| 5491 fi | |
| 5492 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n | |
| 5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | |
| 5494 $as_echo "failed" >&6; } | |
| 5495 else | |
| 5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |
| 5497 $as_echo "ok" >&6; } | |
| 5498 fi | |
| 5499 | |
| 5500 | |
| 5501 | |
| 5502 | |
| 5503 | |
| 5504 | |
| 5505 | |
| 5506 | |
| 5507 | |
| 5508 | |
| 5509 | |
| 5510 | |
| 5511 | |
| 5512 | |
| 5513 | |
| 5514 | |
| 5515 | |
| 5516 | |
| 5517 | |
| 5518 | |
| 5519 | |
| 5520 | |
| 5521 | |
| 5522 # Check whether --enable-libtool-lock was given. | |
| 5523 if test "${enable_libtool_lock+set}" = set; then : | |
| 5524 enableval=$enable_libtool_lock; | |
| 5525 fi | |
| 5526 | |
| 5527 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | |
| 5528 | |
| 5529 # Some flags need to be propagated to the compiler or linker for good | |
| 5530 # libtool support. | |
| 5531 case $host in | |
| 5532 ia64-*-hpux*) | |
| 5533 # Find out which ABI we are using. | |
| 5534 echo 'int i;' > conftest.$ac_ext | |
| 5535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 5536 (eval $ac_compile) 2>&5 | |
| 5537 ac_status=$? | |
| 5538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5539 test $ac_status = 0; }; then | |
| 5540 case `/usr/bin/file conftest.$ac_objext` in | |
| 5541 *ELF-32*) | |
| 5542 HPUX_IA64_MODE="32" | |
| 5543 ;; | |
| 5544 *ELF-64*) | |
| 5545 HPUX_IA64_MODE="64" | |
| 5546 ;; | |
| 5547 esac | |
| 5548 fi | |
| 5549 rm -rf conftest* | |
| 5550 ;; | |
| 5551 *-*-irix6*) | |
| 5552 # Find out which ABI we are using. | |
| 5553 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
| 5554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 5555 (eval $ac_compile) 2>&5 | |
| 5556 ac_status=$? | |
| 5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5558 test $ac_status = 0; }; then | |
| 5559 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 5560 case `/usr/bin/file conftest.$ac_objext` in | |
| 5561 *32-bit*) | |
| 5562 LD="${LD-ld} -melf32bsmip" | |
| 5563 ;; | |
| 5564 *N32*) | |
| 5565 LD="${LD-ld} -melf32bmipn32" | |
| 5566 ;; | |
| 5567 *64-bit*) | |
| 5568 LD="${LD-ld} -melf64bmip" | |
| 5569 ;; | |
| 5570 esac | |
| 5571 else | |
| 5572 case `/usr/bin/file conftest.$ac_objext` in | |
| 5573 *32-bit*) | |
| 5574 LD="${LD-ld} -32" | |
| 5575 ;; | |
| 5576 *N32*) | |
| 5577 LD="${LD-ld} -n32" | |
| 5578 ;; | |
| 5579 *64-bit*) | |
| 5580 LD="${LD-ld} -64" | |
| 5581 ;; | |
| 5582 esac | |
| 5583 fi | |
| 5584 fi | |
| 5585 rm -rf conftest* | |
| 5586 ;; | |
| 5587 | |
| 5588 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | |
| 5589 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | |
| 5590 # Find out which ABI we are using. | |
| 5591 echo 'int i;' > conftest.$ac_ext | |
| 5592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 5593 (eval $ac_compile) 2>&5 | |
| 5594 ac_status=$? | |
| 5595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5596 test $ac_status = 0; }; then | |
| 5597 case `/usr/bin/file conftest.o` in | |
| 5598 *32-bit*) | |
| 5599 case $host in | |
| 5600 x86_64-*kfreebsd*-gnu) | |
| 5601 LD="${LD-ld} -m elf_i386_fbsd" | |
| 5602 ;; | |
| 5603 x86_64-*linux*) | |
| 5604 LD="${LD-ld} -m elf_i386" | |
| 5605 ;; | |
| 5606 ppc64-*linux*|powerpc64-*linux*) | |
| 5607 LD="${LD-ld} -m elf32ppclinux" | |
| 5608 ;; | |
| 5609 s390x-*linux*) | |
| 5610 LD="${LD-ld} -m elf_s390" | |
| 5611 ;; | |
| 5612 sparc64-*linux*) | |
| 5613 LD="${LD-ld} -m elf32_sparc" | |
| 5614 ;; | |
| 5615 esac | |
| 5616 ;; | |
| 5617 *64-bit*) | |
| 5618 case $host in | |
| 5619 x86_64-*kfreebsd*-gnu) | |
| 5620 LD="${LD-ld} -m elf_x86_64_fbsd" | |
| 5621 ;; | |
| 5622 x86_64-*linux*) | |
| 5623 LD="${LD-ld} -m elf_x86_64" | |
| 5624 ;; | |
| 5625 ppc*-*linux*|powerpc*-*linux*) | |
| 5626 LD="${LD-ld} -m elf64ppc" | |
| 5627 ;; | |
| 5628 s390*-*linux*|s390*-*tpf*) | |
| 5629 LD="${LD-ld} -m elf64_s390" | |
| 5630 ;; | |
| 5631 sparc*-*linux*) | |
| 5632 LD="${LD-ld} -m elf64_sparc" | |
| 5633 ;; | |
| 5634 esac | |
| 5635 ;; | |
| 5636 esac | |
| 5637 fi | |
| 5638 rm -rf conftest* | |
| 5639 ;; | |
| 5640 | |
| 5641 *-*-sco3.2v5*) | |
| 5642 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
| 5643 SAVE_CFLAGS="$CFLAGS" | |
| 5644 CFLAGS="$CFLAGS -belf" | |
| 5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5 | |
| 5646 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | |
| 5647 if test "${lt_cv_cc_needs_belf+set}" = set; then : | |
| 5648 $as_echo_n "(cached) " >&6 | |
| 5649 else | |
| 5650 ac_ext=c | |
| 5651 ac_cpp='$CPP $CPPFLAGS' | |
| 5652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5654 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5655 | |
| 5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5657 /* end confdefs.h. */ | |
| 5658 | |
| 5659 int | |
| 5660 main () | |
| 5661 { | |
| 5662 | |
| 5663 ; | |
| 5664 return 0; | |
| 5665 } | |
| 5666 _ACEOF | |
| 5667 if ac_fn_c_try_link "$LINENO"; then : | |
| 5668 lt_cv_cc_needs_belf=yes | |
| 5669 else | |
| 5670 lt_cv_cc_needs_belf=no | |
| 5671 fi | |
| 5672 rm -f core conftest.err conftest.$ac_objext \ | |
| 5673 conftest$ac_exeext conftest.$ac_ext | |
| 5674 ac_ext=c | |
| 5675 ac_cpp='$CPP $CPPFLAGS' | |
| 5676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5678 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5679 | |
| 5680 fi | |
| 5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | |
| 5682 $as_echo "$lt_cv_cc_needs_belf" >&6; } | |
| 5683 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | |
| 5684 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
| 5685 CFLAGS="$SAVE_CFLAGS" | |
| 5686 fi | |
| 5687 ;; | |
| 5688 sparc*-*solaris*) | |
| 5689 # Find out which ABI we are using. | |
| 5690 echo 'int i;' > conftest.$ac_ext | |
| 5691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 5692 (eval $ac_compile) 2>&5 | |
| 5693 ac_status=$? | |
| 5694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5695 test $ac_status = 0; }; then | |
| 5696 case `/usr/bin/file conftest.o` in | |
| 5697 *64-bit*) | |
| 5698 case $lt_cv_prog_gnu_ld in | |
| 5699 yes*) LD="${LD-ld} -m elf64_sparc" ;; | |
| 5700 *) | |
| 5701 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | |
| 5702 LD="${LD-ld} -64" | |
| 5703 fi | |
| 5704 ;; | |
| 5705 esac | |
| 5706 ;; | |
| 5707 esac | |
| 5708 fi | |
| 5709 rm -rf conftest* | |
| 5710 ;; | |
| 5711 esac | |
| 5712 | |
| 5713 need_locks="$enable_libtool_lock" | |
| 5714 | |
| 5715 | |
| 5716 case $host_os in | |
| 5717 rhapsody* | darwin*) | |
| 5718 if test -n "$ac_tool_prefix"; then | |
| 5719 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a progra
m name with args. | |
| 5720 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | |
| 5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5722 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5723 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : | |
| 5724 $as_echo_n "(cached) " >&6 | |
| 5725 else | |
| 5726 if test -n "$DSYMUTIL"; then | |
| 5727 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | |
| 5728 else | |
| 5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5730 for as_dir in $PATH | |
| 5731 do | |
| 5732 IFS=$as_save_IFS | |
| 5733 test -z "$as_dir" && as_dir=. | |
| 5734 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5736 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | |
| 5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5738 break 2 | |
| 5739 fi | |
| 5740 done | |
| 5741 done | |
| 5742 IFS=$as_save_IFS | |
| 5743 | |
| 5744 fi | |
| 5745 fi | |
| 5746 DSYMUTIL=$ac_cv_prog_DSYMUTIL | |
| 5747 if test -n "$DSYMUTIL"; then | |
| 5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | |
| 5749 $as_echo "$DSYMUTIL" >&6; } | |
| 5750 else | |
| 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5752 $as_echo "no" >&6; } | |
| 5753 fi | |
| 5754 | |
| 5755 | |
| 5756 fi | |
| 5757 if test -z "$ac_cv_prog_DSYMUTIL"; then | |
| 5758 ac_ct_DSYMUTIL=$DSYMUTIL | |
| 5759 # Extract the first word of "dsymutil", so it can be a program name with args. | |
| 5760 set dummy dsymutil; ac_word=$2 | |
| 5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5762 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5763 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : | |
| 5764 $as_echo_n "(cached) " >&6 | |
| 5765 else | |
| 5766 if test -n "$ac_ct_DSYMUTIL"; then | |
| 5767 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | |
| 5768 else | |
| 5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5770 for as_dir in $PATH | |
| 5771 do | |
| 5772 IFS=$as_save_IFS | |
| 5773 test -z "$as_dir" && as_dir=. | |
| 5774 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5776 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | |
| 5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5778 break 2 | |
| 5779 fi | |
| 5780 done | |
| 5781 done | |
| 5782 IFS=$as_save_IFS | |
| 5783 | |
| 5784 fi | |
| 5785 fi | |
| 5786 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | |
| 5787 if test -n "$ac_ct_DSYMUTIL"; then | |
| 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | |
| 5789 $as_echo "$ac_ct_DSYMUTIL" >&6; } | |
| 5790 else | |
| 5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5792 $as_echo "no" >&6; } | |
| 5793 fi | |
| 5794 | |
| 5795 if test "x$ac_ct_DSYMUTIL" = x; then | |
| 5796 DSYMUTIL=":" | |
| 5797 else | |
| 5798 case $cross_compiling:$ac_tool_warned in | |
| 5799 yes:) | |
| 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 5802 ac_tool_warned=yes ;; | |
| 5803 esac | |
| 5804 DSYMUTIL=$ac_ct_DSYMUTIL | |
| 5805 fi | |
| 5806 else | |
| 5807 DSYMUTIL="$ac_cv_prog_DSYMUTIL" | |
| 5808 fi | |
| 5809 | |
| 5810 if test -n "$ac_tool_prefix"; then | |
| 5811 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program
name with args. | |
| 5812 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | |
| 5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5814 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5815 if test "${ac_cv_prog_NMEDIT+set}" = set; then : | |
| 5816 $as_echo_n "(cached) " >&6 | |
| 5817 else | |
| 5818 if test -n "$NMEDIT"; then | |
| 5819 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | |
| 5820 else | |
| 5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5822 for as_dir in $PATH | |
| 5823 do | |
| 5824 IFS=$as_save_IFS | |
| 5825 test -z "$as_dir" && as_dir=. | |
| 5826 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5828 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | |
| 5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5830 break 2 | |
| 5831 fi | |
| 5832 done | |
| 5833 done | |
| 5834 IFS=$as_save_IFS | |
| 5835 | |
| 5836 fi | |
| 5837 fi | |
| 5838 NMEDIT=$ac_cv_prog_NMEDIT | |
| 5839 if test -n "$NMEDIT"; then | |
| 5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | |
| 5841 $as_echo "$NMEDIT" >&6; } | |
| 5842 else | |
| 5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5844 $as_echo "no" >&6; } | |
| 5845 fi | |
| 5846 | |
| 5847 | |
| 5848 fi | |
| 5849 if test -z "$ac_cv_prog_NMEDIT"; then | |
| 5850 ac_ct_NMEDIT=$NMEDIT | |
| 5851 # Extract the first word of "nmedit", so it can be a program name with args. | |
| 5852 set dummy nmedit; ac_word=$2 | |
| 5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5854 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5855 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : | |
| 5856 $as_echo_n "(cached) " >&6 | |
| 5857 else | |
| 5858 if test -n "$ac_ct_NMEDIT"; then | |
| 5859 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | |
| 5860 else | |
| 5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5862 for as_dir in $PATH | |
| 5863 do | |
| 5864 IFS=$as_save_IFS | |
| 5865 test -z "$as_dir" && as_dir=. | |
| 5866 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5868 ac_cv_prog_ac_ct_NMEDIT="nmedit" | |
| 5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5870 break 2 | |
| 5871 fi | |
| 5872 done | |
| 5873 done | |
| 5874 IFS=$as_save_IFS | |
| 5875 | |
| 5876 fi | |
| 5877 fi | |
| 5878 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | |
| 5879 if test -n "$ac_ct_NMEDIT"; then | |
| 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | |
| 5881 $as_echo "$ac_ct_NMEDIT" >&6; } | |
| 5882 else | |
| 5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5884 $as_echo "no" >&6; } | |
| 5885 fi | |
| 5886 | |
| 5887 if test "x$ac_ct_NMEDIT" = x; then | |
| 5888 NMEDIT=":" | |
| 5889 else | |
| 5890 case $cross_compiling:$ac_tool_warned in | |
| 5891 yes:) | |
| 5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 5894 ac_tool_warned=yes ;; | |
| 5895 esac | |
| 5896 NMEDIT=$ac_ct_NMEDIT | |
| 5897 fi | |
| 5898 else | |
| 5899 NMEDIT="$ac_cv_prog_NMEDIT" | |
| 5900 fi | |
| 5901 | |
| 5902 if test -n "$ac_tool_prefix"; then | |
| 5903 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program na
me with args. | |
| 5904 set dummy ${ac_tool_prefix}lipo; ac_word=$2 | |
| 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5906 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5907 if test "${ac_cv_prog_LIPO+set}" = set; then : | |
| 5908 $as_echo_n "(cached) " >&6 | |
| 5909 else | |
| 5910 if test -n "$LIPO"; then | |
| 5911 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | |
| 5912 else | |
| 5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5914 for as_dir in $PATH | |
| 5915 do | |
| 5916 IFS=$as_save_IFS | |
| 5917 test -z "$as_dir" && as_dir=. | |
| 5918 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5920 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | |
| 5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5922 break 2 | |
| 5923 fi | |
| 5924 done | |
| 5925 done | |
| 5926 IFS=$as_save_IFS | |
| 5927 | |
| 5928 fi | |
| 5929 fi | |
| 5930 LIPO=$ac_cv_prog_LIPO | |
| 5931 if test -n "$LIPO"; then | |
| 5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | |
| 5933 $as_echo "$LIPO" >&6; } | |
| 5934 else | |
| 5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5936 $as_echo "no" >&6; } | |
| 5937 fi | |
| 5938 | |
| 5939 | |
| 5940 fi | |
| 5941 if test -z "$ac_cv_prog_LIPO"; then | |
| 5942 ac_ct_LIPO=$LIPO | |
| 5943 # Extract the first word of "lipo", so it can be a program name with args. | |
| 5944 set dummy lipo; ac_word=$2 | |
| 5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5946 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5947 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : | |
| 5948 $as_echo_n "(cached) " >&6 | |
| 5949 else | |
| 5950 if test -n "$ac_ct_LIPO"; then | |
| 5951 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | |
| 5952 else | |
| 5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5954 for as_dir in $PATH | |
| 5955 do | |
| 5956 IFS=$as_save_IFS | |
| 5957 test -z "$as_dir" && as_dir=. | |
| 5958 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 5960 ac_cv_prog_ac_ct_LIPO="lipo" | |
| 5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5962 break 2 | |
| 5963 fi | |
| 5964 done | |
| 5965 done | |
| 5966 IFS=$as_save_IFS | |
| 5967 | |
| 5968 fi | |
| 5969 fi | |
| 5970 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | |
| 5971 if test -n "$ac_ct_LIPO"; then | |
| 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | |
| 5973 $as_echo "$ac_ct_LIPO" >&6; } | |
| 5974 else | |
| 5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5976 $as_echo "no" >&6; } | |
| 5977 fi | |
| 5978 | |
| 5979 if test "x$ac_ct_LIPO" = x; then | |
| 5980 LIPO=":" | |
| 5981 else | |
| 5982 case $cross_compiling:$ac_tool_warned in | |
| 5983 yes:) | |
| 5984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 5985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 5986 ac_tool_warned=yes ;; | |
| 5987 esac | |
| 5988 LIPO=$ac_ct_LIPO | |
| 5989 fi | |
| 5990 else | |
| 5991 LIPO="$ac_cv_prog_LIPO" | |
| 5992 fi | |
| 5993 | |
| 5994 if test -n "$ac_tool_prefix"; then | |
| 5995 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program n
ame with args. | |
| 5996 set dummy ${ac_tool_prefix}otool; ac_word=$2 | |
| 5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5998 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5999 if test "${ac_cv_prog_OTOOL+set}" = set; then : | |
| 6000 $as_echo_n "(cached) " >&6 | |
| 6001 else | |
| 6002 if test -n "$OTOOL"; then | |
| 6003 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | |
| 6004 else | |
| 6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6006 for as_dir in $PATH | |
| 6007 do | |
| 6008 IFS=$as_save_IFS | |
| 6009 test -z "$as_dir" && as_dir=. | |
| 6010 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 6012 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | |
| 6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6014 break 2 | |
| 6015 fi | |
| 6016 done | |
| 6017 done | |
| 6018 IFS=$as_save_IFS | |
| 6019 | |
| 6020 fi | |
| 6021 fi | |
| 6022 OTOOL=$ac_cv_prog_OTOOL | |
| 6023 if test -n "$OTOOL"; then | |
| 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | |
| 6025 $as_echo "$OTOOL" >&6; } | |
| 6026 else | |
| 6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6028 $as_echo "no" >&6; } | |
| 6029 fi | |
| 6030 | |
| 6031 | |
| 6032 fi | |
| 6033 if test -z "$ac_cv_prog_OTOOL"; then | |
| 6034 ac_ct_OTOOL=$OTOOL | |
| 6035 # Extract the first word of "otool", so it can be a program name with args. | |
| 6036 set dummy otool; ac_word=$2 | |
| 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6038 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6039 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : | |
| 6040 $as_echo_n "(cached) " >&6 | |
| 6041 else | |
| 6042 if test -n "$ac_ct_OTOOL"; then | |
| 6043 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | |
| 6044 else | |
| 6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6046 for as_dir in $PATH | |
| 6047 do | |
| 6048 IFS=$as_save_IFS | |
| 6049 test -z "$as_dir" && as_dir=. | |
| 6050 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 6052 ac_cv_prog_ac_ct_OTOOL="otool" | |
| 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6054 break 2 | |
| 6055 fi | |
| 6056 done | |
| 6057 done | |
| 6058 IFS=$as_save_IFS | |
| 6059 | |
| 6060 fi | |
| 6061 fi | |
| 6062 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | |
| 6063 if test -n "$ac_ct_OTOOL"; then | |
| 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | |
| 6065 $as_echo "$ac_ct_OTOOL" >&6; } | |
| 6066 else | |
| 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6068 $as_echo "no" >&6; } | |
| 6069 fi | |
| 6070 | |
| 6071 if test "x$ac_ct_OTOOL" = x; then | |
| 6072 OTOOL=":" | |
| 6073 else | |
| 6074 case $cross_compiling:$ac_tool_warned in | |
| 6075 yes:) | |
| 6076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 6077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 6078 ac_tool_warned=yes ;; | |
| 6079 esac | |
| 6080 OTOOL=$ac_ct_OTOOL | |
| 6081 fi | |
| 6082 else | |
| 6083 OTOOL="$ac_cv_prog_OTOOL" | |
| 6084 fi | |
| 6085 | |
| 6086 if test -n "$ac_tool_prefix"; then | |
| 6087 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program
name with args. | |
| 6088 set dummy ${ac_tool_prefix}otool64; ac_word=$2 | |
| 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6090 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6091 if test "${ac_cv_prog_OTOOL64+set}" = set; then : | |
| 6092 $as_echo_n "(cached) " >&6 | |
| 6093 else | |
| 6094 if test -n "$OTOOL64"; then | |
| 6095 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | |
| 6096 else | |
| 6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6098 for as_dir in $PATH | |
| 6099 do | |
| 6100 IFS=$as_save_IFS | |
| 6101 test -z "$as_dir" && as_dir=. | |
| 6102 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 6104 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | |
| 6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6106 break 2 | |
| 6107 fi | |
| 6108 done | |
| 6109 done | |
| 6110 IFS=$as_save_IFS | |
| 6111 | |
| 6112 fi | |
| 6113 fi | |
| 6114 OTOOL64=$ac_cv_prog_OTOOL64 | |
| 6115 if test -n "$OTOOL64"; then | |
| 6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | |
| 6117 $as_echo "$OTOOL64" >&6; } | |
| 6118 else | |
| 6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6120 $as_echo "no" >&6; } | |
| 6121 fi | |
| 6122 | |
| 6123 | |
| 6124 fi | |
| 6125 if test -z "$ac_cv_prog_OTOOL64"; then | |
| 6126 ac_ct_OTOOL64=$OTOOL64 | |
| 6127 # Extract the first word of "otool64", so it can be a program name with args. | |
| 6128 set dummy otool64; ac_word=$2 | |
| 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6130 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6131 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : | |
| 6132 $as_echo_n "(cached) " >&6 | |
| 6133 else | |
| 6134 if test -n "$ac_ct_OTOOL64"; then | |
| 6135 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | |
| 6136 else | |
| 6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6138 for as_dir in $PATH | |
| 6139 do | |
| 6140 IFS=$as_save_IFS | |
| 6141 test -z "$as_dir" && as_dir=. | |
| 6142 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
| 6144 ac_cv_prog_ac_ct_OTOOL64="otool64" | |
| 6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6146 break 2 | |
| 6147 fi | |
| 6148 done | |
| 6149 done | |
| 6150 IFS=$as_save_IFS | |
| 6151 | |
| 6152 fi | |
| 6153 fi | |
| 6154 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | |
| 6155 if test -n "$ac_ct_OTOOL64"; then | |
| 6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | |
| 6157 $as_echo "$ac_ct_OTOOL64" >&6; } | |
| 6158 else | |
| 6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6160 $as_echo "no" >&6; } | |
| 6161 fi | |
| 6162 | |
| 6163 if test "x$ac_ct_OTOOL64" = x; then | |
| 6164 OTOOL64=":" | |
| 6165 else | |
| 6166 case $cross_compiling:$ac_tool_warned in | |
| 6167 yes:) | |
| 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 6170 ac_tool_warned=yes ;; | |
| 6171 esac | |
| 6172 OTOOL64=$ac_ct_OTOOL64 | |
| 6173 fi | |
| 6174 else | |
| 6175 OTOOL64="$ac_cv_prog_OTOOL64" | |
| 6176 fi | |
| 6177 | |
| 6178 | |
| 6179 | |
| 6180 | |
| 6181 | |
| 6182 | |
| 6183 | |
| 6184 | |
| 6185 | |
| 6186 | |
| 6187 | |
| 6188 | |
| 6189 | |
| 6190 | |
| 6191 | |
| 6192 | |
| 6193 | |
| 6194 | |
| 6195 | |
| 6196 | |
| 6197 | |
| 6198 | |
| 6199 | |
| 6200 | |
| 6201 | |
| 6202 | |
| 6203 | |
| 6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker
flag" >&5 | |
| 6205 $as_echo_n "checking for -single_module linker flag... " >&6; } | |
| 6206 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : | |
| 6207 $as_echo_n "(cached) " >&6 | |
| 6208 else | |
| 6209 lt_cv_apple_cc_single_mod=no | |
| 6210 if test -z "${LT_MULTI_MODULE}"; then | |
| 6211 # By default we will add the -single_module flag. You can override | |
| 6212 # by either setting the environment variable LT_MULTI_MODULE | |
| 6213 # non-empty at configure time, or by adding -multi_module to the | |
| 6214 # link flags. | |
| 6215 rm -rf libconftest.dylib* | |
| 6216 echo "int foo(void){return 1;}" > conftest.c | |
| 6217 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 6218 -dynamiclib -Wl,-single_module conftest.c" >&5 | |
| 6219 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 6220 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | |
| 6221 _lt_result=$? | |
| 6222 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_resu
lt = 0; then | |
| 6223 lt_cv_apple_cc_single_mod=yes | |
| 6224 else | |
| 6225 cat conftest.err >&5 | |
| 6226 fi | |
| 6227 rm -rf libconftest.dylib* | |
| 6228 rm -f conftest.* | |
| 6229 fi | |
| 6230 fi | |
| 6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | |
| 6232 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | |
| 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list
linker flag" >&5 | |
| 6234 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | |
| 6235 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : | |
| 6236 $as_echo_n "(cached) " >&6 | |
| 6237 else | |
| 6238 lt_cv_ld_exported_symbols_list=no | |
| 6239 save_LDFLAGS=$LDFLAGS | |
| 6240 echo "_main" > conftest.sym | |
| 6241 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | |
| 6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6243 /* end confdefs.h. */ | |
| 6244 | |
| 6245 int | |
| 6246 main () | |
| 6247 { | |
| 6248 | |
| 6249 ; | |
| 6250 return 0; | |
| 6251 } | |
| 6252 _ACEOF | |
| 6253 if ac_fn_c_try_link "$LINENO"; then : | |
| 6254 lt_cv_ld_exported_symbols_list=yes | |
| 6255 else | |
| 6256 lt_cv_ld_exported_symbols_list=no | |
| 6257 fi | |
| 6258 rm -f core conftest.err conftest.$ac_objext \ | |
| 6259 conftest$ac_exeext conftest.$ac_ext | |
| 6260 LDFLAGS="$save_LDFLAGS" | |
| 6261 | |
| 6262 fi | |
| 6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list
" >&5 | |
| 6264 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | |
| 6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla
g" >&5 | |
| 6266 $as_echo_n "checking for -force_load linker flag... " >&6; } | |
| 6267 if test "${lt_cv_ld_force_load+set}" = set; then : | |
| 6268 $as_echo_n "(cached) " >&6 | |
| 6269 else | |
| 6270 lt_cv_ld_force_load=no | |
| 6271 cat > conftest.c << _LT_EOF | |
| 6272 int forced_loaded() { return 2;} | |
| 6273 _LT_EOF | |
| 6274 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | |
| 6275 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | |
| 6276 echo "$AR cru libconftest.a conftest.o" >&5 | |
| 6277 $AR cru libconftest.a conftest.o 2>&5 | |
| 6278 echo "$RANLIB libconftest.a" >&5 | |
| 6279 $RANLIB libconftest.a 2>&5 | |
| 6280 cat > conftest.c << _LT_EOF | |
| 6281 int main() { return 0;} | |
| 6282 _LT_EOF | |
| 6283 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&5 | |
| 6284 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err | |
| 6285 _lt_result=$? | |
| 6286 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $
GREP forced_load conftest 2>&1 >/dev/null; then | |
| 6287 lt_cv_ld_force_load=yes | |
| 6288 else | |
| 6289 cat conftest.err >&5 | |
| 6290 fi | |
| 6291 rm -f conftest.err libconftest.a conftest conftest.c | |
| 6292 rm -rf conftest.dSYM | |
| 6293 | |
| 6294 fi | |
| 6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | |
| 6296 $as_echo "$lt_cv_ld_force_load" >&6; } | |
| 6297 case $host_os in | |
| 6298 rhapsody* | darwin1.[012]) | |
| 6299 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | |
| 6300 darwin1.*) | |
| 6301 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres
s' ;; | |
| 6302 darwin*) # darwin 5.x on | |
| 6303 # if running on 10.5 or later, the deployment target defaults | |
| 6304 # to the OS version, if on x86, and 10.4, the deployment | |
| 6305 # target defaults to 10.4. Don't you love it? | |
| 6306 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | |
| 6307 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
| 6308 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 6309 10.[012]*) | |
| 6310 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup
press' ;; | |
| 6311 10.*) | |
| 6312 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 6313 esac | |
| 6314 ;; | |
| 6315 esac | |
| 6316 if test "$lt_cv_apple_cc_single_mod" = "yes"; then | |
| 6317 _lt_dar_single_mod='$single_module' | |
| 6318 fi | |
| 6319 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | |
| 6320 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' | |
| 6321 else | |
| 6322 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym
${lib}' | |
| 6323 fi | |
| 6324 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
| 6325 _lt_dsymutil='~$DSYMUTIL $lib || :' | |
| 6326 else | |
| 6327 _lt_dsymutil= | |
| 6328 fi | |
| 6329 ;; | |
| 6330 esac | |
| 6331 | |
| 6332 ac_ext=c | |
| 6333 ac_cpp='$CPP $CPPFLAGS' | |
| 6334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 6335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 6336 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | |
| 6338 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 6339 # On Suns, sometimes $CPP names a directory. | |
| 6340 if test -n "$CPP" && test -d "$CPP"; then | |
| 6341 CPP= | |
| 6342 fi | |
| 6343 if test -z "$CPP"; then | |
| 6344 if test "${ac_cv_prog_CPP+set}" = set; then : | |
| 6345 $as_echo_n "(cached) " >&6 | |
| 6346 else | |
| 6347 # Double quotes because CPP needs to be expanded | |
| 6348 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 6349 do | |
| 6350 ac_preproc_ok=false | |
| 6351 for ac_c_preproc_warn_flag in '' yes | |
| 6352 do | |
| 6353 # Use a header file that comes with gcc, so configuring glibc | |
| 6354 # with a fresh cross-compiler works. | |
| 6355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 6356 # <limits.h> exists even on freestanding compilers. | |
| 6357 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 6358 # not just through cpp. "Syntax error" is here to catch this case. | |
| 6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6360 /* end confdefs.h. */ | |
| 6361 #ifdef __STDC__ | |
| 6362 # include <limits.h> | |
| 6363 #else | |
| 6364 # include <assert.h> | |
| 6365 #endif | |
| 6366 Syntax error | |
| 6367 _ACEOF | |
| 6368 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 6369 | |
| 6370 else | |
| 6371 # Broken: fails on valid input. | |
| 6372 continue | |
| 6373 fi | |
| 6374 rm -f conftest.err conftest.$ac_ext | |
| 6375 | |
| 6376 # OK, works on sane cases. Now check whether nonexistent headers | |
| 6377 # can be detected and how. | |
| 6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6379 /* end confdefs.h. */ | |
| 6380 #include <ac_nonexistent.h> | |
| 6381 _ACEOF | |
| 6382 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 6383 # Broken: success on invalid input. | |
| 6384 continue | |
| 6385 else | |
| 6386 # Passes both tests. | |
| 6387 ac_preproc_ok=: | |
| 6388 break | |
| 6389 fi | |
| 6390 rm -f conftest.err conftest.$ac_ext | |
| 6391 | |
| 6392 done | |
| 6393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 6394 rm -f conftest.err conftest.$ac_ext | |
| 6395 if $ac_preproc_ok; then : | |
| 6396 break | |
| 6397 fi | |
| 6398 | |
| 6399 done | |
| 6400 ac_cv_prog_CPP=$CPP | |
| 6401 | |
| 6402 fi | |
| 6403 CPP=$ac_cv_prog_CPP | |
| 6404 else | |
| 6405 ac_cv_prog_CPP=$CPP | |
| 6406 fi | |
| 6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 6408 $as_echo "$CPP" >&6; } | |
| 6409 ac_preproc_ok=false | |
| 6410 for ac_c_preproc_warn_flag in '' yes | |
| 6411 do | |
| 6412 # Use a header file that comes with gcc, so configuring glibc | |
| 6413 # with a fresh cross-compiler works. | |
| 6414 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 6415 # <limits.h> exists even on freestanding compilers. | |
| 6416 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 6417 # not just through cpp. "Syntax error" is here to catch this case. | |
| 6418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6419 /* end confdefs.h. */ | |
| 6420 #ifdef __STDC__ | |
| 6421 # include <limits.h> | |
| 6422 #else | |
| 6423 # include <assert.h> | |
| 6424 #endif | |
| 6425 Syntax error | |
| 6426 _ACEOF | |
| 6427 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 6428 | |
| 6429 else | |
| 6430 # Broken: fails on valid input. | |
| 6431 continue | |
| 6432 fi | |
| 6433 rm -f conftest.err conftest.$ac_ext | |
| 6434 | |
| 6435 # OK, works on sane cases. Now check whether nonexistent headers | |
| 6436 # can be detected and how. | |
| 6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6438 /* end confdefs.h. */ | |
| 6439 #include <ac_nonexistent.h> | |
| 6440 _ACEOF | |
| 6441 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 6442 # Broken: success on invalid input. | |
| 6443 continue | |
| 6444 else | |
| 6445 # Passes both tests. | |
| 6446 ac_preproc_ok=: | |
| 6447 break | |
| 6448 fi | |
| 6449 rm -f conftest.err conftest.$ac_ext | |
| 6450 | |
| 6451 done | |
| 6452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 6453 rm -f conftest.err conftest.$ac_ext | |
| 6454 if $ac_preproc_ok; then : | |
| 6455 | |
| 6456 else | |
| 6457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 6458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 6459 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 6460 See \`config.log' for more details" "$LINENO" 5; } | |
| 6461 fi | |
| 6462 | |
| 6463 ac_ext=c | |
| 6464 ac_cpp='$CPP $CPPFLAGS' | |
| 6465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 6466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 6467 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 6468 | |
| 6469 | |
| 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 6471 $as_echo_n "checking for ANSI C header files... " >&6; } | |
| 6472 if test "${ac_cv_header_stdc+set}" = set; then : | |
| 6473 $as_echo_n "(cached) " >&6 | |
| 6474 else | |
| 6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6476 /* end confdefs.h. */ | |
| 6477 #include <stdlib.h> | |
| 6478 #include <stdarg.h> | |
| 6479 #include <string.h> | |
| 6480 #include <float.h> | |
| 6481 | |
| 6482 int | |
| 6483 main () | |
| 6484 { | |
| 6485 | |
| 6486 ; | |
| 6487 return 0; | |
| 6488 } | |
| 6489 _ACEOF | |
| 6490 if ac_fn_c_try_compile "$LINENO"; then : | |
| 6491 ac_cv_header_stdc=yes | |
| 6492 else | |
| 6493 ac_cv_header_stdc=no | |
| 6494 fi | |
| 6495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 6496 | |
| 6497 if test $ac_cv_header_stdc = yes; then | |
| 6498 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6500 /* end confdefs.h. */ | |
| 6501 #include <string.h> | |
| 6502 | |
| 6503 _ACEOF | |
| 6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 6505 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 6506 | |
| 6507 else | |
| 6508 ac_cv_header_stdc=no | |
| 6509 fi | |
| 6510 rm -f conftest* | |
| 6511 | |
| 6512 fi | |
| 6513 | |
| 6514 if test $ac_cv_header_stdc = yes; then | |
| 6515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6517 /* end confdefs.h. */ | |
| 6518 #include <stdlib.h> | |
| 6519 | |
| 6520 _ACEOF | |
| 6521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 6522 $EGREP "free" >/dev/null 2>&1; then : | |
| 6523 | |
| 6524 else | |
| 6525 ac_cv_header_stdc=no | |
| 6526 fi | |
| 6527 rm -f conftest* | |
| 6528 | |
| 6529 fi | |
| 6530 | |
| 6531 if test $ac_cv_header_stdc = yes; then | |
| 6532 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 6533 if test "$cross_compiling" = yes; then : | |
| 6534 : | |
| 6535 else | |
| 6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6537 /* end confdefs.h. */ | |
| 6538 #include <ctype.h> | |
| 6539 #include <stdlib.h> | |
| 6540 #if ((' ' & 0x0FF) == 0x020) | |
| 6541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 6542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 6543 #else | |
| 6544 # define ISLOWER(c) \ | |
| 6545 (('a' <= (c) && (c) <= 'i') \ | |
| 6546 || ('j' <= (c) && (c) <= 'r') \ | |
| 6547 || ('s' <= (c) && (c) <= 'z')) | |
| 6548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 6549 #endif | |
| 6550 | |
| 6551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 6552 int | |
| 6553 main () | |
| 6554 { | |
| 6555 int i; | |
| 6556 for (i = 0; i < 256; i++) | |
| 6557 if (XOR (islower (i), ISLOWER (i)) | |
| 6558 || toupper (i) != TOUPPER (i)) | |
| 6559 return 2; | |
| 6560 return 0; | |
| 6561 } | |
| 6562 _ACEOF | |
| 6563 if ac_fn_c_try_run "$LINENO"; then : | |
| 6564 | |
| 6565 else | |
| 6566 ac_cv_header_stdc=no | |
| 6567 fi | |
| 6568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 6569 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 6570 fi | |
| 6571 | |
| 6572 fi | |
| 6573 fi | |
| 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 6575 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 6576 if test $ac_cv_header_stdc = yes; then | |
| 6577 | |
| 6578 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 6579 | |
| 6580 fi | |
| 6581 | |
| 6582 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 6583 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 6584 inttypes.h stdint.h unistd.h | |
| 6585 do : | |
| 6586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 6587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default | |
| 6588 " | |
| 6589 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 6590 cat >>confdefs.h <<_ACEOF | |
| 6591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 6592 _ACEOF | |
| 6593 | |
| 6594 fi | |
| 6595 | |
| 6596 done | |
| 6597 | |
| 6598 | |
| 6599 for ac_header in dlfcn.h | |
| 6600 do : | |
| 6601 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i
ncludes_default | |
| 6602 " | |
| 6603 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : | |
| 6604 cat >>confdefs.h <<_ACEOF | |
| 6605 #define HAVE_DLFCN_H 1 | |
| 6606 _ACEOF | |
| 6607 | |
| 6608 fi | |
| 6609 | |
| 6610 done | |
| 6611 | |
| 6612 | |
| 6613 | |
| 6614 | |
| 6615 | |
| 6616 # Set options | |
| 6617 | |
| 6618 | |
| 6619 | |
| 6620 enable_dlopen=no | |
| 6621 | |
| 6622 | |
| 6623 enable_win32_dll=no | |
| 6624 | |
| 6625 | |
| 6626 # Check whether --enable-shared was given. | |
| 6627 if test "${enable_shared+set}" = set; then : | |
| 6628 enableval=$enable_shared; p=${PACKAGE-default} | |
| 6629 case $enableval in | |
| 6630 yes) enable_shared=yes ;; | |
| 6631 no) enable_shared=no ;; | |
| 6632 *) | |
| 6633 enable_shared=no | |
| 6634 # Look at the argument we got. We use all the common list separators. | |
| 6635 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 6636 for pkg in $enableval; do | |
| 6637 IFS="$lt_save_ifs" | |
| 6638 if test "X$pkg" = "X$p"; then | |
| 6639 enable_shared=yes | |
| 6640 fi | |
| 6641 done | |
| 6642 IFS="$lt_save_ifs" | |
| 6643 ;; | |
| 6644 esac | |
| 6645 else | |
| 6646 enable_shared=yes | |
| 6647 fi | |
| 6648 | |
| 6649 | |
| 6650 | |
| 6651 | |
| 6652 | |
| 6653 | |
| 6654 | |
| 6655 | |
| 6656 | |
| 6657 # Check whether --enable-static was given. | |
| 6658 if test "${enable_static+set}" = set; then : | |
| 6659 enableval=$enable_static; p=${PACKAGE-default} | |
| 6660 case $enableval in | |
| 6661 yes) enable_static=yes ;; | |
| 6662 no) enable_static=no ;; | |
| 6663 *) | |
| 6664 enable_static=no | |
| 6665 # Look at the argument we got. We use all the common list separators. | |
| 6666 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 6667 for pkg in $enableval; do | |
| 6668 IFS="$lt_save_ifs" | |
| 6669 if test "X$pkg" = "X$p"; then | |
| 6670 enable_static=yes | |
| 6671 fi | |
| 6672 done | |
| 6673 IFS="$lt_save_ifs" | |
| 6674 ;; | |
| 6675 esac | |
| 6676 else | |
| 6677 enable_static=yes | |
| 6678 fi | |
| 6679 | |
| 6680 | |
| 6681 | |
| 6682 | |
| 6683 | |
| 6684 | |
| 6685 | |
| 6686 | |
| 6687 | |
| 6688 | |
| 6689 # Check whether --with-pic was given. | |
| 6690 if test "${with_pic+set}" = set; then : | |
| 6691 withval=$with_pic; pic_mode="$withval" | |
| 6692 else | |
| 6693 pic_mode=default | |
| 6694 fi | |
| 6695 | |
| 6696 | |
| 6697 test -z "$pic_mode" && pic_mode=default | |
| 6698 | |
| 6699 | |
| 6700 | |
| 6701 | |
| 6702 | |
| 6703 | |
| 6704 | |
| 6705 # Check whether --enable-fast-install was given. | |
| 6706 if test "${enable_fast_install+set}" = set; then : | |
| 6707 enableval=$enable_fast_install; p=${PACKAGE-default} | |
| 6708 case $enableval in | |
| 6709 yes) enable_fast_install=yes ;; | |
| 6710 no) enable_fast_install=no ;; | |
| 6711 *) | |
| 6712 enable_fast_install=no | |
| 6713 # Look at the argument we got. We use all the common list separators. | |
| 6714 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 6715 for pkg in $enableval; do | |
| 6716 IFS="$lt_save_ifs" | |
| 6717 if test "X$pkg" = "X$p"; then | |
| 6718 enable_fast_install=yes | |
| 6719 fi | |
| 6720 done | |
| 6721 IFS="$lt_save_ifs" | |
| 6722 ;; | |
| 6723 esac | |
| 6724 else | |
| 6725 enable_fast_install=yes | |
| 6726 fi | |
| 6727 | |
| 6728 | |
| 6729 | |
| 6730 | |
| 6731 | |
| 6732 | |
| 6733 | |
| 6734 | |
| 6735 | |
| 6736 | |
| 6737 | |
| 6738 # This can be used to rebuild libtool when needed | |
| 6739 LIBTOOL_DEPS="$ltmain" | |
| 6740 | |
| 6741 # Always use our own libtool. | |
| 6742 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | |
| 6743 | |
| 6744 | |
| 6745 | |
| 6746 | |
| 6747 | |
| 6748 | |
| 6749 | |
| 6750 | |
| 6751 | |
| 6752 | |
| 6753 | |
| 6754 | |
| 6755 | |
| 6756 | |
| 6757 | |
| 6758 | |
| 6759 | |
| 6760 | |
| 6761 | |
| 6762 | |
| 6763 | |
| 6764 | |
| 6765 | |
| 6766 | |
| 6767 | |
| 6768 | |
| 6769 test -z "$LN_S" && LN_S="ln -s" | |
| 6770 | |
| 6771 | |
| 6772 | |
| 6773 | |
| 6774 | |
| 6775 | |
| 6776 | |
| 6777 | |
| 6778 | |
| 6779 | |
| 6780 | |
| 6781 | |
| 6782 | |
| 6783 | |
| 6784 if test -n "${ZSH_VERSION+set}" ; then | |
| 6785 setopt NO_GLOB_SUBST | |
| 6786 fi | |
| 6787 | |
| 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | |
| 6789 $as_echo_n "checking for objdir... " >&6; } | |
| 6790 if test "${lt_cv_objdir+set}" = set; then : | |
| 6791 $as_echo_n "(cached) " >&6 | |
| 6792 else | |
| 6793 rm -f .libs 2>/dev/null | |
| 6794 mkdir .libs 2>/dev/null | |
| 6795 if test -d .libs; then | |
| 6796 lt_cv_objdir=.libs | |
| 6797 else | |
| 6798 # MS-DOS does not allow filenames that begin with a dot. | |
| 6799 lt_cv_objdir=_libs | |
| 6800 fi | |
| 6801 rmdir .libs 2>/dev/null | |
| 6802 fi | |
| 6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | |
| 6804 $as_echo "$lt_cv_objdir" >&6; } | |
| 6805 objdir=$lt_cv_objdir | |
| 6806 | |
| 6807 | |
| 6808 | |
| 6809 | |
| 6810 | |
| 6811 cat >>confdefs.h <<_ACEOF | |
| 6812 #define LT_OBJDIR "$lt_cv_objdir/" | |
| 6813 _ACEOF | |
| 6814 | |
| 6815 | |
| 6816 | |
| 6817 | |
| 6818 case $host_os in | |
| 6819 aix3*) | |
| 6820 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 6821 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 6822 # vanish in a puff of smoke. | |
| 6823 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 6824 COLLECT_NAMES= | |
| 6825 export COLLECT_NAMES | |
| 6826 fi | |
| 6827 ;; | |
| 6828 esac | |
| 6829 | |
| 6830 # Global variables: | |
| 6831 ofile=libtool | |
| 6832 can_build_shared=yes | |
| 6833 | |
| 6834 # All known linkers require a `.a' archive for static linking (except MSVC, | |
| 6835 # which needs '.lib'). | |
| 6836 libext=a | |
| 6837 | |
| 6838 with_gnu_ld="$lt_cv_prog_gnu_ld" | |
| 6839 | |
| 6840 old_CC="$CC" | |
| 6841 old_CFLAGS="$CFLAGS" | |
| 6842 | |
| 6843 # Set sane defaults for various variables | |
| 6844 test -z "$CC" && CC=cc | |
| 6845 test -z "$LTCC" && LTCC=$CC | |
| 6846 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | |
| 6847 test -z "$LD" && LD=ld | |
| 6848 test -z "$ac_objext" && ac_objext=o | |
| 6849 | |
| 6850 for cc_temp in $compiler""; do | |
| 6851 case $cc_temp in | |
| 6852 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 6853 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 6854 \-*) ;; | |
| 6855 *) break;; | |
| 6856 esac | |
| 6857 done | |
| 6858 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | |
| 6859 | |
| 6860 | |
| 6861 # Only perform the check for file, if the check method requires it | |
| 6862 test -z "$MAGIC_CMD" && MAGIC_CMD=file | |
| 6863 case $deplibs_check_method in | |
| 6864 file_magic*) | |
| 6865 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | |
| 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 | |
| 6867 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | |
| 6868 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : | |
| 6869 $as_echo_n "(cached) " >&6 | |
| 6870 else | |
| 6871 case $MAGIC_CMD in | |
| 6872 [\\/*] | ?:[\\/]*) | |
| 6873 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. | |
| 6874 ;; | |
| 6875 *) | |
| 6876 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 6877 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 6878 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 6879 for ac_dir in $ac_dummy; do | |
| 6880 IFS="$lt_save_ifs" | |
| 6881 test -z "$ac_dir" && ac_dir=. | |
| 6882 if test -f $ac_dir/${ac_tool_prefix}file; then | |
| 6883 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | |
| 6884 if test -n "$file_magic_test_file"; then | |
| 6885 case $deplibs_check_method in | |
| 6886 "file_magic "*) | |
| 6887 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 6888 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 6889 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 6890 $EGREP "$file_magic_regex" > /dev/null; then | |
| 6891 : | |
| 6892 else | |
| 6893 cat <<_LT_EOF 1>&2 | |
| 6894 | |
| 6895 *** Warning: the command libtool uses to detect shared libraries, | |
| 6896 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 6897 *** The result is that libtool may fail to recognize shared libraries | |
| 6898 *** as such. This will affect the creation of libtool libraries that | |
| 6899 *** depend on shared libraries, but programs linked with such libtool | |
| 6900 *** libraries will work regardless of this problem. Nevertheless, you | |
| 6901 *** may want to report the problem to your system manager and/or to | |
| 6902 *** bug-libtool@gnu.org | |
| 6903 | |
| 6904 _LT_EOF | |
| 6905 fi ;; | |
| 6906 esac | |
| 6907 fi | |
| 6908 break | |
| 6909 fi | |
| 6910 done | |
| 6911 IFS="$lt_save_ifs" | |
| 6912 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 6913 ;; | |
| 6914 esac | |
| 6915 fi | |
| 6916 | |
| 6917 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 6918 if test -n "$MAGIC_CMD"; then | |
| 6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 6920 $as_echo "$MAGIC_CMD" >&6; } | |
| 6921 else | |
| 6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6923 $as_echo "no" >&6; } | |
| 6924 fi | |
| 6925 | |
| 6926 | |
| 6927 | |
| 6928 | |
| 6929 | |
| 6930 if test -z "$lt_cv_path_MAGIC_CMD"; then | |
| 6931 if test -n "$ac_tool_prefix"; then | |
| 6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | |
| 6933 $as_echo_n "checking for file... " >&6; } | |
| 6934 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : | |
| 6935 $as_echo_n "(cached) " >&6 | |
| 6936 else | |
| 6937 case $MAGIC_CMD in | |
| 6938 [\\/*] | ?:[\\/]*) | |
| 6939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. | |
| 6940 ;; | |
| 6941 *) | |
| 6942 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 6943 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 6944 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 6945 for ac_dir in $ac_dummy; do | |
| 6946 IFS="$lt_save_ifs" | |
| 6947 test -z "$ac_dir" && ac_dir=. | |
| 6948 if test -f $ac_dir/file; then | |
| 6949 lt_cv_path_MAGIC_CMD="$ac_dir/file" | |
| 6950 if test -n "$file_magic_test_file"; then | |
| 6951 case $deplibs_check_method in | |
| 6952 "file_magic "*) | |
| 6953 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 6954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 6955 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 6956 $EGREP "$file_magic_regex" > /dev/null; then | |
| 6957 : | |
| 6958 else | |
| 6959 cat <<_LT_EOF 1>&2 | |
| 6960 | |
| 6961 *** Warning: the command libtool uses to detect shared libraries, | |
| 6962 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 6963 *** The result is that libtool may fail to recognize shared libraries | |
| 6964 *** as such. This will affect the creation of libtool libraries that | |
| 6965 *** depend on shared libraries, but programs linked with such libtool | |
| 6966 *** libraries will work regardless of this problem. Nevertheless, you | |
| 6967 *** may want to report the problem to your system manager and/or to | |
| 6968 *** bug-libtool@gnu.org | |
| 6969 | |
| 6970 _LT_EOF | |
| 6971 fi ;; | |
| 6972 esac | |
| 6973 fi | |
| 6974 break | |
| 6975 fi | |
| 6976 done | |
| 6977 IFS="$lt_save_ifs" | |
| 6978 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 6979 ;; | |
| 6980 esac | |
| 6981 fi | |
| 6982 | |
| 6983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 6984 if test -n "$MAGIC_CMD"; then | |
| 6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 6986 $as_echo "$MAGIC_CMD" >&6; } | |
| 6987 else | |
| 6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6989 $as_echo "no" >&6; } | |
| 6990 fi | |
| 6991 | |
| 6992 | |
| 6993 else | |
| 6994 MAGIC_CMD=: | |
| 6995 fi | |
| 6996 fi | |
| 6997 | |
| 6998 fi | |
| 6999 ;; | |
| 7000 esac | |
| 7001 | |
| 7002 # Use C for the default configuration in the libtool script | |
| 7003 | |
| 7004 lt_save_CC="$CC" | |
| 7005 ac_ext=c | |
| 7006 ac_cpp='$CPP $CPPFLAGS' | |
| 7007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 7008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 7009 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 7010 | |
| 7011 | |
| 7012 # Source file extension for C test sources. | |
| 7013 ac_ext=c | |
| 7014 | |
| 7015 # Object file extension for compiled C test sources. | |
| 7016 objext=o | |
| 7017 objext=$objext | |
| 7018 | |
| 7019 # Code to be used in simple compile tests | |
| 7020 lt_simple_compile_test_code="int some_variable = 0;" | |
| 7021 | |
| 7022 # Code to be used in simple link tests | |
| 7023 lt_simple_link_test_code='int main(){return(0);}' | |
| 7024 | |
| 7025 | |
| 7026 | |
| 7027 | |
| 7028 | |
| 7029 | |
| 7030 | |
| 7031 # If no C compiler was specified, use CC. | |
| 7032 LTCC=${LTCC-"$CC"} | |
| 7033 | |
| 7034 # If no C compiler flags were specified, use CFLAGS. | |
| 7035 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 7036 | |
| 7037 # Allow CC to be a program name with arguments. | |
| 7038 compiler=$CC | |
| 7039 | |
| 7040 # Save the default compiler, since it gets overwritten when the other | |
| 7041 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | |
| 7042 compiler_DEFAULT=$CC | |
| 7043 | |
| 7044 # save warnings/boilerplate of simple test code | |
| 7045 ac_outfile=conftest.$ac_objext | |
| 7046 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | |
| 7047 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 7048 _lt_compiler_boilerplate=`cat conftest.err` | |
| 7049 $RM conftest* | |
| 7050 | |
| 7051 ac_outfile=conftest.$ac_objext | |
| 7052 echo "$lt_simple_link_test_code" >conftest.$ac_ext | |
| 7053 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 7054 _lt_linker_boilerplate=`cat conftest.err` | |
| 7055 $RM -r conftest* | |
| 7056 | |
| 7057 | |
| 7058 if test -n "$compiler"; then | |
| 7059 | |
| 7060 lt_prog_compiler_no_builtin_flag= | |
| 7061 | |
| 7062 if test "$GCC" = yes; then | |
| 7063 case $cc_basename in | |
| 7064 nvcc*) | |
| 7065 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | |
| 7066 *) | |
| 7067 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | |
| 7068 esac | |
| 7069 | |
| 7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r
tti -fno-exceptions" >&5 | |
| 7071 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | |
| 7072 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : | |
| 7073 $as_echo_n "(cached) " >&6 | |
| 7074 else | |
| 7075 lt_cv_prog_compiler_rtti_exceptions=no | |
| 7076 ac_outfile=conftest.$ac_objext | |
| 7077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 7078 lt_compiler_flag="-fno-rtti -fno-exceptions" | |
| 7079 # Insert the option either (1) after the last *FLAGS variable, or | |
| 7080 # (2) before a word containing "conftest.", or (3) at the end. | |
| 7081 # Note that $ac_compile itself does not contain backslashes and begins | |
| 7082 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 7083 # The option is referenced via a variable to avoid confusing sed. | |
| 7084 lt_compile=`echo "$ac_compile" | $SED \ | |
| 7085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 7086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 7087 -e 's:$: $lt_compiler_flag:'` | |
| 7088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 7089 (eval "$lt_compile" 2>conftest.err) | |
| 7090 ac_status=$? | |
| 7091 cat conftest.err >&5 | |
| 7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7093 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 7094 # The compiler can only warn and ignore the option if not recognized | |
| 7095 # So say no if there are warnings other than the usual output. | |
| 7096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 7097 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 7098 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | |
| 7099 lt_cv_prog_compiler_rtti_exceptions=yes | |
| 7100 fi | |
| 7101 fi | |
| 7102 $RM conftest* | |
| 7103 | |
| 7104 fi | |
| 7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep
tions" >&5 | |
| 7106 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | |
| 7107 | |
| 7108 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | |
| 7109 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" | |
| 7110 else | |
| 7111 : | |
| 7112 fi | |
| 7113 | |
| 7114 fi | |
| 7115 | |
| 7116 | |
| 7117 | |
| 7118 | |
| 7119 | |
| 7120 | |
| 7121 lt_prog_compiler_wl= | |
| 7122 lt_prog_compiler_pic= | |
| 7123 lt_prog_compiler_static= | |
| 7124 | |
| 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 | |
| 7126 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | |
| 7127 | |
| 7128 if test "$GCC" = yes; then | |
| 7129 lt_prog_compiler_wl='-Wl,' | |
| 7130 lt_prog_compiler_static='-static' | |
| 7131 | |
| 7132 case $host_os in | |
| 7133 aix*) | |
| 7134 # All AIX code is PIC. | |
| 7135 if test "$host_cpu" = ia64; then | |
| 7136 # AIX 5 now supports IA64 processor | |
| 7137 lt_prog_compiler_static='-Bstatic' | |
| 7138 fi | |
| 7139 ;; | |
| 7140 | |
| 7141 amigaos*) | |
| 7142 case $host_cpu in | |
| 7143 powerpc) | |
| 7144 # see comment about AmigaOS4 .so support | |
| 7145 lt_prog_compiler_pic='-fPIC' | |
| 7146 ;; | |
| 7147 m68k) | |
| 7148 # FIXME: we need at least 68020 code to build shared libraries, but | |
| 7149 # adding the `-m68020' flag to GCC prevents building anything better
, | |
| 7150 # like `-m68040'. | |
| 7151 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | |
| 7152 ;; | |
| 7153 esac | |
| 7154 ;; | |
| 7155 | |
| 7156 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
| 7157 # PIC is the default for these OSes. | |
| 7158 ;; | |
| 7159 | |
| 7160 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 7161 # This hack is so that the source file can tell whether it is being | |
| 7162 # built for inclusion in a dll (and should export symbols for example). | |
| 7163 # Although the cygwin gcc ignores -fPIC, still need this for old-style | |
| 7164 # (--disable-auto-import) libraries | |
| 7165 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 7166 ;; | |
| 7167 | |
| 7168 darwin* | rhapsody*) | |
| 7169 # PIC is the default on this platform | |
| 7170 # Common symbols not allowed in MH_DYLIB files | |
| 7171 lt_prog_compiler_pic='-fno-common' | |
| 7172 ;; | |
| 7173 | |
| 7174 haiku*) | |
| 7175 # PIC is the default for Haiku. | |
| 7176 # The "-static" flag exists, but is broken. | |
| 7177 lt_prog_compiler_static= | |
| 7178 ;; | |
| 7179 | |
| 7180 hpux*) | |
| 7181 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | |
| 7182 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | |
| 7183 # sets the default TLS model and affects inlining. | |
| 7184 case $host_cpu in | |
| 7185 hppa*64*) | |
| 7186 # +Z the default | |
| 7187 ;; | |
| 7188 *) | |
| 7189 lt_prog_compiler_pic='-fPIC' | |
| 7190 ;; | |
| 7191 esac | |
| 7192 ;; | |
| 7193 | |
| 7194 interix[3-9]*) | |
| 7195 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
| 7196 # Instead, we relocate shared libraries at runtime. | |
| 7197 ;; | |
| 7198 | |
| 7199 msdosdjgpp*) | |
| 7200 # Just because we use GCC doesn't mean we suddenly get shared libraries | |
| 7201 # on systems that don't support them. | |
| 7202 lt_prog_compiler_can_build_shared=no | |
| 7203 enable_shared=no | |
| 7204 ;; | |
| 7205 | |
| 7206 *nto* | *qnx*) | |
| 7207 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 7208 # it will coredump. | |
| 7209 lt_prog_compiler_pic='-fPIC -shared' | |
| 7210 ;; | |
| 7211 | |
| 7212 sysv4*MP*) | |
| 7213 if test -d /usr/nec; then | |
| 7214 lt_prog_compiler_pic=-Kconform_pic | |
| 7215 fi | |
| 7216 ;; | |
| 7217 | |
| 7218 *) | |
| 7219 lt_prog_compiler_pic='-fPIC' | |
| 7220 ;; | |
| 7221 esac | |
| 7222 | |
| 7223 case $cc_basename in | |
| 7224 nvcc*) # Cuda Compiler Driver 2.2 | |
| 7225 lt_prog_compiler_wl='-Xlinker ' | |
| 7226 lt_prog_compiler_pic='-Xcompiler -fPIC' | |
| 7227 ;; | |
| 7228 esac | |
| 7229 else | |
| 7230 # PORTME Check for flag to pass linker flags through the system compiler. | |
| 7231 case $host_os in | |
| 7232 aix*) | |
| 7233 lt_prog_compiler_wl='-Wl,' | |
| 7234 if test "$host_cpu" = ia64; then | |
| 7235 # AIX 5 now supports IA64 processor | |
| 7236 lt_prog_compiler_static='-Bstatic' | |
| 7237 else | |
| 7238 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | |
| 7239 fi | |
| 7240 ;; | |
| 7241 | |
| 7242 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 7243 # This hack is so that the source file can tell whether it is being | |
| 7244 # built for inclusion in a dll (and should export symbols for example). | |
| 7245 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 7246 ;; | |
| 7247 | |
| 7248 hpux9* | hpux10* | hpux11*) | |
| 7249 lt_prog_compiler_wl='-Wl,' | |
| 7250 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | |
| 7251 # not for PA HP-UX. | |
| 7252 case $host_cpu in | |
| 7253 hppa*64*|ia64*) | |
| 7254 # +Z the default | |
| 7255 ;; | |
| 7256 *) | |
| 7257 lt_prog_compiler_pic='+Z' | |
| 7258 ;; | |
| 7259 esac | |
| 7260 # Is there a better lt_prog_compiler_static that works with the bundled CC
? | |
| 7261 lt_prog_compiler_static='${wl}-a ${wl}archive' | |
| 7262 ;; | |
| 7263 | |
| 7264 irix5* | irix6* | nonstopux*) | |
| 7265 lt_prog_compiler_wl='-Wl,' | |
| 7266 # PIC (with -KPIC) is the default. | |
| 7267 lt_prog_compiler_static='-non_shared' | |
| 7268 ;; | |
| 7269 | |
| 7270 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 7271 case $cc_basename in | |
| 7272 # old Intel for x86_64 which still supported -KPIC. | |
| 7273 ecc*) | |
| 7274 lt_prog_compiler_wl='-Wl,' | |
| 7275 lt_prog_compiler_pic='-KPIC' | |
| 7276 lt_prog_compiler_static='-static' | |
| 7277 ;; | |
| 7278 # icc used to be incompatible with GCC. | |
| 7279 # ICC 10 doesn't accept -KPIC any more. | |
| 7280 icc* | ifort*) | |
| 7281 lt_prog_compiler_wl='-Wl,' | |
| 7282 lt_prog_compiler_pic='-fPIC' | |
| 7283 lt_prog_compiler_static='-static' | |
| 7284 ;; | |
| 7285 # Lahey Fortran 8.1. | |
| 7286 lf95*) | |
| 7287 lt_prog_compiler_wl='-Wl,' | |
| 7288 lt_prog_compiler_pic='--shared' | |
| 7289 lt_prog_compiler_static='--static' | |
| 7290 ;; | |
| 7291 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 7292 # Portland Group compilers (*not* the Pentium gcc compiler, | |
| 7293 # which looks to be a dead project) | |
| 7294 lt_prog_compiler_wl='-Wl,' | |
| 7295 lt_prog_compiler_pic='-fpic' | |
| 7296 lt_prog_compiler_static='-Bstatic' | |
| 7297 ;; | |
| 7298 ccc*) | |
| 7299 lt_prog_compiler_wl='-Wl,' | |
| 7300 # All Alpha code is PIC. | |
| 7301 lt_prog_compiler_static='-non_shared' | |
| 7302 ;; | |
| 7303 xl* | bgxl* | bgf* | mpixl*) | |
| 7304 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | |
| 7305 lt_prog_compiler_wl='-Wl,' | |
| 7306 lt_prog_compiler_pic='-qpic' | |
| 7307 lt_prog_compiler_static='-qstaticlink' | |
| 7308 ;; | |
| 7309 *) | |
| 7310 case `$CC -V 2>&1 | sed 5q` in | |
| 7311 *Sun\ F* | *Sun*Fortran*) | |
| 7312 # Sun Fortran 8.3 passes all unrecognized flags to the linker | |
| 7313 lt_prog_compiler_pic='-KPIC' | |
| 7314 lt_prog_compiler_static='-Bstatic' | |
| 7315 lt_prog_compiler_wl='' | |
| 7316 ;; | |
| 7317 *Sun\ C*) | |
| 7318 # Sun C 5.9 | |
| 7319 lt_prog_compiler_pic='-KPIC' | |
| 7320 lt_prog_compiler_static='-Bstatic' | |
| 7321 lt_prog_compiler_wl='-Wl,' | |
| 7322 ;; | |
| 7323 esac | |
| 7324 ;; | |
| 7325 esac | |
| 7326 ;; | |
| 7327 | |
| 7328 newsos6) | |
| 7329 lt_prog_compiler_pic='-KPIC' | |
| 7330 lt_prog_compiler_static='-Bstatic' | |
| 7331 ;; | |
| 7332 | |
| 7333 *nto* | *qnx*) | |
| 7334 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 7335 # it will coredump. | |
| 7336 lt_prog_compiler_pic='-fPIC -shared' | |
| 7337 ;; | |
| 7338 | |
| 7339 osf3* | osf4* | osf5*) | |
| 7340 lt_prog_compiler_wl='-Wl,' | |
| 7341 # All OSF/1 code is PIC. | |
| 7342 lt_prog_compiler_static='-non_shared' | |
| 7343 ;; | |
| 7344 | |
| 7345 rdos*) | |
| 7346 lt_prog_compiler_static='-non_shared' | |
| 7347 ;; | |
| 7348 | |
| 7349 solaris*) | |
| 7350 lt_prog_compiler_pic='-KPIC' | |
| 7351 lt_prog_compiler_static='-Bstatic' | |
| 7352 case $cc_basename in | |
| 7353 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
| 7354 lt_prog_compiler_wl='-Qoption ld ';; | |
| 7355 *) | |
| 7356 lt_prog_compiler_wl='-Wl,';; | |
| 7357 esac | |
| 7358 ;; | |
| 7359 | |
| 7360 sunos4*) | |
| 7361 lt_prog_compiler_wl='-Qoption ld ' | |
| 7362 lt_prog_compiler_pic='-PIC' | |
| 7363 lt_prog_compiler_static='-Bstatic' | |
| 7364 ;; | |
| 7365 | |
| 7366 sysv4 | sysv4.2uw2* | sysv4.3*) | |
| 7367 lt_prog_compiler_wl='-Wl,' | |
| 7368 lt_prog_compiler_pic='-KPIC' | |
| 7369 lt_prog_compiler_static='-Bstatic' | |
| 7370 ;; | |
| 7371 | |
| 7372 sysv4*MP*) | |
| 7373 if test -d /usr/nec ;then | |
| 7374 lt_prog_compiler_pic='-Kconform_pic' | |
| 7375 lt_prog_compiler_static='-Bstatic' | |
| 7376 fi | |
| 7377 ;; | |
| 7378 | |
| 7379 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
| 7380 lt_prog_compiler_wl='-Wl,' | |
| 7381 lt_prog_compiler_pic='-KPIC' | |
| 7382 lt_prog_compiler_static='-Bstatic' | |
| 7383 ;; | |
| 7384 | |
| 7385 unicos*) | |
| 7386 lt_prog_compiler_wl='-Wl,' | |
| 7387 lt_prog_compiler_can_build_shared=no | |
| 7388 ;; | |
| 7389 | |
| 7390 uts4*) | |
| 7391 lt_prog_compiler_pic='-pic' | |
| 7392 lt_prog_compiler_static='-Bstatic' | |
| 7393 ;; | |
| 7394 | |
| 7395 *) | |
| 7396 lt_prog_compiler_can_build_shared=no | |
| 7397 ;; | |
| 7398 esac | |
| 7399 fi | |
| 7400 | |
| 7401 case $host_os in | |
| 7402 # For platforms which do not support PIC, -DPIC is meaningless: | |
| 7403 *djgpp*) | |
| 7404 lt_prog_compiler_pic= | |
| 7405 ;; | |
| 7406 *) | |
| 7407 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | |
| 7408 ;; | |
| 7409 esac | |
| 7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 | |
| 7411 $as_echo "$lt_prog_compiler_pic" >&6; } | |
| 7412 | |
| 7413 | |
| 7414 | |
| 7415 | |
| 7416 | |
| 7417 | |
| 7418 # | |
| 7419 # Check to make sure the PIC flag actually works. | |
| 7420 # | |
| 7421 if test -n "$lt_prog_compiler_pic"; then | |
| 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 | |
| 7423 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} | |
| 7424 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : | |
| 7425 $as_echo_n "(cached) " >&6 | |
| 7426 else | |
| 7427 lt_cv_prog_compiler_pic_works=no | |
| 7428 ac_outfile=conftest.$ac_objext | |
| 7429 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 7430 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | |
| 7431 # Insert the option either (1) after the last *FLAGS variable, or | |
| 7432 # (2) before a word containing "conftest.", or (3) at the end. | |
| 7433 # Note that $ac_compile itself does not contain backslashes and begins | |
| 7434 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 7435 # The option is referenced via a variable to avoid confusing sed. | |
| 7436 lt_compile=`echo "$ac_compile" | $SED \ | |
| 7437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 7438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 7439 -e 's:$: $lt_compiler_flag:'` | |
| 7440 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 7441 (eval "$lt_compile" 2>conftest.err) | |
| 7442 ac_status=$? | |
| 7443 cat conftest.err >&5 | |
| 7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7445 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 7446 # The compiler can only warn and ignore the option if not recognized | |
| 7447 # So say no if there are warnings other than the usual output. | |
| 7448 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 7449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 7450 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | |
| 7451 lt_cv_prog_compiler_pic_works=yes | |
| 7452 fi | |
| 7453 fi | |
| 7454 $RM conftest* | |
| 7455 | |
| 7456 fi | |
| 7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 | |
| 7458 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | |
| 7459 | |
| 7460 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | |
| 7461 case $lt_prog_compiler_pic in | |
| 7462 "" | " "*) ;; | |
| 7463 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | |
| 7464 esac | |
| 7465 else | |
| 7466 lt_prog_compiler_pic= | |
| 7467 lt_prog_compiler_can_build_shared=no | |
| 7468 fi | |
| 7469 | |
| 7470 fi | |
| 7471 | |
| 7472 | |
| 7473 | |
| 7474 | |
| 7475 | |
| 7476 | |
| 7477 # | |
| 7478 # Check to make sure the static flag actually works. | |
| 7479 # | |
| 7480 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | |
| 7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 | |
| 7482 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } | |
| 7483 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : | |
| 7484 $as_echo_n "(cached) " >&6 | |
| 7485 else | |
| 7486 lt_cv_prog_compiler_static_works=no | |
| 7487 save_LDFLAGS="$LDFLAGS" | |
| 7488 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
| 7489 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 7490 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 7491 # The linker can only warn and ignore the option if not recognized | |
| 7492 # So say no if there are warnings | |
| 7493 if test -s conftest.err; then | |
| 7494 # Append any errors to the config.log. | |
| 7495 cat conftest.err 1>&5 | |
| 7496 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 7497 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 7498 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 7499 lt_cv_prog_compiler_static_works=yes | |
| 7500 fi | |
| 7501 else | |
| 7502 lt_cv_prog_compiler_static_works=yes | |
| 7503 fi | |
| 7504 fi | |
| 7505 $RM -r conftest* | |
| 7506 LDFLAGS="$save_LDFLAGS" | |
| 7507 | |
| 7508 fi | |
| 7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor
ks" >&5 | |
| 7510 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | |
| 7511 | |
| 7512 if test x"$lt_cv_prog_compiler_static_works" = xyes; then | |
| 7513 : | |
| 7514 else | |
| 7515 lt_prog_compiler_static= | |
| 7516 fi | |
| 7517 | |
| 7518 | |
| 7519 | |
| 7520 | |
| 7521 | |
| 7522 | |
| 7523 | |
| 7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
| 7525 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 7526 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : | |
| 7527 $as_echo_n "(cached) " >&6 | |
| 7528 else | |
| 7529 lt_cv_prog_compiler_c_o=no | |
| 7530 $RM -r conftest 2>/dev/null | |
| 7531 mkdir conftest | |
| 7532 cd conftest | |
| 7533 mkdir out | |
| 7534 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 7535 | |
| 7536 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 7537 # Insert the option either (1) after the last *FLAGS variable, or | |
| 7538 # (2) before a word containing "conftest.", or (3) at the end. | |
| 7539 # Note that $ac_compile itself does not contain backslashes and begins | |
| 7540 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 7541 lt_compile=`echo "$ac_compile" | $SED \ | |
| 7542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 7543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 7544 -e 's:$: $lt_compiler_flag:'` | |
| 7545 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 7546 (eval "$lt_compile" 2>out/conftest.err) | |
| 7547 ac_status=$? | |
| 7548 cat out/conftest.err >&5 | |
| 7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7550 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 7551 then | |
| 7552 # The compiler can only warn and ignore the option if not recognized | |
| 7553 # So say no if there are warnings | |
| 7554 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 7555 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 7556 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
| 7557 lt_cv_prog_compiler_c_o=yes | |
| 7558 fi | |
| 7559 fi | |
| 7560 chmod u+w . 2>&5 | |
| 7561 $RM conftest* | |
| 7562 # SGI C++ compiler will create directory out/ii_files/ for | |
| 7563 # template instantiation | |
| 7564 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 7565 $RM out/* && rmdir out | |
| 7566 cd .. | |
| 7567 $RM -r conftest | |
| 7568 $RM conftest* | |
| 7569 | |
| 7570 fi | |
| 7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 7572 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 7573 | |
| 7574 | |
| 7575 | |
| 7576 | |
| 7577 | |
| 7578 | |
| 7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
| 7580 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 7581 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : | |
| 7582 $as_echo_n "(cached) " >&6 | |
| 7583 else | |
| 7584 lt_cv_prog_compiler_c_o=no | |
| 7585 $RM -r conftest 2>/dev/null | |
| 7586 mkdir conftest | |
| 7587 cd conftest | |
| 7588 mkdir out | |
| 7589 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 7590 | |
| 7591 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 7592 # Insert the option either (1) after the last *FLAGS variable, or | |
| 7593 # (2) before a word containing "conftest.", or (3) at the end. | |
| 7594 # Note that $ac_compile itself does not contain backslashes and begins | |
| 7595 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 7596 lt_compile=`echo "$ac_compile" | $SED \ | |
| 7597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 7598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 7599 -e 's:$: $lt_compiler_flag:'` | |
| 7600 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 7601 (eval "$lt_compile" 2>out/conftest.err) | |
| 7602 ac_status=$? | |
| 7603 cat out/conftest.err >&5 | |
| 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 7605 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 7606 then | |
| 7607 # The compiler can only warn and ignore the option if not recognized | |
| 7608 # So say no if there are warnings | |
| 7609 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 7610 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 7611 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
| 7612 lt_cv_prog_compiler_c_o=yes | |
| 7613 fi | |
| 7614 fi | |
| 7615 chmod u+w . 2>&5 | |
| 7616 $RM conftest* | |
| 7617 # SGI C++ compiler will create directory out/ii_files/ for | |
| 7618 # template instantiation | |
| 7619 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 7620 $RM out/* && rmdir out | |
| 7621 cd .. | |
| 7622 $RM -r conftest | |
| 7623 $RM conftest* | |
| 7624 | |
| 7625 fi | |
| 7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 7627 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 7628 | |
| 7629 | |
| 7630 | |
| 7631 | |
| 7632 hard_links="nottested" | |
| 7633 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | |
| 7634 # do not overwrite the value of need_locks provided by the user | |
| 7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin
ks" >&5 | |
| 7636 $as_echo_n "checking if we can lock with hard links... " >&6; } | |
| 7637 hard_links=yes | |
| 7638 $RM conftest* | |
| 7639 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 7640 touch conftest.a | |
| 7641 ln conftest.a conftest.b 2>&5 || hard_links=no | |
| 7642 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | |
| 7644 $as_echo "$hard_links" >&6; } | |
| 7645 if test "$hard_links" = no; then | |
| 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`
-c -o', so \`make -j' may be unsafe" >&5 | |
| 7647 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may b
e unsafe" >&2;} | |
| 7648 need_locks=warn | |
| 7649 fi | |
| 7650 else | |
| 7651 need_locks=no | |
| 7652 fi | |
| 7653 | |
| 7654 | |
| 7655 | |
| 7656 | |
| 7657 | |
| 7658 | |
| 7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker
($LD) supports shared libraries" >&5 | |
| 7660 $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
s... " >&6; } | |
| 7661 | |
| 7662 runpath_var= | |
| 7663 allow_undefined_flag= | |
| 7664 always_export_symbols=no | |
| 7665 archive_cmds= | |
| 7666 archive_expsym_cmds= | |
| 7667 compiler_needs_object=no | |
| 7668 enable_shared_with_static_runtimes=no | |
| 7669 export_dynamic_flag_spec= | |
| 7670 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\
''s/.* //'\'' | sort | uniq > $export_symbols' | |
| 7671 hardcode_automatic=no | |
| 7672 hardcode_direct=no | |
| 7673 hardcode_direct_absolute=no | |
| 7674 hardcode_libdir_flag_spec= | |
| 7675 hardcode_libdir_flag_spec_ld= | |
| 7676 hardcode_libdir_separator= | |
| 7677 hardcode_minus_L=no | |
| 7678 hardcode_shlibpath_var=unsupported | |
| 7679 inherit_rpath=no | |
| 7680 link_all_deplibs=unknown | |
| 7681 module_cmds= | |
| 7682 module_expsym_cmds= | |
| 7683 old_archive_from_new_cmds= | |
| 7684 old_archive_from_expsyms_cmds= | |
| 7685 thread_safe_flag_spec= | |
| 7686 whole_archive_flag_spec= | |
| 7687 # include_expsyms should be a list of space-separated symbols to be *always* | |
| 7688 # included in the symbol list | |
| 7689 include_expsyms= | |
| 7690 # exclude_expsyms can be an extended regexp of symbols to exclude | |
| 7691 # it will be wrapped by ` (' and `)$', so one must not match beginning or | |
| 7692 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | |
| 7693 # as well as any symbol that contains `d'. | |
| 7694 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | |
| 7695 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | |
| 7696 # platforms (ab)use it in PIC code, but their linkers get confused if | |
| 7697 # the symbol is explicitly referenced. Since portable code cannot | |
| 7698 # rely on this symbol name, it's probably fine to never include it in | |
| 7699 # preloaded symbol tables. | |
| 7700 # Exclude shared library initialization/finalization symbols. | |
| 7701 extract_expsyms_cmds= | |
| 7702 | |
| 7703 case $host_os in | |
| 7704 cygwin* | mingw* | pw32* | cegcc*) | |
| 7705 # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
| 7706 # When not using gcc, we currently assume that we are using | |
| 7707 # Microsoft Visual C++. | |
| 7708 if test "$GCC" != yes; then | |
| 7709 with_gnu_ld=no | |
| 7710 fi | |
| 7711 ;; | |
| 7712 interix*) | |
| 7713 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
| 7714 with_gnu_ld=yes | |
| 7715 ;; | |
| 7716 openbsd*) | |
| 7717 with_gnu_ld=no | |
| 7718 ;; | |
| 7719 esac | |
| 7720 | |
| 7721 ld_shlibs=yes | |
| 7722 | |
| 7723 # On some targets, GNU ld is compatible enough with the native linker | |
| 7724 # that we're better off using the native interface for both. | |
| 7725 lt_use_gnu_ld_interface=no | |
| 7726 if test "$with_gnu_ld" = yes; then | |
| 7727 case $host_os in | |
| 7728 aix*) | |
| 7729 # The AIX port of GNU ld has always aspired to compatibility | |
| 7730 # with the native linker. However, as the warning in the GNU ld | |
| 7731 # block says, versions before 2.19.5* couldn't really create working | |
| 7732 # shared libraries, regardless of the interface used. | |
| 7733 case `$LD -v 2>&1` in | |
| 7734 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | |
| 7735 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | |
| 7736 *\ \(GNU\ Binutils\)\ [3-9]*) ;; | |
| 7737 *) | |
| 7738 lt_use_gnu_ld_interface=yes | |
| 7739 ;; | |
| 7740 esac | |
| 7741 ;; | |
| 7742 *) | |
| 7743 lt_use_gnu_ld_interface=yes | |
| 7744 ;; | |
| 7745 esac | |
| 7746 fi | |
| 7747 | |
| 7748 if test "$lt_use_gnu_ld_interface" = yes; then | |
| 7749 # If archive_cmds runs LD, not CC, wlarc should be empty | |
| 7750 wlarc='${wl}' | |
| 7751 | |
| 7752 # Set some defaults for GNU ld with shared library support. These | |
| 7753 # are reset later if shared libraries are not supported. Putting them | |
| 7754 # here allows them to be overridden if necessary. | |
| 7755 runpath_var=LD_RUN_PATH | |
| 7756 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 7757 export_dynamic_flag_spec='${wl}--export-dynamic' | |
| 7758 # ancient GNU ld didn't support --whole-archive et. al. | |
| 7759 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | |
| 7760 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--n
o-whole-archive' | |
| 7761 else | |
| 7762 whole_archive_flag_spec= | |
| 7763 fi | |
| 7764 supports_anon_versioning=no | |
| 7765 case `$LD -v 2>&1` in | |
| 7766 *GNU\ gold*) supports_anon_versioning=yes ;; | |
| 7767 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
| 7768 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
| 7769 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
| 7770 *\ 2.11.*) ;; # other 2.11 versions | |
| 7771 *) supports_anon_versioning=yes ;; | |
| 7772 esac | |
| 7773 | |
| 7774 # See if GNU ld supports shared libraries. | |
| 7775 case $host_os in | |
| 7776 aix[3-9]*) | |
| 7777 # On AIX/PPC, the GNU linker is very broken | |
| 7778 if test "$host_cpu" != ia64; then | |
| 7779 ld_shlibs=no | |
| 7780 cat <<_LT_EOF 1>&2 | |
| 7781 | |
| 7782 *** Warning: the GNU linker, at least up to release 2.19, is reported | |
| 7783 *** to be unable to reliably create shared libraries on AIX. | |
| 7784 *** Therefore, libtool is disabling shared libraries support. If you | |
| 7785 *** really care for shared libraries, you may want to install binutils | |
| 7786 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | |
| 7787 *** You will then need to restart the configuration process. | |
| 7788 | |
| 7789 _LT_EOF | |
| 7790 fi | |
| 7791 ;; | |
| 7792 | |
| 7793 amigaos*) | |
| 7794 case $host_cpu in | |
| 7795 powerpc) | |
| 7796 # see comment about AmigaOS4 .so support | |
| 7797 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 7798 archive_expsym_cmds='' | |
| 7799 ;; | |
| 7800 m68k) | |
| 7801 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' | |
| 7802 hardcode_libdir_flag_spec='-L$libdir' | |
| 7803 hardcode_minus_L=yes | |
| 7804 ;; | |
| 7805 esac | |
| 7806 ;; | |
| 7807 | |
| 7808 beos*) | |
| 7809 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 7810 allow_undefined_flag=unsupported | |
| 7811 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
| 7812 # support --undefined. This deserves some investigation. FIXME | |
| 7813 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-sonam
e $wl$soname -o $lib' | |
| 7814 else | |
| 7815 ld_shlibs=no | |
| 7816 fi | |
| 7817 ;; | |
| 7818 | |
| 7819 cygwin* | mingw* | pw32* | cegcc*) | |
| 7820 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | |
| 7821 # as there is no search path for DLLs. | |
| 7822 hardcode_libdir_flag_spec='-L$libdir' | |
| 7823 export_dynamic_flag_spec='${wl}--export-all-symbols' | |
| 7824 allow_undefined_flag=unsupported | |
| 7825 always_export_symbols=no | |
| 7826 enable_shared_with_static_runtimes=yes | |
| 7827 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE
D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s
/.*[ ]//'\'' | sort | uniq > $export_symbols' | |
| 7828 | |
| 7829 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | |
| 7830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o
bjdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 7831 # If the export-symbols file already is a .def file (1st line | |
| 7832 # is EXPORTS), use it as is; otherwise, prepend... | |
| 7833 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en | |
| 7834 cp $export_symbols $output_objdir/$soname.def; | |
| 7835 else | |
| 7836 echo EXPORTS > $output_objdir/$soname.def; | |
| 7837 cat $export_symbols >> $output_objdir/$soname.def; | |
| 7838 fi~ | |
| 7839 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -
Xlinker $lib' | |
| 7840 else | |
| 7841 ld_shlibs=no | |
| 7842 fi | |
| 7843 ;; | |
| 7844 | |
| 7845 haiku*) | |
| 7846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $
wl$soname -o $lib' | |
| 7847 link_all_deplibs=yes | |
| 7848 ;; | |
| 7849 | |
| 7850 interix[3-9]*) | |
| 7851 hardcode_direct=no | |
| 7852 hardcode_shlibpath_var=no | |
| 7853 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 7854 export_dynamic_flag_spec='${wl}-E' | |
| 7855 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
| 7856 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
| 7857 # default) and relocated if they conflict, which is a slow very memory | |
| 7858 # consuming and fragmenting process. To avoid this, we pick a random, | |
| 7859 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
| 7860 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
| 7861 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl
}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 13421772
80` -o $lib' | |
| 7862 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' | |
| 7863 ;; | |
| 7864 | |
| 7865 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 7866 tmp_diet=no | |
| 7867 if test "$host_os" = linux-dietlibc; then | |
| 7868 case $cc_basename in | |
| 7869 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) | |
| 7870 esac | |
| 7871 fi | |
| 7872 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | |
| 7873 && test "$tmp_diet" = no | |
| 7874 then | |
| 7875 tmp_addflag= | |
| 7876 tmp_sharedflag='-shared' | |
| 7877 case $cc_basename,$host_cpu in | |
| 7878 pgcc*) # Portland Group C compiler | |
| 7879 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' | |
| 7880 tmp_addflag=' $pic_flag' | |
| 7881 ;; | |
| 7882 pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 7883 # Portland Group f77 and f90 compilers | |
| 7884 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' | |
| 7885 tmp_addflag=' $pic_flag -Mnomain' ;; | |
| 7886 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
| 7887 tmp_addflag=' -i_dynamic' ;; | |
| 7888 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
| 7889 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
| 7890 ifc* | ifort*) # Intel Fortran compiler | |
| 7891 tmp_addflag=' -nofor_main' ;; | |
| 7892 lf95*) # Lahey Fortran 8.1 | |
| 7893 whole_archive_flag_spec= | |
| 7894 tmp_sharedflag='--shared' ;; | |
| 7895 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b
elow) | |
| 7896 tmp_sharedflag='-qmkshrobj' | |
| 7897 tmp_addflag= ;; | |
| 7898 nvcc*) # Cuda Compiler Driver 2.2 | |
| 7899 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' | |
| 7900 compiler_needs_object=yes | |
| 7901 ;; | |
| 7902 esac | |
| 7903 case `$CC -V 2>&1 | sed 5q` in | |
| 7904 *Sun\ C*) # Sun C 5.9 | |
| 7905 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for co
nv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenien
ce,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | |
| 7906 compiler_needs_object=yes | |
| 7907 tmp_sharedflag='-G' ;; | |
| 7908 *Sun\ F*) # Sun Fortran 8.3 | |
| 7909 tmp_sharedflag='-G' ;; | |
| 7910 esac | |
| 7911 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 7912 | |
| 7913 if test "x$supports_anon_versioning" = xyes; then | |
| 7914 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 7915 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ | |
| 7916 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 7917 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl
ags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ve
r -o $lib' | |
| 7918 fi | |
| 7919 | |
| 7920 case $cc_basename in | |
| 7921 xlf* | bgf* | bgxlf* | mpixlf*) | |
| 7922 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | |
| 7923 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' | |
| 7924 hardcode_libdir_flag_spec= | |
| 7925 hardcode_libdir_flag_spec_ld='-rpath $libdir' | |
| 7926 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' | |
| 7927 if test "x$supports_anon_versioning" = xyes; then | |
| 7928 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 7929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ | |
| 7930 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 7931 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' | |
| 7932 fi | |
| 7933 ;; | |
| 7934 esac | |
| 7935 else | |
| 7936 ld_shlibs=no | |
| 7937 fi | |
| 7938 ;; | |
| 7939 | |
| 7940 netbsd*) | |
| 7941 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 7942 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | |
| 7943 wlarc= | |
| 7944 else | |
| 7945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
$wl$soname -o $lib' | |
| 7946 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}
-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 7947 fi | |
| 7948 ;; | |
| 7949 | |
| 7950 solaris*) | |
| 7951 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | |
| 7952 ld_shlibs=no | |
| 7953 cat <<_LT_EOF 1>&2 | |
| 7954 | |
| 7955 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | |
| 7956 *** create shared libraries on Solaris systems. Therefore, libtool | |
| 7957 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 7958 *** binutils to release 2.9.1 or newer. Another option is to modify | |
| 7959 *** your PATH or compiler configuration so that the native linker is | |
| 7960 *** used, and then restart. | |
| 7961 | |
| 7962 _LT_EOF | |
| 7963 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n | |
| 7964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
$wl$soname -o $lib' | |
| 7965 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}
-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 7966 else | |
| 7967 ld_shlibs=no | |
| 7968 fi | |
| 7969 ;; | |
| 7970 | |
| 7971 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
| 7972 case `$LD -v 2>&1` in | |
| 7973 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
| 7974 ld_shlibs=no | |
| 7975 cat <<_LT_EOF 1>&2 | |
| 7976 | |
| 7977 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
| 7978 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
| 7979 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 7980 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
| 7981 *** your PATH or compiler configuration so that the native linker is | |
| 7982 *** used, and then restart. | |
| 7983 | |
| 7984 _LT_EOF | |
| 7985 ;; | |
| 7986 *) | |
| 7987 # For security reasons, it is highly recommended that you always | |
| 7988 # use absolute paths for naming shared libraries, and exclude the | |
| 7989 # DT_RUNPATH tag from executables and libraries. But doing so | |
| 7990 # requires that you compile everything twice, which is a pain. | |
| 7991 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen | |
| 7992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 7993 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 7994 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 7995 else | |
| 7996 ld_shlibs=no | |
| 7997 fi | |
| 7998 ;; | |
| 7999 esac | |
| 8000 ;; | |
| 8001 | |
| 8002 sunos4*) | |
| 8003 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' | |
| 8004 wlarc= | |
| 8005 hardcode_direct=yes | |
| 8006 hardcode_shlibpath_var=no | |
| 8007 ;; | |
| 8008 | |
| 8009 *) | |
| 8010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 8011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
$wl$soname -o $lib' | |
| 8012 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}
-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 8013 else | |
| 8014 ld_shlibs=no | |
| 8015 fi | |
| 8016 ;; | |
| 8017 esac | |
| 8018 | |
| 8019 if test "$ld_shlibs" = no; then | |
| 8020 runpath_var= | |
| 8021 hardcode_libdir_flag_spec= | |
| 8022 export_dynamic_flag_spec= | |
| 8023 whole_archive_flag_spec= | |
| 8024 fi | |
| 8025 else | |
| 8026 # PORTME fill in a description of your system's linker (not GNU ld) | |
| 8027 case $host_os in | |
| 8028 aix3*) | |
| 8029 allow_undefined_flag=unsupported | |
| 8030 always_export_symbols=yes | |
| 8031 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $link
er_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objd
ir/$soname' | |
| 8032 # Note: this linker hardcodes the directories in LIBPATH if there | |
| 8033 # are no directories specified by -L. | |
| 8034 hardcode_minus_L=yes | |
| 8035 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | |
| 8036 # Neither direct hardcoding nor static linking is supported with a | |
| 8037 # broken collect2. | |
| 8038 hardcode_direct=unsupported | |
| 8039 fi | |
| 8040 ;; | |
| 8041 | |
| 8042 aix[4-9]*) | |
| 8043 if test "$host_cpu" = ia64; then | |
| 8044 # On IA64, the linker does run time linking by default, so we don't | |
| 8045 # have to do anything special. | |
| 8046 aix_use_runtimelinking=no | |
| 8047 exp_sym_flag='-Bexport' | |
| 8048 no_entry_flag="" | |
| 8049 else | |
| 8050 # If we're using GNU nm, then we don't want the "-C" option. | |
| 8051 # -C means demangle to AIX nm, but means don't demangle with GNU nm | |
| 8052 # Also, AIX nm treats weak defined symbols like other global | |
| 8053 # defined symbols, whereas GNU nm marks them as "W". | |
| 8054 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | |
| 8055 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' | |
| 8056 else | |
| 8057 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' | |
| 8058 fi | |
| 8059 aix_use_runtimelinking=no | |
| 8060 | |
| 8061 # Test if we are trying to use run time linking or normal | |
| 8062 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
| 8063 # need to do runtime linking. | |
| 8064 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | |
| 8065 for ld_flag in $LDFLAGS; do | |
| 8066 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | |
| 8067 aix_use_runtimelinking=yes | |
| 8068 break | |
| 8069 fi | |
| 8070 done | |
| 8071 ;; | |
| 8072 esac | |
| 8073 | |
| 8074 exp_sym_flag='-bexport' | |
| 8075 no_entry_flag='-bnoentry' | |
| 8076 fi | |
| 8077 | |
| 8078 # When large executables or shared objects are built, AIX ld can | |
| 8079 # have problems creating the table of contents. If linking a library | |
| 8080 # or program results in "error TOC overflow" add -mminimal-toc to | |
| 8081 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | |
| 8082 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | |
| 8083 | |
| 8084 archive_cmds='' | |
| 8085 hardcode_direct=yes | |
| 8086 hardcode_direct_absolute=yes | |
| 8087 hardcode_libdir_separator=':' | |
| 8088 link_all_deplibs=yes | |
| 8089 file_list_spec='${wl}-f,' | |
| 8090 | |
| 8091 if test "$GCC" = yes; then | |
| 8092 case $host_os in aix4.[012]|aix4.[012].*) | |
| 8093 # We only want to do this on AIX 4.2 and lower, the check | |
| 8094 # below for broken collect2 doesn't work under 4.3+ | |
| 8095 collect2name=`${CC} -print-prog-name=collect2` | |
| 8096 if test -f "$collect2name" && | |
| 8097 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | |
| 8098 then | |
| 8099 # We have reworked collect2 | |
| 8100 : | |
| 8101 else | |
| 8102 # We have old collect2 | |
| 8103 hardcode_direct=unsupported | |
| 8104 # It fails to find uninstalled libraries when the uninstalled | |
| 8105 # path is not listed in the libpath. Setting hardcode_minus_L | |
| 8106 # to unsupported forces relinking | |
| 8107 hardcode_minus_L=yes | |
| 8108 hardcode_libdir_flag_spec='-L$libdir' | |
| 8109 hardcode_libdir_separator= | |
| 8110 fi | |
| 8111 ;; | |
| 8112 esac | |
| 8113 shared_flag='-shared' | |
| 8114 if test "$aix_use_runtimelinking" = yes; then | |
| 8115 shared_flag="$shared_flag "'${wl}-G' | |
| 8116 fi | |
| 8117 else | |
| 8118 # not using gcc | |
| 8119 if test "$host_cpu" = ia64; then | |
| 8120 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |
| 8121 # chokes on -Wl,-G. The following line is correct: | |
| 8122 shared_flag='-G' | |
| 8123 else | |
| 8124 if test "$aix_use_runtimelinking" = yes; then | |
| 8125 shared_flag='${wl}-G' | |
| 8126 else | |
| 8127 shared_flag='${wl}-bM:SRE' | |
| 8128 fi | |
| 8129 fi | |
| 8130 fi | |
| 8131 | |
| 8132 export_dynamic_flag_spec='${wl}-bexpall' | |
| 8133 # It seems that -bexpall does not export symbols beginning with | |
| 8134 # underscore (_), so it is better to generate a list of symbols to export. | |
| 8135 always_export_symbols=yes | |
| 8136 if test "$aix_use_runtimelinking" = yes; then | |
| 8137 # Warning - without using the other runtime loading flags (-brtl), | |
| 8138 # -berok will link without error, but may produce a broken library. | |
| 8139 allow_undefined_flag='-berok' | |
| 8140 # Determine the default libpath from the value encoded in an | |
| 8141 # empty executable. | |
| 8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 8143 /* end confdefs.h. */ | |
| 8144 | |
| 8145 int | |
| 8146 main () | |
| 8147 { | |
| 8148 | |
| 8149 ; | |
| 8150 return 0; | |
| 8151 } | |
| 8152 _ACEOF | |
| 8153 if ac_fn_c_try_link "$LINENO"; then : | |
| 8154 | |
| 8155 lt_aix_libpath_sed=' | |
| 8156 /Import File Strings/,/^$/ { | |
| 8157 /^0/ { | |
| 8158 s/^0 *\(.*\)$/\1/ | |
| 8159 p | |
| 8160 } | |
| 8161 }' | |
| 8162 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat
h_sed"` | |
| 8163 # Check for a 64-bit object if we didn't find anything. | |
| 8164 if test -z "$aix_libpath"; then | |
| 8165 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l
ibpath_sed"` | |
| 8166 fi | |
| 8167 fi | |
| 8168 rm -f core conftest.err conftest.$ac_objext \ | |
| 8169 conftest$ac_exeext conftest.$ac_ext | |
| 8170 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | |
| 8171 | |
| 8172 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 8173 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_sy
m_flag:\$export_symbols $shared_flag" | |
| 8174 else | |
| 8175 if test "$host_cpu" = ia64; then | |
| 8176 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | |
| 8177 allow_undefined_flag="-z nodefs" | |
| 8178 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li
bobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_f
lag} '"\${wl}$exp_sym_flag:\$export_symbols" | |
| 8179 else | |
| 8180 # Determine the default libpath from the value encoded in an | |
| 8181 # empty executable. | |
| 8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 8183 /* end confdefs.h. */ | |
| 8184 | |
| 8185 int | |
| 8186 main () | |
| 8187 { | |
| 8188 | |
| 8189 ; | |
| 8190 return 0; | |
| 8191 } | |
| 8192 _ACEOF | |
| 8193 if ac_fn_c_try_link "$LINENO"; then : | |
| 8194 | |
| 8195 lt_aix_libpath_sed=' | |
| 8196 /Import File Strings/,/^$/ { | |
| 8197 /^0/ { | |
| 8198 s/^0 *\(.*\)$/\1/ | |
| 8199 p | |
| 8200 } | |
| 8201 }' | |
| 8202 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat
h_sed"` | |
| 8203 # Check for a 64-bit object if we didn't find anything. | |
| 8204 if test -z "$aix_libpath"; then | |
| 8205 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l
ibpath_sed"` | |
| 8206 fi | |
| 8207 fi | |
| 8208 rm -f core conftest.err conftest.$ac_objext \ | |
| 8209 conftest$ac_exeext conftest.$ac_ext | |
| 8210 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | |
| 8211 | |
| 8212 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 8213 # Warning - without using the other run time loading flags, | |
| 8214 # -berok will link without error, but may produce a broken library. | |
| 8215 no_undefined_flag=' ${wl}-bernotok' | |
| 8216 allow_undefined_flag=' ${wl}-berok' | |
| 8217 if test "$with_gnu_ld" = yes; then | |
| 8218 # We only use this code for GNU lds that support --whole-archive. | |
| 8219 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-
whole-archive' | |
| 8220 else | |
| 8221 # Exported symbols can be pulled into shared objects from archives | |
| 8222 whole_archive_flag_spec='$convenience' | |
| 8223 fi | |
| 8224 archive_cmds_need_lc=yes | |
| 8225 # This is similar to how AIX traditionally builds its shared libraries
. | |
| 8226 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li
bobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_un
defined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$so
name' | |
| 8227 fi | |
| 8228 fi | |
| 8229 ;; | |
| 8230 | |
| 8231 amigaos*) | |
| 8232 case $host_cpu in | |
| 8233 powerpc) | |
| 8234 # see comment about AmigaOS4 .so support | |
| 8235 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 8236 archive_expsym_cmds='' | |
| 8237 ;; | |
| 8238 m68k) | |
| 8239 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' | |
| 8240 hardcode_libdir_flag_spec='-L$libdir' | |
| 8241 hardcode_minus_L=yes | |
| 8242 ;; | |
| 8243 esac | |
| 8244 ;; | |
| 8245 | |
| 8246 bsdi[45]*) | |
| 8247 export_dynamic_flag_spec=-rdynamic | |
| 8248 ;; | |
| 8249 | |
| 8250 cygwin* | mingw* | pw32* | cegcc*) | |
| 8251 # When not using gcc, we currently assume that we are using | |
| 8252 # Microsoft Visual C++. | |
| 8253 # hardcode_libdir_flag_spec is actually meaningless, as there is | |
| 8254 # no search path for DLLs. | |
| 8255 hardcode_libdir_flag_spec=' ' | |
| 8256 allow_undefined_flag=unsupported | |
| 8257 # Tell ltmain to make .lib files, not .a files. | |
| 8258 libext=lib | |
| 8259 # Tell ltmain to make .dll files, not .so files. | |
| 8260 shrext_cmds=".dll" | |
| 8261 # FIXME: Setting linknames here is a bad hack. | |
| 8262 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplib
s" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | |
| 8263 # The linker will automatically build a .lib file if we build a DLL. | |
| 8264 old_archive_from_new_cmds='true' | |
| 8265 # FIXME: Should let the user specify the lib program. | |
| 8266 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | |
| 8267 fix_srcfile_path='`cygpath -w "$srcfile"`' | |
| 8268 enable_shared_with_static_runtimes=yes | |
| 8269 ;; | |
| 8270 | |
| 8271 darwin* | rhapsody*) | |
| 8272 | |
| 8273 | |
| 8274 archive_cmds_need_lc=no | |
| 8275 hardcode_direct=no | |
| 8276 hardcode_automatic=yes | |
| 8277 hardcode_shlibpath_var=unsupported | |
| 8278 if test "$lt_cv_ld_force_load" = "yes"; then | |
| 8279 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\
" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_ech
o_all \"$new_convenience\"`' | |
| 8280 else | |
| 8281 whole_archive_flag_spec='' | |
| 8282 fi | |
| 8283 link_all_deplibs=yes | |
| 8284 allow_undefined_flag="$_lt_dar_allow_undefined" | |
| 8285 case $cc_basename in | |
| 8286 ifort*) _lt_dar_can_shared=yes ;; | |
| 8287 *) _lt_dar_can_shared=$GCC ;; | |
| 8288 esac | |
| 8289 if test "$_lt_dar_can_shared" = "yes"; then | |
| 8290 output_verbose_link_cmd=func_echo_all | |
| 8291 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$d
eplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_sing
le_mod${_lt_dsymutil}" | |
| 8292 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags${_lt_dsymutil}" | |
| 8293 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${li
bname}-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}" | |
| 8294 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}" | |
| 8295 | |
| 8296 else | |
| 8297 ld_shlibs=no | |
| 8298 fi | |
| 8299 | |
| 8300 ;; | |
| 8301 | |
| 8302 dgux*) | |
| 8303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 8304 hardcode_libdir_flag_spec='-L$libdir' | |
| 8305 hardcode_shlibpath_var=no | |
| 8306 ;; | |
| 8307 | |
| 8308 freebsd1*) | |
| 8309 ld_shlibs=no | |
| 8310 ;; | |
| 8311 | |
| 8312 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
| 8313 # support. Future versions do this automatically, but an explicit c++rt0.o | |
| 8314 # does not break anything, and helps significantly (at the cost of a little | |
| 8315 # extra space). | |
| 8316 freebsd2.2*) | |
| 8317 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr
/lib/c++rt0.o' | |
| 8318 hardcode_libdir_flag_spec='-R$libdir' | |
| 8319 hardcode_direct=yes | |
| 8320 hardcode_shlibpath_var=no | |
| 8321 ;; | |
| 8322 | |
| 8323 # Unfortunately, older versions of FreeBSD 2 do not have this feature. | |
| 8324 freebsd2*) | |
| 8325 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | |
| 8326 hardcode_direct=yes | |
| 8327 hardcode_minus_L=yes | |
| 8328 hardcode_shlibpath_var=no | |
| 8329 ;; | |
| 8330 | |
| 8331 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | |
| 8332 freebsd* | dragonfly*) | |
| 8333 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | |
| 8334 hardcode_libdir_flag_spec='-R$libdir' | |
| 8335 hardcode_direct=yes | |
| 8336 hardcode_shlibpath_var=no | |
| 8337 ;; | |
| 8338 | |
| 8339 hpux9*) | |
| 8340 if test "$GCC" = yes; then | |
| 8341 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}
$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test
$output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | |
| 8342 else | |
| 8343 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $o
utput_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname
= $lib || mv $output_objdir/$soname $lib' | |
| 8344 fi | |
| 8345 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 8346 hardcode_libdir_separator=: | |
| 8347 hardcode_direct=yes | |
| 8348 | |
| 8349 # hardcode_minus_L: Not really in the search PATH, | |
| 8350 # but as the default location of the library. | |
| 8351 hardcode_minus_L=yes | |
| 8352 export_dynamic_flag_spec='${wl}-E' | |
| 8353 ;; | |
| 8354 | |
| 8355 hpux10*) | |
| 8356 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 8357 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$insta
ll_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 8358 else | |
| 8359 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' | |
| 8360 fi | |
| 8361 if test "$with_gnu_ld" = no; then | |
| 8362 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 8363 hardcode_libdir_flag_spec_ld='+b $libdir' | |
| 8364 hardcode_libdir_separator=: | |
| 8365 hardcode_direct=yes | |
| 8366 hardcode_direct_absolute=yes | |
| 8367 export_dynamic_flag_spec='${wl}-E' | |
| 8368 # hardcode_minus_L: Not really in the search PATH, | |
| 8369 # but as the default location of the library. | |
| 8370 hardcode_minus_L=yes | |
| 8371 fi | |
| 8372 ;; | |
| 8373 | |
| 8374 hpux11*) | |
| 8375 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 8376 case $host_cpu in | |
| 8377 hppa*64*) | |
| 8378 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $depli
bs $compiler_flags' | |
| 8379 ;; | |
| 8380 ia64*) | |
| 8381 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrp
ath -o $lib $libobjs $deplibs $compiler_flags' | |
| 8382 ;; | |
| 8383 *) | |
| 8384 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$ins
tall_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 8385 ;; | |
| 8386 esac | |
| 8387 else | |
| 8388 case $host_cpu in | |
| 8389 hppa*64*) | |
| 8390 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $c
ompiler_flags' | |
| 8391 ;; | |
| 8392 ia64*) | |
| 8393 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib
$libobjs $deplibs $compiler_flags' | |
| 8394 ;; | |
| 8395 *) | |
| 8396 | |
| 8397 # Older versions of the 11.00 compiler do not understand -b yet | |
| 8398 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) | |
| 8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 | |
| 8400 $as_echo_n "checking if $CC understands -b... " >&6; } | |
| 8401 if test "${lt_cv_prog_compiler__b+set}" = set; then : | |
| 8402 $as_echo_n "(cached) " >&6 | |
| 8403 else | |
| 8404 lt_cv_prog_compiler__b=no | |
| 8405 save_LDFLAGS="$LDFLAGS" | |
| 8406 LDFLAGS="$LDFLAGS -b" | |
| 8407 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 8408 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 8409 # The linker can only warn and ignore the option if not recognized | |
| 8410 # So say no if there are warnings | |
| 8411 if test -s conftest.err; then | |
| 8412 # Append any errors to the config.log. | |
| 8413 cat conftest.err 1>&5 | |
| 8414 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 8415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 8416 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 8417 lt_cv_prog_compiler__b=yes | |
| 8418 fi | |
| 8419 else | |
| 8420 lt_cv_prog_compiler__b=yes | |
| 8421 fi | |
| 8422 fi | |
| 8423 $RM -r conftest* | |
| 8424 LDFLAGS="$save_LDFLAGS" | |
| 8425 | |
| 8426 fi | |
| 8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | |
| 8428 $as_echo "$lt_cv_prog_compiler__b" >&6; } | |
| 8429 | |
| 8430 if test x"$lt_cv_prog_compiler__b" = xyes; then | |
| 8431 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $l
ib $libobjs $deplibs $compiler_flags' | |
| 8432 else | |
| 8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' | |
| 8434 fi | |
| 8435 | |
| 8436 ;; | |
| 8437 esac | |
| 8438 fi | |
| 8439 if test "$with_gnu_ld" = no; then | |
| 8440 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 8441 hardcode_libdir_separator=: | |
| 8442 | |
| 8443 case $host_cpu in | |
| 8444 hppa*64*|ia64*) | |
| 8445 hardcode_direct=no | |
| 8446 hardcode_shlibpath_var=no | |
| 8447 ;; | |
| 8448 *) | |
| 8449 hardcode_direct=yes | |
| 8450 hardcode_direct_absolute=yes | |
| 8451 export_dynamic_flag_spec='${wl}-E' | |
| 8452 | |
| 8453 # hardcode_minus_L: Not really in the search PATH, | |
| 8454 # but as the default location of the library. | |
| 8455 hardcode_minus_L=yes | |
| 8456 ;; | |
| 8457 esac | |
| 8458 fi | |
| 8459 ;; | |
| 8460 | |
| 8461 irix5* | irix6* | nonstopux*) | |
| 8462 if test "$GCC" = yes; then | |
| 8463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$ve
rstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | |
| 8464 # Try to use the -exported_symbol ld option, if it does not | |
| 8465 # work, assume that -exports_file does not work either and | |
| 8466 # implicitly export all symbols. | |
| 8467 save_LDFLAGS="$LDFLAGS" | |
| 8468 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_re
gistry ${wl}/dev/null" | |
| 8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 8470 /* end confdefs.h. */ | |
| 8471 int foo(void) {} | |
| 8472 _ACEOF | |
| 8473 if ac_fn_c_try_link "$LINENO"; then : | |
| 8474 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-sonam
e ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$v
erstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-export
s_file ${wl}$export_symbols -o $lib' | |
| 8475 | |
| 8476 fi | |
| 8477 rm -f core conftest.err conftest.$ac_objext \ | |
| 8478 conftest$ac_exeext conftest.$ac_ext | |
| 8479 LDFLAGS="$save_LDFLAGS" | |
| 8480 else | |
| 8481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $son
ame `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_re
gistry ${output_objdir}/so_locations -o $lib' | |
| 8482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sona
me $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -up
date_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $li
b' | |
| 8483 fi | |
| 8484 archive_cmds_need_lc='no' | |
| 8485 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 8486 hardcode_libdir_separator=: | |
| 8487 inherit_rpath=yes | |
| 8488 link_all_deplibs=yes | |
| 8489 ;; | |
| 8490 | |
| 8491 netbsd*) | |
| 8492 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 8493 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out | |
| 8494 else | |
| 8495 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF | |
| 8496 fi | |
| 8497 hardcode_libdir_flag_spec='-R$libdir' | |
| 8498 hardcode_direct=yes | |
| 8499 hardcode_shlibpath_var=no | |
| 8500 ;; | |
| 8501 | |
| 8502 newsos6) | |
| 8503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 8504 hardcode_direct=yes | |
| 8505 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 8506 hardcode_libdir_separator=: | |
| 8507 hardcode_shlibpath_var=no | |
| 8508 ;; | |
| 8509 | |
| 8510 *nto* | *qnx*) | |
| 8511 ;; | |
| 8512 | |
| 8513 openbsd*) | |
| 8514 if test -f /usr/libexec/ld.so; then | |
| 8515 hardcode_direct=yes | |
| 8516 hardcode_shlibpath_var=no | |
| 8517 hardcode_direct_absolute=yes | |
| 8518 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os
-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 8519 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' | |
| 8520 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $
compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
| 8521 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 8522 export_dynamic_flag_spec='${wl}-E' | |
| 8523 else | |
| 8524 case $host_os in | |
| 8525 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | |
| 8526 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_fla
gs' | |
| 8527 hardcode_libdir_flag_spec='-R$libdir' | |
| 8528 ;; | |
| 8529 *) | |
| 8530 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $comp
iler_flags' | |
| 8531 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 8532 ;; | |
| 8533 esac | |
| 8534 fi | |
| 8535 else | |
| 8536 ld_shlibs=no | |
| 8537 fi | |
| 8538 ;; | |
| 8539 | |
| 8540 os2*) | |
| 8541 hardcode_libdir_flag_spec='-L$libdir' | |
| 8542 hardcode_minus_L=yes | |
| 8543 allow_undefined_flag=unsupported | |
| 8544 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libn
ame.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DAT
A >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$lib
name.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' | |
| 8545 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_obj
dir/$libname.def' | |
| 8546 ;; | |
| 8547 | |
| 8548 osf3*) | |
| 8549 if test "$GCC" = yes; then | |
| 8550 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 8551 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${w
l}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_
locations -o $lib' | |
| 8552 else | |
| 8553 allow_undefined_flag=' -expect_unresolved \*' | |
| 8554 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version
$verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | |
| 8555 fi | |
| 8556 archive_cmds_need_lc='no' | |
| 8557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 8558 hardcode_libdir_separator=: | |
| 8559 ;; | |
| 8560 | |
| 8561 osf4* | osf5*) # as osf3* with the addition of -msym flag | |
| 8562 if test "$GCC" = yes; then | |
| 8563 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 8564 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_ec
ho_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_
objdir}/so_locations -o $lib' | |
| 8565 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 8566 else | |
| 8567 allow_undefined_flag=' -expect_unresolved \*' | |
| 8568 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_ve
rsion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | |
| 8569 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~ | |
| 8570 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_f
lags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_vers
ion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib
.exp' | |
| 8571 | |
| 8572 # Both c and cxx compiler support -rpath directly | |
| 8573 hardcode_libdir_flag_spec='-rpath $libdir' | |
| 8574 fi | |
| 8575 archive_cmds_need_lc='no' | |
| 8576 hardcode_libdir_separator=: | |
| 8577 ;; | |
| 8578 | |
| 8579 solaris*) | |
| 8580 no_undefined_flag=' -z defs' | |
| 8581 if test "$GCC" = yes; then | |
| 8582 wlarc='${wl}' | |
| 8583 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib
$libobjs $deplibs $compiler_flags' | |
| 8584 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $
SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 8585 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$sona
me -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | |
| 8586 else | |
| 8587 case `$CC -V 2>&1` in | |
| 8588 *"Compilers 5.0"*) | |
| 8589 wlarc='' | |
| 8590 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $linker_flags' | |
| 8591 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 8592 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' | |
| 8593 ;; | |
| 8594 *) | |
| 8595 wlarc='${wl}' | |
| 8596 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $compiler_flags' | |
| 8597 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 8598 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' | |
| 8599 ;; | |
| 8600 esac | |
| 8601 fi | |
| 8602 hardcode_libdir_flag_spec='-R$libdir' | |
| 8603 hardcode_shlibpath_var=no | |
| 8604 case $host_os in | |
| 8605 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
| 8606 *) | |
| 8607 # The compiler driver will combine and reorder linker options, | |
| 8608 # but understands `-z linker_flag'. GCC discards it without `$wl', | |
| 8609 # but is careful enough not to reorder. | |
| 8610 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
| 8611 if test "$GCC" = yes; then | |
| 8612 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z $
{wl}defaultextract' | |
| 8613 else | |
| 8614 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | |
| 8615 fi | |
| 8616 ;; | |
| 8617 esac | |
| 8618 link_all_deplibs=yes | |
| 8619 ;; | |
| 8620 | |
| 8621 sunos4*) | |
| 8622 if test "x$host_vendor" = xsequent; then | |
| 8623 # Use $CC to link under sequent, because it throws in some extra .o | |
| 8624 # files that make .init and .fini sections work. | |
| 8625 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 8626 else | |
| 8627 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' | |
| 8628 fi | |
| 8629 hardcode_libdir_flag_spec='-L$libdir' | |
| 8630 hardcode_direct=yes | |
| 8631 hardcode_minus_L=yes | |
| 8632 hardcode_shlibpath_var=no | |
| 8633 ;; | |
| 8634 | |
| 8635 sysv4) | |
| 8636 case $host_vendor in | |
| 8637 sni) | |
| 8638 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
| 8639 hardcode_direct=yes # is this really true??? | |
| 8640 ;; | |
| 8641 siemens) | |
| 8642 ## LD is ld it makes a PLAMLIB | |
| 8643 ## CC just makes a GrossModule. | |
| 8644 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | |
| 8645 reload_cmds='$CC -r -o $output$reload_objs' | |
| 8646 hardcode_direct=no | |
| 8647 ;; | |
| 8648 motorola) | |
| 8649 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
| 8650 hardcode_direct=no #Motorola manual says yes, but my tests say they li
e | |
| 8651 ;; | |
| 8652 esac | |
| 8653 runpath_var='LD_RUN_PATH' | |
| 8654 hardcode_shlibpath_var=no | |
| 8655 ;; | |
| 8656 | |
| 8657 sysv4.3*) | |
| 8658 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 8659 hardcode_shlibpath_var=no | |
| 8660 export_dynamic_flag_spec='-Bexport' | |
| 8661 ;; | |
| 8662 | |
| 8663 sysv4*MP*) | |
| 8664 if test -d /usr/nec; then | |
| 8665 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 8666 hardcode_shlibpath_var=no | |
| 8667 runpath_var=LD_RUN_PATH | |
| 8668 hardcode_runpath_var=yes | |
| 8669 ld_shlibs=yes | |
| 8670 fi | |
| 8671 ;; | |
| 8672 | |
| 8673 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) | |
| 8674 no_undefined_flag='${wl}-z,text' | |
| 8675 archive_cmds_need_lc=no | |
| 8676 hardcode_shlibpath_var=no | |
| 8677 runpath_var='LD_RUN_PATH' | |
| 8678 | |
| 8679 if test "$GCC" = yes; then | |
| 8680 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' | |
| 8681 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 8682 else | |
| 8683 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 8684 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' | |
| 8685 fi | |
| 8686 ;; | |
| 8687 | |
| 8688 sysv5* | sco3.2v5* | sco5v6*) | |
| 8689 # Note: We can NOT use -z defs as we might desire, because we do not | |
| 8690 # link with -lc, and that would cause any symbols used from libc to | |
| 8691 # always be unresolved, which means just about no library would | |
| 8692 # ever link correctly. If we're not using GNU ld we use -z text | |
| 8693 # though, which does catch some bad symbols but isn't as heavy-handed | |
| 8694 # as -z defs. | |
| 8695 no_undefined_flag='${wl}-z,text' | |
| 8696 allow_undefined_flag='${wl}-z,nodefs' | |
| 8697 archive_cmds_need_lc=no | |
| 8698 hardcode_shlibpath_var=no | |
| 8699 hardcode_libdir_flag_spec='${wl}-R,$libdir' | |
| 8700 hardcode_libdir_separator=':' | |
| 8701 link_all_deplibs=yes | |
| 8702 export_dynamic_flag_spec='${wl}-Bexport' | |
| 8703 runpath_var='LD_RUN_PATH' | |
| 8704 | |
| 8705 if test "$GCC" = yes; then | |
| 8706 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' | |
| 8707 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 8708 else | |
| 8709 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 8710 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' | |
| 8711 fi | |
| 8712 ;; | |
| 8713 | |
| 8714 uts4*) | |
| 8715 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 8716 hardcode_libdir_flag_spec='-L$libdir' | |
| 8717 hardcode_shlibpath_var=no | |
| 8718 ;; | |
| 8719 | |
| 8720 *) | |
| 8721 ld_shlibs=no | |
| 8722 ;; | |
| 8723 esac | |
| 8724 | |
| 8725 if test x$host_vendor = xsni; then | |
| 8726 case $host in | |
| 8727 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
| 8728 export_dynamic_flag_spec='${wl}-Blargedynsym' | |
| 8729 ;; | |
| 8730 esac | |
| 8731 fi | |
| 8732 fi | |
| 8733 | |
| 8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | |
| 8735 $as_echo "$ld_shlibs" >&6; } | |
| 8736 test "$ld_shlibs" = no && can_build_shared=no | |
| 8737 | |
| 8738 with_gnu_ld=$with_gnu_ld | |
| 8739 | |
| 8740 | |
| 8741 | |
| 8742 | |
| 8743 | |
| 8744 | |
| 8745 | |
| 8746 | |
| 8747 | |
| 8748 | |
| 8749 | |
| 8750 | |
| 8751 | |
| 8752 | |
| 8753 | |
| 8754 # | |
| 8755 # Do we need to explicitly link libc? | |
| 8756 # | |
| 8757 case "x$archive_cmds_need_lc" in | |
| 8758 x|xyes) | |
| 8759 # Assume -lc should be added | |
| 8760 archive_cmds_need_lc=yes | |
| 8761 | |
| 8762 if test "$enable_shared" = yes && test "$GCC" = yes; then | |
| 8763 case $archive_cmds in | |
| 8764 *'~'*) | |
| 8765 # FIXME: we may have to deal with multi-command sequences. | |
| 8766 ;; | |
| 8767 '$CC '*) | |
| 8768 # Test whether the compiler implicitly links with -lc since on some | |
| 8769 # systems, -lgcc has to come before -lc. If gcc already passes -lc | |
| 8770 # to ld, don't add -lc before -lgcc. | |
| 8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex
plicitly linked in" >&5 | |
| 8772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | |
| 8773 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : | |
| 8774 $as_echo_n "(cached) " >&6 | |
| 8775 else | |
| 8776 $RM conftest* | |
| 8777 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 8778 | |
| 8779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; }
>&5 | |
| 8780 (eval $ac_compile) 2>&5 | |
| 8781 ac_status=$? | |
| 8782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 8783 test $ac_status = 0; } 2>conftest.err; then | |
| 8784 soname=conftest | |
| 8785 lib=conftest | |
| 8786 libobjs=conftest.$ac_objext | |
| 8787 deplibs= | |
| 8788 wl=$lt_prog_compiler_wl | |
| 8789 pic_flag=$lt_prog_compiler_pic | |
| 8790 compiler_flags=-v | |
| 8791 linker_flags=-v | |
| 8792 verstring= | |
| 8793 output_objdir=. | |
| 8794 libname=conftest | |
| 8795 lt_save_allow_undefined_flag=$allow_undefined_flag | |
| 8796 allow_undefined_flag= | |
| 8797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\
>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | |
| 8798 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | |
| 8799 ac_status=$? | |
| 8800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 8801 test $ac_status = 0; } | |
| 8802 then | |
| 8803 lt_cv_archive_cmds_need_lc=no | |
| 8804 else | |
| 8805 lt_cv_archive_cmds_need_lc=yes | |
| 8806 fi | |
| 8807 allow_undefined_flag=$lt_save_allow_undefined_flag | |
| 8808 else | |
| 8809 cat conftest.err 1>&5 | |
| 8810 fi | |
| 8811 $RM conftest* | |
| 8812 | |
| 8813 fi | |
| 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&
5 | |
| 8815 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | |
| 8816 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | |
| 8817 ;; | |
| 8818 esac | |
| 8819 fi | |
| 8820 ;; | |
| 8821 esac | |
| 8822 | |
| 8823 | |
| 8824 | |
| 8825 | |
| 8826 | |
| 8827 | |
| 8828 | |
| 8829 | |
| 8830 | |
| 8831 | |
| 8832 | |
| 8833 | |
| 8834 | |
| 8835 | |
| 8836 | |
| 8837 | |
| 8838 | |
| 8839 | |
| 8840 | |
| 8841 | |
| 8842 | |
| 8843 | |
| 8844 | |
| 8845 | |
| 8846 | |
| 8847 | |
| 8848 | |
| 8849 | |
| 8850 | |
| 8851 | |
| 8852 | |
| 8853 | |
| 8854 | |
| 8855 | |
| 8856 | |
| 8857 | |
| 8858 | |
| 8859 | |
| 8860 | |
| 8861 | |
| 8862 | |
| 8863 | |
| 8864 | |
| 8865 | |
| 8866 | |
| 8867 | |
| 8868 | |
| 8869 | |
| 8870 | |
| 8871 | |
| 8872 | |
| 8873 | |
| 8874 | |
| 8875 | |
| 8876 | |
| 8877 | |
| 8878 | |
| 8879 | |
| 8880 | |
| 8881 | |
| 8882 | |
| 8883 | |
| 8884 | |
| 8885 | |
| 8886 | |
| 8887 | |
| 8888 | |
| 8889 | |
| 8890 | |
| 8891 | |
| 8892 | |
| 8893 | |
| 8894 | |
| 8895 | |
| 8896 | |
| 8897 | |
| 8898 | |
| 8899 | |
| 8900 | |
| 8901 | |
| 8902 | |
| 8903 | |
| 8904 | |
| 8905 | |
| 8906 | |
| 8907 | |
| 8908 | |
| 8909 | |
| 8910 | |
| 8911 | |
| 8912 | |
| 8913 | |
| 8914 | |
| 8915 | |
| 8916 | |
| 8917 | |
| 8918 | |
| 8919 | |
| 8920 | |
| 8921 | |
| 8922 | |
| 8923 | |
| 8924 | |
| 8925 | |
| 8926 | |
| 8927 | |
| 8928 | |
| 8929 | |
| 8930 | |
| 8931 | |
| 8932 | |
| 8933 | |
| 8934 | |
| 8935 | |
| 8936 | |
| 8937 | |
| 8938 | |
| 8939 | |
| 8940 | |
| 8941 | |
| 8942 | |
| 8943 | |
| 8944 | |
| 8945 | |
| 8946 | |
| 8947 | |
| 8948 | |
| 8949 | |
| 8950 | |
| 8951 | |
| 8952 | |
| 8953 | |
| 8954 | |
| 8955 | |
| 8956 | |
| 8957 | |
| 8958 | |
| 8959 | |
| 8960 | |
| 8961 | |
| 8962 | |
| 8963 | |
| 8964 | |
| 8965 | |
| 8966 | |
| 8967 | |
| 8968 | |
| 8969 | |
| 8970 | |
| 8971 | |
| 8972 | |
| 8973 | |
| 8974 | |
| 8975 | |
| 8976 | |
| 8977 | |
| 8978 | |
| 8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 | |
| 8980 $as_echo_n "checking dynamic linker characteristics... " >&6; } | |
| 8981 | |
| 8982 if test "$GCC" = yes; then | |
| 8983 case $host_os in | |
| 8984 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | |
| 8985 *) lt_awk_arg="/^libraries:/" ;; | |
| 8986 esac | |
| 8987 case $host_os in | |
| 8988 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; | |
| 8989 *) lt_sed_strip_eq="s,=/,/,g" ;; | |
| 8990 esac | |
| 8991 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` | |
| 8992 case $lt_search_path_spec in | |
| 8993 *\;*) | |
| 8994 # if the path contains ";" then we assume it to be the separator | |
| 8995 # otherwise default to the standard path separator (i.e. ":") - it is | |
| 8996 # assumed that no part of a normal pathname contains ";" but that should | |
| 8997 # okay in the real world where ";" in dirpaths is itself problematic. | |
| 8998 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | |
| 8999 ;; | |
| 9000 *) | |
| 9001 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` | |
| 9002 ;; | |
| 9003 esac | |
| 9004 # Ok, now we have the path, separated by spaces, we can step through it | |
| 9005 # and add multilib dir if necessary. | |
| 9006 lt_tmp_lt_search_path_spec= | |
| 9007 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d
ev/null` | |
| 9008 for lt_sys_path in $lt_search_path_spec; do | |
| 9009 if test -d "$lt_sys_path/$lt_multi_os_dir"; then | |
| 9010 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m
ulti_os_dir" | |
| 9011 else | |
| 9012 test -d "$lt_sys_path" && \ | |
| 9013 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | |
| 9014 fi | |
| 9015 done | |
| 9016 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | |
| 9017 BEGIN {RS=" "; FS="/|\n";} { | |
| 9018 lt_foo=""; | |
| 9019 lt_count=0; | |
| 9020 for (lt_i = NF; lt_i > 0; lt_i--) { | |
| 9021 if ($lt_i != "" && $lt_i != ".") { | |
| 9022 if ($lt_i == "..") { | |
| 9023 lt_count++; | |
| 9024 } else { | |
| 9025 if (lt_count == 0) { | |
| 9026 lt_foo="/" $lt_i lt_foo; | |
| 9027 } else { | |
| 9028 lt_count--; | |
| 9029 } | |
| 9030 } | |
| 9031 } | |
| 9032 } | |
| 9033 if (lt_foo != "") { lt_freq[lt_foo]++; } | |
| 9034 if (lt_freq[lt_foo] == 1) { print lt_foo; } | |
| 9035 }'` | |
| 9036 # AWK program above erroneously prepends '/' to C:/dos/paths | |
| 9037 # for these hosts. | |
| 9038 case $host_os in | |
| 9039 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | |
| 9040 $SED 's,/\([A-Za-z]:\),\1,g'` ;; | |
| 9041 esac | |
| 9042 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | |
| 9043 else | |
| 9044 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | |
| 9045 fi | |
| 9046 library_names_spec= | |
| 9047 libname_spec='lib$name' | |
| 9048 soname_spec= | |
| 9049 shrext_cmds=".so" | |
| 9050 postinstall_cmds= | |
| 9051 postuninstall_cmds= | |
| 9052 finish_cmds= | |
| 9053 finish_eval= | |
| 9054 shlibpath_var= | |
| 9055 shlibpath_overrides_runpath=unknown | |
| 9056 version_type=none | |
| 9057 dynamic_linker="$host_os ld.so" | |
| 9058 sys_lib_dlsearch_path_spec="/lib /usr/lib" | |
| 9059 need_lib_prefix=unknown | |
| 9060 hardcode_into_libs=no | |
| 9061 | |
| 9062 # when you set need_version to no, make sure it does not cause -set_version | |
| 9063 # flags to be left without arguments | |
| 9064 need_version=unknown | |
| 9065 | |
| 9066 case $host_os in | |
| 9067 aix3*) | |
| 9068 version_type=linux | |
| 9069 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | |
| 9070 shlibpath_var=LIBPATH | |
| 9071 | |
| 9072 # AIX 3 has no versioning support, so we append a major version to the name. | |
| 9073 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9074 ;; | |
| 9075 | |
| 9076 aix[4-9]*) | |
| 9077 version_type=linux | |
| 9078 need_lib_prefix=no | |
| 9079 need_version=no | |
| 9080 hardcode_into_libs=yes | |
| 9081 if test "$host_cpu" = ia64; then | |
| 9082 # AIX 5 supports IA64 | |
| 9083 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' | |
| 9084 shlibpath_var=LD_LIBRARY_PATH | |
| 9085 else | |
| 9086 # With GCC up to 2.95.x, collect2 would create an import file | |
| 9087 # for dependence libraries. The import file would start with | |
| 9088 # the line `#! .'. This would cause the generated library to | |
| 9089 # depend on `.', always an invalid library. This was fixed in | |
| 9090 # development snapshots of GCC prior to 3.0. | |
| 9091 case $host_os in | |
| 9092 aix4 | aix4.[01] | aix4.[01].*) | |
| 9093 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | |
| 9094 echo ' yes ' | |
| 9095 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | |
| 9096 : | |
| 9097 else | |
| 9098 can_build_shared=no | |
| 9099 fi | |
| 9100 ;; | |
| 9101 esac | |
| 9102 # AIX (on Power*) has no versioning support, so currently we can not hardcod
e correct | |
| 9103 # soname into executable. Probably we can add versioning support to | |
| 9104 # collect2, so additional links can be useful in future. | |
| 9105 if test "$aix_use_runtimelinking" = yes; then | |
| 9106 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | |
| 9107 # instead of lib<name>.a to let people know that these are not | |
| 9108 # typical AIX shared libraries. | |
| 9109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext}$major $libname${shared_ext}' | |
| 9110 else | |
| 9111 # We preserve .a as extension for shared libraries through AIX4.2 | |
| 9112 # and later when we are not doing run time linking. | |
| 9113 library_names_spec='${libname}${release}.a $libname.a' | |
| 9114 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9115 fi | |
| 9116 shlibpath_var=LIBPATH | |
| 9117 fi | |
| 9118 ;; | |
| 9119 | |
| 9120 amigaos*) | |
| 9121 case $host_cpu in | |
| 9122 powerpc) | |
| 9123 # Since July 2007 AmigaOS4 officially supports .so libraries. | |
| 9124 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | |
| 9125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 9126 ;; | |
| 9127 m68k) | |
| 9128 library_names_spec='$libname.ixlibrary $libname.a' | |
| 9129 # Create ${libname}_ixlibrary.a entries in /sys/libs. | |
| 9130 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu
nc_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sy
s/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixli
brary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | |
| 9131 ;; | |
| 9132 esac | |
| 9133 ;; | |
| 9134 | |
| 9135 beos*) | |
| 9136 library_names_spec='${libname}${shared_ext}' | |
| 9137 dynamic_linker="$host_os ld.so" | |
| 9138 shlibpath_var=LIBRARY_PATH | |
| 9139 ;; | |
| 9140 | |
| 9141 bsdi[45]*) | |
| 9142 version_type=linux | |
| 9143 need_version=no | |
| 9144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9145 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9146 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | |
| 9147 shlibpath_var=LD_LIBRARY_PATH | |
| 9148 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" | |
| 9149 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | |
| 9150 # the default ld.so.conf also contains /usr/contrib/lib and | |
| 9151 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | |
| 9152 # libtool to hard-code these into programs | |
| 9153 ;; | |
| 9154 | |
| 9155 cygwin* | mingw* | pw32* | cegcc*) | |
| 9156 version_type=windows | |
| 9157 shrext_cmds=".dll" | |
| 9158 need_version=no | |
| 9159 need_lib_prefix=no | |
| 9160 | |
| 9161 case $GCC,$host_os in | |
| 9162 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) | |
| 9163 library_names_spec='$libname.dll.a' | |
| 9164 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 9165 postinstall_cmds='base_file=`basename \${file}`~ | |
| 9166 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ | |
| 9167 dldir=$destdir/`dirname \$dlpath`~ | |
| 9168 test -d \$dldir || mkdir -p \$dldir~ | |
| 9169 $install_prog $dir/$dlname \$dldir/$dlname~ | |
| 9170 chmod a+x \$dldir/$dlname~ | |
| 9171 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
| 9172 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
| 9173 fi' | |
| 9174 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 9175 dlpath=$dir/\$dldll~ | |
| 9176 $RM \$dlpath' | |
| 9177 shlibpath_overrides_runpath=yes | |
| 9178 | |
| 9179 case $host_os in | |
| 9180 cygwin*) | |
| 9181 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | |
| 9182 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S
ED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 9183 | |
| 9184 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | |
| 9185 ;; | |
| 9186 mingw* | cegcc*) | |
| 9187 # MinGW DLLs use traditional 'lib' prefix | |
| 9188 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}
${shared_ext}' | |
| 9189 ;; | |
| 9190 pw32*) | |
| 9191 # pw32 DLLs use 'pw' prefix rather than 'lib' | |
| 9192 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release
} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 9193 ;; | |
| 9194 esac | |
| 9195 ;; | |
| 9196 | |
| 9197 *) | |
| 9198 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu
ffix}${shared_ext} $libname.lib' | |
| 9199 ;; | |
| 9200 esac | |
| 9201 dynamic_linker='Win32 ld.exe' | |
| 9202 # FIXME: first we should search . and the directory the executable is in | |
| 9203 shlibpath_var=PATH | |
| 9204 ;; | |
| 9205 | |
| 9206 darwin* | rhapsody*) | |
| 9207 dynamic_linker="$host_os dyld" | |
| 9208 version_type=darwin | |
| 9209 need_lib_prefix=no | |
| 9210 need_version=no | |
| 9211 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_
ext' | |
| 9212 soname_spec='${libname}${release}${major}$shared_ext' | |
| 9213 shlibpath_overrides_runpath=yes | |
| 9214 shlibpath_var=DYLD_LIBRARY_PATH | |
| 9215 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | |
| 9216 | |
| 9217 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | |
| 9218 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | |
| 9219 ;; | |
| 9220 | |
| 9221 dgux*) | |
| 9222 version_type=linux | |
| 9223 need_lib_prefix=no | |
| 9224 need_version=no | |
| 9225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname$shared_ext' | |
| 9226 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9227 shlibpath_var=LD_LIBRARY_PATH | |
| 9228 ;; | |
| 9229 | |
| 9230 freebsd1*) | |
| 9231 dynamic_linker=no | |
| 9232 ;; | |
| 9233 | |
| 9234 freebsd* | dragonfly*) | |
| 9235 # DragonFly does not have aout. When/if they implement a new | |
| 9236 # versioning mechanism, adjust this. | |
| 9237 if test -x /usr/bin/objformat; then | |
| 9238 objformat=`/usr/bin/objformat` | |
| 9239 else | |
| 9240 case $host_os in | |
| 9241 freebsd[123]*) objformat=aout ;; | |
| 9242 *) objformat=elf ;; | |
| 9243 esac | |
| 9244 fi | |
| 9245 version_type=freebsd-$objformat | |
| 9246 case $version_type in | |
| 9247 freebsd-elf*) | |
| 9248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext} $libname${shared_ext}' | |
| 9249 need_version=no | |
| 9250 need_lib_prefix=no | |
| 9251 ;; | |
| 9252 freebsd-*) | |
| 9253 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${
shared_ext}$versuffix' | |
| 9254 need_version=yes | |
| 9255 ;; | |
| 9256 esac | |
| 9257 shlibpath_var=LD_LIBRARY_PATH | |
| 9258 case $host_os in | |
| 9259 freebsd2*) | |
| 9260 shlibpath_overrides_runpath=yes | |
| 9261 ;; | |
| 9262 freebsd3.[01]* | freebsdelf3.[01]*) | |
| 9263 shlibpath_overrides_runpath=yes | |
| 9264 hardcode_into_libs=yes | |
| 9265 ;; | |
| 9266 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | |
| 9267 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
| 9268 shlibpath_overrides_runpath=no | |
| 9269 hardcode_into_libs=yes | |
| 9270 ;; | |
| 9271 *) # from 4.6 on, and DragonFly | |
| 9272 shlibpath_overrides_runpath=yes | |
| 9273 hardcode_into_libs=yes | |
| 9274 ;; | |
| 9275 esac | |
| 9276 ;; | |
| 9277 | |
| 9278 gnu*) | |
| 9279 version_type=linux | |
| 9280 need_lib_prefix=no | |
| 9281 need_version=no | |
| 9282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' | |
| 9283 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9284 shlibpath_var=LD_LIBRARY_PATH | |
| 9285 hardcode_into_libs=yes | |
| 9286 ;; | |
| 9287 | |
| 9288 haiku*) | |
| 9289 version_type=linux | |
| 9290 need_lib_prefix=no | |
| 9291 need_version=no | |
| 9292 dynamic_linker="$host_os runtime_loader" | |
| 9293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' | |
| 9294 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9295 shlibpath_var=LIBRARY_PATH | |
| 9296 shlibpath_overrides_runpath=yes | |
| 9297 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' | |
| 9298 hardcode_into_libs=yes | |
| 9299 ;; | |
| 9300 | |
| 9301 hpux9* | hpux10* | hpux11*) | |
| 9302 # Give a soname corresponding to the major version so that dld.sl refuses to | |
| 9303 # link against other versions. | |
| 9304 version_type=sunos | |
| 9305 need_lib_prefix=no | |
| 9306 need_version=no | |
| 9307 case $host_cpu in | |
| 9308 ia64*) | |
| 9309 shrext_cmds='.so' | |
| 9310 hardcode_into_libs=yes | |
| 9311 dynamic_linker="$host_os dld.so" | |
| 9312 shlibpath_var=LD_LIBRARY_PATH | |
| 9313 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 9314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 9315 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9316 if test "X$HPUX_IA64_MODE" = X32; then | |
| 9317 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" | |
| 9318 else | |
| 9319 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |
| 9320 fi | |
| 9321 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 9322 ;; | |
| 9323 hppa*64*) | |
| 9324 shrext_cmds='.sl' | |
| 9325 hardcode_into_libs=yes | |
| 9326 dynamic_linker="$host_os dld.sl" | |
| 9327 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |
| 9328 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 9330 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9331 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | |
| 9332 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 9333 ;; | |
| 9334 *) | |
| 9335 shrext_cmds='.sl' | |
| 9336 dynamic_linker="$host_os dld.sl" | |
| 9337 shlibpath_var=SHLIB_PATH | |
| 9338 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | |
| 9339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 9340 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9341 ;; | |
| 9342 esac | |
| 9343 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | |
| 9344 postinstall_cmds='chmod 555 $lib' | |
| 9345 # or fails outright, so override atomically: | |
| 9346 install_override_mode=555 | |
| 9347 ;; | |
| 9348 | |
| 9349 interix[3-9]*) | |
| 9350 version_type=linux | |
| 9351 need_lib_prefix=no | |
| 9352 need_version=no | |
| 9353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' | |
| 9354 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9355 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
| 9356 shlibpath_var=LD_LIBRARY_PATH | |
| 9357 shlibpath_overrides_runpath=no | |
| 9358 hardcode_into_libs=yes | |
| 9359 ;; | |
| 9360 | |
| 9361 irix5* | irix6* | nonstopux*) | |
| 9362 case $host_os in | |
| 9363 nonstopux*) version_type=nonstopux ;; | |
| 9364 *) | |
| 9365 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 9366 version_type=linux | |
| 9367 else | |
| 9368 version_type=irix | |
| 9369 fi ;; | |
| 9370 esac | |
| 9371 need_lib_prefix=no | |
| 9372 need_version=no | |
| 9373 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext
}' | |
| 9375 case $host_os in | |
| 9376 irix5* | nonstopux*) | |
| 9377 libsuff= shlibsuff= | |
| 9378 ;; | |
| 9379 *) | |
| 9380 case $LD in # libtool.m4 will add one of these switches to LD | |
| 9381 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | |
| 9382 libsuff= shlibsuff= libmagic=32-bit;; | |
| 9383 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | |
| 9384 libsuff=32 shlibsuff=N32 libmagic=N32;; | |
| 9385 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | |
| 9386 libsuff=64 shlibsuff=64 libmagic=64-bit;; | |
| 9387 *) libsuff= shlibsuff= libmagic=never-match;; | |
| 9388 esac | |
| 9389 ;; | |
| 9390 esac | |
| 9391 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | |
| 9392 shlibpath_overrides_runpath=no | |
| 9393 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li
bsuff}" | |
| 9394 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | |
| 9395 hardcode_into_libs=yes | |
| 9396 ;; | |
| 9397 | |
| 9398 # No shared lib support for Linux oldld, aout, or coff. | |
| 9399 linux*oldld* | linux*aout* | linux*coff*) | |
| 9400 dynamic_linker=no | |
| 9401 ;; | |
| 9402 | |
| 9403 # This must be Linux ELF. | |
| 9404 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 9405 version_type=linux | |
| 9406 need_lib_prefix=no | |
| 9407 need_version=no | |
| 9408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9409 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9410 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
| 9411 shlibpath_var=LD_LIBRARY_PATH | |
| 9412 shlibpath_overrides_runpath=no | |
| 9413 | |
| 9414 # Some binutils ld are patched to set DT_RUNPATH | |
| 9415 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : | |
| 9416 $as_echo_n "(cached) " >&6 | |
| 9417 else | |
| 9418 lt_cv_shlibpath_overrides_runpath=no | |
| 9419 save_LDFLAGS=$LDFLAGS | |
| 9420 save_libdir=$libdir | |
| 9421 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | |
| 9422 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | |
| 9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9424 /* end confdefs.h. */ | |
| 9425 | |
| 9426 int | |
| 9427 main () | |
| 9428 { | |
| 9429 | |
| 9430 ; | |
| 9431 return 0; | |
| 9432 } | |
| 9433 _ACEOF | |
| 9434 if ac_fn_c_try_link "$LINENO"; then : | |
| 9435 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/d
ev/null; then : | |
| 9436 lt_cv_shlibpath_overrides_runpath=yes | |
| 9437 fi | |
| 9438 fi | |
| 9439 rm -f core conftest.err conftest.$ac_objext \ | |
| 9440 conftest$ac_exeext conftest.$ac_ext | |
| 9441 LDFLAGS=$save_LDFLAGS | |
| 9442 libdir=$save_libdir | |
| 9443 | |
| 9444 fi | |
| 9445 | |
| 9446 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | |
| 9447 | |
| 9448 # This implies no fast_install, which is unacceptable. | |
| 9449 # Some rework will be needed to allow for fast_install | |
| 9450 # before this can be enabled. | |
| 9451 hardcode_into_libs=yes | |
| 9452 | |
| 9453 # Add ABI-specific directories to the system library path. | |
| 9454 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
| 9455 | |
| 9456 # Append ld.so.conf contents to the search path | |
| 9457 if test -f /etc/ld.so.conf; then | |
| 9458 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 | $S
ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^=
]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | |
| 9459 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | |
| 9460 | |
| 9461 fi | |
| 9462 | |
| 9463 # We used to test for /lib/ld.so.1 and disable shared libraries on | |
| 9464 # powerpc, because MkLinux only supported shared libraries with the | |
| 9465 # GNU dynamic linker. Since this was broken with cross compilers, | |
| 9466 # most powerpc-linux boxes support dynamic linking these days and | |
| 9467 # people can always --disable-shared, the test was removed, and we | |
| 9468 # assume the GNU/Linux dynamic linker is in use. | |
| 9469 dynamic_linker='GNU/Linux ld.so' | |
| 9470 ;; | |
| 9471 | |
| 9472 netbsd*) | |
| 9473 version_type=sunos | |
| 9474 need_lib_prefix=no | |
| 9475 need_version=no | |
| 9476 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 9477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
shared_ext}$versuffix' | |
| 9478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 9479 dynamic_linker='NetBSD (a.out) ld.so' | |
| 9480 else | |
| 9481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major ${libname}${shared_ext}' | |
| 9482 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9483 dynamic_linker='NetBSD ld.elf_so' | |
| 9484 fi | |
| 9485 shlibpath_var=LD_LIBRARY_PATH | |
| 9486 shlibpath_overrides_runpath=yes | |
| 9487 hardcode_into_libs=yes | |
| 9488 ;; | |
| 9489 | |
| 9490 newsos6) | |
| 9491 version_type=linux | |
| 9492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9493 shlibpath_var=LD_LIBRARY_PATH | |
| 9494 shlibpath_overrides_runpath=yes | |
| 9495 ;; | |
| 9496 | |
| 9497 *nto* | *qnx*) | |
| 9498 version_type=qnx | |
| 9499 need_lib_prefix=no | |
| 9500 need_version=no | |
| 9501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9502 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9503 shlibpath_var=LD_LIBRARY_PATH | |
| 9504 shlibpath_overrides_runpath=no | |
| 9505 hardcode_into_libs=yes | |
| 9506 dynamic_linker='ldqnx.so' | |
| 9507 ;; | |
| 9508 | |
| 9509 openbsd*) | |
| 9510 version_type=sunos | |
| 9511 sys_lib_dlsearch_path_spec="/usr/lib" | |
| 9512 need_lib_prefix=no | |
| 9513 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | |
| 9514 case $host_os in | |
| 9515 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
| 9516 *) need_version=no ;; | |
| 9517 esac | |
| 9518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | |
| 9519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 9520 shlibpath_var=LD_LIBRARY_PATH | |
| 9521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | |
| 9522 case $host_os in | |
| 9523 openbsd2.[89] | openbsd2.[89].*) | |
| 9524 shlibpath_overrides_runpath=no | |
| 9525 ;; | |
| 9526 *) | |
| 9527 shlibpath_overrides_runpath=yes | |
| 9528 ;; | |
| 9529 esac | |
| 9530 else | |
| 9531 shlibpath_overrides_runpath=yes | |
| 9532 fi | |
| 9533 ;; | |
| 9534 | |
| 9535 os2*) | |
| 9536 libname_spec='$name' | |
| 9537 shrext_cmds=".dll" | |
| 9538 need_lib_prefix=no | |
| 9539 library_names_spec='$libname${shared_ext} $libname.a' | |
| 9540 dynamic_linker='OS/2 ld.exe' | |
| 9541 shlibpath_var=LIBPATH | |
| 9542 ;; | |
| 9543 | |
| 9544 osf3* | osf4* | osf5*) | |
| 9545 version_type=osf | |
| 9546 need_lib_prefix=no | |
| 9547 need_version=no | |
| 9548 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9550 shlibpath_var=LD_LIBRARY_PATH | |
| 9551 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" | |
| 9552 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | |
| 9553 ;; | |
| 9554 | |
| 9555 rdos*) | |
| 9556 dynamic_linker=no | |
| 9557 ;; | |
| 9558 | |
| 9559 solaris*) | |
| 9560 version_type=linux | |
| 9561 need_lib_prefix=no | |
| 9562 need_version=no | |
| 9563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9564 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9565 shlibpath_var=LD_LIBRARY_PATH | |
| 9566 shlibpath_overrides_runpath=yes | |
| 9567 hardcode_into_libs=yes | |
| 9568 # ldd complains unless libraries are executable | |
| 9569 postinstall_cmds='chmod +x $lib' | |
| 9570 ;; | |
| 9571 | |
| 9572 sunos4*) | |
| 9573 version_type=sunos | |
| 9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | |
| 9575 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | |
| 9576 shlibpath_var=LD_LIBRARY_PATH | |
| 9577 shlibpath_overrides_runpath=yes | |
| 9578 if test "$with_gnu_ld" = yes; then | |
| 9579 need_lib_prefix=no | |
| 9580 fi | |
| 9581 need_version=yes | |
| 9582 ;; | |
| 9583 | |
| 9584 sysv4 | sysv4.3*) | |
| 9585 version_type=linux | |
| 9586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9587 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9588 shlibpath_var=LD_LIBRARY_PATH | |
| 9589 case $host_vendor in | |
| 9590 sni) | |
| 9591 shlibpath_overrides_runpath=no | |
| 9592 need_lib_prefix=no | |
| 9593 runpath_var=LD_RUN_PATH | |
| 9594 ;; | |
| 9595 siemens) | |
| 9596 need_lib_prefix=no | |
| 9597 ;; | |
| 9598 motorola) | |
| 9599 need_lib_prefix=no | |
| 9600 need_version=no | |
| 9601 shlibpath_overrides_runpath=no | |
| 9602 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | |
| 9603 ;; | |
| 9604 esac | |
| 9605 ;; | |
| 9606 | |
| 9607 sysv4*MP*) | |
| 9608 if test -d /usr/nec ;then | |
| 9609 version_type=linux | |
| 9610 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$
major $libname${shared_ext}' | |
| 9611 soname_spec='$libname${shared_ext}.$major' | |
| 9612 shlibpath_var=LD_LIBRARY_PATH | |
| 9613 fi | |
| 9614 ;; | |
| 9615 | |
| 9616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 9617 version_type=freebsd-elf | |
| 9618 need_lib_prefix=no | |
| 9619 need_version=no | |
| 9620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext} $libname${shared_ext}' | |
| 9621 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9622 shlibpath_var=LD_LIBRARY_PATH | |
| 9623 shlibpath_overrides_runpath=yes | |
| 9624 hardcode_into_libs=yes | |
| 9625 if test "$with_gnu_ld" = yes; then | |
| 9626 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' | |
| 9627 else | |
| 9628 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
| 9629 case $host_os in | |
| 9630 sco3.2v5*) | |
| 9631 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
| 9632 ;; | |
| 9633 esac | |
| 9634 fi | |
| 9635 sys_lib_dlsearch_path_spec='/usr/lib' | |
| 9636 ;; | |
| 9637 | |
| 9638 tpf*) | |
| 9639 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | |
| 9640 version_type=linux | |
| 9641 need_lib_prefix=no | |
| 9642 need_version=no | |
| 9643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9644 shlibpath_var=LD_LIBRARY_PATH | |
| 9645 shlibpath_overrides_runpath=no | |
| 9646 hardcode_into_libs=yes | |
| 9647 ;; | |
| 9648 | |
| 9649 uts4*) | |
| 9650 version_type=linux | |
| 9651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 9652 soname_spec='${libname}${release}${shared_ext}$major' | |
| 9653 shlibpath_var=LD_LIBRARY_PATH | |
| 9654 ;; | |
| 9655 | |
| 9656 *) | |
| 9657 dynamic_linker=no | |
| 9658 ;; | |
| 9659 esac | |
| 9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | |
| 9661 $as_echo "$dynamic_linker" >&6; } | |
| 9662 test "$dynamic_linker" = no && can_build_shared=no | |
| 9663 | |
| 9664 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
| 9665 if test "$GCC" = yes; then | |
| 9666 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | |
| 9667 fi | |
| 9668 | |
| 9669 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | |
| 9670 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | |
| 9671 fi | |
| 9672 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | |
| 9673 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | |
| 9674 fi | |
| 9675 | |
| 9676 | |
| 9677 | |
| 9678 | |
| 9679 | |
| 9680 | |
| 9681 | |
| 9682 | |
| 9683 | |
| 9684 | |
| 9685 | |
| 9686 | |
| 9687 | |
| 9688 | |
| 9689 | |
| 9690 | |
| 9691 | |
| 9692 | |
| 9693 | |
| 9694 | |
| 9695 | |
| 9696 | |
| 9697 | |
| 9698 | |
| 9699 | |
| 9700 | |
| 9701 | |
| 9702 | |
| 9703 | |
| 9704 | |
| 9705 | |
| 9706 | |
| 9707 | |
| 9708 | |
| 9709 | |
| 9710 | |
| 9711 | |
| 9712 | |
| 9713 | |
| 9714 | |
| 9715 | |
| 9716 | |
| 9717 | |
| 9718 | |
| 9719 | |
| 9720 | |
| 9721 | |
| 9722 | |
| 9723 | |
| 9724 | |
| 9725 | |
| 9726 | |
| 9727 | |
| 9728 | |
| 9729 | |
| 9730 | |
| 9731 | |
| 9732 | |
| 9733 | |
| 9734 | |
| 9735 | |
| 9736 | |
| 9737 | |
| 9738 | |
| 9739 | |
| 9740 | |
| 9741 | |
| 9742 | |
| 9743 | |
| 9744 | |
| 9745 | |
| 9746 | |
| 9747 | |
| 9748 | |
| 9749 | |
| 9750 | |
| 9751 | |
| 9752 | |
| 9753 | |
| 9754 | |
| 9755 | |
| 9756 | |
| 9757 | |
| 9758 | |
| 9759 | |
| 9760 | |
| 9761 | |
| 9762 | |
| 9763 | |
| 9764 | |
| 9765 | |
| 9766 | |
| 9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 | |
| 9768 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | |
| 9769 hardcode_action= | |
| 9770 if test -n "$hardcode_libdir_flag_spec" || | |
| 9771 test -n "$runpath_var" || | |
| 9772 test "X$hardcode_automatic" = "Xyes" ; then | |
| 9773 | |
| 9774 # We can hardcode non-existent directories. | |
| 9775 if test "$hardcode_direct" != no && | |
| 9776 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
| 9777 # have to relink, otherwise we might link with an installed library | |
| 9778 # when we should be linking with a yet-to-be-installed one | |
| 9779 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && | |
| 9780 test "$hardcode_minus_L" != no; then | |
| 9781 # Linking always hardcodes the temporary library directory. | |
| 9782 hardcode_action=relink | |
| 9783 else | |
| 9784 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
| 9785 hardcode_action=immediate | |
| 9786 fi | |
| 9787 else | |
| 9788 # We cannot hardcode anything, or else we can only hardcode existing | |
| 9789 # directories. | |
| 9790 hardcode_action=unsupported | |
| 9791 fi | |
| 9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | |
| 9793 $as_echo "$hardcode_action" >&6; } | |
| 9794 | |
| 9795 if test "$hardcode_action" = relink || | |
| 9796 test "$inherit_rpath" = yes; then | |
| 9797 # Fast installation is not supported | |
| 9798 enable_fast_install=no | |
| 9799 elif test "$shlibpath_overrides_runpath" = yes || | |
| 9800 test "$enable_shared" = no; then | |
| 9801 # Fast installation is not necessary | |
| 9802 enable_fast_install=needless | |
| 9803 fi | |
| 9804 | |
| 9805 | |
| 9806 | |
| 9807 | |
| 9808 | |
| 9809 | |
| 9810 if test "x$enable_dlopen" != xyes; then | |
| 9811 enable_dlopen=unknown | |
| 9812 enable_dlopen_self=unknown | |
| 9813 enable_dlopen_self_static=unknown | |
| 9814 else | |
| 9815 lt_cv_dlopen=no | |
| 9816 lt_cv_dlopen_libs= | |
| 9817 | |
| 9818 case $host_os in | |
| 9819 beos*) | |
| 9820 lt_cv_dlopen="load_add_on" | |
| 9821 lt_cv_dlopen_libs= | |
| 9822 lt_cv_dlopen_self=yes | |
| 9823 ;; | |
| 9824 | |
| 9825 mingw* | pw32* | cegcc*) | |
| 9826 lt_cv_dlopen="LoadLibrary" | |
| 9827 lt_cv_dlopen_libs= | |
| 9828 ;; | |
| 9829 | |
| 9830 cygwin*) | |
| 9831 lt_cv_dlopen="dlopen" | |
| 9832 lt_cv_dlopen_libs= | |
| 9833 ;; | |
| 9834 | |
| 9835 darwin*) | |
| 9836 # if libdl is installed we need to link against it | |
| 9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 9838 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 9839 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : | |
| 9840 $as_echo_n "(cached) " >&6 | |
| 9841 else | |
| 9842 ac_check_lib_save_LIBS=$LIBS | |
| 9843 LIBS="-ldl $LIBS" | |
| 9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9845 /* end confdefs.h. */ | |
| 9846 | |
| 9847 /* Override any GCC internal prototype to avoid an error. | |
| 9848 Use char because int might match the return type of a GCC | |
| 9849 builtin and then its argument prototype would still apply. */ | |
| 9850 #ifdef __cplusplus | |
| 9851 extern "C" | |
| 9852 #endif | |
| 9853 char dlopen (); | |
| 9854 int | |
| 9855 main () | |
| 9856 { | |
| 9857 return dlopen (); | |
| 9858 ; | |
| 9859 return 0; | |
| 9860 } | |
| 9861 _ACEOF | |
| 9862 if ac_fn_c_try_link "$LINENO"; then : | |
| 9863 ac_cv_lib_dl_dlopen=yes | |
| 9864 else | |
| 9865 ac_cv_lib_dl_dlopen=no | |
| 9866 fi | |
| 9867 rm -f core conftest.err conftest.$ac_objext \ | |
| 9868 conftest$ac_exeext conftest.$ac_ext | |
| 9869 LIBS=$ac_check_lib_save_LIBS | |
| 9870 fi | |
| 9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 9872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 9873 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : | |
| 9874 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 9875 else | |
| 9876 | |
| 9877 lt_cv_dlopen="dyld" | |
| 9878 lt_cv_dlopen_libs= | |
| 9879 lt_cv_dlopen_self=yes | |
| 9880 | |
| 9881 fi | |
| 9882 | |
| 9883 ;; | |
| 9884 | |
| 9885 *) | |
| 9886 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | |
| 9887 if test "x$ac_cv_func_shl_load" = x""yes; then : | |
| 9888 lt_cv_dlopen="shl_load" | |
| 9889 else | |
| 9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | |
| 9891 $as_echo_n "checking for shl_load in -ldld... " >&6; } | |
| 9892 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : | |
| 9893 $as_echo_n "(cached) " >&6 | |
| 9894 else | |
| 9895 ac_check_lib_save_LIBS=$LIBS | |
| 9896 LIBS="-ldld $LIBS" | |
| 9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9898 /* end confdefs.h. */ | |
| 9899 | |
| 9900 /* Override any GCC internal prototype to avoid an error. | |
| 9901 Use char because int might match the return type of a GCC | |
| 9902 builtin and then its argument prototype would still apply. */ | |
| 9903 #ifdef __cplusplus | |
| 9904 extern "C" | |
| 9905 #endif | |
| 9906 char shl_load (); | |
| 9907 int | |
| 9908 main () | |
| 9909 { | |
| 9910 return shl_load (); | |
| 9911 ; | |
| 9912 return 0; | |
| 9913 } | |
| 9914 _ACEOF | |
| 9915 if ac_fn_c_try_link "$LINENO"; then : | |
| 9916 ac_cv_lib_dld_shl_load=yes | |
| 9917 else | |
| 9918 ac_cv_lib_dld_shl_load=no | |
| 9919 fi | |
| 9920 rm -f core conftest.err conftest.$ac_objext \ | |
| 9921 conftest$ac_exeext conftest.$ac_ext | |
| 9922 LIBS=$ac_check_lib_save_LIBS | |
| 9923 fi | |
| 9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | |
| 9925 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | |
| 9926 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : | |
| 9927 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | |
| 9928 else | |
| 9929 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | |
| 9930 if test "x$ac_cv_func_dlopen" = x""yes; then : | |
| 9931 lt_cv_dlopen="dlopen" | |
| 9932 else | |
| 9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 9934 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 9935 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : | |
| 9936 $as_echo_n "(cached) " >&6 | |
| 9937 else | |
| 9938 ac_check_lib_save_LIBS=$LIBS | |
| 9939 LIBS="-ldl $LIBS" | |
| 9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9941 /* end confdefs.h. */ | |
| 9942 | |
| 9943 /* Override any GCC internal prototype to avoid an error. | |
| 9944 Use char because int might match the return type of a GCC | |
| 9945 builtin and then its argument prototype would still apply. */ | |
| 9946 #ifdef __cplusplus | |
| 9947 extern "C" | |
| 9948 #endif | |
| 9949 char dlopen (); | |
| 9950 int | |
| 9951 main () | |
| 9952 { | |
| 9953 return dlopen (); | |
| 9954 ; | |
| 9955 return 0; | |
| 9956 } | |
| 9957 _ACEOF | |
| 9958 if ac_fn_c_try_link "$LINENO"; then : | |
| 9959 ac_cv_lib_dl_dlopen=yes | |
| 9960 else | |
| 9961 ac_cv_lib_dl_dlopen=no | |
| 9962 fi | |
| 9963 rm -f core conftest.err conftest.$ac_objext \ | |
| 9964 conftest$ac_exeext conftest.$ac_ext | |
| 9965 LIBS=$ac_check_lib_save_LIBS | |
| 9966 fi | |
| 9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 9968 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 9969 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : | |
| 9970 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 9971 else | |
| 9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | |
| 9973 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | |
| 9974 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : | |
| 9975 $as_echo_n "(cached) " >&6 | |
| 9976 else | |
| 9977 ac_check_lib_save_LIBS=$LIBS | |
| 9978 LIBS="-lsvld $LIBS" | |
| 9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9980 /* end confdefs.h. */ | |
| 9981 | |
| 9982 /* Override any GCC internal prototype to avoid an error. | |
| 9983 Use char because int might match the return type of a GCC | |
| 9984 builtin and then its argument prototype would still apply. */ | |
| 9985 #ifdef __cplusplus | |
| 9986 extern "C" | |
| 9987 #endif | |
| 9988 char dlopen (); | |
| 9989 int | |
| 9990 main () | |
| 9991 { | |
| 9992 return dlopen (); | |
| 9993 ; | |
| 9994 return 0; | |
| 9995 } | |
| 9996 _ACEOF | |
| 9997 if ac_fn_c_try_link "$LINENO"; then : | |
| 9998 ac_cv_lib_svld_dlopen=yes | |
| 9999 else | |
| 10000 ac_cv_lib_svld_dlopen=no | |
| 10001 fi | |
| 10002 rm -f core conftest.err conftest.$ac_objext \ | |
| 10003 conftest$ac_exeext conftest.$ac_ext | |
| 10004 LIBS=$ac_check_lib_save_LIBS | |
| 10005 fi | |
| 10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | |
| 10007 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | |
| 10008 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : | |
| 10009 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | |
| 10010 else | |
| 10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | |
| 10012 $as_echo_n "checking for dld_link in -ldld... " >&6; } | |
| 10013 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : | |
| 10014 $as_echo_n "(cached) " >&6 | |
| 10015 else | |
| 10016 ac_check_lib_save_LIBS=$LIBS | |
| 10017 LIBS="-ldld $LIBS" | |
| 10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 10019 /* end confdefs.h. */ | |
| 10020 | |
| 10021 /* Override any GCC internal prototype to avoid an error. | |
| 10022 Use char because int might match the return type of a GCC | |
| 10023 builtin and then its argument prototype would still apply. */ | |
| 10024 #ifdef __cplusplus | |
| 10025 extern "C" | |
| 10026 #endif | |
| 10027 char dld_link (); | |
| 10028 int | |
| 10029 main () | |
| 10030 { | |
| 10031 return dld_link (); | |
| 10032 ; | |
| 10033 return 0; | |
| 10034 } | |
| 10035 _ACEOF | |
| 10036 if ac_fn_c_try_link "$LINENO"; then : | |
| 10037 ac_cv_lib_dld_dld_link=yes | |
| 10038 else | |
| 10039 ac_cv_lib_dld_dld_link=no | |
| 10040 fi | |
| 10041 rm -f core conftest.err conftest.$ac_objext \ | |
| 10042 conftest$ac_exeext conftest.$ac_ext | |
| 10043 LIBS=$ac_check_lib_save_LIBS | |
| 10044 fi | |
| 10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | |
| 10046 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | |
| 10047 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : | |
| 10048 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | |
| 10049 fi | |
| 10050 | |
| 10051 | |
| 10052 fi | |
| 10053 | |
| 10054 | |
| 10055 fi | |
| 10056 | |
| 10057 | |
| 10058 fi | |
| 10059 | |
| 10060 | |
| 10061 fi | |
| 10062 | |
| 10063 | |
| 10064 fi | |
| 10065 | |
| 10066 ;; | |
| 10067 esac | |
| 10068 | |
| 10069 if test "x$lt_cv_dlopen" != xno; then | |
| 10070 enable_dlopen=yes | |
| 10071 else | |
| 10072 enable_dlopen=no | |
| 10073 fi | |
| 10074 | |
| 10075 case $lt_cv_dlopen in | |
| 10076 dlopen) | |
| 10077 save_CPPFLAGS="$CPPFLAGS" | |
| 10078 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | |
| 10079 | |
| 10080 save_LDFLAGS="$LDFLAGS" | |
| 10081 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | |
| 10082 | |
| 10083 save_LIBS="$LIBS" | |
| 10084 LIBS="$lt_cv_dlopen_libs $LIBS" | |
| 10085 | |
| 10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop
en itself" >&5 | |
| 10087 $as_echo_n "checking whether a program can dlopen itself... " >&6; } | |
| 10088 if test "${lt_cv_dlopen_self+set}" = set; then : | |
| 10089 $as_echo_n "(cached) " >&6 | |
| 10090 else | |
| 10091 if test "$cross_compiling" = yes; then : | |
| 10092 lt_cv_dlopen_self=cross | |
| 10093 else | |
| 10094 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 10095 lt_status=$lt_dlunknown | |
| 10096 cat > conftest.$ac_ext <<_LT_EOF | |
| 10097 #line $LINENO "configure" | |
| 10098 #include "confdefs.h" | |
| 10099 | |
| 10100 #if HAVE_DLFCN_H | |
| 10101 #include <dlfcn.h> | |
| 10102 #endif | |
| 10103 | |
| 10104 #include <stdio.h> | |
| 10105 | |
| 10106 #ifdef RTLD_GLOBAL | |
| 10107 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 10108 #else | |
| 10109 # ifdef DL_GLOBAL | |
| 10110 # define LT_DLGLOBAL DL_GLOBAL | |
| 10111 # else | |
| 10112 # define LT_DLGLOBAL 0 | |
| 10113 # endif | |
| 10114 #endif | |
| 10115 | |
| 10116 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 10117 find out it does not work in some platform. */ | |
| 10118 #ifndef LT_DLLAZY_OR_NOW | |
| 10119 # ifdef RTLD_LAZY | |
| 10120 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 10121 # else | |
| 10122 # ifdef DL_LAZY | |
| 10123 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 10124 # else | |
| 10125 # ifdef RTLD_NOW | |
| 10126 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 10127 # else | |
| 10128 # ifdef DL_NOW | |
| 10129 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 10130 # else | |
| 10131 # define LT_DLLAZY_OR_NOW 0 | |
| 10132 # endif | |
| 10133 # endif | |
| 10134 # endif | |
| 10135 # endif | |
| 10136 #endif | |
| 10137 | |
| 10138 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 10139 correspondingly for the symbols needed. */ | |
| 10140 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) | |
| 10141 void fnord () __attribute__((visibility("default"))); | |
| 10142 #endif | |
| 10143 | |
| 10144 void fnord () { int i=42; } | |
| 10145 int main () | |
| 10146 { | |
| 10147 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 10148 int status = $lt_dlunknown; | |
| 10149 | |
| 10150 if (self) | |
| 10151 { | |
| 10152 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 10153 else | |
| 10154 { | |
| 10155 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 10156 else puts (dlerror ()); | |
| 10157 } | |
| 10158 /* dlclose (self); */ | |
| 10159 } | |
| 10160 else | |
| 10161 puts (dlerror ()); | |
| 10162 | |
| 10163 return status; | |
| 10164 } | |
| 10165 _LT_EOF | |
| 10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 10167 (eval $ac_link) 2>&5 | |
| 10168 ac_status=$? | |
| 10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 10170 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 10171 (./conftest; exit; ) >&5 2>/dev/null | |
| 10172 lt_status=$? | |
| 10173 case x$lt_status in | |
| 10174 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
| 10175 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
| 10176 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | |
| 10177 esac | |
| 10178 else : | |
| 10179 # compilation failed | |
| 10180 lt_cv_dlopen_self=no | |
| 10181 fi | |
| 10182 fi | |
| 10183 rm -fr conftest* | |
| 10184 | |
| 10185 | |
| 10186 fi | |
| 10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | |
| 10188 $as_echo "$lt_cv_dlopen_self" >&6; } | |
| 10189 | |
| 10190 if test "x$lt_cv_dlopen_self" = xyes; then | |
| 10191 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" | |
| 10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin
ked program can dlopen itself" >&5 | |
| 10193 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } | |
| 10194 if test "${lt_cv_dlopen_self_static+set}" = set; then : | |
| 10195 $as_echo_n "(cached) " >&6 | |
| 10196 else | |
| 10197 if test "$cross_compiling" = yes; then : | |
| 10198 lt_cv_dlopen_self_static=cross | |
| 10199 else | |
| 10200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 10201 lt_status=$lt_dlunknown | |
| 10202 cat > conftest.$ac_ext <<_LT_EOF | |
| 10203 #line $LINENO "configure" | |
| 10204 #include "confdefs.h" | |
| 10205 | |
| 10206 #if HAVE_DLFCN_H | |
| 10207 #include <dlfcn.h> | |
| 10208 #endif | |
| 10209 | |
| 10210 #include <stdio.h> | |
| 10211 | |
| 10212 #ifdef RTLD_GLOBAL | |
| 10213 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 10214 #else | |
| 10215 # ifdef DL_GLOBAL | |
| 10216 # define LT_DLGLOBAL DL_GLOBAL | |
| 10217 # else | |
| 10218 # define LT_DLGLOBAL 0 | |
| 10219 # endif | |
| 10220 #endif | |
| 10221 | |
| 10222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 10223 find out it does not work in some platform. */ | |
| 10224 #ifndef LT_DLLAZY_OR_NOW | |
| 10225 # ifdef RTLD_LAZY | |
| 10226 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 10227 # else | |
| 10228 # ifdef DL_LAZY | |
| 10229 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 10230 # else | |
| 10231 # ifdef RTLD_NOW | |
| 10232 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 10233 # else | |
| 10234 # ifdef DL_NOW | |
| 10235 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 10236 # else | |
| 10237 # define LT_DLLAZY_OR_NOW 0 | |
| 10238 # endif | |
| 10239 # endif | |
| 10240 # endif | |
| 10241 # endif | |
| 10242 #endif | |
| 10243 | |
| 10244 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 10245 correspondingly for the symbols needed. */ | |
| 10246 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) | |
| 10247 void fnord () __attribute__((visibility("default"))); | |
| 10248 #endif | |
| 10249 | |
| 10250 void fnord () { int i=42; } | |
| 10251 int main () | |
| 10252 { | |
| 10253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 10254 int status = $lt_dlunknown; | |
| 10255 | |
| 10256 if (self) | |
| 10257 { | |
| 10258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 10259 else | |
| 10260 { | |
| 10261 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 10262 else puts (dlerror ()); | |
| 10263 } | |
| 10264 /* dlclose (self); */ | |
| 10265 } | |
| 10266 else | |
| 10267 puts (dlerror ()); | |
| 10268 | |
| 10269 return status; | |
| 10270 } | |
| 10271 _LT_EOF | |
| 10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 10273 (eval $ac_link) 2>&5 | |
| 10274 ac_status=$? | |
| 10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 10276 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 10277 (./conftest; exit; ) >&5 2>/dev/null | |
| 10278 lt_status=$? | |
| 10279 case x$lt_status in | |
| 10280 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 10281 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 10282 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | |
| 10283 esac | |
| 10284 else : | |
| 10285 # compilation failed | |
| 10286 lt_cv_dlopen_self_static=no | |
| 10287 fi | |
| 10288 fi | |
| 10289 rm -fr conftest* | |
| 10290 | |
| 10291 | |
| 10292 fi | |
| 10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | |
| 10294 $as_echo "$lt_cv_dlopen_self_static" >&6; } | |
| 10295 fi | |
| 10296 | |
| 10297 CPPFLAGS="$save_CPPFLAGS" | |
| 10298 LDFLAGS="$save_LDFLAGS" | |
| 10299 LIBS="$save_LIBS" | |
| 10300 ;; | |
| 10301 esac | |
| 10302 | |
| 10303 case $lt_cv_dlopen_self in | |
| 10304 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
| 10305 *) enable_dlopen_self=unknown ;; | |
| 10306 esac | |
| 10307 | |
| 10308 case $lt_cv_dlopen_self_static in | |
| 10309 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
| 10310 *) enable_dlopen_self_static=unknown ;; | |
| 10311 esac | |
| 10312 fi | |
| 10313 | |
| 10314 | |
| 10315 | |
| 10316 | |
| 10317 | |
| 10318 | |
| 10319 | |
| 10320 | |
| 10321 | |
| 10322 | |
| 10323 | |
| 10324 | |
| 10325 | |
| 10326 | |
| 10327 | |
| 10328 | |
| 10329 | |
| 10330 striplib= | |
| 10331 old_striplib= | |
| 10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is
possible" >&5 | |
| 10333 $as_echo_n "checking whether stripping libraries is possible... " >&6; } | |
| 10334 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | |
| 10335 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
| 10336 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
| 10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 10338 $as_echo "yes" >&6; } | |
| 10339 else | |
| 10340 # FIXME - insert some real tests, host_os isn't really good enough | |
| 10341 case $host_os in | |
| 10342 darwin*) | |
| 10343 if test -n "$STRIP" ; then | |
| 10344 striplib="$STRIP -x" | |
| 10345 old_striplib="$STRIP -S" | |
| 10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 10347 $as_echo "yes" >&6; } | |
| 10348 else | |
| 10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 10350 $as_echo "no" >&6; } | |
| 10351 fi | |
| 10352 ;; | |
| 10353 *) | |
| 10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 10355 $as_echo "no" >&6; } | |
| 10356 ;; | |
| 10357 esac | |
| 10358 fi | |
| 10359 | |
| 10360 | |
| 10361 | |
| 10362 | |
| 10363 | |
| 10364 | |
| 10365 | |
| 10366 | |
| 10367 | |
| 10368 | |
| 10369 | |
| 10370 | |
| 10371 # Report which library types will actually be built | |
| 10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l
ibraries" >&5 | |
| 10373 $as_echo_n "checking if libtool supports shared libraries... " >&6; } | |
| 10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | |
| 10375 $as_echo "$can_build_shared" >&6; } | |
| 10376 | |
| 10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr
aries" >&5 | |
| 10378 $as_echo_n "checking whether to build shared libraries... " >&6; } | |
| 10379 test "$can_build_shared" = "no" && enable_shared=no | |
| 10380 | |
| 10381 # On AIX, shared libraries and static libraries use the same namespace, and | |
| 10382 # are all built from PIC. | |
| 10383 case $host_os in | |
| 10384 aix3*) | |
| 10385 test "$enable_shared" = yes && enable_static=no | |
| 10386 if test -n "$RANLIB"; then | |
| 10387 archive_cmds="$archive_cmds~\$RANLIB \$lib" | |
| 10388 postinstall_cmds='$RANLIB $lib' | |
| 10389 fi | |
| 10390 ;; | |
| 10391 | |
| 10392 aix[4-9]*) | |
| 10393 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | |
| 10394 test "$enable_shared" = yes && enable_static=no | |
| 10395 fi | |
| 10396 ;; | |
| 10397 esac | |
| 10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | |
| 10399 $as_echo "$enable_shared" >&6; } | |
| 10400 | |
| 10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr
aries" >&5 | |
| 10402 $as_echo_n "checking whether to build static libraries... " >&6; } | |
| 10403 # Make sure either enable_shared or enable_static is yes. | |
| 10404 test "$enable_shared" = yes || enable_static=yes | |
| 10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | |
| 10406 $as_echo "$enable_static" >&6; } | |
| 10407 | |
| 10408 | |
| 10409 | |
| 10410 | |
| 10411 fi | |
| 10412 ac_ext=c | |
| 10413 ac_cpp='$CPP $CPPFLAGS' | |
| 10414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 10415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 10416 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 10417 | |
| 10418 CC="$lt_save_CC" | |
| 10419 | |
| 10420 | |
| 10421 | |
| 10422 | |
| 10423 | |
| 10424 | |
| 10425 | |
| 10426 | |
| 10427 | |
| 10428 | |
| 10429 | |
| 10430 | |
| 10431 | |
| 10432 ac_config_commands="$ac_config_commands libtool" | |
| 10433 | |
| 10434 | |
| 10435 | |
| 10436 | |
| 10437 # Only expand once: | |
| 10438 | |
| 10439 | |
| 10440 | |
| 10441 ac_config_files="$ac_config_files Makefile doc/Makefile tests/Makefile" | |
| 10442 | |
| 10443 cat >confcache <<\_ACEOF | |
| 10444 # This file is a shell script that caches the results of configure | |
| 10445 # tests run on this system so they can be shared between configure | |
| 10446 # scripts and configure runs, see configure's option --config-cache. | |
| 10447 # It is not useful on other systems. If it contains results you don't | |
| 10448 # want to keep, you may remove or edit it. | |
| 10449 # | |
| 10450 # config.status only pays attention to the cache file if you give it | |
| 10451 # the --recheck option to rerun configure. | |
| 10452 # | |
| 10453 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 10454 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 10455 # following values. | |
| 10456 | |
| 10457 _ACEOF | |
| 10458 | |
| 10459 # The following way of writing the cache mishandles newlines in values, | |
| 10460 # but we know of no workaround that is simple, portable, and efficient. | |
| 10461 # So, we kill variables containing newlines. | |
| 10462 # Ultrix sh set writes to stderr and can't be redirected directly, | |
| 10463 # and sets the high bit in the cache file unless we assign to the vars. | |
| 10464 ( | |
| 10465 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; d
o | |
| 10466 eval ac_val=\$$ac_var | |
| 10467 case $ac_val in #( | |
| 10468 *${as_nl}*) | |
| 10469 case $ac_var in #( | |
| 10470 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 | |
| 10471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 10472 esac | |
| 10473 case $ac_var in #( | |
| 10474 _ | IFS | as_nl) ;; #( | |
| 10475 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 10476 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 10477 esac ;; | |
| 10478 esac | |
| 10479 done | |
| 10480 | |
| 10481 (set) 2>&1 | | |
| 10482 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 10483 *${as_nl}ac_space=\ *) | |
| 10484 # `set' does not quote correctly, so add quotes: double-quote | |
| 10485 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 10486 sed -n \ | |
| 10487 "s/'/'\\\\''/g; | |
| 10488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 10489 ;; #( | |
| 10490 *) | |
| 10491 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 10492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 10493 ;; | |
| 10494 esac | | |
| 10495 sort | |
| 10496 ) | | |
| 10497 sed ' | |
| 10498 /^ac_cv_env_/b end | |
| 10499 t clear | |
| 10500 :clear | |
| 10501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 10502 t end | |
| 10503 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 10504 :end' >>confcache | |
| 10505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 10506 if test -w "$cache_file"; then | |
| 10507 test "x$cache_file" != "x/dev/null" && | |
| 10508 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 10509 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 10510 cat confcache >$cache_file | |
| 10511 else | |
| 10512 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cach
e_file" >&5 | |
| 10513 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 10514 fi | |
| 10515 fi | |
| 10516 rm -f confcache | |
| 10517 | |
| 10518 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 10519 # Let make expand exec_prefix. | |
| 10520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 10521 | |
| 10522 # Transform confdefs.h into DEFS. | |
| 10523 # Protect against shell expansion while executing Makefile rules. | |
| 10524 # Protect against Makefile macro expansion. | |
| 10525 # | |
| 10526 # If the first sed substitution is executed (which looks for macros that | |
| 10527 # take arguments), then branch to the quote section. Otherwise, | |
| 10528 # look for a macro that doesn't take arguments. | |
| 10529 ac_script=' | |
| 10530 :mline | |
| 10531 /\\$/{ | |
| 10532 N | |
| 10533 s,\\\n,, | |
| 10534 b mline | |
| 10535 } | |
| 10536 t clear | |
| 10537 :clear | |
| 10538 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\
)/-D\1=\2/g | |
| 10539 t quote | |
| 10540 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\
2/g | |
| 10541 t quote | |
| 10542 b any | |
| 10543 :quote | |
| 10544 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
| 10545 s/\[/\\&/g | |
| 10546 s/\]/\\&/g | |
| 10547 s/\$/$$/g | |
| 10548 H | |
| 10549 :any | |
| 10550 ${ | |
| 10551 g | |
| 10552 s/^\n// | |
| 10553 s/\n/ /g | |
| 10554 p | |
| 10555 } | |
| 10556 ' | |
| 10557 DEFS=`sed -n "$ac_script" confdefs.h` | |
| 10558 | |
| 10559 | |
| 10560 ac_libobjs= | |
| 10561 ac_ltlibobjs= | |
| 10562 U= | |
| 10563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 10564 # 1. Remove the extension, and $U if already installed. | |
| 10565 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 10566 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
| 10567 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 10568 # will be set to the directory where LIBOBJS objects are built. | |
| 10569 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 10570 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 10571 done | |
| 10572 LIBOBJS=$ac_libobjs | |
| 10573 | |
| 10574 LTLIBOBJS=$ac_ltlibobjs | |
| 10575 | |
| 10576 | |
| 10577 if test -n "$EXEEXT"; then | |
| 10578 am__EXEEXT_TRUE= | |
| 10579 am__EXEEXT_FALSE='#' | |
| 10580 else | |
| 10581 am__EXEEXT_TRUE='#' | |
| 10582 am__EXEEXT_FALSE= | |
| 10583 fi | |
| 10584 | |
| 10585 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
| 10586 as_fn_error $? "conditional \"AMDEP\" was never defined. | |
| 10587 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 10588 fi | |
| 10589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
| 10590 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
| 10591 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 10592 fi | |
| 10593 | |
| 10594 : ${CONFIG_STATUS=./config.status} | |
| 10595 ac_write_fail=0 | |
| 10596 ac_clean_files_save=$ac_clean_files | |
| 10597 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 10598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 10599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 10600 as_write_fail=0 | |
| 10601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 10602 #! $SHELL | |
| 10603 # Generated by $as_me. | |
| 10604 # Run this file to recreate the current configuration. | |
| 10605 # Compiler output produced by configure, useful for debugging | |
| 10606 # configure, is in config.log if it exists. | |
| 10607 | |
| 10608 debug=false | |
| 10609 ac_cs_recheck=false | |
| 10610 ac_cs_silent=false | |
| 10611 | |
| 10612 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 10613 export SHELL | |
| 10614 _ASEOF | |
| 10615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 10616 ## -------------------- ## | |
| 10617 ## M4sh Initialization. ## | |
| 10618 ## -------------------- ## | |
| 10619 | |
| 10620 # Be more Bourne compatible | |
| 10621 DUALCASE=1; export DUALCASE # for MKS sh | |
| 10622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 10623 emulate sh | |
| 10624 NULLCMD=: | |
| 10625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 10626 # is contrary to our usage. Disable this feature. | |
| 10627 alias -g '${1+"$@"}'='"$@"' | |
| 10628 setopt NO_GLOB_SUBST | |
| 10629 else | |
| 10630 case `(set -o) 2>/dev/null` in #( | |
| 10631 *posix*) : | |
| 10632 set -o posix ;; #( | |
| 10633 *) : | |
| 10634 ;; | |
| 10635 esac | |
| 10636 fi | |
| 10637 | |
| 10638 | |
| 10639 as_nl=' | |
| 10640 ' | |
| 10641 export as_nl | |
| 10642 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 10643 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 10644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 10645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 10646 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 10647 # but without wasting forks for bash or zsh. | |
| 10648 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 10649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 10650 as_echo='print -r --' | |
| 10651 as_echo_n='print -rn --' | |
| 10652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 10653 as_echo='printf %s\n' | |
| 10654 as_echo_n='printf %s' | |
| 10655 else | |
| 10656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 10657 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 10658 as_echo_n='/usr/ucb/echo -n' | |
| 10659 else | |
| 10660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 10661 as_echo_n_body='eval | |
| 10662 arg=$1; | |
| 10663 case $arg in #( | |
| 10664 *"$as_nl"*) | |
| 10665 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 10666 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 10667 esac; | |
| 10668 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 10669 ' | |
| 10670 export as_echo_n_body | |
| 10671 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 10672 fi | |
| 10673 export as_echo_body | |
| 10674 as_echo='sh -c $as_echo_body as_echo' | |
| 10675 fi | |
| 10676 | |
| 10677 # The user is always right. | |
| 10678 if test "${PATH_SEPARATOR+set}" != set; then | |
| 10679 PATH_SEPARATOR=: | |
| 10680 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 10681 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 10682 PATH_SEPARATOR=';' | |
| 10683 } | |
| 10684 fi | |
| 10685 | |
| 10686 | |
| 10687 # IFS | |
| 10688 # We need space, tab and new line, in precisely that order. Quoting is | |
| 10689 # there to prevent editors from complaining about space-tab. | |
| 10690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 10691 # splitting by setting IFS to empty value.) | |
| 10692 IFS=" "" $as_nl" | |
| 10693 | |
| 10694 # Find who we are. Look in the path if we contain no directory separator. | |
| 10695 case $0 in #(( | |
| 10696 *[\\/]* ) as_myself=$0 ;; | |
| 10697 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 10698 for as_dir in $PATH | |
| 10699 do | |
| 10700 IFS=$as_save_IFS | |
| 10701 test -z "$as_dir" && as_dir=. | |
| 10702 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 10703 done | |
| 10704 IFS=$as_save_IFS | |
| 10705 | |
| 10706 ;; | |
| 10707 esac | |
| 10708 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 10709 # in which case we are not to be found in the path. | |
| 10710 if test "x$as_myself" = x; then | |
| 10711 as_myself=$0 | |
| 10712 fi | |
| 10713 if test ! -f "$as_myself"; then | |
| 10714 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 | |
| 10715 exit 1 | |
| 10716 fi | |
| 10717 | |
| 10718 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 10719 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 10720 # suppresses any "Segmentation fault" message there. '((' could | |
| 10721 # trigger a bug in pdksh 5.2.14. | |
| 10722 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 10723 do eval test x\${$as_var+set} = xset \ | |
| 10724 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 10725 done | |
| 10726 PS1='$ ' | |
| 10727 PS2='> ' | |
| 10728 PS4='+ ' | |
| 10729 | |
| 10730 # NLS nuisances. | |
| 10731 LC_ALL=C | |
| 10732 export LC_ALL | |
| 10733 LANGUAGE=C | |
| 10734 export LANGUAGE | |
| 10735 | |
| 10736 # CDPATH. | |
| 10737 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 10738 | |
| 10739 | |
| 10740 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 10741 # ---------------------------------------- | |
| 10742 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 10743 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 10744 # script with STATUS, using 1 if that was 0. | |
| 10745 as_fn_error () | |
| 10746 { | |
| 10747 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 10748 if test "$4"; then | |
| 10749 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 10750 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 10751 fi | |
| 10752 $as_echo "$as_me: error: $2" >&2 | |
| 10753 as_fn_exit $as_status | |
| 10754 } # as_fn_error | |
| 10755 | |
| 10756 | |
| 10757 # as_fn_set_status STATUS | |
| 10758 # ----------------------- | |
| 10759 # Set $? to STATUS, without forking. | |
| 10760 as_fn_set_status () | |
| 10761 { | |
| 10762 return $1 | |
| 10763 } # as_fn_set_status | |
| 10764 | |
| 10765 # as_fn_exit STATUS | |
| 10766 # ----------------- | |
| 10767 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 10768 as_fn_exit () | |
| 10769 { | |
| 10770 set +e | |
| 10771 as_fn_set_status $1 | |
| 10772 exit $1 | |
| 10773 } # as_fn_exit | |
| 10774 | |
| 10775 # as_fn_unset VAR | |
| 10776 # --------------- | |
| 10777 # Portably unset VAR. | |
| 10778 as_fn_unset () | |
| 10779 { | |
| 10780 { eval $1=; unset $1;} | |
| 10781 } | |
| 10782 as_unset=as_fn_unset | |
| 10783 # as_fn_append VAR VALUE | |
| 10784 # ---------------------- | |
| 10785 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 10786 # advantage of any shell optimizations that allow amortized linear growth over | |
| 10787 # repeated appends, instead of the typical quadratic growth present in naive | |
| 10788 # implementations. | |
| 10789 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 10790 eval 'as_fn_append () | |
| 10791 { | |
| 10792 eval $1+=\$2 | |
| 10793 }' | |
| 10794 else | |
| 10795 as_fn_append () | |
| 10796 { | |
| 10797 eval $1=\$$1\$2 | |
| 10798 } | |
| 10799 fi # as_fn_append | |
| 10800 | |
| 10801 # as_fn_arith ARG... | |
| 10802 # ------------------ | |
| 10803 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 10804 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 10805 # must be portable across $(()) and expr. | |
| 10806 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 10807 eval 'as_fn_arith () | |
| 10808 { | |
| 10809 as_val=$(( $* )) | |
| 10810 }' | |
| 10811 else | |
| 10812 as_fn_arith () | |
| 10813 { | |
| 10814 as_val=`expr "$@" || test $? -eq 1` | |
| 10815 } | |
| 10816 fi # as_fn_arith | |
| 10817 | |
| 10818 | |
| 10819 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 10820 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 10821 as_expr=expr | |
| 10822 else | |
| 10823 as_expr=false | |
| 10824 fi | |
| 10825 | |
| 10826 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 10827 as_basename=basename | |
| 10828 else | |
| 10829 as_basename=false | |
| 10830 fi | |
| 10831 | |
| 10832 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 10833 as_dirname=dirname | |
| 10834 else | |
| 10835 as_dirname=false | |
| 10836 fi | |
| 10837 | |
| 10838 as_me=`$as_basename -- "$0" || | |
| 10839 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 10840 X"$0" : 'X\(//\)$' \| \ | |
| 10841 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 10842 $as_echo X/"$0" | | |
| 10843 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 10844 s//\1/ | |
| 10845 q | |
| 10846 } | |
| 10847 /^X\/\(\/\/\)$/{ | |
| 10848 s//\1/ | |
| 10849 q | |
| 10850 } | |
| 10851 /^X\/\(\/\).*/{ | |
| 10852 s//\1/ | |
| 10853 q | |
| 10854 } | |
| 10855 s/.*/./; q'` | |
| 10856 | |
| 10857 # Avoid depending upon Character Ranges. | |
| 10858 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 10859 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 10860 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 10861 as_cr_digits='0123456789' | |
| 10862 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 10863 | |
| 10864 ECHO_C= ECHO_N= ECHO_T= | |
| 10865 case `echo -n x` in #((((( | |
| 10866 -n*) | |
| 10867 case `echo 'xy\c'` in | |
| 10868 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 10869 xy) ECHO_C='\c';; | |
| 10870 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 10871 ECHO_T=' ';; | |
| 10872 esac;; | |
| 10873 *) | |
| 10874 ECHO_N='-n';; | |
| 10875 esac | |
| 10876 | |
| 10877 rm -f conf$$ conf$$.exe conf$$.file | |
| 10878 if test -d conf$$.dir; then | |
| 10879 rm -f conf$$.dir/conf$$.file | |
| 10880 else | |
| 10881 rm -f conf$$.dir | |
| 10882 mkdir conf$$.dir 2>/dev/null | |
| 10883 fi | |
| 10884 if (echo >conf$$.file) 2>/dev/null; then | |
| 10885 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 10886 as_ln_s='ln -s' | |
| 10887 # ... but there are two gotchas: | |
| 10888 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 10889 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 10890 # In both cases, we have to default to `cp -p'. | |
| 10891 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 10892 as_ln_s='cp -p' | |
| 10893 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 10894 as_ln_s=ln | |
| 10895 else | |
| 10896 as_ln_s='cp -p' | |
| 10897 fi | |
| 10898 else | |
| 10899 as_ln_s='cp -p' | |
| 10900 fi | |
| 10901 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 10902 rmdir conf$$.dir 2>/dev/null | |
| 10903 | |
| 10904 | |
| 10905 # as_fn_mkdir_p | |
| 10906 # ------------- | |
| 10907 # Create "$as_dir" as a directory, including parents if necessary. | |
| 10908 as_fn_mkdir_p () | |
| 10909 { | |
| 10910 | |
| 10911 case $as_dir in #( | |
| 10912 -*) as_dir=./$as_dir;; | |
| 10913 esac | |
| 10914 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 10915 as_dirs= | |
| 10916 while :; do | |
| 10917 case $as_dir in #( | |
| 10918 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 10919 *) as_qdir=$as_dir;; | |
| 10920 esac | |
| 10921 as_dirs="'$as_qdir' $as_dirs" | |
| 10922 as_dir=`$as_dirname -- "$as_dir" || | |
| 10923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 10924 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 10925 X"$as_dir" : 'X\(//\)$' \| \ | |
| 10926 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 10927 $as_echo X"$as_dir" | | |
| 10928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 10929 s//\1/ | |
| 10930 q | |
| 10931 } | |
| 10932 /^X\(\/\/\)[^/].*/{ | |
| 10933 s//\1/ | |
| 10934 q | |
| 10935 } | |
| 10936 /^X\(\/\/\)$/{ | |
| 10937 s//\1/ | |
| 10938 q | |
| 10939 } | |
| 10940 /^X\(\/\).*/{ | |
| 10941 s//\1/ | |
| 10942 q | |
| 10943 } | |
| 10944 s/.*/./; q'` | |
| 10945 test -d "$as_dir" && break | |
| 10946 done | |
| 10947 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 10948 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 10949 | |
| 10950 | |
| 10951 } # as_fn_mkdir_p | |
| 10952 if mkdir -p . 2>/dev/null; then | |
| 10953 as_mkdir_p='mkdir -p "$as_dir"' | |
| 10954 else | |
| 10955 test -d ./-p && rmdir ./-p | |
| 10956 as_mkdir_p=false | |
| 10957 fi | |
| 10958 | |
| 10959 if test -x / >/dev/null 2>&1; then | |
| 10960 as_test_x='test -x' | |
| 10961 else | |
| 10962 if ls -dL / >/dev/null 2>&1; then | |
| 10963 as_ls_L_option=L | |
| 10964 else | |
| 10965 as_ls_L_option= | |
| 10966 fi | |
| 10967 as_test_x=' | |
| 10968 eval sh -c '\'' | |
| 10969 if test -d "$1"; then | |
| 10970 test -d "$1/."; | |
| 10971 else | |
| 10972 case $1 in #( | |
| 10973 -*)set "./$1";; | |
| 10974 esac; | |
| 10975 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 10976 ???[sx]*):;;*)false;;esac;fi | |
| 10977 '\'' sh | |
| 10978 ' | |
| 10979 fi | |
| 10980 as_executable_p=$as_test_x | |
| 10981 | |
| 10982 # Sed expression to map a string onto a valid CPP name. | |
| 10983 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 10984 | |
| 10985 # Sed expression to map a string onto a valid variable name. | |
| 10986 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 10987 | |
| 10988 | |
| 10989 exec 6>&1 | |
| 10990 ## ----------------------------------- ## | |
| 10991 ## Main body of $CONFIG_STATUS script. ## | |
| 10992 ## ----------------------------------- ## | |
| 10993 _ASEOF | |
| 10994 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 10995 | |
| 10996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 10997 # Save the log message, to keep $0 and so on meaningful, and to | |
| 10998 # report actual input values of CONFIG_FILES etc. instead of their | |
| 10999 # values after options handling. | |
| 11000 ac_log=" | |
| 11001 This file was extended by hyphen $as_me 2.6, which was | |
| 11002 generated by GNU Autoconf 2.66. Invocation command line was | |
| 11003 | |
| 11004 CONFIG_FILES = $CONFIG_FILES | |
| 11005 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 11006 CONFIG_LINKS = $CONFIG_LINKS | |
| 11007 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 11008 $ $0 $@ | |
| 11009 | |
| 11010 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 11011 " | |
| 11012 | |
| 11013 _ACEOF | |
| 11014 | |
| 11015 case $ac_config_files in *" | |
| 11016 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 11017 esac | |
| 11018 | |
| 11019 | |
| 11020 | |
| 11021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11022 # Files that config.status was made for. | |
| 11023 config_files="$ac_config_files" | |
| 11024 config_commands="$ac_config_commands" | |
| 11025 | |
| 11026 _ACEOF | |
| 11027 | |
| 11028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11029 ac_cs_usage="\ | |
| 11030 \`$as_me' instantiates files and other configuration actions | |
| 11031 from templates according to the current configuration. Unless the files | |
| 11032 and actions are specified as TAGs, all are instantiated by default. | |
| 11033 | |
| 11034 Usage: $0 [OPTION]... [TAG]... | |
| 11035 | |
| 11036 -h, --help print this help, then exit | |
| 11037 -V, --version print version number and configuration settings, then exit | |
| 11038 --config print configuration, then exit | |
| 11039 -q, --quiet, --silent | |
| 11040 do not print progress messages | |
| 11041 -d, --debug don't remove temporary files | |
| 11042 --recheck update $as_me by reconfiguring in the same conditions | |
| 11043 --file=FILE[:TEMPLATE] | |
| 11044 instantiate the configuration file FILE | |
| 11045 | |
| 11046 Configuration files: | |
| 11047 $config_files | |
| 11048 | |
| 11049 Configuration commands: | |
| 11050 $config_commands | |
| 11051 | |
| 11052 Report bugs to <nemeth@openoffice.org>." | |
| 11053 | |
| 11054 _ACEOF | |
| 11055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11056 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`" | |
| 11057 ac_cs_version="\\ | |
| 11058 hyphen config.status 2.6 | |
| 11059 configured by $0, generated by GNU Autoconf 2.66, | |
| 11060 with options \\"\$ac_cs_config\\" | |
| 11061 | |
| 11062 Copyright (C) 2010 Free Software Foundation, Inc. | |
| 11063 This config.status script is free software; the Free Software Foundation | |
| 11064 gives unlimited permission to copy, distribute and modify it." | |
| 11065 | |
| 11066 ac_pwd='$ac_pwd' | |
| 11067 srcdir='$srcdir' | |
| 11068 INSTALL='$INSTALL' | |
| 11069 MKDIR_P='$MKDIR_P' | |
| 11070 AWK='$AWK' | |
| 11071 test -n "\$AWK" || AWK=awk | |
| 11072 _ACEOF | |
| 11073 | |
| 11074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11075 # The default lists apply if the user does not specify any file. | |
| 11076 ac_need_defaults=: | |
| 11077 while test $# != 0 | |
| 11078 do | |
| 11079 case $1 in | |
| 11080 --*=*) | |
| 11081 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 11082 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 11083 ac_shift=: | |
| 11084 ;; | |
| 11085 *) | |
| 11086 ac_option=$1 | |
| 11087 ac_optarg=$2 | |
| 11088 ac_shift=shift | |
| 11089 ;; | |
| 11090 esac | |
| 11091 | |
| 11092 case $ac_option in | |
| 11093 # Handling of the options. | |
| 11094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 11095 ac_cs_recheck=: ;; | |
| 11096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 11097 $as_echo "$ac_cs_version"; exit ;; | |
| 11098 --config | --confi | --conf | --con | --co | --c ) | |
| 11099 $as_echo "$ac_cs_config"; exit ;; | |
| 11100 --debug | --debu | --deb | --de | --d | -d ) | |
| 11101 debug=: ;; | |
| 11102 --file | --fil | --fi | --f ) | |
| 11103 $ac_shift | |
| 11104 case $ac_optarg in | |
| 11105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 11106 esac | |
| 11107 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 11108 ac_need_defaults=false;; | |
| 11109 --he | --h | --help | --hel | -h ) | |
| 11110 $as_echo "$ac_cs_usage"; exit ;; | |
| 11111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 11112 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 11113 ac_cs_silent=: ;; | |
| 11114 | |
| 11115 # This is an error. | |
| 11116 -*) as_fn_error $? "unrecognized option: \`$1' | |
| 11117 Try \`$0 --help' for more information." ;; | |
| 11118 | |
| 11119 *) as_fn_append ac_config_targets " $1" | |
| 11120 ac_need_defaults=false ;; | |
| 11121 | |
| 11122 esac | |
| 11123 shift | |
| 11124 done | |
| 11125 | |
| 11126 ac_configure_extra_args= | |
| 11127 | |
| 11128 if $ac_cs_silent; then | |
| 11129 exec 6>/dev/null | |
| 11130 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 11131 fi | |
| 11132 | |
| 11133 _ACEOF | |
| 11134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11135 if \$ac_cs_recheck; then | |
| 11136 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create -
-no-recursion | |
| 11137 shift | |
| 11138 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 11139 CONFIG_SHELL='$SHELL' | |
| 11140 export CONFIG_SHELL | |
| 11141 exec "\$@" | |
| 11142 fi | |
| 11143 | |
| 11144 _ACEOF | |
| 11145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11146 exec 5>>config.log | |
| 11147 { | |
| 11148 echo | |
| 11149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 11150 ## Running $as_me. ## | |
| 11151 _ASBOX | |
| 11152 $as_echo "$ac_log" | |
| 11153 } >&5 | |
| 11154 | |
| 11155 _ACEOF | |
| 11156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11157 # | |
| 11158 # INIT-COMMANDS | |
| 11159 # | |
| 11160 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
| 11161 | |
| 11162 | |
| 11163 # The HP-UX ksh and POSIX shell print the target directory to stdout | |
| 11164 # if CDPATH is set. | |
| 11165 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 11166 | |
| 11167 sed_quote_subst='$sed_quote_subst' | |
| 11168 double_quote_subst='$double_quote_subst' | |
| 11169 delay_variable_subst='$delay_variable_subst' | |
| 11170 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | |
| 11171 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | |
| 11172 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | |
| 11173 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | |
| 11174 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | |
| 11175 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s
ubst"`' | |
| 11176 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | |
| 11177 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | |
| 11178 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | |
| 11179 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | |
| 11180 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | |
| 11181 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | |
| 11182 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | |
| 11183 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | |
| 11184 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | |
| 11185 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | |
| 11186 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | |
| 11187 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | |
| 11188 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | |
| 11189 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | |
| 11190 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | |
| 11191 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | |
| 11192 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | |
| 11193 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | |
| 11194 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | |
| 11195 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | |
| 11196 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | |
| 11197 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | |
| 11198 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | |
| 11199 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11200 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | |
| 11201 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote
_subst"`' | |
| 11202 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | |
| 11203 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | |
| 11204 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | |
| 11205 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | |
| 11206 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | |
| 11207 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote
_subst"`' | |
| 11208 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q
uote_subst"`' | |
| 11209 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`
' | |
| 11210 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela
y_single_quote_subst"`' | |
| 11211 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | |
| 11212 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | |
| 11213 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | |
| 11214 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | |
| 11215 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lay_single_quote_subst"`' | |
| 11216 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $
SED "$delay_single_quote_subst"`' | |
| 11217 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c
_name_address" | $SED "$delay_single_quote_subst"`' | |
| 11218 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"`' | |
| 11219 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | |
| 11220 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | |
| 11221 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $
SED "$delay_single_quote_subst"`' | |
| 11222 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s
ubst"`' | |
| 11223 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote
_subst"`' | |
| 11224 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single
_quote_subst"`' | |
| 11225 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single
_quote_subst"`' | |
| 11226 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | |
| 11227 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | |
| 11228 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' | |
| 11229 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' | |
| 11230 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' | |
| 11231 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' | |
| 11232 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' | |
| 11233 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11234 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote
_subst"`' | |
| 11235 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote
_subst"`' | |
| 11236 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes"
| $SED "$delay_single_quote_subst"`' | |
| 11237 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_sing
le_quote_subst"`' | |
| 11238 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single
_quote_subst"`' | |
| 11239 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quo
te_subst"`' | |
| 11240 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_si
ngle_quote_subst"`' | |
| 11241 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$
delay_single_quote_subst"`' | |
| 11242 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11243 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_s
ubst"`' | |
| 11244 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11245 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_sub
st"`' | |
| 11246 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' | |
| 11247 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote
_subst"`' | |
| 11248 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst
"`' | |
| 11249 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_si
ngle_quote_subst"`' | |
| 11250 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$de
lay_single_quote_subst"`' | |
| 11251 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_si
ngle_quote_subst"`' | |
| 11252 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' | |
| 11253 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_sing
le_quote_subst"`' | |
| 11254 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`
' | |
| 11255 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
uote_subst"`' | |
| 11256 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_sub
st"`' | |
| 11257 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' | |
| 11258 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`
' | |
| 11259 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`
' | |
| 11260 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quo
te_subst"`' | |
| 11261 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_s
ubst"`' | |
| 11262 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 11263 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 11264 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11265 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' | |
| 11266 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_
single_quote_subst"`' | |
| 11267 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' | |
| 11268 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' | |
| 11269 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' | |
| 11270 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' | |
| 11271 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' | |
| 11272 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$dela
y_single_quote_subst"`' | |
| 11273 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | |
| 11274 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' | |
| 11275 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | |
| 11276 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' | |
| 11277 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' | |
| 11278 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' | |
| 11279 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | |
| 11280 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | |
| 11281 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub
st"`' | |
| 11282 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing
le_quote_subst"`' | |
| 11283 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_
single_quote_subst"`' | |
| 11284 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | |
| 11285 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | |
| 11286 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub
st"`' | |
| 11287 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si
ngle_quote_subst"`' | |
| 11288 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | |
| 11289 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | |
| 11290 | |
| 11291 LTCC='$LTCC' | |
| 11292 LTCFLAGS='$LTCFLAGS' | |
| 11293 compiler='$compiler_DEFAULT' | |
| 11294 | |
| 11295 # A function that is used when there is no print builtin or printf. | |
| 11296 func_fallback_echo () | |
| 11297 { | |
| 11298 eval 'cat <<_LTECHO_EOF | |
| 11299 \$1 | |
| 11300 _LTECHO_EOF' | |
| 11301 } | |
| 11302 | |
| 11303 # Quote evaled strings. | |
| 11304 for var in SHELL \ | |
| 11305 ECHO \ | |
| 11306 SED \ | |
| 11307 GREP \ | |
| 11308 EGREP \ | |
| 11309 FGREP \ | |
| 11310 LD \ | |
| 11311 NM \ | |
| 11312 LN_S \ | |
| 11313 lt_SP2NL \ | |
| 11314 lt_NL2SP \ | |
| 11315 reload_flag \ | |
| 11316 OBJDUMP \ | |
| 11317 deplibs_check_method \ | |
| 11318 file_magic_cmd \ | |
| 11319 AR \ | |
| 11320 AR_FLAGS \ | |
| 11321 STRIP \ | |
| 11322 RANLIB \ | |
| 11323 CC \ | |
| 11324 CFLAGS \ | |
| 11325 compiler \ | |
| 11326 lt_cv_sys_global_symbol_pipe \ | |
| 11327 lt_cv_sys_global_symbol_to_cdecl \ | |
| 11328 lt_cv_sys_global_symbol_to_c_name_address \ | |
| 11329 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | |
| 11330 lt_prog_compiler_no_builtin_flag \ | |
| 11331 lt_prog_compiler_wl \ | |
| 11332 lt_prog_compiler_pic \ | |
| 11333 lt_prog_compiler_static \ | |
| 11334 lt_cv_prog_compiler_c_o \ | |
| 11335 need_locks \ | |
| 11336 DSYMUTIL \ | |
| 11337 NMEDIT \ | |
| 11338 LIPO \ | |
| 11339 OTOOL \ | |
| 11340 OTOOL64 \ | |
| 11341 shrext_cmds \ | |
| 11342 export_dynamic_flag_spec \ | |
| 11343 whole_archive_flag_spec \ | |
| 11344 compiler_needs_object \ | |
| 11345 with_gnu_ld \ | |
| 11346 allow_undefined_flag \ | |
| 11347 no_undefined_flag \ | |
| 11348 hardcode_libdir_flag_spec \ | |
| 11349 hardcode_libdir_flag_spec_ld \ | |
| 11350 hardcode_libdir_separator \ | |
| 11351 fix_srcfile_path \ | |
| 11352 exclude_expsyms \ | |
| 11353 include_expsyms \ | |
| 11354 file_list_spec \ | |
| 11355 variables_saved_for_relink \ | |
| 11356 libname_spec \ | |
| 11357 library_names_spec \ | |
| 11358 soname_spec \ | |
| 11359 install_override_mode \ | |
| 11360 finish_eval \ | |
| 11361 old_striplib \ | |
| 11362 striplib; do | |
| 11363 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 11364 *[\\\\\\\`\\"\\\$]*) | |
| 11365 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" | |
| 11366 ;; | |
| 11367 *) | |
| 11368 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 11369 ;; | |
| 11370 esac | |
| 11371 done | |
| 11372 | |
| 11373 # Double-quote double-evaled strings. | |
| 11374 for var in reload_cmds \ | |
| 11375 old_postinstall_cmds \ | |
| 11376 old_postuninstall_cmds \ | |
| 11377 old_archive_cmds \ | |
| 11378 extract_expsyms_cmds \ | |
| 11379 old_archive_from_new_cmds \ | |
| 11380 old_archive_from_expsyms_cmds \ | |
| 11381 archive_cmds \ | |
| 11382 archive_expsym_cmds \ | |
| 11383 module_cmds \ | |
| 11384 module_expsym_cmds \ | |
| 11385 export_symbols_cmds \ | |
| 11386 prelink_cmds \ | |
| 11387 postinstall_cmds \ | |
| 11388 postuninstall_cmds \ | |
| 11389 finish_cmds \ | |
| 11390 sys_lib_search_path_spec \ | |
| 11391 sys_lib_dlsearch_path_spec; do | |
| 11392 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 11393 *[\\\\\\\`\\"\\\$]*) | |
| 11394 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" | |
| 11395 ;; | |
| 11396 *) | |
| 11397 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 11398 ;; | |
| 11399 esac | |
| 11400 done | |
| 11401 | |
| 11402 ac_aux_dir='$ac_aux_dir' | |
| 11403 xsi_shell='$xsi_shell' | |
| 11404 lt_shell_append='$lt_shell_append' | |
| 11405 | |
| 11406 # See if we are running on zsh, and set the options which allow our | |
| 11407 # commands through without removal of \ escapes INIT. | |
| 11408 if test -n "\${ZSH_VERSION+set}" ; then | |
| 11409 setopt NO_GLOB_SUBST | |
| 11410 fi | |
| 11411 | |
| 11412 | |
| 11413 PACKAGE='$PACKAGE' | |
| 11414 VERSION='$VERSION' | |
| 11415 TIMESTAMP='$TIMESTAMP' | |
| 11416 RM='$RM' | |
| 11417 ofile='$ofile' | |
| 11418 | |
| 11419 | |
| 11420 | |
| 11421 | |
| 11422 _ACEOF | |
| 11423 | |
| 11424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11425 | |
| 11426 # Handling of arguments. | |
| 11427 for ac_config_target in $ac_config_targets | |
| 11428 do | |
| 11429 case $ac_config_target in | |
| 11430 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
| 11431 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | |
| 11432 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 11433 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
| 11434 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |
| 11435 | |
| 11436 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
| 11437 esac | |
| 11438 done | |
| 11439 | |
| 11440 | |
| 11441 # If the user did not use the arguments to specify the items to instantiate, | |
| 11442 # then the envvar interface is used. Set only those that are not. | |
| 11443 # We use the long form for the default assignment because of an extremely | |
| 11444 # bizarre bug on SunOS 4.1.3. | |
| 11445 if $ac_need_defaults; then | |
| 11446 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 11447 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
| 11448 fi | |
| 11449 | |
| 11450 # Have a temporary directory for convenience. Make it in the build tree | |
| 11451 # simply because there is no reason against having it here, and in addition, | |
| 11452 # creating and moving files from /tmp can sometimes cause problems. | |
| 11453 # Hook for its removal unless debugging. | |
| 11454 # Note that there is a small window in which the directory will not be cleaned: | |
| 11455 # after its creation but before its name has been assigned to `$tmp'. | |
| 11456 $debug || | |
| 11457 { | |
| 11458 tmp= | |
| 11459 trap 'exit_status=$? | |
| 11460 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
| 11461 ' 0 | |
| 11462 trap 'as_fn_exit 1' 1 2 13 15 | |
| 11463 } | |
| 11464 # Create a (secure) tmp directory for tmp files. | |
| 11465 | |
| 11466 { | |
| 11467 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 11468 test -n "$tmp" && test -d "$tmp" | |
| 11469 } || | |
| 11470 { | |
| 11471 tmp=./conf$$-$RANDOM | |
| 11472 (umask 077 && mkdir "$tmp") | |
| 11473 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
| 11474 | |
| 11475 # Set up the scripts for CONFIG_FILES section. | |
| 11476 # No need to generate them if there are no CONFIG_FILES. | |
| 11477 # This happens for instance with `./config.status config.h'. | |
| 11478 if test -n "$CONFIG_FILES"; then | |
| 11479 | |
| 11480 | |
| 11481 ac_cr=`echo X | tr X '\015'` | |
| 11482 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
| 11483 # But we know of no other shell where ac_cr would be empty at this | |
| 11484 # point, so we can use a bashism as a fallback. | |
| 11485 if test "x$ac_cr" = x; then | |
| 11486 eval ac_cr=\$\'\\r\' | |
| 11487 fi | |
| 11488 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
| 11489 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
| 11490 ac_cs_awk_cr='\\r' | |
| 11491 else | |
| 11492 ac_cs_awk_cr=$ac_cr | |
| 11493 fi | |
| 11494 | |
| 11495 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
| 11496 _ACEOF | |
| 11497 | |
| 11498 | |
| 11499 { | |
| 11500 echo "cat >conf$$subs.awk <<_ACEOF" && | |
| 11501 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
| 11502 echo "_ACEOF" | |
| 11503 } >conf$$subs.sh || | |
| 11504 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 11505 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
| 11506 ac_delim='%!_!# ' | |
| 11507 for ac_last_try in false false false false false :; do | |
| 11508 . ./conf$$subs.sh || | |
| 11509 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 11510 | |
| 11511 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 11512 if test $ac_delim_n = $ac_delim_num; then | |
| 11513 break | |
| 11514 elif $ac_last_try; then | |
| 11515 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 11516 else | |
| 11517 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 11518 fi | |
| 11519 done | |
| 11520 rm -f conf$$subs.sh | |
| 11521 | |
| 11522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11523 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
| 11524 _ACEOF | |
| 11525 sed -n ' | |
| 11526 h | |
| 11527 s/^/S["/; s/!.*/"]=/ | |
| 11528 p | |
| 11529 g | |
| 11530 s/^[^!]*!// | |
| 11531 :repl | |
| 11532 t repl | |
| 11533 s/'"$ac_delim"'$// | |
| 11534 t delim | |
| 11535 :nl | |
| 11536 h | |
| 11537 s/\(.\{148\}\)..*/\1/ | |
| 11538 t more1 | |
| 11539 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 11540 p | |
| 11541 n | |
| 11542 b repl | |
| 11543 :more1 | |
| 11544 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 11545 p | |
| 11546 g | |
| 11547 s/.\{148\}// | |
| 11548 t nl | |
| 11549 :delim | |
| 11550 h | |
| 11551 s/\(.\{148\}\)..*/\1/ | |
| 11552 t more2 | |
| 11553 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 11554 p | |
| 11555 b | |
| 11556 :more2 | |
| 11557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 11558 p | |
| 11559 g | |
| 11560 s/.\{148\}// | |
| 11561 t delim | |
| 11562 ' <conf$$subs.awk | sed ' | |
| 11563 /^[^""]/{ | |
| 11564 N | |
| 11565 s/\n// | |
| 11566 } | |
| 11567 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 11568 rm -f conf$$subs.awk | |
| 11569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11570 _ACAWK | |
| 11571 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
| 11572 for (key in S) S_is_set[key] = 1 | |
| 11573 FS = "" | |
| 11574 | |
| 11575 } | |
| 11576 { | |
| 11577 line = $ 0 | |
| 11578 nfields = split(line, field, "@") | |
| 11579 substed = 0 | |
| 11580 len = length(field[1]) | |
| 11581 for (i = 2; i < nfields; i++) { | |
| 11582 key = field[i] | |
| 11583 keylen = length(key) | |
| 11584 if (S_is_set[key]) { | |
| 11585 value = S[key] | |
| 11586 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 11587 len += length(value) + length(field[++i]) | |
| 11588 substed = 1 | |
| 11589 } else | |
| 11590 len += 1 + keylen | |
| 11591 } | |
| 11592 | |
| 11593 print line | |
| 11594 } | |
| 11595 | |
| 11596 _ACAWK | |
| 11597 _ACEOF | |
| 11598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11599 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 11600 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 11601 else | |
| 11602 cat | |
| 11603 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
| 11604 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 11605 _ACEOF | |
| 11606 | |
| 11607 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 11608 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 11609 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 11610 # (actually we leave an empty line to preserve line numbers). | |
| 11611 if test "x$srcdir" = x.; then | |
| 11612 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 11613 h | |
| 11614 s/// | |
| 11615 s/^/:/ | |
| 11616 s/[ ]*$/:/ | |
| 11617 s/:\$(srcdir):/:/g | |
| 11618 s/:\${srcdir}:/:/g | |
| 11619 s/:@srcdir@:/:/g | |
| 11620 s/^:*// | |
| 11621 s/:*$// | |
| 11622 x | |
| 11623 s/\(=[ ]*\).*/\1/ | |
| 11624 G | |
| 11625 s/\n// | |
| 11626 s/^[^=]*=[ ]*$// | |
| 11627 }' | |
| 11628 fi | |
| 11629 | |
| 11630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11631 fi # test -n "$CONFIG_FILES" | |
| 11632 | |
| 11633 | |
| 11634 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" | |
| 11635 shift | |
| 11636 for ac_tag | |
| 11637 do | |
| 11638 case $ac_tag in | |
| 11639 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 11640 esac | |
| 11641 case $ac_mode$ac_tag in | |
| 11642 :[FHL]*:*);; | |
| 11643 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
| 11644 :[FH]-) ac_tag=-:-;; | |
| 11645 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 11646 esac | |
| 11647 ac_save_IFS=$IFS | |
| 11648 IFS=: | |
| 11649 set x $ac_tag | |
| 11650 IFS=$ac_save_IFS | |
| 11651 shift | |
| 11652 ac_file=$1 | |
| 11653 shift | |
| 11654 | |
| 11655 case $ac_mode in | |
| 11656 :L) ac_source=$1;; | |
| 11657 :[FH]) | |
| 11658 ac_file_inputs= | |
| 11659 for ac_f | |
| 11660 do | |
| 11661 case $ac_f in | |
| 11662 -) ac_f="$tmp/stdin";; | |
| 11663 *) # Look for the file first in the build tree, then in the source tree | |
| 11664 # (if the path is not absolute). The absolute path cannot be DOS-style
, | |
| 11665 # because $ac_f cannot contain `:'. | |
| 11666 test -f "$ac_f" || | |
| 11667 case $ac_f in | |
| 11668 [\\/$]*) false;; | |
| 11669 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 11670 esac || | |
| 11671 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
| 11672 esac | |
| 11673 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; es
ac | |
| 11674 as_fn_append ac_file_inputs " '$ac_f'" | |
| 11675 done | |
| 11676 | |
| 11677 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 11678 # use $as_me), people would be surprised to read: | |
| 11679 # /* config.h. Generated by config.status. */ | |
| 11680 configure_input='Generated from '` | |
| 11681 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 11682 `' by configure.' | |
| 11683 if test x"$ac_file" != x-; then | |
| 11684 configure_input="$ac_file. $configure_input" | |
| 11685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 11686 $as_echo "$as_me: creating $ac_file" >&6;} | |
| 11687 fi | |
| 11688 # Neutralize special characters interpreted by sed in replacement strings. | |
| 11689 case $configure_input in #( | |
| 11690 *\&* | *\|* | *\\* ) | |
| 11691 ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 11692 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 11693 *) ac_sed_conf_input=$configure_input;; | |
| 11694 esac | |
| 11695 | |
| 11696 case $ac_tag in | |
| 11697 *:-:* | *:-) cat >"$tmp/stdin" \ | |
| 11698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 11699 esac | |
| 11700 ;; | |
| 11701 esac | |
| 11702 | |
| 11703 ac_dir=`$as_dirname -- "$ac_file" || | |
| 11704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 11705 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 11706 X"$ac_file" : 'X\(//\)$' \| \ | |
| 11707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 11708 $as_echo X"$ac_file" | | |
| 11709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 11710 s//\1/ | |
| 11711 q | |
| 11712 } | |
| 11713 /^X\(\/\/\)[^/].*/{ | |
| 11714 s//\1/ | |
| 11715 q | |
| 11716 } | |
| 11717 /^X\(\/\/\)$/{ | |
| 11718 s//\1/ | |
| 11719 q | |
| 11720 } | |
| 11721 /^X\(\/\).*/{ | |
| 11722 s//\1/ | |
| 11723 q | |
| 11724 } | |
| 11725 s/.*/./; q'` | |
| 11726 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 11727 ac_builddir=. | |
| 11728 | |
| 11729 case "$ac_dir" in | |
| 11730 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 11731 *) | |
| 11732 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 11733 # A ".." for each directory in $ac_dir_suffix. | |
| 11734 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 11735 case $ac_top_builddir_sub in | |
| 11736 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 11737 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 11738 esac ;; | |
| 11739 esac | |
| 11740 ac_abs_top_builddir=$ac_pwd | |
| 11741 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 11742 # for backward compatibility: | |
| 11743 ac_top_builddir=$ac_top_build_prefix | |
| 11744 | |
| 11745 case $srcdir in | |
| 11746 .) # We are building in place. | |
| 11747 ac_srcdir=. | |
| 11748 ac_top_srcdir=$ac_top_builddir_sub | |
| 11749 ac_abs_top_srcdir=$ac_pwd ;; | |
| 11750 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 11751 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 11752 ac_top_srcdir=$srcdir | |
| 11753 ac_abs_top_srcdir=$srcdir ;; | |
| 11754 *) # Relative name. | |
| 11755 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 11756 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 11757 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 11758 esac | |
| 11759 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 11760 | |
| 11761 | |
| 11762 case $ac_mode in | |
| 11763 :F) | |
| 11764 # | |
| 11765 # CONFIG_FILE | |
| 11766 # | |
| 11767 | |
| 11768 case $INSTALL in | |
| 11769 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
| 11770 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
| 11771 esac | |
| 11772 ac_MKDIR_P=$MKDIR_P | |
| 11773 case $MKDIR_P in | |
| 11774 [\\/$]* | ?:[\\/]* ) ;; | |
| 11775 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
| 11776 esac | |
| 11777 _ACEOF | |
| 11778 | |
| 11779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11780 # If the template does not know about datarootdir, expand it. | |
| 11781 # FIXME: This hack should be removed a few years after 2.60. | |
| 11782 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 11783 ac_sed_dataroot=' | |
| 11784 /datarootdir/ { | |
| 11785 p | |
| 11786 q | |
| 11787 } | |
| 11788 /@datadir@/p | |
| 11789 /@docdir@/p | |
| 11790 /@infodir@/p | |
| 11791 /@localedir@/p | |
| 11792 /@mandir@/p' | |
| 11793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 11794 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 11795 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 11796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ign
ore the --datarootdir setting" >&5 | |
| 11797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir set
ting" >&2;} | |
| 11798 _ACEOF | |
| 11799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11800 ac_datarootdir_hack=' | |
| 11801 s&@datadir@&$datadir&g | |
| 11802 s&@docdir@&$docdir&g | |
| 11803 s&@infodir@&$infodir&g | |
| 11804 s&@localedir@&$localedir&g | |
| 11805 s&@mandir@&$mandir&g | |
| 11806 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 11807 esac | |
| 11808 _ACEOF | |
| 11809 | |
| 11810 # Neutralize VPATH when `$srcdir' = `.'. | |
| 11811 # Shell code in configure.ac might set extrasub. | |
| 11812 # FIXME: do we really want to maintain this feature? | |
| 11813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 11814 ac_sed_extra="$ac_vpsub | |
| 11815 $extrasub | |
| 11816 _ACEOF | |
| 11817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 11818 :t | |
| 11819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 11820 s|@configure_input@|$ac_sed_conf_input|;t t | |
| 11821 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 11822 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 11823 s&@srcdir@&$ac_srcdir&;t t | |
| 11824 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 11825 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 11826 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 11827 s&@builddir@&$ac_builddir&;t t | |
| 11828 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 11829 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 11830 s&@INSTALL@&$ac_INSTALL&;t t | |
| 11831 s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
| 11832 $ac_datarootdir_hack | |
| 11833 " | |
| 11834 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/ou
t \ | |
| 11835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 11836 | |
| 11837 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 11838 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
| 11839 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"
; } && | |
| 11840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a referenc
e to the variable \`datarootdir' | |
| 11841 which seems to be undefined. Please make sure it is defined" >&5 | |
| 11842 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datar
ootdir' | |
| 11843 which seems to be undefined. Please make sure it is defined" >&2;} | |
| 11844 | |
| 11845 rm -f "$tmp/stdin" | |
| 11846 case $ac_file in | |
| 11847 -) cat "$tmp/out" && rm -f "$tmp/out";; | |
| 11848 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
| 11849 esac \ | |
| 11850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 11851 ;; | |
| 11852 | |
| 11853 | |
| 11854 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
| 11855 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
| 11856 ;; | |
| 11857 esac | |
| 11858 | |
| 11859 | |
| 11860 case $ac_file$ac_mode in | |
| 11861 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
| 11862 # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
| 11863 # are listed without --file. Let's play safe and only enable the eval | |
| 11864 # if we detect the quoting. | |
| 11865 case $CONFIG_FILES in | |
| 11866 *\'*) eval set x "$CONFIG_FILES" ;; | |
| 11867 *) set x $CONFIG_FILES ;; | |
| 11868 esac | |
| 11869 shift | |
| 11870 for mf | |
| 11871 do | |
| 11872 # Strip MF so we end up with the name of the file. | |
| 11873 mf=`echo "$mf" | sed -e 's/:.*$//'` | |
| 11874 # Check whether this is an Automake generated Makefile or not. | |
| 11875 # We used to match only the files named `Makefile.in', but | |
| 11876 # some people rename them; so instead we look at the file content. | |
| 11877 # Grep'ing the first line is not enough: some people post-process | |
| 11878 # each Makefile.in and add a new line on top of each file to say so. | |
| 11879 # Grep'ing the whole file is not good either: AIX grep has a line | |
| 11880 # limit of 2048, but all sed's we know have understand at least 4000. | |
| 11881 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
; then | |
| 11882 dirpart=`$as_dirname -- "$mf" || | |
| 11883 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 11884 X"$mf" : 'X\(//\)[^/]' \| \ | |
| 11885 X"$mf" : 'X\(//\)$' \| \ | |
| 11886 X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
| 11887 $as_echo X"$mf" | | |
| 11888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 11889 s//\1/ | |
| 11890 q | |
| 11891 } | |
| 11892 /^X\(\/\/\)[^/].*/{ | |
| 11893 s//\1/ | |
| 11894 q | |
| 11895 } | |
| 11896 /^X\(\/\/\)$/{ | |
| 11897 s//\1/ | |
| 11898 q | |
| 11899 } | |
| 11900 /^X\(\/\).*/{ | |
| 11901 s//\1/ | |
| 11902 q | |
| 11903 } | |
| 11904 s/.*/./; q'` | |
| 11905 else | |
| 11906 continue | |
| 11907 fi | |
| 11908 # Extract the definition of DEPDIR, am__include, and am__quote | |
| 11909 # from the Makefile without running `make'. | |
| 11910 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
| 11911 test -z "$DEPDIR" && continue | |
| 11912 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| 11913 test -z "am__include" && continue | |
| 11914 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| 11915 # When using ansi2knr, U may be empty or an underscore; expand it | |
| 11916 U=`sed -n 's/^U = //p' < "$mf"` | |
| 11917 # Find all dependency output files, they are included files with | |
| 11918 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
| 11919 # simplest approach to changing $(DEPDIR) to its actual value in the | |
| 11920 # expansion. | |
| 11921 for file in `sed -n " | |
| 11922 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
| 11923 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
| 11924 # Make sure the directory exists. | |
| 11925 test -f "$dirpart/$file" && continue | |
| 11926 fdir=`$as_dirname -- "$file" || | |
| 11927 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 11928 X"$file" : 'X\(//\)[^/]' \| \ | |
| 11929 X"$file" : 'X\(//\)$' \| \ | |
| 11930 X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
| 11931 $as_echo X"$file" | | |
| 11932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 11933 s//\1/ | |
| 11934 q | |
| 11935 } | |
| 11936 /^X\(\/\/\)[^/].*/{ | |
| 11937 s//\1/ | |
| 11938 q | |
| 11939 } | |
| 11940 /^X\(\/\/\)$/{ | |
| 11941 s//\1/ | |
| 11942 q | |
| 11943 } | |
| 11944 /^X\(\/\).*/{ | |
| 11945 s//\1/ | |
| 11946 q | |
| 11947 } | |
| 11948 s/.*/./; q'` | |
| 11949 as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
| 11950 # echo "creating $dirpart/$file" | |
| 11951 echo '# dummy' > "$dirpart/$file" | |
| 11952 done | |
| 11953 done | |
| 11954 } | |
| 11955 ;; | |
| 11956 "libtool":C) | |
| 11957 | |
| 11958 # See if we are running on zsh, and set the options which allow our | |
| 11959 # commands through without removal of \ escapes. | |
| 11960 if test -n "${ZSH_VERSION+set}" ; then | |
| 11961 setopt NO_GLOB_SUBST | |
| 11962 fi | |
| 11963 | |
| 11964 cfgfile="${ofile}T" | |
| 11965 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | |
| 11966 $RM "$cfgfile" | |
| 11967 | |
| 11968 cat <<_LT_EOF >> "$cfgfile" | |
| 11969 #! $SHELL | |
| 11970 | |
| 11971 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo
rt services. | |
| 11972 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | |
| 11973 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
| 11974 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | |
| 11975 # | |
| 11976 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | |
| 11977 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | |
| 11978 # Inc. | |
| 11979 # Written by Gordon Matzigkeit, 1996 | |
| 11980 # | |
| 11981 # This file is part of GNU Libtool. | |
| 11982 # | |
| 11983 # GNU Libtool is free software; you can redistribute it and/or | |
| 11984 # modify it under the terms of the GNU General Public License as | |
| 11985 # published by the Free Software Foundation; either version 2 of | |
| 11986 # the License, or (at your option) any later version. | |
| 11987 # | |
| 11988 # As a special exception to the GNU General Public License, | |
| 11989 # if you distribute this file as part of a program or library that | |
| 11990 # is built using GNU Libtool, you may include this file under the | |
| 11991 # same distribution terms that you use for the rest of that program. | |
| 11992 # | |
| 11993 # GNU Libtool is distributed in the hope that it will be useful, | |
| 11994 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11995 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11996 # GNU General Public License for more details. | |
| 11997 # | |
| 11998 # You should have received a copy of the GNU General Public License | |
| 11999 # along with GNU Libtool; see the file COPYING. If not, a copy | |
| 12000 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | |
| 12001 # obtained by writing to the Free Software Foundation, Inc., | |
| 12002 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 12003 | |
| 12004 | |
| 12005 # The names of the tagged configurations supported by this script. | |
| 12006 available_tags="" | |
| 12007 | |
| 12008 # ### BEGIN LIBTOOL CONFIG | |
| 12009 | |
| 12010 # Which release of libtool.m4 was used? | |
| 12011 macro_version=$macro_version | |
| 12012 macro_revision=$macro_revision | |
| 12013 | |
| 12014 # Whether or not to build shared libraries. | |
| 12015 build_libtool_libs=$enable_shared | |
| 12016 | |
| 12017 # Whether or not to build static libraries. | |
| 12018 build_old_libs=$enable_static | |
| 12019 | |
| 12020 # What type of objects to build. | |
| 12021 pic_mode=$pic_mode | |
| 12022 | |
| 12023 # Whether or not to optimize for fast installation. | |
| 12024 fast_install=$enable_fast_install | |
| 12025 | |
| 12026 # Shell to use when invoking shell scripts. | |
| 12027 SHELL=$lt_SHELL | |
| 12028 | |
| 12029 # An echo program that protects backslashes. | |
| 12030 ECHO=$lt_ECHO | |
| 12031 | |
| 12032 # The host system. | |
| 12033 host_alias=$host_alias | |
| 12034 host=$host | |
| 12035 host_os=$host_os | |
| 12036 | |
| 12037 # The build system. | |
| 12038 build_alias=$build_alias | |
| 12039 build=$build | |
| 12040 build_os=$build_os | |
| 12041 | |
| 12042 # A sed program that does not truncate output. | |
| 12043 SED=$lt_SED | |
| 12044 | |
| 12045 # Sed that helps us avoid accidentally triggering echo(1) options like -n. | |
| 12046 Xsed="\$SED -e 1s/^X//" | |
| 12047 | |
| 12048 # A grep program that handles long lines. | |
| 12049 GREP=$lt_GREP | |
| 12050 | |
| 12051 # An ERE matcher. | |
| 12052 EGREP=$lt_EGREP | |
| 12053 | |
| 12054 # A literal string matcher. | |
| 12055 FGREP=$lt_FGREP | |
| 12056 | |
| 12057 # A BSD- or MS-compatible name lister. | |
| 12058 NM=$lt_NM | |
| 12059 | |
| 12060 # Whether we need soft or hard links. | |
| 12061 LN_S=$lt_LN_S | |
| 12062 | |
| 12063 # What is the maximum length of a command? | |
| 12064 max_cmd_len=$max_cmd_len | |
| 12065 | |
| 12066 # Object file suffix (normally "o"). | |
| 12067 objext=$ac_objext | |
| 12068 | |
| 12069 # Executable file suffix (normally ""). | |
| 12070 exeext=$exeext | |
| 12071 | |
| 12072 # whether the shell understands "unset". | |
| 12073 lt_unset=$lt_unset | |
| 12074 | |
| 12075 # turn spaces into newlines. | |
| 12076 SP2NL=$lt_lt_SP2NL | |
| 12077 | |
| 12078 # turn newlines into spaces. | |
| 12079 NL2SP=$lt_lt_NL2SP | |
| 12080 | |
| 12081 # An object symbol dumper. | |
| 12082 OBJDUMP=$lt_OBJDUMP | |
| 12083 | |
| 12084 # Method to check whether dependent libraries are shared objects. | |
| 12085 deplibs_check_method=$lt_deplibs_check_method | |
| 12086 | |
| 12087 # Command to use when deplibs_check_method == "file_magic". | |
| 12088 file_magic_cmd=$lt_file_magic_cmd | |
| 12089 | |
| 12090 # The archiver. | |
| 12091 AR=$lt_AR | |
| 12092 AR_FLAGS=$lt_AR_FLAGS | |
| 12093 | |
| 12094 # A symbol stripping program. | |
| 12095 STRIP=$lt_STRIP | |
| 12096 | |
| 12097 # Commands used to install an old-style archive. | |
| 12098 RANLIB=$lt_RANLIB | |
| 12099 old_postinstall_cmds=$lt_old_postinstall_cmds | |
| 12100 old_postuninstall_cmds=$lt_old_postuninstall_cmds | |
| 12101 | |
| 12102 # Whether to use a lock for old archive extraction. | |
| 12103 lock_old_archive_extraction=$lock_old_archive_extraction | |
| 12104 | |
| 12105 # A C compiler. | |
| 12106 LTCC=$lt_CC | |
| 12107 | |
| 12108 # LTCC compiler flags. | |
| 12109 LTCFLAGS=$lt_CFLAGS | |
| 12110 | |
| 12111 # Take the output of nm and produce a listing of raw symbols and C names. | |
| 12112 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | |
| 12113 | |
| 12114 # Transform the output of nm in a proper C declaration. | |
| 12115 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | |
| 12116 | |
| 12117 # Transform the output of nm in a C name address pair. | |
| 12118 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | |
| 12119 | |
| 12120 # Transform the output of nm in a C name address pair when lib prefix is needed. | |
| 12121 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name
_address_lib_prefix | |
| 12122 | |
| 12123 # The name of the directory that contains temporary libtool files. | |
| 12124 objdir=$objdir | |
| 12125 | |
| 12126 # Used to examine libraries when file_magic_cmd begins with "file". | |
| 12127 MAGIC_CMD=$MAGIC_CMD | |
| 12128 | |
| 12129 # Must we lock files when doing compilation? | |
| 12130 need_locks=$lt_need_locks | |
| 12131 | |
| 12132 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. | |
| 12133 DSYMUTIL=$lt_DSYMUTIL | |
| 12134 | |
| 12135 # Tool to change global to local symbols on Mac OS X. | |
| 12136 NMEDIT=$lt_NMEDIT | |
| 12137 | |
| 12138 # Tool to manipulate fat objects and archives on Mac OS X. | |
| 12139 LIPO=$lt_LIPO | |
| 12140 | |
| 12141 # ldd/readelf like tool for Mach-O binaries on Mac OS X. | |
| 12142 OTOOL=$lt_OTOOL | |
| 12143 | |
| 12144 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. | |
| 12145 OTOOL64=$lt_OTOOL64 | |
| 12146 | |
| 12147 # Old archive suffix (normally "a"). | |
| 12148 libext=$libext | |
| 12149 | |
| 12150 # Shared library suffix (normally ".so"). | |
| 12151 shrext_cmds=$lt_shrext_cmds | |
| 12152 | |
| 12153 # The commands to extract the exported symbol list from a shared archive. | |
| 12154 extract_expsyms_cmds=$lt_extract_expsyms_cmds | |
| 12155 | |
| 12156 # Variables whose values should be saved in libtool wrapper scripts and | |
| 12157 # restored at link time. | |
| 12158 variables_saved_for_relink=$lt_variables_saved_for_relink | |
| 12159 | |
| 12160 # Do we need the "lib" prefix for modules? | |
| 12161 need_lib_prefix=$need_lib_prefix | |
| 12162 | |
| 12163 # Do we need a version for libraries? | |
| 12164 need_version=$need_version | |
| 12165 | |
| 12166 # Library versioning type. | |
| 12167 version_type=$version_type | |
| 12168 | |
| 12169 # Shared library runtime path variable. | |
| 12170 runpath_var=$runpath_var | |
| 12171 | |
| 12172 # Shared library path variable. | |
| 12173 shlibpath_var=$shlibpath_var | |
| 12174 | |
| 12175 # Is shlibpath searched before the hard-coded library search path? | |
| 12176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath | |
| 12177 | |
| 12178 # Format of library name prefix. | |
| 12179 libname_spec=$lt_libname_spec | |
| 12180 | |
| 12181 # List of archive names. First name is the real one, the rest are links. | |
| 12182 # The last name is the one that the linker finds with -lNAME | |
| 12183 library_names_spec=$lt_library_names_spec | |
| 12184 | |
| 12185 # The coded name of the library, if different from the real name. | |
| 12186 soname_spec=$lt_soname_spec | |
| 12187 | |
| 12188 # Permission mode override for installation of shared libraries. | |
| 12189 install_override_mode=$lt_install_override_mode | |
| 12190 | |
| 12191 # Command to use after installation of a shared archive. | |
| 12192 postinstall_cmds=$lt_postinstall_cmds | |
| 12193 | |
| 12194 # Command to use after uninstallation of a shared archive. | |
| 12195 postuninstall_cmds=$lt_postuninstall_cmds | |
| 12196 | |
| 12197 # Commands used to finish a libtool library installation in a directory. | |
| 12198 finish_cmds=$lt_finish_cmds | |
| 12199 | |
| 12200 # As "finish_cmds", except a single script fragment to be evaled but | |
| 12201 # not shown. | |
| 12202 finish_eval=$lt_finish_eval | |
| 12203 | |
| 12204 # Whether we should hardcode library paths into libraries. | |
| 12205 hardcode_into_libs=$hardcode_into_libs | |
| 12206 | |
| 12207 # Compile-time system search path for libraries. | |
| 12208 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | |
| 12209 | |
| 12210 # Run-time system search path for libraries. | |
| 12211 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | |
| 12212 | |
| 12213 # Whether dlopen is supported. | |
| 12214 dlopen_support=$enable_dlopen | |
| 12215 | |
| 12216 # Whether dlopen of programs is supported. | |
| 12217 dlopen_self=$enable_dlopen_self | |
| 12218 | |
| 12219 # Whether dlopen of statically linked programs is supported. | |
| 12220 dlopen_self_static=$enable_dlopen_self_static | |
| 12221 | |
| 12222 # Commands to strip libraries. | |
| 12223 old_striplib=$lt_old_striplib | |
| 12224 striplib=$lt_striplib | |
| 12225 | |
| 12226 | |
| 12227 # The linker used to build libraries. | |
| 12228 LD=$lt_LD | |
| 12229 | |
| 12230 # How to create reloadable object files. | |
| 12231 reload_flag=$lt_reload_flag | |
| 12232 reload_cmds=$lt_reload_cmds | |
| 12233 | |
| 12234 # Commands used to build an old-style archive. | |
| 12235 old_archive_cmds=$lt_old_archive_cmds | |
| 12236 | |
| 12237 # A language specific compiler. | |
| 12238 CC=$lt_compiler | |
| 12239 | |
| 12240 # Is the compiler the GNU compiler? | |
| 12241 with_gcc=$GCC | |
| 12242 | |
| 12243 # Compiler flag to turn off builtin functions. | |
| 12244 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | |
| 12245 | |
| 12246 # How to pass a linker flag through the compiler. | |
| 12247 wl=$lt_lt_prog_compiler_wl | |
| 12248 | |
| 12249 # Additional compiler flags for building library objects. | |
| 12250 pic_flag=$lt_lt_prog_compiler_pic | |
| 12251 | |
| 12252 # Compiler flag to prevent dynamic linking. | |
| 12253 link_static_flag=$lt_lt_prog_compiler_static | |
| 12254 | |
| 12255 # Does compiler simultaneously support -c and -o options? | |
| 12256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o | |
| 12257 | |
| 12258 # Whether or not to add -lc for building shared libraries. | |
| 12259 build_libtool_need_lc=$archive_cmds_need_lc | |
| 12260 | |
| 12261 # Whether or not to disallow shared libs when runtime libs are static. | |
| 12262 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | |
| 12263 | |
| 12264 # Compiler flag to allow reflexive dlopens. | |
| 12265 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | |
| 12266 | |
| 12267 # Compiler flag to generate shared objects directly from archives. | |
| 12268 whole_archive_flag_spec=$lt_whole_archive_flag_spec | |
| 12269 | |
| 12270 # Whether the compiler copes with passing no objects directly. | |
| 12271 compiler_needs_object=$lt_compiler_needs_object | |
| 12272 | |
| 12273 # Create an old-style archive from a shared archive. | |
| 12274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | |
| 12275 | |
| 12276 # Create a temporary old-style archive to link instead of a shared archive. | |
| 12277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | |
| 12278 | |
| 12279 # Commands used to build a shared archive. | |
| 12280 archive_cmds=$lt_archive_cmds | |
| 12281 archive_expsym_cmds=$lt_archive_expsym_cmds | |
| 12282 | |
| 12283 # Commands used to build a loadable module if different from building | |
| 12284 # a shared archive. | |
| 12285 module_cmds=$lt_module_cmds | |
| 12286 module_expsym_cmds=$lt_module_expsym_cmds | |
| 12287 | |
| 12288 # Whether we are building with GNU ld or not. | |
| 12289 with_gnu_ld=$lt_with_gnu_ld | |
| 12290 | |
| 12291 # Flag that allows shared libraries with undefined symbols to be built. | |
| 12292 allow_undefined_flag=$lt_allow_undefined_flag | |
| 12293 | |
| 12294 # Flag that enforces no undefined symbols. | |
| 12295 no_undefined_flag=$lt_no_undefined_flag | |
| 12296 | |
| 12297 # Flag to hardcode \$libdir into a binary during linking. | |
| 12298 # This must work even if \$libdir does not exist | |
| 12299 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | |
| 12300 | |
| 12301 # If ld is used when linking, flag to hardcode \$libdir into a binary | |
| 12302 # during linking. This must work even if \$libdir does not exist. | |
| 12303 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | |
| 12304 | |
| 12305 # Whether we need a single "-rpath" flag with a separated argument. | |
| 12306 hardcode_libdir_separator=$lt_hardcode_libdir_separator | |
| 12307 | |
| 12308 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 12309 # DIR into the resulting binary. | |
| 12310 hardcode_direct=$hardcode_direct | |
| 12311 | |
| 12312 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 12313 # DIR into the resulting binary and the resulting library dependency is | |
| 12314 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | |
| 12315 # library is relocated. | |
| 12316 hardcode_direct_absolute=$hardcode_direct_absolute | |
| 12317 | |
| 12318 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | |
| 12319 # into the resulting binary. | |
| 12320 hardcode_minus_L=$hardcode_minus_L | |
| 12321 | |
| 12322 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | |
| 12323 # into the resulting binary. | |
| 12324 hardcode_shlibpath_var=$hardcode_shlibpath_var | |
| 12325 | |
| 12326 # Set to "yes" if building a shared library automatically hardcodes DIR | |
| 12327 # into the library and all subsequent libraries and executables linked | |
| 12328 # against it. | |
| 12329 hardcode_automatic=$hardcode_automatic | |
| 12330 | |
| 12331 # Set to yes if linker adds runtime paths of dependent libraries | |
| 12332 # to runtime path list. | |
| 12333 inherit_rpath=$inherit_rpath | |
| 12334 | |
| 12335 # Whether libtool must link a program against all its dependency libraries. | |
| 12336 link_all_deplibs=$link_all_deplibs | |
| 12337 | |
| 12338 # Fix the shell variable \$srcfile for the compiler. | |
| 12339 fix_srcfile_path=$lt_fix_srcfile_path | |
| 12340 | |
| 12341 # Set to "yes" if exported symbols are required. | |
| 12342 always_export_symbols=$always_export_symbols | |
| 12343 | |
| 12344 # The commands to list exported symbols. | |
| 12345 export_symbols_cmds=$lt_export_symbols_cmds | |
| 12346 | |
| 12347 # Symbols that should not be listed in the preloaded symbols. | |
| 12348 exclude_expsyms=$lt_exclude_expsyms | |
| 12349 | |
| 12350 # Symbols that must always be exported. | |
| 12351 include_expsyms=$lt_include_expsyms | |
| 12352 | |
| 12353 # Commands necessary for linking programs (against libraries) with templates. | |
| 12354 prelink_cmds=$lt_prelink_cmds | |
| 12355 | |
| 12356 # Specify filename containing input files. | |
| 12357 file_list_spec=$lt_file_list_spec | |
| 12358 | |
| 12359 # How to hardcode a shared library path into an executable. | |
| 12360 hardcode_action=$hardcode_action | |
| 12361 | |
| 12362 # ### END LIBTOOL CONFIG | |
| 12363 | |
| 12364 _LT_EOF | |
| 12365 | |
| 12366 case $host_os in | |
| 12367 aix3*) | |
| 12368 cat <<\_LT_EOF >> "$cfgfile" | |
| 12369 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 12370 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 12371 # vanish in a puff of smoke. | |
| 12372 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 12373 COLLECT_NAMES= | |
| 12374 export COLLECT_NAMES | |
| 12375 fi | |
| 12376 _LT_EOF | |
| 12377 ;; | |
| 12378 esac | |
| 12379 | |
| 12380 | |
| 12381 ltmain="$ac_aux_dir/ltmain.sh" | |
| 12382 | |
| 12383 | |
| 12384 # We use sed instead of cat because bash on DJGPP gets confused if | |
| 12385 # if finds mixed CR/LF and LF-only lines. Since sed operates in | |
| 12386 # text mode, it properly converts lines to CR/LF. This bash problem | |
| 12387 # is reportedly fixed, but why not run on old versions too? | |
| 12388 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ | |
| 12389 || (rm -f "$cfgfile"; exit 1) | |
| 12390 | |
| 12391 case $xsi_shell in | |
| 12392 yes) | |
| 12393 cat << \_LT_EOF >> "$cfgfile" | |
| 12394 | |
| 12395 # func_dirname file append nondir_replacement | |
| 12396 # Compute the dirname of FILE. If nonempty, add APPEND to the result, | |
| 12397 # otherwise set result to NONDIR_REPLACEMENT. | |
| 12398 func_dirname () | |
| 12399 { | |
| 12400 case ${1} in | |
| 12401 */*) func_dirname_result="${1%/*}${2}" ;; | |
| 12402 * ) func_dirname_result="${3}" ;; | |
| 12403 esac | |
| 12404 } | |
| 12405 | |
| 12406 # func_basename file | |
| 12407 func_basename () | |
| 12408 { | |
| 12409 func_basename_result="${1##*/}" | |
| 12410 } | |
| 12411 | |
| 12412 # func_dirname_and_basename file append nondir_replacement | |
| 12413 # perform func_basename and func_dirname in a single function | |
| 12414 # call: | |
| 12415 # dirname: Compute the dirname of FILE. If nonempty, | |
| 12416 # add APPEND to the result, otherwise set result | |
| 12417 # to NONDIR_REPLACEMENT. | |
| 12418 # value returned in "$func_dirname_result" | |
| 12419 # basename: Compute filename of FILE. | |
| 12420 # value retuned in "$func_basename_result" | |
| 12421 # Implementation must be kept synchronized with func_dirname | |
| 12422 # and func_basename. For efficiency, we do not delegate to | |
| 12423 # those functions but instead duplicate the functionality here. | |
| 12424 func_dirname_and_basename () | |
| 12425 { | |
| 12426 case ${1} in | |
| 12427 */*) func_dirname_result="${1%/*}${2}" ;; | |
| 12428 * ) func_dirname_result="${3}" ;; | |
| 12429 esac | |
| 12430 func_basename_result="${1##*/}" | |
| 12431 } | |
| 12432 | |
| 12433 # func_stripname prefix suffix name | |
| 12434 # strip PREFIX and SUFFIX off of NAME. | |
| 12435 # PREFIX and SUFFIX must not contain globbing or regex special | |
| 12436 # characters, hashes, percent signs, but SUFFIX may contain a leading | |
| 12437 # dot (in which case that matches only a dot). | |
| 12438 func_stripname () | |
| 12439 { | |
| 12440 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are | |
| 12441 # positional parameters, so assign one to ordinary parameter first. | |
| 12442 func_stripname_result=${3} | |
| 12443 func_stripname_result=${func_stripname_result#"${1}"} | |
| 12444 func_stripname_result=${func_stripname_result%"${2}"} | |
| 12445 } | |
| 12446 | |
| 12447 # func_opt_split | |
| 12448 func_opt_split () | |
| 12449 { | |
| 12450 func_opt_split_opt=${1%%=*} | |
| 12451 func_opt_split_arg=${1#*=} | |
| 12452 } | |
| 12453 | |
| 12454 # func_lo2o object | |
| 12455 func_lo2o () | |
| 12456 { | |
| 12457 case ${1} in | |
| 12458 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; | |
| 12459 *) func_lo2o_result=${1} ;; | |
| 12460 esac | |
| 12461 } | |
| 12462 | |
| 12463 # func_xform libobj-or-source | |
| 12464 func_xform () | |
| 12465 { | |
| 12466 func_xform_result=${1%.*}.lo | |
| 12467 } | |
| 12468 | |
| 12469 # func_arith arithmetic-term... | |
| 12470 func_arith () | |
| 12471 { | |
| 12472 func_arith_result=$(( $* )) | |
| 12473 } | |
| 12474 | |
| 12475 # func_len string | |
| 12476 # STRING may not start with a hyphen. | |
| 12477 func_len () | |
| 12478 { | |
| 12479 func_len_result=${#1} | |
| 12480 } | |
| 12481 | |
| 12482 _LT_EOF | |
| 12483 ;; | |
| 12484 *) # Bourne compatible functions. | |
| 12485 cat << \_LT_EOF >> "$cfgfile" | |
| 12486 | |
| 12487 # func_dirname file append nondir_replacement | |
| 12488 # Compute the dirname of FILE. If nonempty, add APPEND to the result, | |
| 12489 # otherwise set result to NONDIR_REPLACEMENT. | |
| 12490 func_dirname () | |
| 12491 { | |
| 12492 # Extract subdirectory from the argument. | |
| 12493 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` | |
| 12494 if test "X$func_dirname_result" = "X${1}"; then | |
| 12495 func_dirname_result="${3}" | |
| 12496 else | |
| 12497 func_dirname_result="$func_dirname_result${2}" | |
| 12498 fi | |
| 12499 } | |
| 12500 | |
| 12501 # func_basename file | |
| 12502 func_basename () | |
| 12503 { | |
| 12504 func_basename_result=`$ECHO "${1}" | $SED "$basename"` | |
| 12505 } | |
| 12506 | |
| 12507 | |
| 12508 # func_stripname prefix suffix name | |
| 12509 # strip PREFIX and SUFFIX off of NAME. | |
| 12510 # PREFIX and SUFFIX must not contain globbing or regex special | |
| 12511 # characters, hashes, percent signs, but SUFFIX may contain a leading | |
| 12512 # dot (in which case that matches only a dot). | |
| 12513 # func_strip_suffix prefix name | |
| 12514 func_stripname () | |
| 12515 { | |
| 12516 case ${2} in | |
| 12517 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;
; | |
| 12518 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; | |
| 12519 esac | |
| 12520 } | |
| 12521 | |
| 12522 # sed scripts: | |
| 12523 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' | |
| 12524 my_sed_long_arg='1s/^-[^=]*=//' | |
| 12525 | |
| 12526 # func_opt_split | |
| 12527 func_opt_split () | |
| 12528 { | |
| 12529 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` | |
| 12530 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` | |
| 12531 } | |
| 12532 | |
| 12533 # func_lo2o object | |
| 12534 func_lo2o () | |
| 12535 { | |
| 12536 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` | |
| 12537 } | |
| 12538 | |
| 12539 # func_xform libobj-or-source | |
| 12540 func_xform () | |
| 12541 { | |
| 12542 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` | |
| 12543 } | |
| 12544 | |
| 12545 # func_arith arithmetic-term... | |
| 12546 func_arith () | |
| 12547 { | |
| 12548 func_arith_result=`expr "$@"` | |
| 12549 } | |
| 12550 | |
| 12551 # func_len string | |
| 12552 # STRING may not start with a hyphen. | |
| 12553 func_len () | |
| 12554 { | |
| 12555 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` | |
| 12556 } | |
| 12557 | |
| 12558 _LT_EOF | |
| 12559 esac | |
| 12560 | |
| 12561 case $lt_shell_append in | |
| 12562 yes) | |
| 12563 cat << \_LT_EOF >> "$cfgfile" | |
| 12564 | |
| 12565 # func_append var value | |
| 12566 # Append VALUE to the end of shell variable VAR. | |
| 12567 func_append () | |
| 12568 { | |
| 12569 eval "$1+=\$2" | |
| 12570 } | |
| 12571 _LT_EOF | |
| 12572 ;; | |
| 12573 *) | |
| 12574 cat << \_LT_EOF >> "$cfgfile" | |
| 12575 | |
| 12576 # func_append var value | |
| 12577 # Append VALUE to the end of shell variable VAR. | |
| 12578 func_append () | |
| 12579 { | |
| 12580 eval "$1=\$$1\$2" | |
| 12581 } | |
| 12582 | |
| 12583 _LT_EOF | |
| 12584 ;; | |
| 12585 esac | |
| 12586 | |
| 12587 | |
| 12588 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfil
e" \ | |
| 12589 || (rm -f "$cfgfile"; exit 1) | |
| 12590 | |
| 12591 mv -f "$cfgfile" "$ofile" || | |
| 12592 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | |
| 12593 chmod +x "$ofile" | |
| 12594 | |
| 12595 ;; | |
| 12596 | |
| 12597 esac | |
| 12598 done # for ac_tag | |
| 12599 | |
| 12600 | |
| 12601 as_fn_exit 0 | |
| 12602 _ACEOF | |
| 12603 ac_clean_files=$ac_clean_files_save | |
| 12604 | |
| 12605 test $ac_write_fail = 0 || | |
| 12606 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
| 12607 | |
| 12608 | |
| 12609 # configure is writing to config.log, and then calls config.status. | |
| 12610 # config.status does its own redirection, appending to config.log. | |
| 12611 # Unfortunately, on DOS this fails, as config.log is still kept open | |
| 12612 # by configure, so config.status won't be able to write to it; its | |
| 12613 # output is simply discarded. So we exec the FD to /dev/null, | |
| 12614 # effectively closing config.log, so it can be properly (re)opened and | |
| 12615 # appended to by config.status. When coming back to configure, we | |
| 12616 # need to make the FD available again. | |
| 12617 if test "$no_create" != yes; then | |
| 12618 ac_cs_success=: | |
| 12619 ac_config_status_args= | |
| 12620 test "$silent" = yes && | |
| 12621 ac_config_status_args="$ac_config_status_args --quiet" | |
| 12622 exec 5>/dev/null | |
| 12623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 12624 exec 5>>config.log | |
| 12625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 12626 # would make configure fail if this is the last instruction. | |
| 12627 $ac_cs_success || as_fn_exit 1 | |
| 12628 fi | |
| 12629 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
| 12630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | |
| 12631 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
| 12632 fi | |
| 12633 | |
| OLD | NEW |