| OLD | NEW |
| (Empty) |
| 1 #! /bin/sh | |
| 2 # Guess values for system-dependent variables and create Makefiles. | |
| 3 # Generated by GNU Autoconf 2.69. | |
| 4 # | |
| 5 # | |
| 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
| 7 # | |
| 8 # | |
| 9 # This configure script is free software; the Free Software Foundation | |
| 10 # gives unlimited permission to copy, distribute and modify it. | |
| 11 ## -------------------- ## | |
| 12 ## M4sh Initialization. ## | |
| 13 ## -------------------- ## | |
| 14 | |
| 15 # Be more Bourne compatible | |
| 16 DUALCASE=1; export DUALCASE # for MKS sh | |
| 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 18 emulate sh | |
| 19 NULLCMD=: | |
| 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 21 # is contrary to our usage. Disable this feature. | |
| 22 alias -g '${1+"$@"}'='"$@"' | |
| 23 setopt NO_GLOB_SUBST | |
| 24 else | |
| 25 case `(set -o) 2>/dev/null` in #( | |
| 26 *posix*) : | |
| 27 set -o posix ;; #( | |
| 28 *) : | |
| 29 ;; | |
| 30 esac | |
| 31 fi | |
| 32 | |
| 33 | |
| 34 as_nl=' | |
| 35 ' | |
| 36 export as_nl | |
| 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 41 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 42 # but without wasting forks for bash or zsh. | |
| 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 45 as_echo='print -r --' | |
| 46 as_echo_n='print -rn --' | |
| 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 48 as_echo='printf %s\n' | |
| 49 as_echo_n='printf %s' | |
| 50 else | |
| 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 53 as_echo_n='/usr/ucb/echo -n' | |
| 54 else | |
| 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 56 as_echo_n_body='eval | |
| 57 arg=$1; | |
| 58 case $arg in #( | |
| 59 *"$as_nl"*) | |
| 60 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 62 esac; | |
| 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 64 ' | |
| 65 export as_echo_n_body | |
| 66 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 67 fi | |
| 68 export as_echo_body | |
| 69 as_echo='sh -c $as_echo_body as_echo' | |
| 70 fi | |
| 71 | |
| 72 # The user is always right. | |
| 73 if test "${PATH_SEPARATOR+set}" != set; then | |
| 74 PATH_SEPARATOR=: | |
| 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 77 PATH_SEPARATOR=';' | |
| 78 } | |
| 79 fi | |
| 80 | |
| 81 | |
| 82 # IFS | |
| 83 # We need space, tab and new line, in precisely that order. Quoting is | |
| 84 # there to prevent editors from complaining about space-tab. | |
| 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 86 # splitting by setting IFS to empty value.) | |
| 87 IFS=" "" $as_nl" | |
| 88 | |
| 89 # Find who we are. Look in the path if we contain no directory separator. | |
| 90 as_myself= | |
| 91 case $0 in #(( | |
| 92 *[\\/]* ) as_myself=$0 ;; | |
| 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 94 for as_dir in $PATH | |
| 95 do | |
| 96 IFS=$as_save_IFS | |
| 97 test -z "$as_dir" && as_dir=. | |
| 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 99 done | |
| 100 IFS=$as_save_IFS | |
| 101 | |
| 102 ;; | |
| 103 esac | |
| 104 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 105 # in which case we are not to be found in the path. | |
| 106 if test "x$as_myself" = x; then | |
| 107 as_myself=$0 | |
| 108 fi | |
| 109 if test ! -f "$as_myself"; then | |
| 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 | |
| 111 exit 1 | |
| 112 fi | |
| 113 | |
| 114 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 116 # suppresses any "Segmentation fault" message there. '((' could | |
| 117 # trigger a bug in pdksh 5.2.14. | |
| 118 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 119 do eval test x\${$as_var+set} = xset \ | |
| 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 121 done | |
| 122 PS1='$ ' | |
| 123 PS2='> ' | |
| 124 PS4='+ ' | |
| 125 | |
| 126 # NLS nuisances. | |
| 127 LC_ALL=C | |
| 128 export LC_ALL | |
| 129 LANGUAGE=C | |
| 130 export LANGUAGE | |
| 131 | |
| 132 # CDPATH. | |
| 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 134 | |
| 135 # Use a proper internal environment variable to ensure we don't fall | |
| 136 # into an infinite loop, continuously re-executing ourselves. | |
| 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
| 138 _as_can_reexec=no; export _as_can_reexec; | |
| 139 # We cannot yet assume a decent shell, so we have to provide a | |
| 140 # neutralization value for shells without unset; and this also | |
| 141 # works around shells that cannot unset nonexistent variables. | |
| 142 # Preserve -v and -x to the replacement shell. | |
| 143 BASH_ENV=/dev/null | |
| 144 ENV=/dev/null | |
| 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 146 case $- in # (((( | |
| 147 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 148 *v* ) as_opts=-v ;; | |
| 149 *x* ) as_opts=-x ;; | |
| 150 * ) as_opts= ;; | |
| 151 esac | |
| 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 153 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 154 # out after a failed `exec'. | |
| 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 156 as_fn_exit 255 | |
| 157 fi | |
| 158 # We don't want this to propagate to other subprocesses. | |
| 159 { _as_can_reexec=; unset _as_can_reexec;} | |
| 160 if test "x$CONFIG_SHELL" = x; then | |
| 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev
/null 2>&1; then : | |
| 162 emulate sh | |
| 163 NULLCMD=: | |
| 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 165 # is contrary to our usage. Disable this feature. | |
| 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 167 setopt NO_GLOB_SUBST | |
| 168 else | |
| 169 case \`(set -o) 2>/dev/null\` in #( | |
| 170 *posix*) : | |
| 171 set -o posix ;; #( | |
| 172 *) : | |
| 173 ;; | |
| 174 esac | |
| 175 fi | |
| 176 " | |
| 177 as_required="as_fn_return () { (exit \$1); } | |
| 178 as_fn_success () { as_fn_return 0; } | |
| 179 as_fn_failure () { as_fn_return 1; } | |
| 180 as_fn_ret_success () { return 0; } | |
| 181 as_fn_ret_failure () { return 1; } | |
| 182 | |
| 183 exitcode=0 | |
| 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 189 | |
| 190 else | |
| 191 exitcode=1; echo positional parameters were not saved. | |
| 192 fi | |
| 193 test x\$exitcode = x0 || exit 1 | |
| 194 test -x / || exit 1" | |
| 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$
as_suggested" as_lineno_1a=\$LINENO | |
| 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as
_lineno_2a=\$LINENO | |
| 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"'
|| exit 1 | |
| 199 test \$(( 1 + 1 )) = 2 || exit 1 | |
| 200 | |
| 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | |
| 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 205 PATH=/empty FPATH=/empty; export PATH FPATH | |
| 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | |
| 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" | |
| 208 if (eval "$as_required") 2>/dev/null; then : | |
| 209 as_have_required=yes | |
| 210 else | |
| 211 as_have_required=no | |
| 212 fi | |
| 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then
: | |
| 214 | |
| 215 else | |
| 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 217 as_found=false | |
| 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 219 do | |
| 220 IFS=$as_save_IFS | |
| 221 test -z "$as_dir" && as_dir=. | |
| 222 as_found=: | |
| 223 case $as_dir in #( | |
| 224 /*) | |
| 225 for as_base in sh bash ksh sh5; do | |
| 226 # Try only shells that exist, to save several forks. | |
| 227 as_shell=$as_dir/$as_base | |
| 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a
"$as_shell"; } 2>/dev/null; then : | |
| 230 CONFIG_SHELL=$as_shell as_have_required=yes | |
| 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a "$as_shell"; } 2>/dev/null; then : | |
| 232 break 2 | |
| 233 fi | |
| 234 fi | |
| 235 done;; | |
| 236 esac | |
| 237 as_found=false | |
| 238 done | |
| 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHEL
L"; } 2>/dev/null; then : | |
| 241 CONFIG_SHELL=$SHELL as_have_required=yes | |
| 242 fi; } | |
| 243 IFS=$as_save_IFS | |
| 244 | |
| 245 | |
| 246 if test "x$CONFIG_SHELL" != x; then : | |
| 247 export CONFIG_SHELL | |
| 248 # We cannot yet assume a decent shell, so we have to provide a | |
| 249 # neutralization value for shells without unset; and this also | |
| 250 # works around shells that cannot unset nonexistent variables. | |
| 251 # Preserve -v and -x to the replacement shell. | |
| 252 BASH_ENV=/dev/null | |
| 253 ENV=/dev/null | |
| 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 255 case $- in # (((( | |
| 256 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 257 *v* ) as_opts=-v ;; | |
| 258 *x* ) as_opts=-x ;; | |
| 259 * ) as_opts= ;; | |
| 260 esac | |
| 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 262 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 263 # out after a failed `exec'. | |
| 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 265 exit 255 | |
| 266 fi | |
| 267 | |
| 268 if test x$as_have_required = xno; then : | |
| 269 $as_echo "$0: This script requires a shell more modern than all" | |
| 270 $as_echo "$0: the shells that I found on your system." | |
| 271 if test x${ZSH_VERSION+set} = xset ; then | |
| 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 274 else | |
| 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
| 276 $0: including any error possibly output before this | |
| 277 $0: message. Then install a modern shell, or manually run | |
| 278 $0: the script under such a shell if you do have one." | |
| 279 fi | |
| 280 exit 1 | |
| 281 fi | |
| 282 fi | |
| 283 fi | |
| 284 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 285 export SHELL | |
| 286 # Unset more variables known to interfere with behavior of common tools. | |
| 287 CLICOLOR_FORCE= GREP_OPTIONS= | |
| 288 unset CLICOLOR_FORCE GREP_OPTIONS | |
| 289 | |
| 290 ## --------------------- ## | |
| 291 ## M4sh Shell Functions. ## | |
| 292 ## --------------------- ## | |
| 293 # as_fn_unset VAR | |
| 294 # --------------- | |
| 295 # Portably unset VAR. | |
| 296 as_fn_unset () | |
| 297 { | |
| 298 { eval $1=; unset $1;} | |
| 299 } | |
| 300 as_unset=as_fn_unset | |
| 301 | |
| 302 # as_fn_set_status STATUS | |
| 303 # ----------------------- | |
| 304 # Set $? to STATUS, without forking. | |
| 305 as_fn_set_status () | |
| 306 { | |
| 307 return $1 | |
| 308 } # as_fn_set_status | |
| 309 | |
| 310 # as_fn_exit STATUS | |
| 311 # ----------------- | |
| 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 313 as_fn_exit () | |
| 314 { | |
| 315 set +e | |
| 316 as_fn_set_status $1 | |
| 317 exit $1 | |
| 318 } # as_fn_exit | |
| 319 | |
| 320 # as_fn_mkdir_p | |
| 321 # ------------- | |
| 322 # Create "$as_dir" as a directory, including parents if necessary. | |
| 323 as_fn_mkdir_p () | |
| 324 { | |
| 325 | |
| 326 case $as_dir in #( | |
| 327 -*) as_dir=./$as_dir;; | |
| 328 esac | |
| 329 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 330 as_dirs= | |
| 331 while :; do | |
| 332 case $as_dir in #( | |
| 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 334 *) as_qdir=$as_dir;; | |
| 335 esac | |
| 336 as_dirs="'$as_qdir' $as_dirs" | |
| 337 as_dir=`$as_dirname -- "$as_dir" || | |
| 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 339 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 340 X"$as_dir" : 'X\(//\)$' \| \ | |
| 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 342 $as_echo X"$as_dir" | | |
| 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 344 s//\1/ | |
| 345 q | |
| 346 } | |
| 347 /^X\(\/\/\)[^/].*/{ | |
| 348 s//\1/ | |
| 349 q | |
| 350 } | |
| 351 /^X\(\/\/\)$/{ | |
| 352 s//\1/ | |
| 353 q | |
| 354 } | |
| 355 /^X\(\/\).*/{ | |
| 356 s//\1/ | |
| 357 q | |
| 358 } | |
| 359 s/.*/./; q'` | |
| 360 test -d "$as_dir" && break | |
| 361 done | |
| 362 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 364 | |
| 365 | |
| 366 } # as_fn_mkdir_p | |
| 367 | |
| 368 # as_fn_executable_p FILE | |
| 369 # ----------------------- | |
| 370 # Test if FILE is an executable regular file. | |
| 371 as_fn_executable_p () | |
| 372 { | |
| 373 test -f "$1" && test -x "$1" | |
| 374 } # as_fn_executable_p | |
| 375 # as_fn_append VAR VALUE | |
| 376 # ---------------------- | |
| 377 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 378 # advantage of any shell optimizations that allow amortized linear growth over | |
| 379 # repeated appends, instead of the typical quadratic growth present in naive | |
| 380 # implementations. | |
| 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 382 eval 'as_fn_append () | |
| 383 { | |
| 384 eval $1+=\$2 | |
| 385 }' | |
| 386 else | |
| 387 as_fn_append () | |
| 388 { | |
| 389 eval $1=\$$1\$2 | |
| 390 } | |
| 391 fi # as_fn_append | |
| 392 | |
| 393 # as_fn_arith ARG... | |
| 394 # ------------------ | |
| 395 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 397 # must be portable across $(()) and expr. | |
| 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 399 eval 'as_fn_arith () | |
| 400 { | |
| 401 as_val=$(( $* )) | |
| 402 }' | |
| 403 else | |
| 404 as_fn_arith () | |
| 405 { | |
| 406 as_val=`expr "$@" || test $? -eq 1` | |
| 407 } | |
| 408 fi # as_fn_arith | |
| 409 | |
| 410 | |
| 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 412 # ---------------------------------------- | |
| 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 415 # script with STATUS, using 1 if that was 0. | |
| 416 as_fn_error () | |
| 417 { | |
| 418 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 419 if test "$4"; then | |
| 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 422 fi | |
| 423 $as_echo "$as_me: error: $2" >&2 | |
| 424 as_fn_exit $as_status | |
| 425 } # as_fn_error | |
| 426 | |
| 427 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 429 as_expr=expr | |
| 430 else | |
| 431 as_expr=false | |
| 432 fi | |
| 433 | |
| 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 435 as_basename=basename | |
| 436 else | |
| 437 as_basename=false | |
| 438 fi | |
| 439 | |
| 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 441 as_dirname=dirname | |
| 442 else | |
| 443 as_dirname=false | |
| 444 fi | |
| 445 | |
| 446 as_me=`$as_basename -- "$0" || | |
| 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 448 X"$0" : 'X\(//\)$' \| \ | |
| 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 450 $as_echo X/"$0" | | |
| 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 452 s//\1/ | |
| 453 q | |
| 454 } | |
| 455 /^X\/\(\/\/\)$/{ | |
| 456 s//\1/ | |
| 457 q | |
| 458 } | |
| 459 /^X\/\(\/\).*/{ | |
| 460 s//\1/ | |
| 461 q | |
| 462 } | |
| 463 s/.*/./; q'` | |
| 464 | |
| 465 # Avoid depending upon Character Ranges. | |
| 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 469 as_cr_digits='0123456789' | |
| 470 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 471 | |
| 472 | |
| 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 478 sed -n ' | |
| 479 p | |
| 480 /[$]LINENO/= | |
| 481 ' <$as_myself | | |
| 482 sed ' | |
| 483 s/[$]LINENO.*/&-/ | |
| 484 t lineno | |
| 485 b | |
| 486 :lineno | |
| 487 N | |
| 488 :loop | |
| 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 490 t loop | |
| 491 s/-\n.*// | |
| 492 ' >$as_me.lineno && | |
| 493 chmod +x "$as_me.lineno" || | |
| 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s
hell" >&2; as_fn_exit 1; } | |
| 495 | |
| 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
| 497 # already done that, so ensure we don't try to do so again and fall | |
| 498 # in an infinite loop. This has already happened in practice. | |
| 499 _as_can_reexec=no; export _as_can_reexec | |
| 500 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 501 # (the dirname of $[0] is not the place where we might find the | |
| 502 # original and so on. Autoconf is especially sensitive to this). | |
| 503 . "./$as_me.lineno" | |
| 504 # Exit status is that of the last command. | |
| 505 exit | |
| 506 } | |
| 507 | |
| 508 ECHO_C= ECHO_N= ECHO_T= | |
| 509 case `echo -n x` in #((((( | |
| 510 -n*) | |
| 511 case `echo 'xy\c'` in | |
| 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 513 xy) ECHO_C='\c';; | |
| 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 515 ECHO_T=' ';; | |
| 516 esac;; | |
| 517 *) | |
| 518 ECHO_N='-n';; | |
| 519 esac | |
| 520 | |
| 521 rm -f conf$$ conf$$.exe conf$$.file | |
| 522 if test -d conf$$.dir; then | |
| 523 rm -f conf$$.dir/conf$$.file | |
| 524 else | |
| 525 rm -f conf$$.dir | |
| 526 mkdir conf$$.dir 2>/dev/null | |
| 527 fi | |
| 528 if (echo >conf$$.file) 2>/dev/null; then | |
| 529 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 530 as_ln_s='ln -s' | |
| 531 # ... but there are two gotchas: | |
| 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 534 # In both cases, we have to default to `cp -pR'. | |
| 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 536 as_ln_s='cp -pR' | |
| 537 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 538 as_ln_s=ln | |
| 539 else | |
| 540 as_ln_s='cp -pR' | |
| 541 fi | |
| 542 else | |
| 543 as_ln_s='cp -pR' | |
| 544 fi | |
| 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 546 rmdir conf$$.dir 2>/dev/null | |
| 547 | |
| 548 if mkdir -p . 2>/dev/null; then | |
| 549 as_mkdir_p='mkdir -p "$as_dir"' | |
| 550 else | |
| 551 test -d ./-p && rmdir ./-p | |
| 552 as_mkdir_p=false | |
| 553 fi | |
| 554 | |
| 555 as_test_x='test -x' | |
| 556 as_executable_p=as_fn_executable_p | |
| 557 | |
| 558 # Sed expression to map a string onto a valid CPP name. | |
| 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 560 | |
| 561 # Sed expression to map a string onto a valid variable name. | |
| 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 563 | |
| 564 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 565 | |
| 566 | |
| 567 test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 568 exec 6>&1 | |
| 569 | |
| 570 # Name of the host. | |
| 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 572 # so uname gets run too. | |
| 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 574 | |
| 575 # | |
| 576 # Initializations. | |
| 577 # | |
| 578 ac_default_prefix=/usr/local | |
| 579 ac_clean_files= | |
| 580 ac_config_libobj_dir=. | |
| 581 LIBOBJS= | |
| 582 cross_compiling=no | |
| 583 subdirs= | |
| 584 MFLAGS= | |
| 585 MAKEFLAGS= | |
| 586 | |
| 587 # Identity of this package. | |
| 588 PACKAGE_NAME= | |
| 589 PACKAGE_TARNAME= | |
| 590 PACKAGE_VERSION= | |
| 591 PACKAGE_STRING= | |
| 592 PACKAGE_BUGREPORT= | |
| 593 PACKAGE_URL= | |
| 594 | |
| 595 ac_unique_file="libxslt/xslt.c" | |
| 596 # Factoring default headers for most tests. | |
| 597 ac_includes_default="\ | |
| 598 #include <stdio.h> | |
| 599 #ifdef HAVE_SYS_TYPES_H | |
| 600 # include <sys/types.h> | |
| 601 #endif | |
| 602 #ifdef HAVE_SYS_STAT_H | |
| 603 # include <sys/stat.h> | |
| 604 #endif | |
| 605 #ifdef STDC_HEADERS | |
| 606 # include <stdlib.h> | |
| 607 # include <stddef.h> | |
| 608 #else | |
| 609 # ifdef HAVE_STDLIB_H | |
| 610 # include <stdlib.h> | |
| 611 # endif | |
| 612 #endif | |
| 613 #ifdef HAVE_STRING_H | |
| 614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 615 # include <memory.h> | |
| 616 # endif | |
| 617 # include <string.h> | |
| 618 #endif | |
| 619 #ifdef HAVE_STRINGS_H | |
| 620 # include <strings.h> | |
| 621 #endif | |
| 622 #ifdef HAVE_INTTYPES_H | |
| 623 # include <inttypes.h> | |
| 624 #endif | |
| 625 #ifdef HAVE_STDINT_H | |
| 626 # include <stdint.h> | |
| 627 #endif | |
| 628 #ifdef HAVE_UNISTD_H | |
| 629 # include <unistd.h> | |
| 630 #endif" | |
| 631 | |
| 632 ac_subst_vars='am__EXEEXT_FALSE | |
| 633 am__EXEEXT_TRUE | |
| 634 LTLIBOBJS | |
| 635 LIBOBJS | |
| 636 RELDATE | |
| 637 M_LIBS | |
| 638 EXTRA_LIBS | |
| 639 EXSLT_LIBS | |
| 640 EXSLT_INCLUDEDIR | |
| 641 EXSLT_LIBDIR | |
| 642 XSLT_LIBS | |
| 643 XSLT_INCLUDEDIR | |
| 644 XSLT_LIBDIR | |
| 645 PYTHON_SITE_PACKAGES | |
| 646 PYTHON_INCLUDES | |
| 647 PYTHON_VERSION | |
| 648 LIBXML_CFLAGS | |
| 649 LIBXML_LIBS | |
| 650 PYTHONSODV | |
| 651 XSLTPROCDV | |
| 652 WIN32_EXTRA_LDFLAGS | |
| 653 WIN32_EXTRA_LIBADD | |
| 654 LIBXSLT_DEFAULT_PLUGINS_PATH | |
| 655 WITH_MODULES_FALSE | |
| 656 WITH_MODULES_TRUE | |
| 657 WITH_MODULES | |
| 658 XML_CONFIG | |
| 659 LIBXML_REQUIRED_VERSION | |
| 660 LIBXML_SRC | |
| 661 WITH_DEBUGGER | |
| 662 WITH_MEM_DEBUG | |
| 663 WITH_XSLT_DEBUG | |
| 664 LIBGCRYPT_LIBS | |
| 665 LIBGCRYPT_CFLAGS | |
| 666 CRYPTO_TESTDIR | |
| 667 WITH_CRYPTO | |
| 668 LIBGCRYPT_CONFIG | |
| 669 PYTHON_LIBS | |
| 670 PYTHON_SUBDIR | |
| 671 pythondir | |
| 672 WITH_PYTHON_FALSE | |
| 673 WITH_PYTHON_TRUE | |
| 674 PYTHON | |
| 675 WITH_PERL_FALSE | |
| 676 WITH_PERL_TRUE | |
| 677 PERL | |
| 678 WITH_TRIO | |
| 679 XSLT_LOCALE_WINAPI | |
| 680 XSLT_LOCALE_XLOCALE | |
| 681 THREAD_LIBS | |
| 682 USE_VERSION_SCRIPT_FALSE | |
| 683 USE_VERSION_SCRIPT_TRUE | |
| 684 VERSION_SCRIPT_FLAGS | |
| 685 OTOOL64 | |
| 686 OTOOL | |
| 687 LIPO | |
| 688 NMEDIT | |
| 689 DSYMUTIL | |
| 690 MANIFEST_TOOL | |
| 691 RANLIB | |
| 692 ac_ct_AR | |
| 693 AR | |
| 694 LN_S | |
| 695 NM | |
| 696 ac_ct_DUMPBIN | |
| 697 DUMPBIN | |
| 698 LD | |
| 699 FGREP | |
| 700 SED | |
| 701 LIBTOOL | |
| 702 OBJDUMP | |
| 703 DLLTOOL | |
| 704 AS | |
| 705 XSLTPROC | |
| 706 XMLLINT | |
| 707 TAR | |
| 708 MV | |
| 709 RM | |
| 710 HTML_DIR | |
| 711 AM_BACKSLASH | |
| 712 AM_DEFAULT_VERBOSITY | |
| 713 AM_DEFAULT_V | |
| 714 AM_V | |
| 715 am__fastdepCC_FALSE | |
| 716 am__fastdepCC_TRUE | |
| 717 CCDEPMODE | |
| 718 am__nodep | |
| 719 AMDEPBACKSLASH | |
| 720 AMDEP_FALSE | |
| 721 AMDEP_TRUE | |
| 722 am__quote | |
| 723 am__include | |
| 724 DEPDIR | |
| 725 am__untar | |
| 726 am__tar | |
| 727 AMTAR | |
| 728 am__leading_dot | |
| 729 SET_MAKE | |
| 730 AWK | |
| 731 mkdir_p | |
| 732 MKDIR_P | |
| 733 INSTALL_STRIP_PROGRAM | |
| 734 STRIP | |
| 735 install_sh | |
| 736 MAKEINFO | |
| 737 AUTOHEADER | |
| 738 AUTOMAKE | |
| 739 AUTOCONF | |
| 740 ACLOCAL | |
| 741 VERSION | |
| 742 PACKAGE | |
| 743 CYGPATH_W | |
| 744 am__isrc | |
| 745 INSTALL_DATA | |
| 746 INSTALL_SCRIPT | |
| 747 INSTALL_PROGRAM | |
| 748 LIBEXSLT_VERSION_EXTRA | |
| 749 LIBEXSLT_VERSION_NUMBER | |
| 750 LIBEXSLT_VERSION_INFO | |
| 751 LIBEXSLT_VERSION | |
| 752 LIBEXSLT_MICRO_VERSION | |
| 753 LIBEXSLT_MINOR_VERSION | |
| 754 LIBEXSLT_MAJOR_VERSION | |
| 755 LIBXSLT_MAJOR_MINOR_VERSION | |
| 756 LIBXSLT_VERSION_EXTRA | |
| 757 LIBXSLT_VERSION_NUMBER | |
| 758 LIBXSLT_VERSION_INFO | |
| 759 LIBXSLT_VERSION | |
| 760 LIBXSLT_MICRO_VERSION | |
| 761 LIBXSLT_MINOR_VERSION | |
| 762 LIBXSLT_MAJOR_VERSION | |
| 763 EGREP | |
| 764 GREP | |
| 765 CPP | |
| 766 OBJEXT | |
| 767 EXEEXT | |
| 768 ac_ct_CC | |
| 769 CPPFLAGS | |
| 770 LDFLAGS | |
| 771 CFLAGS | |
| 772 CC | |
| 773 host_os | |
| 774 host_vendor | |
| 775 host_cpu | |
| 776 host | |
| 777 build_os | |
| 778 build_vendor | |
| 779 build_cpu | |
| 780 build | |
| 781 target_alias | |
| 782 host_alias | |
| 783 build_alias | |
| 784 LIBS | |
| 785 ECHO_T | |
| 786 ECHO_N | |
| 787 ECHO_C | |
| 788 DEFS | |
| 789 mandir | |
| 790 localedir | |
| 791 libdir | |
| 792 psdir | |
| 793 pdfdir | |
| 794 dvidir | |
| 795 htmldir | |
| 796 infodir | |
| 797 docdir | |
| 798 oldincludedir | |
| 799 includedir | |
| 800 localstatedir | |
| 801 sharedstatedir | |
| 802 sysconfdir | |
| 803 datadir | |
| 804 datarootdir | |
| 805 libexecdir | |
| 806 sbindir | |
| 807 bindir | |
| 808 program_transform_name | |
| 809 prefix | |
| 810 exec_prefix | |
| 811 PACKAGE_URL | |
| 812 PACKAGE_BUGREPORT | |
| 813 PACKAGE_STRING | |
| 814 PACKAGE_VERSION | |
| 815 PACKAGE_TARNAME | |
| 816 PACKAGE_NAME | |
| 817 PATH_SEPARATOR | |
| 818 SHELL' | |
| 819 ac_subst_files='' | |
| 820 ac_user_opts=' | |
| 821 enable_option_checking | |
| 822 enable_dependency_tracking | |
| 823 enable_silent_rules | |
| 824 with_html_dir | |
| 825 with_html_subdir | |
| 826 enable_shared | |
| 827 enable_static | |
| 828 with_pic | |
| 829 enable_fast_install | |
| 830 with_gnu_ld | |
| 831 with_sysroot | |
| 832 enable_libtool_lock | |
| 833 with_python | |
| 834 with_crypto | |
| 835 with_debug | |
| 836 with_mem_debug | |
| 837 with_debugger | |
| 838 with_libxml_prefix | |
| 839 with_libxml_include_prefix | |
| 840 with_libxml_libs_prefix | |
| 841 with_libxml_src | |
| 842 with_plugins | |
| 843 ' | |
| 844 ac_precious_vars='build_alias | |
| 845 host_alias | |
| 846 target_alias | |
| 847 CC | |
| 848 CFLAGS | |
| 849 LDFLAGS | |
| 850 LIBS | |
| 851 CPPFLAGS | |
| 852 CPP' | |
| 853 | |
| 854 | |
| 855 # Initialize some variables set by options. | |
| 856 ac_init_help= | |
| 857 ac_init_version=false | |
| 858 ac_unrecognized_opts= | |
| 859 ac_unrecognized_sep= | |
| 860 # The variables have the same names as the options, with | |
| 861 # dashes changed to underlines. | |
| 862 cache_file=/dev/null | |
| 863 exec_prefix=NONE | |
| 864 no_create= | |
| 865 no_recursion= | |
| 866 prefix=NONE | |
| 867 program_prefix=NONE | |
| 868 program_suffix=NONE | |
| 869 program_transform_name=s,x,x, | |
| 870 silent= | |
| 871 site= | |
| 872 srcdir= | |
| 873 verbose= | |
| 874 x_includes=NONE | |
| 875 x_libraries=NONE | |
| 876 | |
| 877 # Installation directory options. | |
| 878 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 879 # and all the variables that are supposed to be based on exec_prefix | |
| 880 # by default will actually change. | |
| 881 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 882 # (The list follows the same order as the GNU Coding Standards.) | |
| 883 bindir='${exec_prefix}/bin' | |
| 884 sbindir='${exec_prefix}/sbin' | |
| 885 libexecdir='${exec_prefix}/libexec' | |
| 886 datarootdir='${prefix}/share' | |
| 887 datadir='${datarootdir}' | |
| 888 sysconfdir='${prefix}/etc' | |
| 889 sharedstatedir='${prefix}/com' | |
| 890 localstatedir='${prefix}/var' | |
| 891 includedir='${prefix}/include' | |
| 892 oldincludedir='/usr/include' | |
| 893 docdir='${datarootdir}/doc/${PACKAGE}' | |
| 894 infodir='${datarootdir}/info' | |
| 895 htmldir='${docdir}' | |
| 896 dvidir='${docdir}' | |
| 897 pdfdir='${docdir}' | |
| 898 psdir='${docdir}' | |
| 899 libdir='${exec_prefix}/lib' | |
| 900 localedir='${datarootdir}/locale' | |
| 901 mandir='${datarootdir}/man' | |
| 902 | |
| 903 ac_prev= | |
| 904 ac_dashdash= | |
| 905 for ac_option | |
| 906 do | |
| 907 # If the previous option needs an argument, assign it. | |
| 908 if test -n "$ac_prev"; then | |
| 909 eval $ac_prev=\$ac_option | |
| 910 ac_prev= | |
| 911 continue | |
| 912 fi | |
| 913 | |
| 914 case $ac_option in | |
| 915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 916 *=) ac_optarg= ;; | |
| 917 *) ac_optarg=yes ;; | |
| 918 esac | |
| 919 | |
| 920 # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 921 | |
| 922 case $ac_dashdash$ac_option in | |
| 923 --) | |
| 924 ac_dashdash=yes ;; | |
| 925 | |
| 926 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 927 ac_prev=bindir ;; | |
| 928 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 929 bindir=$ac_optarg ;; | |
| 930 | |
| 931 -build | --build | --buil | --bui | --bu) | |
| 932 ac_prev=build_alias ;; | |
| 933 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 934 build_alias=$ac_optarg ;; | |
| 935 | |
| 936 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 938 ac_prev=cache_file ;; | |
| 939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 941 cache_file=$ac_optarg ;; | |
| 942 | |
| 943 --config-cache | -C) | |
| 944 cache_file=config.cache ;; | |
| 945 | |
| 946 -datadir | --datadir | --datadi | --datad) | |
| 947 ac_prev=datadir ;; | |
| 948 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 949 datadir=$ac_optarg ;; | |
| 950 | |
| 951 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 952 | --dataroo | --dataro | --datar) | |
| 953 ac_prev=datarootdir ;; | |
| 954 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 955 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 956 datarootdir=$ac_optarg ;; | |
| 957 | |
| 958 -disable-* | --disable-*) | |
| 959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 960 # Reject names that are not valid shell variable names. | |
| 961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 962 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 963 ac_useropt_orig=$ac_useropt | |
| 964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 965 case $ac_user_opts in | |
| 966 *" | |
| 967 "enable_$ac_useropt" | |
| 968 "*) ;; | |
| 969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disabl
e-$ac_useropt_orig" | |
| 970 ac_unrecognized_sep=', ';; | |
| 971 esac | |
| 972 eval enable_$ac_useropt=no ;; | |
| 973 | |
| 974 -docdir | --docdir | --docdi | --doc | --do) | |
| 975 ac_prev=docdir ;; | |
| 976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 977 docdir=$ac_optarg ;; | |
| 978 | |
| 979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 980 ac_prev=dvidir ;; | |
| 981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 982 dvidir=$ac_optarg ;; | |
| 983 | |
| 984 -enable-* | --enable-*) | |
| 985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 986 # Reject names that are not valid shell variable names. | |
| 987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 988 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 989 ac_useropt_orig=$ac_useropt | |
| 990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 991 case $ac_user_opts in | |
| 992 *" | |
| 993 "enable_$ac_useropt" | |
| 994 "*) ;; | |
| 995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable
-$ac_useropt_orig" | |
| 996 ac_unrecognized_sep=', ';; | |
| 997 esac | |
| 998 eval enable_$ac_useropt=\$ac_optarg ;; | |
| 999 | |
| 1000 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 1001 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 1002 | --exec | --exe | --ex) | |
| 1003 ac_prev=exec_prefix ;; | |
| 1004 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 1005 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 1006 | --exec=* | --exe=* | --ex=*) | |
| 1007 exec_prefix=$ac_optarg ;; | |
| 1008 | |
| 1009 -gas | --gas | --ga | --g) | |
| 1010 # Obsolete; use --with-gas. | |
| 1011 with_gas=yes ;; | |
| 1012 | |
| 1013 -help | --help | --hel | --he | -h) | |
| 1014 ac_init_help=long ;; | |
| 1015 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 1016 ac_init_help=recursive ;; | |
| 1017 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 1018 ac_init_help=short ;; | |
| 1019 | |
| 1020 -host | --host | --hos | --ho) | |
| 1021 ac_prev=host_alias ;; | |
| 1022 -host=* | --host=* | --hos=* | --ho=*) | |
| 1023 host_alias=$ac_optarg ;; | |
| 1024 | |
| 1025 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 1026 ac_prev=htmldir ;; | |
| 1027 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 1028 | --ht=*) | |
| 1029 htmldir=$ac_optarg ;; | |
| 1030 | |
| 1031 -includedir | --includedir | --includedi | --included | --include \ | |
| 1032 | --includ | --inclu | --incl | --inc) | |
| 1033 ac_prev=includedir ;; | |
| 1034 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 1035 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 1036 includedir=$ac_optarg ;; | |
| 1037 | |
| 1038 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 1039 ac_prev=infodir ;; | |
| 1040 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 1041 infodir=$ac_optarg ;; | |
| 1042 | |
| 1043 -libdir | --libdir | --libdi | --libd) | |
| 1044 ac_prev=libdir ;; | |
| 1045 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 1046 libdir=$ac_optarg ;; | |
| 1047 | |
| 1048 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 1049 | --libexe | --libex | --libe) | |
| 1050 ac_prev=libexecdir ;; | |
| 1051 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 1052 | --libexe=* | --libex=* | --libe=*) | |
| 1053 libexecdir=$ac_optarg ;; | |
| 1054 | |
| 1055 -localedir | --localedir | --localedi | --localed | --locale) | |
| 1056 ac_prev=localedir ;; | |
| 1057 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 1058 localedir=$ac_optarg ;; | |
| 1059 | |
| 1060 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 1061 | --localstate | --localstat | --localsta | --localst | --locals) | |
| 1062 ac_prev=localstatedir ;; | |
| 1063 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 1064 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 1065 localstatedir=$ac_optarg ;; | |
| 1066 | |
| 1067 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 1068 ac_prev=mandir ;; | |
| 1069 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 1070 mandir=$ac_optarg ;; | |
| 1071 | |
| 1072 -nfp | --nfp | --nf) | |
| 1073 # Obsolete; use --without-fp. | |
| 1074 with_fp=no ;; | |
| 1075 | |
| 1076 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 1077 | --no-cr | --no-c | -n) | |
| 1078 no_create=yes ;; | |
| 1079 | |
| 1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 1082 no_recursion=yes ;; | |
| 1083 | |
| 1084 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 1085 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 1086 | --oldin | --oldi | --old | --ol | --o) | |
| 1087 ac_prev=oldincludedir ;; | |
| 1088 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 1089 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 1090 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 1091 oldincludedir=$ac_optarg ;; | |
| 1092 | |
| 1093 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 1094 ac_prev=prefix ;; | |
| 1095 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 1096 prefix=$ac_optarg ;; | |
| 1097 | |
| 1098 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 1099 | --program-pre | --program-pr | --program-p) | |
| 1100 ac_prev=program_prefix ;; | |
| 1101 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 1102 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 1103 program_prefix=$ac_optarg ;; | |
| 1104 | |
| 1105 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 1106 | --program-suf | --program-su | --program-s) | |
| 1107 ac_prev=program_suffix ;; | |
| 1108 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 1109 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 1110 program_suffix=$ac_optarg ;; | |
| 1111 | |
| 1112 -program-transform-name | --program-transform-name \ | |
| 1113 | --program-transform-nam | --program-transform-na \ | |
| 1114 | --program-transform-n | --program-transform- \ | |
| 1115 | --program-transform | --program-transfor \ | |
| 1116 | --program-transfo | --program-transf \ | |
| 1117 | --program-trans | --program-tran \ | |
| 1118 | --progr-tra | --program-tr | --program-t) | |
| 1119 ac_prev=program_transform_name ;; | |
| 1120 -program-transform-name=* | --program-transform-name=* \ | |
| 1121 | --program-transform-nam=* | --program-transform-na=* \ | |
| 1122 | --program-transform-n=* | --program-transform-=* \ | |
| 1123 | --program-transform=* | --program-transfor=* \ | |
| 1124 | --program-transfo=* | --program-transf=* \ | |
| 1125 | --program-trans=* | --program-tran=* \ | |
| 1126 | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 1127 program_transform_name=$ac_optarg ;; | |
| 1128 | |
| 1129 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 1130 ac_prev=pdfdir ;; | |
| 1131 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 1132 pdfdir=$ac_optarg ;; | |
| 1133 | |
| 1134 -psdir | --psdir | --psdi | --psd | --ps) | |
| 1135 ac_prev=psdir ;; | |
| 1136 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 1137 psdir=$ac_optarg ;; | |
| 1138 | |
| 1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1140 | -silent | --silent | --silen | --sile | --sil) | |
| 1141 silent=yes ;; | |
| 1142 | |
| 1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 1144 ac_prev=sbindir ;; | |
| 1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 1146 | --sbi=* | --sb=*) | |
| 1147 sbindir=$ac_optarg ;; | |
| 1148 | |
| 1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 1151 | --sharedst | --shareds | --shared | --share | --shar \ | |
| 1152 | --sha | --sh) | |
| 1153 ac_prev=sharedstatedir ;; | |
| 1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 1157 | --sha=* | --sh=*) | |
| 1158 sharedstatedir=$ac_optarg ;; | |
| 1159 | |
| 1160 -site | --site | --sit) | |
| 1161 ac_prev=site ;; | |
| 1162 -site=* | --site=* | --sit=*) | |
| 1163 site=$ac_optarg ;; | |
| 1164 | |
| 1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 1166 ac_prev=srcdir ;; | |
| 1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 1168 srcdir=$ac_optarg ;; | |
| 1169 | |
| 1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 1171 | --syscon | --sysco | --sysc | --sys | --sy) | |
| 1172 ac_prev=sysconfdir ;; | |
| 1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 1175 sysconfdir=$ac_optarg ;; | |
| 1176 | |
| 1177 -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 1178 ac_prev=target_alias ;; | |
| 1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 1180 target_alias=$ac_optarg ;; | |
| 1181 | |
| 1182 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1183 verbose=yes ;; | |
| 1184 | |
| 1185 -version | --version | --versio | --versi | --vers | -V) | |
| 1186 ac_init_version=: ;; | |
| 1187 | |
| 1188 -with-* | --with-*) | |
| 1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1190 # Reject names that are not valid shell variable names. | |
| 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1192 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1193 ac_useropt_orig=$ac_useropt | |
| 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1195 case $ac_user_opts in | |
| 1196 *" | |
| 1197 "with_$ac_useropt" | |
| 1198 "*) ;; | |
| 1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$
ac_useropt_orig" | |
| 1200 ac_unrecognized_sep=', ';; | |
| 1201 esac | |
| 1202 eval with_$ac_useropt=\$ac_optarg ;; | |
| 1203 | |
| 1204 -without-* | --without-*) | |
| 1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1206 # Reject names that are not valid shell variable names. | |
| 1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1208 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1209 ac_useropt_orig=$ac_useropt | |
| 1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1211 case $ac_user_opts in | |
| 1212 *" | |
| 1213 "with_$ac_useropt" | |
| 1214 "*) ;; | |
| 1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--withou
t-$ac_useropt_orig" | |
| 1216 ac_unrecognized_sep=', ';; | |
| 1217 esac | |
| 1218 eval with_$ac_useropt=no ;; | |
| 1219 | |
| 1220 --x) | |
| 1221 # Obsolete; use --with-x. | |
| 1222 with_x=yes ;; | |
| 1223 | |
| 1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1225 | --x-incl | --x-inc | --x-in | --x-i) | |
| 1226 ac_prev=x_includes ;; | |
| 1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1229 x_includes=$ac_optarg ;; | |
| 1230 | |
| 1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1233 ac_prev=x_libraries ;; | |
| 1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1236 x_libraries=$ac_optarg ;; | |
| 1237 | |
| 1238 -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
| 1239 Try \`$0 --help' for more information" | |
| 1240 ;; | |
| 1241 | |
| 1242 *=*) | |
| 1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1244 # Reject names that are not valid shell variable names. | |
| 1245 case $ac_envvar in #( | |
| 1246 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1248 esac | |
| 1249 eval $ac_envvar=\$ac_optarg | |
| 1250 export $ac_envvar ;; | |
| 1251 | |
| 1252 *) | |
| 1253 # FIXME: should be removed in autoconf 3.0. | |
| 1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opt
ion}" | |
| 1258 ;; | |
| 1259 | |
| 1260 esac | |
| 1261 done | |
| 1262 | |
| 1263 if test -n "$ac_prev"; then | |
| 1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1265 as_fn_error $? "missing argument to $ac_option" | |
| 1266 fi | |
| 1267 | |
| 1268 if test -n "$ac_unrecognized_opts"; then | |
| 1269 case $enable_option_checking in | |
| 1270 no) ;; | |
| 1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
| 1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt
s" >&2 ;; | |
| 1273 esac | |
| 1274 fi | |
| 1275 | |
| 1276 # Check all directory arguments for consistency. | |
| 1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1278 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1280 libdir localedir mandir | |
| 1281 do | |
| 1282 eval ac_val=\$$ac_var | |
| 1283 # Remove trailing slashes. | |
| 1284 case $ac_val in | |
| 1285 */ ) | |
| 1286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
| 1287 eval $ac_var=\$ac_val;; | |
| 1288 esac | |
| 1289 # Be sure to have absolute directory names. | |
| 1290 case $ac_val in | |
| 1291 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1293 esac | |
| 1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 1295 done | |
| 1296 | |
| 1297 # There might be people who depend on the old broken behavior: `$host' | |
| 1298 # used to hold the argument of --host etc. | |
| 1299 # FIXME: To remove some day. | |
| 1300 build=$build_alias | |
| 1301 host=$host_alias | |
| 1302 target=$target_alias | |
| 1303 | |
| 1304 # FIXME: To remove some day. | |
| 1305 if test "x$host_alias" != x; then | |
| 1306 if test "x$build_alias" = x; then | |
| 1307 cross_compiling=maybe | |
| 1308 elif test "x$build_alias" != "x$host_alias"; then | |
| 1309 cross_compiling=yes | |
| 1310 fi | |
| 1311 fi | |
| 1312 | |
| 1313 ac_tool_prefix= | |
| 1314 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1315 | |
| 1316 test "$silent" = yes && exec 6>/dev/null | |
| 1317 | |
| 1318 | |
| 1319 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1320 ac_ls_di=`ls -di .` && | |
| 1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1322 as_fn_error $? "working directory cannot be determined" | |
| 1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1324 as_fn_error $? "pwd does not report name of working directory" | |
| 1325 | |
| 1326 | |
| 1327 # Find the source files, if location was not specified. | |
| 1328 if test -z "$srcdir"; then | |
| 1329 ac_srcdir_defaulted=yes | |
| 1330 # Try the directory containing this script, then the parent directory. | |
| 1331 ac_confdir=`$as_dirname -- "$as_myself" || | |
| 1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1333 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
| 1334 X"$as_myself" : 'X\(//\)$' \| \ | |
| 1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1336 $as_echo X"$as_myself" | | |
| 1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1338 s//\1/ | |
| 1339 q | |
| 1340 } | |
| 1341 /^X\(\/\/\)[^/].*/{ | |
| 1342 s//\1/ | |
| 1343 q | |
| 1344 } | |
| 1345 /^X\(\/\/\)$/{ | |
| 1346 s//\1/ | |
| 1347 q | |
| 1348 } | |
| 1349 /^X\(\/\).*/{ | |
| 1350 s//\1/ | |
| 1351 q | |
| 1352 } | |
| 1353 s/.*/./; q'` | |
| 1354 srcdir=$ac_confdir | |
| 1355 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1356 srcdir=.. | |
| 1357 fi | |
| 1358 else | |
| 1359 ac_srcdir_defaulted=no | |
| 1360 fi | |
| 1361 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
| 1364 fi | |
| 1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1366 ac_abs_confdir=`( | |
| 1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1368 pwd)` | |
| 1369 # When building in place, set srcdir=. | |
| 1370 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1371 srcdir=. | |
| 1372 fi | |
| 1373 # Remove unnecessary trailing slashes from srcdir. | |
| 1374 # Double slashes in file names in object file debugging info | |
| 1375 # mess up M-x gdb in Emacs. | |
| 1376 case $srcdir in | |
| 1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1378 esac | |
| 1379 for ac_var in $ac_precious_vars; do | |
| 1380 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1381 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1383 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1384 done | |
| 1385 | |
| 1386 # | |
| 1387 # Report the --help message. | |
| 1388 # | |
| 1389 if test "$ac_init_help" = "long"; then | |
| 1390 # Omit some internal or obsolete options to make the list less imposing. | |
| 1391 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1392 cat <<_ACEOF | |
| 1393 \`configure' configures this package to adapt to many kinds of systems. | |
| 1394 | |
| 1395 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1396 | |
| 1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1398 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1399 | |
| 1400 Defaults for the options are specified in brackets. | |
| 1401 | |
| 1402 Configuration: | |
| 1403 -h, --help display this help and exit | |
| 1404 --help=short display options specific to this package | |
| 1405 --help=recursive display the short help of all the included packages | |
| 1406 -V, --version display version information and exit | |
| 1407 -q, --quiet, --silent do not print \`checking ...' messages | |
| 1408 --cache-file=FILE cache test results in FILE [disabled] | |
| 1409 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1410 -n, --no-create do not create output files | |
| 1411 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1412 | |
| 1413 Installation directories: | |
| 1414 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1415 [$ac_default_prefix] | |
| 1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1417 [PREFIX] | |
| 1418 | |
| 1419 By default, \`make install' will install all the files in | |
| 1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1422 for instance \`--prefix=\$HOME'. | |
| 1423 | |
| 1424 For better control, use the options below. | |
| 1425 | |
| 1426 Fine tuning of the installation directories: | |
| 1427 --bindir=DIR user executables [EPREFIX/bin] | |
| 1428 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1429 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1433 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1434 --includedir=DIR C header files [PREFIX/include] | |
| 1435 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1438 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1440 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
| 1442 --htmldir=DIR html documentation [DOCDIR] | |
| 1443 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1444 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1445 --psdir=DIR ps documentation [DOCDIR] | |
| 1446 _ACEOF | |
| 1447 | |
| 1448 cat <<\_ACEOF | |
| 1449 | |
| 1450 Program names: | |
| 1451 --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 1452 --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 1453 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
| 1454 | |
| 1455 System types: | |
| 1456 --build=BUILD configure for building on BUILD [guessed] | |
| 1457 --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
| 1458 _ACEOF | |
| 1459 fi | |
| 1460 | |
| 1461 if test -n "$ac_init_help"; then | |
| 1462 | |
| 1463 cat <<\_ACEOF | |
| 1464 | |
| 1465 Optional Features: | |
| 1466 --disable-option-checking ignore unrecognized --enable/--with options | |
| 1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1469 --enable-dependency-tracking | |
| 1470 do not reject slow dependency extractors | |
| 1471 --disable-dependency-tracking | |
| 1472 speeds up one-time build | |
| 1473 --enable-silent-rules less verbose build output (undo: "make V=1") | |
| 1474 --disable-silent-rules verbose build output (undo: "make V=0") | |
| 1475 --enable-shared[=PKGS] build shared libraries [default=yes] | |
| 1476 --enable-static[=PKGS] build static libraries [default=yes] | |
| 1477 --enable-fast-install[=PKGS] | |
| 1478 optimize for fast installation [default=yes] | |
| 1479 --disable-libtool-lock avoid locking (might break parallel builds) | |
| 1480 | |
| 1481 Optional Packages: | |
| 1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 1484 --with-html-dir=path path to base html directory, default | |
| 1485 $datadir/doc/html | |
| 1486 --with-html-subdir=path directory used under html-dir, default | |
| 1487 $PACKAGE-$VERSION/html | |
| 1488 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | |
| 1489 both] | |
| 1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
| 1491 --with-sysroot=DIR Search for dependent libraries within DIR | |
| 1492 (or the compiler's sysroot if not specified). | |
| 1493 --with-python=DIR Build Python bindings if found | |
| 1494 --with-crypto Add crypto support to exslt (on) | |
| 1495 --with-debug Add the debugging code (on) | |
| 1496 --with-mem-debug Add the memory debugging module (off) | |
| 1497 --with-debugger Add the debugging support (on) | |
| 1498 --with-libxml-prefix=PFX Specify location of libxml config | |
| 1499 --with-libxml-include-prefix=PFX Specify location of libxml headers | |
| 1500 --with-libxml-libs-prefix=PFX Specify location of libxml libs | |
| 1501 --with-libxml-src=DIR For libxml thats not installed yet (sets al
l three above) | |
| 1502 --with-plugins Add plugin extension support (on) | |
| 1503 | |
| 1504 Some influential environment variables: | |
| 1505 CC C compiler command | |
| 1506 CFLAGS C compiler flags | |
| 1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1508 nonstandard directory <lib dir> | |
| 1509 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1511 you have headers in a nonstandard directory <include dir> | |
| 1512 CPP C preprocessor | |
| 1513 | |
| 1514 Use these variables to override the choices made by `configure' or to help | |
| 1515 it to find libraries and programs with nonstandard names/locations. | |
| 1516 | |
| 1517 Report bugs to the package provider. | |
| 1518 _ACEOF | |
| 1519 ac_status=$? | |
| 1520 fi | |
| 1521 | |
| 1522 if test "$ac_init_help" = "recursive"; then | |
| 1523 # If there are subdirs, report their specific --help. | |
| 1524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1525 test -d "$ac_dir" || | |
| 1526 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1527 continue | |
| 1528 ac_builddir=. | |
| 1529 | |
| 1530 case "$ac_dir" in | |
| 1531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1532 *) | |
| 1533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1534 # A ".." for each directory in $ac_dir_suffix. | |
| 1535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1536 case $ac_top_builddir_sub in | |
| 1537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1539 esac ;; | |
| 1540 esac | |
| 1541 ac_abs_top_builddir=$ac_pwd | |
| 1542 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1543 # for backward compatibility: | |
| 1544 ac_top_builddir=$ac_top_build_prefix | |
| 1545 | |
| 1546 case $srcdir in | |
| 1547 .) # We are building in place. | |
| 1548 ac_srcdir=. | |
| 1549 ac_top_srcdir=$ac_top_builddir_sub | |
| 1550 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1551 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1552 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1553 ac_top_srcdir=$srcdir | |
| 1554 ac_abs_top_srcdir=$srcdir ;; | |
| 1555 *) # Relative name. | |
| 1556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1557 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1559 esac | |
| 1560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1561 | |
| 1562 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1563 # Check for guested configure. | |
| 1564 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1565 echo && | |
| 1566 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1567 elif test -f "$ac_srcdir/configure"; then | |
| 1568 echo && | |
| 1569 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1570 else | |
| 1571 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1572 fi || ac_status=$? | |
| 1573 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1574 done | |
| 1575 fi | |
| 1576 | |
| 1577 test -n "$ac_init_help" && exit $ac_status | |
| 1578 if $ac_init_version; then | |
| 1579 cat <<\_ACEOF | |
| 1580 configure | |
| 1581 generated by GNU Autoconf 2.69 | |
| 1582 | |
| 1583 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 1584 This configure script is free software; the Free Software Foundation | |
| 1585 gives unlimited permission to copy, distribute and modify it. | |
| 1586 _ACEOF | |
| 1587 exit | |
| 1588 fi | |
| 1589 | |
| 1590 ## ------------------------ ## | |
| 1591 ## Autoconf initialization. ## | |
| 1592 ## ------------------------ ## | |
| 1593 | |
| 1594 # ac_fn_c_try_compile LINENO | |
| 1595 # -------------------------- | |
| 1596 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1597 ac_fn_c_try_compile () | |
| 1598 { | |
| 1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1600 rm -f conftest.$ac_objext | |
| 1601 if { { ac_try="$ac_compile" | |
| 1602 case "(($ac_try" in | |
| 1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1604 *) ac_try_echo=$ac_try;; | |
| 1605 esac | |
| 1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1607 $as_echo "$ac_try_echo"; } >&5 | |
| 1608 (eval "$ac_compile") 2>conftest.err | |
| 1609 ac_status=$? | |
| 1610 if test -s conftest.err; then | |
| 1611 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1612 cat conftest.er1 >&5 | |
| 1613 mv -f conftest.er1 conftest.err | |
| 1614 fi | |
| 1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1616 test $ac_status = 0; } && { | |
| 1617 test -z "$ac_c_werror_flag" || | |
| 1618 test ! -s conftest.err | |
| 1619 } && test -s conftest.$ac_objext; then : | |
| 1620 ac_retval=0 | |
| 1621 else | |
| 1622 $as_echo "$as_me: failed program was:" >&5 | |
| 1623 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1624 | |
| 1625 ac_retval=1 | |
| 1626 fi | |
| 1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1628 as_fn_set_status $ac_retval | |
| 1629 | |
| 1630 } # ac_fn_c_try_compile | |
| 1631 | |
| 1632 # ac_fn_c_try_cpp LINENO | |
| 1633 # ---------------------- | |
| 1634 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1635 ac_fn_c_try_cpp () | |
| 1636 { | |
| 1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1638 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1639 case "(($ac_try" in | |
| 1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1641 *) ac_try_echo=$ac_try;; | |
| 1642 esac | |
| 1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1644 $as_echo "$ac_try_echo"; } >&5 | |
| 1645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1646 ac_status=$? | |
| 1647 if test -s conftest.err; then | |
| 1648 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1649 cat conftest.er1 >&5 | |
| 1650 mv -f conftest.er1 conftest.err | |
| 1651 fi | |
| 1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1653 test $ac_status = 0; } > conftest.i && { | |
| 1654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 1655 test ! -s conftest.err | |
| 1656 }; then : | |
| 1657 ac_retval=0 | |
| 1658 else | |
| 1659 $as_echo "$as_me: failed program was:" >&5 | |
| 1660 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1661 | |
| 1662 ac_retval=1 | |
| 1663 fi | |
| 1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1665 as_fn_set_status $ac_retval | |
| 1666 | |
| 1667 } # ac_fn_c_try_cpp | |
| 1668 | |
| 1669 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
| 1670 # ------------------------------------------------------- | |
| 1671 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
| 1672 # the include files in INCLUDES and setting the cache variable VAR | |
| 1673 # accordingly. | |
| 1674 ac_fn_c_check_header_mongrel () | |
| 1675 { | |
| 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1677 if eval \${$3+:} false; then : | |
| 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1679 $as_echo_n "checking for $2... " >&6; } | |
| 1680 if eval \${$3+:} false; then : | |
| 1681 $as_echo_n "(cached) " >&6 | |
| 1682 fi | |
| 1683 eval ac_res=\$$3 | |
| 1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1685 $as_echo "$ac_res" >&6; } | |
| 1686 else | |
| 1687 # Is the header compilable? | |
| 1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
| 1689 $as_echo_n "checking $2 usability... " >&6; } | |
| 1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1691 /* end confdefs.h. */ | |
| 1692 $4 | |
| 1693 #include <$2> | |
| 1694 _ACEOF | |
| 1695 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1696 ac_header_compiler=yes | |
| 1697 else | |
| 1698 ac_header_compiler=no | |
| 1699 fi | |
| 1700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
| 1702 $as_echo "$ac_header_compiler" >&6; } | |
| 1703 | |
| 1704 # Is the header present? | |
| 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
| 1706 $as_echo_n "checking $2 presence... " >&6; } | |
| 1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1708 /* end confdefs.h. */ | |
| 1709 #include <$2> | |
| 1710 _ACEOF | |
| 1711 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 1712 ac_header_preproc=yes | |
| 1713 else | |
| 1714 ac_header_preproc=no | |
| 1715 fi | |
| 1716 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
| 1718 $as_echo "$ac_header_preproc" >&6; } | |
| 1719 | |
| 1720 # So? What about this header? | |
| 1721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
| 1722 yes:no: ) | |
| 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compil
er, rejected by the preprocessor!" >&5 | |
| 1724 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preproc
essor!" >&2;} | |
| 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 | |
| 1726 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1727 ;; | |
| 1728 no:yes:* ) | |
| 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be
compiled" >&5 | |
| 1730 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
| 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing
prerequisite headers?" >&5 | |
| 1732 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;
} | |
| 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum
entation" >&5 | |
| 1734 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
| 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present
But Cannot Be Compiled\"" >&5 | |
| 1736 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >
&2;} | |
| 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 | |
| 1738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1739 ;; | |
| 1740 esac | |
| 1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1742 $as_echo_n "checking for $2... " >&6; } | |
| 1743 if eval \${$3+:} false; then : | |
| 1744 $as_echo_n "(cached) " >&6 | |
| 1745 else | |
| 1746 eval "$3=\$ac_header_compiler" | |
| 1747 fi | |
| 1748 eval ac_res=\$$3 | |
| 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1750 $as_echo "$ac_res" >&6; } | |
| 1751 fi | |
| 1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1753 | |
| 1754 } # ac_fn_c_check_header_mongrel | |
| 1755 | |
| 1756 # ac_fn_c_try_run LINENO | |
| 1757 # ---------------------- | |
| 1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
| 1759 # that executables *can* be run. | |
| 1760 ac_fn_c_try_run () | |
| 1761 { | |
| 1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1763 if { { ac_try="$ac_link" | |
| 1764 case "(($ac_try" in | |
| 1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1766 *) ac_try_echo=$ac_try;; | |
| 1767 esac | |
| 1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1769 $as_echo "$ac_try_echo"; } >&5 | |
| 1770 (eval "$ac_link") 2>&5 | |
| 1771 ac_status=$? | |
| 1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1773 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
| 1774 { { case "(($ac_try" in | |
| 1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1776 *) ac_try_echo=$ac_try;; | |
| 1777 esac | |
| 1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1779 $as_echo "$ac_try_echo"; } >&5 | |
| 1780 (eval "$ac_try") 2>&5 | |
| 1781 ac_status=$? | |
| 1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1783 test $ac_status = 0; }; }; then : | |
| 1784 ac_retval=0 | |
| 1785 else | |
| 1786 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1787 $as_echo "$as_me: failed program was:" >&5 | |
| 1788 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1789 | |
| 1790 ac_retval=$ac_status | |
| 1791 fi | |
| 1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1794 as_fn_set_status $ac_retval | |
| 1795 | |
| 1796 } # ac_fn_c_try_run | |
| 1797 | |
| 1798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
| 1799 # ------------------------------------------------------- | |
| 1800 # Tests whether HEADER exists and can be compiled using the include files in | |
| 1801 # INCLUDES, setting the cache variable VAR accordingly. | |
| 1802 ac_fn_c_check_header_compile () | |
| 1803 { | |
| 1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1806 $as_echo_n "checking for $2... " >&6; } | |
| 1807 if eval \${$3+:} false; then : | |
| 1808 $as_echo_n "(cached) " >&6 | |
| 1809 else | |
| 1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1811 /* end confdefs.h. */ | |
| 1812 $4 | |
| 1813 #include <$2> | |
| 1814 _ACEOF | |
| 1815 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1816 eval "$3=yes" | |
| 1817 else | |
| 1818 eval "$3=no" | |
| 1819 fi | |
| 1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1821 fi | |
| 1822 eval ac_res=\$$3 | |
| 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1824 $as_echo "$ac_res" >&6; } | |
| 1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1826 | |
| 1827 } # ac_fn_c_check_header_compile | |
| 1828 | |
| 1829 # ac_fn_c_try_link LINENO | |
| 1830 # ----------------------- | |
| 1831 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1832 ac_fn_c_try_link () | |
| 1833 { | |
| 1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1835 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 1836 if { { ac_try="$ac_link" | |
| 1837 case "(($ac_try" in | |
| 1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1839 *) ac_try_echo=$ac_try;; | |
| 1840 esac | |
| 1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1842 $as_echo "$ac_try_echo"; } >&5 | |
| 1843 (eval "$ac_link") 2>conftest.err | |
| 1844 ac_status=$? | |
| 1845 if test -s conftest.err; then | |
| 1846 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1847 cat conftest.er1 >&5 | |
| 1848 mv -f conftest.er1 conftest.err | |
| 1849 fi | |
| 1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1851 test $ac_status = 0; } && { | |
| 1852 test -z "$ac_c_werror_flag" || | |
| 1853 test ! -s conftest.err | |
| 1854 } && test -s conftest$ac_exeext && { | |
| 1855 test "$cross_compiling" = yes || | |
| 1856 test -x conftest$ac_exeext | |
| 1857 }; then : | |
| 1858 ac_retval=0 | |
| 1859 else | |
| 1860 $as_echo "$as_me: failed program was:" >&5 | |
| 1861 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1862 | |
| 1863 ac_retval=1 | |
| 1864 fi | |
| 1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
| 1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
| 1867 # interfere with the next link command; also delete a directory that is | |
| 1868 # left behind by Apple's compiler. We do this before executing the actions. | |
| 1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1871 as_fn_set_status $ac_retval | |
| 1872 | |
| 1873 } # ac_fn_c_try_link | |
| 1874 | |
| 1875 # ac_fn_c_check_func LINENO FUNC VAR | |
| 1876 # ---------------------------------- | |
| 1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
| 1878 ac_fn_c_check_func () | |
| 1879 { | |
| 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1882 $as_echo_n "checking for $2... " >&6; } | |
| 1883 if eval \${$3+:} false; then : | |
| 1884 $as_echo_n "(cached) " >&6 | |
| 1885 else | |
| 1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1887 /* end confdefs.h. */ | |
| 1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
| 1889 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 1890 #define $2 innocuous_$2 | |
| 1891 | |
| 1892 /* System header to define __stub macros and hopefully few prototypes, | |
| 1893 which can conflict with char $2 (); below. | |
| 1894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 1895 <limits.h> exists even on freestanding compilers. */ | |
| 1896 | |
| 1897 #ifdef __STDC__ | |
| 1898 # include <limits.h> | |
| 1899 #else | |
| 1900 # include <assert.h> | |
| 1901 #endif | |
| 1902 | |
| 1903 #undef $2 | |
| 1904 | |
| 1905 /* Override any GCC internal prototype to avoid an error. | |
| 1906 Use char because int might match the return type of a GCC | |
| 1907 builtin and then its argument prototype would still apply. */ | |
| 1908 #ifdef __cplusplus | |
| 1909 extern "C" | |
| 1910 #endif | |
| 1911 char $2 (); | |
| 1912 /* The GNU C library defines this for functions which it implements | |
| 1913 to always fail with ENOSYS. Some functions are actually named | |
| 1914 something starting with __ and the normal name is an alias. */ | |
| 1915 #if defined __stub_$2 || defined __stub___$2 | |
| 1916 choke me | |
| 1917 #endif | |
| 1918 | |
| 1919 int | |
| 1920 main () | |
| 1921 { | |
| 1922 return $2 (); | |
| 1923 ; | |
| 1924 return 0; | |
| 1925 } | |
| 1926 _ACEOF | |
| 1927 if ac_fn_c_try_link "$LINENO"; then : | |
| 1928 eval "$3=yes" | |
| 1929 else | |
| 1930 eval "$3=no" | |
| 1931 fi | |
| 1932 rm -f core conftest.err conftest.$ac_objext \ | |
| 1933 conftest$ac_exeext conftest.$ac_ext | |
| 1934 fi | |
| 1935 eval ac_res=\$$3 | |
| 1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1937 $as_echo "$ac_res" >&6; } | |
| 1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1939 | |
| 1940 } # ac_fn_c_check_func | |
| 1941 cat >config.log <<_ACEOF | |
| 1942 This file contains any messages produced by compilers while | |
| 1943 running configure, to aid debugging if configure makes a mistake. | |
| 1944 | |
| 1945 It was created by $as_me, which was | |
| 1946 generated by GNU Autoconf 2.69. Invocation command line was | |
| 1947 | |
| 1948 $ $0 $@ | |
| 1949 | |
| 1950 _ACEOF | |
| 1951 exec 5>>config.log | |
| 1952 { | |
| 1953 cat <<_ASUNAME | |
| 1954 ## --------- ## | |
| 1955 ## Platform. ## | |
| 1956 ## --------- ## | |
| 1957 | |
| 1958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1959 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1960 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1961 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1962 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1963 | |
| 1964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1966 | |
| 1967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1974 | |
| 1975 _ASUNAME | |
| 1976 | |
| 1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1978 for as_dir in $PATH | |
| 1979 do | |
| 1980 IFS=$as_save_IFS | |
| 1981 test -z "$as_dir" && as_dir=. | |
| 1982 $as_echo "PATH: $as_dir" | |
| 1983 done | |
| 1984 IFS=$as_save_IFS | |
| 1985 | |
| 1986 } >&5 | |
| 1987 | |
| 1988 cat >&5 <<_ACEOF | |
| 1989 | |
| 1990 | |
| 1991 ## ----------- ## | |
| 1992 ## Core tests. ## | |
| 1993 ## ----------- ## | |
| 1994 | |
| 1995 _ACEOF | |
| 1996 | |
| 1997 | |
| 1998 # Keep a trace of the command line. | |
| 1999 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 2000 # Strip out --silent because we don't want to record it for future runs. | |
| 2001 # Also quote any args containing shell meta-characters. | |
| 2002 # Make two passes to allow for proper duplicate-argument suppression. | |
| 2003 ac_configure_args= | |
| 2004 ac_configure_args0= | |
| 2005 ac_configure_args1= | |
| 2006 ac_must_keep_next=false | |
| 2007 for ac_pass in 1 2 | |
| 2008 do | |
| 2009 for ac_arg | |
| 2010 do | |
| 2011 case $ac_arg in | |
| 2012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 2013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 2014 | -silent | --silent | --silen | --sile | --sil) | |
| 2015 continue ;; | |
| 2016 *\'*) | |
| 2017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2018 esac | |
| 2019 case $ac_pass in | |
| 2020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 2021 2) | |
| 2022 as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 2023 if test $ac_must_keep_next = true; then | |
| 2024 ac_must_keep_next=false # Got value, back to normal. | |
| 2025 else | |
| 2026 case $ac_arg in | |
| 2027 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 2028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 2029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 2030 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 2031 case "$ac_configure_args0 " in | |
| 2032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 2033 esac | |
| 2034 ;; | |
| 2035 -* ) ac_must_keep_next=true ;; | |
| 2036 esac | |
| 2037 fi | |
| 2038 as_fn_append ac_configure_args " '$ac_arg'" | |
| 2039 ;; | |
| 2040 esac | |
| 2041 done | |
| 2042 done | |
| 2043 { ac_configure_args0=; unset ac_configure_args0;} | |
| 2044 { ac_configure_args1=; unset ac_configure_args1;} | |
| 2045 | |
| 2046 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 2047 # config.log. We remove comments because anyway the quotes in there | |
| 2048 # would cause problems or look ugly. | |
| 2049 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 2051 trap 'exit_status=$? | |
| 2052 # Save into config.log some information that might help in debugging. | |
| 2053 { | |
| 2054 echo | |
| 2055 | |
| 2056 $as_echo "## ---------------- ## | |
| 2057 ## Cache variables. ## | |
| 2058 ## ---------------- ##" | |
| 2059 echo | |
| 2060 # The following way of writing the cache mishandles newlines in values, | |
| 2061 ( | |
| 2062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\
''`; do | |
| 2063 eval ac_val=\$$ac_var | |
| 2064 case $ac_val in #( | |
| 2065 *${as_nl}*) | |
| 2066 case $ac_var in #( | |
| 2067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 | |
| 2068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 2069 esac | |
| 2070 case $ac_var in #( | |
| 2071 _ | IFS | as_nl) ;; #( | |
| 2072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 2073 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 2074 esac ;; | |
| 2075 esac | |
| 2076 done | |
| 2077 (set) 2>&1 | | |
| 2078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 2079 *${as_nl}ac_space=\ *) | |
| 2080 sed -n \ | |
| 2081 "s/'\''/'\''\\\\'\'''\''/g; | |
| 2082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''
/p" | |
| 2083 ;; #( | |
| 2084 *) | |
| 2085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 2086 ;; | |
| 2087 esac | | |
| 2088 sort | |
| 2089 ) | |
| 2090 echo | |
| 2091 | |
| 2092 $as_echo "## ----------------- ## | |
| 2093 ## Output variables. ## | |
| 2094 ## ----------------- ##" | |
| 2095 echo | |
| 2096 for ac_var in $ac_subst_vars | |
| 2097 do | |
| 2098 eval ac_val=\$$ac_var | |
| 2099 case $ac_val in | |
| 2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`
;; | |
| 2101 esac | |
| 2102 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2103 done | sort | |
| 2104 echo | |
| 2105 | |
| 2106 if test -n "$ac_subst_files"; then | |
| 2107 $as_echo "## ------------------- ## | |
| 2108 ## File substitutions. ## | |
| 2109 ## ------------------- ##" | |
| 2110 echo | |
| 2111 for ac_var in $ac_subst_files | |
| 2112 do | |
| 2113 eval ac_val=\$$ac_var | |
| 2114 case $ac_val in | |
| 2115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g
"`;; | |
| 2116 esac | |
| 2117 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2118 done | sort | |
| 2119 echo | |
| 2120 fi | |
| 2121 | |
| 2122 if test -s confdefs.h; then | |
| 2123 $as_echo "## ----------- ## | |
| 2124 ## confdefs.h. ## | |
| 2125 ## ----------- ##" | |
| 2126 echo | |
| 2127 cat confdefs.h | |
| 2128 echo | |
| 2129 fi | |
| 2130 test "$ac_signal" != 0 && | |
| 2131 $as_echo "$as_me: caught signal $ac_signal" | |
| 2132 $as_echo "$as_me: exit $exit_status" | |
| 2133 } >&5 | |
| 2134 rm -f core *.core core.conftest.* && | |
| 2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 2136 exit $exit_status | |
| 2137 ' 0 | |
| 2138 for ac_signal in 1 2 13 15; do | |
| 2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 2140 done | |
| 2141 ac_signal=0 | |
| 2142 | |
| 2143 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 2144 rm -f -r conftest* confdefs.h | |
| 2145 | |
| 2146 $as_echo "/* confdefs.h */" > confdefs.h | |
| 2147 | |
| 2148 # Predefined preprocessor variables. | |
| 2149 | |
| 2150 cat >>confdefs.h <<_ACEOF | |
| 2151 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 2152 _ACEOF | |
| 2153 | |
| 2154 cat >>confdefs.h <<_ACEOF | |
| 2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 2156 _ACEOF | |
| 2157 | |
| 2158 cat >>confdefs.h <<_ACEOF | |
| 2159 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 2160 _ACEOF | |
| 2161 | |
| 2162 cat >>confdefs.h <<_ACEOF | |
| 2163 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 2164 _ACEOF | |
| 2165 | |
| 2166 cat >>confdefs.h <<_ACEOF | |
| 2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 2168 _ACEOF | |
| 2169 | |
| 2170 cat >>confdefs.h <<_ACEOF | |
| 2171 #define PACKAGE_URL "$PACKAGE_URL" | |
| 2172 _ACEOF | |
| 2173 | |
| 2174 | |
| 2175 # Let the site file select an alternate cache file if it wants to. | |
| 2176 # Prefer an explicitly selected file to automatically selected ones. | |
| 2177 ac_site_file1=NONE | |
| 2178 ac_site_file2=NONE | |
| 2179 if test -n "$CONFIG_SITE"; then | |
| 2180 # We do not want a PATH search for config.site. | |
| 2181 case $CONFIG_SITE in #(( | |
| 2182 -*) ac_site_file1=./$CONFIG_SITE;; | |
| 2183 */*) ac_site_file1=$CONFIG_SITE;; | |
| 2184 *) ac_site_file1=./$CONFIG_SITE;; | |
| 2185 esac | |
| 2186 elif test "x$prefix" != xNONE; then | |
| 2187 ac_site_file1=$prefix/share/config.site | |
| 2188 ac_site_file2=$prefix/etc/config.site | |
| 2189 else | |
| 2190 ac_site_file1=$ac_default_prefix/share/config.site | |
| 2191 ac_site_file2=$ac_default_prefix/etc/config.site | |
| 2192 fi | |
| 2193 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 2194 do | |
| 2195 test "x$ac_site_file" = xNONE && continue | |
| 2196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file"
>&5 | |
| 2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 2199 sed 's/^/| /' "$ac_site_file" >&5 | |
| 2200 . "$ac_site_file" \ | |
| 2201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2203 as_fn_error $? "failed to load site script $ac_site_file | |
| 2204 See \`config.log' for more details" "$LINENO" 5; } | |
| 2205 fi | |
| 2206 done | |
| 2207 | |
| 2208 if test -r "$cache_file"; then | |
| 2209 # Some versions of bash will fail to source /dev/null (special files | |
| 2210 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
| 2211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
| 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
| 2213 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
| 2214 case $cache_file in | |
| 2215 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 2216 *) . "./$cache_file";; | |
| 2217 esac | |
| 2218 fi | |
| 2219 else | |
| 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 2221 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 2222 >$cache_file | |
| 2223 fi | |
| 2224 | |
| 2225 # Check that the precious variables saved in the cache have kept the same | |
| 2226 # value. | |
| 2227 ac_cache_corrupted=false | |
| 2228 for ac_var in $ac_precious_vars; do | |
| 2229 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 2230 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 2231 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 2232 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 2233 case $ac_old_set,$ac_new_set in | |
| 2234 set,) | |
| 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$a
c_old_val' in the previous run" >&5 | |
| 2236 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous ru
n" >&2;} | |
| 2237 ac_cache_corrupted=: ;; | |
| 2238 ,set) | |
| 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in
the previous run" >&5 | |
| 2240 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 2241 ac_cache_corrupted=: ;; | |
| 2242 ,);; | |
| 2243 *) | |
| 2244 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 2245 # differences in whitespace do not lead to failure. | |
| 2246 ac_old_val_w=`echo x $ac_old_val` | |
| 2247 ac_new_val_w=`echo x $ac_new_val` | |
| 2248 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed
since the previous run:" >&5 | |
| 2250 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 2251 ac_cache_corrupted=: | |
| 2252 else | |
| 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace
changes in \`$ac_var' since the previous run:" >&5 | |
| 2254 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the p
revious run:" >&2;} | |
| 2255 eval $ac_var=\$ac_old_val | |
| 2256 fi | |
| 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'
" >&5 | |
| 2258 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'
" >&5 | |
| 2260 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 2261 fi;; | |
| 2262 esac | |
| 2263 # Pass precious variables to config.status. | |
| 2264 if test "$ac_new_set" = set; then | |
| 2265 case $ac_new_val in | |
| 2266 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2267 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 2268 esac | |
| 2269 case " $ac_configure_args " in | |
| 2270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 2271 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 2272 esac | |
| 2273 fi | |
| 2274 done | |
| 2275 if $ac_cache_corrupted; then | |
| 2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can
compromise the build" >&5 | |
| 2279 $as_echo "$as_me: error: changes in the environment can compromise the build" >&
2;} | |
| 2280 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over"
"$LINENO" 5 | |
| 2281 fi | |
| 2282 ## -------------------- ## | |
| 2283 ## Main body of script. ## | |
| 2284 ## -------------------- ## | |
| 2285 | |
| 2286 ac_ext=c | |
| 2287 ac_cpp='$CPP $CPPFLAGS' | |
| 2288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2291 | |
| 2292 | |
| 2293 ac_config_headers="$ac_config_headers config.h" | |
| 2294 | |
| 2295 ac_aux_dir= | |
| 2296 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
| 2297 if test -f "$ac_dir/install-sh"; then | |
| 2298 ac_aux_dir=$ac_dir | |
| 2299 ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 2300 break | |
| 2301 elif test -f "$ac_dir/install.sh"; then | |
| 2302 ac_aux_dir=$ac_dir | |
| 2303 ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 2304 break | |
| 2305 elif test -f "$ac_dir/shtool"; then | |
| 2306 ac_aux_dir=$ac_dir | |
| 2307 ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 2308 break | |
| 2309 fi | |
| 2310 done | |
| 2311 if test -z "$ac_aux_dir"; then | |
| 2312 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \
"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
| 2313 fi | |
| 2314 | |
| 2315 # These three variables are undocumented and unsupported, | |
| 2316 # and are intended to be withdrawn in a future Autoconf release. | |
| 2317 # They can cause serious problems if a builder's source tree is in a directory | |
| 2318 # whose full name contains unusual characters. | |
| 2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
| 2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
| 2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
| 2322 | |
| 2323 | |
| 2324 # Make sure we can run config.sub. | |
| 2325 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
| 2326 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
| 2327 | |
| 2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
| 2329 $as_echo_n "checking build system type... " >&6; } | |
| 2330 if ${ac_cv_build+:} false; then : | |
| 2331 $as_echo_n "(cached) " >&6 | |
| 2332 else | |
| 2333 ac_build_alias=$build_alias | |
| 2334 test "x$ac_build_alias" = x && | |
| 2335 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
| 2336 test "x$ac_build_alias" = x && | |
| 2337 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
| 2338 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
| 2339 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO
" 5 | |
| 2340 | |
| 2341 fi | |
| 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
| 2343 $as_echo "$ac_cv_build" >&6; } | |
| 2344 case $ac_cv_build in | |
| 2345 *-*-*) ;; | |
| 2346 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
| 2347 esac | |
| 2348 build=$ac_cv_build | |
| 2349 ac_save_IFS=$IFS; IFS='-' | |
| 2350 set x $ac_cv_build | |
| 2351 shift | |
| 2352 build_cpu=$1 | |
| 2353 build_vendor=$2 | |
| 2354 shift; shift | |
| 2355 # Remember, the first character of IFS is used to create $*, | |
| 2356 # except with old shells: | |
| 2357 build_os=$* | |
| 2358 IFS=$ac_save_IFS | |
| 2359 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
| 2360 | |
| 2361 | |
| 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
| 2363 $as_echo_n "checking host system type... " >&6; } | |
| 2364 if ${ac_cv_host+:} false; then : | |
| 2365 $as_echo_n "(cached) " >&6 | |
| 2366 else | |
| 2367 if test "x$host_alias" = x; then | |
| 2368 ac_cv_host=$ac_cv_build | |
| 2369 else | |
| 2370 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
| 2371 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO"
5 | |
| 2372 fi | |
| 2373 | |
| 2374 fi | |
| 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
| 2376 $as_echo "$ac_cv_host" >&6; } | |
| 2377 case $ac_cv_host in | |
| 2378 *-*-*) ;; | |
| 2379 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
| 2380 esac | |
| 2381 host=$ac_cv_host | |
| 2382 ac_save_IFS=$IFS; IFS='-' | |
| 2383 set x $ac_cv_host | |
| 2384 shift | |
| 2385 host_cpu=$1 | |
| 2386 host_vendor=$2 | |
| 2387 shift; shift | |
| 2388 # Remember, the first character of IFS is used to create $*, | |
| 2389 # except with old shells: | |
| 2390 host_os=$* | |
| 2391 IFS=$ac_save_IFS | |
| 2392 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
| 2393 | |
| 2394 | |
| 2395 # expand $ac_aux_dir to an absolute path | |
| 2396 am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 2397 | |
| 2398 ac_ext=c | |
| 2399 ac_cpp='$CPP $CPPFLAGS' | |
| 2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2403 if test -n "$ac_tool_prefix"; then | |
| 2404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | |
| 2405 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2407 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2408 if ${ac_cv_prog_CC+:} false; then : | |
| 2409 $as_echo_n "(cached) " >&6 | |
| 2410 else | |
| 2411 if test -n "$CC"; then | |
| 2412 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2413 else | |
| 2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2415 for as_dir in $PATH | |
| 2416 do | |
| 2417 IFS=$as_save_IFS | |
| 2418 test -z "$as_dir" && as_dir=. | |
| 2419 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2421 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2423 break 2 | |
| 2424 fi | |
| 2425 done | |
| 2426 done | |
| 2427 IFS=$as_save_IFS | |
| 2428 | |
| 2429 fi | |
| 2430 fi | |
| 2431 CC=$ac_cv_prog_CC | |
| 2432 if test -n "$CC"; then | |
| 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2434 $as_echo "$CC" >&6; } | |
| 2435 else | |
| 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2437 $as_echo "no" >&6; } | |
| 2438 fi | |
| 2439 | |
| 2440 | |
| 2441 fi | |
| 2442 if test -z "$ac_cv_prog_CC"; then | |
| 2443 ac_ct_CC=$CC | |
| 2444 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2445 set dummy gcc; ac_word=$2 | |
| 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2447 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2448 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2449 $as_echo_n "(cached) " >&6 | |
| 2450 else | |
| 2451 if test -n "$ac_ct_CC"; then | |
| 2452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2453 else | |
| 2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2455 for as_dir in $PATH | |
| 2456 do | |
| 2457 IFS=$as_save_IFS | |
| 2458 test -z "$as_dir" && as_dir=. | |
| 2459 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2461 ac_cv_prog_ac_ct_CC="gcc" | |
| 2462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2463 break 2 | |
| 2464 fi | |
| 2465 done | |
| 2466 done | |
| 2467 IFS=$as_save_IFS | |
| 2468 | |
| 2469 fi | |
| 2470 fi | |
| 2471 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2472 if test -n "$ac_ct_CC"; then | |
| 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2474 $as_echo "$ac_ct_CC" >&6; } | |
| 2475 else | |
| 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2477 $as_echo "no" >&6; } | |
| 2478 fi | |
| 2479 | |
| 2480 if test "x$ac_ct_CC" = x; then | |
| 2481 CC="" | |
| 2482 else | |
| 2483 case $cross_compiling:$ac_tool_warned in | |
| 2484 yes:) | |
| 2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 2486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 2487 ac_tool_warned=yes ;; | |
| 2488 esac | |
| 2489 CC=$ac_ct_CC | |
| 2490 fi | |
| 2491 else | |
| 2492 CC="$ac_cv_prog_CC" | |
| 2493 fi | |
| 2494 | |
| 2495 if test -z "$CC"; then | |
| 2496 if test -n "$ac_tool_prefix"; then | |
| 2497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. | |
| 2498 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2500 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2501 if ${ac_cv_prog_CC+:} false; then : | |
| 2502 $as_echo_n "(cached) " >&6 | |
| 2503 else | |
| 2504 if test -n "$CC"; then | |
| 2505 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2506 else | |
| 2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2508 for as_dir in $PATH | |
| 2509 do | |
| 2510 IFS=$as_save_IFS | |
| 2511 test -z "$as_dir" && as_dir=. | |
| 2512 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2514 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2516 break 2 | |
| 2517 fi | |
| 2518 done | |
| 2519 done | |
| 2520 IFS=$as_save_IFS | |
| 2521 | |
| 2522 fi | |
| 2523 fi | |
| 2524 CC=$ac_cv_prog_CC | |
| 2525 if test -n "$CC"; then | |
| 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2527 $as_echo "$CC" >&6; } | |
| 2528 else | |
| 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2530 $as_echo "no" >&6; } | |
| 2531 fi | |
| 2532 | |
| 2533 | |
| 2534 fi | |
| 2535 fi | |
| 2536 if test -z "$CC"; then | |
| 2537 # Extract the first word of "cc", so it can be a program name with args. | |
| 2538 set dummy cc; ac_word=$2 | |
| 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2540 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2541 if ${ac_cv_prog_CC+:} false; then : | |
| 2542 $as_echo_n "(cached) " >&6 | |
| 2543 else | |
| 2544 if test -n "$CC"; then | |
| 2545 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2546 else | |
| 2547 ac_prog_rejected=no | |
| 2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2549 for as_dir in $PATH | |
| 2550 do | |
| 2551 IFS=$as_save_IFS | |
| 2552 test -z "$as_dir" && as_dir=. | |
| 2553 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2555 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2556 ac_prog_rejected=yes | |
| 2557 continue | |
| 2558 fi | |
| 2559 ac_cv_prog_CC="cc" | |
| 2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2561 break 2 | |
| 2562 fi | |
| 2563 done | |
| 2564 done | |
| 2565 IFS=$as_save_IFS | |
| 2566 | |
| 2567 if test $ac_prog_rejected = yes; then | |
| 2568 # We found a bogon in the path, so make sure we never use it. | |
| 2569 set dummy $ac_cv_prog_CC | |
| 2570 shift | |
| 2571 if test $# != 0; then | |
| 2572 # We chose a different compiler from the bogus one. | |
| 2573 # However, it has the same basename, so the bogon will be chosen | |
| 2574 # first if we set CC to just the basename; use the full file name. | |
| 2575 shift | |
| 2576 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2577 fi | |
| 2578 fi | |
| 2579 fi | |
| 2580 fi | |
| 2581 CC=$ac_cv_prog_CC | |
| 2582 if test -n "$CC"; then | |
| 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2584 $as_echo "$CC" >&6; } | |
| 2585 else | |
| 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2587 $as_echo "no" >&6; } | |
| 2588 fi | |
| 2589 | |
| 2590 | |
| 2591 fi | |
| 2592 if test -z "$CC"; then | |
| 2593 if test -n "$ac_tool_prefix"; then | |
| 2594 for ac_prog in cl.exe | |
| 2595 do | |
| 2596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 2597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2599 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2600 if ${ac_cv_prog_CC+:} false; then : | |
| 2601 $as_echo_n "(cached) " >&6 | |
| 2602 else | |
| 2603 if test -n "$CC"; then | |
| 2604 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2605 else | |
| 2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2607 for as_dir in $PATH | |
| 2608 do | |
| 2609 IFS=$as_save_IFS | |
| 2610 test -z "$as_dir" && as_dir=. | |
| 2611 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2613 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2615 break 2 | |
| 2616 fi | |
| 2617 done | |
| 2618 done | |
| 2619 IFS=$as_save_IFS | |
| 2620 | |
| 2621 fi | |
| 2622 fi | |
| 2623 CC=$ac_cv_prog_CC | |
| 2624 if test -n "$CC"; then | |
| 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2626 $as_echo "$CC" >&6; } | |
| 2627 else | |
| 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2629 $as_echo "no" >&6; } | |
| 2630 fi | |
| 2631 | |
| 2632 | |
| 2633 test -n "$CC" && break | |
| 2634 done | |
| 2635 fi | |
| 2636 if test -z "$CC"; then | |
| 2637 ac_ct_CC=$CC | |
| 2638 for ac_prog in cl.exe | |
| 2639 do | |
| 2640 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2641 set dummy $ac_prog; ac_word=$2 | |
| 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2643 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2644 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2645 $as_echo_n "(cached) " >&6 | |
| 2646 else | |
| 2647 if test -n "$ac_ct_CC"; then | |
| 2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2649 else | |
| 2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2651 for as_dir in $PATH | |
| 2652 do | |
| 2653 IFS=$as_save_IFS | |
| 2654 test -z "$as_dir" && as_dir=. | |
| 2655 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2657 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 2659 break 2 | |
| 2660 fi | |
| 2661 done | |
| 2662 done | |
| 2663 IFS=$as_save_IFS | |
| 2664 | |
| 2665 fi | |
| 2666 fi | |
| 2667 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2668 if test -n "$ac_ct_CC"; then | |
| 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2670 $as_echo "$ac_ct_CC" >&6; } | |
| 2671 else | |
| 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2673 $as_echo "no" >&6; } | |
| 2674 fi | |
| 2675 | |
| 2676 | |
| 2677 test -n "$ac_ct_CC" && break | |
| 2678 done | |
| 2679 | |
| 2680 if test "x$ac_ct_CC" = x; then | |
| 2681 CC="" | |
| 2682 else | |
| 2683 case $cross_compiling:$ac_tool_warned in | |
| 2684 yes:) | |
| 2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 2686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 2687 ac_tool_warned=yes ;; | |
| 2688 esac | |
| 2689 CC=$ac_ct_CC | |
| 2690 fi | |
| 2691 fi | |
| 2692 | |
| 2693 fi | |
| 2694 | |
| 2695 | |
| 2696 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
:" >&5 | |
| 2697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2698 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 2699 See \`config.log' for more details" "$LINENO" 5; } | |
| 2700 | |
| 2701 # Provide some information about the compiler. | |
| 2702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 2703 set X $ac_compile | |
| 2704 ac_compiler=$2 | |
| 2705 for ac_option in --version -v -V -qversion; do | |
| 2706 { { ac_try="$ac_compiler $ac_option >&5" | |
| 2707 case "(($ac_try" in | |
| 2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2709 *) ac_try_echo=$ac_try;; | |
| 2710 esac | |
| 2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2712 $as_echo "$ac_try_echo"; } >&5 | |
| 2713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 2714 ac_status=$? | |
| 2715 if test -s conftest.err; then | |
| 2716 sed '10a\ | |
| 2717 ... rest of stderr output deleted ... | |
| 2718 10q' conftest.err >conftest.er1 | |
| 2719 cat conftest.er1 >&5 | |
| 2720 fi | |
| 2721 rm -f conftest.er1 conftest.err | |
| 2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2723 test $ac_status = 0; } | |
| 2724 done | |
| 2725 | |
| 2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2727 /* end confdefs.h. */ | |
| 2728 | |
| 2729 int | |
| 2730 main () | |
| 2731 { | |
| 2732 | |
| 2733 ; | |
| 2734 return 0; | |
| 2735 } | |
| 2736 _ACEOF | |
| 2737 ac_clean_files_save=$ac_clean_files | |
| 2738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 2739 # Try to create an executable without -o first, disregard a.out. | |
| 2740 # It will help us diagnose broken compilers, and finding out an intuition | |
| 2741 # of exeext. | |
| 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
>&5 | |
| 2743 $as_echo_n "checking whether the C compiler works... " >&6; } | |
| 2744 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 2745 | |
| 2746 # The possible output files: | |
| 2747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 2748 | |
| 2749 ac_rmfiles= | |
| 2750 for ac_file in $ac_files | |
| 2751 do | |
| 2752 case $ac_file in | |
| 2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2754 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 2755 esac | |
| 2756 done | |
| 2757 rm -f $ac_rmfiles | |
| 2758 | |
| 2759 if { { ac_try="$ac_link_default" | |
| 2760 case "(($ac_try" in | |
| 2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2762 *) ac_try_echo=$ac_try;; | |
| 2763 esac | |
| 2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2765 $as_echo "$ac_try_echo"; } >&5 | |
| 2766 (eval "$ac_link_default") 2>&5 | |
| 2767 ac_status=$? | |
| 2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2769 test $ac_status = 0; }; then : | |
| 2770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 2771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 2772 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 2773 # so that the user can short-circuit this test for compilers unknown to | |
| 2774 # Autoconf. | |
| 2775 for ac_file in $ac_files '' | |
| 2776 do | |
| 2777 test -f "$ac_file" || continue | |
| 2778 case $ac_file in | |
| 2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) | |
| 2780 ;; | |
| 2781 [ab].out ) | |
| 2782 # We found the default executable, but exeext='' is most | |
| 2783 # certainly right. | |
| 2784 break;; | |
| 2785 *.* ) | |
| 2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 2787 then :; else | |
| 2788 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2789 fi | |
| 2790 # We set ac_cv_exeext here because the later test for it is not | |
| 2791 # safe: cross compilers may not add the suffix if given an `-o' | |
| 2792 # argument, so we may need to know it at that point already. | |
| 2793 # Even if this section looks crufty: it has the advantage of | |
| 2794 # actually working. | |
| 2795 break;; | |
| 2796 * ) | |
| 2797 break;; | |
| 2798 esac | |
| 2799 done | |
| 2800 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 2801 | |
| 2802 else | |
| 2803 ac_file='' | |
| 2804 fi | |
| 2805 if test -z "$ac_file"; then : | |
| 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2807 $as_echo "no" >&6; } | |
| 2808 $as_echo "$as_me: failed program was:" >&5 | |
| 2809 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2810 | |
| 2811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2813 as_fn_error 77 "C compiler cannot create executables | |
| 2814 See \`config.log' for more details" "$LINENO" 5; } | |
| 2815 else | |
| 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2817 $as_echo "yes" >&6; } | |
| 2818 fi | |
| 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output
file name" >&5 | |
| 2820 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
| 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 2822 $as_echo "$ac_file" >&6; } | |
| 2823 ac_exeext=$ac_cv_exeext | |
| 2824 | |
| 2825 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 2826 ac_clean_files=$ac_clean_files_save | |
| 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 2828 $as_echo_n "checking for suffix of executables... " >&6; } | |
| 2829 if { { ac_try="$ac_link" | |
| 2830 case "(($ac_try" in | |
| 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2832 *) ac_try_echo=$ac_try;; | |
| 2833 esac | |
| 2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2835 $as_echo "$ac_try_echo"; } >&5 | |
| 2836 (eval "$ac_link") 2>&5 | |
| 2837 ac_status=$? | |
| 2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2839 test $ac_status = 0; }; then : | |
| 2840 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 2841 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 2842 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 2843 # `rm'. | |
| 2844 for ac_file in conftest.exe conftest conftest.*; do | |
| 2845 test -f "$ac_file" || continue | |
| 2846 case $ac_file in | |
| 2847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2848 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2849 break;; | |
| 2850 * ) break;; | |
| 2851 esac | |
| 2852 done | |
| 2853 else | |
| 2854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2856 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 2857 See \`config.log' for more details" "$LINENO" 5; } | |
| 2858 fi | |
| 2859 rm -f conftest conftest$ac_cv_exeext | |
| 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 2861 $as_echo "$ac_cv_exeext" >&6; } | |
| 2862 | |
| 2863 rm -f conftest.$ac_ext | |
| 2864 EXEEXT=$ac_cv_exeext | |
| 2865 ac_exeext=$EXEEXT | |
| 2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2867 /* end confdefs.h. */ | |
| 2868 #include <stdio.h> | |
| 2869 int | |
| 2870 main () | |
| 2871 { | |
| 2872 FILE *f = fopen ("conftest.out", "w"); | |
| 2873 return ferror (f) || fclose (f) != 0; | |
| 2874 | |
| 2875 ; | |
| 2876 return 0; | |
| 2877 } | |
| 2878 _ACEOF | |
| 2879 ac_clean_files="$ac_clean_files conftest.out" | |
| 2880 # Check that the compiler produces executables we can run. If not, either | |
| 2881 # the compiler is broken, or we cross compile. | |
| 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5 | |
| 2883 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 2884 if test "$cross_compiling" != yes; then | |
| 2885 { { ac_try="$ac_link" | |
| 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_link") 2>&5 | |
| 2893 ac_status=$? | |
| 2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2895 test $ac_status = 0; } | |
| 2896 if { ac_try='./conftest$ac_cv_exeext' | |
| 2897 { { case "(($ac_try" in | |
| 2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2899 *) ac_try_echo=$ac_try;; | |
| 2900 esac | |
| 2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2902 $as_echo "$ac_try_echo"; } >&5 | |
| 2903 (eval "$ac_try") 2>&5 | |
| 2904 ac_status=$? | |
| 2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2906 test $ac_status = 0; }; }; then | |
| 2907 cross_compiling=no | |
| 2908 else | |
| 2909 if test "$cross_compiling" = maybe; then | |
| 2910 cross_compiling=yes | |
| 2911 else | |
| 2912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2914 as_fn_error $? "cannot run C compiled programs. | |
| 2915 If you meant to cross compile, use \`--host'. | |
| 2916 See \`config.log' for more details" "$LINENO" 5; } | |
| 2917 fi | |
| 2918 fi | |
| 2919 fi | |
| 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
| 2921 $as_echo "$cross_compiling" >&6; } | |
| 2922 | |
| 2923 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
| 2924 ac_clean_files=$ac_clean_files_save | |
| 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&
5 | |
| 2926 $as_echo_n "checking for suffix of object files... " >&6; } | |
| 2927 if ${ac_cv_objext+:} false; then : | |
| 2928 $as_echo_n "(cached) " >&6 | |
| 2929 else | |
| 2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2931 /* end confdefs.h. */ | |
| 2932 | |
| 2933 int | |
| 2934 main () | |
| 2935 { | |
| 2936 | |
| 2937 ; | |
| 2938 return 0; | |
| 2939 } | |
| 2940 _ACEOF | |
| 2941 rm -f conftest.o conftest.obj | |
| 2942 if { { ac_try="$ac_compile" | |
| 2943 case "(($ac_try" in | |
| 2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2945 *) ac_try_echo=$ac_try;; | |
| 2946 esac | |
| 2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2948 $as_echo "$ac_try_echo"; } >&5 | |
| 2949 (eval "$ac_compile") 2>&5 | |
| 2950 ac_status=$? | |
| 2951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2952 test $ac_status = 0; }; then : | |
| 2953 for ac_file in conftest.o conftest.obj conftest.*; do | |
| 2954 test -f "$ac_file" || continue; | |
| 2955 case $ac_file in | |
| 2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM ) ;; | |
| 2957 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 2958 break;; | |
| 2959 esac | |
| 2960 done | |
| 2961 else | |
| 2962 $as_echo "$as_me: failed program was:" >&5 | |
| 2963 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2964 | |
| 2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2967 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
| 2968 See \`config.log' for more details" "$LINENO" 5; } | |
| 2969 fi | |
| 2970 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 2971 fi | |
| 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
| 2973 $as_echo "$ac_cv_objext" >&6; } | |
| 2974 OBJEXT=$ac_cv_objext | |
| 2975 ac_objext=$OBJEXT | |
| 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 | |
| 2977 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 2978 if ${ac_cv_c_compiler_gnu+:} false; then : | |
| 2979 $as_echo_n "(cached) " >&6 | |
| 2980 else | |
| 2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2982 /* end confdefs.h. */ | |
| 2983 | |
| 2984 int | |
| 2985 main () | |
| 2986 { | |
| 2987 #ifndef __GNUC__ | |
| 2988 choke me | |
| 2989 #endif | |
| 2990 | |
| 2991 ; | |
| 2992 return 0; | |
| 2993 } | |
| 2994 _ACEOF | |
| 2995 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2996 ac_compiler_gnu=yes | |
| 2997 else | |
| 2998 ac_compiler_gnu=no | |
| 2999 fi | |
| 3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3001 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 3002 | |
| 3003 fi | |
| 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 3005 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 3006 if test $ac_compiler_gnu = yes; then | |
| 3007 GCC=yes | |
| 3008 else | |
| 3009 GCC= | |
| 3010 fi | |
| 3011 ac_test_CFLAGS=${CFLAGS+set} | |
| 3012 ac_save_CFLAGS=$CFLAGS | |
| 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 3014 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 3015 if ${ac_cv_prog_cc_g+:} false; then : | |
| 3016 $as_echo_n "(cached) " >&6 | |
| 3017 else | |
| 3018 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 3019 ac_c_werror_flag=yes | |
| 3020 ac_cv_prog_cc_g=no | |
| 3021 CFLAGS="-g" | |
| 3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3023 /* end confdefs.h. */ | |
| 3024 | |
| 3025 int | |
| 3026 main () | |
| 3027 { | |
| 3028 | |
| 3029 ; | |
| 3030 return 0; | |
| 3031 } | |
| 3032 _ACEOF | |
| 3033 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3034 ac_cv_prog_cc_g=yes | |
| 3035 else | |
| 3036 CFLAGS="" | |
| 3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3038 /* end confdefs.h. */ | |
| 3039 | |
| 3040 int | |
| 3041 main () | |
| 3042 { | |
| 3043 | |
| 3044 ; | |
| 3045 return 0; | |
| 3046 } | |
| 3047 _ACEOF | |
| 3048 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3049 | |
| 3050 else | |
| 3051 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3052 CFLAGS="-g" | |
| 3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3054 /* end confdefs.h. */ | |
| 3055 | |
| 3056 int | |
| 3057 main () | |
| 3058 { | |
| 3059 | |
| 3060 ; | |
| 3061 return 0; | |
| 3062 } | |
| 3063 _ACEOF | |
| 3064 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3065 ac_cv_prog_cc_g=yes | |
| 3066 fi | |
| 3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3068 fi | |
| 3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3070 fi | |
| 3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3072 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3073 fi | |
| 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 3075 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 3076 if test "$ac_test_CFLAGS" = set; then | |
| 3077 CFLAGS=$ac_save_CFLAGS | |
| 3078 elif test $ac_cv_prog_cc_g = yes; then | |
| 3079 if test "$GCC" = yes; then | |
| 3080 CFLAGS="-g -O2" | |
| 3081 else | |
| 3082 CFLAGS="-g" | |
| 3083 fi | |
| 3084 else | |
| 3085 if test "$GCC" = yes; then | |
| 3086 CFLAGS="-O2" | |
| 3087 else | |
| 3088 CFLAGS= | |
| 3089 fi | |
| 3090 fi | |
| 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 | |
| 3092 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 3093 if ${ac_cv_prog_cc_c89+:} false; then : | |
| 3094 $as_echo_n "(cached) " >&6 | |
| 3095 else | |
| 3096 ac_cv_prog_cc_c89=no | |
| 3097 ac_save_CC=$CC | |
| 3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3099 /* end confdefs.h. */ | |
| 3100 #include <stdarg.h> | |
| 3101 #include <stdio.h> | |
| 3102 struct stat; | |
| 3103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 3104 struct buf { int x; }; | |
| 3105 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 3106 static char *e (p, i) | |
| 3107 char **p; | |
| 3108 int i; | |
| 3109 { | |
| 3110 return p[i]; | |
| 3111 } | |
| 3112 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 3113 { | |
| 3114 char *s; | |
| 3115 va_list v; | |
| 3116 va_start (v,p); | |
| 3117 s = g (p, va_arg (v,int)); | |
| 3118 va_end (v); | |
| 3119 return s; | |
| 3120 } | |
| 3121 | |
| 3122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 3123 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 3124 These don't provoke an error unfortunately, instead are silently treated | |
| 3125 as 'x'. The following induces an error, until -std is added to get | |
| 3126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 3127 array size at least. It's necessary to write '\x00'==0 to get something | |
| 3128 that's true only with -std. */ | |
| 3129 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 3130 | |
| 3131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3132 inside strings and character constants. */ | |
| 3133 #define FOO(x) 'x' | |
| 3134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3135 | |
| 3136 int test (int i, double x); | |
| 3137 struct s1 {int (*f) (int a);}; | |
| 3138 struct s2 {int (*f) (double a);}; | |
| 3139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); | |
| 3140 int argc; | |
| 3141 char **argv; | |
| 3142 int | |
| 3143 main () | |
| 3144 { | |
| 3145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3146 ; | |
| 3147 return 0; | |
| 3148 } | |
| 3149 _ACEOF | |
| 3150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3152 do | |
| 3153 CC="$ac_save_CC $ac_arg" | |
| 3154 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3155 ac_cv_prog_cc_c89=$ac_arg | |
| 3156 fi | |
| 3157 rm -f core conftest.err conftest.$ac_objext | |
| 3158 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3159 done | |
| 3160 rm -f conftest.$ac_ext | |
| 3161 CC=$ac_save_CC | |
| 3162 | |
| 3163 fi | |
| 3164 # AC_CACHE_VAL | |
| 3165 case "x$ac_cv_prog_cc_c89" in | |
| 3166 x) | |
| 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3168 $as_echo "none needed" >&6; } ;; | |
| 3169 xno) | |
| 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3171 $as_echo "unsupported" >&6; } ;; | |
| 3172 *) | |
| 3173 CC="$CC $ac_cv_prog_cc_c89" | |
| 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3176 esac | |
| 3177 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3178 | |
| 3179 fi | |
| 3180 | |
| 3181 ac_ext=c | |
| 3182 ac_cpp='$CPP $CPPFLAGS' | |
| 3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3186 | |
| 3187 ac_ext=c | |
| 3188 ac_cpp='$CPP $CPPFLAGS' | |
| 3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and
-o together" >&5 | |
| 3193 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
| 3194 if ${am_cv_prog_cc_c_o+:} false; then : | |
| 3195 $as_echo_n "(cached) " >&6 | |
| 3196 else | |
| 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3198 /* end confdefs.h. */ | |
| 3199 | |
| 3200 int | |
| 3201 main () | |
| 3202 { | |
| 3203 | |
| 3204 ; | |
| 3205 return 0; | |
| 3206 } | |
| 3207 _ACEOF | |
| 3208 # Make sure it works both with $CC and with simple cc. | |
| 3209 # Following AC_PROG_CC_C_O, we do the test twice because some | |
| 3210 # compilers refuse to overwrite an existing .o file with -o, | |
| 3211 # though they will create one. | |
| 3212 am_cv_prog_cc_c_o=yes | |
| 3213 for am_i in 1 2; do | |
| 3214 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext"
>&5 | |
| 3215 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
| 3216 ac_status=$? | |
| 3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3218 (exit $ac_status); } \ | |
| 3219 && test -f conftest2.$ac_objext; then | |
| 3220 : OK | |
| 3221 else | |
| 3222 am_cv_prog_cc_c_o=no | |
| 3223 break | |
| 3224 fi | |
| 3225 done | |
| 3226 rm -f core conftest* | |
| 3227 unset am_i | |
| 3228 fi | |
| 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
| 3230 $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
| 3231 if test "$am_cv_prog_cc_c_o" != yes; then | |
| 3232 # Losing compiler, so override with the script. | |
| 3233 # FIXME: It is wrong to rewrite CC. | |
| 3234 # But if we don't then we get into trouble of one sort or another. | |
| 3235 # A longer-term fix would be to have automake use am__CC in this case, | |
| 3236 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
| 3237 CC="$am_aux_dir/compile $CC" | |
| 3238 fi | |
| 3239 ac_ext=c | |
| 3240 ac_cpp='$CPP $CPPFLAGS' | |
| 3241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3243 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3244 | |
| 3245 | |
| 3246 | |
| 3247 ac_ext=c | |
| 3248 ac_cpp='$CPP $CPPFLAGS' | |
| 3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | |
| 3253 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 3254 # On Suns, sometimes $CPP names a directory. | |
| 3255 if test -n "$CPP" && test -d "$CPP"; then | |
| 3256 CPP= | |
| 3257 fi | |
| 3258 if test -z "$CPP"; then | |
| 3259 if ${ac_cv_prog_CPP+:} false; then : | |
| 3260 $as_echo_n "(cached) " >&6 | |
| 3261 else | |
| 3262 # Double quotes because CPP needs to be expanded | |
| 3263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 3264 do | |
| 3265 ac_preproc_ok=false | |
| 3266 for ac_c_preproc_warn_flag in '' yes | |
| 3267 do | |
| 3268 # Use a header file that comes with gcc, so configuring glibc | |
| 3269 # with a fresh cross-compiler works. | |
| 3270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3271 # <limits.h> exists even on freestanding compilers. | |
| 3272 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3273 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3275 /* end confdefs.h. */ | |
| 3276 #ifdef __STDC__ | |
| 3277 # include <limits.h> | |
| 3278 #else | |
| 3279 # include <assert.h> | |
| 3280 #endif | |
| 3281 Syntax error | |
| 3282 _ACEOF | |
| 3283 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3284 | |
| 3285 else | |
| 3286 # Broken: fails on valid input. | |
| 3287 continue | |
| 3288 fi | |
| 3289 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3290 | |
| 3291 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3292 # can be detected and how. | |
| 3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3294 /* end confdefs.h. */ | |
| 3295 #include <ac_nonexistent.h> | |
| 3296 _ACEOF | |
| 3297 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3298 # Broken: success on invalid input. | |
| 3299 continue | |
| 3300 else | |
| 3301 # Passes both tests. | |
| 3302 ac_preproc_ok=: | |
| 3303 break | |
| 3304 fi | |
| 3305 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3306 | |
| 3307 done | |
| 3308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3309 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3310 if $ac_preproc_ok; then : | |
| 3311 break | |
| 3312 fi | |
| 3313 | |
| 3314 done | |
| 3315 ac_cv_prog_CPP=$CPP | |
| 3316 | |
| 3317 fi | |
| 3318 CPP=$ac_cv_prog_CPP | |
| 3319 else | |
| 3320 ac_cv_prog_CPP=$CPP | |
| 3321 fi | |
| 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 3323 $as_echo "$CPP" >&6; } | |
| 3324 ac_preproc_ok=false | |
| 3325 for ac_c_preproc_warn_flag in '' yes | |
| 3326 do | |
| 3327 # Use a header file that comes with gcc, so configuring glibc | |
| 3328 # with a fresh cross-compiler works. | |
| 3329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3330 # <limits.h> exists even on freestanding compilers. | |
| 3331 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3332 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3334 /* end confdefs.h. */ | |
| 3335 #ifdef __STDC__ | |
| 3336 # include <limits.h> | |
| 3337 #else | |
| 3338 # include <assert.h> | |
| 3339 #endif | |
| 3340 Syntax error | |
| 3341 _ACEOF | |
| 3342 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3343 | |
| 3344 else | |
| 3345 # Broken: fails on valid input. | |
| 3346 continue | |
| 3347 fi | |
| 3348 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3349 | |
| 3350 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3351 # can be detected and how. | |
| 3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3353 /* end confdefs.h. */ | |
| 3354 #include <ac_nonexistent.h> | |
| 3355 _ACEOF | |
| 3356 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3357 # Broken: success on invalid input. | |
| 3358 continue | |
| 3359 else | |
| 3360 # Passes both tests. | |
| 3361 ac_preproc_ok=: | |
| 3362 break | |
| 3363 fi | |
| 3364 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3365 | |
| 3366 done | |
| 3367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3368 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3369 if $ac_preproc_ok; then : | |
| 3370 | |
| 3371 else | |
| 3372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3374 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 3375 See \`config.log' for more details" "$LINENO" 5; } | |
| 3376 fi | |
| 3377 | |
| 3378 ac_ext=c | |
| 3379 ac_cpp='$CPP $CPPFLAGS' | |
| 3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3383 | |
| 3384 | |
| 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
es and -e" >&5 | |
| 3386 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 3387 if ${ac_cv_path_GREP+:} false; then : | |
| 3388 $as_echo_n "(cached) " >&6 | |
| 3389 else | |
| 3390 if test -z "$GREP"; then | |
| 3391 ac_path_GREP_found=false | |
| 3392 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3395 do | |
| 3396 IFS=$as_save_IFS | |
| 3397 test -z "$as_dir" && as_dir=. | |
| 3398 for ac_prog in grep ggrep; do | |
| 3399 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3400 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3401 as_fn_executable_p "$ac_path_GREP" || continue | |
| 3402 # Check for GNU ac_path_GREP and select it if it is found. | |
| 3403 # Check for GNU $ac_path_GREP | |
| 3404 case `"$ac_path_GREP" --version 2>&1` in | |
| 3405 *GNU*) | |
| 3406 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3407 *) | |
| 3408 ac_count=0 | |
| 3409 $as_echo_n 0123456789 >"conftest.in" | |
| 3410 while : | |
| 3411 do | |
| 3412 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3413 mv "conftest.tmp" "conftest.in" | |
| 3414 cp "conftest.in" "conftest.nl" | |
| 3415 $as_echo 'GREP' >> "conftest.nl" | |
| 3416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break | |
| 3417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3418 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3419 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3420 # Best one so far, save it but keep looking for a better one | |
| 3421 ac_cv_path_GREP="$ac_path_GREP" | |
| 3422 ac_path_GREP_max=$ac_count | |
| 3423 fi | |
| 3424 # 10*(2^10) chars as input seems more than enough | |
| 3425 test $ac_count -gt 10 && break | |
| 3426 done | |
| 3427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3428 esac | |
| 3429 | |
| 3430 $ac_path_GREP_found && break 3 | |
| 3431 done | |
| 3432 done | |
| 3433 done | |
| 3434 IFS=$as_save_IFS | |
| 3435 if test -z "$ac_cv_path_GREP"; then | |
| 3436 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us
r/xpg4/bin" "$LINENO" 5 | |
| 3437 fi | |
| 3438 else | |
| 3439 ac_cv_path_GREP=$GREP | |
| 3440 fi | |
| 3441 | |
| 3442 fi | |
| 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 3444 $as_echo "$ac_cv_path_GREP" >&6; } | |
| 3445 GREP="$ac_cv_path_GREP" | |
| 3446 | |
| 3447 | |
| 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 3449 $as_echo_n "checking for egrep... " >&6; } | |
| 3450 if ${ac_cv_path_EGREP+:} false; then : | |
| 3451 $as_echo_n "(cached) " >&6 | |
| 3452 else | |
| 3453 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3454 then ac_cv_path_EGREP="$GREP -E" | |
| 3455 else | |
| 3456 if test -z "$EGREP"; then | |
| 3457 ac_path_EGREP_found=false | |
| 3458 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3461 do | |
| 3462 IFS=$as_save_IFS | |
| 3463 test -z "$as_dir" && as_dir=. | |
| 3464 for ac_prog in egrep; do | |
| 3465 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3466 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3467 as_fn_executable_p "$ac_path_EGREP" || continue | |
| 3468 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 3469 # Check for GNU $ac_path_EGREP | |
| 3470 case `"$ac_path_EGREP" --version 2>&1` in | |
| 3471 *GNU*) | |
| 3472 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 3473 *) | |
| 3474 ac_count=0 | |
| 3475 $as_echo_n 0123456789 >"conftest.in" | |
| 3476 while : | |
| 3477 do | |
| 3478 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3479 mv "conftest.tmp" "conftest.in" | |
| 3480 cp "conftest.in" "conftest.nl" | |
| 3481 $as_echo 'EGREP' >> "conftest.nl" | |
| 3482 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak | |
| 3483 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3484 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 3486 # Best one so far, save it but keep looking for a better one | |
| 3487 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 3488 ac_path_EGREP_max=$ac_count | |
| 3489 fi | |
| 3490 # 10*(2^10) chars as input seems more than enough | |
| 3491 test $ac_count -gt 10 && break | |
| 3492 done | |
| 3493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3494 esac | |
| 3495 | |
| 3496 $ac_path_EGREP_found && break 3 | |
| 3497 done | |
| 3498 done | |
| 3499 done | |
| 3500 IFS=$as_save_IFS | |
| 3501 if test -z "$ac_cv_path_EGREP"; then | |
| 3502 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
| 3503 fi | |
| 3504 else | |
| 3505 ac_cv_path_EGREP=$EGREP | |
| 3506 fi | |
| 3507 | |
| 3508 fi | |
| 3509 fi | |
| 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 3511 $as_echo "$ac_cv_path_EGREP" >&6; } | |
| 3512 EGREP="$ac_cv_path_EGREP" | |
| 3513 | |
| 3514 | |
| 3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 3516 $as_echo_n "checking for ANSI C header files... " >&6; } | |
| 3517 if ${ac_cv_header_stdc+:} false; then : | |
| 3518 $as_echo_n "(cached) " >&6 | |
| 3519 else | |
| 3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3521 /* end confdefs.h. */ | |
| 3522 #include <stdlib.h> | |
| 3523 #include <stdarg.h> | |
| 3524 #include <string.h> | |
| 3525 #include <float.h> | |
| 3526 | |
| 3527 int | |
| 3528 main () | |
| 3529 { | |
| 3530 | |
| 3531 ; | |
| 3532 return 0; | |
| 3533 } | |
| 3534 _ACEOF | |
| 3535 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3536 ac_cv_header_stdc=yes | |
| 3537 else | |
| 3538 ac_cv_header_stdc=no | |
| 3539 fi | |
| 3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3541 | |
| 3542 if test $ac_cv_header_stdc = yes; then | |
| 3543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3545 /* end confdefs.h. */ | |
| 3546 #include <string.h> | |
| 3547 | |
| 3548 _ACEOF | |
| 3549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3550 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 3551 | |
| 3552 else | |
| 3553 ac_cv_header_stdc=no | |
| 3554 fi | |
| 3555 rm -f conftest* | |
| 3556 | |
| 3557 fi | |
| 3558 | |
| 3559 if test $ac_cv_header_stdc = yes; then | |
| 3560 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3562 /* end confdefs.h. */ | |
| 3563 #include <stdlib.h> | |
| 3564 | |
| 3565 _ACEOF | |
| 3566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3567 $EGREP "free" >/dev/null 2>&1; then : | |
| 3568 | |
| 3569 else | |
| 3570 ac_cv_header_stdc=no | |
| 3571 fi | |
| 3572 rm -f conftest* | |
| 3573 | |
| 3574 fi | |
| 3575 | |
| 3576 if test $ac_cv_header_stdc = yes; then | |
| 3577 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 3578 if test "$cross_compiling" = yes; then : | |
| 3579 : | |
| 3580 else | |
| 3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3582 /* end confdefs.h. */ | |
| 3583 #include <ctype.h> | |
| 3584 #include <stdlib.h> | |
| 3585 #if ((' ' & 0x0FF) == 0x020) | |
| 3586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 3587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 3588 #else | |
| 3589 # define ISLOWER(c) \ | |
| 3590 (('a' <= (c) && (c) <= 'i') \ | |
| 3591 || ('j' <= (c) && (c) <= 'r') \ | |
| 3592 || ('s' <= (c) && (c) <= 'z')) | |
| 3593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 3594 #endif | |
| 3595 | |
| 3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 3597 int | |
| 3598 main () | |
| 3599 { | |
| 3600 int i; | |
| 3601 for (i = 0; i < 256; i++) | |
| 3602 if (XOR (islower (i), ISLOWER (i)) | |
| 3603 || toupper (i) != TOUPPER (i)) | |
| 3604 return 2; | |
| 3605 return 0; | |
| 3606 } | |
| 3607 _ACEOF | |
| 3608 if ac_fn_c_try_run "$LINENO"; then : | |
| 3609 | |
| 3610 else | |
| 3611 ac_cv_header_stdc=no | |
| 3612 fi | |
| 3613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 3614 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 3615 fi | |
| 3616 | |
| 3617 fi | |
| 3618 fi | |
| 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 3620 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 3621 if test $ac_cv_header_stdc = yes; then | |
| 3622 | |
| 3623 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 3624 | |
| 3625 fi | |
| 3626 | |
| 3627 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 3628 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 3629 inttypes.h stdint.h unistd.h | |
| 3630 do : | |
| 3631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 3632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default | |
| 3633 " | |
| 3634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 3635 cat >>confdefs.h <<_ACEOF | |
| 3636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 3637 _ACEOF | |
| 3638 | |
| 3639 fi | |
| 3640 | |
| 3641 done | |
| 3642 | |
| 3643 | |
| 3644 | |
| 3645 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" | |
| 3646 if test "x$ac_cv_header_minix_config_h" = xyes; then : | |
| 3647 MINIX=yes | |
| 3648 else | |
| 3649 MINIX= | |
| 3650 fi | |
| 3651 | |
| 3652 | |
| 3653 if test "$MINIX" = yes; then | |
| 3654 | |
| 3655 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | |
| 3656 | |
| 3657 | |
| 3658 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | |
| 3659 | |
| 3660 | |
| 3661 $as_echo "#define _MINIX 1" >>confdefs.h | |
| 3662 | |
| 3663 fi | |
| 3664 | |
| 3665 | |
| 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 | |
| 3667 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | |
| 3668 if ${ac_cv_safe_to_define___extensions__+:} false; then : | |
| 3669 $as_echo_n "(cached) " >&6 | |
| 3670 else | |
| 3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3672 /* end confdefs.h. */ | |
| 3673 | |
| 3674 # define __EXTENSIONS__ 1 | |
| 3675 $ac_includes_default | |
| 3676 int | |
| 3677 main () | |
| 3678 { | |
| 3679 | |
| 3680 ; | |
| 3681 return 0; | |
| 3682 } | |
| 3683 _ACEOF | |
| 3684 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3685 ac_cv_safe_to_define___extensions__=yes | |
| 3686 else | |
| 3687 ac_cv_safe_to_define___extensions__=no | |
| 3688 fi | |
| 3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3690 fi | |
| 3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 | |
| 3692 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | |
| 3693 test $ac_cv_safe_to_define___extensions__ = yes && | |
| 3694 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | |
| 3695 | |
| 3696 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | |
| 3697 | |
| 3698 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | |
| 3699 | |
| 3700 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | |
| 3701 | |
| 3702 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | |
| 3703 | |
| 3704 | |
| 3705 | |
| 3706 LIBXSLT_MAJOR_VERSION=1 | |
| 3707 LIBXSLT_MINOR_VERSION=1 | |
| 3708 LIBXSLT_MICRO_VERSION=29 | |
| 3709 PACKAGE=libxslt | |
| 3710 LIBEXSLT_MAJOR_VERSION=0 | |
| 3711 LIBEXSLT_MINOR_VERSION=8 | |
| 3712 LIBEXSLT_MICRO_VERSION=17 | |
| 3713 LIBXML_REQUIRED_VERSION=2.6.27 | |
| 3714 | |
| 3715 | |
| 3716 LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VER
SION | |
| 3717 LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIB
XSLT_MICRO_VERSION:$LIBXSLT_MINOR_VERSION | |
| 3718 | |
| 3719 LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VE
RSION \* 100 + $LIBXSLT_MICRO_VERSION` | |
| 3720 LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION | |
| 3721 | |
| 3722 if test -f CVS/Entries; then | |
| 3723 extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.
%% -e s\%/.*$%%` | |
| 3724 echo extra=$extra | |
| 3725 if test "$extra" != "" | |
| 3726 then | |
| 3727 LIBXSLT_VERSION_EXTRA="-CVS$extra" | |
| 3728 fi | |
| 3729 else if test -d .svn ; then | |
| 3730 extra=`svn info | grep Revision | sed 's+Revision: ++'` | |
| 3731 echo extra=$extra | |
| 3732 if test "$extra" != "" | |
| 3733 then | |
| 3734 LIBXSLT_VERSION_EXTRA="-SVN$extra" | |
| 3735 fi | |
| 3736 else if test -d .git ; then | |
| 3737 extra=`git describe | sed 's+LIBXSLT[0-9.]*-++'` | |
| 3738 echo extra=$extra | |
| 3739 if test "$extra" != "" | |
| 3740 then | |
| 3741 LIBXSLT_VERSION_EXTRA="-GIT$extra" | |
| 3742 fi | |
| 3743 fi | |
| 3744 fi | |
| 3745 fi | |
| 3746 | |
| 3747 | |
| 3748 | |
| 3749 | |
| 3750 | |
| 3751 | |
| 3752 | |
| 3753 | |
| 3754 | |
| 3755 | |
| 3756 | |
| 3757 LIBEXSLT_VERSION=$LIBEXSLT_MAJOR_VERSION.$LIBEXSLT_MINOR_VERSION.$LIBEXSLT_MICRO
_VERSION | |
| 3758 LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$
LIBEXSLT_MICRO_VERSION:$LIBEXSLT_MINOR_VERSION | |
| 3759 | |
| 3760 LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR
_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION` | |
| 3761 | |
| 3762 if test -f CVS/Entries; then | |
| 3763 LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/
1\.%% -e s\%/.*$%%` | |
| 3764 fi | |
| 3765 | |
| 3766 | |
| 3767 | |
| 3768 | |
| 3769 | |
| 3770 | |
| 3771 | |
| 3772 | |
| 3773 | |
| 3774 VERSION=${LIBXSLT_VERSION} | |
| 3775 | |
| 3776 am__api_version='1.14' | |
| 3777 | |
| 3778 # Find a good install program. We prefer a C program (faster), | |
| 3779 # so one script is as good as another. But avoid the broken or | |
| 3780 # incompatible versions: | |
| 3781 # SysV /etc/install, /usr/sbin/install | |
| 3782 # SunOS /usr/etc/install | |
| 3783 # IRIX /sbin/install | |
| 3784 # AIX /bin/install | |
| 3785 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 3786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 3787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 3788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 3789 # OS/2's system install, which has a completely different semantic | |
| 3790 # ./install, which can be erroneously created by make from ./install.sh. | |
| 3791 # Reject install programs that cannot install multiple files. | |
| 3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
| 3793 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
| 3794 if test -z "$INSTALL"; then | |
| 3795 if ${ac_cv_path_install+:} false; then : | |
| 3796 $as_echo_n "(cached) " >&6 | |
| 3797 else | |
| 3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3799 for as_dir in $PATH | |
| 3800 do | |
| 3801 IFS=$as_save_IFS | |
| 3802 test -z "$as_dir" && as_dir=. | |
| 3803 # Account for people who put trailing slashes in PATH elements. | |
| 3804 case $as_dir/ in #(( | |
| 3805 ./ | .// | /[cC]/* | \ | |
| 3806 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
| 3807 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
| 3808 /usr/ucb/* ) ;; | |
| 3809 *) | |
| 3810 # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 3811 # Don't use installbsd from OSF since it installs stuff as root | |
| 3812 # by default. | |
| 3813 for ac_prog in ginstall scoinst install; do | |
| 3814 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3815 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
| 3816 if test $ac_prog = install && | |
| 3817 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 3818 # AIX install. It has an incompatible calling convention. | |
| 3819 : | |
| 3820 elif test $ac_prog = install && | |
| 3821 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 3822 # program-specific install script used by HP pwplus--don't use. | |
| 3823 : | |
| 3824 else | |
| 3825 rm -rf conftest.one conftest.two conftest.dir | |
| 3826 echo one > conftest.one | |
| 3827 echo two > conftest.two | |
| 3828 mkdir conftest.dir | |
| 3829 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
| 3830 test -s conftest.one && test -s conftest.two && | |
| 3831 test -s conftest.dir/conftest.one && | |
| 3832 test -s conftest.dir/conftest.two | |
| 3833 then | |
| 3834 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 3835 break 3 | |
| 3836 fi | |
| 3837 fi | |
| 3838 fi | |
| 3839 done | |
| 3840 done | |
| 3841 ;; | |
| 3842 esac | |
| 3843 | |
| 3844 done | |
| 3845 IFS=$as_save_IFS | |
| 3846 | |
| 3847 rm -rf conftest.one conftest.two conftest.dir | |
| 3848 | |
| 3849 fi | |
| 3850 if test "${ac_cv_path_install+set}" = set; then | |
| 3851 INSTALL=$ac_cv_path_install | |
| 3852 else | |
| 3853 # As a last resort, use the slow shell script. Don't cache a | |
| 3854 # value for INSTALL within a source directory, because that will | |
| 3855 # break other packages using the cache if that directory is | |
| 3856 # removed, or if the value is a relative name. | |
| 3857 INSTALL=$ac_install_sh | |
| 3858 fi | |
| 3859 fi | |
| 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
| 3861 $as_echo "$INSTALL" >&6; } | |
| 3862 | |
| 3863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 3864 # It thinks the first close brace ends the variable substitution. | |
| 3865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 3866 | |
| 3867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 3868 | |
| 3869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 3870 | |
| 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 | |
| 3872 $as_echo_n "checking whether build environment is sane... " >&6; } | |
| 3873 # Reject unsafe characters in $srcdir or the absolute working directory | |
| 3874 # name. Accept space and tab only in the latter. | |
| 3875 am_lf=' | |
| 3876 ' | |
| 3877 case `pwd` in | |
| 3878 *[\\\"\#\$\&\'\`$am_lf]*) | |
| 3879 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
| 3880 esac | |
| 3881 case $srcdir in | |
| 3882 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
| 3883 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
| 3884 esac | |
| 3885 | |
| 3886 # Do 'set' in a subshell so we don't clobber the current shell's | |
| 3887 # arguments. Must try -L first in case configure is actually a | |
| 3888 # symlink; some systems play weird games with the mod time of symlinks | |
| 3889 # (eg FreeBSD returns the mod time of the symlink's containing | |
| 3890 # directory). | |
| 3891 if ( | |
| 3892 am_has_slept=no | |
| 3893 for am_try in 1 2; do | |
| 3894 echo "timestamp, slept: $am_has_slept" > conftest.file | |
| 3895 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
| 3896 if test "$*" = "X"; then | |
| 3897 # -L didn't work. | |
| 3898 set X `ls -t "$srcdir/configure" conftest.file` | |
| 3899 fi | |
| 3900 if test "$*" != "X $srcdir/configure conftest.file" \ | |
| 3901 && test "$*" != "X conftest.file $srcdir/configure"; then | |
| 3902 | |
| 3903 # If neither matched, then we have a broken ls. This can happen | |
| 3904 # if, for instance, CONFIG_SHELL is bash and it inherits a | |
| 3905 # broken ls alias from the environment. This has actually | |
| 3906 # happened. Such a system could not be considered "sane". | |
| 3907 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
| 3908 alias in your environment" "$LINENO" 5 | |
| 3909 fi | |
| 3910 if test "$2" = conftest.file || test $am_try -eq 2; then | |
| 3911 break | |
| 3912 fi | |
| 3913 # Just in case. | |
| 3914 sleep 1 | |
| 3915 am_has_slept=yes | |
| 3916 done | |
| 3917 test "$2" = conftest.file | |
| 3918 ) | |
| 3919 then | |
| 3920 # Ok. | |
| 3921 : | |
| 3922 else | |
| 3923 as_fn_error $? "newly created file is older than distributed files! | |
| 3924 Check your system clock" "$LINENO" 5 | |
| 3925 fi | |
| 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 3927 $as_echo "yes" >&6; } | |
| 3928 # If we didn't sleep, we still need to ensure time stamps of config.status and | |
| 3929 # generated files are strictly newer. | |
| 3930 am_sleep_pid= | |
| 3931 if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
| 3932 ( sleep 1 ) & | |
| 3933 am_sleep_pid=$! | |
| 3934 fi | |
| 3935 | |
| 3936 rm -f conftest.file | |
| 3937 | |
| 3938 test "$program_prefix" != NONE && | |
| 3939 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
| 3940 # Use a double $ so make ignores it. | |
| 3941 test "$program_suffix" != NONE && | |
| 3942 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
| 3943 # Double any \ or $. | |
| 3944 # By default was `s,x,x', remove it if useless. | |
| 3945 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
| 3946 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
| 3947 | |
| 3948 if test x"${MISSING+set}" != xset; then | |
| 3949 case $am_aux_dir in | |
| 3950 *\ * | *\ *) | |
| 3951 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| 3952 *) | |
| 3953 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| 3954 esac | |
| 3955 fi | |
| 3956 # Use eval to expand $SHELL | |
| 3957 if eval "$MISSING --is-lightweight"; then | |
| 3958 am_missing_run="$MISSING " | |
| 3959 else | |
| 3960 am_missing_run= | |
| 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old
or missing" >&5 | |
| 3962 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
| 3963 fi | |
| 3964 | |
| 3965 if test x"${install_sh}" != xset; then | |
| 3966 case $am_aux_dir in | |
| 3967 *\ * | *\ *) | |
| 3968 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
| 3969 *) | |
| 3970 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
| 3971 esac | |
| 3972 fi | |
| 3973 | |
| 3974 # Installed binaries are usually stripped using 'strip' when the user | |
| 3975 # run "make install-strip". However 'strip' might not be the right | |
| 3976 # tool to use in cross-compilation environments, therefore Automake | |
| 3977 # will honor the 'STRIP' environment variable to overrule this program. | |
| 3978 if test "$cross_compiling" != no; then | |
| 3979 if test -n "$ac_tool_prefix"; then | |
| 3980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
| 3981 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3983 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3984 if ${ac_cv_prog_STRIP+:} false; then : | |
| 3985 $as_echo_n "(cached) " >&6 | |
| 3986 else | |
| 3987 if test -n "$STRIP"; then | |
| 3988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 3989 else | |
| 3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3991 for as_dir in $PATH | |
| 3992 do | |
| 3993 IFS=$as_save_IFS | |
| 3994 test -z "$as_dir" && as_dir=. | |
| 3995 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 3997 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 3999 break 2 | |
| 4000 fi | |
| 4001 done | |
| 4002 done | |
| 4003 IFS=$as_save_IFS | |
| 4004 | |
| 4005 fi | |
| 4006 fi | |
| 4007 STRIP=$ac_cv_prog_STRIP | |
| 4008 if test -n "$STRIP"; then | |
| 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 4010 $as_echo "$STRIP" >&6; } | |
| 4011 else | |
| 4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4013 $as_echo "no" >&6; } | |
| 4014 fi | |
| 4015 | |
| 4016 | |
| 4017 fi | |
| 4018 if test -z "$ac_cv_prog_STRIP"; then | |
| 4019 ac_ct_STRIP=$STRIP | |
| 4020 # Extract the first word of "strip", so it can be a program name with args. | |
| 4021 set dummy strip; ac_word=$2 | |
| 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4023 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
| 4025 $as_echo_n "(cached) " >&6 | |
| 4026 else | |
| 4027 if test -n "$ac_ct_STRIP"; then | |
| 4028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 4029 else | |
| 4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4031 for as_dir in $PATH | |
| 4032 do | |
| 4033 IFS=$as_save_IFS | |
| 4034 test -z "$as_dir" && as_dir=. | |
| 4035 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4037 ac_cv_prog_ac_ct_STRIP="strip" | |
| 4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4039 break 2 | |
| 4040 fi | |
| 4041 done | |
| 4042 done | |
| 4043 IFS=$as_save_IFS | |
| 4044 | |
| 4045 fi | |
| 4046 fi | |
| 4047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 4048 if test -n "$ac_ct_STRIP"; then | |
| 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 4050 $as_echo "$ac_ct_STRIP" >&6; } | |
| 4051 else | |
| 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4053 $as_echo "no" >&6; } | |
| 4054 fi | |
| 4055 | |
| 4056 if test "x$ac_ct_STRIP" = x; then | |
| 4057 STRIP=":" | |
| 4058 else | |
| 4059 case $cross_compiling:$ac_tool_warned in | |
| 4060 yes:) | |
| 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4063 ac_tool_warned=yes ;; | |
| 4064 esac | |
| 4065 STRIP=$ac_ct_STRIP | |
| 4066 fi | |
| 4067 else | |
| 4068 STRIP="$ac_cv_prog_STRIP" | |
| 4069 fi | |
| 4070 | |
| 4071 fi | |
| 4072 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 4073 | |
| 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 | |
| 4075 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
| 4076 if test -z "$MKDIR_P"; then | |
| 4077 if ${ac_cv_path_mkdir+:} false; then : | |
| 4078 $as_echo_n "(cached) " >&6 | |
| 4079 else | |
| 4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4081 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
| 4082 do | |
| 4083 IFS=$as_save_IFS | |
| 4084 test -z "$as_dir" && as_dir=. | |
| 4085 for ac_prog in mkdir gmkdir; do | |
| 4086 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4087 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
| 4088 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
| 4089 'mkdir (GNU coreutils) '* | \ | |
| 4090 'mkdir (coreutils) '* | \ | |
| 4091 'mkdir (fileutils) '4.1*) | |
| 4092 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
| 4093 break 3;; | |
| 4094 esac | |
| 4095 done | |
| 4096 done | |
| 4097 done | |
| 4098 IFS=$as_save_IFS | |
| 4099 | |
| 4100 fi | |
| 4101 | |
| 4102 test -d ./--version && rmdir ./--version | |
| 4103 if test "${ac_cv_path_mkdir+set}" = set; then | |
| 4104 MKDIR_P="$ac_cv_path_mkdir -p" | |
| 4105 else | |
| 4106 # As a last resort, use the slow shell script. Don't cache a | |
| 4107 # value for MKDIR_P within a source directory, because that will | |
| 4108 # break other packages using the cache if that directory is | |
| 4109 # removed, or if the value is a relative name. | |
| 4110 MKDIR_P="$ac_install_sh -d" | |
| 4111 fi | |
| 4112 fi | |
| 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
| 4114 $as_echo "$MKDIR_P" >&6; } | |
| 4115 | |
| 4116 for ac_prog in gawk mawk nawk awk | |
| 4117 do | |
| 4118 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 4119 set dummy $ac_prog; ac_word=$2 | |
| 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4121 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4122 if ${ac_cv_prog_AWK+:} false; then : | |
| 4123 $as_echo_n "(cached) " >&6 | |
| 4124 else | |
| 4125 if test -n "$AWK"; then | |
| 4126 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| 4127 else | |
| 4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4129 for as_dir in $PATH | |
| 4130 do | |
| 4131 IFS=$as_save_IFS | |
| 4132 test -z "$as_dir" && as_dir=. | |
| 4133 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4135 ac_cv_prog_AWK="$ac_prog" | |
| 4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4137 break 2 | |
| 4138 fi | |
| 4139 done | |
| 4140 done | |
| 4141 IFS=$as_save_IFS | |
| 4142 | |
| 4143 fi | |
| 4144 fi | |
| 4145 AWK=$ac_cv_prog_AWK | |
| 4146 if test -n "$AWK"; then | |
| 4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
| 4148 $as_echo "$AWK" >&6; } | |
| 4149 else | |
| 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4151 $as_echo "no" >&6; } | |
| 4152 fi | |
| 4153 | |
| 4154 | |
| 4155 test -n "$AWK" && break | |
| 4156 done | |
| 4157 | |
| 4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
AKE)" >&5 | |
| 4159 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
| 4160 set x ${MAKE-make} | |
| 4161 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
| 4162 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
| 4163 $as_echo_n "(cached) " >&6 | |
| 4164 else | |
| 4165 cat >conftest.make <<\_ACEOF | |
| 4166 SHELL = /bin/sh | |
| 4167 all: | |
| 4168 @echo '@@@%%%=$(MAKE)=@@@%%%' | |
| 4169 _ACEOF | |
| 4170 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
| 4171 case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
| 4172 *@@@%%%=?*=@@@%%%*) | |
| 4173 eval ac_cv_prog_make_${ac_make}_set=yes;; | |
| 4174 *) | |
| 4175 eval ac_cv_prog_make_${ac_make}_set=no;; | |
| 4176 esac | |
| 4177 rm -f conftest.make | |
| 4178 fi | |
| 4179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
| 4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 4181 $as_echo "yes" >&6; } | |
| 4182 SET_MAKE= | |
| 4183 else | |
| 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4185 $as_echo "no" >&6; } | |
| 4186 SET_MAKE="MAKE=${MAKE-make}" | |
| 4187 fi | |
| 4188 | |
| 4189 rm -rf .tst 2>/dev/null | |
| 4190 mkdir .tst 2>/dev/null | |
| 4191 if test -d .tst; then | |
| 4192 am__leading_dot=. | |
| 4193 else | |
| 4194 am__leading_dot=_ | |
| 4195 fi | |
| 4196 rmdir .tst 2>/dev/null | |
| 4197 | |
| 4198 DEPDIR="${am__leading_dot}deps" | |
| 4199 | |
| 4200 ac_config_commands="$ac_config_commands depfiles" | |
| 4201 | |
| 4202 | |
| 4203 am_make=${MAKE-make} | |
| 4204 cat > confinc << 'END' | |
| 4205 am__doit: | |
| 4206 @echo this is the am__doit target | |
| 4207 .PHONY: am__doit | |
| 4208 END | |
| 4209 # If we don't find an include directive, just comment out the code. | |
| 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 | |
| 4211 $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
| 4212 am__include="#" | |
| 4213 am__quote= | |
| 4214 _am_result=none | |
| 4215 # First try GNU make style include. | |
| 4216 echo "include confinc" > confmf | |
| 4217 # Ignore all kinds of additional output from 'make'. | |
| 4218 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 4219 *the\ am__doit\ target*) | |
| 4220 am__include=include | |
| 4221 am__quote= | |
| 4222 _am_result=GNU | |
| 4223 ;; | |
| 4224 esac | |
| 4225 # Now try BSD make style include. | |
| 4226 if test "$am__include" = "#"; then | |
| 4227 echo '.include "confinc"' > confmf | |
| 4228 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 4229 *the\ am__doit\ target*) | |
| 4230 am__include=.include | |
| 4231 am__quote="\"" | |
| 4232 _am_result=BSD | |
| 4233 ;; | |
| 4234 esac | |
| 4235 fi | |
| 4236 | |
| 4237 | |
| 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
| 4239 $as_echo "$_am_result" >&6; } | |
| 4240 rm -f confinc confmf | |
| 4241 | |
| 4242 # Check whether --enable-dependency-tracking was given. | |
| 4243 if test "${enable_dependency_tracking+set}" = set; then : | |
| 4244 enableval=$enable_dependency_tracking; | |
| 4245 fi | |
| 4246 | |
| 4247 if test "x$enable_dependency_tracking" != xno; then | |
| 4248 am_depcomp="$ac_aux_dir/depcomp" | |
| 4249 AMDEPBACKSLASH='\' | |
| 4250 am__nodep='_no' | |
| 4251 fi | |
| 4252 if test "x$enable_dependency_tracking" != xno; then | |
| 4253 AMDEP_TRUE= | |
| 4254 AMDEP_FALSE='#' | |
| 4255 else | |
| 4256 AMDEP_TRUE='#' | |
| 4257 AMDEP_FALSE= | |
| 4258 fi | |
| 4259 | |
| 4260 | |
| 4261 # Check whether --enable-silent-rules was given. | |
| 4262 if test "${enable_silent_rules+set}" = set; then : | |
| 4263 enableval=$enable_silent_rules; | |
| 4264 fi | |
| 4265 | |
| 4266 case $enable_silent_rules in # ((( | |
| 4267 yes) AM_DEFAULT_VERBOSITY=0;; | |
| 4268 no) AM_DEFAULT_VERBOSITY=1;; | |
| 4269 *) AM_DEFAULT_VERBOSITY=1;; | |
| 4270 esac | |
| 4271 am_make=${MAKE-make} | |
| 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 | |
| 4273 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
| 4274 if ${am_cv_make_support_nested_variables+:} false; then : | |
| 4275 $as_echo_n "(cached) " >&6 | |
| 4276 else | |
| 4277 if $as_echo 'TRUE=$(BAR$(V)) | |
| 4278 BAR0=false | |
| 4279 BAR1=true | |
| 4280 V=1 | |
| 4281 am__doit: | |
| 4282 @$(TRUE) | |
| 4283 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
| 4284 am_cv_make_support_nested_variables=yes | |
| 4285 else | |
| 4286 am_cv_make_support_nested_variables=no | |
| 4287 fi | |
| 4288 fi | |
| 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 | |
| 4290 $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
| 4291 if test $am_cv_make_support_nested_variables = yes; then | |
| 4292 AM_V='$(V)' | |
| 4293 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
| 4294 else | |
| 4295 AM_V=$AM_DEFAULT_VERBOSITY | |
| 4296 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
| 4297 fi | |
| 4298 AM_BACKSLASH='\' | |
| 4299 | |
| 4300 if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 4301 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 4302 # is not polluted with repeated "-I." | |
| 4303 am__isrc=' -I$(srcdir)' | |
| 4304 # test to see if srcdir already configured | |
| 4305 if test -f $srcdir/config.status; then | |
| 4306 as_fn_error $? "source directory already configured; run \"make distclean\"
there first" "$LINENO" 5 | |
| 4307 fi | |
| 4308 fi | |
| 4309 | |
| 4310 # test whether we have cygpath | |
| 4311 if test -z "$CYGPATH_W"; then | |
| 4312 if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 4313 CYGPATH_W='cygpath -w' | |
| 4314 else | |
| 4315 CYGPATH_W=echo | |
| 4316 fi | |
| 4317 fi | |
| 4318 | |
| 4319 | |
| 4320 # Define the identity of the package. | |
| 4321 | |
| 4322 PACKAGE=$PACKAGE | |
| 4323 VERSION=$VERSION | |
| 4324 | |
| 4325 | |
| 4326 cat >>confdefs.h <<_ACEOF | |
| 4327 #define PACKAGE "$PACKAGE" | |
| 4328 _ACEOF | |
| 4329 | |
| 4330 | |
| 4331 cat >>confdefs.h <<_ACEOF | |
| 4332 #define VERSION "$VERSION" | |
| 4333 _ACEOF | |
| 4334 | |
| 4335 # Some tools Automake needs. | |
| 4336 | |
| 4337 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
| 4338 | |
| 4339 | |
| 4340 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
| 4341 | |
| 4342 | |
| 4343 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
| 4344 | |
| 4345 | |
| 4346 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
| 4347 | |
| 4348 | |
| 4349 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
| 4350 | |
| 4351 # For better backward compatibility. To be removed once Automake 1.9.x | |
| 4352 # dies out for good. For more background, see: | |
| 4353 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
| 4354 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
| 4355 mkdir_p='$(MKDIR_P)' | |
| 4356 | |
| 4357 # We need awk for the "check" target. The system "awk" is bad on | |
| 4358 # some platforms. | |
| 4359 # Always define AMTAR for backward compatibility. Yes, it's still used | |
| 4360 # in the wild :-( We should find a proper way to deprecate it ... | |
| 4361 AMTAR='$${TAR-tar}' | |
| 4362 | |
| 4363 | |
| 4364 # We'll loop over all known methods to create a tar archive until one works. | |
| 4365 _am_tools='gnutar pax cpio none' | |
| 4366 | |
| 4367 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
| 4368 | |
| 4369 | |
| 4370 | |
| 4371 | |
| 4372 | |
| 4373 depcc="$CC" am_compiler_list= | |
| 4374 | |
| 4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | |
| 4376 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
| 4377 if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
| 4378 $as_echo_n "(cached) " >&6 | |
| 4379 else | |
| 4380 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 4381 # We make a subdir and do the tests there. Otherwise we can end up | |
| 4382 # making bogus files that we don't know about and never remove. For | |
| 4383 # instance it was reported that on HP-UX the gcc test will end up | |
| 4384 # making a dummy file named 'D' -- because '-MD' means "put the output | |
| 4385 # in D". | |
| 4386 rm -rf conftest.dir | |
| 4387 mkdir conftest.dir | |
| 4388 # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 4389 # using a relative directory. | |
| 4390 cp "$am_depcomp" conftest.dir | |
| 4391 cd conftest.dir | |
| 4392 # We will build objects and dependencies in a subdirectory because | |
| 4393 # it helps to detect inapplicable dependency modes. For instance | |
| 4394 # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 4395 # side effect of compilation, but ICC will put the dependencies in | |
| 4396 # the current directory while Tru64 will put them in the object | |
| 4397 # directory. | |
| 4398 mkdir sub | |
| 4399 | |
| 4400 am_cv_CC_dependencies_compiler_type=none | |
| 4401 if test "$am_compiler_list" = ""; then | |
| 4402 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
| 4403 fi | |
| 4404 am__universal=false | |
| 4405 case " $depcc " in #( | |
| 4406 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 4407 esac | |
| 4408 | |
| 4409 for depmode in $am_compiler_list; do | |
| 4410 # Setup a source with many dependencies, because some compilers | |
| 4411 # like to wrap large dependency lists on column 80 (with \), and | |
| 4412 # we should not choose a depcomp mode which is confused by this. | |
| 4413 # | |
| 4414 # We need to recreate these files for each test, as the compiler may | |
| 4415 # overwrite some of them when testing with obscure command lines. | |
| 4416 # This happens at least with the AIX C compiler. | |
| 4417 : > sub/conftest.c | |
| 4418 for i in 1 2 3 4 5 6; do | |
| 4419 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 4420 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
| 4421 # Solaris 10 /bin/sh. | |
| 4422 echo '/* dummy */' > sub/conftst$i.h | |
| 4423 done | |
| 4424 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 4425 | |
| 4426 # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
| 4427 # mode. It turns out that the SunPro C++ compiler does not properly | |
| 4428 # handle '-M -o', and we need to detect this. Also, some Intel | |
| 4429 # versions had trouble with output in subdirs. | |
| 4430 am__obj=sub/conftest.${OBJEXT-o} | |
| 4431 am__minus_obj="-o $am__obj" | |
| 4432 case $depmode in | |
| 4433 gcc) | |
| 4434 # This depmode causes a compiler race in universal mode. | |
| 4435 test "$am__universal" = false || continue | |
| 4436 ;; | |
| 4437 nosideeffect) | |
| 4438 # After this tag, mechanisms are not by side-effect, so they'll | |
| 4439 # only be used when explicitly requested. | |
| 4440 if test "x$enable_dependency_tracking" = xyes; then | |
| 4441 continue | |
| 4442 else | |
| 4443 break | |
| 4444 fi | |
| 4445 ;; | |
| 4446 msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
| 4447 # This compiler won't grok '-c -o', but also, the minuso test has | |
| 4448 # not run yet. These depmodes are late enough in the game, and | |
| 4449 # so weak that their functioning should not be impacted. | |
| 4450 am__obj=conftest.${OBJEXT-o} | |
| 4451 am__minus_obj= | |
| 4452 ;; | |
| 4453 none) break ;; | |
| 4454 esac | |
| 4455 if depmode=$depmode \ | |
| 4456 source=sub/conftest.c object=$am__obj \ | |
| 4457 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 4458 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
| 4459 >/dev/null 2>conftest.err && | |
| 4460 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 4461 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 4462 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
| 4463 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 4464 # icc doesn't choke on unknown options, it will just issue warnings | |
| 4465 # or remarks (even with -Werror). So we grep stderr for any message | |
| 4466 # that says an option was ignored or not supported. | |
| 4467 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 4468 # icc: Command line warning: ignoring option '-M'; no argument required | |
| 4469 # The diagnosis changed in icc 8.0: | |
| 4470 # icc: Command line remark: option '-MP' not supported | |
| 4471 if (grep 'ignoring option' conftest.err || | |
| 4472 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 4473 am_cv_CC_dependencies_compiler_type=$depmode | |
| 4474 break | |
| 4475 fi | |
| 4476 fi | |
| 4477 done | |
| 4478 | |
| 4479 cd .. | |
| 4480 rm -rf conftest.dir | |
| 4481 else | |
| 4482 am_cv_CC_dependencies_compiler_type=none | |
| 4483 fi | |
| 4484 | |
| 4485 fi | |
| 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 | |
| 4487 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
| 4488 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
| 4489 | |
| 4490 if | |
| 4491 test "x$enable_dependency_tracking" != xno \ | |
| 4492 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
| 4493 am__fastdepCC_TRUE= | |
| 4494 am__fastdepCC_FALSE='#' | |
| 4495 else | |
| 4496 am__fastdepCC_TRUE='#' | |
| 4497 am__fastdepCC_FALSE= | |
| 4498 fi | |
| 4499 | |
| 4500 | |
| 4501 | |
| 4502 # POSIX will say in a future version that running "rm -f" with no argument | |
| 4503 # is OK; and we want to be able to make that assumption in our Makefile | |
| 4504 # recipes. So use an aggressive probe to check that the usage we want is | |
| 4505 # actually supported "in the wild" to an acceptable degree. | |
| 4506 # See automake bug#10828. | |
| 4507 # To make any issue more visible, cause the running configure to be aborted | |
| 4508 # by default if the 'rm' program in use doesn't match our expectations; the | |
| 4509 # user can still override this though. | |
| 4510 if rm -f && rm -fr && rm -rf; then : OK; else | |
| 4511 cat >&2 <<'END' | |
| 4512 Oops! | |
| 4513 | |
| 4514 Your 'rm' program seems unable to run without file operands specified | |
| 4515 on the command line, even when the '-f' option is present. This is contrary | |
| 4516 to the behaviour of most rm programs out there, and not conforming with | |
| 4517 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
| 4518 | |
| 4519 Please tell bug-automake@gnu.org about your system, including the value | |
| 4520 of your $PATH and any error possibly output before this message. This | |
| 4521 can help us improve future automake versions. | |
| 4522 | |
| 4523 END | |
| 4524 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
| 4525 echo 'Configuration will proceed anyway, since you have set the' >&2 | |
| 4526 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
| 4527 echo >&2 | |
| 4528 else | |
| 4529 cat >&2 <<'END' | |
| 4530 Aborting the configuration process, to ensure you take notice of the issue. | |
| 4531 | |
| 4532 You can download and install GNU coreutils to get an 'rm' implementation | |
| 4533 that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
| 4534 | |
| 4535 If you want to complete the configuration process using your problematic | |
| 4536 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
| 4537 to "yes", and re-run configure. | |
| 4538 | |
| 4539 END | |
| 4540 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
| 4541 fi | |
| 4542 fi | |
| 4543 | |
| 4544 # AM_MAINTAINER_MODE | |
| 4545 | |
| 4546 # Support silent build rules, requires at least automake-1.11. Disable | |
| 4547 # by either passing --disable-silent-rules to configure or passing V=1 | |
| 4548 # to make | |
| 4549 # Check whether --enable-silent-rules was given. | |
| 4550 if test "${enable_silent_rules+set}" = set; then : | |
| 4551 enableval=$enable_silent_rules; | |
| 4552 fi | |
| 4553 | |
| 4554 case $enable_silent_rules in # ((( | |
| 4555 yes) AM_DEFAULT_VERBOSITY=0;; | |
| 4556 no) AM_DEFAULT_VERBOSITY=1;; | |
| 4557 *) AM_DEFAULT_VERBOSITY=0;; | |
| 4558 esac | |
| 4559 am_make=${MAKE-make} | |
| 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 | |
| 4561 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
| 4562 if ${am_cv_make_support_nested_variables+:} false; then : | |
| 4563 $as_echo_n "(cached) " >&6 | |
| 4564 else | |
| 4565 if $as_echo 'TRUE=$(BAR$(V)) | |
| 4566 BAR0=false | |
| 4567 BAR1=true | |
| 4568 V=1 | |
| 4569 am__doit: | |
| 4570 @$(TRUE) | |
| 4571 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
| 4572 am_cv_make_support_nested_variables=yes | |
| 4573 else | |
| 4574 am_cv_make_support_nested_variables=no | |
| 4575 fi | |
| 4576 fi | |
| 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 | |
| 4578 $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
| 4579 if test $am_cv_make_support_nested_variables = yes; then | |
| 4580 AM_V='$(V)' | |
| 4581 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
| 4582 else | |
| 4583 AM_V=$AM_DEFAULT_VERBOSITY | |
| 4584 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
| 4585 fi | |
| 4586 AM_BACKSLASH='\' | |
| 4587 | |
| 4588 | |
| 4589 | |
| 4590 | |
| 4591 # Check whether --with-html-dir was given. | |
| 4592 if test "${with_html_dir+set}" = set; then : | |
| 4593 withval=$with_html_dir; HTML_DIR=$withval | |
| 4594 else | |
| 4595 HTML_DIR='$(datadir)/doc' | |
| 4596 fi | |
| 4597 | |
| 4598 | |
| 4599 | |
| 4600 # Check whether --with-html-subdir was given. | |
| 4601 if test "${with_html_subdir+set}" = set; then : | |
| 4602 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$wit
hval" | |
| 4603 else | |
| 4604 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" | |
| 4605 fi | |
| 4606 | |
| 4607 | |
| 4608 | |
| 4609 | |
| 4610 | |
| 4611 ac_ext=c | |
| 4612 ac_cpp='$CPP $CPPFLAGS' | |
| 4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 4616 if test -n "$ac_tool_prefix"; then | |
| 4617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | |
| 4618 set dummy ${ac_tool_prefix}gcc; 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 ${ac_cv_prog_CC+:} false; then : | |
| 4622 $as_echo_n "(cached) " >&6 | |
| 4623 else | |
| 4624 if test -n "$CC"; then | |
| 4625 ac_cv_prog_CC="$CC" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4634 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 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 CC=$ac_cv_prog_CC | |
| 4645 if test -n "$CC"; then | |
| 4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 4647 $as_echo "$CC" >&6; } | |
| 4648 else | |
| 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4650 $as_echo "no" >&6; } | |
| 4651 fi | |
| 4652 | |
| 4653 | |
| 4654 fi | |
| 4655 if test -z "$ac_cv_prog_CC"; then | |
| 4656 ac_ct_CC=$CC | |
| 4657 # Extract the first word of "gcc", so it can be a program name with args. | |
| 4658 set dummy gcc; ac_word=$2 | |
| 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4660 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4661 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 4662 $as_echo_n "(cached) " >&6 | |
| 4663 else | |
| 4664 if test -n "$ac_ct_CC"; then | |
| 4665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 4666 else | |
| 4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4668 for as_dir in $PATH | |
| 4669 do | |
| 4670 IFS=$as_save_IFS | |
| 4671 test -z "$as_dir" && as_dir=. | |
| 4672 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4674 ac_cv_prog_ac_ct_CC="gcc" | |
| 4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4676 break 2 | |
| 4677 fi | |
| 4678 done | |
| 4679 done | |
| 4680 IFS=$as_save_IFS | |
| 4681 | |
| 4682 fi | |
| 4683 fi | |
| 4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 4685 if test -n "$ac_ct_CC"; then | |
| 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 4687 $as_echo "$ac_ct_CC" >&6; } | |
| 4688 else | |
| 4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4690 $as_echo "no" >&6; } | |
| 4691 fi | |
| 4692 | |
| 4693 if test "x$ac_ct_CC" = x; then | |
| 4694 CC="" | |
| 4695 else | |
| 4696 case $cross_compiling:$ac_tool_warned in | |
| 4697 yes:) | |
| 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4700 ac_tool_warned=yes ;; | |
| 4701 esac | |
| 4702 CC=$ac_ct_CC | |
| 4703 fi | |
| 4704 else | |
| 4705 CC="$ac_cv_prog_CC" | |
| 4706 fi | |
| 4707 | |
| 4708 if test -z "$CC"; then | |
| 4709 if test -n "$ac_tool_prefix"; then | |
| 4710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. | |
| 4711 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4713 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4714 if ${ac_cv_prog_CC+:} false; then : | |
| 4715 $as_echo_n "(cached) " >&6 | |
| 4716 else | |
| 4717 if test -n "$CC"; then | |
| 4718 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 4719 else | |
| 4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4721 for as_dir in $PATH | |
| 4722 do | |
| 4723 IFS=$as_save_IFS | |
| 4724 test -z "$as_dir" && as_dir=. | |
| 4725 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4727 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4729 break 2 | |
| 4730 fi | |
| 4731 done | |
| 4732 done | |
| 4733 IFS=$as_save_IFS | |
| 4734 | |
| 4735 fi | |
| 4736 fi | |
| 4737 CC=$ac_cv_prog_CC | |
| 4738 if test -n "$CC"; then | |
| 4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 4740 $as_echo "$CC" >&6; } | |
| 4741 else | |
| 4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4743 $as_echo "no" >&6; } | |
| 4744 fi | |
| 4745 | |
| 4746 | |
| 4747 fi | |
| 4748 fi | |
| 4749 if test -z "$CC"; then | |
| 4750 # Extract the first word of "cc", so it can be a program name with args. | |
| 4751 set dummy cc; ac_word=$2 | |
| 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4753 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4754 if ${ac_cv_prog_CC+:} false; then : | |
| 4755 $as_echo_n "(cached) " >&6 | |
| 4756 else | |
| 4757 if test -n "$CC"; then | |
| 4758 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 4759 else | |
| 4760 ac_prog_rejected=no | |
| 4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4762 for as_dir in $PATH | |
| 4763 do | |
| 4764 IFS=$as_save_IFS | |
| 4765 test -z "$as_dir" && as_dir=. | |
| 4766 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 4769 ac_prog_rejected=yes | |
| 4770 continue | |
| 4771 fi | |
| 4772 ac_cv_prog_CC="cc" | |
| 4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4774 break 2 | |
| 4775 fi | |
| 4776 done | |
| 4777 done | |
| 4778 IFS=$as_save_IFS | |
| 4779 | |
| 4780 if test $ac_prog_rejected = yes; then | |
| 4781 # We found a bogon in the path, so make sure we never use it. | |
| 4782 set dummy $ac_cv_prog_CC | |
| 4783 shift | |
| 4784 if test $# != 0; then | |
| 4785 # We chose a different compiler from the bogus one. | |
| 4786 # However, it has the same basename, so the bogon will be chosen | |
| 4787 # first if we set CC to just the basename; use the full file name. | |
| 4788 shift | |
| 4789 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 4790 fi | |
| 4791 fi | |
| 4792 fi | |
| 4793 fi | |
| 4794 CC=$ac_cv_prog_CC | |
| 4795 if test -n "$CC"; then | |
| 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 4797 $as_echo "$CC" >&6; } | |
| 4798 else | |
| 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4800 $as_echo "no" >&6; } | |
| 4801 fi | |
| 4802 | |
| 4803 | |
| 4804 fi | |
| 4805 if test -z "$CC"; then | |
| 4806 if test -n "$ac_tool_prefix"; then | |
| 4807 for ac_prog in cl.exe | |
| 4808 do | |
| 4809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 4810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4812 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4813 if ${ac_cv_prog_CC+:} false; then : | |
| 4814 $as_echo_n "(cached) " >&6 | |
| 4815 else | |
| 4816 if test -n "$CC"; then | |
| 4817 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 4818 else | |
| 4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4820 for as_dir in $PATH | |
| 4821 do | |
| 4822 IFS=$as_save_IFS | |
| 4823 test -z "$as_dir" && as_dir=. | |
| 4824 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4826 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4828 break 2 | |
| 4829 fi | |
| 4830 done | |
| 4831 done | |
| 4832 IFS=$as_save_IFS | |
| 4833 | |
| 4834 fi | |
| 4835 fi | |
| 4836 CC=$ac_cv_prog_CC | |
| 4837 if test -n "$CC"; then | |
| 4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 4839 $as_echo "$CC" >&6; } | |
| 4840 else | |
| 4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4842 $as_echo "no" >&6; } | |
| 4843 fi | |
| 4844 | |
| 4845 | |
| 4846 test -n "$CC" && break | |
| 4847 done | |
| 4848 fi | |
| 4849 if test -z "$CC"; then | |
| 4850 ac_ct_CC=$CC | |
| 4851 for ac_prog in cl.exe | |
| 4852 do | |
| 4853 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 4854 set dummy $ac_prog; ac_word=$2 | |
| 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4856 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4857 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 4858 $as_echo_n "(cached) " >&6 | |
| 4859 else | |
| 4860 if test -n "$ac_ct_CC"; then | |
| 4861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 4862 else | |
| 4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4864 for as_dir in $PATH | |
| 4865 do | |
| 4866 IFS=$as_save_IFS | |
| 4867 test -z "$as_dir" && as_dir=. | |
| 4868 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 4870 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 4872 break 2 | |
| 4873 fi | |
| 4874 done | |
| 4875 done | |
| 4876 IFS=$as_save_IFS | |
| 4877 | |
| 4878 fi | |
| 4879 fi | |
| 4880 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 4881 if test -n "$ac_ct_CC"; then | |
| 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 4883 $as_echo "$ac_ct_CC" >&6; } | |
| 4884 else | |
| 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4886 $as_echo "no" >&6; } | |
| 4887 fi | |
| 4888 | |
| 4889 | |
| 4890 test -n "$ac_ct_CC" && break | |
| 4891 done | |
| 4892 | |
| 4893 if test "x$ac_ct_CC" = x; then | |
| 4894 CC="" | |
| 4895 else | |
| 4896 case $cross_compiling:$ac_tool_warned in | |
| 4897 yes:) | |
| 4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 4900 ac_tool_warned=yes ;; | |
| 4901 esac | |
| 4902 CC=$ac_ct_CC | |
| 4903 fi | |
| 4904 fi | |
| 4905 | |
| 4906 fi | |
| 4907 | |
| 4908 | |
| 4909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
:" >&5 | |
| 4910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 4911 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 4912 See \`config.log' for more details" "$LINENO" 5; } | |
| 4913 | |
| 4914 # Provide some information about the compiler. | |
| 4915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 4916 set X $ac_compile | |
| 4917 ac_compiler=$2 | |
| 4918 for ac_option in --version -v -V -qversion; do | |
| 4919 { { ac_try="$ac_compiler $ac_option >&5" | |
| 4920 case "(($ac_try" in | |
| 4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 4922 *) ac_try_echo=$ac_try;; | |
| 4923 esac | |
| 4924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 4925 $as_echo "$ac_try_echo"; } >&5 | |
| 4926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 4927 ac_status=$? | |
| 4928 if test -s conftest.err; then | |
| 4929 sed '10a\ | |
| 4930 ... rest of stderr output deleted ... | |
| 4931 10q' conftest.err >conftest.er1 | |
| 4932 cat conftest.er1 >&5 | |
| 4933 fi | |
| 4934 rm -f conftest.er1 conftest.err | |
| 4935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 4936 test $ac_status = 0; } | |
| 4937 done | |
| 4938 | |
| 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 | |
| 4940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 4941 if ${ac_cv_c_compiler_gnu+:} false; then : | |
| 4942 $as_echo_n "(cached) " >&6 | |
| 4943 else | |
| 4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4945 /* end confdefs.h. */ | |
| 4946 | |
| 4947 int | |
| 4948 main () | |
| 4949 { | |
| 4950 #ifndef __GNUC__ | |
| 4951 choke me | |
| 4952 #endif | |
| 4953 | |
| 4954 ; | |
| 4955 return 0; | |
| 4956 } | |
| 4957 _ACEOF | |
| 4958 if ac_fn_c_try_compile "$LINENO"; then : | |
| 4959 ac_compiler_gnu=yes | |
| 4960 else | |
| 4961 ac_compiler_gnu=no | |
| 4962 fi | |
| 4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 4964 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 4965 | |
| 4966 fi | |
| 4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 4968 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 4969 if test $ac_compiler_gnu = yes; then | |
| 4970 GCC=yes | |
| 4971 else | |
| 4972 GCC= | |
| 4973 fi | |
| 4974 ac_test_CFLAGS=${CFLAGS+set} | |
| 4975 ac_save_CFLAGS=$CFLAGS | |
| 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 4977 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 4978 if ${ac_cv_prog_cc_g+:} false; then : | |
| 4979 $as_echo_n "(cached) " >&6 | |
| 4980 else | |
| 4981 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 4982 ac_c_werror_flag=yes | |
| 4983 ac_cv_prog_cc_g=no | |
| 4984 CFLAGS="-g" | |
| 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4986 /* end confdefs.h. */ | |
| 4987 | |
| 4988 int | |
| 4989 main () | |
| 4990 { | |
| 4991 | |
| 4992 ; | |
| 4993 return 0; | |
| 4994 } | |
| 4995 _ACEOF | |
| 4996 if ac_fn_c_try_compile "$LINENO"; then : | |
| 4997 ac_cv_prog_cc_g=yes | |
| 4998 else | |
| 4999 CFLAGS="" | |
| 5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5001 /* end confdefs.h. */ | |
| 5002 | |
| 5003 int | |
| 5004 main () | |
| 5005 { | |
| 5006 | |
| 5007 ; | |
| 5008 return 0; | |
| 5009 } | |
| 5010 _ACEOF | |
| 5011 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5012 | |
| 5013 else | |
| 5014 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 5015 CFLAGS="-g" | |
| 5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5017 /* end confdefs.h. */ | |
| 5018 | |
| 5019 int | |
| 5020 main () | |
| 5021 { | |
| 5022 | |
| 5023 ; | |
| 5024 return 0; | |
| 5025 } | |
| 5026 _ACEOF | |
| 5027 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5028 ac_cv_prog_cc_g=yes | |
| 5029 fi | |
| 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5031 fi | |
| 5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5033 fi | |
| 5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5035 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 5036 fi | |
| 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 5038 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 5039 if test "$ac_test_CFLAGS" = set; then | |
| 5040 CFLAGS=$ac_save_CFLAGS | |
| 5041 elif test $ac_cv_prog_cc_g = yes; then | |
| 5042 if test "$GCC" = yes; then | |
| 5043 CFLAGS="-g -O2" | |
| 5044 else | |
| 5045 CFLAGS="-g" | |
| 5046 fi | |
| 5047 else | |
| 5048 if test "$GCC" = yes; then | |
| 5049 CFLAGS="-O2" | |
| 5050 else | |
| 5051 CFLAGS= | |
| 5052 fi | |
| 5053 fi | |
| 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 | |
| 5055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 5056 if ${ac_cv_prog_cc_c89+:} false; then : | |
| 5057 $as_echo_n "(cached) " >&6 | |
| 5058 else | |
| 5059 ac_cv_prog_cc_c89=no | |
| 5060 ac_save_CC=$CC | |
| 5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5062 /* end confdefs.h. */ | |
| 5063 #include <stdarg.h> | |
| 5064 #include <stdio.h> | |
| 5065 struct stat; | |
| 5066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 5067 struct buf { int x; }; | |
| 5068 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 5069 static char *e (p, i) | |
| 5070 char **p; | |
| 5071 int i; | |
| 5072 { | |
| 5073 return p[i]; | |
| 5074 } | |
| 5075 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 5076 { | |
| 5077 char *s; | |
| 5078 va_list v; | |
| 5079 va_start (v,p); | |
| 5080 s = g (p, va_arg (v,int)); | |
| 5081 va_end (v); | |
| 5082 return s; | |
| 5083 } | |
| 5084 | |
| 5085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 5086 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 5087 These don't provoke an error unfortunately, instead are silently treated | |
| 5088 as 'x'. The following induces an error, until -std is added to get | |
| 5089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 5090 array size at least. It's necessary to write '\x00'==0 to get something | |
| 5091 that's true only with -std. */ | |
| 5092 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 5093 | |
| 5094 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 5095 inside strings and character constants. */ | |
| 5096 #define FOO(x) 'x' | |
| 5097 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 5098 | |
| 5099 int test (int i, double x); | |
| 5100 struct s1 {int (*f) (int a);}; | |
| 5101 struct s2 {int (*f) (double a);}; | |
| 5102 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); | |
| 5103 int argc; | |
| 5104 char **argv; | |
| 5105 int | |
| 5106 main () | |
| 5107 { | |
| 5108 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 5109 ; | |
| 5110 return 0; | |
| 5111 } | |
| 5112 _ACEOF | |
| 5113 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 5114 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 5115 do | |
| 5116 CC="$ac_save_CC $ac_arg" | |
| 5117 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5118 ac_cv_prog_cc_c89=$ac_arg | |
| 5119 fi | |
| 5120 rm -f core conftest.err conftest.$ac_objext | |
| 5121 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 5122 done | |
| 5123 rm -f conftest.$ac_ext | |
| 5124 CC=$ac_save_CC | |
| 5125 | |
| 5126 fi | |
| 5127 # AC_CACHE_VAL | |
| 5128 case "x$ac_cv_prog_cc_c89" in | |
| 5129 x) | |
| 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 5131 $as_echo "none needed" >&6; } ;; | |
| 5132 xno) | |
| 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 5134 $as_echo "unsupported" >&6; } ;; | |
| 5135 *) | |
| 5136 CC="$CC $ac_cv_prog_cc_c89" | |
| 5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 5138 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 5139 esac | |
| 5140 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 5141 | |
| 5142 fi | |
| 5143 | |
| 5144 ac_ext=c | |
| 5145 ac_cpp='$CPP $CPPFLAGS' | |
| 5146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5148 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5149 | |
| 5150 ac_ext=c | |
| 5151 ac_cpp='$CPP $CPPFLAGS' | |
| 5152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5154 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and
-o together" >&5 | |
| 5156 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
| 5157 if ${am_cv_prog_cc_c_o+:} false; then : | |
| 5158 $as_echo_n "(cached) " >&6 | |
| 5159 else | |
| 5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5161 /* end confdefs.h. */ | |
| 5162 | |
| 5163 int | |
| 5164 main () | |
| 5165 { | |
| 5166 | |
| 5167 ; | |
| 5168 return 0; | |
| 5169 } | |
| 5170 _ACEOF | |
| 5171 # Make sure it works both with $CC and with simple cc. | |
| 5172 # Following AC_PROG_CC_C_O, we do the test twice because some | |
| 5173 # compilers refuse to overwrite an existing .o file with -o, | |
| 5174 # though they will create one. | |
| 5175 am_cv_prog_cc_c_o=yes | |
| 5176 for am_i in 1 2; do | |
| 5177 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext"
>&5 | |
| 5178 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
| 5179 ac_status=$? | |
| 5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 5181 (exit $ac_status); } \ | |
| 5182 && test -f conftest2.$ac_objext; then | |
| 5183 : OK | |
| 5184 else | |
| 5185 am_cv_prog_cc_c_o=no | |
| 5186 break | |
| 5187 fi | |
| 5188 done | |
| 5189 rm -f core conftest* | |
| 5190 unset am_i | |
| 5191 fi | |
| 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
| 5193 $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
| 5194 if test "$am_cv_prog_cc_c_o" != yes; then | |
| 5195 # Losing compiler, so override with the script. | |
| 5196 # FIXME: It is wrong to rewrite CC. | |
| 5197 # But if we don't then we get into trouble of one sort or another. | |
| 5198 # A longer-term fix would be to have automake use am__CC in this case, | |
| 5199 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
| 5200 CC="$am_aux_dir/compile $CC" | |
| 5201 fi | |
| 5202 ac_ext=c | |
| 5203 ac_cpp='$CPP $CPPFLAGS' | |
| 5204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5206 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5207 | |
| 5208 | |
| 5209 | |
| 5210 ac_ext=c | |
| 5211 ac_cpp='$CPP $CPPFLAGS' | |
| 5212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5214 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | |
| 5216 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 5217 # On Suns, sometimes $CPP names a directory. | |
| 5218 if test -n "$CPP" && test -d "$CPP"; then | |
| 5219 CPP= | |
| 5220 fi | |
| 5221 if test -z "$CPP"; then | |
| 5222 if ${ac_cv_prog_CPP+:} false; then : | |
| 5223 $as_echo_n "(cached) " >&6 | |
| 5224 else | |
| 5225 # Double quotes because CPP needs to be expanded | |
| 5226 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 5227 do | |
| 5228 ac_preproc_ok=false | |
| 5229 for ac_c_preproc_warn_flag in '' yes | |
| 5230 do | |
| 5231 # Use a header file that comes with gcc, so configuring glibc | |
| 5232 # with a fresh cross-compiler works. | |
| 5233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 5234 # <limits.h> exists even on freestanding compilers. | |
| 5235 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 5236 # not just through cpp. "Syntax error" is here to catch this case. | |
| 5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5238 /* end confdefs.h. */ | |
| 5239 #ifdef __STDC__ | |
| 5240 # include <limits.h> | |
| 5241 #else | |
| 5242 # include <assert.h> | |
| 5243 #endif | |
| 5244 Syntax error | |
| 5245 _ACEOF | |
| 5246 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 5247 | |
| 5248 else | |
| 5249 # Broken: fails on valid input. | |
| 5250 continue | |
| 5251 fi | |
| 5252 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 5253 | |
| 5254 # OK, works on sane cases. Now check whether nonexistent headers | |
| 5255 # can be detected and how. | |
| 5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5257 /* end confdefs.h. */ | |
| 5258 #include <ac_nonexistent.h> | |
| 5259 _ACEOF | |
| 5260 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 5261 # Broken: success on invalid input. | |
| 5262 continue | |
| 5263 else | |
| 5264 # Passes both tests. | |
| 5265 ac_preproc_ok=: | |
| 5266 break | |
| 5267 fi | |
| 5268 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 5269 | |
| 5270 done | |
| 5271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 5272 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 5273 if $ac_preproc_ok; then : | |
| 5274 break | |
| 5275 fi | |
| 5276 | |
| 5277 done | |
| 5278 ac_cv_prog_CPP=$CPP | |
| 5279 | |
| 5280 fi | |
| 5281 CPP=$ac_cv_prog_CPP | |
| 5282 else | |
| 5283 ac_cv_prog_CPP=$CPP | |
| 5284 fi | |
| 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 5286 $as_echo "$CPP" >&6; } | |
| 5287 ac_preproc_ok=false | |
| 5288 for ac_c_preproc_warn_flag in '' yes | |
| 5289 do | |
| 5290 # Use a header file that comes with gcc, so configuring glibc | |
| 5291 # with a fresh cross-compiler works. | |
| 5292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 5293 # <limits.h> exists even on freestanding compilers. | |
| 5294 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 5295 # not just through cpp. "Syntax error" is here to catch this case. | |
| 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5297 /* end confdefs.h. */ | |
| 5298 #ifdef __STDC__ | |
| 5299 # include <limits.h> | |
| 5300 #else | |
| 5301 # include <assert.h> | |
| 5302 #endif | |
| 5303 Syntax error | |
| 5304 _ACEOF | |
| 5305 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 5306 | |
| 5307 else | |
| 5308 # Broken: fails on valid input. | |
| 5309 continue | |
| 5310 fi | |
| 5311 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 5312 | |
| 5313 # OK, works on sane cases. Now check whether nonexistent headers | |
| 5314 # can be detected and how. | |
| 5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5316 /* end confdefs.h. */ | |
| 5317 #include <ac_nonexistent.h> | |
| 5318 _ACEOF | |
| 5319 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 5320 # Broken: success on invalid input. | |
| 5321 continue | |
| 5322 else | |
| 5323 # Passes both tests. | |
| 5324 ac_preproc_ok=: | |
| 5325 break | |
| 5326 fi | |
| 5327 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 5328 | |
| 5329 done | |
| 5330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 5331 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 5332 if $ac_preproc_ok; then : | |
| 5333 | |
| 5334 else | |
| 5335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 5336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 5337 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 5338 See \`config.log' for more details" "$LINENO" 5; } | |
| 5339 fi | |
| 5340 | |
| 5341 ac_ext=c | |
| 5342 ac_cpp='$CPP $CPPFLAGS' | |
| 5343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 5344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 5345 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 5346 | |
| 5347 # Extract the first word of "rm", so it can be a program name with args. | |
| 5348 set dummy rm; ac_word=$2 | |
| 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5350 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5351 if ${ac_cv_path_RM+:} false; then : | |
| 5352 $as_echo_n "(cached) " >&6 | |
| 5353 else | |
| 5354 case $RM in | |
| 5355 [\\/]* | ?:[\\/]*) | |
| 5356 ac_cv_path_RM="$RM" # Let the user override the test with a path. | |
| 5357 ;; | |
| 5358 *) | |
| 5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5360 for as_dir in $PATH | |
| 5361 do | |
| 5362 IFS=$as_save_IFS | |
| 5363 test -z "$as_dir" && as_dir=. | |
| 5364 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 5366 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" | |
| 5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5368 break 2 | |
| 5369 fi | |
| 5370 done | |
| 5371 done | |
| 5372 IFS=$as_save_IFS | |
| 5373 | |
| 5374 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" | |
| 5375 ;; | |
| 5376 esac | |
| 5377 fi | |
| 5378 RM=$ac_cv_path_RM | |
| 5379 if test -n "$RM"; then | |
| 5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 | |
| 5381 $as_echo "$RM" >&6; } | |
| 5382 else | |
| 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5384 $as_echo "no" >&6; } | |
| 5385 fi | |
| 5386 | |
| 5387 | |
| 5388 # Extract the first word of "mv", so it can be a program name with args. | |
| 5389 set dummy mv; ac_word=$2 | |
| 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5391 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5392 if ${ac_cv_path_MV+:} false; then : | |
| 5393 $as_echo_n "(cached) " >&6 | |
| 5394 else | |
| 5395 case $MV in | |
| 5396 [\\/]* | ?:[\\/]*) | |
| 5397 ac_cv_path_MV="$MV" # Let the user override the test with a path. | |
| 5398 ;; | |
| 5399 *) | |
| 5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5401 for as_dir in $PATH | |
| 5402 do | |
| 5403 IFS=$as_save_IFS | |
| 5404 test -z "$as_dir" && as_dir=. | |
| 5405 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 5407 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | |
| 5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5409 break 2 | |
| 5410 fi | |
| 5411 done | |
| 5412 done | |
| 5413 IFS=$as_save_IFS | |
| 5414 | |
| 5415 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" | |
| 5416 ;; | |
| 5417 esac | |
| 5418 fi | |
| 5419 MV=$ac_cv_path_MV | |
| 5420 if test -n "$MV"; then | |
| 5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 | |
| 5422 $as_echo "$MV" >&6; } | |
| 5423 else | |
| 5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5425 $as_echo "no" >&6; } | |
| 5426 fi | |
| 5427 | |
| 5428 | |
| 5429 # Extract the first word of "tar", so it can be a program name with args. | |
| 5430 set dummy tar; ac_word=$2 | |
| 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5432 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5433 if ${ac_cv_path_TAR+:} false; then : | |
| 5434 $as_echo_n "(cached) " >&6 | |
| 5435 else | |
| 5436 case $TAR in | |
| 5437 [\\/]* | ?:[\\/]*) | |
| 5438 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. | |
| 5439 ;; | |
| 5440 *) | |
| 5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5442 for as_dir in $PATH | |
| 5443 do | |
| 5444 IFS=$as_save_IFS | |
| 5445 test -z "$as_dir" && as_dir=. | |
| 5446 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 5448 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" | |
| 5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5450 break 2 | |
| 5451 fi | |
| 5452 done | |
| 5453 done | |
| 5454 IFS=$as_save_IFS | |
| 5455 | |
| 5456 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" | |
| 5457 ;; | |
| 5458 esac | |
| 5459 fi | |
| 5460 TAR=$ac_cv_path_TAR | |
| 5461 if test -n "$TAR"; then | |
| 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 | |
| 5463 $as_echo "$TAR" >&6; } | |
| 5464 else | |
| 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5466 $as_echo "no" >&6; } | |
| 5467 fi | |
| 5468 | |
| 5469 | |
| 5470 # Extract the first word of "xmllint", so it can be a program name with args. | |
| 5471 set dummy xmllint; ac_word=$2 | |
| 5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5473 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5474 if ${ac_cv_path_XMLLINT+:} false; then : | |
| 5475 $as_echo_n "(cached) " >&6 | |
| 5476 else | |
| 5477 case $XMLLINT in | |
| 5478 [\\/]* | ?:[\\/]*) | |
| 5479 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. | |
| 5480 ;; | |
| 5481 *) | |
| 5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5483 for as_dir in $PATH | |
| 5484 do | |
| 5485 IFS=$as_save_IFS | |
| 5486 test -z "$as_dir" && as_dir=. | |
| 5487 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 5489 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" | |
| 5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5491 break 2 | |
| 5492 fi | |
| 5493 done | |
| 5494 done | |
| 5495 IFS=$as_save_IFS | |
| 5496 | |
| 5497 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" | |
| 5498 ;; | |
| 5499 esac | |
| 5500 fi | |
| 5501 XMLLINT=$ac_cv_path_XMLLINT | |
| 5502 if test -n "$XMLLINT"; then | |
| 5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 | |
| 5504 $as_echo "$XMLLINT" >&6; } | |
| 5505 else | |
| 5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5507 $as_echo "no" >&6; } | |
| 5508 fi | |
| 5509 | |
| 5510 | |
| 5511 # Extract the first word of "xsltproc", so it can be a program name with args. | |
| 5512 set dummy xsltproc; ac_word=$2 | |
| 5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5514 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5515 if ${ac_cv_path_XSLTPROC+:} false; then : | |
| 5516 $as_echo_n "(cached) " >&6 | |
| 5517 else | |
| 5518 case $XSLTPROC in | |
| 5519 [\\/]* | ?:[\\/]*) | |
| 5520 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. | |
| 5521 ;; | |
| 5522 *) | |
| 5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5524 for as_dir in $PATH | |
| 5525 do | |
| 5526 IFS=$as_save_IFS | |
| 5527 test -z "$as_dir" && as_dir=. | |
| 5528 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 5530 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" | |
| 5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 5532 break 2 | |
| 5533 fi | |
| 5534 done | |
| 5535 done | |
| 5536 IFS=$as_save_IFS | |
| 5537 | |
| 5538 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" | |
| 5539 ;; | |
| 5540 esac | |
| 5541 fi | |
| 5542 XSLTPROC=$ac_cv_path_XSLTPROC | |
| 5543 if test -n "$XSLTPROC"; then | |
| 5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 | |
| 5545 $as_echo "$XSLTPROC" >&6; } | |
| 5546 else | |
| 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5548 $as_echo "no" >&6; } | |
| 5549 fi | |
| 5550 | |
| 5551 | |
| 5552 | |
| 5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 5554 $as_echo_n "checking for ANSI C header files... " >&6; } | |
| 5555 if ${ac_cv_header_stdc+:} false; then : | |
| 5556 $as_echo_n "(cached) " >&6 | |
| 5557 else | |
| 5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5559 /* end confdefs.h. */ | |
| 5560 #include <stdlib.h> | |
| 5561 #include <stdarg.h> | |
| 5562 #include <string.h> | |
| 5563 #include <float.h> | |
| 5564 | |
| 5565 int | |
| 5566 main () | |
| 5567 { | |
| 5568 | |
| 5569 ; | |
| 5570 return 0; | |
| 5571 } | |
| 5572 _ACEOF | |
| 5573 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5574 ac_cv_header_stdc=yes | |
| 5575 else | |
| 5576 ac_cv_header_stdc=no | |
| 5577 fi | |
| 5578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5579 | |
| 5580 if test $ac_cv_header_stdc = yes; then | |
| 5581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5583 /* end confdefs.h. */ | |
| 5584 #include <string.h> | |
| 5585 | |
| 5586 _ACEOF | |
| 5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 5588 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 5589 | |
| 5590 else | |
| 5591 ac_cv_header_stdc=no | |
| 5592 fi | |
| 5593 rm -f conftest* | |
| 5594 | |
| 5595 fi | |
| 5596 | |
| 5597 if test $ac_cv_header_stdc = yes; then | |
| 5598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5600 /* end confdefs.h. */ | |
| 5601 #include <stdlib.h> | |
| 5602 | |
| 5603 _ACEOF | |
| 5604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 5605 $EGREP "free" >/dev/null 2>&1; then : | |
| 5606 | |
| 5607 else | |
| 5608 ac_cv_header_stdc=no | |
| 5609 fi | |
| 5610 rm -f conftest* | |
| 5611 | |
| 5612 fi | |
| 5613 | |
| 5614 if test $ac_cv_header_stdc = yes; then | |
| 5615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 5616 if test "$cross_compiling" = yes; then : | |
| 5617 : | |
| 5618 else | |
| 5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5620 /* end confdefs.h. */ | |
| 5621 #include <ctype.h> | |
| 5622 #include <stdlib.h> | |
| 5623 #if ((' ' & 0x0FF) == 0x020) | |
| 5624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 5625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 5626 #else | |
| 5627 # define ISLOWER(c) \ | |
| 5628 (('a' <= (c) && (c) <= 'i') \ | |
| 5629 || ('j' <= (c) && (c) <= 'r') \ | |
| 5630 || ('s' <= (c) && (c) <= 'z')) | |
| 5631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 5632 #endif | |
| 5633 | |
| 5634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 5635 int | |
| 5636 main () | |
| 5637 { | |
| 5638 int i; | |
| 5639 for (i = 0; i < 256; i++) | |
| 5640 if (XOR (islower (i), ISLOWER (i)) | |
| 5641 || toupper (i) != TOUPPER (i)) | |
| 5642 return 2; | |
| 5643 return 0; | |
| 5644 } | |
| 5645 _ACEOF | |
| 5646 if ac_fn_c_try_run "$LINENO"; then : | |
| 5647 | |
| 5648 else | |
| 5649 ac_cv_header_stdc=no | |
| 5650 fi | |
| 5651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 5652 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 5653 fi | |
| 5654 | |
| 5655 fi | |
| 5656 fi | |
| 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 5658 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 5659 if test $ac_cv_header_stdc = yes; then | |
| 5660 | |
| 5661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 5662 | |
| 5663 fi | |
| 5664 | |
| 5665 | |
| 5666 case `pwd` in | |
| 5667 *\ * | *\ *) | |
| 5668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well
with whitespace in \`pwd\`" >&5 | |
| 5669 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`
" >&2;} ;; | |
| 5670 esac | |
| 5671 | |
| 5672 | |
| 5673 | |
| 5674 macro_version='2.4.2' | |
| 5675 macro_revision='1.3337' | |
| 5676 | |
| 5677 | |
| 5678 | |
| 5679 | |
| 5680 | |
| 5681 | |
| 5682 | |
| 5683 | |
| 5684 | |
| 5685 | |
| 5686 | |
| 5687 | |
| 5688 | |
| 5689 ltmain="$ac_aux_dir/ltmain.sh" | |
| 5690 | |
| 5691 # Backslashify metacharacters that are still active within | |
| 5692 # double-quoted strings. | |
| 5693 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | |
| 5694 | |
| 5695 # Same as above, but do not quote variable references. | |
| 5696 double_quote_subst='s/\(["`\\]\)/\\\1/g' | |
| 5697 | |
| 5698 # Sed substitution to delay expansion of an escaped shell variable in a | |
| 5699 # double_quote_subst'ed string. | |
| 5700 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | |
| 5701 | |
| 5702 # Sed substitution to delay expansion of an escaped single quote. | |
| 5703 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | |
| 5704 | |
| 5705 # Sed substitution to avoid accidental globbing in evaled expressions | |
| 5706 no_glob_subst='s/\*/\\\*/g' | |
| 5707 | |
| 5708 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 5709 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 5710 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 5711 | |
| 5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | |
| 5713 $as_echo_n "checking how to print strings... " >&6; } | |
| 5714 # Test print first, because it will be a builtin if present. | |
| 5715 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | |
| 5716 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 5717 ECHO='print -r --' | |
| 5718 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 5719 ECHO='printf %s\n' | |
| 5720 else | |
| 5721 # Use this function as a fallback that always works. | |
| 5722 func_fallback_echo () | |
| 5723 { | |
| 5724 eval 'cat <<_LTECHO_EOF | |
| 5725 $1 | |
| 5726 _LTECHO_EOF' | |
| 5727 } | |
| 5728 ECHO='func_fallback_echo' | |
| 5729 fi | |
| 5730 | |
| 5731 # func_echo_all arg... | |
| 5732 # Invoke $ECHO with all args, space-separated. | |
| 5733 func_echo_all () | |
| 5734 { | |
| 5735 $ECHO "" | |
| 5736 } | |
| 5737 | |
| 5738 case "$ECHO" in | |
| 5739 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | |
| 5740 $as_echo "printf" >&6; } ;; | |
| 5741 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | |
| 5742 $as_echo "print -r" >&6; } ;; | |
| 5743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | |
| 5744 $as_echo "cat" >&6; } ;; | |
| 5745 esac | |
| 5746 | |
| 5747 | |
| 5748 | |
| 5749 | |
| 5750 | |
| 5751 | |
| 5752 | |
| 5753 | |
| 5754 | |
| 5755 | |
| 5756 | |
| 5757 | |
| 5758 | |
| 5759 | |
| 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca
te output" >&5 | |
| 5761 $as_echo_n "checking for a sed that does not truncate output... " >&6; } | |
| 5762 if ${ac_cv_path_SED+:} false; then : | |
| 5763 $as_echo_n "(cached) " >&6 | |
| 5764 else | |
| 5765 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbb/ | |
| 5766 for ac_i in 1 2 3 4 5 6 7; do | |
| 5767 ac_script="$ac_script$as_nl$ac_script" | |
| 5768 done | |
| 5769 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | |
| 5770 { ac_script=; unset ac_script;} | |
| 5771 if test -z "$SED"; then | |
| 5772 ac_path_SED_found=false | |
| 5773 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5775 for as_dir in $PATH | |
| 5776 do | |
| 5777 IFS=$as_save_IFS | |
| 5778 test -z "$as_dir" && as_dir=. | |
| 5779 for ac_prog in sed gsed; do | |
| 5780 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5781 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | |
| 5782 as_fn_executable_p "$ac_path_SED" || continue | |
| 5783 # Check for GNU ac_path_SED and select it if it is found. | |
| 5784 # Check for GNU $ac_path_SED | |
| 5785 case `"$ac_path_SED" --version 2>&1` in | |
| 5786 *GNU*) | |
| 5787 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | |
| 5788 *) | |
| 5789 ac_count=0 | |
| 5790 $as_echo_n 0123456789 >"conftest.in" | |
| 5791 while : | |
| 5792 do | |
| 5793 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 5794 mv "conftest.tmp" "conftest.in" | |
| 5795 cp "conftest.in" "conftest.nl" | |
| 5796 $as_echo '' >> "conftest.nl" | |
| 5797 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null |
| break | |
| 5798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 5799 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 5800 if test $ac_count -gt ${ac_path_SED_max-0}; then | |
| 5801 # Best one so far, save it but keep looking for a better one | |
| 5802 ac_cv_path_SED="$ac_path_SED" | |
| 5803 ac_path_SED_max=$ac_count | |
| 5804 fi | |
| 5805 # 10*(2^10) chars as input seems more than enough | |
| 5806 test $ac_count -gt 10 && break | |
| 5807 done | |
| 5808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 5809 esac | |
| 5810 | |
| 5811 $ac_path_SED_found && break 3 | |
| 5812 done | |
| 5813 done | |
| 5814 done | |
| 5815 IFS=$as_save_IFS | |
| 5816 if test -z "$ac_cv_path_SED"; then | |
| 5817 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
| 5818 fi | |
| 5819 else | |
| 5820 ac_cv_path_SED=$SED | |
| 5821 fi | |
| 5822 | |
| 5823 fi | |
| 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | |
| 5825 $as_echo "$ac_cv_path_SED" >&6; } | |
| 5826 SED="$ac_cv_path_SED" | |
| 5827 rm -f conftest.sed | |
| 5828 | |
| 5829 test -z "$SED" && SED=sed | |
| 5830 Xsed="$SED -e 1s/^X//" | |
| 5831 | |
| 5832 | |
| 5833 | |
| 5834 | |
| 5835 | |
| 5836 | |
| 5837 | |
| 5838 | |
| 5839 | |
| 5840 | |
| 5841 | |
| 5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | |
| 5843 $as_echo_n "checking for fgrep... " >&6; } | |
| 5844 if ${ac_cv_path_FGREP+:} false; then : | |
| 5845 $as_echo_n "(cached) " >&6 | |
| 5846 else | |
| 5847 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | |
| 5848 then ac_cv_path_FGREP="$GREP -F" | |
| 5849 else | |
| 5850 if test -z "$FGREP"; then | |
| 5851 ac_path_FGREP_found=false | |
| 5852 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5854 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 5855 do | |
| 5856 IFS=$as_save_IFS | |
| 5857 test -z "$as_dir" && as_dir=. | |
| 5858 for ac_prog in fgrep; do | |
| 5859 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5860 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 5861 as_fn_executable_p "$ac_path_FGREP" || continue | |
| 5862 # Check for GNU ac_path_FGREP and select it if it is found. | |
| 5863 # Check for GNU $ac_path_FGREP | |
| 5864 case `"$ac_path_FGREP" --version 2>&1` in | |
| 5865 *GNU*) | |
| 5866 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | |
| 5867 *) | |
| 5868 ac_count=0 | |
| 5869 $as_echo_n 0123456789 >"conftest.in" | |
| 5870 while : | |
| 5871 do | |
| 5872 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 5873 mv "conftest.tmp" "conftest.in" | |
| 5874 cp "conftest.in" "conftest.nl" | |
| 5875 $as_echo 'FGREP' >> "conftest.nl" | |
| 5876 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 5877 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 5878 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 5879 if test $ac_count -gt ${ac_path_FGREP_max-0}; then | |
| 5880 # Best one so far, save it but keep looking for a better one | |
| 5881 ac_cv_path_FGREP="$ac_path_FGREP" | |
| 5882 ac_path_FGREP_max=$ac_count | |
| 5883 fi | |
| 5884 # 10*(2^10) chars as input seems more than enough | |
| 5885 test $ac_count -gt 10 && break | |
| 5886 done | |
| 5887 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 5888 esac | |
| 5889 | |
| 5890 $ac_path_FGREP_found && break 3 | |
| 5891 done | |
| 5892 done | |
| 5893 done | |
| 5894 IFS=$as_save_IFS | |
| 5895 if test -z "$ac_cv_path_FGREP"; then | |
| 5896 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
| 5897 fi | |
| 5898 else | |
| 5899 ac_cv_path_FGREP=$FGREP | |
| 5900 fi | |
| 5901 | |
| 5902 fi | |
| 5903 fi | |
| 5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | |
| 5905 $as_echo "$ac_cv_path_FGREP" >&6; } | |
| 5906 FGREP="$ac_cv_path_FGREP" | |
| 5907 | |
| 5908 | |
| 5909 test -z "$GREP" && GREP=grep | |
| 5910 | |
| 5911 | |
| 5912 | |
| 5913 | |
| 5914 | |
| 5915 | |
| 5916 | |
| 5917 | |
| 5918 | |
| 5919 | |
| 5920 | |
| 5921 | |
| 5922 | |
| 5923 | |
| 5924 | |
| 5925 | |
| 5926 | |
| 5927 | |
| 5928 | |
| 5929 # Check whether --with-gnu-ld was given. | |
| 5930 if test "${with_gnu_ld+set}" = set; then : | |
| 5931 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |
| 5932 else | |
| 5933 with_gnu_ld=no | |
| 5934 fi | |
| 5935 | |
| 5936 ac_prog=ld | |
| 5937 if test "$GCC" = yes; then | |
| 5938 # Check if gcc -print-prog-name=ld gives a path. | |
| 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | |
| 5940 $as_echo_n "checking for ld used by $CC... " >&6; } | |
| 5941 case $host in | |
| 5942 *-*-mingw*) | |
| 5943 # gcc leaves a trailing carriage return which upsets mingw | |
| 5944 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
| 5945 *) | |
| 5946 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
| 5947 esac | |
| 5948 case $ac_prog in | |
| 5949 # Accept absolute paths. | |
| 5950 [\\/]* | ?:[\\/]*) | |
| 5951 re_direlt='/[^/][^/]*/\.\./' | |
| 5952 # Canonicalize the pathname of ld | |
| 5953 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | |
| 5954 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | |
| 5955 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | |
| 5956 done | |
| 5957 test -z "$LD" && LD="$ac_prog" | |
| 5958 ;; | |
| 5959 "") | |
| 5960 # If it fails, then pretend we aren't using GCC. | |
| 5961 ac_prog=ld | |
| 5962 ;; | |
| 5963 *) | |
| 5964 # If it is relative, then search for the first ld in PATH. | |
| 5965 with_gnu_ld=unknown | |
| 5966 ;; | |
| 5967 esac | |
| 5968 elif test "$with_gnu_ld" = yes; then | |
| 5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
| 5970 $as_echo_n "checking for GNU ld... " >&6; } | |
| 5971 else | |
| 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
| 5973 $as_echo_n "checking for non-GNU ld... " >&6; } | |
| 5974 fi | |
| 5975 if ${lt_cv_path_LD+:} false; then : | |
| 5976 $as_echo_n "(cached) " >&6 | |
| 5977 else | |
| 5978 if test -z "$LD"; then | |
| 5979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 5980 for ac_dir in $PATH; do | |
| 5981 IFS="$lt_save_ifs" | |
| 5982 test -z "$ac_dir" && ac_dir=. | |
| 5983 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| 5984 lt_cv_path_LD="$ac_dir/$ac_prog" | |
| 5985 # Check to see if the program is GNU ld. I'd rather use --version, | |
| 5986 # but apparently some variants of GNU ld only accept -v. | |
| 5987 # Break only if it was the GNU/non-GNU ld that we prefer. | |
| 5988 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
| 5989 *GNU* | *'with BFD'*) | |
| 5990 test "$with_gnu_ld" != no && break | |
| 5991 ;; | |
| 5992 *) | |
| 5993 test "$with_gnu_ld" != yes && break | |
| 5994 ;; | |
| 5995 esac | |
| 5996 fi | |
| 5997 done | |
| 5998 IFS="$lt_save_ifs" | |
| 5999 else | |
| 6000 lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
| 6001 fi | |
| 6002 fi | |
| 6003 | |
| 6004 LD="$lt_cv_path_LD" | |
| 6005 if test -n "$LD"; then | |
| 6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
| 6007 $as_echo "$LD" >&6; } | |
| 6008 else | |
| 6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6010 $as_echo "no" >&6; } | |
| 6011 fi | |
| 6012 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
| 6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 | |
| 6014 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
| 6015 if ${lt_cv_prog_gnu_ld+:} false; then : | |
| 6016 $as_echo_n "(cached) " >&6 | |
| 6017 else | |
| 6018 # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
| 6019 case `$LD -v 2>&1 </dev/null` in | |
| 6020 *GNU* | *'with BFD'*) | |
| 6021 lt_cv_prog_gnu_ld=yes | |
| 6022 ;; | |
| 6023 *) | |
| 6024 lt_cv_prog_gnu_ld=no | |
| 6025 ;; | |
| 6026 esac | |
| 6027 fi | |
| 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | |
| 6029 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | |
| 6030 with_gnu_ld=$lt_cv_prog_gnu_ld | |
| 6031 | |
| 6032 | |
| 6033 | |
| 6034 | |
| 6035 | |
| 6036 | |
| 6037 | |
| 6038 | |
| 6039 | |
| 6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name
lister (nm)" >&5 | |
| 6041 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | |
| 6042 if ${lt_cv_path_NM+:} false; then : | |
| 6043 $as_echo_n "(cached) " >&6 | |
| 6044 else | |
| 6045 if test -n "$NM"; then | |
| 6046 # Let the user override the test. | |
| 6047 lt_cv_path_NM="$NM" | |
| 6048 else | |
| 6049 lt_nm_to_check="${ac_tool_prefix}nm" | |
| 6050 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | |
| 6051 lt_nm_to_check="$lt_nm_to_check nm" | |
| 6052 fi | |
| 6053 for lt_tmp_nm in $lt_nm_to_check; do | |
| 6054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 6055 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | |
| 6056 IFS="$lt_save_ifs" | |
| 6057 test -z "$ac_dir" && ac_dir=. | |
| 6058 tmp_nm="$ac_dir/$lt_tmp_nm" | |
| 6059 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | |
| 6060 # Check to see if the nm accepts a BSD-compat flag. | |
| 6061 # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
| 6062 # nm: unknown option "B" ignored | |
| 6063 # Tru64's nm complains that /dev/null is an invalid object file | |
| 6064 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | |
| 6065 */dev/null* | *'Invalid file or object type'*) | |
| 6066 lt_cv_path_NM="$tmp_nm -B" | |
| 6067 break | |
| 6068 ;; | |
| 6069 *) | |
| 6070 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
| 6071 */dev/null*) | |
| 6072 lt_cv_path_NM="$tmp_nm -p" | |
| 6073 break | |
| 6074 ;; | |
| 6075 *) | |
| 6076 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
| 6077 continue # so that we can try to find one that supports BSD flags | |
| 6078 ;; | |
| 6079 esac | |
| 6080 ;; | |
| 6081 esac | |
| 6082 fi | |
| 6083 done | |
| 6084 IFS="$lt_save_ifs" | |
| 6085 done | |
| 6086 : ${lt_cv_path_NM=no} | |
| 6087 fi | |
| 6088 fi | |
| 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | |
| 6090 $as_echo "$lt_cv_path_NM" >&6; } | |
| 6091 if test "$lt_cv_path_NM" != "no"; then | |
| 6092 NM="$lt_cv_path_NM" | |
| 6093 else | |
| 6094 # Didn't find any BSD compatible name lister, look for dumpbin. | |
| 6095 if test -n "$DUMPBIN"; then : | |
| 6096 # Let the user override the test. | |
| 6097 else | |
| 6098 if test -n "$ac_tool_prefix"; then | |
| 6099 for ac_prog in dumpbin "link -dump" | |
| 6100 do | |
| 6101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 6102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6104 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6105 if ${ac_cv_prog_DUMPBIN+:} false; then : | |
| 6106 $as_echo_n "(cached) " >&6 | |
| 6107 else | |
| 6108 if test -n "$DUMPBIN"; then | |
| 6109 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | |
| 6110 else | |
| 6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6112 for as_dir in $PATH | |
| 6113 do | |
| 6114 IFS=$as_save_IFS | |
| 6115 test -z "$as_dir" && as_dir=. | |
| 6116 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6118 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | |
| 6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6120 break 2 | |
| 6121 fi | |
| 6122 done | |
| 6123 done | |
| 6124 IFS=$as_save_IFS | |
| 6125 | |
| 6126 fi | |
| 6127 fi | |
| 6128 DUMPBIN=$ac_cv_prog_DUMPBIN | |
| 6129 if test -n "$DUMPBIN"; then | |
| 6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | |
| 6131 $as_echo "$DUMPBIN" >&6; } | |
| 6132 else | |
| 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6134 $as_echo "no" >&6; } | |
| 6135 fi | |
| 6136 | |
| 6137 | |
| 6138 test -n "$DUMPBIN" && break | |
| 6139 done | |
| 6140 fi | |
| 6141 if test -z "$DUMPBIN"; then | |
| 6142 ac_ct_DUMPBIN=$DUMPBIN | |
| 6143 for ac_prog in dumpbin "link -dump" | |
| 6144 do | |
| 6145 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 6146 set dummy $ac_prog; ac_word=$2 | |
| 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6148 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6149 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : | |
| 6150 $as_echo_n "(cached) " >&6 | |
| 6151 else | |
| 6152 if test -n "$ac_ct_DUMPBIN"; then | |
| 6153 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | |
| 6154 else | |
| 6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6156 for as_dir in $PATH | |
| 6157 do | |
| 6158 IFS=$as_save_IFS | |
| 6159 test -z "$as_dir" && as_dir=. | |
| 6160 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6162 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | |
| 6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6164 break 2 | |
| 6165 fi | |
| 6166 done | |
| 6167 done | |
| 6168 IFS=$as_save_IFS | |
| 6169 | |
| 6170 fi | |
| 6171 fi | |
| 6172 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | |
| 6173 if test -n "$ac_ct_DUMPBIN"; then | |
| 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | |
| 6175 $as_echo "$ac_ct_DUMPBIN" >&6; } | |
| 6176 else | |
| 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6178 $as_echo "no" >&6; } | |
| 6179 fi | |
| 6180 | |
| 6181 | |
| 6182 test -n "$ac_ct_DUMPBIN" && break | |
| 6183 done | |
| 6184 | |
| 6185 if test "x$ac_ct_DUMPBIN" = x; then | |
| 6186 DUMPBIN=":" | |
| 6187 else | |
| 6188 case $cross_compiling:$ac_tool_warned in | |
| 6189 yes:) | |
| 6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 6192 ac_tool_warned=yes ;; | |
| 6193 esac | |
| 6194 DUMPBIN=$ac_ct_DUMPBIN | |
| 6195 fi | |
| 6196 fi | |
| 6197 | |
| 6198 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | |
| 6199 *COFF*) | |
| 6200 DUMPBIN="$DUMPBIN -symbols" | |
| 6201 ;; | |
| 6202 *) | |
| 6203 DUMPBIN=: | |
| 6204 ;; | |
| 6205 esac | |
| 6206 fi | |
| 6207 | |
| 6208 if test "$DUMPBIN" != ":"; then | |
| 6209 NM="$DUMPBIN" | |
| 6210 fi | |
| 6211 fi | |
| 6212 test -z "$NM" && NM=nm | |
| 6213 | |
| 6214 | |
| 6215 | |
| 6216 | |
| 6217 | |
| 6218 | |
| 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 | |
| 6220 $as_echo_n "checking the name lister ($NM) interface... " >&6; } | |
| 6221 if ${lt_cv_nm_interface+:} false; then : | |
| 6222 $as_echo_n "(cached) " >&6 | |
| 6223 else | |
| 6224 lt_cv_nm_interface="BSD nm" | |
| 6225 echo "int some_variable = 0;" > conftest.$ac_ext | |
| 6226 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | |
| 6227 (eval "$ac_compile" 2>conftest.err) | |
| 6228 cat conftest.err >&5 | |
| 6229 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
| 6230 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | |
| 6231 cat conftest.err >&5 | |
| 6232 (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
| 6233 cat conftest.out >&5 | |
| 6234 if $GREP 'External.*some_variable' conftest.out > /dev/null; then | |
| 6235 lt_cv_nm_interface="MS dumpbin" | |
| 6236 fi | |
| 6237 rm -f conftest* | |
| 6238 fi | |
| 6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | |
| 6240 $as_echo "$lt_cv_nm_interface" >&6; } | |
| 6241 | |
| 6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
| 6243 $as_echo_n "checking whether ln -s works... " >&6; } | |
| 6244 LN_S=$as_ln_s | |
| 6245 if test "$LN_S" = "ln -s"; then | |
| 6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 6247 $as_echo "yes" >&6; } | |
| 6248 else | |
| 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | |
| 6250 $as_echo "no, using $LN_S" >&6; } | |
| 6251 fi | |
| 6252 | |
| 6253 # find the maximum length of command line arguments | |
| 6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command
line arguments" >&5 | |
| 6255 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | |
| 6256 if ${lt_cv_sys_max_cmd_len+:} false; then : | |
| 6257 $as_echo_n "(cached) " >&6 | |
| 6258 else | |
| 6259 i=0 | |
| 6260 teststring="ABCD" | |
| 6261 | |
| 6262 case $build_os in | |
| 6263 msdosdjgpp*) | |
| 6264 # On DJGPP, this test can blow up pretty badly due to problems in libc | |
| 6265 # (any single argument exceeding 2000 bytes causes a buffer overrun | |
| 6266 # during glob expansion). Even if it were fixed, the result of this | |
| 6267 # check would be larger than it should be. | |
| 6268 lt_cv_sys_max_cmd_len=12288; # 12K is about right | |
| 6269 ;; | |
| 6270 | |
| 6271 gnu*) | |
| 6272 # Under GNU Hurd, this test is not required because there is | |
| 6273 # no limit to the length of command line arguments. | |
| 6274 # Libtool will interpret -1 as no limit whatsoever | |
| 6275 lt_cv_sys_max_cmd_len=-1; | |
| 6276 ;; | |
| 6277 | |
| 6278 cygwin* | mingw* | cegcc*) | |
| 6279 # On Win9x/ME, this test blows up -- it succeeds, but takes | |
| 6280 # about 5 minutes as the teststring grows exponentially. | |
| 6281 # Worse, since 9x/ME are not pre-emptively multitasking, | |
| 6282 # you end up with a "frozen" computer, even though with patience | |
| 6283 # the test eventually succeeds (with a max line length of 256k). | |
| 6284 # Instead, let's just punt: use the minimum linelength reported by | |
| 6285 # all of the supported platforms: 8192 (on NT/2K/XP). | |
| 6286 lt_cv_sys_max_cmd_len=8192; | |
| 6287 ;; | |
| 6288 | |
| 6289 mint*) | |
| 6290 # On MiNT this can take a long time and run out of memory. | |
| 6291 lt_cv_sys_max_cmd_len=8192; | |
| 6292 ;; | |
| 6293 | |
| 6294 amigaos*) | |
| 6295 # On AmigaOS with pdksh, this test takes hours, literally. | |
| 6296 # So we just punt and use a minimum line length of 8192. | |
| 6297 lt_cv_sys_max_cmd_len=8192; | |
| 6298 ;; | |
| 6299 | |
| 6300 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | |
| 6301 # This has been around since 386BSD, at least. Likely further. | |
| 6302 if test -x /sbin/sysctl; then | |
| 6303 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |
| 6304 elif test -x /usr/sbin/sysctl; then | |
| 6305 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | |
| 6306 else | |
| 6307 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | |
| 6308 fi | |
| 6309 # And add a safety zone | |
| 6310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 6311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 6312 ;; | |
| 6313 | |
| 6314 interix*) | |
| 6315 # We know the value 262144 and hardcode it with a safety zone (like BSD) | |
| 6316 lt_cv_sys_max_cmd_len=196608 | |
| 6317 ;; | |
| 6318 | |
| 6319 os2*) | |
| 6320 # The test takes a long time on OS/2. | |
| 6321 lt_cv_sys_max_cmd_len=8192 | |
| 6322 ;; | |
| 6323 | |
| 6324 osf*) | |
| 6325 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | |
| 6326 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | |
| 6327 # nice to cause kernel panics so lets avoid the loop below. | |
| 6328 # First set a reasonable default. | |
| 6329 lt_cv_sys_max_cmd_len=16384 | |
| 6330 # | |
| 6331 if test -x /sbin/sysconfig; then | |
| 6332 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | |
| 6333 *1*) lt_cv_sys_max_cmd_len=-1 ;; | |
| 6334 esac | |
| 6335 fi | |
| 6336 ;; | |
| 6337 sco3.2v5*) | |
| 6338 lt_cv_sys_max_cmd_len=102400 | |
| 6339 ;; | |
| 6340 sysv5* | sco5v6* | sysv4.2uw2*) | |
| 6341 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | |
| 6342 if test -n "$kargmax"; then | |
| 6343 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | |
| 6344 else | |
| 6345 lt_cv_sys_max_cmd_len=32768 | |
| 6346 fi | |
| 6347 ;; | |
| 6348 *) | |
| 6349 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | |
| 6350 if test -n "$lt_cv_sys_max_cmd_len" && \ | |
| 6351 test undefined != "$lt_cv_sys_max_cmd_len"; then | |
| 6352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 6353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 6354 else | |
| 6355 # Make teststring a little bigger before we do anything with it. | |
| 6356 # a 1K string should be a reasonable start. | |
| 6357 for i in 1 2 3 4 5 6 7 8 ; do | |
| 6358 teststring=$teststring$teststring | |
| 6359 done | |
| 6360 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | |
| 6361 # If test is not a shell built-in, we'll probably end up computing a | |
| 6362 # maximum length that is only half of the actual maximum length, but | |
| 6363 # we can't tell. | |
| 6364 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | |
| 6365 = "X$teststring$teststring"; } >/dev/null 2>&1 && | |
| 6366 test $i != 17 # 1/2 MB should be enough | |
| 6367 do | |
| 6368 i=`expr $i + 1` | |
| 6369 teststring=$teststring$teststring | |
| 6370 done | |
| 6371 # Only check the string length outside the loop. | |
| 6372 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | |
| 6373 teststring= | |
| 6374 # Add a significant safety factor because C++ compilers can tack on | |
| 6375 # massive amounts of additional arguments before passing them to the | |
| 6376 # linker. It appears as though 1/2 is a usable value. | |
| 6377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | |
| 6378 fi | |
| 6379 ;; | |
| 6380 esac | |
| 6381 | |
| 6382 fi | |
| 6383 | |
| 6384 if test -n $lt_cv_sys_max_cmd_len ; then | |
| 6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | |
| 6386 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | |
| 6387 else | |
| 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | |
| 6389 $as_echo "none" >&6; } | |
| 6390 fi | |
| 6391 max_cmd_len=$lt_cv_sys_max_cmd_len | |
| 6392 | |
| 6393 | |
| 6394 | |
| 6395 | |
| 6396 | |
| 6397 | |
| 6398 : ${CP="cp -f"} | |
| 6399 : ${MV="mv -f"} | |
| 6400 : ${RM="rm -f"} | |
| 6401 | |
| 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
some XSI constructs" >&5 | |
| 6403 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
} | |
| 6404 # Try some XSI features | |
| 6405 xsi_shell=no | |
| 6406 ( _lt_dummy="a/b/c" | |
| 6407 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy
"}, \ | |
| 6408 = c,a/b,b/c, \ | |
| 6409 && eval 'test $(( 1 + 1 )) -eq 2 \ | |
| 6410 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | |
| 6411 && xsi_shell=yes | |
| 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 | |
| 6413 $as_echo "$xsi_shell" >&6; } | |
| 6414 | |
| 6415 | |
| 6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5 | |
| 6417 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } | |
| 6418 lt_shell_append=no | |
| 6419 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ | |
| 6420 >/dev/null 2>&1 \ | |
| 6421 && lt_shell_append=yes | |
| 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 | |
| 6423 $as_echo "$lt_shell_append" >&6; } | |
| 6424 | |
| 6425 | |
| 6426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 6427 lt_unset=unset | |
| 6428 else | |
| 6429 lt_unset=false | |
| 6430 fi | |
| 6431 | |
| 6432 | |
| 6433 | |
| 6434 | |
| 6435 | |
| 6436 # test EBCDIC or ASCII | |
| 6437 case `echo X|tr X '\101'` in | |
| 6438 A) # ASCII based system | |
| 6439 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | |
| 6440 lt_SP2NL='tr \040 \012' | |
| 6441 lt_NL2SP='tr \015\012 \040\040' | |
| 6442 ;; | |
| 6443 *) # EBCDIC based system | |
| 6444 lt_SP2NL='tr \100 \n' | |
| 6445 lt_NL2SP='tr \r\n \100\100' | |
| 6446 ;; | |
| 6447 esac | |
| 6448 | |
| 6449 | |
| 6450 | |
| 6451 | |
| 6452 | |
| 6453 | |
| 6454 | |
| 6455 | |
| 6456 | |
| 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to $host format" >&5 | |
| 6458 $as_echo_n "checking how to convert $build file names to $host format... " >&6;
} | |
| 6459 if ${lt_cv_to_host_file_cmd+:} false; then : | |
| 6460 $as_echo_n "(cached) " >&6 | |
| 6461 else | |
| 6462 case $host in | |
| 6463 *-*-mingw* ) | |
| 6464 case $build in | |
| 6465 *-*-mingw* ) # actually msys | |
| 6466 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 | |
| 6467 ;; | |
| 6468 *-*-cygwin* ) | |
| 6469 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 | |
| 6470 ;; | |
| 6471 * ) # otherwise, assume *nix | |
| 6472 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 | |
| 6473 ;; | |
| 6474 esac | |
| 6475 ;; | |
| 6476 *-*-cygwin* ) | |
| 6477 case $build in | |
| 6478 *-*-mingw* ) # actually msys | |
| 6479 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin | |
| 6480 ;; | |
| 6481 *-*-cygwin* ) | |
| 6482 lt_cv_to_host_file_cmd=func_convert_file_noop | |
| 6483 ;; | |
| 6484 * ) # otherwise, assume *nix | |
| 6485 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin | |
| 6486 ;; | |
| 6487 esac | |
| 6488 ;; | |
| 6489 * ) # unhandled hosts (and "normal" native builds) | |
| 6490 lt_cv_to_host_file_cmd=func_convert_file_noop | |
| 6491 ;; | |
| 6492 esac | |
| 6493 | |
| 6494 fi | |
| 6495 | |
| 6496 to_host_file_cmd=$lt_cv_to_host_file_cmd | |
| 6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 | |
| 6498 $as_echo "$lt_cv_to_host_file_cmd" >&6; } | |
| 6499 | |
| 6500 | |
| 6501 | |
| 6502 | |
| 6503 | |
| 6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to toolchain format" >&5 | |
| 6505 $as_echo_n "checking how to convert $build file names to toolchain format... " >
&6; } | |
| 6506 if ${lt_cv_to_tool_file_cmd+:} false; then : | |
| 6507 $as_echo_n "(cached) " >&6 | |
| 6508 else | |
| 6509 #assume ordinary cross tools, or native build. | |
| 6510 lt_cv_to_tool_file_cmd=func_convert_file_noop | |
| 6511 case $host in | |
| 6512 *-*-mingw* ) | |
| 6513 case $build in | |
| 6514 *-*-mingw* ) # actually msys | |
| 6515 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 | |
| 6516 ;; | |
| 6517 esac | |
| 6518 ;; | |
| 6519 esac | |
| 6520 | |
| 6521 fi | |
| 6522 | |
| 6523 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | |
| 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 | |
| 6525 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } | |
| 6526 | |
| 6527 | |
| 6528 | |
| 6529 | |
| 6530 | |
| 6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload objec
t files" >&5 | |
| 6532 $as_echo_n "checking for $LD option to reload object files... " >&6; } | |
| 6533 if ${lt_cv_ld_reload_flag+:} false; then : | |
| 6534 $as_echo_n "(cached) " >&6 | |
| 6535 else | |
| 6536 lt_cv_ld_reload_flag='-r' | |
| 6537 fi | |
| 6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | |
| 6539 $as_echo "$lt_cv_ld_reload_flag" >&6; } | |
| 6540 reload_flag=$lt_cv_ld_reload_flag | |
| 6541 case $reload_flag in | |
| 6542 "" | " "*) ;; | |
| 6543 *) reload_flag=" $reload_flag" ;; | |
| 6544 esac | |
| 6545 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 6546 case $host_os in | |
| 6547 cygwin* | mingw* | pw32* | cegcc*) | |
| 6548 if test "$GCC" != yes; then | |
| 6549 reload_cmds=false | |
| 6550 fi | |
| 6551 ;; | |
| 6552 darwin*) | |
| 6553 if test "$GCC" = yes; then | |
| 6554 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | |
| 6555 else | |
| 6556 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 6557 fi | |
| 6558 ;; | |
| 6559 esac | |
| 6560 | |
| 6561 | |
| 6562 | |
| 6563 | |
| 6564 | |
| 6565 | |
| 6566 | |
| 6567 | |
| 6568 | |
| 6569 if test -n "$ac_tool_prefix"; then | |
| 6570 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. | |
| 6571 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| 6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6573 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6574 if ${ac_cv_prog_OBJDUMP+:} false; then : | |
| 6575 $as_echo_n "(cached) " >&6 | |
| 6576 else | |
| 6577 if test -n "$OBJDUMP"; then | |
| 6578 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| 6579 else | |
| 6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6581 for as_dir in $PATH | |
| 6582 do | |
| 6583 IFS=$as_save_IFS | |
| 6584 test -z "$as_dir" && as_dir=. | |
| 6585 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6587 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| 6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6589 break 2 | |
| 6590 fi | |
| 6591 done | |
| 6592 done | |
| 6593 IFS=$as_save_IFS | |
| 6594 | |
| 6595 fi | |
| 6596 fi | |
| 6597 OBJDUMP=$ac_cv_prog_OBJDUMP | |
| 6598 if test -n "$OBJDUMP"; then | |
| 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
| 6600 $as_echo "$OBJDUMP" >&6; } | |
| 6601 else | |
| 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6603 $as_echo "no" >&6; } | |
| 6604 fi | |
| 6605 | |
| 6606 | |
| 6607 fi | |
| 6608 if test -z "$ac_cv_prog_OBJDUMP"; then | |
| 6609 ac_ct_OBJDUMP=$OBJDUMP | |
| 6610 # Extract the first word of "objdump", so it can be a program name with args. | |
| 6611 set dummy objdump; ac_word=$2 | |
| 6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6613 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6614 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | |
| 6615 $as_echo_n "(cached) " >&6 | |
| 6616 else | |
| 6617 if test -n "$ac_ct_OBJDUMP"; then | |
| 6618 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
| 6619 else | |
| 6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6621 for as_dir in $PATH | |
| 6622 do | |
| 6623 IFS=$as_save_IFS | |
| 6624 test -z "$as_dir" && as_dir=. | |
| 6625 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6627 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
| 6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6629 break 2 | |
| 6630 fi | |
| 6631 done | |
| 6632 done | |
| 6633 IFS=$as_save_IFS | |
| 6634 | |
| 6635 fi | |
| 6636 fi | |
| 6637 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
| 6638 if test -n "$ac_ct_OBJDUMP"; then | |
| 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
| 6640 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
| 6641 else | |
| 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6643 $as_echo "no" >&6; } | |
| 6644 fi | |
| 6645 | |
| 6646 if test "x$ac_ct_OBJDUMP" = x; then | |
| 6647 OBJDUMP="false" | |
| 6648 else | |
| 6649 case $cross_compiling:$ac_tool_warned in | |
| 6650 yes:) | |
| 6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 6653 ac_tool_warned=yes ;; | |
| 6654 esac | |
| 6655 OBJDUMP=$ac_ct_OBJDUMP | |
| 6656 fi | |
| 6657 else | |
| 6658 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| 6659 fi | |
| 6660 | |
| 6661 test -z "$OBJDUMP" && OBJDUMP=objdump | |
| 6662 | |
| 6663 | |
| 6664 | |
| 6665 | |
| 6666 | |
| 6667 | |
| 6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent lib
raries" >&5 | |
| 6669 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | |
| 6670 if ${lt_cv_deplibs_check_method+:} false; then : | |
| 6671 $as_echo_n "(cached) " >&6 | |
| 6672 else | |
| 6673 lt_cv_file_magic_cmd='$MAGIC_CMD' | |
| 6674 lt_cv_file_magic_test_file= | |
| 6675 lt_cv_deplibs_check_method='unknown' | |
| 6676 # Need to set the preceding variable on all platforms that support | |
| 6677 # interlibrary dependencies. | |
| 6678 # 'none' -- dependencies not supported. | |
| 6679 # `unknown' -- same as none, but documents that we really don't know. | |
| 6680 # 'pass_all' -- all dependencies passed with no checks. | |
| 6681 # 'test_compile' -- check by making test program. | |
| 6682 # 'file_magic [[regex]]' -- check by looking for files in library path | |
| 6683 # which responds to the $file_magic_cmd with a given extended regex. | |
| 6684 # If you have `file' or equivalent on your system and you're not sure | |
| 6685 # whether `pass_all' will *always* work, you probably want this one. | |
| 6686 | |
| 6687 case $host_os in | |
| 6688 aix[4-9]*) | |
| 6689 lt_cv_deplibs_check_method=pass_all | |
| 6690 ;; | |
| 6691 | |
| 6692 beos*) | |
| 6693 lt_cv_deplibs_check_method=pass_all | |
| 6694 ;; | |
| 6695 | |
| 6696 bsdi[45]*) | |
| 6697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje
ct|dynamic lib)' | |
| 6698 lt_cv_file_magic_cmd='/usr/bin/file -L' | |
| 6699 lt_cv_file_magic_test_file=/shlib/libc.so | |
| 6700 ;; | |
| 6701 | |
| 6702 cygwin*) | |
| 6703 # func_win32_libid is a shell function defined in ltmain.sh | |
| 6704 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 6705 lt_cv_file_magic_cmd='func_win32_libid' | |
| 6706 ;; | |
| 6707 | |
| 6708 mingw* | pw32*) | |
| 6709 # Base MSYS/MinGW do not provide the 'file' command needed by | |
| 6710 # func_win32_libid shell function, so use a weaker test based on 'objdump', | |
| 6711 # unless we find 'file', for example because we are cross-compiling. | |
| 6712 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | |
| 6713 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | |
| 6714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 6715 lt_cv_file_magic_cmd='func_win32_libid' | |
| 6716 else | |
| 6717 # Keep this pattern in sync with the one in func_win32_libid. | |
| 6718 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' | |
| 6719 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 6720 fi | |
| 6721 ;; | |
| 6722 | |
| 6723 cegcc*) | |
| 6724 # use the weaker test based on 'objdump'. See mingw*. | |
| 6725 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architect
ure: arm)?' | |
| 6726 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 6727 ;; | |
| 6728 | |
| 6729 darwin* | rhapsody*) | |
| 6730 lt_cv_deplibs_check_method=pass_all | |
| 6731 ;; | |
| 6732 | |
| 6733 freebsd* | dragonfly*) | |
| 6734 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 6735 case $host_cpu in | |
| 6736 i*86 ) | |
| 6737 # Not sure whether the presence of OpenBSD here was a mistake. | |
| 6738 # Let's accept both of them until this is cleared up. | |
| 6739 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8
6 (compact )?demand paged shared library' | |
| 6740 lt_cv_file_magic_cmd=/usr/bin/file | |
| 6741 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
| 6742 ;; | |
| 6743 esac | |
| 6744 else | |
| 6745 lt_cv_deplibs_check_method=pass_all | |
| 6746 fi | |
| 6747 ;; | |
| 6748 | |
| 6749 haiku*) | |
| 6750 lt_cv_deplibs_check_method=pass_all | |
| 6751 ;; | |
| 6752 | |
| 6753 hpux10.20* | hpux11*) | |
| 6754 lt_cv_file_magic_cmd=/usr/bin/file | |
| 6755 case $host_cpu in | |
| 6756 ia64*) | |
| 6757 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha
red object file - IA64' | |
| 6758 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
| 6759 ;; | |
| 6760 hppa*64*) | |
| 6761 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]' | |
| 6762 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
| 6763 ;; | |
| 6764 *) | |
| 6765 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]
) shared library' | |
| 6766 lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
| 6767 ;; | |
| 6768 esac | |
| 6769 ;; | |
| 6770 | |
| 6771 interix[3-9]*) | |
| 6772 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | |
| 6773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | |
| 6774 ;; | |
| 6775 | |
| 6776 irix5* | irix6* | nonstopux*) | |
| 6777 case $LD in | |
| 6778 *-32|*"-32 ") libmagic=32-bit;; | |
| 6779 *-n32|*"-n32 ") libmagic=N32;; | |
| 6780 *-64|*"-64 ") libmagic=64-bit;; | |
| 6781 *) libmagic=never-match;; | |
| 6782 esac | |
| 6783 lt_cv_deplibs_check_method=pass_all | |
| 6784 ;; | |
| 6785 | |
| 6786 # This must be glibc/ELF. | |
| 6787 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |
| 6788 lt_cv_deplibs_check_method=pass_all | |
| 6789 ;; | |
| 6790 | |
| 6791 netbsd* | netbsdelf*-gnu) | |
| 6792 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 6793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | |
| 6794 else | |
| 6795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
| 6796 fi | |
| 6797 ;; | |
| 6798 | |
| 6799 newos6*) | |
| 6800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|
dynamic lib)' | |
| 6801 lt_cv_file_magic_cmd=/usr/bin/file | |
| 6802 lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
| 6803 ;; | |
| 6804 | |
| 6805 *nto* | *qnx*) | |
| 6806 lt_cv_deplibs_check_method=pass_all | |
| 6807 ;; | |
| 6808 | |
| 6809 openbsd*) | |
| 6810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | |
| 6811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' | |
| 6812 else | |
| 6813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | |
| 6814 fi | |
| 6815 ;; | |
| 6816 | |
| 6817 osf3* | osf4* | osf5*) | |
| 6818 lt_cv_deplibs_check_method=pass_all | |
| 6819 ;; | |
| 6820 | |
| 6821 rdos*) | |
| 6822 lt_cv_deplibs_check_method=pass_all | |
| 6823 ;; | |
| 6824 | |
| 6825 solaris*) | |
| 6826 lt_cv_deplibs_check_method=pass_all | |
| 6827 ;; | |
| 6828 | |
| 6829 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 6830 lt_cv_deplibs_check_method=pass_all | |
| 6831 ;; | |
| 6832 | |
| 6833 sysv4 | sysv4.3*) | |
| 6834 case $host_vendor in | |
| 6835 motorola) | |
| 6836 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]' | |
| 6837 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
| 6838 ;; | |
| 6839 ncr) | |
| 6840 lt_cv_deplibs_check_method=pass_all | |
| 6841 ;; | |
| 6842 sequent) | |
| 6843 lt_cv_file_magic_cmd='/bin/file' | |
| 6844 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared ob
ject|dynamic lib )' | |
| 6845 ;; | |
| 6846 sni) | |
| 6847 lt_cv_file_magic_cmd='/bin/file' | |
| 6848 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic li
b" | |
| 6849 lt_cv_file_magic_test_file=/lib/libc.so | |
| 6850 ;; | |
| 6851 siemens) | |
| 6852 lt_cv_deplibs_check_method=pass_all | |
| 6853 ;; | |
| 6854 pc) | |
| 6855 lt_cv_deplibs_check_method=pass_all | |
| 6856 ;; | |
| 6857 esac | |
| 6858 ;; | |
| 6859 | |
| 6860 tpf*) | |
| 6861 lt_cv_deplibs_check_method=pass_all | |
| 6862 ;; | |
| 6863 esac | |
| 6864 | |
| 6865 fi | |
| 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 | |
| 6867 $as_echo "$lt_cv_deplibs_check_method" >&6; } | |
| 6868 | |
| 6869 file_magic_glob= | |
| 6870 want_nocaseglob=no | |
| 6871 if test "$build" = "$host"; then | |
| 6872 case $host_os in | |
| 6873 mingw* | pw32*) | |
| 6874 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | |
| 6875 want_nocaseglob=yes | |
| 6876 else | |
| 6877 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
| $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` | |
| 6878 fi | |
| 6879 ;; | |
| 6880 esac | |
| 6881 fi | |
| 6882 | |
| 6883 file_magic_cmd=$lt_cv_file_magic_cmd | |
| 6884 deplibs_check_method=$lt_cv_deplibs_check_method | |
| 6885 test -z "$deplibs_check_method" && deplibs_check_method=unknown | |
| 6886 | |
| 6887 | |
| 6888 | |
| 6889 | |
| 6890 | |
| 6891 | |
| 6892 | |
| 6893 | |
| 6894 | |
| 6895 | |
| 6896 | |
| 6897 | |
| 6898 | |
| 6899 | |
| 6900 | |
| 6901 | |
| 6902 | |
| 6903 | |
| 6904 | |
| 6905 | |
| 6906 | |
| 6907 | |
| 6908 if test -n "$ac_tool_prefix"; then | |
| 6909 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program
name with args. | |
| 6910 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6912 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6913 if ${ac_cv_prog_DLLTOOL+:} false; then : | |
| 6914 $as_echo_n "(cached) " >&6 | |
| 6915 else | |
| 6916 if test -n "$DLLTOOL"; then | |
| 6917 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| 6918 else | |
| 6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6920 for as_dir in $PATH | |
| 6921 do | |
| 6922 IFS=$as_save_IFS | |
| 6923 test -z "$as_dir" && as_dir=. | |
| 6924 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6926 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| 6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6928 break 2 | |
| 6929 fi | |
| 6930 done | |
| 6931 done | |
| 6932 IFS=$as_save_IFS | |
| 6933 | |
| 6934 fi | |
| 6935 fi | |
| 6936 DLLTOOL=$ac_cv_prog_DLLTOOL | |
| 6937 if test -n "$DLLTOOL"; then | |
| 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | |
| 6939 $as_echo "$DLLTOOL" >&6; } | |
| 6940 else | |
| 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6942 $as_echo "no" >&6; } | |
| 6943 fi | |
| 6944 | |
| 6945 | |
| 6946 fi | |
| 6947 if test -z "$ac_cv_prog_DLLTOOL"; then | |
| 6948 ac_ct_DLLTOOL=$DLLTOOL | |
| 6949 # Extract the first word of "dlltool", so it can be a program name with args. | |
| 6950 set dummy dlltool; ac_word=$2 | |
| 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6952 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6953 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | |
| 6954 $as_echo_n "(cached) " >&6 | |
| 6955 else | |
| 6956 if test -n "$ac_ct_DLLTOOL"; then | |
| 6957 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
| 6958 else | |
| 6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6960 for as_dir in $PATH | |
| 6961 do | |
| 6962 IFS=$as_save_IFS | |
| 6963 test -z "$as_dir" && as_dir=. | |
| 6964 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 6966 ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
| 6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 6968 break 2 | |
| 6969 fi | |
| 6970 done | |
| 6971 done | |
| 6972 IFS=$as_save_IFS | |
| 6973 | |
| 6974 fi | |
| 6975 fi | |
| 6976 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
| 6977 if test -n "$ac_ct_DLLTOOL"; then | |
| 6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | |
| 6979 $as_echo "$ac_ct_DLLTOOL" >&6; } | |
| 6980 else | |
| 6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6982 $as_echo "no" >&6; } | |
| 6983 fi | |
| 6984 | |
| 6985 if test "x$ac_ct_DLLTOOL" = x; then | |
| 6986 DLLTOOL="false" | |
| 6987 else | |
| 6988 case $cross_compiling:$ac_tool_warned in | |
| 6989 yes:) | |
| 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 6992 ac_tool_warned=yes ;; | |
| 6993 esac | |
| 6994 DLLTOOL=$ac_ct_DLLTOOL | |
| 6995 fi | |
| 6996 else | |
| 6997 DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| 6998 fi | |
| 6999 | |
| 7000 test -z "$DLLTOOL" && DLLTOOL=dlltool | |
| 7001 | |
| 7002 | |
| 7003 | |
| 7004 | |
| 7005 | |
| 7006 | |
| 7007 | |
| 7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l
ink libraries" >&5 | |
| 7009 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } | |
| 7010 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | |
| 7011 $as_echo_n "(cached) " >&6 | |
| 7012 else | |
| 7013 lt_cv_sharedlib_from_linklib_cmd='unknown' | |
| 7014 | |
| 7015 case $host_os in | |
| 7016 cygwin* | mingw* | pw32* | cegcc*) | |
| 7017 # two different shell functions defined in ltmain.sh | |
| 7018 # decide which to use based on capabilities of $DLLTOOL | |
| 7019 case `$DLLTOOL --help 2>&1` in | |
| 7020 *--identify-strict*) | |
| 7021 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | |
| 7022 ;; | |
| 7023 *) | |
| 7024 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | |
| 7025 ;; | |
| 7026 esac | |
| 7027 ;; | |
| 7028 *) | |
| 7029 # fallback: assume linklib IS sharedlib | |
| 7030 lt_cv_sharedlib_from_linklib_cmd="$ECHO" | |
| 7031 ;; | |
| 7032 esac | |
| 7033 | |
| 7034 fi | |
| 7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c
md" >&5 | |
| 7036 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } | |
| 7037 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | |
| 7038 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | |
| 7039 | |
| 7040 | |
| 7041 | |
| 7042 | |
| 7043 | |
| 7044 | |
| 7045 | |
| 7046 if test -n "$ac_tool_prefix"; then | |
| 7047 for ac_prog in ar | |
| 7048 do | |
| 7049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
| 7050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7052 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7053 if ${ac_cv_prog_AR+:} false; then : | |
| 7054 $as_echo_n "(cached) " >&6 | |
| 7055 else | |
| 7056 if test -n "$AR"; then | |
| 7057 ac_cv_prog_AR="$AR" # Let the user override the test. | |
| 7058 else | |
| 7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7060 for as_dir in $PATH | |
| 7061 do | |
| 7062 IFS=$as_save_IFS | |
| 7063 test -z "$as_dir" && as_dir=. | |
| 7064 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7066 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | |
| 7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7068 break 2 | |
| 7069 fi | |
| 7070 done | |
| 7071 done | |
| 7072 IFS=$as_save_IFS | |
| 7073 | |
| 7074 fi | |
| 7075 fi | |
| 7076 AR=$ac_cv_prog_AR | |
| 7077 if test -n "$AR"; then | |
| 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | |
| 7079 $as_echo "$AR" >&6; } | |
| 7080 else | |
| 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7082 $as_echo "no" >&6; } | |
| 7083 fi | |
| 7084 | |
| 7085 | |
| 7086 test -n "$AR" && break | |
| 7087 done | |
| 7088 fi | |
| 7089 if test -z "$AR"; then | |
| 7090 ac_ct_AR=$AR | |
| 7091 for ac_prog in ar | |
| 7092 do | |
| 7093 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 7094 set dummy $ac_prog; ac_word=$2 | |
| 7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7096 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7097 if ${ac_cv_prog_ac_ct_AR+:} false; then : | |
| 7098 $as_echo_n "(cached) " >&6 | |
| 7099 else | |
| 7100 if test -n "$ac_ct_AR"; then | |
| 7101 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
| 7102 else | |
| 7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7104 for as_dir in $PATH | |
| 7105 do | |
| 7106 IFS=$as_save_IFS | |
| 7107 test -z "$as_dir" && as_dir=. | |
| 7108 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7110 ac_cv_prog_ac_ct_AR="$ac_prog" | |
| 7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7112 break 2 | |
| 7113 fi | |
| 7114 done | |
| 7115 done | |
| 7116 IFS=$as_save_IFS | |
| 7117 | |
| 7118 fi | |
| 7119 fi | |
| 7120 ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
| 7121 if test -n "$ac_ct_AR"; then | |
| 7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | |
| 7123 $as_echo "$ac_ct_AR" >&6; } | |
| 7124 else | |
| 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7126 $as_echo "no" >&6; } | |
| 7127 fi | |
| 7128 | |
| 7129 | |
| 7130 test -n "$ac_ct_AR" && break | |
| 7131 done | |
| 7132 | |
| 7133 if test "x$ac_ct_AR" = x; then | |
| 7134 AR="false" | |
| 7135 else | |
| 7136 case $cross_compiling:$ac_tool_warned in | |
| 7137 yes:) | |
| 7138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 7139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 7140 ac_tool_warned=yes ;; | |
| 7141 esac | |
| 7142 AR=$ac_ct_AR | |
| 7143 fi | |
| 7144 fi | |
| 7145 | |
| 7146 : ${AR=ar} | |
| 7147 : ${AR_FLAGS=cru} | |
| 7148 | |
| 7149 | |
| 7150 | |
| 7151 | |
| 7152 | |
| 7153 | |
| 7154 | |
| 7155 | |
| 7156 | |
| 7157 | |
| 7158 | |
| 7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&
5 | |
| 7160 $as_echo_n "checking for archiver @FILE support... " >&6; } | |
| 7161 if ${lt_cv_ar_at_file+:} false; then : | |
| 7162 $as_echo_n "(cached) " >&6 | |
| 7163 else | |
| 7164 lt_cv_ar_at_file=no | |
| 7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7166 /* end confdefs.h. */ | |
| 7167 | |
| 7168 int | |
| 7169 main () | |
| 7170 { | |
| 7171 | |
| 7172 ; | |
| 7173 return 0; | |
| 7174 } | |
| 7175 _ACEOF | |
| 7176 if ac_fn_c_try_compile "$LINENO"; then : | |
| 7177 echo conftest.$ac_objext > conftest.lst | |
| 7178 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | |
| 7179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
| 7180 (eval $lt_ar_try) 2>&5 | |
| 7181 ac_status=$? | |
| 7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7183 test $ac_status = 0; } | |
| 7184 if test "$ac_status" -eq 0; then | |
| 7185 # Ensure the archiver fails upon bogus file names. | |
| 7186 rm -f conftest.$ac_objext libconftest.a | |
| 7187 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
| 7188 (eval $lt_ar_try) 2>&5 | |
| 7189 ac_status=$? | |
| 7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7191 test $ac_status = 0; } | |
| 7192 if test "$ac_status" -ne 0; then | |
| 7193 lt_cv_ar_at_file=@ | |
| 7194 fi | |
| 7195 fi | |
| 7196 rm -f conftest.* libconftest.a | |
| 7197 | |
| 7198 fi | |
| 7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7200 | |
| 7201 fi | |
| 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | |
| 7203 $as_echo "$lt_cv_ar_at_file" >&6; } | |
| 7204 | |
| 7205 if test "x$lt_cv_ar_at_file" = xno; then | |
| 7206 archiver_list_spec= | |
| 7207 else | |
| 7208 archiver_list_spec=$lt_cv_ar_at_file | |
| 7209 fi | |
| 7210 | |
| 7211 | |
| 7212 | |
| 7213 | |
| 7214 | |
| 7215 | |
| 7216 | |
| 7217 if test -n "$ac_tool_prefix"; then | |
| 7218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
| 7219 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7221 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7222 if ${ac_cv_prog_STRIP+:} false; then : | |
| 7223 $as_echo_n "(cached) " >&6 | |
| 7224 else | |
| 7225 if test -n "$STRIP"; then | |
| 7226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 7227 else | |
| 7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7229 for as_dir in $PATH | |
| 7230 do | |
| 7231 IFS=$as_save_IFS | |
| 7232 test -z "$as_dir" && as_dir=. | |
| 7233 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7235 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7237 break 2 | |
| 7238 fi | |
| 7239 done | |
| 7240 done | |
| 7241 IFS=$as_save_IFS | |
| 7242 | |
| 7243 fi | |
| 7244 fi | |
| 7245 STRIP=$ac_cv_prog_STRIP | |
| 7246 if test -n "$STRIP"; then | |
| 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 7248 $as_echo "$STRIP" >&6; } | |
| 7249 else | |
| 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7251 $as_echo "no" >&6; } | |
| 7252 fi | |
| 7253 | |
| 7254 | |
| 7255 fi | |
| 7256 if test -z "$ac_cv_prog_STRIP"; then | |
| 7257 ac_ct_STRIP=$STRIP | |
| 7258 # Extract the first word of "strip", so it can be a program name with args. | |
| 7259 set dummy strip; ac_word=$2 | |
| 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7261 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7262 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
| 7263 $as_echo_n "(cached) " >&6 | |
| 7264 else | |
| 7265 if test -n "$ac_ct_STRIP"; then | |
| 7266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 7267 else | |
| 7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7269 for as_dir in $PATH | |
| 7270 do | |
| 7271 IFS=$as_save_IFS | |
| 7272 test -z "$as_dir" && as_dir=. | |
| 7273 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7275 ac_cv_prog_ac_ct_STRIP="strip" | |
| 7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7277 break 2 | |
| 7278 fi | |
| 7279 done | |
| 7280 done | |
| 7281 IFS=$as_save_IFS | |
| 7282 | |
| 7283 fi | |
| 7284 fi | |
| 7285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 7286 if test -n "$ac_ct_STRIP"; then | |
| 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 7288 $as_echo "$ac_ct_STRIP" >&6; } | |
| 7289 else | |
| 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7291 $as_echo "no" >&6; } | |
| 7292 fi | |
| 7293 | |
| 7294 if test "x$ac_ct_STRIP" = x; then | |
| 7295 STRIP=":" | |
| 7296 else | |
| 7297 case $cross_compiling:$ac_tool_warned in | |
| 7298 yes:) | |
| 7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 7301 ac_tool_warned=yes ;; | |
| 7302 esac | |
| 7303 STRIP=$ac_ct_STRIP | |
| 7304 fi | |
| 7305 else | |
| 7306 STRIP="$ac_cv_prog_STRIP" | |
| 7307 fi | |
| 7308 | |
| 7309 test -z "$STRIP" && STRIP=: | |
| 7310 | |
| 7311 | |
| 7312 | |
| 7313 | |
| 7314 | |
| 7315 | |
| 7316 if test -n "$ac_tool_prefix"; then | |
| 7317 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. | |
| 7318 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
| 7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7320 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7321 if ${ac_cv_prog_RANLIB+:} false; then : | |
| 7322 $as_echo_n "(cached) " >&6 | |
| 7323 else | |
| 7324 if test -n "$RANLIB"; then | |
| 7325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| 7326 else | |
| 7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7328 for as_dir in $PATH | |
| 7329 do | |
| 7330 IFS=$as_save_IFS | |
| 7331 test -z "$as_dir" && as_dir=. | |
| 7332 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7334 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
| 7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7336 break 2 | |
| 7337 fi | |
| 7338 done | |
| 7339 done | |
| 7340 IFS=$as_save_IFS | |
| 7341 | |
| 7342 fi | |
| 7343 fi | |
| 7344 RANLIB=$ac_cv_prog_RANLIB | |
| 7345 if test -n "$RANLIB"; then | |
| 7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
| 7347 $as_echo "$RANLIB" >&6; } | |
| 7348 else | |
| 7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7350 $as_echo "no" >&6; } | |
| 7351 fi | |
| 7352 | |
| 7353 | |
| 7354 fi | |
| 7355 if test -z "$ac_cv_prog_RANLIB"; then | |
| 7356 ac_ct_RANLIB=$RANLIB | |
| 7357 # Extract the first word of "ranlib", so it can be a program name with args. | |
| 7358 set dummy ranlib; ac_word=$2 | |
| 7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7360 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7361 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | |
| 7362 $as_echo_n "(cached) " >&6 | |
| 7363 else | |
| 7364 if test -n "$ac_ct_RANLIB"; then | |
| 7365 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
| 7366 else | |
| 7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7368 for as_dir in $PATH | |
| 7369 do | |
| 7370 IFS=$as_save_IFS | |
| 7371 test -z "$as_dir" && as_dir=. | |
| 7372 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 7374 ac_cv_prog_ac_ct_RANLIB="ranlib" | |
| 7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 7376 break 2 | |
| 7377 fi | |
| 7378 done | |
| 7379 done | |
| 7380 IFS=$as_save_IFS | |
| 7381 | |
| 7382 fi | |
| 7383 fi | |
| 7384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
| 7385 if test -n "$ac_ct_RANLIB"; then | |
| 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
| 7387 $as_echo "$ac_ct_RANLIB" >&6; } | |
| 7388 else | |
| 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7390 $as_echo "no" >&6; } | |
| 7391 fi | |
| 7392 | |
| 7393 if test "x$ac_ct_RANLIB" = x; then | |
| 7394 RANLIB=":" | |
| 7395 else | |
| 7396 case $cross_compiling:$ac_tool_warned in | |
| 7397 yes:) | |
| 7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 7400 ac_tool_warned=yes ;; | |
| 7401 esac | |
| 7402 RANLIB=$ac_ct_RANLIB | |
| 7403 fi | |
| 7404 else | |
| 7405 RANLIB="$ac_cv_prog_RANLIB" | |
| 7406 fi | |
| 7407 | |
| 7408 test -z "$RANLIB" && RANLIB=: | |
| 7409 | |
| 7410 | |
| 7411 | |
| 7412 | |
| 7413 | |
| 7414 | |
| 7415 # Determine commands to create old-style static archives. | |
| 7416 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | |
| 7417 old_postinstall_cmds='chmod 644 $oldlib' | |
| 7418 old_postuninstall_cmds= | |
| 7419 | |
| 7420 if test -n "$RANLIB"; then | |
| 7421 case $host_os in | |
| 7422 openbsd*) | |
| 7423 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | |
| 7424 ;; | |
| 7425 *) | |
| 7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | |
| 7427 ;; | |
| 7428 esac | |
| 7429 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | |
| 7430 fi | |
| 7431 | |
| 7432 case $host_os in | |
| 7433 darwin*) | |
| 7434 lock_old_archive_extraction=yes ;; | |
| 7435 *) | |
| 7436 lock_old_archive_extraction=no ;; | |
| 7437 esac | |
| 7438 | |
| 7439 | |
| 7440 | |
| 7441 | |
| 7442 | |
| 7443 | |
| 7444 | |
| 7445 | |
| 7446 | |
| 7447 | |
| 7448 | |
| 7449 | |
| 7450 | |
| 7451 | |
| 7452 | |
| 7453 | |
| 7454 | |
| 7455 | |
| 7456 | |
| 7457 | |
| 7458 | |
| 7459 | |
| 7460 | |
| 7461 | |
| 7462 | |
| 7463 | |
| 7464 | |
| 7465 | |
| 7466 | |
| 7467 | |
| 7468 | |
| 7469 | |
| 7470 | |
| 7471 | |
| 7472 | |
| 7473 | |
| 7474 | |
| 7475 | |
| 7476 | |
| 7477 # If no C compiler was specified, use CC. | |
| 7478 LTCC=${LTCC-"$CC"} | |
| 7479 | |
| 7480 # If no C compiler flags were specified, use CFLAGS. | |
| 7481 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 7482 | |
| 7483 # Allow CC to be a program name with arguments. | |
| 7484 compiler=$CC | |
| 7485 | |
| 7486 | |
| 7487 # Check for command to grab the raw symbol name followed by C symbol from nm. | |
| 7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output fr
om $compiler object" >&5 | |
| 7489 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6;
} | |
| 7490 if ${lt_cv_sys_global_symbol_pipe+:} false; then : | |
| 7491 $as_echo_n "(cached) " >&6 | |
| 7492 else | |
| 7493 | |
| 7494 # These are sane defaults that work on at least a few old systems. | |
| 7495 # [They come from Ultrix. What could be older than Ultrix?!! ;)] | |
| 7496 | |
| 7497 # Character class describing NM global symbol codes. | |
| 7498 symcode='[BCDEGRST]' | |
| 7499 | |
| 7500 # Regexp to match symbols that can be accessed directly from C. | |
| 7501 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | |
| 7502 | |
| 7503 # Define system-specific variables. | |
| 7504 case $host_os in | |
| 7505 aix*) | |
| 7506 symcode='[BCDT]' | |
| 7507 ;; | |
| 7508 cygwin* | mingw* | pw32* | cegcc*) | |
| 7509 symcode='[ABCDGISTW]' | |
| 7510 ;; | |
| 7511 hpux*) | |
| 7512 if test "$host_cpu" = ia64; then | |
| 7513 symcode='[ABCDEGRST]' | |
| 7514 fi | |
| 7515 ;; | |
| 7516 irix* | nonstopux*) | |
| 7517 symcode='[BCDEGRST]' | |
| 7518 ;; | |
| 7519 osf*) | |
| 7520 symcode='[BCDEGQRST]' | |
| 7521 ;; | |
| 7522 solaris*) | |
| 7523 symcode='[BDRT]' | |
| 7524 ;; | |
| 7525 sco3.2v5*) | |
| 7526 symcode='[DT]' | |
| 7527 ;; | |
| 7528 sysv4.2uw2*) | |
| 7529 symcode='[DT]' | |
| 7530 ;; | |
| 7531 sysv5* | sco5v6* | unixware* | OpenUNIX*) | |
| 7532 symcode='[ABDT]' | |
| 7533 ;; | |
| 7534 sysv4) | |
| 7535 symcode='[DFNSTU]' | |
| 7536 ;; | |
| 7537 esac | |
| 7538 | |
| 7539 # If we're using GNU nm, then use its standard symbol codes. | |
| 7540 case `$NM -V 2>&1` in | |
| 7541 *GNU* | *'with BFD'*) | |
| 7542 symcode='[ABCDGIRSTW]' ;; | |
| 7543 esac | |
| 7544 | |
| 7545 # Transform an extracted symbol line into a proper C declaration. | |
| 7546 # Some systems (esp. on ia64) link data and code symbols differently, | |
| 7547 # so use this general approach. | |
| 7548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p'
-e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
| 7549 | |
| 7550 # Transform an extracted symbol line into symbol name and symbol address | |
| 7551 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\
"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void
*) \&\2},/p'" | |
| 7552 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[
]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {
\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (
void *) \&\2},/p'" | |
| 7553 | |
| 7554 # Handle CRLF in mingw tool chain | |
| 7555 opt_cr= | |
| 7556 case $build_os in | |
| 7557 mingw*) | |
| 7558 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | |
| 7559 ;; | |
| 7560 esac | |
| 7561 | |
| 7562 # Try without a prefix underscore, then with it. | |
| 7563 for ac_symprfx in "" "_"; do | |
| 7564 | |
| 7565 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | |
| 7566 symxfrm="\\1 $ac_symprfx\\2 \\2" | |
| 7567 | |
| 7568 # Write the raw and C identifiers. | |
| 7569 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 7570 # Fake it for dumpbin and say T for any non-static function | |
| 7571 # and D for any global variable. | |
| 7572 # Also find C++ and __fastcall symbols from MSVC++, | |
| 7573 # which start with @ or ?. | |
| 7574 lt_cv_sys_global_symbol_pipe="$AWK '"\ | |
| 7575 " {last_section=section; section=\$ 3};"\ | |
| 7576 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | |
| 7577 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | |
| 7578 " \$ 0!~/External *\|/{next};"\ | |
| 7579 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | |
| 7580 " {if(hide[section]) next};"\ | |
| 7581 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | |
| 7582 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | |
| 7583 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ | |
| 7584 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | |
| 7585 " ' prfx=^$ac_symprfx" | |
| 7586 else | |
| 7587 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[
][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | |
| 7588 fi | |
| 7589 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" | |
| 7590 | |
| 7591 # Check to see that the pipe works correctly. | |
| 7592 pipe_works=no | |
| 7593 | |
| 7594 rm -f conftest* | |
| 7595 cat > conftest.$ac_ext <<_LT_EOF | |
| 7596 #ifdef __cplusplus | |
| 7597 extern "C" { | |
| 7598 #endif | |
| 7599 char nm_test_var; | |
| 7600 void nm_test_func(void); | |
| 7601 void nm_test_func(void){} | |
| 7602 #ifdef __cplusplus | |
| 7603 } | |
| 7604 #endif | |
| 7605 int main(){nm_test_var='a';nm_test_func();return(0);} | |
| 7606 _LT_EOF | |
| 7607 | |
| 7608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7609 (eval $ac_compile) 2>&5 | |
| 7610 ac_status=$? | |
| 7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7612 test $ac_status = 0; }; then | |
| 7613 # Now try to grab the symbols. | |
| 7614 nlist=conftest.nm | |
| 7615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objex
t \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | |
| 7616 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>
&5 | |
| 7617 ac_status=$? | |
| 7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7619 test $ac_status = 0; } && test -s "$nlist"; then | |
| 7620 # Try sorting and uniquifying the output. | |
| 7621 if sort "$nlist" | uniq > "$nlist"T; then | |
| 7622 mv -f "$nlist"T "$nlist" | |
| 7623 else | |
| 7624 rm -f "$nlist"T | |
| 7625 fi | |
| 7626 | |
| 7627 # Make sure that we snagged all the symbols we need. | |
| 7628 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | |
| 7629 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | |
| 7630 cat <<_LT_EOF > conftest.$ac_ext | |
| 7631 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ | |
| 7632 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) | |
| 7633 /* DATA imports from DLLs on WIN32 con't be const, because runtime | |
| 7634 relocations are performed -- see ld's documentation on pseudo-relocs. */ | |
| 7635 # define LT_DLSYM_CONST | |
| 7636 #elif defined(__osf__) | |
| 7637 /* This system does not cope well with relocations in const data. */ | |
| 7638 # define LT_DLSYM_CONST | |
| 7639 #else | |
| 7640 # define LT_DLSYM_CONST const | |
| 7641 #endif | |
| 7642 | |
| 7643 #ifdef __cplusplus | |
| 7644 extern "C" { | |
| 7645 #endif | |
| 7646 | |
| 7647 _LT_EOF | |
| 7648 # Now generate the symbol file. | |
| 7649 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' | |
| 7650 | |
| 7651 cat <<_LT_EOF >> conftest.$ac_ext | |
| 7652 | |
| 7653 /* The mapping between symbol names and symbols. */ | |
| 7654 LT_DLSYM_CONST struct { | |
| 7655 const char *name; | |
| 7656 void *address; | |
| 7657 } | |
| 7658 lt__PROGRAM__LTX_preloaded_symbols[] = | |
| 7659 { | |
| 7660 { "@PROGRAM@", (void *) 0 }, | |
| 7661 _LT_EOF | |
| 7662 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/"
< "$nlist" | $GREP -v main >> conftest.$ac_ext | |
| 7663 cat <<\_LT_EOF >> conftest.$ac_ext | |
| 7664 {0, (void *) 0} | |
| 7665 }; | |
| 7666 | |
| 7667 /* This works around a problem in FreeBSD linker */ | |
| 7668 #ifdef FREEBSD_WORKAROUND | |
| 7669 static const void *lt_preloaded_setup() { | |
| 7670 return lt__PROGRAM__LTX_preloaded_symbols; | |
| 7671 } | |
| 7672 #endif | |
| 7673 | |
| 7674 #ifdef __cplusplus | |
| 7675 } | |
| 7676 #endif | |
| 7677 _LT_EOF | |
| 7678 # Now try linking the two files. | |
| 7679 mv conftest.$ac_objext conftstm.$ac_objext | |
| 7680 lt_globsym_save_LIBS=$LIBS | |
| 7681 lt_globsym_save_CFLAGS=$CFLAGS | |
| 7682 LIBS="conftstm.$ac_objext" | |
| 7683 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | |
| 7684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 | |
| 7685 (eval $ac_link) 2>&5 | |
| 7686 ac_status=$? | |
| 7687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7688 test $ac_status = 0; } && test -s conftest${ac_exeext}; then | |
| 7689 pipe_works=yes | |
| 7690 fi | |
| 7691 LIBS=$lt_globsym_save_LIBS | |
| 7692 CFLAGS=$lt_globsym_save_CFLAGS | |
| 7693 else | |
| 7694 echo "cannot find nm_test_func in $nlist" >&5 | |
| 7695 fi | |
| 7696 else | |
| 7697 echo "cannot find nm_test_var in $nlist" >&5 | |
| 7698 fi | |
| 7699 else | |
| 7700 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
| 7701 fi | |
| 7702 else | |
| 7703 echo "$progname: failed program was:" >&5 | |
| 7704 cat conftest.$ac_ext >&5 | |
| 7705 fi | |
| 7706 rm -rf conftest* conftst* | |
| 7707 | |
| 7708 # Do not use the global_symbol_pipe unless it works. | |
| 7709 if test "$pipe_works" = yes; then | |
| 7710 break | |
| 7711 else | |
| 7712 lt_cv_sys_global_symbol_pipe= | |
| 7713 fi | |
| 7714 done | |
| 7715 | |
| 7716 fi | |
| 7717 | |
| 7718 if test -z "$lt_cv_sys_global_symbol_pipe"; then | |
| 7719 lt_cv_sys_global_symbol_to_cdecl= | |
| 7720 fi | |
| 7721 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n | |
| 7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | |
| 7723 $as_echo "failed" >&6; } | |
| 7724 else | |
| 7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |
| 7726 $as_echo "ok" >&6; } | |
| 7727 fi | |
| 7728 | |
| 7729 # Response file support. | |
| 7730 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 7731 nm_file_list_spec='@' | |
| 7732 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then | |
| 7733 nm_file_list_spec='@' | |
| 7734 fi | |
| 7735 | |
| 7736 | |
| 7737 | |
| 7738 | |
| 7739 | |
| 7740 | |
| 7741 | |
| 7742 | |
| 7743 | |
| 7744 | |
| 7745 | |
| 7746 | |
| 7747 | |
| 7748 | |
| 7749 | |
| 7750 | |
| 7751 | |
| 7752 | |
| 7753 | |
| 7754 | |
| 7755 | |
| 7756 | |
| 7757 | |
| 7758 | |
| 7759 | |
| 7760 | |
| 7761 | |
| 7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | |
| 7763 $as_echo_n "checking for sysroot... " >&6; } | |
| 7764 | |
| 7765 # Check whether --with-sysroot was given. | |
| 7766 if test "${with_sysroot+set}" = set; then : | |
| 7767 withval=$with_sysroot; | |
| 7768 else | |
| 7769 with_sysroot=no | |
| 7770 fi | |
| 7771 | |
| 7772 | |
| 7773 lt_sysroot= | |
| 7774 case ${with_sysroot} in #( | |
| 7775 yes) | |
| 7776 if test "$GCC" = yes; then | |
| 7777 lt_sysroot=`$CC --print-sysroot 2>/dev/null` | |
| 7778 fi | |
| 7779 ;; #( | |
| 7780 /*) | |
| 7781 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | |
| 7782 ;; #( | |
| 7783 no|'') | |
| 7784 ;; #( | |
| 7785 *) | |
| 7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 | |
| 7787 $as_echo "${with_sysroot}" >&6; } | |
| 7788 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | |
| 7789 ;; | |
| 7790 esac | |
| 7791 | |
| 7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | |
| 7793 $as_echo "${lt_sysroot:-no}" >&6; } | |
| 7794 | |
| 7795 | |
| 7796 | |
| 7797 | |
| 7798 | |
| 7799 # Check whether --enable-libtool-lock was given. | |
| 7800 if test "${enable_libtool_lock+set}" = set; then : | |
| 7801 enableval=$enable_libtool_lock; | |
| 7802 fi | |
| 7803 | |
| 7804 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | |
| 7805 | |
| 7806 # Some flags need to be propagated to the compiler or linker for good | |
| 7807 # libtool support. | |
| 7808 case $host in | |
| 7809 ia64-*-hpux*) | |
| 7810 # Find out which ABI we are using. | |
| 7811 echo 'int i;' > conftest.$ac_ext | |
| 7812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7813 (eval $ac_compile) 2>&5 | |
| 7814 ac_status=$? | |
| 7815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7816 test $ac_status = 0; }; then | |
| 7817 case `/usr/bin/file conftest.$ac_objext` in | |
| 7818 *ELF-32*) | |
| 7819 HPUX_IA64_MODE="32" | |
| 7820 ;; | |
| 7821 *ELF-64*) | |
| 7822 HPUX_IA64_MODE="64" | |
| 7823 ;; | |
| 7824 esac | |
| 7825 fi | |
| 7826 rm -rf conftest* | |
| 7827 ;; | |
| 7828 *-*-irix6*) | |
| 7829 # Find out which ABI we are using. | |
| 7830 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
| 7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7832 (eval $ac_compile) 2>&5 | |
| 7833 ac_status=$? | |
| 7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7835 test $ac_status = 0; }; then | |
| 7836 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 7837 case `/usr/bin/file conftest.$ac_objext` in | |
| 7838 *32-bit*) | |
| 7839 LD="${LD-ld} -melf32bsmip" | |
| 7840 ;; | |
| 7841 *N32*) | |
| 7842 LD="${LD-ld} -melf32bmipn32" | |
| 7843 ;; | |
| 7844 *64-bit*) | |
| 7845 LD="${LD-ld} -melf64bmip" | |
| 7846 ;; | |
| 7847 esac | |
| 7848 else | |
| 7849 case `/usr/bin/file conftest.$ac_objext` in | |
| 7850 *32-bit*) | |
| 7851 LD="${LD-ld} -32" | |
| 7852 ;; | |
| 7853 *N32*) | |
| 7854 LD="${LD-ld} -n32" | |
| 7855 ;; | |
| 7856 *64-bit*) | |
| 7857 LD="${LD-ld} -64" | |
| 7858 ;; | |
| 7859 esac | |
| 7860 fi | |
| 7861 fi | |
| 7862 rm -rf conftest* | |
| 7863 ;; | |
| 7864 | |
| 7865 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | |
| 7866 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | |
| 7867 # Find out which ABI we are using. | |
| 7868 echo 'int i;' > conftest.$ac_ext | |
| 7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7870 (eval $ac_compile) 2>&5 | |
| 7871 ac_status=$? | |
| 7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7873 test $ac_status = 0; }; then | |
| 7874 case `/usr/bin/file conftest.o` in | |
| 7875 *32-bit*) | |
| 7876 case $host in | |
| 7877 x86_64-*kfreebsd*-gnu) | |
| 7878 LD="${LD-ld} -m elf_i386_fbsd" | |
| 7879 ;; | |
| 7880 x86_64-*linux*) | |
| 7881 case `/usr/bin/file conftest.o` in | |
| 7882 *x86-64*) | |
| 7883 LD="${LD-ld} -m elf32_x86_64" | |
| 7884 ;; | |
| 7885 *) | |
| 7886 LD="${LD-ld} -m elf_i386" | |
| 7887 ;; | |
| 7888 esac | |
| 7889 ;; | |
| 7890 powerpc64le-*) | |
| 7891 LD="${LD-ld} -m elf32lppclinux" | |
| 7892 ;; | |
| 7893 powerpc64-*) | |
| 7894 LD="${LD-ld} -m elf32ppclinux" | |
| 7895 ;; | |
| 7896 s390x-*linux*) | |
| 7897 LD="${LD-ld} -m elf_s390" | |
| 7898 ;; | |
| 7899 sparc64-*linux*) | |
| 7900 LD="${LD-ld} -m elf32_sparc" | |
| 7901 ;; | |
| 7902 esac | |
| 7903 ;; | |
| 7904 *64-bit*) | |
| 7905 case $host in | |
| 7906 x86_64-*kfreebsd*-gnu) | |
| 7907 LD="${LD-ld} -m elf_x86_64_fbsd" | |
| 7908 ;; | |
| 7909 x86_64-*linux*) | |
| 7910 LD="${LD-ld} -m elf_x86_64" | |
| 7911 ;; | |
| 7912 powerpcle-*) | |
| 7913 LD="${LD-ld} -m elf64lppc" | |
| 7914 ;; | |
| 7915 powerpc-*) | |
| 7916 LD="${LD-ld} -m elf64ppc" | |
| 7917 ;; | |
| 7918 s390*-*linux*|s390*-*tpf*) | |
| 7919 LD="${LD-ld} -m elf64_s390" | |
| 7920 ;; | |
| 7921 sparc*-*linux*) | |
| 7922 LD="${LD-ld} -m elf64_sparc" | |
| 7923 ;; | |
| 7924 esac | |
| 7925 ;; | |
| 7926 esac | |
| 7927 fi | |
| 7928 rm -rf conftest* | |
| 7929 ;; | |
| 7930 | |
| 7931 *-*-sco3.2v5*) | |
| 7932 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
| 7933 SAVE_CFLAGS="$CFLAGS" | |
| 7934 CFLAGS="$CFLAGS -belf" | |
| 7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5 | |
| 7936 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | |
| 7937 if ${lt_cv_cc_needs_belf+:} false; then : | |
| 7938 $as_echo_n "(cached) " >&6 | |
| 7939 else | |
| 7940 ac_ext=c | |
| 7941 ac_cpp='$CPP $CPPFLAGS' | |
| 7942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 7943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 7944 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 7945 | |
| 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7947 /* end confdefs.h. */ | |
| 7948 | |
| 7949 int | |
| 7950 main () | |
| 7951 { | |
| 7952 | |
| 7953 ; | |
| 7954 return 0; | |
| 7955 } | |
| 7956 _ACEOF | |
| 7957 if ac_fn_c_try_link "$LINENO"; then : | |
| 7958 lt_cv_cc_needs_belf=yes | |
| 7959 else | |
| 7960 lt_cv_cc_needs_belf=no | |
| 7961 fi | |
| 7962 rm -f core conftest.err conftest.$ac_objext \ | |
| 7963 conftest$ac_exeext conftest.$ac_ext | |
| 7964 ac_ext=c | |
| 7965 ac_cpp='$CPP $CPPFLAGS' | |
| 7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 7969 | |
| 7970 fi | |
| 7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | |
| 7972 $as_echo "$lt_cv_cc_needs_belf" >&6; } | |
| 7973 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | |
| 7974 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
| 7975 CFLAGS="$SAVE_CFLAGS" | |
| 7976 fi | |
| 7977 ;; | |
| 7978 *-*solaris*) | |
| 7979 # Find out which ABI we are using. | |
| 7980 echo 'int i;' > conftest.$ac_ext | |
| 7981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7982 (eval $ac_compile) 2>&5 | |
| 7983 ac_status=$? | |
| 7984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7985 test $ac_status = 0; }; then | |
| 7986 case `/usr/bin/file conftest.o` in | |
| 7987 *64-bit*) | |
| 7988 case $lt_cv_prog_gnu_ld in | |
| 7989 yes*) | |
| 7990 case $host in | |
| 7991 i?86-*-solaris*) | |
| 7992 LD="${LD-ld} -m elf_x86_64" | |
| 7993 ;; | |
| 7994 sparc*-*-solaris*) | |
| 7995 LD="${LD-ld} -m elf64_sparc" | |
| 7996 ;; | |
| 7997 esac | |
| 7998 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | |
| 7999 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | |
| 8000 LD="${LD-ld}_sol2" | |
| 8001 fi | |
| 8002 ;; | |
| 8003 *) | |
| 8004 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | |
| 8005 LD="${LD-ld} -64" | |
| 8006 fi | |
| 8007 ;; | |
| 8008 esac | |
| 8009 ;; | |
| 8010 esac | |
| 8011 fi | |
| 8012 rm -rf conftest* | |
| 8013 ;; | |
| 8014 esac | |
| 8015 | |
| 8016 need_locks="$enable_libtool_lock" | |
| 8017 | |
| 8018 if test -n "$ac_tool_prefix"; then | |
| 8019 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name
with args. | |
| 8020 set dummy ${ac_tool_prefix}mt; ac_word=$2 | |
| 8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8022 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8023 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | |
| 8024 $as_echo_n "(cached) " >&6 | |
| 8025 else | |
| 8026 if test -n "$MANIFEST_TOOL"; then | |
| 8027 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. | |
| 8028 else | |
| 8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8030 for as_dir in $PATH | |
| 8031 do | |
| 8032 IFS=$as_save_IFS | |
| 8033 test -z "$as_dir" && as_dir=. | |
| 8034 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8036 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" | |
| 8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8038 break 2 | |
| 8039 fi | |
| 8040 done | |
| 8041 done | |
| 8042 IFS=$as_save_IFS | |
| 8043 | |
| 8044 fi | |
| 8045 fi | |
| 8046 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL | |
| 8047 if test -n "$MANIFEST_TOOL"; then | |
| 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 | |
| 8049 $as_echo "$MANIFEST_TOOL" >&6; } | |
| 8050 else | |
| 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8052 $as_echo "no" >&6; } | |
| 8053 fi | |
| 8054 | |
| 8055 | |
| 8056 fi | |
| 8057 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then | |
| 8058 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL | |
| 8059 # Extract the first word of "mt", so it can be a program name with args. | |
| 8060 set dummy mt; ac_word=$2 | |
| 8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8062 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8063 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : | |
| 8064 $as_echo_n "(cached) " >&6 | |
| 8065 else | |
| 8066 if test -n "$ac_ct_MANIFEST_TOOL"; then | |
| 8067 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override
the test. | |
| 8068 else | |
| 8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8070 for as_dir in $PATH | |
| 8071 do | |
| 8072 IFS=$as_save_IFS | |
| 8073 test -z "$as_dir" && as_dir=. | |
| 8074 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8076 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" | |
| 8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8078 break 2 | |
| 8079 fi | |
| 8080 done | |
| 8081 done | |
| 8082 IFS=$as_save_IFS | |
| 8083 | |
| 8084 fi | |
| 8085 fi | |
| 8086 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL | |
| 8087 if test -n "$ac_ct_MANIFEST_TOOL"; then | |
| 8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 | |
| 8089 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } | |
| 8090 else | |
| 8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8092 $as_echo "no" >&6; } | |
| 8093 fi | |
| 8094 | |
| 8095 if test "x$ac_ct_MANIFEST_TOOL" = x; then | |
| 8096 MANIFEST_TOOL=":" | |
| 8097 else | |
| 8098 case $cross_compiling:$ac_tool_warned in | |
| 8099 yes:) | |
| 8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8102 ac_tool_warned=yes ;; | |
| 8103 esac | |
| 8104 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL | |
| 8105 fi | |
| 8106 else | |
| 8107 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" | |
| 8108 fi | |
| 8109 | |
| 8110 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | |
| 8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifes
t tool" >&5 | |
| 8112 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } | |
| 8113 if ${lt_cv_path_mainfest_tool+:} false; then : | |
| 8114 $as_echo_n "(cached) " >&6 | |
| 8115 else | |
| 8116 lt_cv_path_mainfest_tool=no | |
| 8117 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | |
| 8118 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | |
| 8119 cat conftest.err >&5 | |
| 8120 if $GREP 'Manifest Tool' conftest.out > /dev/null; then | |
| 8121 lt_cv_path_mainfest_tool=yes | |
| 8122 fi | |
| 8123 rm -f conftest* | |
| 8124 fi | |
| 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | |
| 8126 $as_echo "$lt_cv_path_mainfest_tool" >&6; } | |
| 8127 if test "x$lt_cv_path_mainfest_tool" != xyes; then | |
| 8128 MANIFEST_TOOL=: | |
| 8129 fi | |
| 8130 | |
| 8131 | |
| 8132 | |
| 8133 | |
| 8134 | |
| 8135 | |
| 8136 case $host_os in | |
| 8137 rhapsody* | darwin*) | |
| 8138 if test -n "$ac_tool_prefix"; then | |
| 8139 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a progra
m name with args. | |
| 8140 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | |
| 8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8142 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8143 if ${ac_cv_prog_DSYMUTIL+:} false; then : | |
| 8144 $as_echo_n "(cached) " >&6 | |
| 8145 else | |
| 8146 if test -n "$DSYMUTIL"; then | |
| 8147 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | |
| 8148 else | |
| 8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8150 for as_dir in $PATH | |
| 8151 do | |
| 8152 IFS=$as_save_IFS | |
| 8153 test -z "$as_dir" && as_dir=. | |
| 8154 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8156 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | |
| 8157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8158 break 2 | |
| 8159 fi | |
| 8160 done | |
| 8161 done | |
| 8162 IFS=$as_save_IFS | |
| 8163 | |
| 8164 fi | |
| 8165 fi | |
| 8166 DSYMUTIL=$ac_cv_prog_DSYMUTIL | |
| 8167 if test -n "$DSYMUTIL"; then | |
| 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | |
| 8169 $as_echo "$DSYMUTIL" >&6; } | |
| 8170 else | |
| 8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8172 $as_echo "no" >&6; } | |
| 8173 fi | |
| 8174 | |
| 8175 | |
| 8176 fi | |
| 8177 if test -z "$ac_cv_prog_DSYMUTIL"; then | |
| 8178 ac_ct_DSYMUTIL=$DSYMUTIL | |
| 8179 # Extract the first word of "dsymutil", so it can be a program name with args. | |
| 8180 set dummy dsymutil; ac_word=$2 | |
| 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8182 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8183 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : | |
| 8184 $as_echo_n "(cached) " >&6 | |
| 8185 else | |
| 8186 if test -n "$ac_ct_DSYMUTIL"; then | |
| 8187 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | |
| 8188 else | |
| 8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8190 for as_dir in $PATH | |
| 8191 do | |
| 8192 IFS=$as_save_IFS | |
| 8193 test -z "$as_dir" && as_dir=. | |
| 8194 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8196 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | |
| 8197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8198 break 2 | |
| 8199 fi | |
| 8200 done | |
| 8201 done | |
| 8202 IFS=$as_save_IFS | |
| 8203 | |
| 8204 fi | |
| 8205 fi | |
| 8206 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | |
| 8207 if test -n "$ac_ct_DSYMUTIL"; then | |
| 8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | |
| 8209 $as_echo "$ac_ct_DSYMUTIL" >&6; } | |
| 8210 else | |
| 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8212 $as_echo "no" >&6; } | |
| 8213 fi | |
| 8214 | |
| 8215 if test "x$ac_ct_DSYMUTIL" = x; then | |
| 8216 DSYMUTIL=":" | |
| 8217 else | |
| 8218 case $cross_compiling:$ac_tool_warned in | |
| 8219 yes:) | |
| 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8222 ac_tool_warned=yes ;; | |
| 8223 esac | |
| 8224 DSYMUTIL=$ac_ct_DSYMUTIL | |
| 8225 fi | |
| 8226 else | |
| 8227 DSYMUTIL="$ac_cv_prog_DSYMUTIL" | |
| 8228 fi | |
| 8229 | |
| 8230 if test -n "$ac_tool_prefix"; then | |
| 8231 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program
name with args. | |
| 8232 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | |
| 8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8234 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8235 if ${ac_cv_prog_NMEDIT+:} false; then : | |
| 8236 $as_echo_n "(cached) " >&6 | |
| 8237 else | |
| 8238 if test -n "$NMEDIT"; then | |
| 8239 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | |
| 8240 else | |
| 8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8242 for as_dir in $PATH | |
| 8243 do | |
| 8244 IFS=$as_save_IFS | |
| 8245 test -z "$as_dir" && as_dir=. | |
| 8246 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8248 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | |
| 8249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8250 break 2 | |
| 8251 fi | |
| 8252 done | |
| 8253 done | |
| 8254 IFS=$as_save_IFS | |
| 8255 | |
| 8256 fi | |
| 8257 fi | |
| 8258 NMEDIT=$ac_cv_prog_NMEDIT | |
| 8259 if test -n "$NMEDIT"; then | |
| 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | |
| 8261 $as_echo "$NMEDIT" >&6; } | |
| 8262 else | |
| 8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8264 $as_echo "no" >&6; } | |
| 8265 fi | |
| 8266 | |
| 8267 | |
| 8268 fi | |
| 8269 if test -z "$ac_cv_prog_NMEDIT"; then | |
| 8270 ac_ct_NMEDIT=$NMEDIT | |
| 8271 # Extract the first word of "nmedit", so it can be a program name with args. | |
| 8272 set dummy nmedit; ac_word=$2 | |
| 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8274 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8275 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : | |
| 8276 $as_echo_n "(cached) " >&6 | |
| 8277 else | |
| 8278 if test -n "$ac_ct_NMEDIT"; then | |
| 8279 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | |
| 8280 else | |
| 8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8282 for as_dir in $PATH | |
| 8283 do | |
| 8284 IFS=$as_save_IFS | |
| 8285 test -z "$as_dir" && as_dir=. | |
| 8286 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8288 ac_cv_prog_ac_ct_NMEDIT="nmedit" | |
| 8289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8290 break 2 | |
| 8291 fi | |
| 8292 done | |
| 8293 done | |
| 8294 IFS=$as_save_IFS | |
| 8295 | |
| 8296 fi | |
| 8297 fi | |
| 8298 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | |
| 8299 if test -n "$ac_ct_NMEDIT"; then | |
| 8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | |
| 8301 $as_echo "$ac_ct_NMEDIT" >&6; } | |
| 8302 else | |
| 8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8304 $as_echo "no" >&6; } | |
| 8305 fi | |
| 8306 | |
| 8307 if test "x$ac_ct_NMEDIT" = x; then | |
| 8308 NMEDIT=":" | |
| 8309 else | |
| 8310 case $cross_compiling:$ac_tool_warned in | |
| 8311 yes:) | |
| 8312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8314 ac_tool_warned=yes ;; | |
| 8315 esac | |
| 8316 NMEDIT=$ac_ct_NMEDIT | |
| 8317 fi | |
| 8318 else | |
| 8319 NMEDIT="$ac_cv_prog_NMEDIT" | |
| 8320 fi | |
| 8321 | |
| 8322 if test -n "$ac_tool_prefix"; then | |
| 8323 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program na
me with args. | |
| 8324 set dummy ${ac_tool_prefix}lipo; ac_word=$2 | |
| 8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8326 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8327 if ${ac_cv_prog_LIPO+:} false; then : | |
| 8328 $as_echo_n "(cached) " >&6 | |
| 8329 else | |
| 8330 if test -n "$LIPO"; then | |
| 8331 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | |
| 8332 else | |
| 8333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8334 for as_dir in $PATH | |
| 8335 do | |
| 8336 IFS=$as_save_IFS | |
| 8337 test -z "$as_dir" && as_dir=. | |
| 8338 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8340 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | |
| 8341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8342 break 2 | |
| 8343 fi | |
| 8344 done | |
| 8345 done | |
| 8346 IFS=$as_save_IFS | |
| 8347 | |
| 8348 fi | |
| 8349 fi | |
| 8350 LIPO=$ac_cv_prog_LIPO | |
| 8351 if test -n "$LIPO"; then | |
| 8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | |
| 8353 $as_echo "$LIPO" >&6; } | |
| 8354 else | |
| 8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8356 $as_echo "no" >&6; } | |
| 8357 fi | |
| 8358 | |
| 8359 | |
| 8360 fi | |
| 8361 if test -z "$ac_cv_prog_LIPO"; then | |
| 8362 ac_ct_LIPO=$LIPO | |
| 8363 # Extract the first word of "lipo", so it can be a program name with args. | |
| 8364 set dummy lipo; ac_word=$2 | |
| 8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8366 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8367 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : | |
| 8368 $as_echo_n "(cached) " >&6 | |
| 8369 else | |
| 8370 if test -n "$ac_ct_LIPO"; then | |
| 8371 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | |
| 8372 else | |
| 8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8374 for as_dir in $PATH | |
| 8375 do | |
| 8376 IFS=$as_save_IFS | |
| 8377 test -z "$as_dir" && as_dir=. | |
| 8378 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8380 ac_cv_prog_ac_ct_LIPO="lipo" | |
| 8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8382 break 2 | |
| 8383 fi | |
| 8384 done | |
| 8385 done | |
| 8386 IFS=$as_save_IFS | |
| 8387 | |
| 8388 fi | |
| 8389 fi | |
| 8390 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | |
| 8391 if test -n "$ac_ct_LIPO"; then | |
| 8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | |
| 8393 $as_echo "$ac_ct_LIPO" >&6; } | |
| 8394 else | |
| 8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8396 $as_echo "no" >&6; } | |
| 8397 fi | |
| 8398 | |
| 8399 if test "x$ac_ct_LIPO" = x; then | |
| 8400 LIPO=":" | |
| 8401 else | |
| 8402 case $cross_compiling:$ac_tool_warned in | |
| 8403 yes:) | |
| 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8406 ac_tool_warned=yes ;; | |
| 8407 esac | |
| 8408 LIPO=$ac_ct_LIPO | |
| 8409 fi | |
| 8410 else | |
| 8411 LIPO="$ac_cv_prog_LIPO" | |
| 8412 fi | |
| 8413 | |
| 8414 if test -n "$ac_tool_prefix"; then | |
| 8415 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program n
ame with args. | |
| 8416 set dummy ${ac_tool_prefix}otool; ac_word=$2 | |
| 8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8418 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8419 if ${ac_cv_prog_OTOOL+:} false; then : | |
| 8420 $as_echo_n "(cached) " >&6 | |
| 8421 else | |
| 8422 if test -n "$OTOOL"; then | |
| 8423 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | |
| 8424 else | |
| 8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8426 for as_dir in $PATH | |
| 8427 do | |
| 8428 IFS=$as_save_IFS | |
| 8429 test -z "$as_dir" && as_dir=. | |
| 8430 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8432 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | |
| 8433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8434 break 2 | |
| 8435 fi | |
| 8436 done | |
| 8437 done | |
| 8438 IFS=$as_save_IFS | |
| 8439 | |
| 8440 fi | |
| 8441 fi | |
| 8442 OTOOL=$ac_cv_prog_OTOOL | |
| 8443 if test -n "$OTOOL"; then | |
| 8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | |
| 8445 $as_echo "$OTOOL" >&6; } | |
| 8446 else | |
| 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8448 $as_echo "no" >&6; } | |
| 8449 fi | |
| 8450 | |
| 8451 | |
| 8452 fi | |
| 8453 if test -z "$ac_cv_prog_OTOOL"; then | |
| 8454 ac_ct_OTOOL=$OTOOL | |
| 8455 # Extract the first word of "otool", so it can be a program name with args. | |
| 8456 set dummy otool; ac_word=$2 | |
| 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8458 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8459 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : | |
| 8460 $as_echo_n "(cached) " >&6 | |
| 8461 else | |
| 8462 if test -n "$ac_ct_OTOOL"; then | |
| 8463 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | |
| 8464 else | |
| 8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8466 for as_dir in $PATH | |
| 8467 do | |
| 8468 IFS=$as_save_IFS | |
| 8469 test -z "$as_dir" && as_dir=. | |
| 8470 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8472 ac_cv_prog_ac_ct_OTOOL="otool" | |
| 8473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8474 break 2 | |
| 8475 fi | |
| 8476 done | |
| 8477 done | |
| 8478 IFS=$as_save_IFS | |
| 8479 | |
| 8480 fi | |
| 8481 fi | |
| 8482 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | |
| 8483 if test -n "$ac_ct_OTOOL"; then | |
| 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | |
| 8485 $as_echo "$ac_ct_OTOOL" >&6; } | |
| 8486 else | |
| 8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8488 $as_echo "no" >&6; } | |
| 8489 fi | |
| 8490 | |
| 8491 if test "x$ac_ct_OTOOL" = x; then | |
| 8492 OTOOL=":" | |
| 8493 else | |
| 8494 case $cross_compiling:$ac_tool_warned in | |
| 8495 yes:) | |
| 8496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8498 ac_tool_warned=yes ;; | |
| 8499 esac | |
| 8500 OTOOL=$ac_ct_OTOOL | |
| 8501 fi | |
| 8502 else | |
| 8503 OTOOL="$ac_cv_prog_OTOOL" | |
| 8504 fi | |
| 8505 | |
| 8506 if test -n "$ac_tool_prefix"; then | |
| 8507 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program
name with args. | |
| 8508 set dummy ${ac_tool_prefix}otool64; ac_word=$2 | |
| 8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8510 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8511 if ${ac_cv_prog_OTOOL64+:} false; then : | |
| 8512 $as_echo_n "(cached) " >&6 | |
| 8513 else | |
| 8514 if test -n "$OTOOL64"; then | |
| 8515 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | |
| 8516 else | |
| 8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8518 for as_dir in $PATH | |
| 8519 do | |
| 8520 IFS=$as_save_IFS | |
| 8521 test -z "$as_dir" && as_dir=. | |
| 8522 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8524 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | |
| 8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8526 break 2 | |
| 8527 fi | |
| 8528 done | |
| 8529 done | |
| 8530 IFS=$as_save_IFS | |
| 8531 | |
| 8532 fi | |
| 8533 fi | |
| 8534 OTOOL64=$ac_cv_prog_OTOOL64 | |
| 8535 if test -n "$OTOOL64"; then | |
| 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | |
| 8537 $as_echo "$OTOOL64" >&6; } | |
| 8538 else | |
| 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8540 $as_echo "no" >&6; } | |
| 8541 fi | |
| 8542 | |
| 8543 | |
| 8544 fi | |
| 8545 if test -z "$ac_cv_prog_OTOOL64"; then | |
| 8546 ac_ct_OTOOL64=$OTOOL64 | |
| 8547 # Extract the first word of "otool64", so it can be a program name with args. | |
| 8548 set dummy otool64; ac_word=$2 | |
| 8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8550 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8551 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : | |
| 8552 $as_echo_n "(cached) " >&6 | |
| 8553 else | |
| 8554 if test -n "$ac_ct_OTOOL64"; then | |
| 8555 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | |
| 8556 else | |
| 8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8558 for as_dir in $PATH | |
| 8559 do | |
| 8560 IFS=$as_save_IFS | |
| 8561 test -z "$as_dir" && as_dir=. | |
| 8562 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8564 ac_cv_prog_ac_ct_OTOOL64="otool64" | |
| 8565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8566 break 2 | |
| 8567 fi | |
| 8568 done | |
| 8569 done | |
| 8570 IFS=$as_save_IFS | |
| 8571 | |
| 8572 fi | |
| 8573 fi | |
| 8574 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | |
| 8575 if test -n "$ac_ct_OTOOL64"; then | |
| 8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | |
| 8577 $as_echo "$ac_ct_OTOOL64" >&6; } | |
| 8578 else | |
| 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8580 $as_echo "no" >&6; } | |
| 8581 fi | |
| 8582 | |
| 8583 if test "x$ac_ct_OTOOL64" = x; then | |
| 8584 OTOOL64=":" | |
| 8585 else | |
| 8586 case $cross_compiling:$ac_tool_warned in | |
| 8587 yes:) | |
| 8588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8590 ac_tool_warned=yes ;; | |
| 8591 esac | |
| 8592 OTOOL64=$ac_ct_OTOOL64 | |
| 8593 fi | |
| 8594 else | |
| 8595 OTOOL64="$ac_cv_prog_OTOOL64" | |
| 8596 fi | |
| 8597 | |
| 8598 | |
| 8599 | |
| 8600 | |
| 8601 | |
| 8602 | |
| 8603 | |
| 8604 | |
| 8605 | |
| 8606 | |
| 8607 | |
| 8608 | |
| 8609 | |
| 8610 | |
| 8611 | |
| 8612 | |
| 8613 | |
| 8614 | |
| 8615 | |
| 8616 | |
| 8617 | |
| 8618 | |
| 8619 | |
| 8620 | |
| 8621 | |
| 8622 | |
| 8623 | |
| 8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker
flag" >&5 | |
| 8625 $as_echo_n "checking for -single_module linker flag... " >&6; } | |
| 8626 if ${lt_cv_apple_cc_single_mod+:} false; then : | |
| 8627 $as_echo_n "(cached) " >&6 | |
| 8628 else | |
| 8629 lt_cv_apple_cc_single_mod=no | |
| 8630 if test -z "${LT_MULTI_MODULE}"; then | |
| 8631 # By default we will add the -single_module flag. You can override | |
| 8632 # by either setting the environment variable LT_MULTI_MODULE | |
| 8633 # non-empty at configure time, or by adding -multi_module to the | |
| 8634 # link flags. | |
| 8635 rm -rf libconftest.dylib* | |
| 8636 echo "int foo(void){return 1;}" > conftest.c | |
| 8637 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 8638 -dynamiclib -Wl,-single_module conftest.c" >&5 | |
| 8639 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 8640 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | |
| 8641 _lt_result=$? | |
| 8642 # If there is a non-empty error log, and "single_module" | |
| 8643 # appears in it, assume the flag caused a linker warning | |
| 8644 if test -s conftest.err && $GREP single_module conftest.err; then | |
| 8645 cat conftest.err >&5 | |
| 8646 # Otherwise, if the output was created with a 0 exit code from | |
| 8647 # the compiler, it worked. | |
| 8648 elif test -f libconftest.dylib && test $_lt_result -eq 0; then | |
| 8649 lt_cv_apple_cc_single_mod=yes | |
| 8650 else | |
| 8651 cat conftest.err >&5 | |
| 8652 fi | |
| 8653 rm -rf libconftest.dylib* | |
| 8654 rm -f conftest.* | |
| 8655 fi | |
| 8656 fi | |
| 8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | |
| 8658 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | |
| 8659 | |
| 8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list
linker flag" >&5 | |
| 8661 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | |
| 8662 if ${lt_cv_ld_exported_symbols_list+:} false; then : | |
| 8663 $as_echo_n "(cached) " >&6 | |
| 8664 else | |
| 8665 lt_cv_ld_exported_symbols_list=no | |
| 8666 save_LDFLAGS=$LDFLAGS | |
| 8667 echo "_main" > conftest.sym | |
| 8668 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | |
| 8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 8670 /* end confdefs.h. */ | |
| 8671 | |
| 8672 int | |
| 8673 main () | |
| 8674 { | |
| 8675 | |
| 8676 ; | |
| 8677 return 0; | |
| 8678 } | |
| 8679 _ACEOF | |
| 8680 if ac_fn_c_try_link "$LINENO"; then : | |
| 8681 lt_cv_ld_exported_symbols_list=yes | |
| 8682 else | |
| 8683 lt_cv_ld_exported_symbols_list=no | |
| 8684 fi | |
| 8685 rm -f core conftest.err conftest.$ac_objext \ | |
| 8686 conftest$ac_exeext conftest.$ac_ext | |
| 8687 LDFLAGS="$save_LDFLAGS" | |
| 8688 | |
| 8689 fi | |
| 8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list
" >&5 | |
| 8691 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | |
| 8692 | |
| 8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla
g" >&5 | |
| 8694 $as_echo_n "checking for -force_load linker flag... " >&6; } | |
| 8695 if ${lt_cv_ld_force_load+:} false; then : | |
| 8696 $as_echo_n "(cached) " >&6 | |
| 8697 else | |
| 8698 lt_cv_ld_force_load=no | |
| 8699 cat > conftest.c << _LT_EOF | |
| 8700 int forced_loaded() { return 2;} | |
| 8701 _LT_EOF | |
| 8702 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | |
| 8703 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | |
| 8704 echo "$AR cru libconftest.a conftest.o" >&5 | |
| 8705 $AR cru libconftest.a conftest.o 2>&5 | |
| 8706 echo "$RANLIB libconftest.a" >&5 | |
| 8707 $RANLIB libconftest.a 2>&5 | |
| 8708 cat > conftest.c << _LT_EOF | |
| 8709 int main() { return 0;} | |
| 8710 _LT_EOF | |
| 8711 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&5 | |
| 8712 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err | |
| 8713 _lt_result=$? | |
| 8714 if test -s conftest.err && $GREP force_load conftest.err; then | |
| 8715 cat conftest.err >&5 | |
| 8716 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conft
est >/dev/null 2>&1 ; then | |
| 8717 lt_cv_ld_force_load=yes | |
| 8718 else | |
| 8719 cat conftest.err >&5 | |
| 8720 fi | |
| 8721 rm -f conftest.err libconftest.a conftest conftest.c | |
| 8722 rm -rf conftest.dSYM | |
| 8723 | |
| 8724 fi | |
| 8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | |
| 8726 $as_echo "$lt_cv_ld_force_load" >&6; } | |
| 8727 case $host_os in | |
| 8728 rhapsody* | darwin1.[012]) | |
| 8729 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | |
| 8730 darwin1.*) | |
| 8731 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres
s' ;; | |
| 8732 darwin*) # darwin 5.x on | |
| 8733 # if running on 10.5 or later, the deployment target defaults | |
| 8734 # to the OS version, if on x86, and 10.4, the deployment | |
| 8735 # target defaults to 10.4. Don't you love it? | |
| 8736 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | |
| 8737 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
| 8738 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 8739 10.[012]*) | |
| 8740 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup
press' ;; | |
| 8741 10.*) | |
| 8742 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 8743 esac | |
| 8744 ;; | |
| 8745 esac | |
| 8746 if test "$lt_cv_apple_cc_single_mod" = "yes"; then | |
| 8747 _lt_dar_single_mod='$single_module' | |
| 8748 fi | |
| 8749 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | |
| 8750 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' | |
| 8751 else | |
| 8752 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym
${lib}' | |
| 8753 fi | |
| 8754 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
| 8755 _lt_dsymutil='~$DSYMUTIL $lib || :' | |
| 8756 else | |
| 8757 _lt_dsymutil= | |
| 8758 fi | |
| 8759 ;; | |
| 8760 esac | |
| 8761 | |
| 8762 for ac_header in dlfcn.h | |
| 8763 do : | |
| 8764 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i
ncludes_default | |
| 8765 " | |
| 8766 if test "x$ac_cv_header_dlfcn_h" = xyes; then : | |
| 8767 cat >>confdefs.h <<_ACEOF | |
| 8768 #define HAVE_DLFCN_H 1 | |
| 8769 _ACEOF | |
| 8770 | |
| 8771 fi | |
| 8772 | |
| 8773 done | |
| 8774 | |
| 8775 | |
| 8776 | |
| 8777 | |
| 8778 | |
| 8779 # Set options | |
| 8780 enable_win32_dll=yes | |
| 8781 | |
| 8782 case $host in | |
| 8783 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | |
| 8784 if test -n "$ac_tool_prefix"; then | |
| 8785 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name
with args. | |
| 8786 set dummy ${ac_tool_prefix}as; ac_word=$2 | |
| 8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8788 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8789 if ${ac_cv_prog_AS+:} false; then : | |
| 8790 $as_echo_n "(cached) " >&6 | |
| 8791 else | |
| 8792 if test -n "$AS"; then | |
| 8793 ac_cv_prog_AS="$AS" # Let the user override the test. | |
| 8794 else | |
| 8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8796 for as_dir in $PATH | |
| 8797 do | |
| 8798 IFS=$as_save_IFS | |
| 8799 test -z "$as_dir" && as_dir=. | |
| 8800 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8802 ac_cv_prog_AS="${ac_tool_prefix}as" | |
| 8803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8804 break 2 | |
| 8805 fi | |
| 8806 done | |
| 8807 done | |
| 8808 IFS=$as_save_IFS | |
| 8809 | |
| 8810 fi | |
| 8811 fi | |
| 8812 AS=$ac_cv_prog_AS | |
| 8813 if test -n "$AS"; then | |
| 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 | |
| 8815 $as_echo "$AS" >&6; } | |
| 8816 else | |
| 8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8818 $as_echo "no" >&6; } | |
| 8819 fi | |
| 8820 | |
| 8821 | |
| 8822 fi | |
| 8823 if test -z "$ac_cv_prog_AS"; then | |
| 8824 ac_ct_AS=$AS | |
| 8825 # Extract the first word of "as", so it can be a program name with args. | |
| 8826 set dummy as; ac_word=$2 | |
| 8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8828 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8829 if ${ac_cv_prog_ac_ct_AS+:} false; then : | |
| 8830 $as_echo_n "(cached) " >&6 | |
| 8831 else | |
| 8832 if test -n "$ac_ct_AS"; then | |
| 8833 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | |
| 8834 else | |
| 8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8836 for as_dir in $PATH | |
| 8837 do | |
| 8838 IFS=$as_save_IFS | |
| 8839 test -z "$as_dir" && as_dir=. | |
| 8840 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8842 ac_cv_prog_ac_ct_AS="as" | |
| 8843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8844 break 2 | |
| 8845 fi | |
| 8846 done | |
| 8847 done | |
| 8848 IFS=$as_save_IFS | |
| 8849 | |
| 8850 fi | |
| 8851 fi | |
| 8852 ac_ct_AS=$ac_cv_prog_ac_ct_AS | |
| 8853 if test -n "$ac_ct_AS"; then | |
| 8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 | |
| 8855 $as_echo "$ac_ct_AS" >&6; } | |
| 8856 else | |
| 8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8858 $as_echo "no" >&6; } | |
| 8859 fi | |
| 8860 | |
| 8861 if test "x$ac_ct_AS" = x; then | |
| 8862 AS="false" | |
| 8863 else | |
| 8864 case $cross_compiling:$ac_tool_warned in | |
| 8865 yes:) | |
| 8866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8868 ac_tool_warned=yes ;; | |
| 8869 esac | |
| 8870 AS=$ac_ct_AS | |
| 8871 fi | |
| 8872 else | |
| 8873 AS="$ac_cv_prog_AS" | |
| 8874 fi | |
| 8875 | |
| 8876 if test -n "$ac_tool_prefix"; then | |
| 8877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program
name with args. | |
| 8878 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8880 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8881 if ${ac_cv_prog_DLLTOOL+:} false; then : | |
| 8882 $as_echo_n "(cached) " >&6 | |
| 8883 else | |
| 8884 if test -n "$DLLTOOL"; then | |
| 8885 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| 8886 else | |
| 8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8888 for as_dir in $PATH | |
| 8889 do | |
| 8890 IFS=$as_save_IFS | |
| 8891 test -z "$as_dir" && as_dir=. | |
| 8892 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8894 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| 8895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8896 break 2 | |
| 8897 fi | |
| 8898 done | |
| 8899 done | |
| 8900 IFS=$as_save_IFS | |
| 8901 | |
| 8902 fi | |
| 8903 fi | |
| 8904 DLLTOOL=$ac_cv_prog_DLLTOOL | |
| 8905 if test -n "$DLLTOOL"; then | |
| 8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | |
| 8907 $as_echo "$DLLTOOL" >&6; } | |
| 8908 else | |
| 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8910 $as_echo "no" >&6; } | |
| 8911 fi | |
| 8912 | |
| 8913 | |
| 8914 fi | |
| 8915 if test -z "$ac_cv_prog_DLLTOOL"; then | |
| 8916 ac_ct_DLLTOOL=$DLLTOOL | |
| 8917 # Extract the first word of "dlltool", so it can be a program name with args. | |
| 8918 set dummy dlltool; ac_word=$2 | |
| 8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8920 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8921 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | |
| 8922 $as_echo_n "(cached) " >&6 | |
| 8923 else | |
| 8924 if test -n "$ac_ct_DLLTOOL"; then | |
| 8925 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
| 8926 else | |
| 8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8928 for as_dir in $PATH | |
| 8929 do | |
| 8930 IFS=$as_save_IFS | |
| 8931 test -z "$as_dir" && as_dir=. | |
| 8932 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8934 ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
| 8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8936 break 2 | |
| 8937 fi | |
| 8938 done | |
| 8939 done | |
| 8940 IFS=$as_save_IFS | |
| 8941 | |
| 8942 fi | |
| 8943 fi | |
| 8944 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
| 8945 if test -n "$ac_ct_DLLTOOL"; then | |
| 8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | |
| 8947 $as_echo "$ac_ct_DLLTOOL" >&6; } | |
| 8948 else | |
| 8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8950 $as_echo "no" >&6; } | |
| 8951 fi | |
| 8952 | |
| 8953 if test "x$ac_ct_DLLTOOL" = x; then | |
| 8954 DLLTOOL="false" | |
| 8955 else | |
| 8956 case $cross_compiling:$ac_tool_warned in | |
| 8957 yes:) | |
| 8958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 8959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 8960 ac_tool_warned=yes ;; | |
| 8961 esac | |
| 8962 DLLTOOL=$ac_ct_DLLTOOL | |
| 8963 fi | |
| 8964 else | |
| 8965 DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| 8966 fi | |
| 8967 | |
| 8968 if test -n "$ac_tool_prefix"; then | |
| 8969 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. | |
| 8970 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| 8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 8972 $as_echo_n "checking for $ac_word... " >&6; } | |
| 8973 if ${ac_cv_prog_OBJDUMP+:} false; then : | |
| 8974 $as_echo_n "(cached) " >&6 | |
| 8975 else | |
| 8976 if test -n "$OBJDUMP"; then | |
| 8977 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| 8978 else | |
| 8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 8980 for as_dir in $PATH | |
| 8981 do | |
| 8982 IFS=$as_save_IFS | |
| 8983 test -z "$as_dir" && as_dir=. | |
| 8984 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 8985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 8986 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| 8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 8988 break 2 | |
| 8989 fi | |
| 8990 done | |
| 8991 done | |
| 8992 IFS=$as_save_IFS | |
| 8993 | |
| 8994 fi | |
| 8995 fi | |
| 8996 OBJDUMP=$ac_cv_prog_OBJDUMP | |
| 8997 if test -n "$OBJDUMP"; then | |
| 8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
| 8999 $as_echo "$OBJDUMP" >&6; } | |
| 9000 else | |
| 9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 9002 $as_echo "no" >&6; } | |
| 9003 fi | |
| 9004 | |
| 9005 | |
| 9006 fi | |
| 9007 if test -z "$ac_cv_prog_OBJDUMP"; then | |
| 9008 ac_ct_OBJDUMP=$OBJDUMP | |
| 9009 # Extract the first word of "objdump", so it can be a program name with args. | |
| 9010 set dummy objdump; ac_word=$2 | |
| 9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 9012 $as_echo_n "checking for $ac_word... " >&6; } | |
| 9013 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | |
| 9014 $as_echo_n "(cached) " >&6 | |
| 9015 else | |
| 9016 if test -n "$ac_ct_OBJDUMP"; then | |
| 9017 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
| 9018 else | |
| 9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 9020 for as_dir in $PATH | |
| 9021 do | |
| 9022 IFS=$as_save_IFS | |
| 9023 test -z "$as_dir" && as_dir=. | |
| 9024 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 9025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 9026 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
| 9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 9028 break 2 | |
| 9029 fi | |
| 9030 done | |
| 9031 done | |
| 9032 IFS=$as_save_IFS | |
| 9033 | |
| 9034 fi | |
| 9035 fi | |
| 9036 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
| 9037 if test -n "$ac_ct_OBJDUMP"; then | |
| 9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
| 9039 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
| 9040 else | |
| 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 9042 $as_echo "no" >&6; } | |
| 9043 fi | |
| 9044 | |
| 9045 if test "x$ac_ct_OBJDUMP" = x; then | |
| 9046 OBJDUMP="false" | |
| 9047 else | |
| 9048 case $cross_compiling:$ac_tool_warned in | |
| 9049 yes:) | |
| 9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 9051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 9052 ac_tool_warned=yes ;; | |
| 9053 esac | |
| 9054 OBJDUMP=$ac_ct_OBJDUMP | |
| 9055 fi | |
| 9056 else | |
| 9057 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| 9058 fi | |
| 9059 | |
| 9060 ;; | |
| 9061 esac | |
| 9062 | |
| 9063 test -z "$AS" && AS=as | |
| 9064 | |
| 9065 | |
| 9066 | |
| 9067 | |
| 9068 | |
| 9069 test -z "$DLLTOOL" && DLLTOOL=dlltool | |
| 9070 | |
| 9071 | |
| 9072 | |
| 9073 | |
| 9074 | |
| 9075 test -z "$OBJDUMP" && OBJDUMP=objdump | |
| 9076 | |
| 9077 | |
| 9078 | |
| 9079 | |
| 9080 | |
| 9081 | |
| 9082 | |
| 9083 enable_dlopen=no | |
| 9084 | |
| 9085 | |
| 9086 | |
| 9087 # Check whether --enable-shared was given. | |
| 9088 if test "${enable_shared+set}" = set; then : | |
| 9089 enableval=$enable_shared; p=${PACKAGE-default} | |
| 9090 case $enableval in | |
| 9091 yes) enable_shared=yes ;; | |
| 9092 no) enable_shared=no ;; | |
| 9093 *) | |
| 9094 enable_shared=no | |
| 9095 # Look at the argument we got. We use all the common list separators. | |
| 9096 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 9097 for pkg in $enableval; do | |
| 9098 IFS="$lt_save_ifs" | |
| 9099 if test "X$pkg" = "X$p"; then | |
| 9100 enable_shared=yes | |
| 9101 fi | |
| 9102 done | |
| 9103 IFS="$lt_save_ifs" | |
| 9104 ;; | |
| 9105 esac | |
| 9106 else | |
| 9107 enable_shared=yes | |
| 9108 fi | |
| 9109 | |
| 9110 | |
| 9111 | |
| 9112 | |
| 9113 | |
| 9114 | |
| 9115 | |
| 9116 | |
| 9117 | |
| 9118 # Check whether --enable-static was given. | |
| 9119 if test "${enable_static+set}" = set; then : | |
| 9120 enableval=$enable_static; p=${PACKAGE-default} | |
| 9121 case $enableval in | |
| 9122 yes) enable_static=yes ;; | |
| 9123 no) enable_static=no ;; | |
| 9124 *) | |
| 9125 enable_static=no | |
| 9126 # Look at the argument we got. We use all the common list separators. | |
| 9127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 9128 for pkg in $enableval; do | |
| 9129 IFS="$lt_save_ifs" | |
| 9130 if test "X$pkg" = "X$p"; then | |
| 9131 enable_static=yes | |
| 9132 fi | |
| 9133 done | |
| 9134 IFS="$lt_save_ifs" | |
| 9135 ;; | |
| 9136 esac | |
| 9137 else | |
| 9138 enable_static=yes | |
| 9139 fi | |
| 9140 | |
| 9141 | |
| 9142 | |
| 9143 | |
| 9144 | |
| 9145 | |
| 9146 | |
| 9147 | |
| 9148 | |
| 9149 | |
| 9150 # Check whether --with-pic was given. | |
| 9151 if test "${with_pic+set}" = set; then : | |
| 9152 withval=$with_pic; lt_p=${PACKAGE-default} | |
| 9153 case $withval in | |
| 9154 yes|no) pic_mode=$withval ;; | |
| 9155 *) | |
| 9156 pic_mode=default | |
| 9157 # Look at the argument we got. We use all the common list separators. | |
| 9158 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 9159 for lt_pkg in $withval; do | |
| 9160 IFS="$lt_save_ifs" | |
| 9161 if test "X$lt_pkg" = "X$lt_p"; then | |
| 9162 pic_mode=yes | |
| 9163 fi | |
| 9164 done | |
| 9165 IFS="$lt_save_ifs" | |
| 9166 ;; | |
| 9167 esac | |
| 9168 else | |
| 9169 pic_mode=default | |
| 9170 fi | |
| 9171 | |
| 9172 | |
| 9173 test -z "$pic_mode" && pic_mode=default | |
| 9174 | |
| 9175 | |
| 9176 | |
| 9177 | |
| 9178 | |
| 9179 | |
| 9180 | |
| 9181 # Check whether --enable-fast-install was given. | |
| 9182 if test "${enable_fast_install+set}" = set; then : | |
| 9183 enableval=$enable_fast_install; p=${PACKAGE-default} | |
| 9184 case $enableval in | |
| 9185 yes) enable_fast_install=yes ;; | |
| 9186 no) enable_fast_install=no ;; | |
| 9187 *) | |
| 9188 enable_fast_install=no | |
| 9189 # Look at the argument we got. We use all the common list separators. | |
| 9190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 9191 for pkg in $enableval; do | |
| 9192 IFS="$lt_save_ifs" | |
| 9193 if test "X$pkg" = "X$p"; then | |
| 9194 enable_fast_install=yes | |
| 9195 fi | |
| 9196 done | |
| 9197 IFS="$lt_save_ifs" | |
| 9198 ;; | |
| 9199 esac | |
| 9200 else | |
| 9201 enable_fast_install=yes | |
| 9202 fi | |
| 9203 | |
| 9204 | |
| 9205 | |
| 9206 | |
| 9207 | |
| 9208 | |
| 9209 | |
| 9210 | |
| 9211 | |
| 9212 | |
| 9213 | |
| 9214 # This can be used to rebuild libtool when needed | |
| 9215 LIBTOOL_DEPS="$ltmain" | |
| 9216 | |
| 9217 # Always use our own libtool. | |
| 9218 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | |
| 9219 | |
| 9220 | |
| 9221 | |
| 9222 | |
| 9223 | |
| 9224 | |
| 9225 | |
| 9226 | |
| 9227 | |
| 9228 | |
| 9229 | |
| 9230 | |
| 9231 | |
| 9232 | |
| 9233 | |
| 9234 | |
| 9235 | |
| 9236 | |
| 9237 | |
| 9238 | |
| 9239 | |
| 9240 | |
| 9241 | |
| 9242 | |
| 9243 | |
| 9244 | |
| 9245 | |
| 9246 | |
| 9247 | |
| 9248 | |
| 9249 test -z "$LN_S" && LN_S="ln -s" | |
| 9250 | |
| 9251 | |
| 9252 | |
| 9253 | |
| 9254 | |
| 9255 | |
| 9256 | |
| 9257 | |
| 9258 | |
| 9259 | |
| 9260 | |
| 9261 | |
| 9262 | |
| 9263 | |
| 9264 if test -n "${ZSH_VERSION+set}" ; then | |
| 9265 setopt NO_GLOB_SUBST | |
| 9266 fi | |
| 9267 | |
| 9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | |
| 9269 $as_echo_n "checking for objdir... " >&6; } | |
| 9270 if ${lt_cv_objdir+:} false; then : | |
| 9271 $as_echo_n "(cached) " >&6 | |
| 9272 else | |
| 9273 rm -f .libs 2>/dev/null | |
| 9274 mkdir .libs 2>/dev/null | |
| 9275 if test -d .libs; then | |
| 9276 lt_cv_objdir=.libs | |
| 9277 else | |
| 9278 # MS-DOS does not allow filenames that begin with a dot. | |
| 9279 lt_cv_objdir=_libs | |
| 9280 fi | |
| 9281 rmdir .libs 2>/dev/null | |
| 9282 fi | |
| 9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | |
| 9284 $as_echo "$lt_cv_objdir" >&6; } | |
| 9285 objdir=$lt_cv_objdir | |
| 9286 | |
| 9287 | |
| 9288 | |
| 9289 | |
| 9290 | |
| 9291 cat >>confdefs.h <<_ACEOF | |
| 9292 #define LT_OBJDIR "$lt_cv_objdir/" | |
| 9293 _ACEOF | |
| 9294 | |
| 9295 | |
| 9296 | |
| 9297 | |
| 9298 case $host_os in | |
| 9299 aix3*) | |
| 9300 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 9301 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 9302 # vanish in a puff of smoke. | |
| 9303 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 9304 COLLECT_NAMES= | |
| 9305 export COLLECT_NAMES | |
| 9306 fi | |
| 9307 ;; | |
| 9308 esac | |
| 9309 | |
| 9310 # Global variables: | |
| 9311 ofile=libtool | |
| 9312 can_build_shared=yes | |
| 9313 | |
| 9314 # All known linkers require a `.a' archive for static linking (except MSVC, | |
| 9315 # which needs '.lib'). | |
| 9316 libext=a | |
| 9317 | |
| 9318 with_gnu_ld="$lt_cv_prog_gnu_ld" | |
| 9319 | |
| 9320 old_CC="$CC" | |
| 9321 old_CFLAGS="$CFLAGS" | |
| 9322 | |
| 9323 # Set sane defaults for various variables | |
| 9324 test -z "$CC" && CC=cc | |
| 9325 test -z "$LTCC" && LTCC=$CC | |
| 9326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | |
| 9327 test -z "$LD" && LD=ld | |
| 9328 test -z "$ac_objext" && ac_objext=o | |
| 9329 | |
| 9330 for cc_temp in $compiler""; do | |
| 9331 case $cc_temp in | |
| 9332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 9333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 9334 \-*) ;; | |
| 9335 *) break;; | |
| 9336 esac | |
| 9337 done | |
| 9338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | |
| 9339 | |
| 9340 | |
| 9341 # Only perform the check for file, if the check method requires it | |
| 9342 test -z "$MAGIC_CMD" && MAGIC_CMD=file | |
| 9343 case $deplibs_check_method in | |
| 9344 file_magic*) | |
| 9345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | |
| 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 | |
| 9347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | |
| 9348 if ${lt_cv_path_MAGIC_CMD+:} false; then : | |
| 9349 $as_echo_n "(cached) " >&6 | |
| 9350 else | |
| 9351 case $MAGIC_CMD in | |
| 9352 [\\/*] | ?:[\\/]*) | |
| 9353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. | |
| 9354 ;; | |
| 9355 *) | |
| 9356 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 9357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 9358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 9359 for ac_dir in $ac_dummy; do | |
| 9360 IFS="$lt_save_ifs" | |
| 9361 test -z "$ac_dir" && ac_dir=. | |
| 9362 if test -f $ac_dir/${ac_tool_prefix}file; then | |
| 9363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | |
| 9364 if test -n "$file_magic_test_file"; then | |
| 9365 case $deplibs_check_method in | |
| 9366 "file_magic "*) | |
| 9367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 9368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 9369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 9370 $EGREP "$file_magic_regex" > /dev/null; then | |
| 9371 : | |
| 9372 else | |
| 9373 cat <<_LT_EOF 1>&2 | |
| 9374 | |
| 9375 *** Warning: the command libtool uses to detect shared libraries, | |
| 9376 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 9377 *** The result is that libtool may fail to recognize shared libraries | |
| 9378 *** as such. This will affect the creation of libtool libraries that | |
| 9379 *** depend on shared libraries, but programs linked with such libtool | |
| 9380 *** libraries will work regardless of this problem. Nevertheless, you | |
| 9381 *** may want to report the problem to your system manager and/or to | |
| 9382 *** bug-libtool@gnu.org | |
| 9383 | |
| 9384 _LT_EOF | |
| 9385 fi ;; | |
| 9386 esac | |
| 9387 fi | |
| 9388 break | |
| 9389 fi | |
| 9390 done | |
| 9391 IFS="$lt_save_ifs" | |
| 9392 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 9393 ;; | |
| 9394 esac | |
| 9395 fi | |
| 9396 | |
| 9397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 9398 if test -n "$MAGIC_CMD"; then | |
| 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 9400 $as_echo "$MAGIC_CMD" >&6; } | |
| 9401 else | |
| 9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 9403 $as_echo "no" >&6; } | |
| 9404 fi | |
| 9405 | |
| 9406 | |
| 9407 | |
| 9408 | |
| 9409 | |
| 9410 if test -z "$lt_cv_path_MAGIC_CMD"; then | |
| 9411 if test -n "$ac_tool_prefix"; then | |
| 9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | |
| 9413 $as_echo_n "checking for file... " >&6; } | |
| 9414 if ${lt_cv_path_MAGIC_CMD+:} false; then : | |
| 9415 $as_echo_n "(cached) " >&6 | |
| 9416 else | |
| 9417 case $MAGIC_CMD in | |
| 9418 [\\/*] | ?:[\\/]*) | |
| 9419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. | |
| 9420 ;; | |
| 9421 *) | |
| 9422 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 9423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 9424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 9425 for ac_dir in $ac_dummy; do | |
| 9426 IFS="$lt_save_ifs" | |
| 9427 test -z "$ac_dir" && ac_dir=. | |
| 9428 if test -f $ac_dir/file; then | |
| 9429 lt_cv_path_MAGIC_CMD="$ac_dir/file" | |
| 9430 if test -n "$file_magic_test_file"; then | |
| 9431 case $deplibs_check_method in | |
| 9432 "file_magic "*) | |
| 9433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 9434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 9435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 9436 $EGREP "$file_magic_regex" > /dev/null; then | |
| 9437 : | |
| 9438 else | |
| 9439 cat <<_LT_EOF 1>&2 | |
| 9440 | |
| 9441 *** Warning: the command libtool uses to detect shared libraries, | |
| 9442 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 9443 *** The result is that libtool may fail to recognize shared libraries | |
| 9444 *** as such. This will affect the creation of libtool libraries that | |
| 9445 *** depend on shared libraries, but programs linked with such libtool | |
| 9446 *** libraries will work regardless of this problem. Nevertheless, you | |
| 9447 *** may want to report the problem to your system manager and/or to | |
| 9448 *** bug-libtool@gnu.org | |
| 9449 | |
| 9450 _LT_EOF | |
| 9451 fi ;; | |
| 9452 esac | |
| 9453 fi | |
| 9454 break | |
| 9455 fi | |
| 9456 done | |
| 9457 IFS="$lt_save_ifs" | |
| 9458 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 9459 ;; | |
| 9460 esac | |
| 9461 fi | |
| 9462 | |
| 9463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 9464 if test -n "$MAGIC_CMD"; then | |
| 9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 9466 $as_echo "$MAGIC_CMD" >&6; } | |
| 9467 else | |
| 9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 9469 $as_echo "no" >&6; } | |
| 9470 fi | |
| 9471 | |
| 9472 | |
| 9473 else | |
| 9474 MAGIC_CMD=: | |
| 9475 fi | |
| 9476 fi | |
| 9477 | |
| 9478 fi | |
| 9479 ;; | |
| 9480 esac | |
| 9481 | |
| 9482 # Use C for the default configuration in the libtool script | |
| 9483 | |
| 9484 lt_save_CC="$CC" | |
| 9485 ac_ext=c | |
| 9486 ac_cpp='$CPP $CPPFLAGS' | |
| 9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 9490 | |
| 9491 | |
| 9492 # Source file extension for C test sources. | |
| 9493 ac_ext=c | |
| 9494 | |
| 9495 # Object file extension for compiled C test sources. | |
| 9496 objext=o | |
| 9497 objext=$objext | |
| 9498 | |
| 9499 # Code to be used in simple compile tests | |
| 9500 lt_simple_compile_test_code="int some_variable = 0;" | |
| 9501 | |
| 9502 # Code to be used in simple link tests | |
| 9503 lt_simple_link_test_code='int main(){return(0);}' | |
| 9504 | |
| 9505 | |
| 9506 | |
| 9507 | |
| 9508 | |
| 9509 | |
| 9510 | |
| 9511 # If no C compiler was specified, use CC. | |
| 9512 LTCC=${LTCC-"$CC"} | |
| 9513 | |
| 9514 # If no C compiler flags were specified, use CFLAGS. | |
| 9515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 9516 | |
| 9517 # Allow CC to be a program name with arguments. | |
| 9518 compiler=$CC | |
| 9519 | |
| 9520 # Save the default compiler, since it gets overwritten when the other | |
| 9521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | |
| 9522 compiler_DEFAULT=$CC | |
| 9523 | |
| 9524 # save warnings/boilerplate of simple test code | |
| 9525 ac_outfile=conftest.$ac_objext | |
| 9526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | |
| 9527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 9528 _lt_compiler_boilerplate=`cat conftest.err` | |
| 9529 $RM conftest* | |
| 9530 | |
| 9531 ac_outfile=conftest.$ac_objext | |
| 9532 echo "$lt_simple_link_test_code" >conftest.$ac_ext | |
| 9533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 9534 _lt_linker_boilerplate=`cat conftest.err` | |
| 9535 $RM -r conftest* | |
| 9536 | |
| 9537 | |
| 9538 if test -n "$compiler"; then | |
| 9539 | |
| 9540 lt_prog_compiler_no_builtin_flag= | |
| 9541 | |
| 9542 if test "$GCC" = yes; then | |
| 9543 case $cc_basename in | |
| 9544 nvcc*) | |
| 9545 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | |
| 9546 *) | |
| 9547 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | |
| 9548 esac | |
| 9549 | |
| 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r
tti -fno-exceptions" >&5 | |
| 9551 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | |
| 9552 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | |
| 9553 $as_echo_n "(cached) " >&6 | |
| 9554 else | |
| 9555 lt_cv_prog_compiler_rtti_exceptions=no | |
| 9556 ac_outfile=conftest.$ac_objext | |
| 9557 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 9558 lt_compiler_flag="-fno-rtti -fno-exceptions" | |
| 9559 # Insert the option either (1) after the last *FLAGS variable, or | |
| 9560 # (2) before a word containing "conftest.", or (3) at the end. | |
| 9561 # Note that $ac_compile itself does not contain backslashes and begins | |
| 9562 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 9563 # The option is referenced via a variable to avoid confusing sed. | |
| 9564 lt_compile=`echo "$ac_compile" | $SED \ | |
| 9565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 9566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 9567 -e 's:$: $lt_compiler_flag:'` | |
| 9568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 9569 (eval "$lt_compile" 2>conftest.err) | |
| 9570 ac_status=$? | |
| 9571 cat conftest.err >&5 | |
| 9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9573 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 9574 # The compiler can only warn and ignore the option if not recognized | |
| 9575 # So say no if there are warnings other than the usual output. | |
| 9576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 9577 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 9578 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | |
| 9579 lt_cv_prog_compiler_rtti_exceptions=yes | |
| 9580 fi | |
| 9581 fi | |
| 9582 $RM conftest* | |
| 9583 | |
| 9584 fi | |
| 9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep
tions" >&5 | |
| 9586 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | |
| 9587 | |
| 9588 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | |
| 9589 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" | |
| 9590 else | |
| 9591 : | |
| 9592 fi | |
| 9593 | |
| 9594 fi | |
| 9595 | |
| 9596 | |
| 9597 | |
| 9598 | |
| 9599 | |
| 9600 | |
| 9601 lt_prog_compiler_wl= | |
| 9602 lt_prog_compiler_pic= | |
| 9603 lt_prog_compiler_static= | |
| 9604 | |
| 9605 | |
| 9606 if test "$GCC" = yes; then | |
| 9607 lt_prog_compiler_wl='-Wl,' | |
| 9608 lt_prog_compiler_static='-static' | |
| 9609 | |
| 9610 case $host_os in | |
| 9611 aix*) | |
| 9612 # All AIX code is PIC. | |
| 9613 if test "$host_cpu" = ia64; then | |
| 9614 # AIX 5 now supports IA64 processor | |
| 9615 lt_prog_compiler_static='-Bstatic' | |
| 9616 fi | |
| 9617 ;; | |
| 9618 | |
| 9619 amigaos*) | |
| 9620 case $host_cpu in | |
| 9621 powerpc) | |
| 9622 # see comment about AmigaOS4 .so support | |
| 9623 lt_prog_compiler_pic='-fPIC' | |
| 9624 ;; | |
| 9625 m68k) | |
| 9626 # FIXME: we need at least 68020 code to build shared libraries, but | |
| 9627 # adding the `-m68020' flag to GCC prevents building anything better
, | |
| 9628 # like `-m68040'. | |
| 9629 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | |
| 9630 ;; | |
| 9631 esac | |
| 9632 ;; | |
| 9633 | |
| 9634 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
| 9635 # PIC is the default for these OSes. | |
| 9636 ;; | |
| 9637 | |
| 9638 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 9639 # This hack is so that the source file can tell whether it is being | |
| 9640 # built for inclusion in a dll (and should export symbols for example). | |
| 9641 # Although the cygwin gcc ignores -fPIC, still need this for old-style | |
| 9642 # (--disable-auto-import) libraries | |
| 9643 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 9644 ;; | |
| 9645 | |
| 9646 darwin* | rhapsody*) | |
| 9647 # PIC is the default on this platform | |
| 9648 # Common symbols not allowed in MH_DYLIB files | |
| 9649 lt_prog_compiler_pic='-fno-common' | |
| 9650 ;; | |
| 9651 | |
| 9652 haiku*) | |
| 9653 # PIC is the default for Haiku. | |
| 9654 # The "-static" flag exists, but is broken. | |
| 9655 lt_prog_compiler_static= | |
| 9656 ;; | |
| 9657 | |
| 9658 hpux*) | |
| 9659 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | |
| 9660 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | |
| 9661 # sets the default TLS model and affects inlining. | |
| 9662 case $host_cpu in | |
| 9663 hppa*64*) | |
| 9664 # +Z the default | |
| 9665 ;; | |
| 9666 *) | |
| 9667 lt_prog_compiler_pic='-fPIC' | |
| 9668 ;; | |
| 9669 esac | |
| 9670 ;; | |
| 9671 | |
| 9672 interix[3-9]*) | |
| 9673 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
| 9674 # Instead, we relocate shared libraries at runtime. | |
| 9675 ;; | |
| 9676 | |
| 9677 msdosdjgpp*) | |
| 9678 # Just because we use GCC doesn't mean we suddenly get shared libraries | |
| 9679 # on systems that don't support them. | |
| 9680 lt_prog_compiler_can_build_shared=no | |
| 9681 enable_shared=no | |
| 9682 ;; | |
| 9683 | |
| 9684 *nto* | *qnx*) | |
| 9685 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 9686 # it will coredump. | |
| 9687 lt_prog_compiler_pic='-fPIC -shared' | |
| 9688 ;; | |
| 9689 | |
| 9690 sysv4*MP*) | |
| 9691 if test -d /usr/nec; then | |
| 9692 lt_prog_compiler_pic=-Kconform_pic | |
| 9693 fi | |
| 9694 ;; | |
| 9695 | |
| 9696 *) | |
| 9697 lt_prog_compiler_pic='-fPIC' | |
| 9698 ;; | |
| 9699 esac | |
| 9700 | |
| 9701 case $cc_basename in | |
| 9702 nvcc*) # Cuda Compiler Driver 2.2 | |
| 9703 lt_prog_compiler_wl='-Xlinker ' | |
| 9704 if test -n "$lt_prog_compiler_pic"; then | |
| 9705 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" | |
| 9706 fi | |
| 9707 ;; | |
| 9708 esac | |
| 9709 else | |
| 9710 # PORTME Check for flag to pass linker flags through the system compiler. | |
| 9711 case $host_os in | |
| 9712 aix*) | |
| 9713 lt_prog_compiler_wl='-Wl,' | |
| 9714 if test "$host_cpu" = ia64; then | |
| 9715 # AIX 5 now supports IA64 processor | |
| 9716 lt_prog_compiler_static='-Bstatic' | |
| 9717 else | |
| 9718 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | |
| 9719 fi | |
| 9720 ;; | |
| 9721 | |
| 9722 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 9723 # This hack is so that the source file can tell whether it is being | |
| 9724 # built for inclusion in a dll (and should export symbols for example). | |
| 9725 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 9726 ;; | |
| 9727 | |
| 9728 hpux9* | hpux10* | hpux11*) | |
| 9729 lt_prog_compiler_wl='-Wl,' | |
| 9730 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | |
| 9731 # not for PA HP-UX. | |
| 9732 case $host_cpu in | |
| 9733 hppa*64*|ia64*) | |
| 9734 # +Z the default | |
| 9735 ;; | |
| 9736 *) | |
| 9737 lt_prog_compiler_pic='+Z' | |
| 9738 ;; | |
| 9739 esac | |
| 9740 # Is there a better lt_prog_compiler_static that works with the bundled CC
? | |
| 9741 lt_prog_compiler_static='${wl}-a ${wl}archive' | |
| 9742 ;; | |
| 9743 | |
| 9744 irix5* | irix6* | nonstopux*) | |
| 9745 lt_prog_compiler_wl='-Wl,' | |
| 9746 # PIC (with -KPIC) is the default. | |
| 9747 lt_prog_compiler_static='-non_shared' | |
| 9748 ;; | |
| 9749 | |
| 9750 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |
| 9751 case $cc_basename in | |
| 9752 # old Intel for x86_64 which still supported -KPIC. | |
| 9753 ecc*) | |
| 9754 lt_prog_compiler_wl='-Wl,' | |
| 9755 lt_prog_compiler_pic='-KPIC' | |
| 9756 lt_prog_compiler_static='-static' | |
| 9757 ;; | |
| 9758 # icc used to be incompatible with GCC. | |
| 9759 # ICC 10 doesn't accept -KPIC any more. | |
| 9760 icc* | ifort*) | |
| 9761 lt_prog_compiler_wl='-Wl,' | |
| 9762 lt_prog_compiler_pic='-fPIC' | |
| 9763 lt_prog_compiler_static='-static' | |
| 9764 ;; | |
| 9765 # Lahey Fortran 8.1. | |
| 9766 lf95*) | |
| 9767 lt_prog_compiler_wl='-Wl,' | |
| 9768 lt_prog_compiler_pic='--shared' | |
| 9769 lt_prog_compiler_static='--static' | |
| 9770 ;; | |
| 9771 nagfor*) | |
| 9772 # NAG Fortran compiler | |
| 9773 lt_prog_compiler_wl='-Wl,-Wl,,' | |
| 9774 lt_prog_compiler_pic='-PIC' | |
| 9775 lt_prog_compiler_static='-Bstatic' | |
| 9776 ;; | |
| 9777 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 9778 # Portland Group compilers (*not* the Pentium gcc compiler, | |
| 9779 # which looks to be a dead project) | |
| 9780 lt_prog_compiler_wl='-Wl,' | |
| 9781 lt_prog_compiler_pic='-fpic' | |
| 9782 lt_prog_compiler_static='-Bstatic' | |
| 9783 ;; | |
| 9784 ccc*) | |
| 9785 lt_prog_compiler_wl='-Wl,' | |
| 9786 # All Alpha code is PIC. | |
| 9787 lt_prog_compiler_static='-non_shared' | |
| 9788 ;; | |
| 9789 xl* | bgxl* | bgf* | mpixl*) | |
| 9790 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | |
| 9791 lt_prog_compiler_wl='-Wl,' | |
| 9792 lt_prog_compiler_pic='-qpic' | |
| 9793 lt_prog_compiler_static='-qstaticlink' | |
| 9794 ;; | |
| 9795 *) | |
| 9796 case `$CC -V 2>&1 | sed 5q` in | |
| 9797 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*
) | |
| 9798 # Sun Fortran 8.3 passes all unrecognized flags to the linker | |
| 9799 lt_prog_compiler_pic='-KPIC' | |
| 9800 lt_prog_compiler_static='-Bstatic' | |
| 9801 lt_prog_compiler_wl='' | |
| 9802 ;; | |
| 9803 *Sun\ F* | *Sun*Fortran*) | |
| 9804 lt_prog_compiler_pic='-KPIC' | |
| 9805 lt_prog_compiler_static='-Bstatic' | |
| 9806 lt_prog_compiler_wl='-Qoption ld ' | |
| 9807 ;; | |
| 9808 *Sun\ C*) | |
| 9809 # Sun C 5.9 | |
| 9810 lt_prog_compiler_pic='-KPIC' | |
| 9811 lt_prog_compiler_static='-Bstatic' | |
| 9812 lt_prog_compiler_wl='-Wl,' | |
| 9813 ;; | |
| 9814 *Intel*\ [CF]*Compiler*) | |
| 9815 lt_prog_compiler_wl='-Wl,' | |
| 9816 lt_prog_compiler_pic='-fPIC' | |
| 9817 lt_prog_compiler_static='-static' | |
| 9818 ;; | |
| 9819 *Portland\ Group*) | |
| 9820 lt_prog_compiler_wl='-Wl,' | |
| 9821 lt_prog_compiler_pic='-fpic' | |
| 9822 lt_prog_compiler_static='-Bstatic' | |
| 9823 ;; | |
| 9824 esac | |
| 9825 ;; | |
| 9826 esac | |
| 9827 ;; | |
| 9828 | |
| 9829 newsos6) | |
| 9830 lt_prog_compiler_pic='-KPIC' | |
| 9831 lt_prog_compiler_static='-Bstatic' | |
| 9832 ;; | |
| 9833 | |
| 9834 *nto* | *qnx*) | |
| 9835 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 9836 # it will coredump. | |
| 9837 lt_prog_compiler_pic='-fPIC -shared' | |
| 9838 ;; | |
| 9839 | |
| 9840 osf3* | osf4* | osf5*) | |
| 9841 lt_prog_compiler_wl='-Wl,' | |
| 9842 # All OSF/1 code is PIC. | |
| 9843 lt_prog_compiler_static='-non_shared' | |
| 9844 ;; | |
| 9845 | |
| 9846 rdos*) | |
| 9847 lt_prog_compiler_static='-non_shared' | |
| 9848 ;; | |
| 9849 | |
| 9850 solaris*) | |
| 9851 lt_prog_compiler_pic='-KPIC' | |
| 9852 lt_prog_compiler_static='-Bstatic' | |
| 9853 case $cc_basename in | |
| 9854 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
| 9855 lt_prog_compiler_wl='-Qoption ld ';; | |
| 9856 *) | |
| 9857 lt_prog_compiler_wl='-Wl,';; | |
| 9858 esac | |
| 9859 ;; | |
| 9860 | |
| 9861 sunos4*) | |
| 9862 lt_prog_compiler_wl='-Qoption ld ' | |
| 9863 lt_prog_compiler_pic='-PIC' | |
| 9864 lt_prog_compiler_static='-Bstatic' | |
| 9865 ;; | |
| 9866 | |
| 9867 sysv4 | sysv4.2uw2* | sysv4.3*) | |
| 9868 lt_prog_compiler_wl='-Wl,' | |
| 9869 lt_prog_compiler_pic='-KPIC' | |
| 9870 lt_prog_compiler_static='-Bstatic' | |
| 9871 ;; | |
| 9872 | |
| 9873 sysv4*MP*) | |
| 9874 if test -d /usr/nec ;then | |
| 9875 lt_prog_compiler_pic='-Kconform_pic' | |
| 9876 lt_prog_compiler_static='-Bstatic' | |
| 9877 fi | |
| 9878 ;; | |
| 9879 | |
| 9880 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
| 9881 lt_prog_compiler_wl='-Wl,' | |
| 9882 lt_prog_compiler_pic='-KPIC' | |
| 9883 lt_prog_compiler_static='-Bstatic' | |
| 9884 ;; | |
| 9885 | |
| 9886 unicos*) | |
| 9887 lt_prog_compiler_wl='-Wl,' | |
| 9888 lt_prog_compiler_can_build_shared=no | |
| 9889 ;; | |
| 9890 | |
| 9891 uts4*) | |
| 9892 lt_prog_compiler_pic='-pic' | |
| 9893 lt_prog_compiler_static='-Bstatic' | |
| 9894 ;; | |
| 9895 | |
| 9896 *) | |
| 9897 lt_prog_compiler_can_build_shared=no | |
| 9898 ;; | |
| 9899 esac | |
| 9900 fi | |
| 9901 | |
| 9902 case $host_os in | |
| 9903 # For platforms which do not support PIC, -DPIC is meaningless: | |
| 9904 *djgpp*) | |
| 9905 lt_prog_compiler_pic= | |
| 9906 ;; | |
| 9907 *) | |
| 9908 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | |
| 9909 ;; | |
| 9910 esac | |
| 9911 | |
| 9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 | |
| 9913 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | |
| 9914 if ${lt_cv_prog_compiler_pic+:} false; then : | |
| 9915 $as_echo_n "(cached) " >&6 | |
| 9916 else | |
| 9917 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic | |
| 9918 fi | |
| 9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 | |
| 9920 $as_echo "$lt_cv_prog_compiler_pic" >&6; } | |
| 9921 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic | |
| 9922 | |
| 9923 # | |
| 9924 # Check to make sure the PIC flag actually works. | |
| 9925 # | |
| 9926 if test -n "$lt_prog_compiler_pic"; then | |
| 9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 | |
| 9928 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} | |
| 9929 if ${lt_cv_prog_compiler_pic_works+:} false; then : | |
| 9930 $as_echo_n "(cached) " >&6 | |
| 9931 else | |
| 9932 lt_cv_prog_compiler_pic_works=no | |
| 9933 ac_outfile=conftest.$ac_objext | |
| 9934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 9935 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | |
| 9936 # Insert the option either (1) after the last *FLAGS variable, or | |
| 9937 # (2) before a word containing "conftest.", or (3) at the end. | |
| 9938 # Note that $ac_compile itself does not contain backslashes and begins | |
| 9939 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 9940 # The option is referenced via a variable to avoid confusing sed. | |
| 9941 lt_compile=`echo "$ac_compile" | $SED \ | |
| 9942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 9943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 9944 -e 's:$: $lt_compiler_flag:'` | |
| 9945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 9946 (eval "$lt_compile" 2>conftest.err) | |
| 9947 ac_status=$? | |
| 9948 cat conftest.err >&5 | |
| 9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 9950 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 9951 # The compiler can only warn and ignore the option if not recognized | |
| 9952 # So say no if there are warnings other than the usual output. | |
| 9953 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 9954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 9955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | |
| 9956 lt_cv_prog_compiler_pic_works=yes | |
| 9957 fi | |
| 9958 fi | |
| 9959 $RM conftest* | |
| 9960 | |
| 9961 fi | |
| 9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 | |
| 9963 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | |
| 9964 | |
| 9965 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | |
| 9966 case $lt_prog_compiler_pic in | |
| 9967 "" | " "*) ;; | |
| 9968 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | |
| 9969 esac | |
| 9970 else | |
| 9971 lt_prog_compiler_pic= | |
| 9972 lt_prog_compiler_can_build_shared=no | |
| 9973 fi | |
| 9974 | |
| 9975 fi | |
| 9976 | |
| 9977 | |
| 9978 | |
| 9979 | |
| 9980 | |
| 9981 | |
| 9982 | |
| 9983 | |
| 9984 | |
| 9985 | |
| 9986 | |
| 9987 # | |
| 9988 # Check to make sure the static flag actually works. | |
| 9989 # | |
| 9990 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | |
| 9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 | |
| 9992 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } | |
| 9993 if ${lt_cv_prog_compiler_static_works+:} false; then : | |
| 9994 $as_echo_n "(cached) " >&6 | |
| 9995 else | |
| 9996 lt_cv_prog_compiler_static_works=no | |
| 9997 save_LDFLAGS="$LDFLAGS" | |
| 9998 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
| 9999 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 10000 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 10001 # The linker can only warn and ignore the option if not recognized | |
| 10002 # So say no if there are warnings | |
| 10003 if test -s conftest.err; then | |
| 10004 # Append any errors to the config.log. | |
| 10005 cat conftest.err 1>&5 | |
| 10006 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 10007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 10008 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 10009 lt_cv_prog_compiler_static_works=yes | |
| 10010 fi | |
| 10011 else | |
| 10012 lt_cv_prog_compiler_static_works=yes | |
| 10013 fi | |
| 10014 fi | |
| 10015 $RM -r conftest* | |
| 10016 LDFLAGS="$save_LDFLAGS" | |
| 10017 | |
| 10018 fi | |
| 10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor
ks" >&5 | |
| 10020 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | |
| 10021 | |
| 10022 if test x"$lt_cv_prog_compiler_static_works" = xyes; then | |
| 10023 : | |
| 10024 else | |
| 10025 lt_prog_compiler_static= | |
| 10026 fi | |
| 10027 | |
| 10028 | |
| 10029 | |
| 10030 | |
| 10031 | |
| 10032 | |
| 10033 | |
| 10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
| 10035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 10036 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
| 10037 $as_echo_n "(cached) " >&6 | |
| 10038 else | |
| 10039 lt_cv_prog_compiler_c_o=no | |
| 10040 $RM -r conftest 2>/dev/null | |
| 10041 mkdir conftest | |
| 10042 cd conftest | |
| 10043 mkdir out | |
| 10044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 10045 | |
| 10046 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 10047 # Insert the option either (1) after the last *FLAGS variable, or | |
| 10048 # (2) before a word containing "conftest.", or (3) at the end. | |
| 10049 # Note that $ac_compile itself does not contain backslashes and begins | |
| 10050 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 10051 lt_compile=`echo "$ac_compile" | $SED \ | |
| 10052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 10053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 10054 -e 's:$: $lt_compiler_flag:'` | |
| 10055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 10056 (eval "$lt_compile" 2>out/conftest.err) | |
| 10057 ac_status=$? | |
| 10058 cat out/conftest.err >&5 | |
| 10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 10060 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 10061 then | |
| 10062 # The compiler can only warn and ignore the option if not recognized | |
| 10063 # So say no if there are warnings | |
| 10064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 10065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 10066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
| 10067 lt_cv_prog_compiler_c_o=yes | |
| 10068 fi | |
| 10069 fi | |
| 10070 chmod u+w . 2>&5 | |
| 10071 $RM conftest* | |
| 10072 # SGI C++ compiler will create directory out/ii_files/ for | |
| 10073 # template instantiation | |
| 10074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 10075 $RM out/* && rmdir out | |
| 10076 cd .. | |
| 10077 $RM -r conftest | |
| 10078 $RM conftest* | |
| 10079 | |
| 10080 fi | |
| 10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 10082 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 10083 | |
| 10084 | |
| 10085 | |
| 10086 | |
| 10087 | |
| 10088 | |
| 10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
| 10090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 10091 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
| 10092 $as_echo_n "(cached) " >&6 | |
| 10093 else | |
| 10094 lt_cv_prog_compiler_c_o=no | |
| 10095 $RM -r conftest 2>/dev/null | |
| 10096 mkdir conftest | |
| 10097 cd conftest | |
| 10098 mkdir out | |
| 10099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 10100 | |
| 10101 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 10102 # Insert the option either (1) after the last *FLAGS variable, or | |
| 10103 # (2) before a word containing "conftest.", or (3) at the end. | |
| 10104 # Note that $ac_compile itself does not contain backslashes and begins | |
| 10105 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 10106 lt_compile=`echo "$ac_compile" | $SED \ | |
| 10107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 10108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 10109 -e 's:$: $lt_compiler_flag:'` | |
| 10110 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 10111 (eval "$lt_compile" 2>out/conftest.err) | |
| 10112 ac_status=$? | |
| 10113 cat out/conftest.err >&5 | |
| 10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 10115 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 10116 then | |
| 10117 # The compiler can only warn and ignore the option if not recognized | |
| 10118 # So say no if there are warnings | |
| 10119 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 10120 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 10121 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
| 10122 lt_cv_prog_compiler_c_o=yes | |
| 10123 fi | |
| 10124 fi | |
| 10125 chmod u+w . 2>&5 | |
| 10126 $RM conftest* | |
| 10127 # SGI C++ compiler will create directory out/ii_files/ for | |
| 10128 # template instantiation | |
| 10129 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 10130 $RM out/* && rmdir out | |
| 10131 cd .. | |
| 10132 $RM -r conftest | |
| 10133 $RM conftest* | |
| 10134 | |
| 10135 fi | |
| 10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 10137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 10138 | |
| 10139 | |
| 10140 | |
| 10141 | |
| 10142 hard_links="nottested" | |
| 10143 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | |
| 10144 # do not overwrite the value of need_locks provided by the user | |
| 10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin
ks" >&5 | |
| 10146 $as_echo_n "checking if we can lock with hard links... " >&6; } | |
| 10147 hard_links=yes | |
| 10148 $RM conftest* | |
| 10149 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 10150 touch conftest.a | |
| 10151 ln conftest.a conftest.b 2>&5 || hard_links=no | |
| 10152 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | |
| 10154 $as_echo "$hard_links" >&6; } | |
| 10155 if test "$hard_links" = no; then | |
| 10156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`
-c -o', so \`make -j' may be unsafe" >&5 | |
| 10157 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may b
e unsafe" >&2;} | |
| 10158 need_locks=warn | |
| 10159 fi | |
| 10160 else | |
| 10161 need_locks=no | |
| 10162 fi | |
| 10163 | |
| 10164 | |
| 10165 | |
| 10166 | |
| 10167 | |
| 10168 | |
| 10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker
($LD) supports shared libraries" >&5 | |
| 10170 $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
s... " >&6; } | |
| 10171 | |
| 10172 runpath_var= | |
| 10173 allow_undefined_flag= | |
| 10174 always_export_symbols=no | |
| 10175 archive_cmds= | |
| 10176 archive_expsym_cmds= | |
| 10177 compiler_needs_object=no | |
| 10178 enable_shared_with_static_runtimes=no | |
| 10179 export_dynamic_flag_spec= | |
| 10180 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\
''s/.* //'\'' | sort | uniq > $export_symbols' | |
| 10181 hardcode_automatic=no | |
| 10182 hardcode_direct=no | |
| 10183 hardcode_direct_absolute=no | |
| 10184 hardcode_libdir_flag_spec= | |
| 10185 hardcode_libdir_separator= | |
| 10186 hardcode_minus_L=no | |
| 10187 hardcode_shlibpath_var=unsupported | |
| 10188 inherit_rpath=no | |
| 10189 link_all_deplibs=unknown | |
| 10190 module_cmds= | |
| 10191 module_expsym_cmds= | |
| 10192 old_archive_from_new_cmds= | |
| 10193 old_archive_from_expsyms_cmds= | |
| 10194 thread_safe_flag_spec= | |
| 10195 whole_archive_flag_spec= | |
| 10196 # include_expsyms should be a list of space-separated symbols to be *always* | |
| 10197 # included in the symbol list | |
| 10198 include_expsyms= | |
| 10199 # exclude_expsyms can be an extended regexp of symbols to exclude | |
| 10200 # it will be wrapped by ` (' and `)$', so one must not match beginning or | |
| 10201 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | |
| 10202 # as well as any symbol that contains `d'. | |
| 10203 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | |
| 10204 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | |
| 10205 # platforms (ab)use it in PIC code, but their linkers get confused if | |
| 10206 # the symbol is explicitly referenced. Since portable code cannot | |
| 10207 # rely on this symbol name, it's probably fine to never include it in | |
| 10208 # preloaded symbol tables. | |
| 10209 # Exclude shared library initialization/finalization symbols. | |
| 10210 extract_expsyms_cmds= | |
| 10211 | |
| 10212 case $host_os in | |
| 10213 cygwin* | mingw* | pw32* | cegcc*) | |
| 10214 # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
| 10215 # When not using gcc, we currently assume that we are using | |
| 10216 # Microsoft Visual C++. | |
| 10217 if test "$GCC" != yes; then | |
| 10218 with_gnu_ld=no | |
| 10219 fi | |
| 10220 ;; | |
| 10221 interix*) | |
| 10222 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
| 10223 with_gnu_ld=yes | |
| 10224 ;; | |
| 10225 openbsd*) | |
| 10226 with_gnu_ld=no | |
| 10227 ;; | |
| 10228 linux* | k*bsd*-gnu | gnu*) | |
| 10229 link_all_deplibs=no | |
| 10230 ;; | |
| 10231 esac | |
| 10232 | |
| 10233 ld_shlibs=yes | |
| 10234 | |
| 10235 # On some targets, GNU ld is compatible enough with the native linker | |
| 10236 # that we're better off using the native interface for both. | |
| 10237 lt_use_gnu_ld_interface=no | |
| 10238 if test "$with_gnu_ld" = yes; then | |
| 10239 case $host_os in | |
| 10240 aix*) | |
| 10241 # The AIX port of GNU ld has always aspired to compatibility | |
| 10242 # with the native linker. However, as the warning in the GNU ld | |
| 10243 # block says, versions before 2.19.5* couldn't really create working | |
| 10244 # shared libraries, regardless of the interface used. | |
| 10245 case `$LD -v 2>&1` in | |
| 10246 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | |
| 10247 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | |
| 10248 *\ \(GNU\ Binutils\)\ [3-9]*) ;; | |
| 10249 *) | |
| 10250 lt_use_gnu_ld_interface=yes | |
| 10251 ;; | |
| 10252 esac | |
| 10253 ;; | |
| 10254 *) | |
| 10255 lt_use_gnu_ld_interface=yes | |
| 10256 ;; | |
| 10257 esac | |
| 10258 fi | |
| 10259 | |
| 10260 if test "$lt_use_gnu_ld_interface" = yes; then | |
| 10261 # If archive_cmds runs LD, not CC, wlarc should be empty | |
| 10262 wlarc='${wl}' | |
| 10263 | |
| 10264 # Set some defaults for GNU ld with shared library support. These | |
| 10265 # are reset later if shared libraries are not supported. Putting them | |
| 10266 # here allows them to be overridden if necessary. | |
| 10267 runpath_var=LD_RUN_PATH | |
| 10268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 10269 export_dynamic_flag_spec='${wl}--export-dynamic' | |
| 10270 # ancient GNU ld didn't support --whole-archive et. al. | |
| 10271 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | |
| 10272 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--n
o-whole-archive' | |
| 10273 else | |
| 10274 whole_archive_flag_spec= | |
| 10275 fi | |
| 10276 supports_anon_versioning=no | |
| 10277 case `$LD -v 2>&1` in | |
| 10278 *GNU\ gold*) supports_anon_versioning=yes ;; | |
| 10279 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
| 10280 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
| 10281 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
| 10282 *\ 2.11.*) ;; # other 2.11 versions | |
| 10283 *) supports_anon_versioning=yes ;; | |
| 10284 esac | |
| 10285 | |
| 10286 # See if GNU ld supports shared libraries. | |
| 10287 case $host_os in | |
| 10288 aix[3-9]*) | |
| 10289 # On AIX/PPC, the GNU linker is very broken | |
| 10290 if test "$host_cpu" != ia64; then | |
| 10291 ld_shlibs=no | |
| 10292 cat <<_LT_EOF 1>&2 | |
| 10293 | |
| 10294 *** Warning: the GNU linker, at least up to release 2.19, is reported | |
| 10295 *** to be unable to reliably create shared libraries on AIX. | |
| 10296 *** Therefore, libtool is disabling shared libraries support. If you | |
| 10297 *** really care for shared libraries, you may want to install binutils | |
| 10298 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | |
| 10299 *** You will then need to restart the configuration process. | |
| 10300 | |
| 10301 _LT_EOF | |
| 10302 fi | |
| 10303 ;; | |
| 10304 | |
| 10305 amigaos*) | |
| 10306 case $host_cpu in | |
| 10307 powerpc) | |
| 10308 # see comment about AmigaOS4 .so support | |
| 10309 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 10310 archive_expsym_cmds='' | |
| 10311 ;; | |
| 10312 m68k) | |
| 10313 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)' | |
| 10314 hardcode_libdir_flag_spec='-L$libdir' | |
| 10315 hardcode_minus_L=yes | |
| 10316 ;; | |
| 10317 esac | |
| 10318 ;; | |
| 10319 | |
| 10320 beos*) | |
| 10321 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 10322 allow_undefined_flag=unsupported | |
| 10323 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
| 10324 # support --undefined. This deserves some investigation. FIXME | |
| 10325 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-sonam
e $wl$soname -o $lib' | |
| 10326 else | |
| 10327 ld_shlibs=no | |
| 10328 fi | |
| 10329 ;; | |
| 10330 | |
| 10331 cygwin* | mingw* | pw32* | cegcc*) | |
| 10332 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | |
| 10333 # as there is no search path for DLLs. | |
| 10334 hardcode_libdir_flag_spec='-L$libdir' | |
| 10335 export_dynamic_flag_spec='${wl}--export-all-symbols' | |
| 10336 allow_undefined_flag=unsupported | |
| 10337 always_export_symbols=no | |
| 10338 enable_shared_with_static_runtimes=yes | |
| 10339 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE
D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*
/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | |
| 10340 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A
-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | |
| 10341 | |
| 10342 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | |
| 10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o
bjdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 10344 # If the export-symbols file already is a .def file (1st line | |
| 10345 # is EXPORTS), use it as is; otherwise, prepend... | |
| 10346 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en | |
| 10347 cp $export_symbols $output_objdir/$soname.def; | |
| 10348 else | |
| 10349 echo EXPORTS > $output_objdir/$soname.def; | |
| 10350 cat $export_symbols >> $output_objdir/$soname.def; | |
| 10351 fi~ | |
| 10352 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -
Xlinker $lib' | |
| 10353 else | |
| 10354 ld_shlibs=no | |
| 10355 fi | |
| 10356 ;; | |
| 10357 | |
| 10358 haiku*) | |
| 10359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $
wl$soname -o $lib' | |
| 10360 link_all_deplibs=yes | |
| 10361 ;; | |
| 10362 | |
| 10363 interix[3-9]*) | |
| 10364 hardcode_direct=no | |
| 10365 hardcode_shlibpath_var=no | |
| 10366 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 10367 export_dynamic_flag_spec='${wl}-E' | |
| 10368 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
| 10369 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
| 10370 # default) and relocated if they conflict, which is a slow very memory | |
| 10371 # consuming and fragmenting process. To avoid this, we pick a random, | |
| 10372 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
| 10373 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
| 10374 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' | |
| 10375 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' | |
| 10376 ;; | |
| 10377 | |
| 10378 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 10379 tmp_diet=no | |
| 10380 if test "$host_os" = linux-dietlibc; then | |
| 10381 case $cc_basename in | |
| 10382 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) | |
| 10383 esac | |
| 10384 fi | |
| 10385 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | |
| 10386 && test "$tmp_diet" = no | |
| 10387 then | |
| 10388 tmp_addflag=' $pic_flag' | |
| 10389 tmp_sharedflag='-shared' | |
| 10390 case $cc_basename,$host_cpu in | |
| 10391 pgcc*) # Portland Group C compiler | |
| 10392 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' | |
| 10393 tmp_addflag=' $pic_flag' | |
| 10394 ;; | |
| 10395 pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 10396 # Portland Group f77 and f90 compilers | |
| 10397 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' | |
| 10398 tmp_addflag=' $pic_flag -Mnomain' ;; | |
| 10399 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
| 10400 tmp_addflag=' -i_dynamic' ;; | |
| 10401 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
| 10402 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
| 10403 ifc* | ifort*) # Intel Fortran compiler | |
| 10404 tmp_addflag=' -nofor_main' ;; | |
| 10405 lf95*) # Lahey Fortran 8.1 | |
| 10406 whole_archive_flag_spec= | |
| 10407 tmp_sharedflag='--shared' ;; | |
| 10408 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b
elow) | |
| 10409 tmp_sharedflag='-qmkshrobj' | |
| 10410 tmp_addflag= ;; | |
| 10411 nvcc*) # Cuda Compiler Driver 2.2 | |
| 10412 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' | |
| 10413 compiler_needs_object=yes | |
| 10414 ;; | |
| 10415 esac | |
| 10416 case `$CC -V 2>&1 | sed 5q` in | |
| 10417 *Sun\ C*) # Sun C 5.9 | |
| 10418 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' | |
| 10419 compiler_needs_object=yes | |
| 10420 tmp_sharedflag='-G' ;; | |
| 10421 *Sun\ F*) # Sun Fortran 8.3 | |
| 10422 tmp_sharedflag='-G' ;; | |
| 10423 esac | |
| 10424 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 10425 | |
| 10426 if test "x$supports_anon_versioning" = xyes; then | |
| 10427 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 10428 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ | |
| 10429 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 10430 $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' | |
| 10431 fi | |
| 10432 | |
| 10433 case $cc_basename in | |
| 10434 xlf* | bgf* | bgxlf* | mpixlf*) | |
| 10435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | |
| 10436 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' | |
| 10437 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 10438 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' | |
| 10439 if test "x$supports_anon_versioning" = xyes; then | |
| 10440 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 10441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ | |
| 10442 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 10443 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' | |
| 10444 fi | |
| 10445 ;; | |
| 10446 esac | |
| 10447 else | |
| 10448 ld_shlibs=no | |
| 10449 fi | |
| 10450 ;; | |
| 10451 | |
| 10452 netbsd* | netbsdelf*-gnu) | |
| 10453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 10454 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | |
| 10455 wlarc= | |
| 10456 else | |
| 10457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' | |
| 10458 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' | |
| 10459 fi | |
| 10460 ;; | |
| 10461 | |
| 10462 solaris*) | |
| 10463 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | |
| 10464 ld_shlibs=no | |
| 10465 cat <<_LT_EOF 1>&2 | |
| 10466 | |
| 10467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | |
| 10468 *** create shared libraries on Solaris systems. Therefore, libtool | |
| 10469 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 10470 *** binutils to release 2.9.1 or newer. Another option is to modify | |
| 10471 *** your PATH or compiler configuration so that the native linker is | |
| 10472 *** used, and then restart. | |
| 10473 | |
| 10474 _LT_EOF | |
| 10475 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n | |
| 10476 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' | |
| 10477 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' | |
| 10478 else | |
| 10479 ld_shlibs=no | |
| 10480 fi | |
| 10481 ;; | |
| 10482 | |
| 10483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
| 10484 case `$LD -v 2>&1` in | |
| 10485 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
| 10486 ld_shlibs=no | |
| 10487 cat <<_LT_EOF 1>&2 | |
| 10488 | |
| 10489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
| 10490 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
| 10491 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 10492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
| 10493 *** your PATH or compiler configuration so that the native linker is | |
| 10494 *** used, and then restart. | |
| 10495 | |
| 10496 _LT_EOF | |
| 10497 ;; | |
| 10498 *) | |
| 10499 # For security reasons, it is highly recommended that you always | |
| 10500 # use absolute paths for naming shared libraries, and exclude the | |
| 10501 # DT_RUNPATH tag from executables and libraries. But doing so | |
| 10502 # requires that you compile everything twice, which is a pain. | |
| 10503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen | |
| 10504 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 10505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 10506 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 10507 else | |
| 10508 ld_shlibs=no | |
| 10509 fi | |
| 10510 ;; | |
| 10511 esac | |
| 10512 ;; | |
| 10513 | |
| 10514 sunos4*) | |
| 10515 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' | |
| 10516 wlarc= | |
| 10517 hardcode_direct=yes | |
| 10518 hardcode_shlibpath_var=no | |
| 10519 ;; | |
| 10520 | |
| 10521 *) | |
| 10522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 10523 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' | |
| 10524 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' | |
| 10525 else | |
| 10526 ld_shlibs=no | |
| 10527 fi | |
| 10528 ;; | |
| 10529 esac | |
| 10530 | |
| 10531 if test "$ld_shlibs" = no; then | |
| 10532 runpath_var= | |
| 10533 hardcode_libdir_flag_spec= | |
| 10534 export_dynamic_flag_spec= | |
| 10535 whole_archive_flag_spec= | |
| 10536 fi | |
| 10537 else | |
| 10538 # PORTME fill in a description of your system's linker (not GNU ld) | |
| 10539 case $host_os in | |
| 10540 aix3*) | |
| 10541 allow_undefined_flag=unsupported | |
| 10542 always_export_symbols=yes | |
| 10543 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' | |
| 10544 # Note: this linker hardcodes the directories in LIBPATH if there | |
| 10545 # are no directories specified by -L. | |
| 10546 hardcode_minus_L=yes | |
| 10547 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | |
| 10548 # Neither direct hardcoding nor static linking is supported with a | |
| 10549 # broken collect2. | |
| 10550 hardcode_direct=unsupported | |
| 10551 fi | |
| 10552 ;; | |
| 10553 | |
| 10554 aix[4-9]*) | |
| 10555 if test "$host_cpu" = ia64; then | |
| 10556 # On IA64, the linker does run time linking by default, so we don't | |
| 10557 # have to do anything special. | |
| 10558 aix_use_runtimelinking=no | |
| 10559 exp_sym_flag='-Bexport' | |
| 10560 no_entry_flag="" | |
| 10561 else | |
| 10562 # If we're using GNU nm, then we don't want the "-C" option. | |
| 10563 # -C means demangle to AIX nm, but means don't demangle with GNU nm | |
| 10564 # Also, AIX nm treats weak defined symbols like other global | |
| 10565 # defined symbols, whereas GNU nm marks them as "W". | |
| 10566 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | |
| 10567 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' | |
| 10568 else | |
| 10569 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' | |
| 10570 fi | |
| 10571 aix_use_runtimelinking=no | |
| 10572 | |
| 10573 # Test if we are trying to use run time linking or normal | |
| 10574 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
| 10575 # need to do runtime linking. | |
| 10576 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | |
| 10577 for ld_flag in $LDFLAGS; do | |
| 10578 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | |
| 10579 aix_use_runtimelinking=yes | |
| 10580 break | |
| 10581 fi | |
| 10582 done | |
| 10583 ;; | |
| 10584 esac | |
| 10585 | |
| 10586 exp_sym_flag='-bexport' | |
| 10587 no_entry_flag='-bnoentry' | |
| 10588 fi | |
| 10589 | |
| 10590 # When large executables or shared objects are built, AIX ld can | |
| 10591 # have problems creating the table of contents. If linking a library | |
| 10592 # or program results in "error TOC overflow" add -mminimal-toc to | |
| 10593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | |
| 10594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | |
| 10595 | |
| 10596 archive_cmds='' | |
| 10597 hardcode_direct=yes | |
| 10598 hardcode_direct_absolute=yes | |
| 10599 hardcode_libdir_separator=':' | |
| 10600 link_all_deplibs=yes | |
| 10601 file_list_spec='${wl}-f,' | |
| 10602 | |
| 10603 if test "$GCC" = yes; then | |
| 10604 case $host_os in aix4.[012]|aix4.[012].*) | |
| 10605 # We only want to do this on AIX 4.2 and lower, the check | |
| 10606 # below for broken collect2 doesn't work under 4.3+ | |
| 10607 collect2name=`${CC} -print-prog-name=collect2` | |
| 10608 if test -f "$collect2name" && | |
| 10609 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | |
| 10610 then | |
| 10611 # We have reworked collect2 | |
| 10612 : | |
| 10613 else | |
| 10614 # We have old collect2 | |
| 10615 hardcode_direct=unsupported | |
| 10616 # It fails to find uninstalled libraries when the uninstalled | |
| 10617 # path is not listed in the libpath. Setting hardcode_minus_L | |
| 10618 # to unsupported forces relinking | |
| 10619 hardcode_minus_L=yes | |
| 10620 hardcode_libdir_flag_spec='-L$libdir' | |
| 10621 hardcode_libdir_separator= | |
| 10622 fi | |
| 10623 ;; | |
| 10624 esac | |
| 10625 shared_flag='-shared' | |
| 10626 if test "$aix_use_runtimelinking" = yes; then | |
| 10627 shared_flag="$shared_flag "'${wl}-G' | |
| 10628 fi | |
| 10629 link_all_deplibs=no | |
| 10630 else | |
| 10631 # not using gcc | |
| 10632 if test "$host_cpu" = ia64; then | |
| 10633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |
| 10634 # chokes on -Wl,-G. The following line is correct: | |
| 10635 shared_flag='-G' | |
| 10636 else | |
| 10637 if test "$aix_use_runtimelinking" = yes; then | |
| 10638 shared_flag='${wl}-G' | |
| 10639 else | |
| 10640 shared_flag='${wl}-bM:SRE' | |
| 10641 fi | |
| 10642 fi | |
| 10643 fi | |
| 10644 | |
| 10645 export_dynamic_flag_spec='${wl}-bexpall' | |
| 10646 # It seems that -bexpall does not export symbols beginning with | |
| 10647 # underscore (_), so it is better to generate a list of symbols to export. | |
| 10648 always_export_symbols=yes | |
| 10649 if test "$aix_use_runtimelinking" = yes; then | |
| 10650 # Warning - without using the other runtime loading flags (-brtl), | |
| 10651 # -berok will link without error, but may produce a broken library. | |
| 10652 allow_undefined_flag='-berok' | |
| 10653 # Determine the default libpath from the value encoded in an | |
| 10654 # empty executable. | |
| 10655 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 10656 aix_libpath=$lt_cv_aix_libpath | |
| 10657 else | |
| 10658 if ${lt_cv_aix_libpath_+:} false; then : | |
| 10659 $as_echo_n "(cached) " >&6 | |
| 10660 else | |
| 10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 10662 /* end confdefs.h. */ | |
| 10663 | |
| 10664 int | |
| 10665 main () | |
| 10666 { | |
| 10667 | |
| 10668 ; | |
| 10669 return 0; | |
| 10670 } | |
| 10671 _ACEOF | |
| 10672 if ac_fn_c_try_link "$LINENO"; then : | |
| 10673 | |
| 10674 lt_aix_libpath_sed=' | |
| 10675 /Import File Strings/,/^$/ { | |
| 10676 /^0/ { | |
| 10677 s/^0 *\([^ ]*\) *$/\1/ | |
| 10678 p | |
| 10679 } | |
| 10680 }' | |
| 10681 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` | |
| 10682 # Check for a 64-bit object if we didn't find anything. | |
| 10683 if test -z "$lt_cv_aix_libpath_"; then | |
| 10684 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` | |
| 10685 fi | |
| 10686 fi | |
| 10687 rm -f core conftest.err conftest.$ac_objext \ | |
| 10688 conftest$ac_exeext conftest.$ac_ext | |
| 10689 if test -z "$lt_cv_aix_libpath_"; then | |
| 10690 lt_cv_aix_libpath_="/usr/lib:/lib" | |
| 10691 fi | |
| 10692 | |
| 10693 fi | |
| 10694 | |
| 10695 aix_libpath=$lt_cv_aix_libpath_ | |
| 10696 fi | |
| 10697 | |
| 10698 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 10699 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" | |
| 10700 else | |
| 10701 if test "$host_cpu" = ia64; then | |
| 10702 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | |
| 10703 allow_undefined_flag="-z nodefs" | |
| 10704 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" | |
| 10705 else | |
| 10706 # Determine the default libpath from the value encoded in an | |
| 10707 # empty executable. | |
| 10708 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 10709 aix_libpath=$lt_cv_aix_libpath | |
| 10710 else | |
| 10711 if ${lt_cv_aix_libpath_+:} false; then : | |
| 10712 $as_echo_n "(cached) " >&6 | |
| 10713 else | |
| 10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 10715 /* end confdefs.h. */ | |
| 10716 | |
| 10717 int | |
| 10718 main () | |
| 10719 { | |
| 10720 | |
| 10721 ; | |
| 10722 return 0; | |
| 10723 } | |
| 10724 _ACEOF | |
| 10725 if ac_fn_c_try_link "$LINENO"; then : | |
| 10726 | |
| 10727 lt_aix_libpath_sed=' | |
| 10728 /Import File Strings/,/^$/ { | |
| 10729 /^0/ { | |
| 10730 s/^0 *\([^ ]*\) *$/\1/ | |
| 10731 p | |
| 10732 } | |
| 10733 }' | |
| 10734 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` | |
| 10735 # Check for a 64-bit object if we didn't find anything. | |
| 10736 if test -z "$lt_cv_aix_libpath_"; then | |
| 10737 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` | |
| 10738 fi | |
| 10739 fi | |
| 10740 rm -f core conftest.err conftest.$ac_objext \ | |
| 10741 conftest$ac_exeext conftest.$ac_ext | |
| 10742 if test -z "$lt_cv_aix_libpath_"; then | |
| 10743 lt_cv_aix_libpath_="/usr/lib:/lib" | |
| 10744 fi | |
| 10745 | |
| 10746 fi | |
| 10747 | |
| 10748 aix_libpath=$lt_cv_aix_libpath_ | |
| 10749 fi | |
| 10750 | |
| 10751 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 10752 # Warning - without using the other run time loading flags, | |
| 10753 # -berok will link without error, but may produce a broken library. | |
| 10754 no_undefined_flag=' ${wl}-bernotok' | |
| 10755 allow_undefined_flag=' ${wl}-berok' | |
| 10756 if test "$with_gnu_ld" = yes; then | |
| 10757 # We only use this code for GNU lds that support --whole-archive. | |
| 10758 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-
whole-archive' | |
| 10759 else | |
| 10760 # Exported symbols can be pulled into shared objects from archives | |
| 10761 whole_archive_flag_spec='$convenience' | |
| 10762 fi | |
| 10763 archive_cmds_need_lc=yes | |
| 10764 # This is similar to how AIX traditionally builds its shared libraries
. | |
| 10765 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' | |
| 10766 fi | |
| 10767 fi | |
| 10768 ;; | |
| 10769 | |
| 10770 amigaos*) | |
| 10771 case $host_cpu in | |
| 10772 powerpc) | |
| 10773 # see comment about AmigaOS4 .so support | |
| 10774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' | |
| 10775 archive_expsym_cmds='' | |
| 10776 ;; | |
| 10777 m68k) | |
| 10778 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)' | |
| 10779 hardcode_libdir_flag_spec='-L$libdir' | |
| 10780 hardcode_minus_L=yes | |
| 10781 ;; | |
| 10782 esac | |
| 10783 ;; | |
| 10784 | |
| 10785 bsdi[45]*) | |
| 10786 export_dynamic_flag_spec=-rdynamic | |
| 10787 ;; | |
| 10788 | |
| 10789 cygwin* | mingw* | pw32* | cegcc*) | |
| 10790 # When not using gcc, we currently assume that we are using | |
| 10791 # Microsoft Visual C++. | |
| 10792 # hardcode_libdir_flag_spec is actually meaningless, as there is | |
| 10793 # no search path for DLLs. | |
| 10794 case $cc_basename in | |
| 10795 cl*) | |
| 10796 # Native MSVC | |
| 10797 hardcode_libdir_flag_spec=' ' | |
| 10798 allow_undefined_flag=unsupported | |
| 10799 always_export_symbols=yes | |
| 10800 file_list_spec='@' | |
| 10801 # Tell ltmain to make .lib files, not .a files. | |
| 10802 libext=lib | |
| 10803 # Tell ltmain to make .dll files, not .so files. | |
| 10804 shrext_cmds=".dll" | |
| 10805 # FIXME: Setting linknames here is a bad hack. | |
| 10806 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de
plibs -Wl,-dll~linknames=' | |
| 10807 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en | |
| 10808 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\
!p' < $export_symbols > $output_objdir/$soname.exp; | |
| 10809 else | |
| 10810 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_s
ymbols > $output_objdir/$soname.exp; | |
| 10811 fi~ | |
| 10812 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@
$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl
l.lib"~ | |
| 10813 linknames=' | |
| 10814 # The linker will not automatically build a static lib if we build a DLL
. | |
| 10815 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' | |
| 10816 enable_shared_with_static_runtimes=yes | |
| 10817 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | |
| 10818 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $
SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]
/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | |
| 10819 # Don't use ranlib | |
| 10820 old_postinstall_cmds='chmod 644 $oldlib' | |
| 10821 postlink_cmds='lt_outputfile="@OUTPUT@"~ | |
| 10822 lt_tool_outputfile="@TOOL_OUTPUT@"~ | |
| 10823 case $lt_outputfile in | |
| 10824 *.exe|*.EXE) ;; | |
| 10825 *) | |
| 10826 lt_outputfile="$lt_outputfile.exe" | |
| 10827 lt_tool_outputfile="$lt_tool_outputfile.exe" | |
| 10828 ;; | |
| 10829 esac~ | |
| 10830 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest";
then | |
| 10831 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; | |
| 10832 $RM "$lt_outputfile.manifest"; | |
| 10833 fi' | |
| 10834 ;; | |
| 10835 *) | |
| 10836 # Assume MSVC wrapper | |
| 10837 hardcode_libdir_flag_spec=' ' | |
| 10838 allow_undefined_flag=unsupported | |
| 10839 # Tell ltmain to make .lib files, not .a files. | |
| 10840 libext=lib | |
| 10841 # Tell ltmain to make .dll files, not .so files. | |
| 10842 shrext_cmds=".dll" | |
| 10843 # FIXME: Setting linknames here is a bad hack. | |
| 10844 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl
ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | |
| 10845 # The linker will automatically build a .lib file if we build a DLL. | |
| 10846 old_archive_from_new_cmds='true' | |
| 10847 # FIXME: Should let the user specify the lib program. | |
| 10848 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | |
| 10849 enable_shared_with_static_runtimes=yes | |
| 10850 ;; | |
| 10851 esac | |
| 10852 ;; | |
| 10853 | |
| 10854 darwin* | rhapsody*) | |
| 10855 | |
| 10856 | |
| 10857 archive_cmds_need_lc=no | |
| 10858 hardcode_direct=no | |
| 10859 hardcode_automatic=yes | |
| 10860 hardcode_shlibpath_var=unsupported | |
| 10861 if test "$lt_cv_ld_force_load" = "yes"; then | |
| 10862 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\"`' | |
| 10863 | |
| 10864 else | |
| 10865 whole_archive_flag_spec='' | |
| 10866 fi | |
| 10867 link_all_deplibs=yes | |
| 10868 allow_undefined_flag="$_lt_dar_allow_undefined" | |
| 10869 case $cc_basename in | |
| 10870 ifort*) _lt_dar_can_shared=yes ;; | |
| 10871 *) _lt_dar_can_shared=$GCC ;; | |
| 10872 esac | |
| 10873 if test "$_lt_dar_can_shared" = "yes"; then | |
| 10874 output_verbose_link_cmd=func_echo_all | |
| 10875 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}" | |
| 10876 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags${_lt_dsymutil}" | |
| 10877 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}" | |
| 10878 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}" | |
| 10879 | |
| 10880 else | |
| 10881 ld_shlibs=no | |
| 10882 fi | |
| 10883 | |
| 10884 ;; | |
| 10885 | |
| 10886 dgux*) | |
| 10887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 10888 hardcode_libdir_flag_spec='-L$libdir' | |
| 10889 hardcode_shlibpath_var=no | |
| 10890 ;; | |
| 10891 | |
| 10892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
| 10893 # support. Future versions do this automatically, but an explicit c++rt0.o | |
| 10894 # does not break anything, and helps significantly (at the cost of a little | |
| 10895 # extra space). | |
| 10896 freebsd2.2*) | |
| 10897 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr
/lib/c++rt0.o' | |
| 10898 hardcode_libdir_flag_spec='-R$libdir' | |
| 10899 hardcode_direct=yes | |
| 10900 hardcode_shlibpath_var=no | |
| 10901 ;; | |
| 10902 | |
| 10903 # Unfortunately, older versions of FreeBSD 2 do not have this feature. | |
| 10904 freebsd2.*) | |
| 10905 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | |
| 10906 hardcode_direct=yes | |
| 10907 hardcode_minus_L=yes | |
| 10908 hardcode_shlibpath_var=no | |
| 10909 ;; | |
| 10910 | |
| 10911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | |
| 10912 freebsd* | dragonfly*) | |
| 10913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl
ags' | |
| 10914 hardcode_libdir_flag_spec='-R$libdir' | |
| 10915 hardcode_direct=yes | |
| 10916 hardcode_shlibpath_var=no | |
| 10917 ;; | |
| 10918 | |
| 10919 hpux9*) | |
| 10920 if test "$GCC" = yes; then | |
| 10921 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b $
{wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~
test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | |
| 10922 else | |
| 10923 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' | |
| 10924 fi | |
| 10925 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 10926 hardcode_libdir_separator=: | |
| 10927 hardcode_direct=yes | |
| 10928 | |
| 10929 # hardcode_minus_L: Not really in the search PATH, | |
| 10930 # but as the default location of the library. | |
| 10931 hardcode_minus_L=yes | |
| 10932 export_dynamic_flag_spec='${wl}-E' | |
| 10933 ;; | |
| 10934 | |
| 10935 hpux10*) | |
| 10936 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 10937 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$i
nstall_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 10938 else | |
| 10939 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' | |
| 10940 fi | |
| 10941 if test "$with_gnu_ld" = no; then | |
| 10942 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 10943 hardcode_libdir_separator=: | |
| 10944 hardcode_direct=yes | |
| 10945 hardcode_direct_absolute=yes | |
| 10946 export_dynamic_flag_spec='${wl}-E' | |
| 10947 # hardcode_minus_L: Not really in the search PATH, | |
| 10948 # but as the default location of the library. | |
| 10949 hardcode_minus_L=yes | |
| 10950 fi | |
| 10951 ;; | |
| 10952 | |
| 10953 hpux11*) | |
| 10954 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 10955 case $host_cpu in | |
| 10956 hppa*64*) | |
| 10957 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $depli
bs $compiler_flags' | |
| 10958 ;; | |
| 10959 ia64*) | |
| 10960 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefau
ltrpath -o $lib $libobjs $deplibs $compiler_flags' | |
| 10961 ;; | |
| 10962 *) | |
| 10963 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}
$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 10964 ;; | |
| 10965 esac | |
| 10966 else | |
| 10967 case $host_cpu in | |
| 10968 hppa*64*) | |
| 10969 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $c
ompiler_flags' | |
| 10970 ;; | |
| 10971 ia64*) | |
| 10972 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib
$libobjs $deplibs $compiler_flags' | |
| 10973 ;; | |
| 10974 *) | |
| 10975 | |
| 10976 # Older versions of the 11.00 compiler do not understand -b yet | |
| 10977 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) | |
| 10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 | |
| 10979 $as_echo_n "checking if $CC understands -b... " >&6; } | |
| 10980 if ${lt_cv_prog_compiler__b+:} false; then : | |
| 10981 $as_echo_n "(cached) " >&6 | |
| 10982 else | |
| 10983 lt_cv_prog_compiler__b=no | |
| 10984 save_LDFLAGS="$LDFLAGS" | |
| 10985 LDFLAGS="$LDFLAGS -b" | |
| 10986 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 10987 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 10988 # The linker can only warn and ignore the option if not recognized | |
| 10989 # So say no if there are warnings | |
| 10990 if test -s conftest.err; then | |
| 10991 # Append any errors to the config.log. | |
| 10992 cat conftest.err 1>&5 | |
| 10993 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 10994 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 10995 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 10996 lt_cv_prog_compiler__b=yes | |
| 10997 fi | |
| 10998 else | |
| 10999 lt_cv_prog_compiler__b=yes | |
| 11000 fi | |
| 11001 fi | |
| 11002 $RM -r conftest* | |
| 11003 LDFLAGS="$save_LDFLAGS" | |
| 11004 | |
| 11005 fi | |
| 11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | |
| 11007 $as_echo "$lt_cv_prog_compiler__b" >&6; } | |
| 11008 | |
| 11009 if test x"$lt_cv_prog_compiler__b" = xyes; then | |
| 11010 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $l
ib $libobjs $deplibs $compiler_flags' | |
| 11011 else | |
| 11012 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' | |
| 11013 fi | |
| 11014 | |
| 11015 ;; | |
| 11016 esac | |
| 11017 fi | |
| 11018 if test "$with_gnu_ld" = no; then | |
| 11019 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 11020 hardcode_libdir_separator=: | |
| 11021 | |
| 11022 case $host_cpu in | |
| 11023 hppa*64*|ia64*) | |
| 11024 hardcode_direct=no | |
| 11025 hardcode_shlibpath_var=no | |
| 11026 ;; | |
| 11027 *) | |
| 11028 hardcode_direct=yes | |
| 11029 hardcode_direct_absolute=yes | |
| 11030 export_dynamic_flag_spec='${wl}-E' | |
| 11031 | |
| 11032 # hardcode_minus_L: Not really in the search PATH, | |
| 11033 # but as the default location of the library. | |
| 11034 hardcode_minus_L=yes | |
| 11035 ;; | |
| 11036 esac | |
| 11037 fi | |
| 11038 ;; | |
| 11039 | |
| 11040 irix5* | irix6* | nonstopux*) | |
| 11041 if test "$GCC" = yes; then | |
| 11042 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_versio
n ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib' | |
| 11043 # Try to use the -exported_symbol ld option, if it does not | |
| 11044 # work, assume that -exports_file does not work either and | |
| 11045 # implicitly export all symbols. | |
| 11046 # This should be the same for all languages, so no per-tag cache variabl
e. | |
| 11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l
inker accepts -exported_symbol" >&5 | |
| 11048 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
&6; } | |
| 11049 if ${lt_cv_irix_exported_symbol+:} false; then : | |
| 11050 $as_echo_n "(cached) " >&6 | |
| 11051 else | |
| 11052 save_LDFLAGS="$LDFLAGS" | |
| 11053 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update
_registry ${wl}/dev/null" | |
| 11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11055 /* end confdefs.h. */ | |
| 11056 int foo (void) { return 0; } | |
| 11057 _ACEOF | |
| 11058 if ac_fn_c_try_link "$LINENO"; then : | |
| 11059 lt_cv_irix_exported_symbol=yes | |
| 11060 else | |
| 11061 lt_cv_irix_exported_symbol=no | |
| 11062 fi | |
| 11063 rm -f core conftest.err conftest.$ac_objext \ | |
| 11064 conftest$ac_exeext conftest.$ac_ext | |
| 11065 LDFLAGS="$save_LDFLAGS" | |
| 11066 fi | |
| 11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&
5 | |
| 11068 $as_echo "$lt_cv_irix_exported_symbol" >&6; } | |
| 11069 if test "$lt_cv_irix_exported_symbol" = yes; then | |
| 11070 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler
_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-s
et_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_loca
tions ${wl}-exports_file ${wl}$export_symbols -o $lib' | |
| 11071 fi | |
| 11072 else | |
| 11073 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' | |
| 11074 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' | |
| 11075 fi | |
| 11076 archive_cmds_need_lc='no' | |
| 11077 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 11078 hardcode_libdir_separator=: | |
| 11079 inherit_rpath=yes | |
| 11080 link_all_deplibs=yes | |
| 11081 ;; | |
| 11082 | |
| 11083 netbsd* | netbsdelf*-gnu) | |
| 11084 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 11085 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out | |
| 11086 else | |
| 11087 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF | |
| 11088 fi | |
| 11089 hardcode_libdir_flag_spec='-R$libdir' | |
| 11090 hardcode_direct=yes | |
| 11091 hardcode_shlibpath_var=no | |
| 11092 ;; | |
| 11093 | |
| 11094 newsos6) | |
| 11095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 11096 hardcode_direct=yes | |
| 11097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 11098 hardcode_libdir_separator=: | |
| 11099 hardcode_shlibpath_var=no | |
| 11100 ;; | |
| 11101 | |
| 11102 *nto* | *qnx*) | |
| 11103 ;; | |
| 11104 | |
| 11105 openbsd*) | |
| 11106 if test -f /usr/libexec/ld.so; then | |
| 11107 hardcode_direct=yes | |
| 11108 hardcode_shlibpath_var=no | |
| 11109 hardcode_direct_absolute=yes | |
| 11110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os
-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 11111 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' | |
| 11112 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $
compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
| 11113 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 11114 export_dynamic_flag_spec='${wl}-E' | |
| 11115 else | |
| 11116 case $host_os in | |
| 11117 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | |
| 11118 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_fla
gs' | |
| 11119 hardcode_libdir_flag_spec='-R$libdir' | |
| 11120 ;; | |
| 11121 *) | |
| 11122 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $comp
iler_flags' | |
| 11123 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 11124 ;; | |
| 11125 esac | |
| 11126 fi | |
| 11127 else | |
| 11128 ld_shlibs=no | |
| 11129 fi | |
| 11130 ;; | |
| 11131 | |
| 11132 os2*) | |
| 11133 hardcode_libdir_flag_spec='-L$libdir' | |
| 11134 hardcode_minus_L=yes | |
| 11135 allow_undefined_flag=unsupported | |
| 11136 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' | |
| 11137 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_obj
dir/$libname.def' | |
| 11138 ;; | |
| 11139 | |
| 11140 osf3*) | |
| 11141 if test "$GCC" = yes; then | |
| 11142 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 11143 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' | |
| 11144 else | |
| 11145 allow_undefined_flag=' -expect_unresolved \*' | |
| 11146 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' | |
| 11147 fi | |
| 11148 archive_cmds_need_lc='no' | |
| 11149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 11150 hardcode_libdir_separator=: | |
| 11151 ;; | |
| 11152 | |
| 11153 osf4* | osf5*) # as osf3* with the addition of -msym flag | |
| 11154 if test "$GCC" = yes; then | |
| 11155 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 11156 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $dep
libs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring"
&& func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl
}${output_objdir}/so_locations -o $lib' | |
| 11157 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 11158 else | |
| 11159 allow_undefined_flag=' -expect_unresolved \*' | |
| 11160 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' | |
| 11161 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~ | |
| 11162 $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' | |
| 11163 | |
| 11164 # Both c and cxx compiler support -rpath directly | |
| 11165 hardcode_libdir_flag_spec='-rpath $libdir' | |
| 11166 fi | |
| 11167 archive_cmds_need_lc='no' | |
| 11168 hardcode_libdir_separator=: | |
| 11169 ;; | |
| 11170 | |
| 11171 solaris*) | |
| 11172 no_undefined_flag=' -z defs' | |
| 11173 if test "$GCC" = yes; then | |
| 11174 wlarc='${wl}' | |
| 11175 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$sona
me -o $lib $libobjs $deplibs $compiler_flags' | |
| 11176 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $
SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 11177 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h
${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | |
| 11178 else | |
| 11179 case `$CC -V 2>&1` in | |
| 11180 *"Compilers 5.0"*) | |
| 11181 wlarc='' | |
| 11182 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $linker_flags' | |
| 11183 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 11184 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' | |
| 11185 ;; | |
| 11186 *) | |
| 11187 wlarc='${wl}' | |
| 11188 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $compiler_flags' | |
| 11189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 11190 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' | |
| 11191 ;; | |
| 11192 esac | |
| 11193 fi | |
| 11194 hardcode_libdir_flag_spec='-R$libdir' | |
| 11195 hardcode_shlibpath_var=no | |
| 11196 case $host_os in | |
| 11197 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
| 11198 *) | |
| 11199 # The compiler driver will combine and reorder linker options, | |
| 11200 # but understands `-z linker_flag'. GCC discards it without `$wl', | |
| 11201 # but is careful enough not to reorder. | |
| 11202 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
| 11203 if test "$GCC" = yes; then | |
| 11204 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z $
{wl}defaultextract' | |
| 11205 else | |
| 11206 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | |
| 11207 fi | |
| 11208 ;; | |
| 11209 esac | |
| 11210 link_all_deplibs=yes | |
| 11211 ;; | |
| 11212 | |
| 11213 sunos4*) | |
| 11214 if test "x$host_vendor" = xsequent; then | |
| 11215 # Use $CC to link under sequent, because it throws in some extra .o | |
| 11216 # files that make .init and .fini sections work. | |
| 11217 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 11218 else | |
| 11219 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' | |
| 11220 fi | |
| 11221 hardcode_libdir_flag_spec='-L$libdir' | |
| 11222 hardcode_direct=yes | |
| 11223 hardcode_minus_L=yes | |
| 11224 hardcode_shlibpath_var=no | |
| 11225 ;; | |
| 11226 | |
| 11227 sysv4) | |
| 11228 case $host_vendor in | |
| 11229 sni) | |
| 11230 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
| 11231 hardcode_direct=yes # is this really true??? | |
| 11232 ;; | |
| 11233 siemens) | |
| 11234 ## LD is ld it makes a PLAMLIB | |
| 11235 ## CC just makes a GrossModule. | |
| 11236 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | |
| 11237 reload_cmds='$CC -r -o $output$reload_objs' | |
| 11238 hardcode_direct=no | |
| 11239 ;; | |
| 11240 motorola) | |
| 11241 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
| 11242 hardcode_direct=no #Motorola manual says yes, but my tests say they li
e | |
| 11243 ;; | |
| 11244 esac | |
| 11245 runpath_var='LD_RUN_PATH' | |
| 11246 hardcode_shlibpath_var=no | |
| 11247 ;; | |
| 11248 | |
| 11249 sysv4.3*) | |
| 11250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 11251 hardcode_shlibpath_var=no | |
| 11252 export_dynamic_flag_spec='-Bexport' | |
| 11253 ;; | |
| 11254 | |
| 11255 sysv4*MP*) | |
| 11256 if test -d /usr/nec; then | |
| 11257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 11258 hardcode_shlibpath_var=no | |
| 11259 runpath_var=LD_RUN_PATH | |
| 11260 hardcode_runpath_var=yes | |
| 11261 ld_shlibs=yes | |
| 11262 fi | |
| 11263 ;; | |
| 11264 | |
| 11265 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) | |
| 11266 no_undefined_flag='${wl}-z,text' | |
| 11267 archive_cmds_need_lc=no | |
| 11268 hardcode_shlibpath_var=no | |
| 11269 runpath_var='LD_RUN_PATH' | |
| 11270 | |
| 11271 if test "$GCC" = yes; then | |
| 11272 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' | |
| 11273 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 11274 else | |
| 11275 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 11276 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' | |
| 11277 fi | |
| 11278 ;; | |
| 11279 | |
| 11280 sysv5* | sco3.2v5* | sco5v6*) | |
| 11281 # Note: We can NOT use -z defs as we might desire, because we do not | |
| 11282 # link with -lc, and that would cause any symbols used from libc to | |
| 11283 # always be unresolved, which means just about no library would | |
| 11284 # ever link correctly. If we're not using GNU ld we use -z text | |
| 11285 # though, which does catch some bad symbols but isn't as heavy-handed | |
| 11286 # as -z defs. | |
| 11287 no_undefined_flag='${wl}-z,text' | |
| 11288 allow_undefined_flag='${wl}-z,nodefs' | |
| 11289 archive_cmds_need_lc=no | |
| 11290 hardcode_shlibpath_var=no | |
| 11291 hardcode_libdir_flag_spec='${wl}-R,$libdir' | |
| 11292 hardcode_libdir_separator=':' | |
| 11293 link_all_deplibs=yes | |
| 11294 export_dynamic_flag_spec='${wl}-Bexport' | |
| 11295 runpath_var='LD_RUN_PATH' | |
| 11296 | |
| 11297 if test "$GCC" = yes; then | |
| 11298 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' | |
| 11299 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 11300 else | |
| 11301 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' | |
| 11302 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' | |
| 11303 fi | |
| 11304 ;; | |
| 11305 | |
| 11306 uts4*) | |
| 11307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 11308 hardcode_libdir_flag_spec='-L$libdir' | |
| 11309 hardcode_shlibpath_var=no | |
| 11310 ;; | |
| 11311 | |
| 11312 *) | |
| 11313 ld_shlibs=no | |
| 11314 ;; | |
| 11315 esac | |
| 11316 | |
| 11317 if test x$host_vendor = xsni; then | |
| 11318 case $host in | |
| 11319 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
| 11320 export_dynamic_flag_spec='${wl}-Blargedynsym' | |
| 11321 ;; | |
| 11322 esac | |
| 11323 fi | |
| 11324 fi | |
| 11325 | |
| 11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | |
| 11327 $as_echo "$ld_shlibs" >&6; } | |
| 11328 test "$ld_shlibs" = no && can_build_shared=no | |
| 11329 | |
| 11330 with_gnu_ld=$with_gnu_ld | |
| 11331 | |
| 11332 | |
| 11333 | |
| 11334 | |
| 11335 | |
| 11336 | |
| 11337 | |
| 11338 | |
| 11339 | |
| 11340 | |
| 11341 | |
| 11342 | |
| 11343 | |
| 11344 | |
| 11345 | |
| 11346 # | |
| 11347 # Do we need to explicitly link libc? | |
| 11348 # | |
| 11349 case "x$archive_cmds_need_lc" in | |
| 11350 x|xyes) | |
| 11351 # Assume -lc should be added | |
| 11352 archive_cmds_need_lc=yes | |
| 11353 | |
| 11354 if test "$enable_shared" = yes && test "$GCC" = yes; then | |
| 11355 case $archive_cmds in | |
| 11356 *'~'*) | |
| 11357 # FIXME: we may have to deal with multi-command sequences. | |
| 11358 ;; | |
| 11359 '$CC '*) | |
| 11360 # Test whether the compiler implicitly links with -lc since on some | |
| 11361 # systems, -lgcc has to come before -lc. If gcc already passes -lc | |
| 11362 # to ld, don't add -lc before -lgcc. | |
| 11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex
plicitly linked in" >&5 | |
| 11364 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | |
| 11365 if ${lt_cv_archive_cmds_need_lc+:} false; then : | |
| 11366 $as_echo_n "(cached) " >&6 | |
| 11367 else | |
| 11368 $RM conftest* | |
| 11369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 11370 | |
| 11371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; }
>&5 | |
| 11372 (eval $ac_compile) 2>&5 | |
| 11373 ac_status=$? | |
| 11374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 11375 test $ac_status = 0; } 2>conftest.err; then | |
| 11376 soname=conftest | |
| 11377 lib=conftest | |
| 11378 libobjs=conftest.$ac_objext | |
| 11379 deplibs= | |
| 11380 wl=$lt_prog_compiler_wl | |
| 11381 pic_flag=$lt_prog_compiler_pic | |
| 11382 compiler_flags=-v | |
| 11383 linker_flags=-v | |
| 11384 verstring= | |
| 11385 output_objdir=. | |
| 11386 libname=conftest | |
| 11387 lt_save_allow_undefined_flag=$allow_undefined_flag | |
| 11388 allow_undefined_flag= | |
| 11389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\
>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | |
| 11390 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | |
| 11391 ac_status=$? | |
| 11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 11393 test $ac_status = 0; } | |
| 11394 then | |
| 11395 lt_cv_archive_cmds_need_lc=no | |
| 11396 else | |
| 11397 lt_cv_archive_cmds_need_lc=yes | |
| 11398 fi | |
| 11399 allow_undefined_flag=$lt_save_allow_undefined_flag | |
| 11400 else | |
| 11401 cat conftest.err 1>&5 | |
| 11402 fi | |
| 11403 $RM conftest* | |
| 11404 | |
| 11405 fi | |
| 11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&
5 | |
| 11407 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | |
| 11408 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | |
| 11409 ;; | |
| 11410 esac | |
| 11411 fi | |
| 11412 ;; | |
| 11413 esac | |
| 11414 | |
| 11415 | |
| 11416 | |
| 11417 | |
| 11418 | |
| 11419 | |
| 11420 | |
| 11421 | |
| 11422 | |
| 11423 | |
| 11424 | |
| 11425 | |
| 11426 | |
| 11427 | |
| 11428 | |
| 11429 | |
| 11430 | |
| 11431 | |
| 11432 | |
| 11433 | |
| 11434 | |
| 11435 | |
| 11436 | |
| 11437 | |
| 11438 | |
| 11439 | |
| 11440 | |
| 11441 | |
| 11442 | |
| 11443 | |
| 11444 | |
| 11445 | |
| 11446 | |
| 11447 | |
| 11448 | |
| 11449 | |
| 11450 | |
| 11451 | |
| 11452 | |
| 11453 | |
| 11454 | |
| 11455 | |
| 11456 | |
| 11457 | |
| 11458 | |
| 11459 | |
| 11460 | |
| 11461 | |
| 11462 | |
| 11463 | |
| 11464 | |
| 11465 | |
| 11466 | |
| 11467 | |
| 11468 | |
| 11469 | |
| 11470 | |
| 11471 | |
| 11472 | |
| 11473 | |
| 11474 | |
| 11475 | |
| 11476 | |
| 11477 | |
| 11478 | |
| 11479 | |
| 11480 | |
| 11481 | |
| 11482 | |
| 11483 | |
| 11484 | |
| 11485 | |
| 11486 | |
| 11487 | |
| 11488 | |
| 11489 | |
| 11490 | |
| 11491 | |
| 11492 | |
| 11493 | |
| 11494 | |
| 11495 | |
| 11496 | |
| 11497 | |
| 11498 | |
| 11499 | |
| 11500 | |
| 11501 | |
| 11502 | |
| 11503 | |
| 11504 | |
| 11505 | |
| 11506 | |
| 11507 | |
| 11508 | |
| 11509 | |
| 11510 | |
| 11511 | |
| 11512 | |
| 11513 | |
| 11514 | |
| 11515 | |
| 11516 | |
| 11517 | |
| 11518 | |
| 11519 | |
| 11520 | |
| 11521 | |
| 11522 | |
| 11523 | |
| 11524 | |
| 11525 | |
| 11526 | |
| 11527 | |
| 11528 | |
| 11529 | |
| 11530 | |
| 11531 | |
| 11532 | |
| 11533 | |
| 11534 | |
| 11535 | |
| 11536 | |
| 11537 | |
| 11538 | |
| 11539 | |
| 11540 | |
| 11541 | |
| 11542 | |
| 11543 | |
| 11544 | |
| 11545 | |
| 11546 | |
| 11547 | |
| 11548 | |
| 11549 | |
| 11550 | |
| 11551 | |
| 11552 | |
| 11553 | |
| 11554 | |
| 11555 | |
| 11556 | |
| 11557 | |
| 11558 | |
| 11559 | |
| 11560 | |
| 11561 | |
| 11562 | |
| 11563 | |
| 11564 | |
| 11565 | |
| 11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 | |
| 11567 $as_echo_n "checking dynamic linker characteristics... " >&6; } | |
| 11568 | |
| 11569 if test "$GCC" = yes; then | |
| 11570 case $host_os in | |
| 11571 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | |
| 11572 *) lt_awk_arg="/^libraries:/" ;; | |
| 11573 esac | |
| 11574 case $host_os in | |
| 11575 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; | |
| 11576 *) lt_sed_strip_eq="s,=/,/,g" ;; | |
| 11577 esac | |
| 11578 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` | |
| 11579 case $lt_search_path_spec in | |
| 11580 *\;*) | |
| 11581 # if the path contains ";" then we assume it to be the separator | |
| 11582 # otherwise default to the standard path separator (i.e. ":") - it is | |
| 11583 # assumed that no part of a normal pathname contains ";" but that should | |
| 11584 # okay in the real world where ";" in dirpaths is itself problematic. | |
| 11585 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | |
| 11586 ;; | |
| 11587 *) | |
| 11588 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` | |
| 11589 ;; | |
| 11590 esac | |
| 11591 # Ok, now we have the path, separated by spaces, we can step through it | |
| 11592 # and add multilib dir if necessary. | |
| 11593 lt_tmp_lt_search_path_spec= | |
| 11594 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d
ev/null` | |
| 11595 for lt_sys_path in $lt_search_path_spec; do | |
| 11596 if test -d "$lt_sys_path/$lt_multi_os_dir"; then | |
| 11597 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m
ulti_os_dir" | |
| 11598 else | |
| 11599 test -d "$lt_sys_path" && \ | |
| 11600 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | |
| 11601 fi | |
| 11602 done | |
| 11603 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | |
| 11604 BEGIN {RS=" "; FS="/|\n";} { | |
| 11605 lt_foo=""; | |
| 11606 lt_count=0; | |
| 11607 for (lt_i = NF; lt_i > 0; lt_i--) { | |
| 11608 if ($lt_i != "" && $lt_i != ".") { | |
| 11609 if ($lt_i == "..") { | |
| 11610 lt_count++; | |
| 11611 } else { | |
| 11612 if (lt_count == 0) { | |
| 11613 lt_foo="/" $lt_i lt_foo; | |
| 11614 } else { | |
| 11615 lt_count--; | |
| 11616 } | |
| 11617 } | |
| 11618 } | |
| 11619 } | |
| 11620 if (lt_foo != "") { lt_freq[lt_foo]++; } | |
| 11621 if (lt_freq[lt_foo] == 1) { print lt_foo; } | |
| 11622 }'` | |
| 11623 # AWK program above erroneously prepends '/' to C:/dos/paths | |
| 11624 # for these hosts. | |
| 11625 case $host_os in | |
| 11626 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | |
| 11627 $SED 's,/\([A-Za-z]:\),\1,g'` ;; | |
| 11628 esac | |
| 11629 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | |
| 11630 else | |
| 11631 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | |
| 11632 fi | |
| 11633 library_names_spec= | |
| 11634 libname_spec='lib$name' | |
| 11635 soname_spec= | |
| 11636 shrext_cmds=".so" | |
| 11637 postinstall_cmds= | |
| 11638 postuninstall_cmds= | |
| 11639 finish_cmds= | |
| 11640 finish_eval= | |
| 11641 shlibpath_var= | |
| 11642 shlibpath_overrides_runpath=unknown | |
| 11643 version_type=none | |
| 11644 dynamic_linker="$host_os ld.so" | |
| 11645 sys_lib_dlsearch_path_spec="/lib /usr/lib" | |
| 11646 need_lib_prefix=unknown | |
| 11647 hardcode_into_libs=no | |
| 11648 | |
| 11649 # when you set need_version to no, make sure it does not cause -set_version | |
| 11650 # flags to be left without arguments | |
| 11651 need_version=unknown | |
| 11652 | |
| 11653 case $host_os in | |
| 11654 aix3*) | |
| 11655 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11656 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | |
| 11657 shlibpath_var=LIBPATH | |
| 11658 | |
| 11659 # AIX 3 has no versioning support, so we append a major version to the name. | |
| 11660 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11661 ;; | |
| 11662 | |
| 11663 aix[4-9]*) | |
| 11664 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11665 need_lib_prefix=no | |
| 11666 need_version=no | |
| 11667 hardcode_into_libs=yes | |
| 11668 if test "$host_cpu" = ia64; then | |
| 11669 # AIX 5 supports IA64 | |
| 11670 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' | |
| 11671 shlibpath_var=LD_LIBRARY_PATH | |
| 11672 else | |
| 11673 # With GCC up to 2.95.x, collect2 would create an import file | |
| 11674 # for dependence libraries. The import file would start with | |
| 11675 # the line `#! .'. This would cause the generated library to | |
| 11676 # depend on `.', always an invalid library. This was fixed in | |
| 11677 # development snapshots of GCC prior to 3.0. | |
| 11678 case $host_os in | |
| 11679 aix4 | aix4.[01] | aix4.[01].*) | |
| 11680 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | |
| 11681 echo ' yes ' | |
| 11682 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | |
| 11683 : | |
| 11684 else | |
| 11685 can_build_shared=no | |
| 11686 fi | |
| 11687 ;; | |
| 11688 esac | |
| 11689 # AIX (on Power*) has no versioning support, so currently we can not hardcod
e correct | |
| 11690 # soname into executable. Probably we can add versioning support to | |
| 11691 # collect2, so additional links can be useful in future. | |
| 11692 if test "$aix_use_runtimelinking" = yes; then | |
| 11693 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | |
| 11694 # instead of lib<name>.a to let people know that these are not | |
| 11695 # typical AIX shared libraries. | |
| 11696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext}$major $libname${shared_ext}' | |
| 11697 else | |
| 11698 # We preserve .a as extension for shared libraries through AIX4.2 | |
| 11699 # and later when we are not doing run time linking. | |
| 11700 library_names_spec='${libname}${release}.a $libname.a' | |
| 11701 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11702 fi | |
| 11703 shlibpath_var=LIBPATH | |
| 11704 fi | |
| 11705 ;; | |
| 11706 | |
| 11707 amigaos*) | |
| 11708 case $host_cpu in | |
| 11709 powerpc) | |
| 11710 # Since July 2007 AmigaOS4 officially supports .so libraries. | |
| 11711 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | |
| 11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 11713 ;; | |
| 11714 m68k) | |
| 11715 library_names_spec='$libname.ixlibrary $libname.a' | |
| 11716 # Create ${libname}_ixlibrary.a entries in /sys/libs. | |
| 11717 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' | |
| 11718 ;; | |
| 11719 esac | |
| 11720 ;; | |
| 11721 | |
| 11722 beos*) | |
| 11723 library_names_spec='${libname}${shared_ext}' | |
| 11724 dynamic_linker="$host_os ld.so" | |
| 11725 shlibpath_var=LIBRARY_PATH | |
| 11726 ;; | |
| 11727 | |
| 11728 bsdi[45]*) | |
| 11729 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11730 need_version=no | |
| 11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 11732 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11733 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | |
| 11734 shlibpath_var=LD_LIBRARY_PATH | |
| 11735 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" | |
| 11736 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | |
| 11737 # the default ld.so.conf also contains /usr/contrib/lib and | |
| 11738 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | |
| 11739 # libtool to hard-code these into programs | |
| 11740 ;; | |
| 11741 | |
| 11742 cygwin* | mingw* | pw32* | cegcc*) | |
| 11743 version_type=windows | |
| 11744 shrext_cmds=".dll" | |
| 11745 need_version=no | |
| 11746 need_lib_prefix=no | |
| 11747 | |
| 11748 case $GCC,$cc_basename in | |
| 11749 yes,*) | |
| 11750 # gcc | |
| 11751 library_names_spec='$libname.dll.a' | |
| 11752 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 11753 postinstall_cmds='base_file=`basename \${file}`~ | |
| 11754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ | |
| 11755 dldir=$destdir/`dirname \$dlpath`~ | |
| 11756 test -d \$dldir || mkdir -p \$dldir~ | |
| 11757 $install_prog $dir/$dlname \$dldir/$dlname~ | |
| 11758 chmod a+x \$dldir/$dlname~ | |
| 11759 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
| 11760 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
| 11761 fi' | |
| 11762 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 11763 dlpath=$dir/\$dldll~ | |
| 11764 $RM \$dlpath' | |
| 11765 shlibpath_overrides_runpath=yes | |
| 11766 | |
| 11767 case $host_os in | |
| 11768 cygwin*) | |
| 11769 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | |
| 11770 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S
ED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 11771 | |
| 11772 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | |
| 11773 ;; | |
| 11774 mingw* | cegcc*) | |
| 11775 # MinGW DLLs use traditional 'lib' prefix | |
| 11776 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}
${shared_ext}' | |
| 11777 ;; | |
| 11778 pw32*) | |
| 11779 # pw32 DLLs use 'pw' prefix rather than 'lib' | |
| 11780 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release
} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 11781 ;; | |
| 11782 esac | |
| 11783 dynamic_linker='Win32 ld.exe' | |
| 11784 ;; | |
| 11785 | |
| 11786 *,cl*) | |
| 11787 # Native MSVC | |
| 11788 libname_spec='$name' | |
| 11789 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${
shared_ext}' | |
| 11790 library_names_spec='${libname}.dll.lib' | |
| 11791 | |
| 11792 case $build_os in | |
| 11793 mingw*) | |
| 11794 sys_lib_search_path_spec= | |
| 11795 lt_save_ifs=$IFS | |
| 11796 IFS=';' | |
| 11797 for lt_path in $LIB | |
| 11798 do | |
| 11799 IFS=$lt_save_ifs | |
| 11800 # Let DOS variable expansion print the short 8.3 style file name. | |
| 11801 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` | |
| 11802 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | |
| 11803 done | |
| 11804 IFS=$lt_save_ifs | |
| 11805 # Convert to MSYS style. | |
| 11806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | |
| 11807 ;; | |
| 11808 cygwin*) | |
| 11809 # Convert to unix form, then to dos form, then back to unix form | |
| 11810 # but this time dos style (no spaces!) so that the unix form looks | |
| 11811 # like /cygdrive/c/PROGRA~1:/cygdr... | |
| 11812 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | |
| 11813 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` | |
| 11814 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
| 11815 ;; | |
| 11816 *) | |
| 11817 sys_lib_search_path_spec="$LIB" | |
| 11818 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the
n | |
| 11819 # It is most probably a Windows format PATH. | |
| 11820 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` | |
| 11821 else | |
| 11822 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` | |
| 11823 fi | |
| 11824 # FIXME: find the short name or the path components, as spaces are | |
| 11825 # common. (e.g. "Program Files" -> "PROGRA~1") | |
| 11826 ;; | |
| 11827 esac | |
| 11828 | |
| 11829 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 11830 postinstall_cmds='base_file=`basename \${file}`~ | |
| 11831 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ | |
| 11832 dldir=$destdir/`dirname \$dlpath`~ | |
| 11833 test -d \$dldir || mkdir -p \$dldir~ | |
| 11834 $install_prog $dir/$dlname \$dldir/$dlname' | |
| 11835 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 11836 dlpath=$dir/\$dldll~ | |
| 11837 $RM \$dlpath' | |
| 11838 shlibpath_overrides_runpath=yes | |
| 11839 dynamic_linker='Win32 link.exe' | |
| 11840 ;; | |
| 11841 | |
| 11842 *) | |
| 11843 # Assume MSVC wrapper | |
| 11844 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu
ffix}${shared_ext} $libname.lib' | |
| 11845 dynamic_linker='Win32 ld.exe' | |
| 11846 ;; | |
| 11847 esac | |
| 11848 # FIXME: first we should search . and the directory the executable is in | |
| 11849 shlibpath_var=PATH | |
| 11850 ;; | |
| 11851 | |
| 11852 darwin* | rhapsody*) | |
| 11853 dynamic_linker="$host_os dyld" | |
| 11854 version_type=darwin | |
| 11855 need_lib_prefix=no | |
| 11856 need_version=no | |
| 11857 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_
ext' | |
| 11858 soname_spec='${libname}${release}${major}$shared_ext' | |
| 11859 shlibpath_overrides_runpath=yes | |
| 11860 shlibpath_var=DYLD_LIBRARY_PATH | |
| 11861 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | |
| 11862 | |
| 11863 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | |
| 11864 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | |
| 11865 ;; | |
| 11866 | |
| 11867 dgux*) | |
| 11868 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11869 need_lib_prefix=no | |
| 11870 need_version=no | |
| 11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname$shared_ext' | |
| 11872 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11873 shlibpath_var=LD_LIBRARY_PATH | |
| 11874 ;; | |
| 11875 | |
| 11876 freebsd* | dragonfly*) | |
| 11877 # DragonFly does not have aout. When/if they implement a new | |
| 11878 # versioning mechanism, adjust this. | |
| 11879 if test -x /usr/bin/objformat; then | |
| 11880 objformat=`/usr/bin/objformat` | |
| 11881 else | |
| 11882 case $host_os in | |
| 11883 freebsd[23].*) objformat=aout ;; | |
| 11884 *) objformat=elf ;; | |
| 11885 esac | |
| 11886 fi | |
| 11887 version_type=freebsd-$objformat | |
| 11888 case $version_type in | |
| 11889 freebsd-elf*) | |
| 11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext} $libname${shared_ext}' | |
| 11891 need_version=no | |
| 11892 need_lib_prefix=no | |
| 11893 ;; | |
| 11894 freebsd-*) | |
| 11895 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${
shared_ext}$versuffix' | |
| 11896 need_version=yes | |
| 11897 ;; | |
| 11898 esac | |
| 11899 shlibpath_var=LD_LIBRARY_PATH | |
| 11900 case $host_os in | |
| 11901 freebsd2.*) | |
| 11902 shlibpath_overrides_runpath=yes | |
| 11903 ;; | |
| 11904 freebsd3.[01]* | freebsdelf3.[01]*) | |
| 11905 shlibpath_overrides_runpath=yes | |
| 11906 hardcode_into_libs=yes | |
| 11907 ;; | |
| 11908 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | |
| 11909 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
| 11910 shlibpath_overrides_runpath=no | |
| 11911 hardcode_into_libs=yes | |
| 11912 ;; | |
| 11913 *) # from 4.6 on, and DragonFly | |
| 11914 shlibpath_overrides_runpath=yes | |
| 11915 hardcode_into_libs=yes | |
| 11916 ;; | |
| 11917 esac | |
| 11918 ;; | |
| 11919 | |
| 11920 haiku*) | |
| 11921 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11922 need_lib_prefix=no | |
| 11923 need_version=no | |
| 11924 dynamic_linker="$host_os runtime_loader" | |
| 11925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' | |
| 11926 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11927 shlibpath_var=LIBRARY_PATH | |
| 11928 shlibpath_overrides_runpath=yes | |
| 11929 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' | |
| 11930 hardcode_into_libs=yes | |
| 11931 ;; | |
| 11932 | |
| 11933 hpux9* | hpux10* | hpux11*) | |
| 11934 # Give a soname corresponding to the major version so that dld.sl refuses to | |
| 11935 # link against other versions. | |
| 11936 version_type=sunos | |
| 11937 need_lib_prefix=no | |
| 11938 need_version=no | |
| 11939 case $host_cpu in | |
| 11940 ia64*) | |
| 11941 shrext_cmds='.so' | |
| 11942 hardcode_into_libs=yes | |
| 11943 dynamic_linker="$host_os dld.so" | |
| 11944 shlibpath_var=LD_LIBRARY_PATH | |
| 11945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 11947 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11948 if test "X$HPUX_IA64_MODE" = X32; then | |
| 11949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" | |
| 11950 else | |
| 11951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |
| 11952 fi | |
| 11953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 11954 ;; | |
| 11955 hppa*64*) | |
| 11956 shrext_cmds='.sl' | |
| 11957 hardcode_into_libs=yes | |
| 11958 dynamic_linker="$host_os dld.sl" | |
| 11959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |
| 11960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 11961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 11962 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | |
| 11964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 11965 ;; | |
| 11966 *) | |
| 11967 shrext_cmds='.sl' | |
| 11968 dynamic_linker="$host_os dld.sl" | |
| 11969 shlibpath_var=SHLIB_PATH | |
| 11970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | |
| 11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | |
| 11972 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11973 ;; | |
| 11974 esac | |
| 11975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | |
| 11976 postinstall_cmds='chmod 555 $lib' | |
| 11977 # or fails outright, so override atomically: | |
| 11978 install_override_mode=555 | |
| 11979 ;; | |
| 11980 | |
| 11981 interix[3-9]*) | |
| 11982 version_type=linux # correct to gnu/linux during the next big refactor | |
| 11983 need_lib_prefix=no | |
| 11984 need_version=no | |
| 11985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' | |
| 11986 soname_spec='${libname}${release}${shared_ext}$major' | |
| 11987 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
| 11988 shlibpath_var=LD_LIBRARY_PATH | |
| 11989 shlibpath_overrides_runpath=no | |
| 11990 hardcode_into_libs=yes | |
| 11991 ;; | |
| 11992 | |
| 11993 irix5* | irix6* | nonstopux*) | |
| 11994 case $host_os in | |
| 11995 nonstopux*) version_type=nonstopux ;; | |
| 11996 *) | |
| 11997 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 11998 version_type=linux # correct to gnu/linux during the next big re
factor | |
| 11999 else | |
| 12000 version_type=irix | |
| 12001 fi ;; | |
| 12002 esac | |
| 12003 need_lib_prefix=no | |
| 12004 need_version=no | |
| 12005 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext
}' | |
| 12007 case $host_os in | |
| 12008 irix5* | nonstopux*) | |
| 12009 libsuff= shlibsuff= | |
| 12010 ;; | |
| 12011 *) | |
| 12012 case $LD in # libtool.m4 will add one of these switches to LD | |
| 12013 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | |
| 12014 libsuff= shlibsuff= libmagic=32-bit;; | |
| 12015 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | |
| 12016 libsuff=32 shlibsuff=N32 libmagic=N32;; | |
| 12017 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | |
| 12018 libsuff=64 shlibsuff=64 libmagic=64-bit;; | |
| 12019 *) libsuff= shlibsuff= libmagic=never-match;; | |
| 12020 esac | |
| 12021 ;; | |
| 12022 esac | |
| 12023 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | |
| 12024 shlibpath_overrides_runpath=no | |
| 12025 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li
bsuff}" | |
| 12026 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | |
| 12027 hardcode_into_libs=yes | |
| 12028 ;; | |
| 12029 | |
| 12030 # No shared lib support for Linux oldld, aout, or coff. | |
| 12031 linux*oldld* | linux*aout* | linux*coff*) | |
| 12032 dynamic_linker=no | |
| 12033 ;; | |
| 12034 | |
| 12035 # This must be glibc/ELF. | |
| 12036 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |
| 12037 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12038 need_lib_prefix=no | |
| 12039 need_version=no | |
| 12040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12041 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
| 12043 shlibpath_var=LD_LIBRARY_PATH | |
| 12044 shlibpath_overrides_runpath=no | |
| 12045 | |
| 12046 # Some binutils ld are patched to set DT_RUNPATH | |
| 12047 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | |
| 12048 $as_echo_n "(cached) " >&6 | |
| 12049 else | |
| 12050 lt_cv_shlibpath_overrides_runpath=no | |
| 12051 save_LDFLAGS=$LDFLAGS | |
| 12052 save_libdir=$libdir | |
| 12053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | |
| 12054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | |
| 12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12056 /* end confdefs.h. */ | |
| 12057 | |
| 12058 int | |
| 12059 main () | |
| 12060 { | |
| 12061 | |
| 12062 ; | |
| 12063 return 0; | |
| 12064 } | |
| 12065 _ACEOF | |
| 12066 if ac_fn_c_try_link "$LINENO"; then : | |
| 12067 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/d
ev/null; then : | |
| 12068 lt_cv_shlibpath_overrides_runpath=yes | |
| 12069 fi | |
| 12070 fi | |
| 12071 rm -f core conftest.err conftest.$ac_objext \ | |
| 12072 conftest$ac_exeext conftest.$ac_ext | |
| 12073 LDFLAGS=$save_LDFLAGS | |
| 12074 libdir=$save_libdir | |
| 12075 | |
| 12076 fi | |
| 12077 | |
| 12078 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | |
| 12079 | |
| 12080 # This implies no fast_install, which is unacceptable. | |
| 12081 # Some rework will be needed to allow for fast_install | |
| 12082 # before this can be enabled. | |
| 12083 hardcode_into_libs=yes | |
| 12084 | |
| 12085 # Append ld.so.conf contents to the search path | |
| 12086 if test -f /etc/ld.so.conf; then | |
| 12087 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' ' '` | |
| 12088 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
| 12089 fi | |
| 12090 | |
| 12091 # We used to test for /lib/ld.so.1 and disable shared libraries on | |
| 12092 # powerpc, because MkLinux only supported shared libraries with the | |
| 12093 # GNU dynamic linker. Since this was broken with cross compilers, | |
| 12094 # most powerpc-linux boxes support dynamic linking these days and | |
| 12095 # people can always --disable-shared, the test was removed, and we | |
| 12096 # assume the GNU/Linux dynamic linker is in use. | |
| 12097 dynamic_linker='GNU/Linux ld.so' | |
| 12098 ;; | |
| 12099 | |
| 12100 netbsdelf*-gnu) | |
| 12101 version_type=linux | |
| 12102 need_lib_prefix=no | |
| 12103 need_version=no | |
| 12104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' | |
| 12105 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12106 shlibpath_var=LD_LIBRARY_PATH | |
| 12107 shlibpath_overrides_runpath=no | |
| 12108 hardcode_into_libs=yes | |
| 12109 dynamic_linker='NetBSD ld.elf_so' | |
| 12110 ;; | |
| 12111 | |
| 12112 netbsd*) | |
| 12113 version_type=sunos | |
| 12114 need_lib_prefix=no | |
| 12115 need_version=no | |
| 12116 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 12117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
shared_ext}$versuffix' | |
| 12118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 12119 dynamic_linker='NetBSD (a.out) ld.so' | |
| 12120 else | |
| 12121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major ${libname}${shared_ext}' | |
| 12122 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12123 dynamic_linker='NetBSD ld.elf_so' | |
| 12124 fi | |
| 12125 shlibpath_var=LD_LIBRARY_PATH | |
| 12126 shlibpath_overrides_runpath=yes | |
| 12127 hardcode_into_libs=yes | |
| 12128 ;; | |
| 12129 | |
| 12130 newsos6) | |
| 12131 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12133 shlibpath_var=LD_LIBRARY_PATH | |
| 12134 shlibpath_overrides_runpath=yes | |
| 12135 ;; | |
| 12136 | |
| 12137 *nto* | *qnx*) | |
| 12138 version_type=qnx | |
| 12139 need_lib_prefix=no | |
| 12140 need_version=no | |
| 12141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12142 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12143 shlibpath_var=LD_LIBRARY_PATH | |
| 12144 shlibpath_overrides_runpath=no | |
| 12145 hardcode_into_libs=yes | |
| 12146 dynamic_linker='ldqnx.so' | |
| 12147 ;; | |
| 12148 | |
| 12149 openbsd*) | |
| 12150 version_type=sunos | |
| 12151 sys_lib_dlsearch_path_spec="/usr/lib" | |
| 12152 need_lib_prefix=no | |
| 12153 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | |
| 12154 case $host_os in | |
| 12155 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
| 12156 *) need_version=no ;; | |
| 12157 esac | |
| 12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | |
| 12159 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 12160 shlibpath_var=LD_LIBRARY_PATH | |
| 12161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | |
| 12162 case $host_os in | |
| 12163 openbsd2.[89] | openbsd2.[89].*) | |
| 12164 shlibpath_overrides_runpath=no | |
| 12165 ;; | |
| 12166 *) | |
| 12167 shlibpath_overrides_runpath=yes | |
| 12168 ;; | |
| 12169 esac | |
| 12170 else | |
| 12171 shlibpath_overrides_runpath=yes | |
| 12172 fi | |
| 12173 ;; | |
| 12174 | |
| 12175 os2*) | |
| 12176 libname_spec='$name' | |
| 12177 shrext_cmds=".dll" | |
| 12178 need_lib_prefix=no | |
| 12179 library_names_spec='$libname${shared_ext} $libname.a' | |
| 12180 dynamic_linker='OS/2 ld.exe' | |
| 12181 shlibpath_var=LIBPATH | |
| 12182 ;; | |
| 12183 | |
| 12184 osf3* | osf4* | osf5*) | |
| 12185 version_type=osf | |
| 12186 need_lib_prefix=no | |
| 12187 need_version=no | |
| 12188 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12190 shlibpath_var=LD_LIBRARY_PATH | |
| 12191 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" | |
| 12192 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | |
| 12193 ;; | |
| 12194 | |
| 12195 rdos*) | |
| 12196 dynamic_linker=no | |
| 12197 ;; | |
| 12198 | |
| 12199 solaris*) | |
| 12200 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12201 need_lib_prefix=no | |
| 12202 need_version=no | |
| 12203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12204 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12205 shlibpath_var=LD_LIBRARY_PATH | |
| 12206 shlibpath_overrides_runpath=yes | |
| 12207 hardcode_into_libs=yes | |
| 12208 # ldd complains unless libraries are executable | |
| 12209 postinstall_cmds='chmod +x $lib' | |
| 12210 ;; | |
| 12211 | |
| 12212 sunos4*) | |
| 12213 version_type=sunos | |
| 12214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | |
| 12215 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | |
| 12216 shlibpath_var=LD_LIBRARY_PATH | |
| 12217 shlibpath_overrides_runpath=yes | |
| 12218 if test "$with_gnu_ld" = yes; then | |
| 12219 need_lib_prefix=no | |
| 12220 fi | |
| 12221 need_version=yes | |
| 12222 ;; | |
| 12223 | |
| 12224 sysv4 | sysv4.3*) | |
| 12225 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12227 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12228 shlibpath_var=LD_LIBRARY_PATH | |
| 12229 case $host_vendor in | |
| 12230 sni) | |
| 12231 shlibpath_overrides_runpath=no | |
| 12232 need_lib_prefix=no | |
| 12233 runpath_var=LD_RUN_PATH | |
| 12234 ;; | |
| 12235 siemens) | |
| 12236 need_lib_prefix=no | |
| 12237 ;; | |
| 12238 motorola) | |
| 12239 need_lib_prefix=no | |
| 12240 need_version=no | |
| 12241 shlibpath_overrides_runpath=no | |
| 12242 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | |
| 12243 ;; | |
| 12244 esac | |
| 12245 ;; | |
| 12246 | |
| 12247 sysv4*MP*) | |
| 12248 if test -d /usr/nec ;then | |
| 12249 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12250 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$
major $libname${shared_ext}' | |
| 12251 soname_spec='$libname${shared_ext}.$major' | |
| 12252 shlibpath_var=LD_LIBRARY_PATH | |
| 12253 fi | |
| 12254 ;; | |
| 12255 | |
| 12256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 12257 version_type=freebsd-elf | |
| 12258 need_lib_prefix=no | |
| 12259 need_version=no | |
| 12260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext} $libname${shared_ext}' | |
| 12261 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12262 shlibpath_var=LD_LIBRARY_PATH | |
| 12263 shlibpath_overrides_runpath=yes | |
| 12264 hardcode_into_libs=yes | |
| 12265 if test "$with_gnu_ld" = yes; then | |
| 12266 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' | |
| 12267 else | |
| 12268 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
| 12269 case $host_os in | |
| 12270 sco3.2v5*) | |
| 12271 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
| 12272 ;; | |
| 12273 esac | |
| 12274 fi | |
| 12275 sys_lib_dlsearch_path_spec='/usr/lib' | |
| 12276 ;; | |
| 12277 | |
| 12278 tpf*) | |
| 12279 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | |
| 12280 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12281 need_lib_prefix=no | |
| 12282 need_version=no | |
| 12283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12284 shlibpath_var=LD_LIBRARY_PATH | |
| 12285 shlibpath_overrides_runpath=no | |
| 12286 hardcode_into_libs=yes | |
| 12287 ;; | |
| 12288 | |
| 12289 uts4*) | |
| 12290 version_type=linux # correct to gnu/linux during the next big refactor | |
| 12291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | |
| 12292 soname_spec='${libname}${release}${shared_ext}$major' | |
| 12293 shlibpath_var=LD_LIBRARY_PATH | |
| 12294 ;; | |
| 12295 | |
| 12296 *) | |
| 12297 dynamic_linker=no | |
| 12298 ;; | |
| 12299 esac | |
| 12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | |
| 12301 $as_echo "$dynamic_linker" >&6; } | |
| 12302 test "$dynamic_linker" = no && can_build_shared=no | |
| 12303 | |
| 12304 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
| 12305 if test "$GCC" = yes; then | |
| 12306 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | |
| 12307 fi | |
| 12308 | |
| 12309 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | |
| 12310 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | |
| 12311 fi | |
| 12312 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | |
| 12313 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | |
| 12314 fi | |
| 12315 | |
| 12316 | |
| 12317 | |
| 12318 | |
| 12319 | |
| 12320 | |
| 12321 | |
| 12322 | |
| 12323 | |
| 12324 | |
| 12325 | |
| 12326 | |
| 12327 | |
| 12328 | |
| 12329 | |
| 12330 | |
| 12331 | |
| 12332 | |
| 12333 | |
| 12334 | |
| 12335 | |
| 12336 | |
| 12337 | |
| 12338 | |
| 12339 | |
| 12340 | |
| 12341 | |
| 12342 | |
| 12343 | |
| 12344 | |
| 12345 | |
| 12346 | |
| 12347 | |
| 12348 | |
| 12349 | |
| 12350 | |
| 12351 | |
| 12352 | |
| 12353 | |
| 12354 | |
| 12355 | |
| 12356 | |
| 12357 | |
| 12358 | |
| 12359 | |
| 12360 | |
| 12361 | |
| 12362 | |
| 12363 | |
| 12364 | |
| 12365 | |
| 12366 | |
| 12367 | |
| 12368 | |
| 12369 | |
| 12370 | |
| 12371 | |
| 12372 | |
| 12373 | |
| 12374 | |
| 12375 | |
| 12376 | |
| 12377 | |
| 12378 | |
| 12379 | |
| 12380 | |
| 12381 | |
| 12382 | |
| 12383 | |
| 12384 | |
| 12385 | |
| 12386 | |
| 12387 | |
| 12388 | |
| 12389 | |
| 12390 | |
| 12391 | |
| 12392 | |
| 12393 | |
| 12394 | |
| 12395 | |
| 12396 | |
| 12397 | |
| 12398 | |
| 12399 | |
| 12400 | |
| 12401 | |
| 12402 | |
| 12403 | |
| 12404 | |
| 12405 | |
| 12406 | |
| 12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 | |
| 12408 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | |
| 12409 hardcode_action= | |
| 12410 if test -n "$hardcode_libdir_flag_spec" || | |
| 12411 test -n "$runpath_var" || | |
| 12412 test "X$hardcode_automatic" = "Xyes" ; then | |
| 12413 | |
| 12414 # We can hardcode non-existent directories. | |
| 12415 if test "$hardcode_direct" != no && | |
| 12416 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
| 12417 # have to relink, otherwise we might link with an installed library | |
| 12418 # when we should be linking with a yet-to-be-installed one | |
| 12419 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && | |
| 12420 test "$hardcode_minus_L" != no; then | |
| 12421 # Linking always hardcodes the temporary library directory. | |
| 12422 hardcode_action=relink | |
| 12423 else | |
| 12424 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
| 12425 hardcode_action=immediate | |
| 12426 fi | |
| 12427 else | |
| 12428 # We cannot hardcode anything, or else we can only hardcode existing | |
| 12429 # directories. | |
| 12430 hardcode_action=unsupported | |
| 12431 fi | |
| 12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | |
| 12433 $as_echo "$hardcode_action" >&6; } | |
| 12434 | |
| 12435 if test "$hardcode_action" = relink || | |
| 12436 test "$inherit_rpath" = yes; then | |
| 12437 # Fast installation is not supported | |
| 12438 enable_fast_install=no | |
| 12439 elif test "$shlibpath_overrides_runpath" = yes || | |
| 12440 test "$enable_shared" = no; then | |
| 12441 # Fast installation is not necessary | |
| 12442 enable_fast_install=needless | |
| 12443 fi | |
| 12444 | |
| 12445 | |
| 12446 | |
| 12447 | |
| 12448 | |
| 12449 | |
| 12450 if test "x$enable_dlopen" != xyes; then | |
| 12451 enable_dlopen=unknown | |
| 12452 enable_dlopen_self=unknown | |
| 12453 enable_dlopen_self_static=unknown | |
| 12454 else | |
| 12455 lt_cv_dlopen=no | |
| 12456 lt_cv_dlopen_libs= | |
| 12457 | |
| 12458 case $host_os in | |
| 12459 beos*) | |
| 12460 lt_cv_dlopen="load_add_on" | |
| 12461 lt_cv_dlopen_libs= | |
| 12462 lt_cv_dlopen_self=yes | |
| 12463 ;; | |
| 12464 | |
| 12465 mingw* | pw32* | cegcc*) | |
| 12466 lt_cv_dlopen="LoadLibrary" | |
| 12467 lt_cv_dlopen_libs= | |
| 12468 ;; | |
| 12469 | |
| 12470 cygwin*) | |
| 12471 lt_cv_dlopen="dlopen" | |
| 12472 lt_cv_dlopen_libs= | |
| 12473 ;; | |
| 12474 | |
| 12475 darwin*) | |
| 12476 # if libdl is installed we need to link against it | |
| 12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 12478 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 12479 if ${ac_cv_lib_dl_dlopen+:} false; then : | |
| 12480 $as_echo_n "(cached) " >&6 | |
| 12481 else | |
| 12482 ac_check_lib_save_LIBS=$LIBS | |
| 12483 LIBS="-ldl $LIBS" | |
| 12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12485 /* end confdefs.h. */ | |
| 12486 | |
| 12487 /* Override any GCC internal prototype to avoid an error. | |
| 12488 Use char because int might match the return type of a GCC | |
| 12489 builtin and then its argument prototype would still apply. */ | |
| 12490 #ifdef __cplusplus | |
| 12491 extern "C" | |
| 12492 #endif | |
| 12493 char dlopen (); | |
| 12494 int | |
| 12495 main () | |
| 12496 { | |
| 12497 return dlopen (); | |
| 12498 ; | |
| 12499 return 0; | |
| 12500 } | |
| 12501 _ACEOF | |
| 12502 if ac_fn_c_try_link "$LINENO"; then : | |
| 12503 ac_cv_lib_dl_dlopen=yes | |
| 12504 else | |
| 12505 ac_cv_lib_dl_dlopen=no | |
| 12506 fi | |
| 12507 rm -f core conftest.err conftest.$ac_objext \ | |
| 12508 conftest$ac_exeext conftest.$ac_ext | |
| 12509 LIBS=$ac_check_lib_save_LIBS | |
| 12510 fi | |
| 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 12512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 12513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | |
| 12514 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 12515 else | |
| 12516 | |
| 12517 lt_cv_dlopen="dyld" | |
| 12518 lt_cv_dlopen_libs= | |
| 12519 lt_cv_dlopen_self=yes | |
| 12520 | |
| 12521 fi | |
| 12522 | |
| 12523 ;; | |
| 12524 | |
| 12525 *) | |
| 12526 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | |
| 12527 if test "x$ac_cv_func_shl_load" = xyes; then : | |
| 12528 lt_cv_dlopen="shl_load" | |
| 12529 else | |
| 12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | |
| 12531 $as_echo_n "checking for shl_load in -ldld... " >&6; } | |
| 12532 if ${ac_cv_lib_dld_shl_load+:} false; then : | |
| 12533 $as_echo_n "(cached) " >&6 | |
| 12534 else | |
| 12535 ac_check_lib_save_LIBS=$LIBS | |
| 12536 LIBS="-ldld $LIBS" | |
| 12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12538 /* end confdefs.h. */ | |
| 12539 | |
| 12540 /* Override any GCC internal prototype to avoid an error. | |
| 12541 Use char because int might match the return type of a GCC | |
| 12542 builtin and then its argument prototype would still apply. */ | |
| 12543 #ifdef __cplusplus | |
| 12544 extern "C" | |
| 12545 #endif | |
| 12546 char shl_load (); | |
| 12547 int | |
| 12548 main () | |
| 12549 { | |
| 12550 return shl_load (); | |
| 12551 ; | |
| 12552 return 0; | |
| 12553 } | |
| 12554 _ACEOF | |
| 12555 if ac_fn_c_try_link "$LINENO"; then : | |
| 12556 ac_cv_lib_dld_shl_load=yes | |
| 12557 else | |
| 12558 ac_cv_lib_dld_shl_load=no | |
| 12559 fi | |
| 12560 rm -f core conftest.err conftest.$ac_objext \ | |
| 12561 conftest$ac_exeext conftest.$ac_ext | |
| 12562 LIBS=$ac_check_lib_save_LIBS | |
| 12563 fi | |
| 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | |
| 12565 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | |
| 12566 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | |
| 12567 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | |
| 12568 else | |
| 12569 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | |
| 12570 if test "x$ac_cv_func_dlopen" = xyes; then : | |
| 12571 lt_cv_dlopen="dlopen" | |
| 12572 else | |
| 12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 12574 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 12575 if ${ac_cv_lib_dl_dlopen+:} false; then : | |
| 12576 $as_echo_n "(cached) " >&6 | |
| 12577 else | |
| 12578 ac_check_lib_save_LIBS=$LIBS | |
| 12579 LIBS="-ldl $LIBS" | |
| 12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12581 /* end confdefs.h. */ | |
| 12582 | |
| 12583 /* Override any GCC internal prototype to avoid an error. | |
| 12584 Use char because int might match the return type of a GCC | |
| 12585 builtin and then its argument prototype would still apply. */ | |
| 12586 #ifdef __cplusplus | |
| 12587 extern "C" | |
| 12588 #endif | |
| 12589 char dlopen (); | |
| 12590 int | |
| 12591 main () | |
| 12592 { | |
| 12593 return dlopen (); | |
| 12594 ; | |
| 12595 return 0; | |
| 12596 } | |
| 12597 _ACEOF | |
| 12598 if ac_fn_c_try_link "$LINENO"; then : | |
| 12599 ac_cv_lib_dl_dlopen=yes | |
| 12600 else | |
| 12601 ac_cv_lib_dl_dlopen=no | |
| 12602 fi | |
| 12603 rm -f core conftest.err conftest.$ac_objext \ | |
| 12604 conftest$ac_exeext conftest.$ac_ext | |
| 12605 LIBS=$ac_check_lib_save_LIBS | |
| 12606 fi | |
| 12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 12608 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 12609 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | |
| 12610 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 12611 else | |
| 12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | |
| 12613 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | |
| 12614 if ${ac_cv_lib_svld_dlopen+:} false; then : | |
| 12615 $as_echo_n "(cached) " >&6 | |
| 12616 else | |
| 12617 ac_check_lib_save_LIBS=$LIBS | |
| 12618 LIBS="-lsvld $LIBS" | |
| 12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12620 /* end confdefs.h. */ | |
| 12621 | |
| 12622 /* Override any GCC internal prototype to avoid an error. | |
| 12623 Use char because int might match the return type of a GCC | |
| 12624 builtin and then its argument prototype would still apply. */ | |
| 12625 #ifdef __cplusplus | |
| 12626 extern "C" | |
| 12627 #endif | |
| 12628 char dlopen (); | |
| 12629 int | |
| 12630 main () | |
| 12631 { | |
| 12632 return dlopen (); | |
| 12633 ; | |
| 12634 return 0; | |
| 12635 } | |
| 12636 _ACEOF | |
| 12637 if ac_fn_c_try_link "$LINENO"; then : | |
| 12638 ac_cv_lib_svld_dlopen=yes | |
| 12639 else | |
| 12640 ac_cv_lib_svld_dlopen=no | |
| 12641 fi | |
| 12642 rm -f core conftest.err conftest.$ac_objext \ | |
| 12643 conftest$ac_exeext conftest.$ac_ext | |
| 12644 LIBS=$ac_check_lib_save_LIBS | |
| 12645 fi | |
| 12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | |
| 12647 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | |
| 12648 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | |
| 12649 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | |
| 12650 else | |
| 12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | |
| 12652 $as_echo_n "checking for dld_link in -ldld... " >&6; } | |
| 12653 if ${ac_cv_lib_dld_dld_link+:} false; then : | |
| 12654 $as_echo_n "(cached) " >&6 | |
| 12655 else | |
| 12656 ac_check_lib_save_LIBS=$LIBS | |
| 12657 LIBS="-ldld $LIBS" | |
| 12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12659 /* end confdefs.h. */ | |
| 12660 | |
| 12661 /* Override any GCC internal prototype to avoid an error. | |
| 12662 Use char because int might match the return type of a GCC | |
| 12663 builtin and then its argument prototype would still apply. */ | |
| 12664 #ifdef __cplusplus | |
| 12665 extern "C" | |
| 12666 #endif | |
| 12667 char dld_link (); | |
| 12668 int | |
| 12669 main () | |
| 12670 { | |
| 12671 return dld_link (); | |
| 12672 ; | |
| 12673 return 0; | |
| 12674 } | |
| 12675 _ACEOF | |
| 12676 if ac_fn_c_try_link "$LINENO"; then : | |
| 12677 ac_cv_lib_dld_dld_link=yes | |
| 12678 else | |
| 12679 ac_cv_lib_dld_dld_link=no | |
| 12680 fi | |
| 12681 rm -f core conftest.err conftest.$ac_objext \ | |
| 12682 conftest$ac_exeext conftest.$ac_ext | |
| 12683 LIBS=$ac_check_lib_save_LIBS | |
| 12684 fi | |
| 12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | |
| 12686 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | |
| 12687 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | |
| 12688 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | |
| 12689 fi | |
| 12690 | |
| 12691 | |
| 12692 fi | |
| 12693 | |
| 12694 | |
| 12695 fi | |
| 12696 | |
| 12697 | |
| 12698 fi | |
| 12699 | |
| 12700 | |
| 12701 fi | |
| 12702 | |
| 12703 | |
| 12704 fi | |
| 12705 | |
| 12706 ;; | |
| 12707 esac | |
| 12708 | |
| 12709 if test "x$lt_cv_dlopen" != xno; then | |
| 12710 enable_dlopen=yes | |
| 12711 else | |
| 12712 enable_dlopen=no | |
| 12713 fi | |
| 12714 | |
| 12715 case $lt_cv_dlopen in | |
| 12716 dlopen) | |
| 12717 save_CPPFLAGS="$CPPFLAGS" | |
| 12718 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | |
| 12719 | |
| 12720 save_LDFLAGS="$LDFLAGS" | |
| 12721 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | |
| 12722 | |
| 12723 save_LIBS="$LIBS" | |
| 12724 LIBS="$lt_cv_dlopen_libs $LIBS" | |
| 12725 | |
| 12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop
en itself" >&5 | |
| 12727 $as_echo_n "checking whether a program can dlopen itself... " >&6; } | |
| 12728 if ${lt_cv_dlopen_self+:} false; then : | |
| 12729 $as_echo_n "(cached) " >&6 | |
| 12730 else | |
| 12731 if test "$cross_compiling" = yes; then : | |
| 12732 lt_cv_dlopen_self=cross | |
| 12733 else | |
| 12734 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 12735 lt_status=$lt_dlunknown | |
| 12736 cat > conftest.$ac_ext <<_LT_EOF | |
| 12737 #line $LINENO "configure" | |
| 12738 #include "confdefs.h" | |
| 12739 | |
| 12740 #if HAVE_DLFCN_H | |
| 12741 #include <dlfcn.h> | |
| 12742 #endif | |
| 12743 | |
| 12744 #include <stdio.h> | |
| 12745 | |
| 12746 #ifdef RTLD_GLOBAL | |
| 12747 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 12748 #else | |
| 12749 # ifdef DL_GLOBAL | |
| 12750 # define LT_DLGLOBAL DL_GLOBAL | |
| 12751 # else | |
| 12752 # define LT_DLGLOBAL 0 | |
| 12753 # endif | |
| 12754 #endif | |
| 12755 | |
| 12756 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 12757 find out it does not work in some platform. */ | |
| 12758 #ifndef LT_DLLAZY_OR_NOW | |
| 12759 # ifdef RTLD_LAZY | |
| 12760 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 12761 # else | |
| 12762 # ifdef DL_LAZY | |
| 12763 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 12764 # else | |
| 12765 # ifdef RTLD_NOW | |
| 12766 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 12767 # else | |
| 12768 # ifdef DL_NOW | |
| 12769 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 12770 # else | |
| 12771 # define LT_DLLAZY_OR_NOW 0 | |
| 12772 # endif | |
| 12773 # endif | |
| 12774 # endif | |
| 12775 # endif | |
| 12776 #endif | |
| 12777 | |
| 12778 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 12779 correspondingly for the symbols needed. */ | |
| 12780 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) | |
| 12781 int fnord () __attribute__((visibility("default"))); | |
| 12782 #endif | |
| 12783 | |
| 12784 int fnord () { return 42; } | |
| 12785 int main () | |
| 12786 { | |
| 12787 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 12788 int status = $lt_dlunknown; | |
| 12789 | |
| 12790 if (self) | |
| 12791 { | |
| 12792 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 12793 else | |
| 12794 { | |
| 12795 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 12796 else puts (dlerror ()); | |
| 12797 } | |
| 12798 /* dlclose (self); */ | |
| 12799 } | |
| 12800 else | |
| 12801 puts (dlerror ()); | |
| 12802 | |
| 12803 return status; | |
| 12804 } | |
| 12805 _LT_EOF | |
| 12806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 12807 (eval $ac_link) 2>&5 | |
| 12808 ac_status=$? | |
| 12809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 12810 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 12811 (./conftest; exit; ) >&5 2>/dev/null | |
| 12812 lt_status=$? | |
| 12813 case x$lt_status in | |
| 12814 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
| 12815 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
| 12816 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | |
| 12817 esac | |
| 12818 else : | |
| 12819 # compilation failed | |
| 12820 lt_cv_dlopen_self=no | |
| 12821 fi | |
| 12822 fi | |
| 12823 rm -fr conftest* | |
| 12824 | |
| 12825 | |
| 12826 fi | |
| 12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | |
| 12828 $as_echo "$lt_cv_dlopen_self" >&6; } | |
| 12829 | |
| 12830 if test "x$lt_cv_dlopen_self" = xyes; then | |
| 12831 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" | |
| 12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin
ked program can dlopen itself" >&5 | |
| 12833 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } | |
| 12834 if ${lt_cv_dlopen_self_static+:} false; then : | |
| 12835 $as_echo_n "(cached) " >&6 | |
| 12836 else | |
| 12837 if test "$cross_compiling" = yes; then : | |
| 12838 lt_cv_dlopen_self_static=cross | |
| 12839 else | |
| 12840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 12841 lt_status=$lt_dlunknown | |
| 12842 cat > conftest.$ac_ext <<_LT_EOF | |
| 12843 #line $LINENO "configure" | |
| 12844 #include "confdefs.h" | |
| 12845 | |
| 12846 #if HAVE_DLFCN_H | |
| 12847 #include <dlfcn.h> | |
| 12848 #endif | |
| 12849 | |
| 12850 #include <stdio.h> | |
| 12851 | |
| 12852 #ifdef RTLD_GLOBAL | |
| 12853 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 12854 #else | |
| 12855 # ifdef DL_GLOBAL | |
| 12856 # define LT_DLGLOBAL DL_GLOBAL | |
| 12857 # else | |
| 12858 # define LT_DLGLOBAL 0 | |
| 12859 # endif | |
| 12860 #endif | |
| 12861 | |
| 12862 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 12863 find out it does not work in some platform. */ | |
| 12864 #ifndef LT_DLLAZY_OR_NOW | |
| 12865 # ifdef RTLD_LAZY | |
| 12866 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 12867 # else | |
| 12868 # ifdef DL_LAZY | |
| 12869 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 12870 # else | |
| 12871 # ifdef RTLD_NOW | |
| 12872 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 12873 # else | |
| 12874 # ifdef DL_NOW | |
| 12875 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 12876 # else | |
| 12877 # define LT_DLLAZY_OR_NOW 0 | |
| 12878 # endif | |
| 12879 # endif | |
| 12880 # endif | |
| 12881 # endif | |
| 12882 #endif | |
| 12883 | |
| 12884 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 12885 correspondingly for the symbols needed. */ | |
| 12886 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) | |
| 12887 int fnord () __attribute__((visibility("default"))); | |
| 12888 #endif | |
| 12889 | |
| 12890 int fnord () { return 42; } | |
| 12891 int main () | |
| 12892 { | |
| 12893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 12894 int status = $lt_dlunknown; | |
| 12895 | |
| 12896 if (self) | |
| 12897 { | |
| 12898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 12899 else | |
| 12900 { | |
| 12901 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 12902 else puts (dlerror ()); | |
| 12903 } | |
| 12904 /* dlclose (self); */ | |
| 12905 } | |
| 12906 else | |
| 12907 puts (dlerror ()); | |
| 12908 | |
| 12909 return status; | |
| 12910 } | |
| 12911 _LT_EOF | |
| 12912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 12913 (eval $ac_link) 2>&5 | |
| 12914 ac_status=$? | |
| 12915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 12916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 12917 (./conftest; exit; ) >&5 2>/dev/null | |
| 12918 lt_status=$? | |
| 12919 case x$lt_status in | |
| 12920 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 12921 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 12922 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | |
| 12923 esac | |
| 12924 else : | |
| 12925 # compilation failed | |
| 12926 lt_cv_dlopen_self_static=no | |
| 12927 fi | |
| 12928 fi | |
| 12929 rm -fr conftest* | |
| 12930 | |
| 12931 | |
| 12932 fi | |
| 12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | |
| 12934 $as_echo "$lt_cv_dlopen_self_static" >&6; } | |
| 12935 fi | |
| 12936 | |
| 12937 CPPFLAGS="$save_CPPFLAGS" | |
| 12938 LDFLAGS="$save_LDFLAGS" | |
| 12939 LIBS="$save_LIBS" | |
| 12940 ;; | |
| 12941 esac | |
| 12942 | |
| 12943 case $lt_cv_dlopen_self in | |
| 12944 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
| 12945 *) enable_dlopen_self=unknown ;; | |
| 12946 esac | |
| 12947 | |
| 12948 case $lt_cv_dlopen_self_static in | |
| 12949 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
| 12950 *) enable_dlopen_self_static=unknown ;; | |
| 12951 esac | |
| 12952 fi | |
| 12953 | |
| 12954 | |
| 12955 | |
| 12956 | |
| 12957 | |
| 12958 | |
| 12959 | |
| 12960 | |
| 12961 | |
| 12962 | |
| 12963 | |
| 12964 | |
| 12965 | |
| 12966 | |
| 12967 | |
| 12968 | |
| 12969 | |
| 12970 striplib= | |
| 12971 old_striplib= | |
| 12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is
possible" >&5 | |
| 12973 $as_echo_n "checking whether stripping libraries is possible... " >&6; } | |
| 12974 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | |
| 12975 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
| 12976 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
| 12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 12978 $as_echo "yes" >&6; } | |
| 12979 else | |
| 12980 # FIXME - insert some real tests, host_os isn't really good enough | |
| 12981 case $host_os in | |
| 12982 darwin*) | |
| 12983 if test -n "$STRIP" ; then | |
| 12984 striplib="$STRIP -x" | |
| 12985 old_striplib="$STRIP -S" | |
| 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 12987 $as_echo "yes" >&6; } | |
| 12988 else | |
| 12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 12990 $as_echo "no" >&6; } | |
| 12991 fi | |
| 12992 ;; | |
| 12993 *) | |
| 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 12995 $as_echo "no" >&6; } | |
| 12996 ;; | |
| 12997 esac | |
| 12998 fi | |
| 12999 | |
| 13000 | |
| 13001 | |
| 13002 | |
| 13003 | |
| 13004 | |
| 13005 | |
| 13006 | |
| 13007 | |
| 13008 | |
| 13009 | |
| 13010 | |
| 13011 # Report which library types will actually be built | |
| 13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l
ibraries" >&5 | |
| 13013 $as_echo_n "checking if libtool supports shared libraries... " >&6; } | |
| 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | |
| 13015 $as_echo "$can_build_shared" >&6; } | |
| 13016 | |
| 13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr
aries" >&5 | |
| 13018 $as_echo_n "checking whether to build shared libraries... " >&6; } | |
| 13019 test "$can_build_shared" = "no" && enable_shared=no | |
| 13020 | |
| 13021 # On AIX, shared libraries and static libraries use the same namespace, and | |
| 13022 # are all built from PIC. | |
| 13023 case $host_os in | |
| 13024 aix3*) | |
| 13025 test "$enable_shared" = yes && enable_static=no | |
| 13026 if test -n "$RANLIB"; then | |
| 13027 archive_cmds="$archive_cmds~\$RANLIB \$lib" | |
| 13028 postinstall_cmds='$RANLIB $lib' | |
| 13029 fi | |
| 13030 ;; | |
| 13031 | |
| 13032 aix[4-9]*) | |
| 13033 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | |
| 13034 test "$enable_shared" = yes && enable_static=no | |
| 13035 fi | |
| 13036 ;; | |
| 13037 esac | |
| 13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | |
| 13039 $as_echo "$enable_shared" >&6; } | |
| 13040 | |
| 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr
aries" >&5 | |
| 13042 $as_echo_n "checking whether to build static libraries... " >&6; } | |
| 13043 # Make sure either enable_shared or enable_static is yes. | |
| 13044 test "$enable_shared" = yes || enable_static=yes | |
| 13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | |
| 13046 $as_echo "$enable_static" >&6; } | |
| 13047 | |
| 13048 | |
| 13049 | |
| 13050 | |
| 13051 fi | |
| 13052 ac_ext=c | |
| 13053 ac_cpp='$CPP $CPPFLAGS' | |
| 13054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 13055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
| 13056 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 13057 | |
| 13058 CC="$lt_save_CC" | |
| 13059 | |
| 13060 | |
| 13061 | |
| 13062 | |
| 13063 | |
| 13064 | |
| 13065 | |
| 13066 | |
| 13067 | |
| 13068 | |
| 13069 | |
| 13070 | |
| 13071 | |
| 13072 | |
| 13073 | |
| 13074 ac_config_commands="$ac_config_commands libtool" | |
| 13075 | |
| 13076 | |
| 13077 | |
| 13078 | |
| 13079 # Only expand once: | |
| 13080 | |
| 13081 | |
| 13082 | |
| 13083 | |
| 13084 for ac_header in sys/types.h sys/time.h stdlib.h unistd.h string.h | |
| 13085 do : | |
| 13086 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 13087 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
| 13088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 13089 cat >>confdefs.h <<_ACEOF | |
| 13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 13091 _ACEOF | |
| 13092 | |
| 13093 fi | |
| 13094 | |
| 13095 done | |
| 13096 | |
| 13097 | |
| 13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to pass version script to
the linker ($LD)" >&5 | |
| 13099 $as_echo_n "checking how to pass version script to the linker ($LD)... " >&6; } | |
| 13100 VERSION_SCRIPT_FLAGS=none | |
| 13101 if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then | |
| 13102 VERSION_SCRIPT_FLAGS=-Wl,--version-script= | |
| 13103 elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then | |
| 13104 VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," | |
| 13105 fi | |
| 13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5 | |
| 13107 $as_echo "$VERSION_SCRIPT_FLAGS" >&6; } | |
| 13108 | |
| 13109 if test "$VERSION_SCRIPT_FLAGS" != none; then | |
| 13110 USE_VERSION_SCRIPT_TRUE= | |
| 13111 USE_VERSION_SCRIPT_FALSE='#' | |
| 13112 else | |
| 13113 USE_VERSION_SCRIPT_TRUE='#' | |
| 13114 USE_VERSION_SCRIPT_FALSE= | |
| 13115 fi | |
| 13116 | |
| 13117 | |
| 13118 case $host in | |
| 13119 *-mingw*) ;; | |
| 13120 *) | |
| 13121 THREAD_LIBS="" | |
| 13122 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac
_includes_default" | |
| 13123 if test "x$ac_cv_header_pthread_h" = xyes; then : | |
| 13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthrea
d" >&5 | |
| 13125 $as_echo_n "checking for pthread_join in -lpthread... " >&6; } | |
| 13126 if ${ac_cv_lib_pthread_pthread_join+:} false; then : | |
| 13127 $as_echo_n "(cached) " >&6 | |
| 13128 else | |
| 13129 ac_check_lib_save_LIBS=$LIBS | |
| 13130 LIBS="-lpthread $LIBS" | |
| 13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13132 /* end confdefs.h. */ | |
| 13133 | |
| 13134 /* Override any GCC internal prototype to avoid an error. | |
| 13135 Use char because int might match the return type of a GCC | |
| 13136 builtin and then its argument prototype would still apply. */ | |
| 13137 #ifdef __cplusplus | |
| 13138 extern "C" | |
| 13139 #endif | |
| 13140 char pthread_join (); | |
| 13141 int | |
| 13142 main () | |
| 13143 { | |
| 13144 return pthread_join (); | |
| 13145 ; | |
| 13146 return 0; | |
| 13147 } | |
| 13148 _ACEOF | |
| 13149 if ac_fn_c_try_link "$LINENO"; then : | |
| 13150 ac_cv_lib_pthread_pthread_join=yes | |
| 13151 else | |
| 13152 ac_cv_lib_pthread_pthread_join=no | |
| 13153 fi | |
| 13154 rm -f core conftest.err conftest.$ac_objext \ | |
| 13155 conftest$ac_exeext conftest.$ac_ext | |
| 13156 LIBS=$ac_check_lib_save_LIBS | |
| 13157 fi | |
| 13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join
" >&5 | |
| 13159 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } | |
| 13160 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : | |
| 13161 | |
| 13162 | |
| 13163 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h | |
| 13164 | |
| 13165 | |
| 13166 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h | |
| 13167 | |
| 13168 THREAD_LIBS="-lpthread" | |
| 13169 fi | |
| 13170 | |
| 13171 fi | |
| 13172 | |
| 13173 | |
| 13174 ;; | |
| 13175 esac | |
| 13176 | |
| 13177 | |
| 13178 | |
| 13179 | |
| 13180 XSLT_LOCALE_XLOCALE=0 | |
| 13181 XSLT_LOCALE_WINAPI=0 | |
| 13182 | |
| 13183 for ac_header in locale.h xlocale.h | |
| 13184 do : | |
| 13185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 13186 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
| 13187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 13188 cat >>confdefs.h <<_ACEOF | |
| 13189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 13190 _ACEOF | |
| 13191 | |
| 13192 fi | |
| 13193 | |
| 13194 done | |
| 13195 | |
| 13196 if test $ac_cv_header_xlocale_h = yes; then | |
| 13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if xlocale program link" >&5 | |
| 13198 $as_echo_n "checking if xlocale program link... " >&6; } | |
| 13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13200 /* end confdefs.h. */ | |
| 13201 | |
| 13202 #ifdef HAVE_LOCALE_H | |
| 13203 #include <locale.h> | |
| 13204 #endif | |
| 13205 #ifdef HAVE_XLOCALE_H | |
| 13206 #include <xlocale.h> | |
| 13207 #endif | |
| 13208 #ifdef HAVE_STRING_H | |
| 13209 #include <string.h> | |
| 13210 #endif | |
| 13211 #ifdef HAVE_STDLIB_H | |
| 13212 #include <stdlib.h> | |
| 13213 #endif | |
| 13214 | |
| 13215 #ifdef __GLIBC__ | |
| 13216 typedef __locale_t xsltLocale; | |
| 13217 #else | |
| 13218 typedef locale_t xsltLocale; | |
| 13219 #endif | |
| 13220 #if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ <= 2 | |
| 13221 #define newlocale __newlocale | |
| 13222 #define freelocale __freelocale | |
| 13223 #define strxfrm_l __strxfrm_l | |
| 13224 #define LC_COLLATE_MASK (1 << LC_COLLATE) | |
| 13225 #endif | |
| 13226 | |
| 13227 int | |
| 13228 main () | |
| 13229 { | |
| 13230 | |
| 13231 xsltLocale locale; | |
| 13232 const char *src[2] = { "\xc3\x84rger", "Zeppelin" }; | |
| 13233 char *dst[2]; | |
| 13234 size_t len, r; | |
| 13235 int i; | |
| 13236 | |
| 13237 locale = newlocale(LC_COLLATE_MASK, "en_US.utf8", NULL); | |
| 13238 if (locale == NULL) exit(1); | |
| 13239 for (i=0; i<2; ++i) { | |
| 13240 len = strxfrm_l(NULL, src[i], 0, locale) + 1; | |
| 13241 dst[i] = malloc(len); | |
| 13242 if(dst[i] == NULL) exit(1); | |
| 13243 r = strxfrm_l(dst[i], src[i], len, locale); | |
| 13244 if(r >= len) exit(1); | |
| 13245 } | |
| 13246 if (strcmp(dst[0], dst[1]) >= 0) exit(1); | |
| 13247 | |
| 13248 exit(0); | |
| 13249 return(0); | |
| 13250 | |
| 13251 ; | |
| 13252 return 0; | |
| 13253 } | |
| 13254 _ACEOF | |
| 13255 if ac_fn_c_try_link "$LINENO"; then : | |
| 13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 13257 $as_echo "yes" >&6; }; XSLT_LOCALE_XLOCALE=1 | |
| 13258 else | |
| 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 13260 $as_echo "no" >&6; } | |
| 13261 | |
| 13262 fi | |
| 13263 rm -f core conftest.err conftest.$ac_objext \ | |
| 13264 conftest$ac_exeext conftest.$ac_ext | |
| 13265 else | |
| 13266 case "$host" in | |
| 13267 *-*-mingw*) | |
| 13268 { $as_echo "$as_me:${as_lineno-$LINENO}: using winapi locale" >&5 | |
| 13269 $as_echo "$as_me: using winapi locale" >&6;} | |
| 13270 XSLT_LOCALE_WINAPI=1;; | |
| 13271 esac | |
| 13272 fi | |
| 13273 | |
| 13274 | |
| 13275 | |
| 13276 | |
| 13277 | |
| 13278 for ac_header in ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h | |
| 13279 do : | |
| 13280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 13281 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
| 13282 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 13283 cat >>confdefs.h <<_ACEOF | |
| 13284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 13285 _ACEOF | |
| 13286 | |
| 13287 fi | |
| 13288 | |
| 13289 done | |
| 13290 | |
| 13291 for ac_header in sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h | |
| 13292 do : | |
| 13293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 13294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
| 13295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 13296 cat >>confdefs.h <<_ACEOF | |
| 13297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 13298 _ACEOF | |
| 13299 | |
| 13300 fi | |
| 13301 | |
| 13302 done | |
| 13303 | |
| 13304 for ac_header in errno.h | |
| 13305 do : | |
| 13306 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_i
ncludes_default" | |
| 13307 if test "x$ac_cv_header_errno_h" = xyes; then : | |
| 13308 cat >>confdefs.h <<_ACEOF | |
| 13309 #define HAVE_ERRNO_H 1 | |
| 13310 _ACEOF | |
| 13311 | |
| 13312 fi | |
| 13313 | |
| 13314 done | |
| 13315 | |
| 13316 for ac_func in stat _stat | |
| 13317 do : | |
| 13318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 13319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 13320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 13321 cat >>confdefs.h <<_ACEOF | |
| 13322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 13323 _ACEOF | |
| 13324 | |
| 13325 fi | |
| 13326 done | |
| 13327 | |
| 13328 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" | |
| 13329 if test "x$ac_cv_func_pow" = xyes; then : | |
| 13330 | |
| 13331 else | |
| 13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 | |
| 13333 $as_echo_n "checking for pow in -lm... " >&6; } | |
| 13334 if ${ac_cv_lib_m_pow+:} false; then : | |
| 13335 $as_echo_n "(cached) " >&6 | |
| 13336 else | |
| 13337 ac_check_lib_save_LIBS=$LIBS | |
| 13338 LIBS="-lm $LIBS" | |
| 13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13340 /* end confdefs.h. */ | |
| 13341 | |
| 13342 /* Override any GCC internal prototype to avoid an error. | |
| 13343 Use char because int might match the return type of a GCC | |
| 13344 builtin and then its argument prototype would still apply. */ | |
| 13345 #ifdef __cplusplus | |
| 13346 extern "C" | |
| 13347 #endif | |
| 13348 char pow (); | |
| 13349 int | |
| 13350 main () | |
| 13351 { | |
| 13352 return pow (); | |
| 13353 ; | |
| 13354 return 0; | |
| 13355 } | |
| 13356 _ACEOF | |
| 13357 if ac_fn_c_try_link "$LINENO"; then : | |
| 13358 ac_cv_lib_m_pow=yes | |
| 13359 else | |
| 13360 ac_cv_lib_m_pow=no | |
| 13361 fi | |
| 13362 rm -f core conftest.err conftest.$ac_objext \ | |
| 13363 conftest$ac_exeext conftest.$ac_ext | |
| 13364 LIBS=$ac_check_lib_save_LIBS | |
| 13365 fi | |
| 13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 | |
| 13367 $as_echo "$ac_cv_lib_m_pow" >&6; } | |
| 13368 if test "x$ac_cv_lib_m_pow" = xyes; then : | |
| 13369 M_LIBS="-lm"; | |
| 13370 $as_echo "#define HAVE_POW /**/" >>confdefs.h | |
| 13371 | |
| 13372 fi | |
| 13373 | |
| 13374 fi | |
| 13375 | |
| 13376 | |
| 13377 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" | |
| 13378 if test "x$ac_cv_func_floor" = xyes; then : | |
| 13379 | |
| 13380 else | |
| 13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 | |
| 13382 $as_echo_n "checking for floor in -lm... " >&6; } | |
| 13383 if ${ac_cv_lib_m_floor+:} false; then : | |
| 13384 $as_echo_n "(cached) " >&6 | |
| 13385 else | |
| 13386 ac_check_lib_save_LIBS=$LIBS | |
| 13387 LIBS="-lm $LIBS" | |
| 13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13389 /* end confdefs.h. */ | |
| 13390 | |
| 13391 /* Override any GCC internal prototype to avoid an error. | |
| 13392 Use char because int might match the return type of a GCC | |
| 13393 builtin and then its argument prototype would still apply. */ | |
| 13394 #ifdef __cplusplus | |
| 13395 extern "C" | |
| 13396 #endif | |
| 13397 char floor (); | |
| 13398 int | |
| 13399 main () | |
| 13400 { | |
| 13401 return floor (); | |
| 13402 ; | |
| 13403 return 0; | |
| 13404 } | |
| 13405 _ACEOF | |
| 13406 if ac_fn_c_try_link "$LINENO"; then : | |
| 13407 ac_cv_lib_m_floor=yes | |
| 13408 else | |
| 13409 ac_cv_lib_m_floor=no | |
| 13410 fi | |
| 13411 rm -f core conftest.err conftest.$ac_objext \ | |
| 13412 conftest$ac_exeext conftest.$ac_ext | |
| 13413 LIBS=$ac_check_lib_save_LIBS | |
| 13414 fi | |
| 13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 | |
| 13416 $as_echo "$ac_cv_lib_m_floor" >&6; } | |
| 13417 if test "x$ac_cv_lib_m_floor" = xyes; then : | |
| 13418 M_LIBS="-lm"; | |
| 13419 $as_echo "#define HAVE_FLOOR /**/" >>confdefs.h | |
| 13420 | |
| 13421 fi | |
| 13422 | |
| 13423 fi | |
| 13424 | |
| 13425 | |
| 13426 ac_fn_c_check_func "$LINENO" "fabs" "ac_cv_func_fabs" | |
| 13427 if test "x$ac_cv_func_fabs" = xyes; then : | |
| 13428 | |
| 13429 else | |
| 13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5 | |
| 13431 $as_echo_n "checking for fabs in -lm... " >&6; } | |
| 13432 if ${ac_cv_lib_m_fabs+:} false; then : | |
| 13433 $as_echo_n "(cached) " >&6 | |
| 13434 else | |
| 13435 ac_check_lib_save_LIBS=$LIBS | |
| 13436 LIBS="-lm $LIBS" | |
| 13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13438 /* end confdefs.h. */ | |
| 13439 | |
| 13440 /* Override any GCC internal prototype to avoid an error. | |
| 13441 Use char because int might match the return type of a GCC | |
| 13442 builtin and then its argument prototype would still apply. */ | |
| 13443 #ifdef __cplusplus | |
| 13444 extern "C" | |
| 13445 #endif | |
| 13446 char fabs (); | |
| 13447 int | |
| 13448 main () | |
| 13449 { | |
| 13450 return fabs (); | |
| 13451 ; | |
| 13452 return 0; | |
| 13453 } | |
| 13454 _ACEOF | |
| 13455 if ac_fn_c_try_link "$LINENO"; then : | |
| 13456 ac_cv_lib_m_fabs=yes | |
| 13457 else | |
| 13458 ac_cv_lib_m_fabs=no | |
| 13459 fi | |
| 13460 rm -f core conftest.err conftest.$ac_objext \ | |
| 13461 conftest$ac_exeext conftest.$ac_ext | |
| 13462 LIBS=$ac_check_lib_save_LIBS | |
| 13463 fi | |
| 13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5 | |
| 13465 $as_echo "$ac_cv_lib_m_fabs" >&6; } | |
| 13466 if test "x$ac_cv_lib_m_fabs" = xyes; then : | |
| 13467 M_LIBS="-lm"; | |
| 13468 $as_echo "#define HAVE_FABS /**/" >>confdefs.h | |
| 13469 | |
| 13470 fi | |
| 13471 | |
| 13472 fi | |
| 13473 | |
| 13474 | |
| 13475 | |
| 13476 for ac_func in gettimeofday | |
| 13477 do : | |
| 13478 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | |
| 13479 if test "x$ac_cv_func_gettimeofday" = xyes; then : | |
| 13480 cat >>confdefs.h <<_ACEOF | |
| 13481 #define HAVE_GETTIMEOFDAY 1 | |
| 13482 _ACEOF | |
| 13483 | |
| 13484 fi | |
| 13485 done | |
| 13486 | |
| 13487 for ac_func in localtime localtime_r time gmtime gmtime_r ftime | |
| 13488 do : | |
| 13489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 13490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 13491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 13492 cat >>confdefs.h <<_ACEOF | |
| 13493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 13494 _ACEOF | |
| 13495 | |
| 13496 fi | |
| 13497 done | |
| 13498 | |
| 13499 | |
| 13500 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscan
f | |
| 13501 do : | |
| 13502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 13503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 13504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 13505 cat >>confdefs.h <<_ACEOF | |
| 13506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 13507 _ACEOF | |
| 13508 | |
| 13509 else | |
| 13510 NEED_TRIO=1 | |
| 13511 fi | |
| 13512 done | |
| 13513 | |
| 13514 | |
| 13515 for ac_func in clock_gettime | |
| 13516 do : | |
| 13517 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" | |
| 13518 if test "x$ac_cv_func_clock_gettime" = xyes; then : | |
| 13519 cat >>confdefs.h <<_ACEOF | |
| 13520 #define HAVE_CLOCK_GETTIME 1 | |
| 13521 _ACEOF | |
| 13522 | |
| 13523 else | |
| 13524 | |
| 13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >
&5 | |
| 13526 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } | |
| 13527 if ${ac_cv_lib_rt_clock_gettime+:} false; then : | |
| 13528 $as_echo_n "(cached) " >&6 | |
| 13529 else | |
| 13530 ac_check_lib_save_LIBS=$LIBS | |
| 13531 LIBS="-lrt $LIBS" | |
| 13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 13533 /* end confdefs.h. */ | |
| 13534 | |
| 13535 /* Override any GCC internal prototype to avoid an error. | |
| 13536 Use char because int might match the return type of a GCC | |
| 13537 builtin and then its argument prototype would still apply. */ | |
| 13538 #ifdef __cplusplus | |
| 13539 extern "C" | |
| 13540 #endif | |
| 13541 char clock_gettime (); | |
| 13542 int | |
| 13543 main () | |
| 13544 { | |
| 13545 return clock_gettime (); | |
| 13546 ; | |
| 13547 return 0; | |
| 13548 } | |
| 13549 _ACEOF | |
| 13550 if ac_fn_c_try_link "$LINENO"; then : | |
| 13551 ac_cv_lib_rt_clock_gettime=yes | |
| 13552 else | |
| 13553 ac_cv_lib_rt_clock_gettime=no | |
| 13554 fi | |
| 13555 rm -f core conftest.err conftest.$ac_objext \ | |
| 13556 conftest$ac_exeext conftest.$ac_ext | |
| 13557 LIBS=$ac_check_lib_save_LIBS | |
| 13558 fi | |
| 13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&
5 | |
| 13560 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } | |
| 13561 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : | |
| 13562 | |
| 13563 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h | |
| 13564 | |
| 13565 EXTRA_LIBS="$EXTRA_LIBS -lrt" | |
| 13566 | |
| 13567 fi | |
| 13568 | |
| 13569 | |
| 13570 fi | |
| 13571 done | |
| 13572 | |
| 13573 | |
| 13574 | |
| 13575 if test "${NEED_TRIO}" = "1" ; then | |
| 13576 echo Reusing trio library for string functions | |
| 13577 WITH_TRIO=1 | |
| 13578 else | |
| 13579 WITH_TRIO=0 | |
| 13580 fi | |
| 13581 | |
| 13582 | |
| 13583 | |
| 13584 | |
| 13585 | |
| 13586 # Extract the first word of "perl", so it can be a program name with args. | |
| 13587 set dummy perl; ac_word=$2 | |
| 13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 13589 $as_echo_n "checking for $ac_word... " >&6; } | |
| 13590 if ${ac_cv_prog_PERL+:} false; then : | |
| 13591 $as_echo_n "(cached) " >&6 | |
| 13592 else | |
| 13593 if test -n "$PERL"; then | |
| 13594 ac_cv_prog_PERL="$PERL" # Let the user override the test. | |
| 13595 else | |
| 13596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 13597 for as_dir in $PATH | |
| 13598 do | |
| 13599 IFS=$as_save_IFS | |
| 13600 test -z "$as_dir" && as_dir=. | |
| 13601 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 13602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 13603 ac_cv_prog_PERL="perl" | |
| 13604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 13605 break 2 | |
| 13606 fi | |
| 13607 done | |
| 13608 done | |
| 13609 IFS=$as_save_IFS | |
| 13610 | |
| 13611 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false" | |
| 13612 fi | |
| 13613 fi | |
| 13614 PERL=$ac_cv_prog_PERL | |
| 13615 if test -n "$PERL"; then | |
| 13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 | |
| 13617 $as_echo "$PERL" >&6; } | |
| 13618 else | |
| 13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 13620 $as_echo "no" >&6; } | |
| 13621 fi | |
| 13622 | |
| 13623 | |
| 13624 if test "$PERL" != "false"; then | |
| 13625 WITH_PERL_TRUE= | |
| 13626 WITH_PERL_FALSE='#' | |
| 13627 else | |
| 13628 WITH_PERL_TRUE='#' | |
| 13629 WITH_PERL_FALSE= | |
| 13630 fi | |
| 13631 | |
| 13632 | |
| 13633 | |
| 13634 PYTHON_VERSION= | |
| 13635 PYTHON_INCLUDES= | |
| 13636 PYTHON_SITE_PACKAGES= | |
| 13637 pythondir= | |
| 13638 | |
| 13639 # Check whether --with-python was given. | |
| 13640 if test "${with_python+set}" = set; then : | |
| 13641 withval=$with_python; | |
| 13642 fi | |
| 13643 | |
| 13644 if test "$with_python" != "no" ; then | |
| 13645 if test -x "$with_python/bin/python" | |
| 13646 then | |
| 13647 echo Found python in $with_python/bin/python | |
| 13648 PYTHON="$with_python/bin/python" | |
| 13649 else | |
| 13650 if test -x "$with_python" | |
| 13651 then | |
| 13652 echo Found python in $with_python | |
| 13653 PYTHON="$with_python" | |
| 13654 else | |
| 13655 if test -x "$PYTHON" | |
| 13656 then | |
| 13657 echo Found python in environment PYTHON=$PYTHON | |
| 13658 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` | |
| 13659 else | |
| 13660 # Extract the first word of "python python2.4 python2.3 python2.
2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with arg
s. | |
| 13661 set dummy python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 pyt
hon1.5; ac_word=$2 | |
| 13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 13663 $as_echo_n "checking for $ac_word... " >&6; } | |
| 13664 if ${ac_cv_path_PYTHON+:} false; then : | |
| 13665 $as_echo_n "(cached) " >&6 | |
| 13666 else | |
| 13667 case $PYTHON in | |
| 13668 [\\/]* | ?:[\\/]*) | |
| 13669 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | |
| 13670 ;; | |
| 13671 *) | |
| 13672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 13673 for as_dir in $PATH | |
| 13674 do | |
| 13675 IFS=$as_save_IFS | |
| 13676 test -z "$as_dir" && as_dir=. | |
| 13677 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 13678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 13679 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | |
| 13680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 13681 break 2 | |
| 13682 fi | |
| 13683 done | |
| 13684 done | |
| 13685 IFS=$as_save_IFS | |
| 13686 | |
| 13687 ;; | |
| 13688 esac | |
| 13689 fi | |
| 13690 PYTHON=$ac_cv_path_PYTHON | |
| 13691 if test -n "$PYTHON"; then | |
| 13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 | |
| 13693 $as_echo "$PYTHON" >&6; } | |
| 13694 else | |
| 13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 13696 $as_echo "no" >&6; } | |
| 13697 fi | |
| 13698 | |
| 13699 | |
| 13700 fi | |
| 13701 fi | |
| 13702 fi | |
| 13703 if test "$PYTHON" != "" | |
| 13704 then | |
| 13705 echo "PYTHON is pointing at $PYTHON" | |
| 13706 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` | |
| 13707 echo Found Python version $PYTHON_VERSION | |
| 13708 LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1 | |
| 13709 except: print 0"` | |
| 13710 if test "$LIBXML2_PYTHON" = "1" | |
| 13711 then | |
| 13712 echo Found libxml2-python module | |
| 13713 else | |
| 13714 echo Warning: Missing libxml2-python | |
| 13715 fi | |
| 13716 fi | |
| 13717 if test "$PYTHON_VERSION" != "" | |
| 13718 then | |
| 13719 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ | |
| 13720 -d $with_python/lib/python$PYTHON_VERSION/site-packages | |
| 13721 then | |
| 13722 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION | |
| 13723 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-package
s' | |
| 13724 else | |
| 13725 if test -r $prefix/include/python$PYTHON_VERSION/Python.h | |
| 13726 then | |
| 13727 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION | |
| 13728 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-pac
kages' | |
| 13729 else | |
| 13730 if test -r /usr/include/python$PYTHON_VERSION/Python.h | |
| 13731 then | |
| 13732 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION | |
| 13733 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site
-packages' | |
| 13734 else | |
| 13735 echo could not find python$PYTHON_VERSION/Python.h | |
| 13736 fi | |
| 13737 fi | |
| 13738 if test ! -d "$PYTHON_SITE_PACKAGES" | |
| 13739 then | |
| 13740 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysc
onfig; print sysconfig.get_python_lib()"` | |
| 13741 fi | |
| 13742 fi | |
| 13743 PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` | |
| 13744 fi | |
| 13745 if test "$with_python" != "" | |
| 13746 then | |
| 13747 pythondir='$(PYTHON_SITE_PACKAGES)' | |
| 13748 else | |
| 13749 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' | |
| 13750 fi | |
| 13751 fi | |
| 13752 if test "$PYTHON_INCLUDES" != ""; then | |
| 13753 WITH_PYTHON_TRUE= | |
| 13754 WITH_PYTHON_FALSE='#' | |
| 13755 else | |
| 13756 WITH_PYTHON_TRUE='#' | |
| 13757 WITH_PYTHON_FALSE= | |
| 13758 fi | |
| 13759 | |
| 13760 if test "$PYTHON_INCLUDES" != "" | |
| 13761 then | |
| 13762 PYTHON_SUBDIR=python | |
| 13763 else | |
| 13764 PYTHON_SUBDIR= | |
| 13765 fi | |
| 13766 | |
| 13767 | |
| 13768 | |
| 13769 | |
| 13770 | |
| 13771 # Check whether --with-crypto was given. | |
| 13772 if test "${with_crypto+set}" = set; then : | |
| 13773 withval=$with_crypto; | |
| 13774 fi | |
| 13775 | |
| 13776 WITH_CRYPTO=0 | |
| 13777 CRYPTO_TESTDIR= | |
| 13778 if test "$with_crypto" = "no" ; then | |
| 13779 echo Disabling crypto support | |
| 13780 LIBGCRYPT_CFLAGS="" | |
| 13781 LIBGCRYPT_LIBS="" | |
| 13782 else | |
| 13783 case $host in | |
| 13784 *-mingw*) | |
| 13785 WITH_CRYPTO=1 | |
| 13786 CRYPTO_TESTDIR=crypto | |
| 13787 ;; | |
| 13788 *) | |
| 13789 if test -n "$ac_tool_prefix"; then | |
| 13790 # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be
a program name with args. | |
| 13791 set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2 | |
| 13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 13793 $as_echo_n "checking for $ac_word... " >&6; } | |
| 13794 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then : | |
| 13795 $as_echo_n "(cached) " >&6 | |
| 13796 else | |
| 13797 case $LIBGCRYPT_CONFIG in | |
| 13798 [\\/]* | ?:[\\/]*) | |
| 13799 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the te
st with a path. | |
| 13800 ;; | |
| 13801 *) | |
| 13802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 13803 for as_dir in $PATH | |
| 13804 do | |
| 13805 IFS=$as_save_IFS | |
| 13806 test -z "$as_dir" && as_dir=. | |
| 13807 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 13808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 13809 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 13810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 13811 break 2 | |
| 13812 fi | |
| 13813 done | |
| 13814 done | |
| 13815 IFS=$as_save_IFS | |
| 13816 | |
| 13817 ;; | |
| 13818 esac | |
| 13819 fi | |
| 13820 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG | |
| 13821 if test -n "$LIBGCRYPT_CONFIG"; then | |
| 13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 | |
| 13823 $as_echo "$LIBGCRYPT_CONFIG" >&6; } | |
| 13824 else | |
| 13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 13826 $as_echo "no" >&6; } | |
| 13827 fi | |
| 13828 | |
| 13829 | |
| 13830 fi | |
| 13831 if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then | |
| 13832 ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG | |
| 13833 # Extract the first word of "libgcrypt-config", so it can be a program name wi
th args. | |
| 13834 set dummy libgcrypt-config; ac_word=$2 | |
| 13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 13836 $as_echo_n "checking for $ac_word... " >&6; } | |
| 13837 if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then : | |
| 13838 $as_echo_n "(cached) " >&6 | |
| 13839 else | |
| 13840 case $ac_pt_LIBGCRYPT_CONFIG in | |
| 13841 [\\/]* | ?:[\\/]*) | |
| 13842 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user ove
rride the test with a path. | |
| 13843 ;; | |
| 13844 *) | |
| 13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 13846 for as_dir in $PATH | |
| 13847 do | |
| 13848 IFS=$as_save_IFS | |
| 13849 test -z "$as_dir" && as_dir=. | |
| 13850 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 13851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 13852 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 13853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 13854 break 2 | |
| 13855 fi | |
| 13856 done | |
| 13857 done | |
| 13858 IFS=$as_save_IFS | |
| 13859 | |
| 13860 ;; | |
| 13861 esac | |
| 13862 fi | |
| 13863 ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG | |
| 13864 if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then | |
| 13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5 | |
| 13866 $as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; } | |
| 13867 else | |
| 13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 13869 $as_echo "no" >&6; } | |
| 13870 fi | |
| 13871 | |
| 13872 if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then | |
| 13873 LIBGCRYPT_CONFIG="no" | |
| 13874 else | |
| 13875 case $cross_compiling:$ac_tool_warned in | |
| 13876 yes:) | |
| 13877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 13878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 13879 ac_tool_warned=yes ;; | |
| 13880 esac | |
| 13881 LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG | |
| 13882 fi | |
| 13883 else | |
| 13884 LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG" | |
| 13885 fi | |
| 13886 | |
| 13887 if test "$LIBGCRYPT_CONFIG" != "no" ; then | |
| 13888 LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version` | |
| 13889 if test `echo $LIBGCRYPT_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS
= "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -lt `echo "1.1.42" | se
d -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) *
1000 + $3;}'` | |
| 13890 then | |
| 13891 LIBGCRYPT_CFLAGS="" | |
| 13892 LIBGCRYPT_LIBS="" | |
| 13893 echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be av
ailable.' | |
| 13894 else | |
| 13895 LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags` | |
| 13896 LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs` | |
| 13897 | |
| 13898 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h | |
| 13899 | |
| 13900 echo 'Crypto extensions will be available.' | |
| 13901 WITH_CRYPTO=1 | |
| 13902 CRYPTO_TESTDIR=crypto | |
| 13903 fi | |
| 13904 else | |
| 13905 LIBGCRYPT_CFLAGS="" | |
| 13906 LIBGCRYPT_LIBS="" | |
| 13907 echo 'Crypto extensions will not be available. Install libgcrypt and recon
figure to make available.' | |
| 13908 fi | |
| 13909 esac | |
| 13910 fi | |
| 13911 | |
| 13912 | |
| 13913 | |
| 13914 | |
| 13915 | |
| 13916 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ] || \ | |
| 13917 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxslt" ] | |
| 13918 then | |
| 13919 if test "${with_mem_debug}" = "" ; | |
| 13920 then | |
| 13921 with_mem_debug="yes" | |
| 13922 fi | |
| 13923 CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Ws
witch -Wcomment -Wtrigraphs -Wformat=2 -Wmissing-format-attribute -Wchar-subscri
pts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-
strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-ext
erns -Winline " | |
| 13924 fi | |
| 13925 | |
| 13926 | |
| 13927 # Check whether --with-debug was given. | |
| 13928 if test "${with_debug+set}" = set; then : | |
| 13929 withval=$with_debug; | |
| 13930 fi | |
| 13931 | |
| 13932 if test "$with_debug" = "no" ; then | |
| 13933 echo Disabling debug support | |
| 13934 WITH_XSLT_DEBUG=0 | |
| 13935 else | |
| 13936 WITH_XSLT_DEBUG=1 | |
| 13937 fi | |
| 13938 | |
| 13939 | |
| 13940 | |
| 13941 # Check whether --with-mem_debug was given. | |
| 13942 if test "${with_mem_debug+set}" = set; then : | |
| 13943 withval=$with_mem_debug; | |
| 13944 fi | |
| 13945 | |
| 13946 if test "$with_mem_debug" = "yes" ; then | |
| 13947 echo Enabling memory debug support | |
| 13948 WITH_MEM_DEBUG=1 | |
| 13949 else | |
| 13950 WITH_MEM_DEBUG=0 | |
| 13951 fi | |
| 13952 | |
| 13953 | |
| 13954 | |
| 13955 # Check whether --with-debugger was given. | |
| 13956 if test "${with_debugger+set}" = set; then : | |
| 13957 withval=$with_debugger; | |
| 13958 fi | |
| 13959 | |
| 13960 if test "$with_debugger" = "no" ; then | |
| 13961 echo Disabling debugger | |
| 13962 WITH_DEBUGGER=0 | |
| 13963 else | |
| 13964 echo Enabling debugger | |
| 13965 WITH_DEBUGGER=1 | |
| 13966 | |
| 13967 $as_echo "#define WITH_DEBUGGER /**/" >>confdefs.h | |
| 13968 | |
| 13969 fi | |
| 13970 | |
| 13971 | |
| 13972 | |
| 13973 LIBXML_CONFIG_PREFIX="" | |
| 13974 LIBXML_SRC="" | |
| 13975 | |
| 13976 | |
| 13977 # Check whether --with-libxml-prefix was given. | |
| 13978 if test "${with_libxml_prefix+set}" = set; then : | |
| 13979 withval=$with_libxml_prefix; LIBXML_CONFIG_PREFIX=$withval | |
| 13980 | |
| 13981 fi | |
| 13982 | |
| 13983 | |
| 13984 | |
| 13985 # Check whether --with-libxml-include-prefix was given. | |
| 13986 if test "${with_libxml_include_prefix+set}" = set; then : | |
| 13987 withval=$with_libxml_include_prefix; LIBXML_CFLAGS="-I$withval" | |
| 13988 | |
| 13989 fi | |
| 13990 | |
| 13991 | |
| 13992 | |
| 13993 # Check whether --with-libxml-libs-prefix was given. | |
| 13994 if test "${with_libxml_libs_prefix+set}" = set; then : | |
| 13995 withval=$with_libxml_libs_prefix; LIBXML_LIBS="-L$withval" | |
| 13996 | |
| 13997 fi | |
| 13998 | |
| 13999 | |
| 14000 | |
| 14001 # Check whether --with-libxml-src was given. | |
| 14002 if test "${with_libxml_src+set}" = set; then : | |
| 14003 withval=$with_libxml_src; LIBXML_SRC="$withval" | |
| 14004 | |
| 14005 fi | |
| 14006 | |
| 14007 | |
| 14008 | |
| 14009 | |
| 14010 | |
| 14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml libraries >= $LIBXM
L_REQUIRED_VERSION" >&5 | |
| 14012 $as_echo_n "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... " >&6;
} | |
| 14013 if test "x$LIBXML_CONFIG_PREFIX" != "x" | |
| 14014 then | |
| 14015 if test -n "$ac_tool_prefix"; then | |
| 14016 # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a pro
gram name with args. | |
| 14017 set dummy ${ac_tool_prefix}xml2-config; ac_word=$2 | |
| 14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 14019 $as_echo_n "checking for $ac_word... " >&6; } | |
| 14020 if ${ac_cv_path_XML_CONFIG+:} false; then : | |
| 14021 $as_echo_n "(cached) " >&6 | |
| 14022 else | |
| 14023 case $XML_CONFIG in | |
| 14024 [\\/]* | ?:[\\/]*) | |
| 14025 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a pa
th. | |
| 14026 ;; | |
| 14027 *) | |
| 14028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14029 for as_dir in ${LIBXML_CONFIG_PREFIX}/bin | |
| 14030 do | |
| 14031 IFS=$as_save_IFS | |
| 14032 test -z "$as_dir" && as_dir=. | |
| 14033 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 14035 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 14036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 14037 break 2 | |
| 14038 fi | |
| 14039 done | |
| 14040 done | |
| 14041 IFS=$as_save_IFS | |
| 14042 | |
| 14043 ;; | |
| 14044 esac | |
| 14045 fi | |
| 14046 XML_CONFIG=$ac_cv_path_XML_CONFIG | |
| 14047 if test -n "$XML_CONFIG"; then | |
| 14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 | |
| 14049 $as_echo "$XML_CONFIG" >&6; } | |
| 14050 else | |
| 14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14052 $as_echo "no" >&6; } | |
| 14053 fi | |
| 14054 | |
| 14055 | |
| 14056 fi | |
| 14057 if test -z "$ac_cv_path_XML_CONFIG"; then | |
| 14058 ac_pt_XML_CONFIG=$XML_CONFIG | |
| 14059 # Extract the first word of "xml2-config", so it can be a program name with ar
gs. | |
| 14060 set dummy xml2-config; ac_word=$2 | |
| 14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 14062 $as_echo_n "checking for $ac_word... " >&6; } | |
| 14063 if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then : | |
| 14064 $as_echo_n "(cached) " >&6 | |
| 14065 else | |
| 14066 case $ac_pt_XML_CONFIG in | |
| 14067 [\\/]* | ?:[\\/]*) | |
| 14068 ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the te
st with a path. | |
| 14069 ;; | |
| 14070 *) | |
| 14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14072 for as_dir in ${LIBXML_CONFIG_PREFIX}/bin | |
| 14073 do | |
| 14074 IFS=$as_save_IFS | |
| 14075 test -z "$as_dir" && as_dir=. | |
| 14076 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 14078 ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 14079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 14080 break 2 | |
| 14081 fi | |
| 14082 done | |
| 14083 done | |
| 14084 IFS=$as_save_IFS | |
| 14085 | |
| 14086 ;; | |
| 14087 esac | |
| 14088 fi | |
| 14089 ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG | |
| 14090 if test -n "$ac_pt_XML_CONFIG"; then | |
| 14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5 | |
| 14092 $as_echo "$ac_pt_XML_CONFIG" >&6; } | |
| 14093 else | |
| 14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14095 $as_echo "no" >&6; } | |
| 14096 fi | |
| 14097 | |
| 14098 if test "x$ac_pt_XML_CONFIG" = x; then | |
| 14099 XML_CONFIG="false" | |
| 14100 else | |
| 14101 case $cross_compiling:$ac_tool_warned in | |
| 14102 yes:) | |
| 14103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 14104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 14105 ac_tool_warned=yes ;; | |
| 14106 esac | |
| 14107 XML_CONFIG=$ac_pt_XML_CONFIG | |
| 14108 fi | |
| 14109 else | |
| 14110 XML_CONFIG="$ac_cv_path_XML_CONFIG" | |
| 14111 fi | |
| 14112 | |
| 14113 else | |
| 14114 if test -n "$ac_tool_prefix"; then | |
| 14115 # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a pro
gram name with args. | |
| 14116 set dummy ${ac_tool_prefix}xml2-config; ac_word=$2 | |
| 14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 14118 $as_echo_n "checking for $ac_word... " >&6; } | |
| 14119 if ${ac_cv_path_XML_CONFIG+:} false; then : | |
| 14120 $as_echo_n "(cached) " >&6 | |
| 14121 else | |
| 14122 case $XML_CONFIG in | |
| 14123 [\\/]* | ?:[\\/]*) | |
| 14124 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a pa
th. | |
| 14125 ;; | |
| 14126 *) | |
| 14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14128 for as_dir in $PATH | |
| 14129 do | |
| 14130 IFS=$as_save_IFS | |
| 14131 test -z "$as_dir" && as_dir=. | |
| 14132 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 14134 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 14135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 14136 break 2 | |
| 14137 fi | |
| 14138 done | |
| 14139 done | |
| 14140 IFS=$as_save_IFS | |
| 14141 | |
| 14142 ;; | |
| 14143 esac | |
| 14144 fi | |
| 14145 XML_CONFIG=$ac_cv_path_XML_CONFIG | |
| 14146 if test -n "$XML_CONFIG"; then | |
| 14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 | |
| 14148 $as_echo "$XML_CONFIG" >&6; } | |
| 14149 else | |
| 14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14151 $as_echo "no" >&6; } | |
| 14152 fi | |
| 14153 | |
| 14154 | |
| 14155 fi | |
| 14156 if test -z "$ac_cv_path_XML_CONFIG"; then | |
| 14157 ac_pt_XML_CONFIG=$XML_CONFIG | |
| 14158 # Extract the first word of "xml2-config", so it can be a program name with ar
gs. | |
| 14159 set dummy xml2-config; ac_word=$2 | |
| 14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 14161 $as_echo_n "checking for $ac_word... " >&6; } | |
| 14162 if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then : | |
| 14163 $as_echo_n "(cached) " >&6 | |
| 14164 else | |
| 14165 case $ac_pt_XML_CONFIG in | |
| 14166 [\\/]* | ?:[\\/]*) | |
| 14167 ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the te
st with a path. | |
| 14168 ;; | |
| 14169 *) | |
| 14170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14171 for as_dir in $PATH | |
| 14172 do | |
| 14173 IFS=$as_save_IFS | |
| 14174 test -z "$as_dir" && as_dir=. | |
| 14175 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 14177 ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 14178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
| 14179 break 2 | |
| 14180 fi | |
| 14181 done | |
| 14182 done | |
| 14183 IFS=$as_save_IFS | |
| 14184 | |
| 14185 ;; | |
| 14186 esac | |
| 14187 fi | |
| 14188 ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG | |
| 14189 if test -n "$ac_pt_XML_CONFIG"; then | |
| 14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5 | |
| 14191 $as_echo "$ac_pt_XML_CONFIG" >&6; } | |
| 14192 else | |
| 14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14194 $as_echo "no" >&6; } | |
| 14195 fi | |
| 14196 | |
| 14197 if test "x$ac_pt_XML_CONFIG" = x; then | |
| 14198 XML_CONFIG="false" | |
| 14199 else | |
| 14200 case $cross_compiling:$ac_tool_warned in | |
| 14201 yes:) | |
| 14202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
| 14203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
| 14204 ac_tool_warned=yes ;; | |
| 14205 esac | |
| 14206 XML_CONFIG=$ac_pt_XML_CONFIG | |
| 14207 fi | |
| 14208 else | |
| 14209 XML_CONFIG="$ac_cv_path_XML_CONFIG" | |
| 14210 fi | |
| 14211 | |
| 14212 fi | |
| 14213 | |
| 14214 if test "${GCC}" != "yes" ; then | |
| 14215 case "${host}" in | |
| 14216 *-*-hpux* ) | |
| 14217 CFLAGS="${CFLAGS} -Wp,-H30000" | |
| 14218 ;; | |
| 14219 *-dec-osf* ) | |
| 14220 CFLAGS="${CFLAGS} -ieee" | |
| 14221 ;; | |
| 14222 esac | |
| 14223 else | |
| 14224 CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-format-attribute" | |
| 14225 case "${host}" in | |
| 14226 alpha*-*-linux* ) | |
| 14227 CFLAGS="${CFLAGS} -mieee" | |
| 14228 ;; | |
| 14229 alpha*-*-osf* ) | |
| 14230 CFLAGS="${CFLAGS} -mieee" | |
| 14231 ;; | |
| 14232 esac | |
| 14233 fi | |
| 14234 | |
| 14235 | |
| 14236 if test "x$LIBXML_SRC" != "x" | |
| 14237 then | |
| 14238 CWD=`pwd` | |
| 14239 if cd $LIBXML_SRC | |
| 14240 then | |
| 14241 SRC_DIR=`pwd` | |
| 14242 XML_CONFIG=${SRC_DIR}/xml2-config | |
| 14243 LIBXML_CFLAGS="-I${SRC_DIR}/include" | |
| 14244 LIBXML_LIBS="-L${SRC_DIR}" | |
| 14245 cd $CWD | |
| 14246 else | |
| 14247 as_fn_error $? "libxml source dir not found (${LIBXML_SRC}), typ
o?" "$LINENO" 5 | |
| 14248 fi | |
| 14249 fi | |
| 14250 | |
| 14251 | |
| 14252 if ${XML_CONFIG} --libs print > /dev/null 2>&1 | |
| 14253 then | |
| 14254 XMLVERS=`$XML_CONFIG --version` | |
| 14255 if test `echo $XMLVERS | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; }
{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -ge `echo $LIBXML_REQUIRED_VERS
ION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000
+ $2) * 1000 + $3;}'` | |
| 14256 then | |
| 14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLVERS found"
>&5 | |
| 14258 $as_echo "$XMLVERS found" >&6; } | |
| 14259 else | |
| 14260 as_fn_error $? "Version $XMLVERS found. You need at least libxml
2 $LIBXML_REQUIRED_VERSION for this version of libxslt" "$LINENO" 5 | |
| 14261 fi | |
| 14262 LIBXML_LIBS="$LIBXML_LIBS `$XML_CONFIG --libs`" | |
| 14263 if test "x$LIBXML_SRC" = "x"; then | |
| 14264 LIBXML_CFLAGS="$LIBXML_CFLAGS `$XML_CONFIG --cflags`" | |
| 14265 fi | |
| 14266 else | |
| 14267 as_fn_error $? "Could not find libxml2 anywhere, check ftp://xmlsoft.org
/." "$LINENO" 5 | |
| 14268 fi | |
| 14269 | |
| 14270 | |
| 14271 | |
| 14272 | |
| 14273 | |
| 14274 | |
| 14275 | |
| 14276 # Check whether --with-plugins was given. | |
| 14277 if test "${with_plugins+set}" = set; then : | |
| 14278 withval=$with_plugins; | |
| 14279 fi | |
| 14280 | |
| 14281 if test "$with_plugins" = "" | |
| 14282 then | |
| 14283 with_plugins=yes | |
| 14284 fi | |
| 14285 | |
| 14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shared libraries will
be built (required for plugins)" >&5 | |
| 14287 $as_echo_n "checking whether shared libraries will be built (required for plugin
s)... " >&6; } | |
| 14288 if test "$enable_shared" = "no" -a "$with_plugins" = "yes"; then | |
| 14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14290 $as_echo "no" >&6; } | |
| 14291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling plugin supp
ort." >&5 | |
| 14292 $as_echo "$as_me: WARNING: Disabling plugin support." >&2;} | |
| 14293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugins require that
shared libraries be built." >&5 | |
| 14294 $as_echo "$as_me: WARNING: Plugins require that shared libraries be built." >&2;
} | |
| 14295 with_plugins=no | |
| 14296 else | |
| 14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 14298 $as_echo "yes" >&6; } | |
| 14299 fi | |
| 14300 | |
| 14301 if test "$with_plugins" = "yes" ; then | |
| 14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 module support" >&5 | |
| 14303 $as_echo_n "checking libxml2 module support... " >&6; } | |
| 14304 WITH_MODULES="`$XML_CONFIG --modules`" | |
| 14305 if test "${WITH_MODULES}" = "1"; then | |
| 14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 14307 $as_echo "yes" >&6; } | |
| 14308 else | |
| 14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14310 $as_echo "no" >&6; } | |
| 14311 WITH_MODULES="0" | |
| 14312 fi | |
| 14313 else | |
| 14314 WITH_MODULES="0" | |
| 14315 fi | |
| 14316 | |
| 14317 | |
| 14318 if test "$WITH_MODULES" = "1"; then | |
| 14319 WITH_MODULES_TRUE= | |
| 14320 WITH_MODULES_FALSE='#' | |
| 14321 else | |
| 14322 WITH_MODULES_TRUE='#' | |
| 14323 WITH_MODULES_FALSE= | |
| 14324 fi | |
| 14325 | |
| 14326 | |
| 14327 expanded_libdir=$( | |
| 14328 test "x$prefix" = xNONE && prefix="$ac_default_prefix" | |
| 14329 test "x$exec_prefix" = xNONE && exec_prefix="$prefix" | |
| 14330 while test "$libdir_old" != "$libdir"; do | |
| 14331 libdir_old="$libdir" | |
| 14332 eval libdir="$libdir" | |
| 14333 done | |
| 14334 echo "$libdir" | |
| 14335 ) | |
| 14336 LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins" | |
| 14337 | |
| 14338 | |
| 14339 WIN32_EXTRA_LIBADD= | |
| 14340 WIN32_EXTRA_LDFLAGS= | |
| 14341 case "$host" in | |
| 14342 *-*-cygwin*) | |
| 14343 WIN32_EXTRA_LDFLAGS="-no-undefined" | |
| 14344 ;; | |
| 14345 *-*-mingw*) | |
| 14346 WIN32_EXTRA_LIBADD="-lwsock32" | |
| 14347 WIN32_EXTRA_LDFLAGS="-no-undefined" | |
| 14348 | |
| 14349 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h | |
| 14350 | |
| 14351 | |
| 14352 $as_echo "#define snprintf _snprintf" >>confdefs.h | |
| 14353 | |
| 14354 | |
| 14355 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h | |
| 14356 | |
| 14357 ;; | |
| 14358 esac | |
| 14359 | |
| 14360 | |
| 14361 | |
| 14362 | |
| 14363 | |
| 14364 | |
| 14365 | |
| 14366 | |
| 14367 | |
| 14368 | |
| 14369 | |
| 14370 | |
| 14371 | |
| 14372 | |
| 14373 XSLT_LIBDIR='-L${libdir}' | |
| 14374 XSLT_INCLUDEDIR='-I${includedir}' | |
| 14375 XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS" | |
| 14376 | |
| 14377 | |
| 14378 | |
| 14379 | |
| 14380 EXSLT_LIBDIR='-L${libdir}' | |
| 14381 EXSLT_INCLUDEDIR='-I${includedir}' | |
| 14382 EXSLT_LIBS="-lexslt $XSLT_LIBS $LIBGCRYPT_LIBS" | |
| 14383 | |
| 14384 | |
| 14385 | |
| 14386 | |
| 14387 | |
| 14388 | |
| 14389 | |
| 14390 | |
| 14391 RELDATE=`date +'%a %b %e %Y'` | |
| 14392 | |
| 14393 | |
| 14394 rm -f COPYING.LIB COPYING 2>/dev/null && $LN_S $srcdir/Copyright COPYING | |
| 14395 | |
| 14396 | |
| 14397 ac_config_files="$ac_config_files Makefile libxslt.pc libexslt.pc libxslt/Makefi
le libxslt/xsltconfig.h libxslt/xsltwin32config.h libexslt/Makefile libexslt/exs
ltconfig.h xsltproc/Makefile python/Makefile python/tests/Makefile tests/Makefil
e tests/docs/Makefile tests/REC1/Makefile tests/REC2/Makefile tests/REC/Makefile
tests/general/Makefile tests/reports/Makefile tests/extensions/Makefile tests/n
amespaces/Makefile tests/keys/Makefile tests/numbers/Makefile tests/documents/Ma
kefile tests/xmlspec/Makefile tests/multiple/Makefile tests/xinclude/Makefile te
sts/XSLTMark/Makefile tests/docbook/Makefile tests/exslt/Makefile tests/exslt/co
mmon/Makefile tests/exslt/functions/Makefile tests/exslt/math/Makefile tests/exs
lt/saxon/Makefile tests/exslt/sets/Makefile tests/exslt/strings/Makefile tests/e
xslt/date/Makefile tests/exslt/dynamic/Makefile tests/exslt/crypto/Makefile test
s/plugins/Makefile doc/Makefile xslt-config libxslt.spec" | |
| 14398 | |
| 14399 | |
| 14400 cat >confcache <<\_ACEOF | |
| 14401 # This file is a shell script that caches the results of configure | |
| 14402 # tests run on this system so they can be shared between configure | |
| 14403 # scripts and configure runs, see configure's option --config-cache. | |
| 14404 # It is not useful on other systems. If it contains results you don't | |
| 14405 # want to keep, you may remove or edit it. | |
| 14406 # | |
| 14407 # config.status only pays attention to the cache file if you give it | |
| 14408 # the --recheck option to rerun configure. | |
| 14409 # | |
| 14410 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 14411 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 14412 # following values. | |
| 14413 | |
| 14414 _ACEOF | |
| 14415 | |
| 14416 # The following way of writing the cache mishandles newlines in values, | |
| 14417 # but we know of no workaround that is simple, portable, and efficient. | |
| 14418 # So, we kill variables containing newlines. | |
| 14419 # Ultrix sh set writes to stderr and can't be redirected directly, | |
| 14420 # and sets the high bit in the cache file unless we assign to the vars. | |
| 14421 ( | |
| 14422 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; d
o | |
| 14423 eval ac_val=\$$ac_var | |
| 14424 case $ac_val in #( | |
| 14425 *${as_nl}*) | |
| 14426 case $ac_var in #( | |
| 14427 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $
ac_var contains a newline" >&5 | |
| 14428 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 14429 esac | |
| 14430 case $ac_var in #( | |
| 14431 _ | IFS | as_nl) ;; #( | |
| 14432 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 14433 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 14434 esac ;; | |
| 14435 esac | |
| 14436 done | |
| 14437 | |
| 14438 (set) 2>&1 | | |
| 14439 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 14440 *${as_nl}ac_space=\ *) | |
| 14441 # `set' does not quote correctly, so add quotes: double-quote | |
| 14442 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 14443 sed -n \ | |
| 14444 "s/'/'\\\\''/g; | |
| 14445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 14446 ;; #( | |
| 14447 *) | |
| 14448 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 14449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 14450 ;; | |
| 14451 esac | | |
| 14452 sort | |
| 14453 ) | | |
| 14454 sed ' | |
| 14455 /^ac_cv_env_/b end | |
| 14456 t clear | |
| 14457 :clear | |
| 14458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 14459 t end | |
| 14460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 14461 :end' >>confcache | |
| 14462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 14463 if test -w "$cache_file"; then | |
| 14464 if test "x$cache_file" != "x/dev/null"; then | |
| 14465 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 14466 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 14467 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
| 14468 cat confcache >"$cache_file" | |
| 14469 else | |
| 14470 case $cache_file in #( | |
| 14471 */* | ?:*) | |
| 14472 mv -f confcache "$cache_file"$$ && | |
| 14473 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
| 14474 *) | |
| 14475 mv -f confcache "$cache_file" ;; | |
| 14476 esac | |
| 14477 fi | |
| 14478 fi | |
| 14479 else | |
| 14480 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cach
e_file" >&5 | |
| 14481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 14482 fi | |
| 14483 fi | |
| 14484 rm -f confcache | |
| 14485 | |
| 14486 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 14487 # Let make expand exec_prefix. | |
| 14488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 14489 | |
| 14490 DEFS=-DHAVE_CONFIG_H | |
| 14491 | |
| 14492 ac_libobjs= | |
| 14493 ac_ltlibobjs= | |
| 14494 U= | |
| 14495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 14496 # 1. Remove the extension, and $U if already installed. | |
| 14497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 14498 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
| 14499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 14500 # will be set to the directory where LIBOBJS objects are built. | |
| 14501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 14502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 14503 done | |
| 14504 LIBOBJS=$ac_libobjs | |
| 14505 | |
| 14506 LTLIBOBJS=$ac_ltlibobjs | |
| 14507 | |
| 14508 | |
| 14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer
than configure" >&5 | |
| 14510 $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
| 14511 if test -n "$am_sleep_pid"; then | |
| 14512 # Hide warnings about reused PIDs. | |
| 14513 wait $am_sleep_pid 2>/dev/null | |
| 14514 fi | |
| 14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
| 14516 $as_echo "done" >&6; } | |
| 14517 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
| 14518 as_fn_error $? "conditional \"AMDEP\" was never defined. | |
| 14519 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14520 fi | |
| 14521 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
| 14522 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
| 14523 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14524 fi | |
| 14525 if test -n "$EXEEXT"; then | |
| 14526 am__EXEEXT_TRUE= | |
| 14527 am__EXEEXT_FALSE='#' | |
| 14528 else | |
| 14529 am__EXEEXT_TRUE='#' | |
| 14530 am__EXEEXT_FALSE= | |
| 14531 fi | |
| 14532 | |
| 14533 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"
; then | |
| 14534 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined. | |
| 14535 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14536 fi | |
| 14537 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then | |
| 14538 as_fn_error $? "conditional \"WITH_PERL\" was never defined. | |
| 14539 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14540 fi | |
| 14541 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then | |
| 14542 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. | |
| 14543 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14544 fi | |
| 14545 if test -z "${WITH_MODULES_TRUE}" && test -z "${WITH_MODULES_FALSE}"; then | |
| 14546 as_fn_error $? "conditional \"WITH_MODULES\" was never defined. | |
| 14547 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 14548 fi | |
| 14549 | |
| 14550 : "${CONFIG_STATUS=./config.status}" | |
| 14551 ac_write_fail=0 | |
| 14552 ac_clean_files_save=$ac_clean_files | |
| 14553 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 14554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 14555 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 14556 as_write_fail=0 | |
| 14557 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 14558 #! $SHELL | |
| 14559 # Generated by $as_me. | |
| 14560 # Run this file to recreate the current configuration. | |
| 14561 # Compiler output produced by configure, useful for debugging | |
| 14562 # configure, is in config.log if it exists. | |
| 14563 | |
| 14564 debug=false | |
| 14565 ac_cs_recheck=false | |
| 14566 ac_cs_silent=false | |
| 14567 | |
| 14568 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 14569 export SHELL | |
| 14570 _ASEOF | |
| 14571 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 14572 ## -------------------- ## | |
| 14573 ## M4sh Initialization. ## | |
| 14574 ## -------------------- ## | |
| 14575 | |
| 14576 # Be more Bourne compatible | |
| 14577 DUALCASE=1; export DUALCASE # for MKS sh | |
| 14578 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 14579 emulate sh | |
| 14580 NULLCMD=: | |
| 14581 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 14582 # is contrary to our usage. Disable this feature. | |
| 14583 alias -g '${1+"$@"}'='"$@"' | |
| 14584 setopt NO_GLOB_SUBST | |
| 14585 else | |
| 14586 case `(set -o) 2>/dev/null` in #( | |
| 14587 *posix*) : | |
| 14588 set -o posix ;; #( | |
| 14589 *) : | |
| 14590 ;; | |
| 14591 esac | |
| 14592 fi | |
| 14593 | |
| 14594 | |
| 14595 as_nl=' | |
| 14596 ' | |
| 14597 export as_nl | |
| 14598 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 14599 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 14600 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 14601 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 14602 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 14603 # but without wasting forks for bash or zsh. | |
| 14604 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 14605 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 14606 as_echo='print -r --' | |
| 14607 as_echo_n='print -rn --' | |
| 14608 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 14609 as_echo='printf %s\n' | |
| 14610 as_echo_n='printf %s' | |
| 14611 else | |
| 14612 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 14613 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 14614 as_echo_n='/usr/ucb/echo -n' | |
| 14615 else | |
| 14616 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 14617 as_echo_n_body='eval | |
| 14618 arg=$1; | |
| 14619 case $arg in #( | |
| 14620 *"$as_nl"*) | |
| 14621 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 14622 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 14623 esac; | |
| 14624 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 14625 ' | |
| 14626 export as_echo_n_body | |
| 14627 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 14628 fi | |
| 14629 export as_echo_body | |
| 14630 as_echo='sh -c $as_echo_body as_echo' | |
| 14631 fi | |
| 14632 | |
| 14633 # The user is always right. | |
| 14634 if test "${PATH_SEPARATOR+set}" != set; then | |
| 14635 PATH_SEPARATOR=: | |
| 14636 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 14637 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 14638 PATH_SEPARATOR=';' | |
| 14639 } | |
| 14640 fi | |
| 14641 | |
| 14642 | |
| 14643 # IFS | |
| 14644 # We need space, tab and new line, in precisely that order. Quoting is | |
| 14645 # there to prevent editors from complaining about space-tab. | |
| 14646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 14647 # splitting by setting IFS to empty value.) | |
| 14648 IFS=" "" $as_nl" | |
| 14649 | |
| 14650 # Find who we are. Look in the path if we contain no directory separator. | |
| 14651 as_myself= | |
| 14652 case $0 in #(( | |
| 14653 *[\\/]* ) as_myself=$0 ;; | |
| 14654 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14655 for as_dir in $PATH | |
| 14656 do | |
| 14657 IFS=$as_save_IFS | |
| 14658 test -z "$as_dir" && as_dir=. | |
| 14659 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 14660 done | |
| 14661 IFS=$as_save_IFS | |
| 14662 | |
| 14663 ;; | |
| 14664 esac | |
| 14665 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 14666 # in which case we are not to be found in the path. | |
| 14667 if test "x$as_myself" = x; then | |
| 14668 as_myself=$0 | |
| 14669 fi | |
| 14670 if test ! -f "$as_myself"; then | |
| 14671 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2 | |
| 14672 exit 1 | |
| 14673 fi | |
| 14674 | |
| 14675 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 14676 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 14677 # suppresses any "Segmentation fault" message there. '((' could | |
| 14678 # trigger a bug in pdksh 5.2.14. | |
| 14679 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 14680 do eval test x\${$as_var+set} = xset \ | |
| 14681 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 14682 done | |
| 14683 PS1='$ ' | |
| 14684 PS2='> ' | |
| 14685 PS4='+ ' | |
| 14686 | |
| 14687 # NLS nuisances. | |
| 14688 LC_ALL=C | |
| 14689 export LC_ALL | |
| 14690 LANGUAGE=C | |
| 14691 export LANGUAGE | |
| 14692 | |
| 14693 # CDPATH. | |
| 14694 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 14695 | |
| 14696 | |
| 14697 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 14698 # ---------------------------------------- | |
| 14699 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 14700 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 14701 # script with STATUS, using 1 if that was 0. | |
| 14702 as_fn_error () | |
| 14703 { | |
| 14704 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 14705 if test "$4"; then | |
| 14706 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 14707 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 14708 fi | |
| 14709 $as_echo "$as_me: error: $2" >&2 | |
| 14710 as_fn_exit $as_status | |
| 14711 } # as_fn_error | |
| 14712 | |
| 14713 | |
| 14714 # as_fn_set_status STATUS | |
| 14715 # ----------------------- | |
| 14716 # Set $? to STATUS, without forking. | |
| 14717 as_fn_set_status () | |
| 14718 { | |
| 14719 return $1 | |
| 14720 } # as_fn_set_status | |
| 14721 | |
| 14722 # as_fn_exit STATUS | |
| 14723 # ----------------- | |
| 14724 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 14725 as_fn_exit () | |
| 14726 { | |
| 14727 set +e | |
| 14728 as_fn_set_status $1 | |
| 14729 exit $1 | |
| 14730 } # as_fn_exit | |
| 14731 | |
| 14732 # as_fn_unset VAR | |
| 14733 # --------------- | |
| 14734 # Portably unset VAR. | |
| 14735 as_fn_unset () | |
| 14736 { | |
| 14737 { eval $1=; unset $1;} | |
| 14738 } | |
| 14739 as_unset=as_fn_unset | |
| 14740 # as_fn_append VAR VALUE | |
| 14741 # ---------------------- | |
| 14742 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 14743 # advantage of any shell optimizations that allow amortized linear growth over | |
| 14744 # repeated appends, instead of the typical quadratic growth present in naive | |
| 14745 # implementations. | |
| 14746 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 14747 eval 'as_fn_append () | |
| 14748 { | |
| 14749 eval $1+=\$2 | |
| 14750 }' | |
| 14751 else | |
| 14752 as_fn_append () | |
| 14753 { | |
| 14754 eval $1=\$$1\$2 | |
| 14755 } | |
| 14756 fi # as_fn_append | |
| 14757 | |
| 14758 # as_fn_arith ARG... | |
| 14759 # ------------------ | |
| 14760 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 14761 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 14762 # must be portable across $(()) and expr. | |
| 14763 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 14764 eval 'as_fn_arith () | |
| 14765 { | |
| 14766 as_val=$(( $* )) | |
| 14767 }' | |
| 14768 else | |
| 14769 as_fn_arith () | |
| 14770 { | |
| 14771 as_val=`expr "$@" || test $? -eq 1` | |
| 14772 } | |
| 14773 fi # as_fn_arith | |
| 14774 | |
| 14775 | |
| 14776 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 14777 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 14778 as_expr=expr | |
| 14779 else | |
| 14780 as_expr=false | |
| 14781 fi | |
| 14782 | |
| 14783 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 14784 as_basename=basename | |
| 14785 else | |
| 14786 as_basename=false | |
| 14787 fi | |
| 14788 | |
| 14789 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 14790 as_dirname=dirname | |
| 14791 else | |
| 14792 as_dirname=false | |
| 14793 fi | |
| 14794 | |
| 14795 as_me=`$as_basename -- "$0" || | |
| 14796 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 14797 X"$0" : 'X\(//\)$' \| \ | |
| 14798 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 14799 $as_echo X/"$0" | | |
| 14800 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 14801 s//\1/ | |
| 14802 q | |
| 14803 } | |
| 14804 /^X\/\(\/\/\)$/{ | |
| 14805 s//\1/ | |
| 14806 q | |
| 14807 } | |
| 14808 /^X\/\(\/\).*/{ | |
| 14809 s//\1/ | |
| 14810 q | |
| 14811 } | |
| 14812 s/.*/./; q'` | |
| 14813 | |
| 14814 # Avoid depending upon Character Ranges. | |
| 14815 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 14816 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 14817 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 14818 as_cr_digits='0123456789' | |
| 14819 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 14820 | |
| 14821 ECHO_C= ECHO_N= ECHO_T= | |
| 14822 case `echo -n x` in #((((( | |
| 14823 -n*) | |
| 14824 case `echo 'xy\c'` in | |
| 14825 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 14826 xy) ECHO_C='\c';; | |
| 14827 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 14828 ECHO_T=' ';; | |
| 14829 esac;; | |
| 14830 *) | |
| 14831 ECHO_N='-n';; | |
| 14832 esac | |
| 14833 | |
| 14834 rm -f conf$$ conf$$.exe conf$$.file | |
| 14835 if test -d conf$$.dir; then | |
| 14836 rm -f conf$$.dir/conf$$.file | |
| 14837 else | |
| 14838 rm -f conf$$.dir | |
| 14839 mkdir conf$$.dir 2>/dev/null | |
| 14840 fi | |
| 14841 if (echo >conf$$.file) 2>/dev/null; then | |
| 14842 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 14843 as_ln_s='ln -s' | |
| 14844 # ... but there are two gotchas: | |
| 14845 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 14846 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 14847 # In both cases, we have to default to `cp -pR'. | |
| 14848 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 14849 as_ln_s='cp -pR' | |
| 14850 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 14851 as_ln_s=ln | |
| 14852 else | |
| 14853 as_ln_s='cp -pR' | |
| 14854 fi | |
| 14855 else | |
| 14856 as_ln_s='cp -pR' | |
| 14857 fi | |
| 14858 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 14859 rmdir conf$$.dir 2>/dev/null | |
| 14860 | |
| 14861 | |
| 14862 # as_fn_mkdir_p | |
| 14863 # ------------- | |
| 14864 # Create "$as_dir" as a directory, including parents if necessary. | |
| 14865 as_fn_mkdir_p () | |
| 14866 { | |
| 14867 | |
| 14868 case $as_dir in #( | |
| 14869 -*) as_dir=./$as_dir;; | |
| 14870 esac | |
| 14871 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 14872 as_dirs= | |
| 14873 while :; do | |
| 14874 case $as_dir in #( | |
| 14875 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 14876 *) as_qdir=$as_dir;; | |
| 14877 esac | |
| 14878 as_dirs="'$as_qdir' $as_dirs" | |
| 14879 as_dir=`$as_dirname -- "$as_dir" || | |
| 14880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 14881 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 14882 X"$as_dir" : 'X\(//\)$' \| \ | |
| 14883 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 14884 $as_echo X"$as_dir" | | |
| 14885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 14886 s//\1/ | |
| 14887 q | |
| 14888 } | |
| 14889 /^X\(\/\/\)[^/].*/{ | |
| 14890 s//\1/ | |
| 14891 q | |
| 14892 } | |
| 14893 /^X\(\/\/\)$/{ | |
| 14894 s//\1/ | |
| 14895 q | |
| 14896 } | |
| 14897 /^X\(\/\).*/{ | |
| 14898 s//\1/ | |
| 14899 q | |
| 14900 } | |
| 14901 s/.*/./; q'` | |
| 14902 test -d "$as_dir" && break | |
| 14903 done | |
| 14904 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 14905 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 14906 | |
| 14907 | |
| 14908 } # as_fn_mkdir_p | |
| 14909 if mkdir -p . 2>/dev/null; then | |
| 14910 as_mkdir_p='mkdir -p "$as_dir"' | |
| 14911 else | |
| 14912 test -d ./-p && rmdir ./-p | |
| 14913 as_mkdir_p=false | |
| 14914 fi | |
| 14915 | |
| 14916 | |
| 14917 # as_fn_executable_p FILE | |
| 14918 # ----------------------- | |
| 14919 # Test if FILE is an executable regular file. | |
| 14920 as_fn_executable_p () | |
| 14921 { | |
| 14922 test -f "$1" && test -x "$1" | |
| 14923 } # as_fn_executable_p | |
| 14924 as_test_x='test -x' | |
| 14925 as_executable_p=as_fn_executable_p | |
| 14926 | |
| 14927 # Sed expression to map a string onto a valid CPP name. | |
| 14928 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 14929 | |
| 14930 # Sed expression to map a string onto a valid variable name. | |
| 14931 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 14932 | |
| 14933 | |
| 14934 exec 6>&1 | |
| 14935 ## ----------------------------------- ## | |
| 14936 ## Main body of $CONFIG_STATUS script. ## | |
| 14937 ## ----------------------------------- ## | |
| 14938 _ASEOF | |
| 14939 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 14940 | |
| 14941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 14942 # Save the log message, to keep $0 and so on meaningful, and to | |
| 14943 # report actual input values of CONFIG_FILES etc. instead of their | |
| 14944 # values after options handling. | |
| 14945 ac_log=" | |
| 14946 This file was extended by $as_me, which was | |
| 14947 generated by GNU Autoconf 2.69. Invocation command line was | |
| 14948 | |
| 14949 CONFIG_FILES = $CONFIG_FILES | |
| 14950 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 14951 CONFIG_LINKS = $CONFIG_LINKS | |
| 14952 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 14953 $ $0 $@ | |
| 14954 | |
| 14955 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 14956 " | |
| 14957 | |
| 14958 _ACEOF | |
| 14959 | |
| 14960 case $ac_config_files in *" | |
| 14961 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 14962 esac | |
| 14963 | |
| 14964 case $ac_config_headers in *" | |
| 14965 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
| 14966 esac | |
| 14967 | |
| 14968 | |
| 14969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 14970 # Files that config.status was made for. | |
| 14971 config_files="$ac_config_files" | |
| 14972 config_headers="$ac_config_headers" | |
| 14973 config_commands="$ac_config_commands" | |
| 14974 | |
| 14975 _ACEOF | |
| 14976 | |
| 14977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 14978 ac_cs_usage="\ | |
| 14979 \`$as_me' instantiates files and other configuration actions | |
| 14980 from templates according to the current configuration. Unless the files | |
| 14981 and actions are specified as TAGs, all are instantiated by default. | |
| 14982 | |
| 14983 Usage: $0 [OPTION]... [TAG]... | |
| 14984 | |
| 14985 -h, --help print this help, then exit | |
| 14986 -V, --version print version number and configuration settings, then exit | |
| 14987 --config print configuration, then exit | |
| 14988 -q, --quiet, --silent | |
| 14989 do not print progress messages | |
| 14990 -d, --debug don't remove temporary files | |
| 14991 --recheck update $as_me by reconfiguring in the same conditions | |
| 14992 --file=FILE[:TEMPLATE] | |
| 14993 instantiate the configuration file FILE | |
| 14994 --header=FILE[:TEMPLATE] | |
| 14995 instantiate the configuration header FILE | |
| 14996 | |
| 14997 Configuration files: | |
| 14998 $config_files | |
| 14999 | |
| 15000 Configuration headers: | |
| 15001 $config_headers | |
| 15002 | |
| 15003 Configuration commands: | |
| 15004 $config_commands | |
| 15005 | |
| 15006 Report bugs to the package provider." | |
| 15007 | |
| 15008 _ACEOF | |
| 15009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15010 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`" | |
| 15011 ac_cs_version="\\ | |
| 15012 config.status | |
| 15013 configured by $0, generated by GNU Autoconf 2.69, | |
| 15014 with options \\"\$ac_cs_config\\" | |
| 15015 | |
| 15016 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 15017 This config.status script is free software; the Free Software Foundation | |
| 15018 gives unlimited permission to copy, distribute and modify it." | |
| 15019 | |
| 15020 ac_pwd='$ac_pwd' | |
| 15021 srcdir='$srcdir' | |
| 15022 INSTALL='$INSTALL' | |
| 15023 MKDIR_P='$MKDIR_P' | |
| 15024 AWK='$AWK' | |
| 15025 test -n "\$AWK" || AWK=awk | |
| 15026 _ACEOF | |
| 15027 | |
| 15028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15029 # The default lists apply if the user does not specify any file. | |
| 15030 ac_need_defaults=: | |
| 15031 while test $# != 0 | |
| 15032 do | |
| 15033 case $1 in | |
| 15034 --*=?*) | |
| 15035 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 15036 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 15037 ac_shift=: | |
| 15038 ;; | |
| 15039 --*=) | |
| 15040 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 15041 ac_optarg= | |
| 15042 ac_shift=: | |
| 15043 ;; | |
| 15044 *) | |
| 15045 ac_option=$1 | |
| 15046 ac_optarg=$2 | |
| 15047 ac_shift=shift | |
| 15048 ;; | |
| 15049 esac | |
| 15050 | |
| 15051 case $ac_option in | |
| 15052 # Handling of the options. | |
| 15053 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 15054 ac_cs_recheck=: ;; | |
| 15055 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 15056 $as_echo "$ac_cs_version"; exit ;; | |
| 15057 --config | --confi | --conf | --con | --co | --c ) | |
| 15058 $as_echo "$ac_cs_config"; exit ;; | |
| 15059 --debug | --debu | --deb | --de | --d | -d ) | |
| 15060 debug=: ;; | |
| 15061 --file | --fil | --fi | --f ) | |
| 15062 $ac_shift | |
| 15063 case $ac_optarg in | |
| 15064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 15065 '') as_fn_error $? "missing file argument" ;; | |
| 15066 esac | |
| 15067 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 15068 ac_need_defaults=false;; | |
| 15069 --header | --heade | --head | --hea ) | |
| 15070 $ac_shift | |
| 15071 case $ac_optarg in | |
| 15072 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 15073 esac | |
| 15074 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
| 15075 ac_need_defaults=false;; | |
| 15076 --he | --h) | |
| 15077 # Conflict between --help and --header | |
| 15078 as_fn_error $? "ambiguous option: \`$1' | |
| 15079 Try \`$0 --help' for more information.";; | |
| 15080 --help | --hel | -h ) | |
| 15081 $as_echo "$ac_cs_usage"; exit ;; | |
| 15082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 15083 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 15084 ac_cs_silent=: ;; | |
| 15085 | |
| 15086 # This is an error. | |
| 15087 -*) as_fn_error $? "unrecognized option: \`$1' | |
| 15088 Try \`$0 --help' for more information." ;; | |
| 15089 | |
| 15090 *) as_fn_append ac_config_targets " $1" | |
| 15091 ac_need_defaults=false ;; | |
| 15092 | |
| 15093 esac | |
| 15094 shift | |
| 15095 done | |
| 15096 | |
| 15097 ac_configure_extra_args= | |
| 15098 | |
| 15099 if $ac_cs_silent; then | |
| 15100 exec 6>/dev/null | |
| 15101 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 15102 fi | |
| 15103 | |
| 15104 _ACEOF | |
| 15105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15106 if \$ac_cs_recheck; then | |
| 15107 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --n
o-recursion | |
| 15108 shift | |
| 15109 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 15110 CONFIG_SHELL='$SHELL' | |
| 15111 export CONFIG_SHELL | |
| 15112 exec "\$@" | |
| 15113 fi | |
| 15114 | |
| 15115 _ACEOF | |
| 15116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15117 exec 5>>config.log | |
| 15118 { | |
| 15119 echo | |
| 15120 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 15121 ## Running $as_me. ## | |
| 15122 _ASBOX | |
| 15123 $as_echo "$ac_log" | |
| 15124 } >&5 | |
| 15125 | |
| 15126 _ACEOF | |
| 15127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15128 # | |
| 15129 # INIT-COMMANDS | |
| 15130 # | |
| 15131 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
| 15132 | |
| 15133 | |
| 15134 # The HP-UX ksh and POSIX shell print the target directory to stdout | |
| 15135 # if CDPATH is set. | |
| 15136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 15137 | |
| 15138 sed_quote_subst='$sed_quote_subst' | |
| 15139 double_quote_subst='$double_quote_subst' | |
| 15140 delay_variable_subst='$delay_variable_subst' | |
| 15141 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | |
| 15142 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | |
| 15143 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' | |
| 15144 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' | |
| 15145 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | |
| 15146 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | |
| 15147 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | |
| 15148 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | |
| 15149 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s
ubst"`' | |
| 15150 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | |
| 15151 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | |
| 15152 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' | |
| 15153 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | |
| 15154 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | |
| 15155 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | |
| 15156 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | |
| 15157 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | |
| 15158 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | |
| 15159 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | |
| 15160 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | |
| 15161 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | |
| 15162 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | |
| 15163 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | |
| 15164 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | |
| 15165 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | |
| 15166 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | |
| 15167 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | |
| 15168 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | |
| 15169 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | |
| 15170 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | |
| 15171 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | |
| 15172 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | |
| 15173 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q
uote_subst"`' | |
| 15174 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_q
uote_subst"`' | |
| 15175 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | |
| 15176 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15177 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote
_subst"`' | |
| 15178 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | |
| 15179 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' | |
| 15180 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' | |
| 15181 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_
single_quote_subst"`' | |
| 15182 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | |
| 15183 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | |
| 15184 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_sub
st"`' | |
| 15185 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | |
| 15186 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | |
| 15187 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote
_subst"`' | |
| 15188 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q
uote_subst"`' | |
| 15189 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`
' | |
| 15190 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela
y_single_quote_subst"`' | |
| 15191 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | |
| 15192 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | |
| 15193 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | |
| 15194 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | |
| 15195 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lay_single_quote_subst"`' | |
| 15196 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $
SED "$delay_single_quote_subst"`' | |
| 15197 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c
_name_address" | $SED "$delay_single_quote_subst"`' | |
| 15198 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"`' | |
| 15199 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst
"`' | |
| 15200 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' | |
| 15201 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | |
| 15202 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | |
| 15203 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $
SED "$delay_single_quote_subst"`' | |
| 15204 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote
_subst"`' | |
| 15205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s
ubst"`' | |
| 15206 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single
_quote_subst"`' | |
| 15207 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single
_quote_subst"`' | |
| 15208 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | |
| 15209 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | |
| 15210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | |
| 15211 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' | |
| 15212 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' | |
| 15213 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' | |
| 15214 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' | |
| 15215 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' | |
| 15216 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15217 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote
_subst"`' | |
| 15218 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote
_subst"`' | |
| 15219 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes"
| $SED "$delay_single_quote_subst"`' | |
| 15220 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_sing
le_quote_subst"`' | |
| 15221 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single
_quote_subst"`' | |
| 15222 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quo
te_subst"`' | |
| 15223 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_si
ngle_quote_subst"`' | |
| 15224 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$
delay_single_quote_subst"`' | |
| 15225 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15226 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_s
ubst"`' | |
| 15227 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15228 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_sub
st"`' | |
| 15229 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' | |
| 15230 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote
_subst"`' | |
| 15231 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst
"`' | |
| 15232 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_si
ngle_quote_subst"`' | |
| 15233 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_si
ngle_quote_subst"`' | |
| 15234 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' | |
| 15235 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_sing
le_quote_subst"`' | |
| 15236 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`
' | |
| 15237 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
uote_subst"`' | |
| 15238 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_sub
st"`' | |
| 15239 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' | |
| 15240 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`
' | |
| 15241 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quo
te_subst"`' | |
| 15242 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_s
ubst"`' | |
| 15243 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 15244 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 15245 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15246 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15247 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' | |
| 15248 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_
single_quote_subst"`' | |
| 15249 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' | |
| 15250 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' | |
| 15251 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' | |
| 15252 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' | |
| 15253 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' | |
| 15254 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$dela
y_single_quote_subst"`' | |
| 15255 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | |
| 15256 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' | |
| 15257 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | |
| 15258 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' | |
| 15259 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' | |
| 15260 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' | |
| 15261 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | |
| 15262 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | |
| 15263 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub
st"`' | |
| 15264 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing
le_quote_subst"`' | |
| 15265 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_
single_quote_subst"`' | |
| 15266 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | |
| 15267 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | |
| 15268 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub
st"`' | |
| 15269 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si
ngle_quote_subst"`' | |
| 15270 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | |
| 15271 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | |
| 15272 | |
| 15273 LTCC='$LTCC' | |
| 15274 LTCFLAGS='$LTCFLAGS' | |
| 15275 compiler='$compiler_DEFAULT' | |
| 15276 | |
| 15277 # A function that is used when there is no print builtin or printf. | |
| 15278 func_fallback_echo () | |
| 15279 { | |
| 15280 eval 'cat <<_LTECHO_EOF | |
| 15281 \$1 | |
| 15282 _LTECHO_EOF' | |
| 15283 } | |
| 15284 | |
| 15285 # Quote evaled strings. | |
| 15286 for var in AS \ | |
| 15287 DLLTOOL \ | |
| 15288 OBJDUMP \ | |
| 15289 SHELL \ | |
| 15290 ECHO \ | |
| 15291 PATH_SEPARATOR \ | |
| 15292 SED \ | |
| 15293 GREP \ | |
| 15294 EGREP \ | |
| 15295 FGREP \ | |
| 15296 LD \ | |
| 15297 NM \ | |
| 15298 LN_S \ | |
| 15299 lt_SP2NL \ | |
| 15300 lt_NL2SP \ | |
| 15301 reload_flag \ | |
| 15302 deplibs_check_method \ | |
| 15303 file_magic_cmd \ | |
| 15304 file_magic_glob \ | |
| 15305 want_nocaseglob \ | |
| 15306 sharedlib_from_linklib_cmd \ | |
| 15307 AR \ | |
| 15308 AR_FLAGS \ | |
| 15309 archiver_list_spec \ | |
| 15310 STRIP \ | |
| 15311 RANLIB \ | |
| 15312 CC \ | |
| 15313 CFLAGS \ | |
| 15314 compiler \ | |
| 15315 lt_cv_sys_global_symbol_pipe \ | |
| 15316 lt_cv_sys_global_symbol_to_cdecl \ | |
| 15317 lt_cv_sys_global_symbol_to_c_name_address \ | |
| 15318 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | |
| 15319 nm_file_list_spec \ | |
| 15320 lt_prog_compiler_no_builtin_flag \ | |
| 15321 lt_prog_compiler_pic \ | |
| 15322 lt_prog_compiler_wl \ | |
| 15323 lt_prog_compiler_static \ | |
| 15324 lt_cv_prog_compiler_c_o \ | |
| 15325 need_locks \ | |
| 15326 MANIFEST_TOOL \ | |
| 15327 DSYMUTIL \ | |
| 15328 NMEDIT \ | |
| 15329 LIPO \ | |
| 15330 OTOOL \ | |
| 15331 OTOOL64 \ | |
| 15332 shrext_cmds \ | |
| 15333 export_dynamic_flag_spec \ | |
| 15334 whole_archive_flag_spec \ | |
| 15335 compiler_needs_object \ | |
| 15336 with_gnu_ld \ | |
| 15337 allow_undefined_flag \ | |
| 15338 no_undefined_flag \ | |
| 15339 hardcode_libdir_flag_spec \ | |
| 15340 hardcode_libdir_separator \ | |
| 15341 exclude_expsyms \ | |
| 15342 include_expsyms \ | |
| 15343 file_list_spec \ | |
| 15344 variables_saved_for_relink \ | |
| 15345 libname_spec \ | |
| 15346 library_names_spec \ | |
| 15347 soname_spec \ | |
| 15348 install_override_mode \ | |
| 15349 finish_eval \ | |
| 15350 old_striplib \ | |
| 15351 striplib; do | |
| 15352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 15353 *[\\\\\\\`\\"\\\$]*) | |
| 15354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" | |
| 15355 ;; | |
| 15356 *) | |
| 15357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 15358 ;; | |
| 15359 esac | |
| 15360 done | |
| 15361 | |
| 15362 # Double-quote double-evaled strings. | |
| 15363 for var in reload_cmds \ | |
| 15364 old_postinstall_cmds \ | |
| 15365 old_postuninstall_cmds \ | |
| 15366 old_archive_cmds \ | |
| 15367 extract_expsyms_cmds \ | |
| 15368 old_archive_from_new_cmds \ | |
| 15369 old_archive_from_expsyms_cmds \ | |
| 15370 archive_cmds \ | |
| 15371 archive_expsym_cmds \ | |
| 15372 module_cmds \ | |
| 15373 module_expsym_cmds \ | |
| 15374 export_symbols_cmds \ | |
| 15375 prelink_cmds \ | |
| 15376 postlink_cmds \ | |
| 15377 postinstall_cmds \ | |
| 15378 postuninstall_cmds \ | |
| 15379 finish_cmds \ | |
| 15380 sys_lib_search_path_spec \ | |
| 15381 sys_lib_dlsearch_path_spec; do | |
| 15382 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 15383 *[\\\\\\\`\\"\\\$]*) | |
| 15384 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" | |
| 15385 ;; | |
| 15386 *) | |
| 15387 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 15388 ;; | |
| 15389 esac | |
| 15390 done | |
| 15391 | |
| 15392 ac_aux_dir='$ac_aux_dir' | |
| 15393 xsi_shell='$xsi_shell' | |
| 15394 lt_shell_append='$lt_shell_append' | |
| 15395 | |
| 15396 # See if we are running on zsh, and set the options which allow our | |
| 15397 # commands through without removal of \ escapes INIT. | |
| 15398 if test -n "\${ZSH_VERSION+set}" ; then | |
| 15399 setopt NO_GLOB_SUBST | |
| 15400 fi | |
| 15401 | |
| 15402 | |
| 15403 PACKAGE='$PACKAGE' | |
| 15404 VERSION='$VERSION' | |
| 15405 TIMESTAMP='$TIMESTAMP' | |
| 15406 RM='$RM' | |
| 15407 ofile='$ofile' | |
| 15408 | |
| 15409 | |
| 15410 | |
| 15411 | |
| 15412 _ACEOF | |
| 15413 | |
| 15414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15415 | |
| 15416 # Handling of arguments. | |
| 15417 for ac_config_target in $ac_config_targets | |
| 15418 do | |
| 15419 case $ac_config_target in | |
| 15420 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
| 15421 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
| 15422 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | |
| 15423 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 15424 "libxslt.pc") CONFIG_FILES="$CONFIG_FILES libxslt.pc" ;; | |
| 15425 "libexslt.pc") CONFIG_FILES="$CONFIG_FILES libexslt.pc" ;; | |
| 15426 "libxslt/Makefile") CONFIG_FILES="$CONFIG_FILES libxslt/Makefile" ;; | |
| 15427 "libxslt/xsltconfig.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltconfig.h" ;; | |
| 15428 "libxslt/xsltwin32config.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltwin32co
nfig.h" ;; | |
| 15429 "libexslt/Makefile") CONFIG_FILES="$CONFIG_FILES libexslt/Makefile" ;; | |
| 15430 "libexslt/exsltconfig.h") CONFIG_FILES="$CONFIG_FILES libexslt/exsltconfig.h
" ;; | |
| 15431 "xsltproc/Makefile") CONFIG_FILES="$CONFIG_FILES xsltproc/Makefile" ;; | |
| 15432 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; | |
| 15433 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile"
;; | |
| 15434 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |
| 15435 "tests/docs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docs/Makefile" ;; | |
| 15436 "tests/REC1/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC1/Makefile" ;; | |
| 15437 "tests/REC2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC2/Makefile" ;; | |
| 15438 "tests/REC/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC/Makefile" ;; | |
| 15439 "tests/general/Makefile") CONFIG_FILES="$CONFIG_FILES tests/general/Makefile
" ;; | |
| 15440 "tests/reports/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reports/Makefile
" ;; | |
| 15441 "tests/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/extensions/Ma
kefile" ;; | |
| 15442 "tests/namespaces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/namespaces/Ma
kefile" ;; | |
| 15443 "tests/keys/Makefile") CONFIG_FILES="$CONFIG_FILES tests/keys/Makefile" ;; | |
| 15444 "tests/numbers/Makefile") CONFIG_FILES="$CONFIG_FILES tests/numbers/Makefile
" ;; | |
| 15445 "tests/documents/Makefile") CONFIG_FILES="$CONFIG_FILES tests/documents/Make
file" ;; | |
| 15446 "tests/xmlspec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmlspec/Makefile
" ;; | |
| 15447 "tests/multiple/Makefile") CONFIG_FILES="$CONFIG_FILES tests/multiple/Makefi
le" ;; | |
| 15448 "tests/xinclude/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xinclude/Makefi
le" ;; | |
| 15449 "tests/XSLTMark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/XSLTMark/Makefi
le" ;; | |
| 15450 "tests/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docbook/Makefile
" ;; | |
| 15451 "tests/exslt/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/Makefile" ;; | |
| 15452 "tests/exslt/common/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/commo
n/Makefile" ;; | |
| 15453 "tests/exslt/functions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/fu
nctions/Makefile" ;; | |
| 15454 "tests/exslt/math/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/math/Ma
kefile" ;; | |
| 15455 "tests/exslt/saxon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/saxon/
Makefile" ;; | |
| 15456 "tests/exslt/sets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/sets/Ma
kefile" ;; | |
| 15457 "tests/exslt/strings/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/stri
ngs/Makefile" ;; | |
| 15458 "tests/exslt/date/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/date/Ma
kefile" ;; | |
| 15459 "tests/exslt/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/dyna
mic/Makefile" ;; | |
| 15460 "tests/exslt/crypto/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/crypt
o/Makefile" ;; | |
| 15461 "tests/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES tests/plugins/Makefile
" ;; | |
| 15462 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
| 15463 "xslt-config") CONFIG_FILES="$CONFIG_FILES xslt-config" ;; | |
| 15464 "libxslt.spec") CONFIG_FILES="$CONFIG_FILES libxslt.spec" ;; | |
| 15465 | |
| 15466 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
| 15467 esac | |
| 15468 done | |
| 15469 | |
| 15470 | |
| 15471 # If the user did not use the arguments to specify the items to instantiate, | |
| 15472 # then the envvar interface is used. Set only those that are not. | |
| 15473 # We use the long form for the default assignment because of an extremely | |
| 15474 # bizarre bug on SunOS 4.1.3. | |
| 15475 if $ac_need_defaults; then | |
| 15476 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 15477 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
| 15478 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
| 15479 fi | |
| 15480 | |
| 15481 # Have a temporary directory for convenience. Make it in the build tree | |
| 15482 # simply because there is no reason against having it here, and in addition, | |
| 15483 # creating and moving files from /tmp can sometimes cause problems. | |
| 15484 # Hook for its removal unless debugging. | |
| 15485 # Note that there is a small window in which the directory will not be cleaned: | |
| 15486 # after its creation but before its name has been assigned to `$tmp'. | |
| 15487 $debug || | |
| 15488 { | |
| 15489 tmp= ac_tmp= | |
| 15490 trap 'exit_status=$? | |
| 15491 : "${ac_tmp:=$tmp}" | |
| 15492 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
| 15493 ' 0 | |
| 15494 trap 'as_fn_exit 1' 1 2 13 15 | |
| 15495 } | |
| 15496 # Create a (secure) tmp directory for tmp files. | |
| 15497 | |
| 15498 { | |
| 15499 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 15500 test -d "$tmp" | |
| 15501 } || | |
| 15502 { | |
| 15503 tmp=./conf$$-$RANDOM | |
| 15504 (umask 077 && mkdir "$tmp") | |
| 15505 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
| 15506 ac_tmp=$tmp | |
| 15507 | |
| 15508 # Set up the scripts for CONFIG_FILES section. | |
| 15509 # No need to generate them if there are no CONFIG_FILES. | |
| 15510 # This happens for instance with `./config.status config.h'. | |
| 15511 if test -n "$CONFIG_FILES"; then | |
| 15512 | |
| 15513 | |
| 15514 ac_cr=`echo X | tr X '\015'` | |
| 15515 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
| 15516 # But we know of no other shell where ac_cr would be empty at this | |
| 15517 # point, so we can use a bashism as a fallback. | |
| 15518 if test "x$ac_cr" = x; then | |
| 15519 eval ac_cr=\$\'\\r\' | |
| 15520 fi | |
| 15521 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
| 15522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
| 15523 ac_cs_awk_cr='\\r' | |
| 15524 else | |
| 15525 ac_cs_awk_cr=$ac_cr | |
| 15526 fi | |
| 15527 | |
| 15528 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
| 15529 _ACEOF | |
| 15530 | |
| 15531 | |
| 15532 { | |
| 15533 echo "cat >conf$$subs.awk <<_ACEOF" && | |
| 15534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
| 15535 echo "_ACEOF" | |
| 15536 } >conf$$subs.sh || | |
| 15537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 15538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
| 15539 ac_delim='%!_!# ' | |
| 15540 for ac_last_try in false false false false false :; do | |
| 15541 . ./conf$$subs.sh || | |
| 15542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 15543 | |
| 15544 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 15545 if test $ac_delim_n = $ac_delim_num; then | |
| 15546 break | |
| 15547 elif $ac_last_try; then | |
| 15548 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 15549 else | |
| 15550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 15551 fi | |
| 15552 done | |
| 15553 rm -f conf$$subs.sh | |
| 15554 | |
| 15555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15556 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
| 15557 _ACEOF | |
| 15558 sed -n ' | |
| 15559 h | |
| 15560 s/^/S["/; s/!.*/"]=/ | |
| 15561 p | |
| 15562 g | |
| 15563 s/^[^!]*!// | |
| 15564 :repl | |
| 15565 t repl | |
| 15566 s/'"$ac_delim"'$// | |
| 15567 t delim | |
| 15568 :nl | |
| 15569 h | |
| 15570 s/\(.\{148\}\)..*/\1/ | |
| 15571 t more1 | |
| 15572 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 15573 p | |
| 15574 n | |
| 15575 b repl | |
| 15576 :more1 | |
| 15577 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 15578 p | |
| 15579 g | |
| 15580 s/.\{148\}// | |
| 15581 t nl | |
| 15582 :delim | |
| 15583 h | |
| 15584 s/\(.\{148\}\)..*/\1/ | |
| 15585 t more2 | |
| 15586 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 15587 p | |
| 15588 b | |
| 15589 :more2 | |
| 15590 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 15591 p | |
| 15592 g | |
| 15593 s/.\{148\}// | |
| 15594 t delim | |
| 15595 ' <conf$$subs.awk | sed ' | |
| 15596 /^[^""]/{ | |
| 15597 N | |
| 15598 s/\n// | |
| 15599 } | |
| 15600 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 15601 rm -f conf$$subs.awk | |
| 15602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15603 _ACAWK | |
| 15604 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
| 15605 for (key in S) S_is_set[key] = 1 | |
| 15606 FS = "" | |
| 15607 | |
| 15608 } | |
| 15609 { | |
| 15610 line = $ 0 | |
| 15611 nfields = split(line, field, "@") | |
| 15612 substed = 0 | |
| 15613 len = length(field[1]) | |
| 15614 for (i = 2; i < nfields; i++) { | |
| 15615 key = field[i] | |
| 15616 keylen = length(key) | |
| 15617 if (S_is_set[key]) { | |
| 15618 value = S[key] | |
| 15619 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 15620 len += length(value) + length(field[++i]) | |
| 15621 substed = 1 | |
| 15622 } else | |
| 15623 len += 1 + keylen | |
| 15624 } | |
| 15625 | |
| 15626 print line | |
| 15627 } | |
| 15628 | |
| 15629 _ACAWK | |
| 15630 _ACEOF | |
| 15631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15632 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 15633 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 15634 else | |
| 15635 cat | |
| 15636 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
| 15637 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 15638 _ACEOF | |
| 15639 | |
| 15640 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 15641 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 15642 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 15643 # (actually we leave an empty line to preserve line numbers). | |
| 15644 if test "x$srcdir" = x.; then | |
| 15645 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 15646 h | |
| 15647 s/// | |
| 15648 s/^/:/ | |
| 15649 s/[ ]*$/:/ | |
| 15650 s/:\$(srcdir):/:/g | |
| 15651 s/:\${srcdir}:/:/g | |
| 15652 s/:@srcdir@:/:/g | |
| 15653 s/^:*// | |
| 15654 s/:*$// | |
| 15655 x | |
| 15656 s/\(=[ ]*\).*/\1/ | |
| 15657 G | |
| 15658 s/\n// | |
| 15659 s/^[^=]*=[ ]*$// | |
| 15660 }' | |
| 15661 fi | |
| 15662 | |
| 15663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15664 fi # test -n "$CONFIG_FILES" | |
| 15665 | |
| 15666 # Set up the scripts for CONFIG_HEADERS section. | |
| 15667 # No need to generate them if there are no CONFIG_HEADERS. | |
| 15668 # This happens for instance with `./config.status Makefile'. | |
| 15669 if test -n "$CONFIG_HEADERS"; then | |
| 15670 cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
| 15671 BEGIN { | |
| 15672 _ACEOF | |
| 15673 | |
| 15674 # Transform confdefs.h into an awk script `defines.awk', embedded as | |
| 15675 # here-document in config.status, that substitutes the proper values into | |
| 15676 # config.h.in to produce config.h. | |
| 15677 | |
| 15678 # Create a delimiter string that does not exist in confdefs.h, to ease | |
| 15679 # handling of long lines. | |
| 15680 ac_delim='%!_!# ' | |
| 15681 for ac_last_try in false false :; do | |
| 15682 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
| 15683 if test -z "$ac_tt"; then | |
| 15684 break | |
| 15685 elif $ac_last_try; then | |
| 15686 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
| 15687 else | |
| 15688 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 15689 fi | |
| 15690 done | |
| 15691 | |
| 15692 # For the awk script, D is an array of macro values keyed by name, | |
| 15693 # likewise P contains macro parameters if any. Preserve backslash | |
| 15694 # newline sequences. | |
| 15695 | |
| 15696 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
| 15697 sed -n ' | |
| 15698 s/.\{148\}/&'"$ac_delim"'/g | |
| 15699 t rset | |
| 15700 :rset | |
| 15701 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
| 15702 t def | |
| 15703 d | |
| 15704 :def | |
| 15705 s/\\$// | |
| 15706 t bsnl | |
| 15707 s/["\\]/\\&/g | |
| 15708 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
| 15709 D["\1"]=" \3"/p | |
| 15710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
| 15711 d | |
| 15712 :bsnl | |
| 15713 s/["\\]/\\&/g | |
| 15714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
| 15715 D["\1"]=" \3\\\\\\n"\\/p | |
| 15716 t cont | |
| 15717 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
| 15718 t cont | |
| 15719 d | |
| 15720 :cont | |
| 15721 n | |
| 15722 s/.\{148\}/&'"$ac_delim"'/g | |
| 15723 t clear | |
| 15724 :clear | |
| 15725 s/\\$// | |
| 15726 t bsnlc | |
| 15727 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
| 15728 d | |
| 15729 :bsnlc | |
| 15730 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
| 15731 b cont | |
| 15732 ' <confdefs.h | sed ' | |
| 15733 s/'"$ac_delim"'/"\\\ | |
| 15734 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 15735 | |
| 15736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15737 for (key in D) D_is_set[key] = 1 | |
| 15738 FS = "" | |
| 15739 } | |
| 15740 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
| 15741 line = \$ 0 | |
| 15742 split(line, arg, " ") | |
| 15743 if (arg[1] == "#") { | |
| 15744 defundef = arg[2] | |
| 15745 mac1 = arg[3] | |
| 15746 } else { | |
| 15747 defundef = substr(arg[1], 2) | |
| 15748 mac1 = arg[2] | |
| 15749 } | |
| 15750 split(mac1, mac2, "(") #) | |
| 15751 macro = mac2[1] | |
| 15752 prefix = substr(line, 1, index(line, defundef) - 1) | |
| 15753 if (D_is_set[macro]) { | |
| 15754 # Preserve the white space surrounding the "#". | |
| 15755 print prefix "define", macro P[macro] D[macro] | |
| 15756 next | |
| 15757 } else { | |
| 15758 # Replace #undef with comments. This is necessary, for example, | |
| 15759 # in the case of _POSIX_SOURCE, which is predefined and required | |
| 15760 # on some systems where configure will not decide to define it. | |
| 15761 if (defundef == "undef") { | |
| 15762 print "/*", prefix defundef, macro, "*/" | |
| 15763 next | |
| 15764 } | |
| 15765 } | |
| 15766 } | |
| 15767 { print } | |
| 15768 _ACAWK | |
| 15769 _ACEOF | |
| 15770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15771 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
| 15772 fi # test -n "$CONFIG_HEADERS" | |
| 15773 | |
| 15774 | |
| 15775 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
| 15776 shift | |
| 15777 for ac_tag | |
| 15778 do | |
| 15779 case $ac_tag in | |
| 15780 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 15781 esac | |
| 15782 case $ac_mode$ac_tag in | |
| 15783 :[FHL]*:*);; | |
| 15784 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
| 15785 :[FH]-) ac_tag=-:-;; | |
| 15786 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 15787 esac | |
| 15788 ac_save_IFS=$IFS | |
| 15789 IFS=: | |
| 15790 set x $ac_tag | |
| 15791 IFS=$ac_save_IFS | |
| 15792 shift | |
| 15793 ac_file=$1 | |
| 15794 shift | |
| 15795 | |
| 15796 case $ac_mode in | |
| 15797 :L) ac_source=$1;; | |
| 15798 :[FH]) | |
| 15799 ac_file_inputs= | |
| 15800 for ac_f | |
| 15801 do | |
| 15802 case $ac_f in | |
| 15803 -) ac_f="$ac_tmp/stdin";; | |
| 15804 *) # Look for the file first in the build tree, then in the source tree | |
| 15805 # (if the path is not absolute). The absolute path cannot be DOS-style
, | |
| 15806 # because $ac_f cannot contain `:'. | |
| 15807 test -f "$ac_f" || | |
| 15808 case $ac_f in | |
| 15809 [\\/$]*) false;; | |
| 15810 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 15811 esac || | |
| 15812 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
| 15813 esac | |
| 15814 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; es
ac | |
| 15815 as_fn_append ac_file_inputs " '$ac_f'" | |
| 15816 done | |
| 15817 | |
| 15818 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 15819 # use $as_me), people would be surprised to read: | |
| 15820 # /* config.h. Generated by config.status. */ | |
| 15821 configure_input='Generated from '` | |
| 15822 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 15823 `' by configure.' | |
| 15824 if test x"$ac_file" != x-; then | |
| 15825 configure_input="$ac_file. $configure_input" | |
| 15826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 15827 $as_echo "$as_me: creating $ac_file" >&6;} | |
| 15828 fi | |
| 15829 # Neutralize special characters interpreted by sed in replacement strings. | |
| 15830 case $configure_input in #( | |
| 15831 *\&* | *\|* | *\\* ) | |
| 15832 ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 15833 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 15834 *) ac_sed_conf_input=$configure_input;; | |
| 15835 esac | |
| 15836 | |
| 15837 case $ac_tag in | |
| 15838 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
| 15839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 15840 esac | |
| 15841 ;; | |
| 15842 esac | |
| 15843 | |
| 15844 ac_dir=`$as_dirname -- "$ac_file" || | |
| 15845 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 15846 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 15847 X"$ac_file" : 'X\(//\)$' \| \ | |
| 15848 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 15849 $as_echo X"$ac_file" | | |
| 15850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 15851 s//\1/ | |
| 15852 q | |
| 15853 } | |
| 15854 /^X\(\/\/\)[^/].*/{ | |
| 15855 s//\1/ | |
| 15856 q | |
| 15857 } | |
| 15858 /^X\(\/\/\)$/{ | |
| 15859 s//\1/ | |
| 15860 q | |
| 15861 } | |
| 15862 /^X\(\/\).*/{ | |
| 15863 s//\1/ | |
| 15864 q | |
| 15865 } | |
| 15866 s/.*/./; q'` | |
| 15867 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 15868 ac_builddir=. | |
| 15869 | |
| 15870 case "$ac_dir" in | |
| 15871 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 15872 *) | |
| 15873 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 15874 # A ".." for each directory in $ac_dir_suffix. | |
| 15875 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 15876 case $ac_top_builddir_sub in | |
| 15877 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 15878 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 15879 esac ;; | |
| 15880 esac | |
| 15881 ac_abs_top_builddir=$ac_pwd | |
| 15882 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 15883 # for backward compatibility: | |
| 15884 ac_top_builddir=$ac_top_build_prefix | |
| 15885 | |
| 15886 case $srcdir in | |
| 15887 .) # We are building in place. | |
| 15888 ac_srcdir=. | |
| 15889 ac_top_srcdir=$ac_top_builddir_sub | |
| 15890 ac_abs_top_srcdir=$ac_pwd ;; | |
| 15891 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 15892 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 15893 ac_top_srcdir=$srcdir | |
| 15894 ac_abs_top_srcdir=$srcdir ;; | |
| 15895 *) # Relative name. | |
| 15896 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 15897 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 15898 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 15899 esac | |
| 15900 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 15901 | |
| 15902 | |
| 15903 case $ac_mode in | |
| 15904 :F) | |
| 15905 # | |
| 15906 # CONFIG_FILE | |
| 15907 # | |
| 15908 | |
| 15909 case $INSTALL in | |
| 15910 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
| 15911 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
| 15912 esac | |
| 15913 ac_MKDIR_P=$MKDIR_P | |
| 15914 case $MKDIR_P in | |
| 15915 [\\/$]* | ?:[\\/]* ) ;; | |
| 15916 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
| 15917 esac | |
| 15918 _ACEOF | |
| 15919 | |
| 15920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15921 # If the template does not know about datarootdir, expand it. | |
| 15922 # FIXME: This hack should be removed a few years after 2.60. | |
| 15923 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 15924 ac_sed_dataroot=' | |
| 15925 /datarootdir/ { | |
| 15926 p | |
| 15927 q | |
| 15928 } | |
| 15929 /@datadir@/p | |
| 15930 /@docdir@/p | |
| 15931 /@infodir@/p | |
| 15932 /@localedir@/p | |
| 15933 /@mandir@/p' | |
| 15934 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 15935 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 15936 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 15937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ign
ore the --datarootdir setting" >&5 | |
| 15938 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir set
ting" >&2;} | |
| 15939 _ACEOF | |
| 15940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15941 ac_datarootdir_hack=' | |
| 15942 s&@datadir@&$datadir&g | |
| 15943 s&@docdir@&$docdir&g | |
| 15944 s&@infodir@&$infodir&g | |
| 15945 s&@localedir@&$localedir&g | |
| 15946 s&@mandir@&$mandir&g | |
| 15947 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 15948 esac | |
| 15949 _ACEOF | |
| 15950 | |
| 15951 # Neutralize VPATH when `$srcdir' = `.'. | |
| 15952 # Shell code in configure.ac might set extrasub. | |
| 15953 # FIXME: do we really want to maintain this feature? | |
| 15954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 15955 ac_sed_extra="$ac_vpsub | |
| 15956 $extrasub | |
| 15957 _ACEOF | |
| 15958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 15959 :t | |
| 15960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 15961 s|@configure_input@|$ac_sed_conf_input|;t t | |
| 15962 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 15963 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 15964 s&@srcdir@&$ac_srcdir&;t t | |
| 15965 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 15966 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 15967 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 15968 s&@builddir@&$ac_builddir&;t t | |
| 15969 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 15970 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 15971 s&@INSTALL@&$ac_INSTALL&;t t | |
| 15972 s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
| 15973 $ac_datarootdir_hack | |
| 15974 " | |
| 15975 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
| 15976 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 15977 | |
| 15978 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 15979 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
| 15980 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
| 15981 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
| 15982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a referenc
e to the variable \`datarootdir' | |
| 15983 which seems to be undefined. Please make sure it is defined" >&5 | |
| 15984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datar
ootdir' | |
| 15985 which seems to be undefined. Please make sure it is defined" >&2;} | |
| 15986 | |
| 15987 rm -f "$ac_tmp/stdin" | |
| 15988 case $ac_file in | |
| 15989 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
| 15990 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
| 15991 esac \ | |
| 15992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 15993 ;; | |
| 15994 :H) | |
| 15995 # | |
| 15996 # CONFIG_HEADER | |
| 15997 # | |
| 15998 if test x"$ac_file" != x-; then | |
| 15999 { | |
| 16000 $as_echo "/* $configure_input */" \ | |
| 16001 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | |
| 16002 } >"$ac_tmp/config.h" \ | |
| 16003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 16004 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
| 16005 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
| 16006 $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
| 16007 else | |
| 16008 rm -f "$ac_file" | |
| 16009 mv "$ac_tmp/config.h" "$ac_file" \ | |
| 16010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 16011 fi | |
| 16012 else | |
| 16013 $as_echo "/* $configure_input */" \ | |
| 16014 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | |
| 16015 || as_fn_error $? "could not create -" "$LINENO" 5 | |
| 16016 fi | |
| 16017 # Compute "$ac_file"'s index in $config_headers. | |
| 16018 _am_arg="$ac_file" | |
| 16019 _am_stamp_count=1 | |
| 16020 for _am_header in $config_headers :; do | |
| 16021 case $_am_header in | |
| 16022 $_am_arg | $_am_arg:* ) | |
| 16023 break ;; | |
| 16024 * ) | |
| 16025 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
| 16026 esac | |
| 16027 done | |
| 16028 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
| 16029 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 16030 X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
| 16031 X"$_am_arg" : 'X\(//\)$' \| \ | |
| 16032 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
| 16033 $as_echo X"$_am_arg" | | |
| 16034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 16035 s//\1/ | |
| 16036 q | |
| 16037 } | |
| 16038 /^X\(\/\/\)[^/].*/{ | |
| 16039 s//\1/ | |
| 16040 q | |
| 16041 } | |
| 16042 /^X\(\/\/\)$/{ | |
| 16043 s//\1/ | |
| 16044 q | |
| 16045 } | |
| 16046 /^X\(\/\).*/{ | |
| 16047 s//\1/ | |
| 16048 q | |
| 16049 } | |
| 16050 s/.*/./; q'`/stamp-h$_am_stamp_count | |
| 16051 ;; | |
| 16052 | |
| 16053 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
| 16054 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
| 16055 ;; | |
| 16056 esac | |
| 16057 | |
| 16058 | |
| 16059 case $ac_file$ac_mode in | |
| 16060 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
| 16061 # Older Autoconf quotes --file arguments for eval, but not when files | |
| 16062 # are listed without --file. Let's play safe and only enable the eval | |
| 16063 # if we detect the quoting. | |
| 16064 case $CONFIG_FILES in | |
| 16065 *\'*) eval set x "$CONFIG_FILES" ;; | |
| 16066 *) set x $CONFIG_FILES ;; | |
| 16067 esac | |
| 16068 shift | |
| 16069 for mf | |
| 16070 do | |
| 16071 # Strip MF so we end up with the name of the file. | |
| 16072 mf=`echo "$mf" | sed -e 's/:.*$//'` | |
| 16073 # Check whether this is an Automake generated Makefile or not. | |
| 16074 # We used to match only the files named 'Makefile.in', but | |
| 16075 # some people rename them; so instead we look at the file content. | |
| 16076 # Grep'ing the first line is not enough: some people post-process | |
| 16077 # each Makefile.in and add a new line on top of each file to say so. | |
| 16078 # Grep'ing the whole file is not good either: AIX grep has a line | |
| 16079 # limit of 2048, but all sed's we know have understand at least 4000. | |
| 16080 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
; then | |
| 16081 dirpart=`$as_dirname -- "$mf" || | |
| 16082 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 16083 X"$mf" : 'X\(//\)[^/]' \| \ | |
| 16084 X"$mf" : 'X\(//\)$' \| \ | |
| 16085 X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
| 16086 $as_echo X"$mf" | | |
| 16087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 16088 s//\1/ | |
| 16089 q | |
| 16090 } | |
| 16091 /^X\(\/\/\)[^/].*/{ | |
| 16092 s//\1/ | |
| 16093 q | |
| 16094 } | |
| 16095 /^X\(\/\/\)$/{ | |
| 16096 s//\1/ | |
| 16097 q | |
| 16098 } | |
| 16099 /^X\(\/\).*/{ | |
| 16100 s//\1/ | |
| 16101 q | |
| 16102 } | |
| 16103 s/.*/./; q'` | |
| 16104 else | |
| 16105 continue | |
| 16106 fi | |
| 16107 # Extract the definition of DEPDIR, am__include, and am__quote | |
| 16108 # from the Makefile without running 'make'. | |
| 16109 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
| 16110 test -z "$DEPDIR" && continue | |
| 16111 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| 16112 test -z "$am__include" && continue | |
| 16113 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| 16114 # Find all dependency output files, they are included files with | |
| 16115 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
| 16116 # simplest approach to changing $(DEPDIR) to its actual value in the | |
| 16117 # expansion. | |
| 16118 for file in `sed -n " | |
| 16119 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
| 16120 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
| 16121 # Make sure the directory exists. | |
| 16122 test -f "$dirpart/$file" && continue | |
| 16123 fdir=`$as_dirname -- "$file" || | |
| 16124 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 16125 X"$file" : 'X\(//\)[^/]' \| \ | |
| 16126 X"$file" : 'X\(//\)$' \| \ | |
| 16127 X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
| 16128 $as_echo X"$file" | | |
| 16129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 16130 s//\1/ | |
| 16131 q | |
| 16132 } | |
| 16133 /^X\(\/\/\)[^/].*/{ | |
| 16134 s//\1/ | |
| 16135 q | |
| 16136 } | |
| 16137 /^X\(\/\/\)$/{ | |
| 16138 s//\1/ | |
| 16139 q | |
| 16140 } | |
| 16141 /^X\(\/\).*/{ | |
| 16142 s//\1/ | |
| 16143 q | |
| 16144 } | |
| 16145 s/.*/./; q'` | |
| 16146 as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
| 16147 # echo "creating $dirpart/$file" | |
| 16148 echo '# dummy' > "$dirpart/$file" | |
| 16149 done | |
| 16150 done | |
| 16151 } | |
| 16152 ;; | |
| 16153 "libtool":C) | |
| 16154 | |
| 16155 # See if we are running on zsh, and set the options which allow our | |
| 16156 # commands through without removal of \ escapes. | |
| 16157 if test -n "${ZSH_VERSION+set}" ; then | |
| 16158 setopt NO_GLOB_SUBST | |
| 16159 fi | |
| 16160 | |
| 16161 cfgfile="${ofile}T" | |
| 16162 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | |
| 16163 $RM "$cfgfile" | |
| 16164 | |
| 16165 cat <<_LT_EOF >> "$cfgfile" | |
| 16166 #! $SHELL | |
| 16167 | |
| 16168 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo
rt services. | |
| 16169 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | |
| 16170 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
| 16171 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | |
| 16172 # | |
| 16173 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | |
| 16174 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
| 16175 # Foundation, Inc. | |
| 16176 # Written by Gordon Matzigkeit, 1996 | |
| 16177 # | |
| 16178 # This file is part of GNU Libtool. | |
| 16179 # | |
| 16180 # GNU Libtool is free software; you can redistribute it and/or | |
| 16181 # modify it under the terms of the GNU General Public License as | |
| 16182 # published by the Free Software Foundation; either version 2 of | |
| 16183 # the License, or (at your option) any later version. | |
| 16184 # | |
| 16185 # As a special exception to the GNU General Public License, | |
| 16186 # if you distribute this file as part of a program or library that | |
| 16187 # is built using GNU Libtool, you may include this file under the | |
| 16188 # same distribution terms that you use for the rest of that program. | |
| 16189 # | |
| 16190 # GNU Libtool is distributed in the hope that it will be useful, | |
| 16191 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16192 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16193 # GNU General Public License for more details. | |
| 16194 # | |
| 16195 # You should have received a copy of the GNU General Public License | |
| 16196 # along with GNU Libtool; see the file COPYING. If not, a copy | |
| 16197 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | |
| 16198 # obtained by writing to the Free Software Foundation, Inc., | |
| 16199 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 16200 | |
| 16201 | |
| 16202 # The names of the tagged configurations supported by this script. | |
| 16203 available_tags="" | |
| 16204 | |
| 16205 # ### BEGIN LIBTOOL CONFIG | |
| 16206 | |
| 16207 # Which release of libtool.m4 was used? | |
| 16208 macro_version=$macro_version | |
| 16209 macro_revision=$macro_revision | |
| 16210 | |
| 16211 # Assembler program. | |
| 16212 AS=$lt_AS | |
| 16213 | |
| 16214 # DLL creation program. | |
| 16215 DLLTOOL=$lt_DLLTOOL | |
| 16216 | |
| 16217 # Object dumper program. | |
| 16218 OBJDUMP=$lt_OBJDUMP | |
| 16219 | |
| 16220 # Whether or not to build shared libraries. | |
| 16221 build_libtool_libs=$enable_shared | |
| 16222 | |
| 16223 # Whether or not to build static libraries. | |
| 16224 build_old_libs=$enable_static | |
| 16225 | |
| 16226 # What type of objects to build. | |
| 16227 pic_mode=$pic_mode | |
| 16228 | |
| 16229 # Whether or not to optimize for fast installation. | |
| 16230 fast_install=$enable_fast_install | |
| 16231 | |
| 16232 # Shell to use when invoking shell scripts. | |
| 16233 SHELL=$lt_SHELL | |
| 16234 | |
| 16235 # An echo program that protects backslashes. | |
| 16236 ECHO=$lt_ECHO | |
| 16237 | |
| 16238 # The PATH separator for the build system. | |
| 16239 PATH_SEPARATOR=$lt_PATH_SEPARATOR | |
| 16240 | |
| 16241 # The host system. | |
| 16242 host_alias=$host_alias | |
| 16243 host=$host | |
| 16244 host_os=$host_os | |
| 16245 | |
| 16246 # The build system. | |
| 16247 build_alias=$build_alias | |
| 16248 build=$build | |
| 16249 build_os=$build_os | |
| 16250 | |
| 16251 # A sed program that does not truncate output. | |
| 16252 SED=$lt_SED | |
| 16253 | |
| 16254 # Sed that helps us avoid accidentally triggering echo(1) options like -n. | |
| 16255 Xsed="\$SED -e 1s/^X//" | |
| 16256 | |
| 16257 # A grep program that handles long lines. | |
| 16258 GREP=$lt_GREP | |
| 16259 | |
| 16260 # An ERE matcher. | |
| 16261 EGREP=$lt_EGREP | |
| 16262 | |
| 16263 # A literal string matcher. | |
| 16264 FGREP=$lt_FGREP | |
| 16265 | |
| 16266 # A BSD- or MS-compatible name lister. | |
| 16267 NM=$lt_NM | |
| 16268 | |
| 16269 # Whether we need soft or hard links. | |
| 16270 LN_S=$lt_LN_S | |
| 16271 | |
| 16272 # What is the maximum length of a command? | |
| 16273 max_cmd_len=$max_cmd_len | |
| 16274 | |
| 16275 # Object file suffix (normally "o"). | |
| 16276 objext=$ac_objext | |
| 16277 | |
| 16278 # Executable file suffix (normally ""). | |
| 16279 exeext=$exeext | |
| 16280 | |
| 16281 # whether the shell understands "unset". | |
| 16282 lt_unset=$lt_unset | |
| 16283 | |
| 16284 # turn spaces into newlines. | |
| 16285 SP2NL=$lt_lt_SP2NL | |
| 16286 | |
| 16287 # turn newlines into spaces. | |
| 16288 NL2SP=$lt_lt_NL2SP | |
| 16289 | |
| 16290 # convert \$build file names to \$host format. | |
| 16291 to_host_file_cmd=$lt_cv_to_host_file_cmd | |
| 16292 | |
| 16293 # convert \$build files to toolchain format. | |
| 16294 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | |
| 16295 | |
| 16296 # Method to check whether dependent libraries are shared objects. | |
| 16297 deplibs_check_method=$lt_deplibs_check_method | |
| 16298 | |
| 16299 # Command to use when deplibs_check_method = "file_magic". | |
| 16300 file_magic_cmd=$lt_file_magic_cmd | |
| 16301 | |
| 16302 # How to find potential files when deplibs_check_method = "file_magic". | |
| 16303 file_magic_glob=$lt_file_magic_glob | |
| 16304 | |
| 16305 # Find potential files using nocaseglob when deplibs_check_method = "file_magic"
. | |
| 16306 want_nocaseglob=$lt_want_nocaseglob | |
| 16307 | |
| 16308 # Command to associate shared and link libraries. | |
| 16309 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd | |
| 16310 | |
| 16311 # The archiver. | |
| 16312 AR=$lt_AR | |
| 16313 | |
| 16314 # Flags to create an archive. | |
| 16315 AR_FLAGS=$lt_AR_FLAGS | |
| 16316 | |
| 16317 # How to feed a file listing to the archiver. | |
| 16318 archiver_list_spec=$lt_archiver_list_spec | |
| 16319 | |
| 16320 # A symbol stripping program. | |
| 16321 STRIP=$lt_STRIP | |
| 16322 | |
| 16323 # Commands used to install an old-style archive. | |
| 16324 RANLIB=$lt_RANLIB | |
| 16325 old_postinstall_cmds=$lt_old_postinstall_cmds | |
| 16326 old_postuninstall_cmds=$lt_old_postuninstall_cmds | |
| 16327 | |
| 16328 # Whether to use a lock for old archive extraction. | |
| 16329 lock_old_archive_extraction=$lock_old_archive_extraction | |
| 16330 | |
| 16331 # A C compiler. | |
| 16332 LTCC=$lt_CC | |
| 16333 | |
| 16334 # LTCC compiler flags. | |
| 16335 LTCFLAGS=$lt_CFLAGS | |
| 16336 | |
| 16337 # Take the output of nm and produce a listing of raw symbols and C names. | |
| 16338 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | |
| 16339 | |
| 16340 # Transform the output of nm in a proper C declaration. | |
| 16341 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | |
| 16342 | |
| 16343 # Transform the output of nm in a C name address pair. | |
| 16344 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | |
| 16345 | |
| 16346 # Transform the output of nm in a C name address pair when lib prefix is needed. | |
| 16347 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name
_address_lib_prefix | |
| 16348 | |
| 16349 # Specify filename containing input files for \$NM. | |
| 16350 nm_file_list_spec=$lt_nm_file_list_spec | |
| 16351 | |
| 16352 # The root where to search for dependent libraries,and in which our libraries sh
ould be installed. | |
| 16353 lt_sysroot=$lt_sysroot | |
| 16354 | |
| 16355 # The name of the directory that contains temporary libtool files. | |
| 16356 objdir=$objdir | |
| 16357 | |
| 16358 # Used to examine libraries when file_magic_cmd begins with "file". | |
| 16359 MAGIC_CMD=$MAGIC_CMD | |
| 16360 | |
| 16361 # Must we lock files when doing compilation? | |
| 16362 need_locks=$lt_need_locks | |
| 16363 | |
| 16364 # Manifest tool. | |
| 16365 MANIFEST_TOOL=$lt_MANIFEST_TOOL | |
| 16366 | |
| 16367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. | |
| 16368 DSYMUTIL=$lt_DSYMUTIL | |
| 16369 | |
| 16370 # Tool to change global to local symbols on Mac OS X. | |
| 16371 NMEDIT=$lt_NMEDIT | |
| 16372 | |
| 16373 # Tool to manipulate fat objects and archives on Mac OS X. | |
| 16374 LIPO=$lt_LIPO | |
| 16375 | |
| 16376 # ldd/readelf like tool for Mach-O binaries on Mac OS X. | |
| 16377 OTOOL=$lt_OTOOL | |
| 16378 | |
| 16379 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. | |
| 16380 OTOOL64=$lt_OTOOL64 | |
| 16381 | |
| 16382 # Old archive suffix (normally "a"). | |
| 16383 libext=$libext | |
| 16384 | |
| 16385 # Shared library suffix (normally ".so"). | |
| 16386 shrext_cmds=$lt_shrext_cmds | |
| 16387 | |
| 16388 # The commands to extract the exported symbol list from a shared archive. | |
| 16389 extract_expsyms_cmds=$lt_extract_expsyms_cmds | |
| 16390 | |
| 16391 # Variables whose values should be saved in libtool wrapper scripts and | |
| 16392 # restored at link time. | |
| 16393 variables_saved_for_relink=$lt_variables_saved_for_relink | |
| 16394 | |
| 16395 # Do we need the "lib" prefix for modules? | |
| 16396 need_lib_prefix=$need_lib_prefix | |
| 16397 | |
| 16398 # Do we need a version for libraries? | |
| 16399 need_version=$need_version | |
| 16400 | |
| 16401 # Library versioning type. | |
| 16402 version_type=$version_type | |
| 16403 | |
| 16404 # Shared library runtime path variable. | |
| 16405 runpath_var=$runpath_var | |
| 16406 | |
| 16407 # Shared library path variable. | |
| 16408 shlibpath_var=$shlibpath_var | |
| 16409 | |
| 16410 # Is shlibpath searched before the hard-coded library search path? | |
| 16411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath | |
| 16412 | |
| 16413 # Format of library name prefix. | |
| 16414 libname_spec=$lt_libname_spec | |
| 16415 | |
| 16416 # List of archive names. First name is the real one, the rest are links. | |
| 16417 # The last name is the one that the linker finds with -lNAME | |
| 16418 library_names_spec=$lt_library_names_spec | |
| 16419 | |
| 16420 # The coded name of the library, if different from the real name. | |
| 16421 soname_spec=$lt_soname_spec | |
| 16422 | |
| 16423 # Permission mode override for installation of shared libraries. | |
| 16424 install_override_mode=$lt_install_override_mode | |
| 16425 | |
| 16426 # Command to use after installation of a shared archive. | |
| 16427 postinstall_cmds=$lt_postinstall_cmds | |
| 16428 | |
| 16429 # Command to use after uninstallation of a shared archive. | |
| 16430 postuninstall_cmds=$lt_postuninstall_cmds | |
| 16431 | |
| 16432 # Commands used to finish a libtool library installation in a directory. | |
| 16433 finish_cmds=$lt_finish_cmds | |
| 16434 | |
| 16435 # As "finish_cmds", except a single script fragment to be evaled but | |
| 16436 # not shown. | |
| 16437 finish_eval=$lt_finish_eval | |
| 16438 | |
| 16439 # Whether we should hardcode library paths into libraries. | |
| 16440 hardcode_into_libs=$hardcode_into_libs | |
| 16441 | |
| 16442 # Compile-time system search path for libraries. | |
| 16443 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | |
| 16444 | |
| 16445 # Run-time system search path for libraries. | |
| 16446 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | |
| 16447 | |
| 16448 # Whether dlopen is supported. | |
| 16449 dlopen_support=$enable_dlopen | |
| 16450 | |
| 16451 # Whether dlopen of programs is supported. | |
| 16452 dlopen_self=$enable_dlopen_self | |
| 16453 | |
| 16454 # Whether dlopen of statically linked programs is supported. | |
| 16455 dlopen_self_static=$enable_dlopen_self_static | |
| 16456 | |
| 16457 # Commands to strip libraries. | |
| 16458 old_striplib=$lt_old_striplib | |
| 16459 striplib=$lt_striplib | |
| 16460 | |
| 16461 | |
| 16462 # The linker used to build libraries. | |
| 16463 LD=$lt_LD | |
| 16464 | |
| 16465 # How to create reloadable object files. | |
| 16466 reload_flag=$lt_reload_flag | |
| 16467 reload_cmds=$lt_reload_cmds | |
| 16468 | |
| 16469 # Commands used to build an old-style archive. | |
| 16470 old_archive_cmds=$lt_old_archive_cmds | |
| 16471 | |
| 16472 # A language specific compiler. | |
| 16473 CC=$lt_compiler | |
| 16474 | |
| 16475 # Is the compiler the GNU compiler? | |
| 16476 with_gcc=$GCC | |
| 16477 | |
| 16478 # Compiler flag to turn off builtin functions. | |
| 16479 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | |
| 16480 | |
| 16481 # Additional compiler flags for building library objects. | |
| 16482 pic_flag=$lt_lt_prog_compiler_pic | |
| 16483 | |
| 16484 # How to pass a linker flag through the compiler. | |
| 16485 wl=$lt_lt_prog_compiler_wl | |
| 16486 | |
| 16487 # Compiler flag to prevent dynamic linking. | |
| 16488 link_static_flag=$lt_lt_prog_compiler_static | |
| 16489 | |
| 16490 # Does compiler simultaneously support -c and -o options? | |
| 16491 compiler_c_o=$lt_lt_cv_prog_compiler_c_o | |
| 16492 | |
| 16493 # Whether or not to add -lc for building shared libraries. | |
| 16494 build_libtool_need_lc=$archive_cmds_need_lc | |
| 16495 | |
| 16496 # Whether or not to disallow shared libs when runtime libs are static. | |
| 16497 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | |
| 16498 | |
| 16499 # Compiler flag to allow reflexive dlopens. | |
| 16500 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | |
| 16501 | |
| 16502 # Compiler flag to generate shared objects directly from archives. | |
| 16503 whole_archive_flag_spec=$lt_whole_archive_flag_spec | |
| 16504 | |
| 16505 # Whether the compiler copes with passing no objects directly. | |
| 16506 compiler_needs_object=$lt_compiler_needs_object | |
| 16507 | |
| 16508 # Create an old-style archive from a shared archive. | |
| 16509 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | |
| 16510 | |
| 16511 # Create a temporary old-style archive to link instead of a shared archive. | |
| 16512 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | |
| 16513 | |
| 16514 # Commands used to build a shared archive. | |
| 16515 archive_cmds=$lt_archive_cmds | |
| 16516 archive_expsym_cmds=$lt_archive_expsym_cmds | |
| 16517 | |
| 16518 # Commands used to build a loadable module if different from building | |
| 16519 # a shared archive. | |
| 16520 module_cmds=$lt_module_cmds | |
| 16521 module_expsym_cmds=$lt_module_expsym_cmds | |
| 16522 | |
| 16523 # Whether we are building with GNU ld or not. | |
| 16524 with_gnu_ld=$lt_with_gnu_ld | |
| 16525 | |
| 16526 # Flag that allows shared libraries with undefined symbols to be built. | |
| 16527 allow_undefined_flag=$lt_allow_undefined_flag | |
| 16528 | |
| 16529 # Flag that enforces no undefined symbols. | |
| 16530 no_undefined_flag=$lt_no_undefined_flag | |
| 16531 | |
| 16532 # Flag to hardcode \$libdir into a binary during linking. | |
| 16533 # This must work even if \$libdir does not exist | |
| 16534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | |
| 16535 | |
| 16536 # Whether we need a single "-rpath" flag with a separated argument. | |
| 16537 hardcode_libdir_separator=$lt_hardcode_libdir_separator | |
| 16538 | |
| 16539 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 16540 # DIR into the resulting binary. | |
| 16541 hardcode_direct=$hardcode_direct | |
| 16542 | |
| 16543 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 16544 # DIR into the resulting binary and the resulting library dependency is | |
| 16545 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | |
| 16546 # library is relocated. | |
| 16547 hardcode_direct_absolute=$hardcode_direct_absolute | |
| 16548 | |
| 16549 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | |
| 16550 # into the resulting binary. | |
| 16551 hardcode_minus_L=$hardcode_minus_L | |
| 16552 | |
| 16553 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | |
| 16554 # into the resulting binary. | |
| 16555 hardcode_shlibpath_var=$hardcode_shlibpath_var | |
| 16556 | |
| 16557 # Set to "yes" if building a shared library automatically hardcodes DIR | |
| 16558 # into the library and all subsequent libraries and executables linked | |
| 16559 # against it. | |
| 16560 hardcode_automatic=$hardcode_automatic | |
| 16561 | |
| 16562 # Set to yes if linker adds runtime paths of dependent libraries | |
| 16563 # to runtime path list. | |
| 16564 inherit_rpath=$inherit_rpath | |
| 16565 | |
| 16566 # Whether libtool must link a program against all its dependency libraries. | |
| 16567 link_all_deplibs=$link_all_deplibs | |
| 16568 | |
| 16569 # Set to "yes" if exported symbols are required. | |
| 16570 always_export_symbols=$always_export_symbols | |
| 16571 | |
| 16572 # The commands to list exported symbols. | |
| 16573 export_symbols_cmds=$lt_export_symbols_cmds | |
| 16574 | |
| 16575 # Symbols that should not be listed in the preloaded symbols. | |
| 16576 exclude_expsyms=$lt_exclude_expsyms | |
| 16577 | |
| 16578 # Symbols that must always be exported. | |
| 16579 include_expsyms=$lt_include_expsyms | |
| 16580 | |
| 16581 # Commands necessary for linking programs (against libraries) with templates. | |
| 16582 prelink_cmds=$lt_prelink_cmds | |
| 16583 | |
| 16584 # Commands necessary for finishing linking programs. | |
| 16585 postlink_cmds=$lt_postlink_cmds | |
| 16586 | |
| 16587 # Specify filename containing input files. | |
| 16588 file_list_spec=$lt_file_list_spec | |
| 16589 | |
| 16590 # How to hardcode a shared library path into an executable. | |
| 16591 hardcode_action=$hardcode_action | |
| 16592 | |
| 16593 # ### END LIBTOOL CONFIG | |
| 16594 | |
| 16595 _LT_EOF | |
| 16596 | |
| 16597 case $host_os in | |
| 16598 aix3*) | |
| 16599 cat <<\_LT_EOF >> "$cfgfile" | |
| 16600 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 16601 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 16602 # vanish in a puff of smoke. | |
| 16603 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 16604 COLLECT_NAMES= | |
| 16605 export COLLECT_NAMES | |
| 16606 fi | |
| 16607 _LT_EOF | |
| 16608 ;; | |
| 16609 esac | |
| 16610 | |
| 16611 | |
| 16612 ltmain="$ac_aux_dir/ltmain.sh" | |
| 16613 | |
| 16614 | |
| 16615 # We use sed instead of cat because bash on DJGPP gets confused if | |
| 16616 # if finds mixed CR/LF and LF-only lines. Since sed operates in | |
| 16617 # text mode, it properly converts lines to CR/LF. This bash problem | |
| 16618 # is reportedly fixed, but why not run on old versions too? | |
| 16619 sed '$q' "$ltmain" >> "$cfgfile" \ | |
| 16620 || (rm -f "$cfgfile"; exit 1) | |
| 16621 | |
| 16622 if test x"$xsi_shell" = xyes; then | |
| 16623 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ | |
| 16624 func_dirname ()\ | |
| 16625 {\ | |
| 16626 \ case ${1} in\ | |
| 16627 \ */*) func_dirname_result="${1%/*}${2}" ;;\ | |
| 16628 \ * ) func_dirname_result="${3}" ;;\ | |
| 16629 \ esac\ | |
| 16630 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16631 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16633 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16634 | |
| 16635 | |
| 16636 sed -e '/^func_basename ()$/,/^} # func_basename /c\ | |
| 16637 func_basename ()\ | |
| 16638 {\ | |
| 16639 \ func_basename_result="${1##*/}"\ | |
| 16640 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16641 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16643 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16644 | |
| 16645 | |
| 16646 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ | |
| 16647 func_dirname_and_basename ()\ | |
| 16648 {\ | |
| 16649 \ case ${1} in\ | |
| 16650 \ */*) func_dirname_result="${1%/*}${2}" ;;\ | |
| 16651 \ * ) func_dirname_result="${3}" ;;\ | |
| 16652 \ esac\ | |
| 16653 \ func_basename_result="${1##*/}"\ | |
| 16654 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfi
le.tmp \ | |
| 16655 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16657 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16658 | |
| 16659 | |
| 16660 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ | |
| 16661 func_stripname ()\ | |
| 16662 {\ | |
| 16663 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ | |
| 16664 \ # positional parameters, so assign one to ordinary parameter first.\ | |
| 16665 \ func_stripname_result=${3}\ | |
| 16666 \ func_stripname_result=${func_stripname_result#"${1}"}\ | |
| 16667 \ func_stripname_result=${func_stripname_result%"${2}"}\ | |
| 16668 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16669 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16670 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16671 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16672 | |
| 16673 | |
| 16674 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ | |
| 16675 func_split_long_opt ()\ | |
| 16676 {\ | |
| 16677 \ func_split_long_opt_name=${1%%=*}\ | |
| 16678 \ func_split_long_opt_arg=${1#*=}\ | |
| 16679 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp
\ | |
| 16680 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16682 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16683 | |
| 16684 | |
| 16685 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ | |
| 16686 func_split_short_opt ()\ | |
| 16687 {\ | |
| 16688 \ func_split_short_opt_arg=${1#??}\ | |
| 16689 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ | |
| 16690 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tm
p \ | |
| 16691 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16692 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16693 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16694 | |
| 16695 | |
| 16696 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ | |
| 16697 func_lo2o ()\ | |
| 16698 {\ | |
| 16699 \ case ${1} in\ | |
| 16700 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ | |
| 16701 \ *) func_lo2o_result=${1} ;;\ | |
| 16702 \ esac\ | |
| 16703 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16704 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16705 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16706 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16707 | |
| 16708 | |
| 16709 sed -e '/^func_xform ()$/,/^} # func_xform /c\ | |
| 16710 func_xform ()\ | |
| 16711 {\ | |
| 16712 func_xform_result=${1%.*}.lo\ | |
| 16713 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16714 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16716 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16717 | |
| 16718 | |
| 16719 sed -e '/^func_arith ()$/,/^} # func_arith /c\ | |
| 16720 func_arith ()\ | |
| 16721 {\ | |
| 16722 func_arith_result=$(( $* ))\ | |
| 16723 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16724 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16725 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16726 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16727 | |
| 16728 | |
| 16729 sed -e '/^func_len ()$/,/^} # func_len /c\ | |
| 16730 func_len ()\ | |
| 16731 {\ | |
| 16732 func_len_result=${#1}\ | |
| 16733 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16734 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16735 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16736 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16737 | |
| 16738 fi | |
| 16739 | |
| 16740 if test x"$lt_shell_append" = xyes; then | |
| 16741 sed -e '/^func_append ()$/,/^} # func_append /c\ | |
| 16742 func_append ()\ | |
| 16743 {\ | |
| 16744 eval "${1}+=\\${2}"\ | |
| 16745 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 16746 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16747 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16748 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16749 | |
| 16750 | |
| 16751 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ | |
| 16752 func_append_quoted ()\ | |
| 16753 {\ | |
| 16754 \ func_quote_for_eval "${2}"\ | |
| 16755 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ | |
| 16756 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp
\ | |
| 16757 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 16759 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16760 | |
| 16761 | |
| 16762 # Save a `func_append' function call where possible by direct use of '+=' | |
| 16763 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ | |
| 16764 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") | |
| 16766 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16767 else | |
| 16768 # Save a `func_append' function call even when '+=' is not available | |
| 16769 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp
\ | |
| 16770 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 16771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") | |
| 16772 test 0 -eq $? || _lt_function_replace_fail=: | |
| 16773 fi | |
| 16774 | |
| 16775 if test x"$_lt_function_replace_fail" = x":"; then | |
| 16776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extende
d shell functions in $ofile" >&5 | |
| 16777 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofi
le" >&2;} | |
| 16778 fi | |
| 16779 | |
| 16780 | |
| 16781 mv -f "$cfgfile" "$ofile" || | |
| 16782 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | |
| 16783 chmod +x "$ofile" | |
| 16784 | |
| 16785 ;; | |
| 16786 | |
| 16787 esac | |
| 16788 done # for ac_tag | |
| 16789 | |
| 16790 | |
| 16791 as_fn_exit 0 | |
| 16792 _ACEOF | |
| 16793 ac_clean_files=$ac_clean_files_save | |
| 16794 | |
| 16795 test $ac_write_fail = 0 || | |
| 16796 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
| 16797 | |
| 16798 | |
| 16799 # configure is writing to config.log, and then calls config.status. | |
| 16800 # config.status does its own redirection, appending to config.log. | |
| 16801 # Unfortunately, on DOS this fails, as config.log is still kept open | |
| 16802 # by configure, so config.status won't be able to write to it; its | |
| 16803 # output is simply discarded. So we exec the FD to /dev/null, | |
| 16804 # effectively closing config.log, so it can be properly (re)opened and | |
| 16805 # appended to by config.status. When coming back to configure, we | |
| 16806 # need to make the FD available again. | |
| 16807 if test "$no_create" != yes; then | |
| 16808 ac_cs_success=: | |
| 16809 ac_config_status_args= | |
| 16810 test "$silent" = yes && | |
| 16811 ac_config_status_args="$ac_config_status_args --quiet" | |
| 16812 exec 5>/dev/null | |
| 16813 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 16814 exec 5>>config.log | |
| 16815 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 16816 # would make configure fail if this is the last instruction. | |
| 16817 $ac_cs_success || as_fn_exit 1 | |
| 16818 fi | |
| 16819 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
| 16820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | |
| 16821 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
| 16822 fi | |
| 16823 | |
| OLD | NEW |