| 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.72 for TeX Live 2026-03-02. |
| 4 | # |
| 5 | # Report bugs to <[email protected]>. |
| 6 | # |
| 7 | # |
| 8 | # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, |
| 9 | # Inc. |
| 10 | # |
| 11 | # |
| 12 | # This configure script is free software; the Free Software Foundation |
| 13 | # gives unlimited permission to copy, distribute and modify it. |
| 14 | ## -------------------- ## |
| 15 | ## M4sh Initialization. ## |
| 16 | ## -------------------- ## |
| 17 | |
| 18 | # Be more Bourne compatible |
| 19 | DUALCASE=1; export DUALCASE # for MKS sh |
| 20 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 21 | then : |
| 22 | emulate sh |
| 23 | NULLCMD=: |
| 24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 25 | # is contrary to our usage. Disable this feature. |
| 26 | alias -g '${1+"$@"}'='"$@"' |
| 27 | setopt NO_GLOB_SUBST |
| 28 | else case e in #( |
| 29 | e) case `(set -o) 2>/dev/null` in #( |
| 30 | *posix*) : |
| 31 | set -o posix ;; #( |
| 32 | *) : |
| 33 | ;; |
| 34 | esac ;; |
| 35 | esac |
| 36 | fi |
| 37 | |
| 38 | |
| 39 | |
| 40 | # Reset variables that may have inherited troublesome values from |
| 41 | # the environment. |
| 42 | |
| 43 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 44 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 45 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 46 | # Quoting is to prevent editors from complaining about space-tab. |
| 47 | as_nl=' |
| 48 | ' |
| 49 | export as_nl |
| 50 | IFS=" "" $as_nl" |
| 51 | |
| 52 | PS1='$ ' |
| 53 | PS2='> ' |
| 54 | PS4='+ ' |
| 55 | |
| 56 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 57 | LC_ALL=C |
| 58 | export LC_ALL |
| 59 | LANGUAGE=C |
| 60 | export LANGUAGE |
| 61 | |
| 62 | # We cannot yet rely on "unset" to work, but we need these variables |
| 63 | # to be unset--not just set to an empty or harmless value--now, to |
| 64 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 65 | # also avoids known problems related to "unset" and subshell syntax |
| 66 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 67 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 68 | do eval test \${$as_var+y} \ |
| 69 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 70 | done |
| 71 | |
| 72 | # Ensure that fds 0, 1, and 2 are open. |
| 73 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 74 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 75 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 76 | |
| 77 | # The user is always right. |
| 78 | if ${PATH_SEPARATOR+false} :; then |
| 79 | PATH_SEPARATOR=: |
| 80 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 81 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 82 | PATH_SEPARATOR=';' |
| 83 | } |
| 84 | fi |
| 85 | |
| 86 | |
| 87 | # Find who we are. Look in the path if we contain no directory separator. |
| 88 | as_myself= |
| 89 | case $0 in #(( |
| 90 | *[\\/]* ) as_myself=$0 ;; |
| 91 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 92 | for as_dir in $PATH |
| 93 | do |
| 94 | IFS=$as_save_IFS |
| 95 | case $as_dir in #((( |
| 96 | '') as_dir=./ ;; |
| 97 | */) ;; |
| 98 | *) as_dir=$as_dir/ ;; |
| 99 | esac |
| 100 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 101 | done |
| 102 | IFS=$as_save_IFS |
| 103 | |
| 104 | ;; |
| 105 | esac |
| 106 | # We did not find ourselves, most probably we were run as 'sh COMMAND' |
| 107 | # in which case we are not to be found in the path. |
| 108 | if test "x$as_myself" = x; then |
| 109 | as_myself=$0 |
| 110 | fi |
| 111 | if test ! -f "$as_myself"; then |
| 112 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 113 | exit 1 |
| 114 | fi |
| 115 | |
| 116 | |
| 117 | # Use a proper internal environment variable to ensure we don't fall |
| 118 | # into an infinite loop, continuously re-executing ourselves. |
| 119 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 120 | _as_can_reexec=no; export _as_can_reexec; |
| 121 | # We cannot yet assume a decent shell, so we have to provide a |
| 122 | # neutralization value for shells without unset; and this also |
| 123 | # works around shells that cannot unset nonexistent variables. |
| 124 | # Preserve -v and -x to the replacement shell. |
| 125 | BASH_ENV=/dev/null |
| 126 | ENV=/dev/null |
| 127 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 128 | case $- in # (((( |
| 129 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 130 | *v* ) as_opts=-v ;; |
| 131 | *x* ) as_opts=-x ;; |
| 132 | * ) as_opts= ;; |
| 133 | esac |
| 134 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 135 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 136 | # out after a failed 'exec'. |
| 137 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 138 | exit 255 |
| 139 | fi |
| 140 | # We don't want this to propagate to other subprocesses. |
| 141 | { _as_can_reexec=; unset _as_can_reexec;} |
| 142 | if test "x$CONFIG_SHELL" = x; then |
| 143 | as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 144 | then : |
| 145 | emulate sh |
| 146 | NULLCMD=: |
| 147 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 148 | # is contrary to our usage. Disable this feature. |
| 149 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 150 | setopt NO_GLOB_SUBST |
| 151 | else case e in #( |
| 152 | e) case \`(set -o) 2>/dev/null\` in #( |
| 153 | *posix*) : |
| 154 | set -o posix ;; #( |
| 155 | *) : |
| 156 | ;; |
| 157 | esac ;; |
| 158 | esac |
| 159 | fi |
| 160 | " |
| 161 | as_required="as_fn_return () { (exit \$1); } |
| 162 | as_fn_success () { as_fn_return 0; } |
| 163 | as_fn_failure () { as_fn_return 1; } |
| 164 | as_fn_ret_success () { return 0; } |
| 165 | as_fn_ret_failure () { return 1; } |
| 166 | |
| 167 | exitcode=0 |
| 168 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 169 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 170 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 171 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 172 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 173 | then : |
| 174 | |
| 175 | else case e in #( |
| 176 | e) exitcode=1; echo positional parameters were not saved. ;; |
| 177 | esac |
| 178 | fi |
| 179 | test x\$exitcode = x0 || exit 1 |
| 180 | blah=\$(echo \$(echo blah)) |
| 181 | test x\"\$blah\" = xblah || exit 1 |
| 182 | test -x / || exit 1" |
| 183 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 184 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 185 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 186 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 187 | |
| 188 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 189 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 190 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 191 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 192 | PATH=/empty FPATH=/empty; export PATH FPATH |
| 193 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 194 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| 195 | test \$(( 1 + 1 )) = 2 || exit 1" |
| 196 | if (eval "$as_required") 2>/dev/null |
| 197 | then : |
| 198 | as_have_required=yes |
| 199 | else case e in #( |
| 200 | e) as_have_required=no ;; |
| 201 | esac |
| 202 | fi |
| 203 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
| 204 | then : |
| 205 | |
| 206 | else case e in #( |
| 207 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 208 | as_found=false |
| 209 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 210 | do |
| 211 | IFS=$as_save_IFS |
| 212 | case $as_dir in #((( |
| 213 | '') as_dir=./ ;; |
| 214 | */) ;; |
| 215 | *) as_dir=$as_dir/ ;; |
| 216 | esac |
| 217 | as_found=: |
| 218 | case $as_dir in #( |
| 219 | /*) |
| 220 | for as_base in sh bash ksh sh5; do |
| 221 | # Try only shells that exist, to save several forks. |
| 222 | as_shell=$as_dir$as_base |
| 223 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 224 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 225 | then : |
| 226 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 227 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
| 228 | then : |
| 229 | break 2 |
| 230 | fi |
| 231 | fi |
| 232 | done;; |
| 233 | esac |
| 234 | as_found=false |
| 235 | done |
| 236 | IFS=$as_save_IFS |
| 237 | if $as_found |
| 238 | then : |
| 239 | |
| 240 | else case e in #( |
| 241 | e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 242 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 243 | then : |
| 244 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 245 | fi ;; |
| 246 | esac |
| 247 | fi |
| 248 | |
| 249 | |
| 250 | if test "x$CONFIG_SHELL" != x |
| 251 | then : |
| 252 | export CONFIG_SHELL |
| 253 | # We cannot yet assume a decent shell, so we have to provide a |
| 254 | # neutralization value for shells without unset; and this also |
| 255 | # works around shells that cannot unset nonexistent variables. |
| 256 | # Preserve -v and -x to the replacement shell. |
| 257 | BASH_ENV=/dev/null |
| 258 | ENV=/dev/null |
| 259 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 260 | case $- in # (((( |
| 261 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 262 | *v* ) as_opts=-v ;; |
| 263 | *x* ) as_opts=-x ;; |
| 264 | * ) as_opts= ;; |
| 265 | esac |
| 266 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 267 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 268 | # out after a failed 'exec'. |
| 269 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 270 | exit 255 |
| 271 | fi |
| 272 | |
| 273 | if test x$as_have_required = xno |
| 274 | then : |
| 275 | printf "%s\n" "$0: This script requires a shell more modern than all" |
| 276 | printf "%s\n" "$0: the shells that I found on your system." |
| 277 | if test ${ZSH_VERSION+y} ; then |
| 278 | printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 279 | printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 280 | else |
| 281 | printf "%s\n" "$0: Please tell [email protected] and [email protected] |
| 282 | $0: about your system, including any error possibly output |
| 283 | $0: before this message. Then install a modern shell, or |
| 284 | $0: manually run the script under such a shell if you do |
| 285 | $0: have one." |
| 286 | fi |
| 287 | exit 1 |
| 288 | fi ;; |
| 289 | esac |
| 290 | fi |
| 291 | fi |
| 292 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 293 | export SHELL |
| 294 | # Unset more variables known to interfere with behavior of common tools. |
| 295 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 296 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 297 | |
| 298 | ## --------------------- ## |
| 299 | ## M4sh Shell Functions. ## |
| 300 | ## --------------------- ## |
| 301 | # as_fn_unset VAR |
| 302 | # --------------- |
| 303 | # Portably unset VAR. |
| 304 | as_fn_unset () |
| 305 | { |
| 306 | { eval $1=; unset $1;} |
| 307 | } |
| 308 | as_unset=as_fn_unset |
| 309 | |
| 310 | |
| 311 | # as_fn_set_status STATUS |
| 312 | # ----------------------- |
| 313 | # Set $? to STATUS, without forking. |
| 314 | as_fn_set_status () |
| 315 | { |
| 316 | return $1 |
| 317 | } # as_fn_set_status |
| 318 | |
| 319 | # as_fn_exit STATUS |
| 320 | # ----------------- |
| 321 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 322 | as_fn_exit () |
| 323 | { |
| 324 | set +e |
| 325 | as_fn_set_status $1 |
| 326 | exit $1 |
| 327 | } # as_fn_exit |
| 328 | |
| 329 | # as_fn_mkdir_p |
| 330 | # ------------- |
| 331 | # Create "$as_dir" as a directory, including parents if necessary. |
| 332 | as_fn_mkdir_p () |
| 333 | { |
| 334 | |
| 335 | case $as_dir in #( |
| 336 | -*) as_dir=./$as_dir;; |
| 337 | esac |
| 338 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 339 | as_dirs= |
| 340 | while :; do |
| 341 | case $as_dir in #( |
| 342 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 343 | *) as_qdir=$as_dir;; |
| 344 | esac |
| 345 | as_dirs="'$as_qdir' $as_dirs" |
| 346 | as_dir=`$as_dirname -- "$as_dir" || |
| 347 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 348 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 349 | X"$as_dir" : 'X\(//\)$' \| \ |
| 350 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 351 | printf "%s\n" X"$as_dir" | |
| 352 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 353 | s//\1/ |
| 354 | q |
| 355 | } |
| 356 | /^X\(\/\/\)[^/].*/{ |
| 357 | s//\1/ |
| 358 | q |
| 359 | } |
| 360 | /^X\(\/\/\)$/{ |
| 361 | s//\1/ |
| 362 | q |
| 363 | } |
| 364 | /^X\(\/\).*/{ |
| 365 | s//\1/ |
| 366 | q |
| 367 | } |
| 368 | s/.*/./; q'` |
| 369 | test -d "$as_dir" && break |
| 370 | done |
| 371 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 372 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 373 | |
| 374 | |
| 375 | } # as_fn_mkdir_p |
| 376 | |
| 377 | # as_fn_executable_p FILE |
| 378 | # ----------------------- |
| 379 | # Test if FILE is an executable regular file. |
| 380 | as_fn_executable_p () |
| 381 | { |
| 382 | test -f "$1" && test -x "$1" |
| 383 | } # as_fn_executable_p |
| 384 | # as_fn_append VAR VALUE |
| 385 | # ---------------------- |
| 386 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 387 | # advantage of any shell optimizations that allow amortized linear growth over |
| 388 | # repeated appends, instead of the typical quadratic growth present in naive |
| 389 | # implementations. |
| 390 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 391 | then : |
| 392 | eval 'as_fn_append () |
| 393 | { |
| 394 | eval $1+=\$2 |
| 395 | }' |
| 396 | else case e in #( |
| 397 | e) as_fn_append () |
| 398 | { |
| 399 | eval $1=\$$1\$2 |
| 400 | } ;; |
| 401 | esac |
| 402 | fi # as_fn_append |
| 403 | |
| 404 | # as_fn_arith ARG... |
| 405 | # ------------------ |
| 406 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 407 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 408 | # must be portable across $(()) and expr. |
| 409 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 410 | then : |
| 411 | eval 'as_fn_arith () |
| 412 | { |
| 413 | as_val=$(( $* )) |
| 414 | }' |
| 415 | else case e in #( |
| 416 | e) as_fn_arith () |
| 417 | { |
| 418 | as_val=`expr "$@" || test $? -eq 1` |
| 419 | } ;; |
| 420 | esac |
| 421 | fi # as_fn_arith |
| 422 | |
| 423 | |
| 424 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 425 | # ---------------------------------------- |
| 426 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 427 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 428 | # script with STATUS, using 1 if that was 0. |
| 429 | as_fn_error () |
| 430 | { |
| 431 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 432 | if test "$4"; then |
| 433 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 434 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 435 | fi |
| 436 | printf "%s\n" "$as_me: error: $2" >&2 |
| 437 | as_fn_exit $as_status |
| 438 | } # as_fn_error |
| 439 | |
| 440 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 441 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 442 | as_expr=expr |
| 443 | else |
| 444 | as_expr=false |
| 445 | fi |
| 446 | |
| 447 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 448 | as_basename=basename |
| 449 | else |
| 450 | as_basename=false |
| 451 | fi |
| 452 | |
| 453 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 454 | as_dirname=dirname |
| 455 | else |
| 456 | as_dirname=false |
| 457 | fi |
| 458 | |
| 459 | as_me=`$as_basename -- "$0" || |
| 460 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 461 | X"$0" : 'X\(//\)$' \| \ |
| 462 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 463 | printf "%s\n" X/"$0" | |
| 464 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 465 | s//\1/ |
| 466 | q |
| 467 | } |
| 468 | /^X\/\(\/\/\)$/{ |
| 469 | s//\1/ |
| 470 | q |
| 471 | } |
| 472 | /^X\/\(\/\).*/{ |
| 473 | s//\1/ |
| 474 | q |
| 475 | } |
| 476 | s/.*/./; q'` |
| 477 | |
| 478 | # Avoid depending upon Character Ranges. |
| 479 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 480 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 481 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 482 | as_cr_digits='0123456789' |
| 483 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 484 | |
| 485 | |
| 486 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 487 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 488 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 489 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 490 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 491 | sed -n ' |
| 492 | p |
| 493 | /[$]LINENO/= |
| 494 | ' <$as_myself | |
| 495 | sed ' |
| 496 | t clear |
| 497 | :clear |
| 498 | s/[$]LINENO.*/&-/ |
| 499 | t lineno |
| 500 | b |
| 501 | :lineno |
| 502 | N |
| 503 | :loop |
| 504 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 505 | t loop |
| 506 | s/-\n.*// |
| 507 | ' >$as_me.lineno && |
| 508 | chmod +x "$as_me.lineno" || |
| 509 | { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 510 | |
| 511 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 512 | # already done that, so ensure we don't try to do so again and fall |
| 513 | # in an infinite loop. This has already happened in practice. |
| 514 | _as_can_reexec=no; export _as_can_reexec |
| 515 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 516 | # (the dirname of $[0] is not the place where we might find the |
| 517 | # original and so on. Autoconf is especially sensitive to this). |
| 518 | . "./$as_me.lineno" |
| 519 | # Exit status is that of the last command. |
| 520 | exit |
| 521 | } |
| 522 | |
| 523 | |
| 524 | # Determine whether it's possible to make 'echo' print without a newline. |
| 525 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 526 | # for compatibility with existing Makefiles. |
| 527 | ECHO_C= ECHO_N= ECHO_T= |
| 528 | case `echo -n x` in #((((( |
| 529 | -n*) |
| 530 | case `echo 'xy\c'` in |
| 531 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 532 | xy) ECHO_C='\c';; |
| 533 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 534 | ECHO_T=' ';; |
| 535 | esac;; |
| 536 | *) |
| 537 | ECHO_N='-n';; |
| 538 | esac |
| 539 | |
| 540 | # For backward compatibility with old third-party macros, we provide |
| 541 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 542 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 543 | as_echo='printf %s\n' |
| 544 | as_echo_n='printf %s' |
| 545 | |
| 546 | rm -f conf$$ conf$$.exe conf$$.file |
| 547 | if test -d conf$$.dir; then |
| 548 | rm -f conf$$.dir/conf$$.file |
| 549 | else |
| 550 | rm -f conf$$.dir |
| 551 | mkdir conf$$.dir 2>/dev/null |
| 552 | fi |
| 553 | if (echo >conf$$.file) 2>/dev/null; then |
| 554 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 555 | as_ln_s='ln -s' |
| 556 | # ... but there are two gotchas: |
| 557 | # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 558 | # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 559 | # In both cases, we have to default to 'cp -pR'. |
| 560 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 561 | as_ln_s='cp -pR' |
| 562 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 563 | as_ln_s=ln |
| 564 | else |
| 565 | as_ln_s='cp -pR' |
| 566 | fi |
| 567 | else |
| 568 | as_ln_s='cp -pR' |
| 569 | fi |
| 570 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 571 | rmdir conf$$.dir 2>/dev/null |
| 572 | |
| 573 | if mkdir -p . 2>/dev/null; then |
| 574 | as_mkdir_p='mkdir -p "$as_dir"' |
| 575 | else |
| 576 | test -d ./-p && rmdir ./-p |
| 577 | as_mkdir_p=false |
| 578 | fi |
| 579 | |
| 580 | as_test_x='test -x' |
| 581 | as_executable_p=as_fn_executable_p |
| 582 | |
| 583 | # Sed expression to map a string onto a valid CPP name. |
| 584 | as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 585 | as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 586 | |
| 587 | # Sed expression to map a string onto a valid variable name. |
| 588 | as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 589 | as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 590 | |
| 591 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 592 | |
| 593 | |
| 594 | test -n "$DJDIR" || exec 7<&0 </dev/null |
| 595 | exec 6>&1 |
| 596 | |
| 597 | # Name of the host. |
| 598 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 599 | # so uname gets run too. |
| 600 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 601 | |
| 602 | # |
| 603 | # Initializations. |
| 604 | # |
| 605 | ac_default_prefix=/usr/local |
| 606 | ac_clean_files= |
| 607 | ac_config_libobj_dir=. |
| 608 | LIBOBJS= |
| 609 | cross_compiling=no |
| 610 | subdirs= |
| 611 | MFLAGS= |
| 612 | MAKEFLAGS= |
| 613 | |
| 614 | # Identity of this package. |
| 615 | PACKAGE_NAME='TeX Live' |
| 616 | PACKAGE_TARNAME='tex-live' |
| 617 | PACKAGE_VERSION='2026-03-02' |
| 618 | PACKAGE_STRING='TeX Live 2026-03-02' |
| 619 | PACKAGE_BUGREPORT='[email protected]' |
| 620 | PACKAGE_URL='' |
| 621 | |
| 622 | ac_unique_file="m4/kpse-pkgs.m4" |
| 623 | # Factoring default headers for most tests. |
| 624 | ac_includes_default="\ |
| 625 | #include <stddef.h> |
| 626 | #ifdef HAVE_STDIO_H |
| 627 | # include <stdio.h> |
| 628 | #endif |
| 629 | #ifdef HAVE_STDLIB_H |
| 630 | # include <stdlib.h> |
| 631 | #endif |
| 632 | #ifdef HAVE_STRING_H |
| 633 | # include <string.h> |
| 634 | #endif |
| 635 | #ifdef HAVE_INTTYPES_H |
| 636 | # include <inttypes.h> |
| 637 | #endif |
| 638 | #ifdef HAVE_STDINT_H |
| 639 | # include <stdint.h> |
| 640 | #endif |
| 641 | #ifdef HAVE_STRINGS_H |
| 642 | # include <strings.h> |
| 643 | #endif |
| 644 | #ifdef HAVE_SYS_TYPES_H |
| 645 | # include <sys/types.h> |
| 646 | #endif |
| 647 | #ifdef HAVE_SYS_STAT_H |
| 648 | # include <sys/stat.h> |
| 649 | #endif |
| 650 | #ifdef HAVE_UNISTD_H |
| 651 | # include <unistd.h> |
| 652 | #endif" |
| 653 | |
| 654 | ac_header_c_list= |
| 655 | enable_option_checking=no |
| 656 | enable_year2038=no |
| 657 | ac_subst_vars='am__EXEEXT_FALSE |
| 658 | am__EXEEXT_TRUE |
| 659 | LTLIBOBJS |
| 660 | LIBOBJS |
| 661 | subdirs |
| 662 | cross_FALSE |
| 663 | cross_TRUE |
| 664 | ICU_CONFIG |
| 665 | FT2_CONFIG |
| 666 | PKG_CONFIG |
| 667 | CONF_SUBDIRS |
| 668 | MAKE_SUBDIRS |
| 669 | CXXCPP |
| 670 | WARNING_CXXFLAGS |
| 671 | am__fastdepCXX_FALSE |
| 672 | am__fastdepCXX_TRUE |
| 673 | CXXDEPMODE |
| 674 | ac_ct_CXX |
| 675 | CXXFLAGS |
| 676 | CXX |
| 677 | X_EXTRA_LIBS |
| 678 | X_LIBS |
| 679 | X_PRE_LIBS |
| 680 | X_CFLAGS |
| 681 | CPP |
| 682 | XMKMF |
| 683 | LT_SYS_LIBRARY_PATH |
| 684 | OTOOL64 |
| 685 | OTOOL |
| 686 | LIPO |
| 687 | NMEDIT |
| 688 | DSYMUTIL |
| 689 | MANIFEST_TOOL |
| 690 | RANLIB |
| 691 | FILECMD |
| 692 | LN_S |
| 693 | NM |
| 694 | ac_ct_DUMPBIN |
| 695 | DUMPBIN |
| 696 | LD |
| 697 | FGREP |
| 698 | EGREP |
| 699 | GREP |
| 700 | SED |
| 701 | LIBTOOL |
| 702 | OBJDUMP |
| 703 | DLLTOOL |
| 704 | AS |
| 705 | ac_ct_AR |
| 706 | AR |
| 707 | WARNING_CFLAGS |
| 708 | MAINT |
| 709 | MAINTAINER_MODE_FALSE |
| 710 | MAINTAINER_MODE_TRUE |
| 711 | am__xargs_n |
| 712 | am__rm_f_notfound |
| 713 | AM_BACKSLASH |
| 714 | AM_DEFAULT_VERBOSITY |
| 715 | AM_DEFAULT_V |
| 716 | AM_V |
| 717 | CSCOPE |
| 718 | ETAGS |
| 719 | CTAGS |
| 720 | am__fastdepCC_FALSE |
| 721 | am__fastdepCC_TRUE |
| 722 | CCDEPMODE |
| 723 | am__nodep |
| 724 | AMDEPBACKSLASH |
| 725 | AMDEP_FALSE |
| 726 | AMDEP_TRUE |
| 727 | am__include |
| 728 | DEPDIR |
| 729 | am__untar |
| 730 | am__tar |
| 731 | AMTAR |
| 732 | am__leading_dot |
| 733 | SET_MAKE |
| 734 | AWK |
| 735 | mkdir_p |
| 736 | MKDIR_P |
| 737 | INSTALL_STRIP_PROGRAM |
| 738 | STRIP |
| 739 | install_sh |
| 740 | MAKEINFO |
| 741 | AUTOHEADER |
| 742 | AUTOMAKE |
| 743 | AUTOCONF |
| 744 | ACLOCAL |
| 745 | VERSION |
| 746 | PACKAGE |
| 747 | CYGPATH_W |
| 748 | am__isrc |
| 749 | INSTALL_DATA |
| 750 | INSTALL_SCRIPT |
| 751 | INSTALL_PROGRAM |
| 752 | OBJEXT |
| 753 | EXEEXT |
| 754 | ac_ct_CC |
| 755 | CPPFLAGS |
| 756 | LDFLAGS |
| 757 | CFLAGS |
| 758 | CC |
| 759 | host_os |
| 760 | host_vendor |
| 761 | host_cpu |
| 762 | host |
| 763 | build_os |
| 764 | build_vendor |
| 765 | build_cpu |
| 766 | build |
| 767 | target_alias |
| 768 | host_alias |
| 769 | build_alias |
| 770 | LIBS |
| 771 | ECHO_T |
| 772 | ECHO_N |
| 773 | ECHO_C |
| 774 | DEFS |
| 775 | mandir |
| 776 | localedir |
| 777 | libdir |
| 778 | psdir |
| 779 | pdfdir |
| 780 | dvidir |
| 781 | htmldir |
| 782 | infodir |
| 783 | docdir |
| 784 | oldincludedir |
| 785 | includedir |
| 786 | runstatedir |
| 787 | localstatedir |
| 788 | sharedstatedir |
| 789 | sysconfdir |
| 790 | datadir |
| 791 | datarootdir |
| 792 | libexecdir |
| 793 | sbindir |
| 794 | bindir |
| 795 | program_transform_name |
| 796 | prefix |
| 797 | exec_prefix |
| 798 | PACKAGE_URL |
| 799 | PACKAGE_BUGREPORT |
| 800 | PACKAGE_STRING |
| 801 | PACKAGE_VERSION |
| 802 | PACKAGE_TARNAME |
| 803 | PACKAGE_NAME |
| 804 | PATH_SEPARATOR |
| 805 | SHELL |
| 806 | am__quote' |
| 807 | ac_subst_files='' |
| 808 | ac_user_opts=' |
| 809 | enable_option_checking |
| 810 | enable_missing |
| 811 | enable_all_pkgs |
| 812 | enable_native_texlive_build |
| 813 | enable_multiplatform |
| 814 | enable_cxx_runtime_hack |
| 815 | enable_libtool_hack |
| 816 | enable_autosp |
| 817 | enable_axodraw2 |
| 818 | enable_devnag |
| 819 | enable_lacheck |
| 820 | enable_m_tx |
| 821 | enable_pmx |
| 822 | enable_ps2eps |
| 823 | enable_t1utils |
| 824 | enable_texdoctk |
| 825 | enable_tpic2pdftex |
| 826 | enable_vlna |
| 827 | enable_xindy |
| 828 | enable_xindy_rules |
| 829 | enable_xindy_docs |
| 830 | with_clisp_runtime |
| 831 | enable_xml2pmx |
| 832 | enable_xpdfopen |
| 833 | enable_web2c |
| 834 | with_banner_add |
| 835 | with_editor |
| 836 | enable_auto_core |
| 837 | enable_dump_share |
| 838 | enable_ipc |
| 839 | enable_tex |
| 840 | enable_tex_synctex |
| 841 | enable_etex |
| 842 | enable_etex_synctex |
| 843 | enable_uptex |
| 844 | enable_euptex |
| 845 | enable_euptex_synctex |
| 846 | enable_aleph |
| 847 | enable_hitex |
| 848 | enable_pdftex |
| 849 | enable_pdftex_synctex |
| 850 | enable_luatex |
| 851 | enable_luajittex |
| 852 | enable_luahbtex |
| 853 | enable_luajithbtex |
| 854 | enable_mp |
| 855 | enable_pmp |
| 856 | enable_texprof |
| 857 | enable_upmp |
| 858 | enable_xetex |
| 859 | enable_xetex_synctex |
| 860 | enable_mf |
| 861 | enable_mf_nowin |
| 862 | enable_mflua |
| 863 | enable_mflua_nowin |
| 864 | enable_mfluajit |
| 865 | enable_mfluajit_nowin |
| 866 | with_mf_x_toolkit |
| 867 | enable_epsfwin |
| 868 | enable_hp2627win |
| 869 | enable_mftalkwin |
| 870 | enable_nextwin |
| 871 | enable_regiswin |
| 872 | enable_suntoolswin |
| 873 | enable_tektronixwin |
| 874 | enable_unitermwin |
| 875 | enable_web_progs |
| 876 | enable_synctex |
| 877 | enable_afm2pl |
| 878 | enable_bibtex_x |
| 879 | enable_bibtex8 |
| 880 | enable_bibtexu |
| 881 | enable_chktex |
| 882 | enable_cjkutils |
| 883 | enable_detex |
| 884 | enable_dtl |
| 885 | enable_dvi2tty |
| 886 | enable_dvidvi |
| 887 | enable_dviljk |
| 888 | enable_dviout_util |
| 889 | enable_dvipdfm_x |
| 890 | enable_dvipng |
| 891 | enable_debug |
| 892 | enable_timing |
| 893 | with_gs |
| 894 | enable_dvipos |
| 895 | enable_dvipsk |
| 896 | enable_dvisvgm |
| 897 | enable_gregorio |
| 898 | enable_gsftopk |
| 899 | enable_lcdf_typetools |
| 900 | enable_cfftot1 |
| 901 | enable_mmafm |
| 902 | enable_mmpfb |
| 903 | enable_otfinfo |
| 904 | enable_otftotfm |
| 905 | enable_t1dotlessj |
| 906 | enable_t1lint |
| 907 | enable_t1rawafm |
| 908 | enable_t1reencode |
| 909 | enable_t1testpage |
| 910 | enable_ttftotype42 |
| 911 | enable_updmap |
| 912 | enable_makeindexk |
| 913 | enable_makejvf |
| 914 | enable_mendexk |
| 915 | enable_musixtnt |
| 916 | enable_ps2pk |
| 917 | enable_psutils |
| 918 | enable_seetexk |
| 919 | enable_tex4htk |
| 920 | enable_ttf2pk2 |
| 921 | enable_ttfdump |
| 922 | enable_upmendex |
| 923 | enable_xdvik |
| 924 | with_xdvi_x_toolkit |
| 925 | enable_xdvipsk |
| 926 | enable_texlive |
| 927 | enable_linked_scripts |
| 928 | with_system_harfbuzz |
| 929 | with_system_icu |
| 930 | with_system_teckit |
| 931 | with_system_graphite2 |
| 932 | with_system_zziplib |
| 933 | with_system_mpfi |
| 934 | with_mpfi_includes |
| 935 | with_mpfi_libdir |
| 936 | with_system_mpfr |
| 937 | with_mpfr_includes |
| 938 | with_mpfr_libdir |
| 939 | with_system_gmp |
| 940 | with_gmp_includes |
| 941 | with_gmp_libdir |
| 942 | with_system_cairo |
| 943 | with_system_pixman |
| 944 | with_system_gd |
| 945 | with_gd_includes |
| 946 | with_gd_libdir |
| 947 | with_system_potrace |
| 948 | with_potrace_includes |
| 949 | with_potrace_libdir |
| 950 | with_system_freetype2 |
| 951 | with_system_libpng |
| 952 | with_system_libpaper |
| 953 | with_libpaper_includes |
| 954 | with_libpaper_libdir |
| 955 | with_system_luajit |
| 956 | with_system_zlib |
| 957 | with_zlib_includes |
| 958 | with_zlib_libdir |
| 959 | with_system_ptexenc |
| 960 | with_system_kpathsea |
| 961 | enable_mktexmf_default |
| 962 | enable_mktexpk_default |
| 963 | enable_mktextfm_default |
| 964 | enable_mkocp_default |
| 965 | enable_mkofm_default |
| 966 | enable_mktexfmt_default |
| 967 | enable_mktextex_default |
| 968 | enable_dependency_tracking |
| 969 | enable_silent_rules |
| 970 | enable_maintainer_mode |
| 971 | enable_compiler_warnings |
| 972 | enable_shared |
| 973 | enable_static |
| 974 | enable_pic |
| 975 | with_pic |
| 976 | enable_fast_install |
| 977 | enable_aix_soname |
| 978 | with_aix_soname |
| 979 | with_gnu_ld |
| 980 | with_sysroot |
| 981 | enable_libtool_lock |
| 982 | enable_largefile |
| 983 | with_x |
| 984 | with_ln_s |
| 985 | enable_year2038 |
| 986 | ' |
| 987 | ac_precious_vars='build_alias |
| 988 | host_alias |
| 989 | target_alias |
| 990 | CC |
| 991 | CFLAGS |
| 992 | LDFLAGS |
| 993 | LIBS |
| 994 | CPPFLAGS |
| 995 | LT_SYS_LIBRARY_PATH |
| 996 | XMKMF |
| 997 | CPP |
| 998 | CXX |
| 999 | CXXFLAGS |
| 1000 | CCC |
| 1001 | CXXCPP' |
| 1002 | ac_subdirs_all='auxdir/auxsub libs utils texk' |
| 1003 | |
| 1004 | # Initialize some variables set by options. |
| 1005 | ac_init_help= |
| 1006 | ac_init_version=false |
| 1007 | ac_unrecognized_opts= |
| 1008 | ac_unrecognized_sep= |
| 1009 | # The variables have the same names as the options, with |
| 1010 | # dashes changed to underlines. |
| 1011 | cache_file=/dev/null |
| 1012 | exec_prefix=NONE |
| 1013 | no_create= |
| 1014 | no_recursion= |
| 1015 | prefix=NONE |
| 1016 | program_prefix=NONE |
| 1017 | program_suffix=NONE |
| 1018 | program_transform_name=s,x,x, |
| 1019 | silent= |
| 1020 | site= |
| 1021 | srcdir= |
| 1022 | verbose= |
| 1023 | x_includes=NONE |
| 1024 | x_libraries=NONE |
| 1025 | |
| 1026 | # Installation directory options. |
| 1027 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 1028 | # and all the variables that are supposed to be based on exec_prefix |
| 1029 | # by default will actually change. |
| 1030 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 1031 | # (The list follows the same order as the GNU Coding Standards.) |
| 1032 | bindir='${exec_prefix}/bin' |
| 1033 | sbindir='${exec_prefix}/sbin' |
| 1034 | libexecdir='${exec_prefix}/libexec' |
| 1035 | datarootdir='${prefix}/share' |
| 1036 | datadir='${datarootdir}' |
| 1037 | sysconfdir='${prefix}/etc' |
| 1038 | sharedstatedir='${prefix}/com' |
| 1039 | localstatedir='${prefix}/var' |
| 1040 | runstatedir='${localstatedir}/run' |
| 1041 | includedir='${prefix}/include' |
| 1042 | oldincludedir='/usr/include' |
| 1043 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 1044 | infodir='${datarootdir}/info' |
| 1045 | htmldir='${docdir}' |
| 1046 | dvidir='${docdir}' |
| 1047 | pdfdir='${docdir}' |
| 1048 | psdir='${docdir}' |
| 1049 | libdir='${exec_prefix}/lib' |
| 1050 | localedir='${datarootdir}/locale' |
| 1051 | mandir='${datarootdir}/man' |
| 1052 | |
| 1053 | ac_prev= |
| 1054 | ac_dashdash= |
| 1055 | for ac_option |
| 1056 | do |
| 1057 | # If the previous option needs an argument, assign it. |
| 1058 | if test -n "$ac_prev"; then |
| 1059 | eval $ac_prev=\$ac_option |
| 1060 | ac_prev= |
| 1061 | continue |
| 1062 | fi |
| 1063 | |
| 1064 | case $ac_option in |
| 1065 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 1066 | *=) ac_optarg= ;; |
| 1067 | *) ac_optarg=yes ;; |
| 1068 | esac |
| 1069 | |
| 1070 | case $ac_dashdash$ac_option in |
| 1071 | --) |
| 1072 | ac_dashdash=yes ;; |
| 1073 | |
| 1074 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 1075 | ac_prev=bindir ;; |
| 1076 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 1077 | bindir=$ac_optarg ;; |
| 1078 | |
| 1079 | -build | --build | --buil | --bui | --bu) |
| 1080 | ac_prev=build_alias ;; |
| 1081 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 1082 | build_alias=$ac_optarg ;; |
| 1083 | |
| 1084 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 1085 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 1086 | ac_prev=cache_file ;; |
| 1087 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 1088 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 1089 | cache_file=$ac_optarg ;; |
| 1090 | |
| 1091 | --config-cache | -C) |
| 1092 | cache_file=config.cache ;; |
| 1093 | |
| 1094 | -datadir | --datadir | --datadi | --datad) |
| 1095 | ac_prev=datadir ;; |
| 1096 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1097 | datadir=$ac_optarg ;; |
| 1098 | |
| 1099 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1100 | | --dataroo | --dataro | --datar) |
| 1101 | ac_prev=datarootdir ;; |
| 1102 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 1103 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 1104 | datarootdir=$ac_optarg ;; |
| 1105 | |
| 1106 | -disable-* | --disable-*) |
| 1107 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1108 | # Reject names that are not valid shell variable names. |
| 1109 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1110 | as_fn_error $? "invalid feature name: '$ac_useropt'" |
| 1111 | ac_useropt_orig=$ac_useropt |
| 1112 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1113 | case $ac_user_opts in |
| 1114 | *" |
| 1115 | "enable_$ac_useropt" |
| 1116 | "*) ;; |
| 1117 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 1118 | ac_unrecognized_sep=', ';; |
| 1119 | esac |
| 1120 | eval enable_$ac_useropt=no ;; |
| 1121 | |
| 1122 | -docdir | --docdir | --docdi | --doc | --do) |
| 1123 | ac_prev=docdir ;; |
| 1124 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 1125 | docdir=$ac_optarg ;; |
| 1126 | |
| 1127 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 1128 | ac_prev=dvidir ;; |
| 1129 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 1130 | dvidir=$ac_optarg ;; |
| 1131 | |
| 1132 | -enable-* | --enable-*) |
| 1133 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1134 | # Reject names that are not valid shell variable names. |
| 1135 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1136 | as_fn_error $? "invalid feature name: '$ac_useropt'" |
| 1137 | ac_useropt_orig=$ac_useropt |
| 1138 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1139 | case $ac_user_opts in |
| 1140 | *" |
| 1141 | "enable_$ac_useropt" |
| 1142 | "*) ;; |
| 1143 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 1144 | ac_unrecognized_sep=', ';; |
| 1145 | esac |
| 1146 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 1147 | |
| 1148 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1149 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1150 | | --exec | --exe | --ex) |
| 1151 | ac_prev=exec_prefix ;; |
| 1152 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 1153 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 1154 | | --exec=* | --exe=* | --ex=*) |
| 1155 | exec_prefix=$ac_optarg ;; |
| 1156 | |
| 1157 | -gas | --gas | --ga | --g) |
| 1158 | # Obsolete; use --with-gas. |
| 1159 | with_gas=yes ;; |
| 1160 | |
| 1161 | -help | --help | --hel | --he | -h) |
| 1162 | ac_init_help=long ;; |
| 1163 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1164 | ac_init_help=recursive ;; |
| 1165 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1166 | ac_init_help=short ;; |
| 1167 | |
| 1168 | -host | --host | --hos | --ho) |
| 1169 | ac_prev=host_alias ;; |
| 1170 | -host=* | --host=* | --hos=* | --ho=*) |
| 1171 | host_alias=$ac_optarg ;; |
| 1172 | |
| 1173 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1174 | ac_prev=htmldir ;; |
| 1175 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1176 | | --ht=*) |
| 1177 | htmldir=$ac_optarg ;; |
| 1178 | |
| 1179 | -includedir | --includedir | --includedi | --included | --include \ |
| 1180 | | --includ | --inclu | --incl | --inc) |
| 1181 | ac_prev=includedir ;; |
| 1182 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1183 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1184 | includedir=$ac_optarg ;; |
| 1185 | |
| 1186 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1187 | ac_prev=infodir ;; |
| 1188 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1189 | infodir=$ac_optarg ;; |
| 1190 | |
| 1191 | -libdir | --libdir | --libdi | --libd) |
| 1192 | ac_prev=libdir ;; |
| 1193 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1194 | libdir=$ac_optarg ;; |
| 1195 | |
| 1196 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1197 | | --libexe | --libex | --libe) |
| 1198 | ac_prev=libexecdir ;; |
| 1199 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1200 | | --libexe=* | --libex=* | --libe=*) |
| 1201 | libexecdir=$ac_optarg ;; |
| 1202 | |
| 1203 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1204 | ac_prev=localedir ;; |
| 1205 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1206 | localedir=$ac_optarg ;; |
| 1207 | |
| 1208 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1209 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1210 | ac_prev=localstatedir ;; |
| 1211 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1212 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1213 | localstatedir=$ac_optarg ;; |
| 1214 | |
| 1215 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1216 | ac_prev=mandir ;; |
| 1217 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1218 | mandir=$ac_optarg ;; |
| 1219 | |
| 1220 | -nfp | --nfp | --nf) |
| 1221 | # Obsolete; use --without-fp. |
| 1222 | with_fp=no ;; |
| 1223 | |
| 1224 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1225 | | --no-cr | --no-c | -n) |
| 1226 | no_create=yes ;; |
| 1227 | |
| 1228 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1229 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1230 | no_recursion=yes ;; |
| 1231 | |
| 1232 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1233 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1234 | | --oldin | --oldi | --old | --ol | --o) |
| 1235 | ac_prev=oldincludedir ;; |
| 1236 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1237 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1238 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1239 | oldincludedir=$ac_optarg ;; |
| 1240 | |
| 1241 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1242 | ac_prev=prefix ;; |
| 1243 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1244 | prefix=$ac_optarg ;; |
| 1245 | |
| 1246 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1247 | | --program-pre | --program-pr | --program-p) |
| 1248 | ac_prev=program_prefix ;; |
| 1249 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1250 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1251 | program_prefix=$ac_optarg ;; |
| 1252 | |
| 1253 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1254 | | --program-suf | --program-su | --program-s) |
| 1255 | ac_prev=program_suffix ;; |
| 1256 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1257 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1258 | program_suffix=$ac_optarg ;; |
| 1259 | |
| 1260 | -program-transform-name | --program-transform-name \ |
| 1261 | | --program-transform-nam | --program-transform-na \ |
| 1262 | | --program-transform-n | --program-transform- \ |
| 1263 | | --program-transform | --program-transfor \ |
| 1264 | | --program-transfo | --program-transf \ |
| 1265 | | --program-trans | --program-tran \ |
| 1266 | | --progr-tra | --program-tr | --program-t) |
| 1267 | ac_prev=program_transform_name ;; |
| 1268 | -program-transform-name=* | --program-transform-name=* \ |
| 1269 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1270 | | --program-transform-n=* | --program-transform-=* \ |
| 1271 | | --program-transform=* | --program-transfor=* \ |
| 1272 | | --program-transfo=* | --program-transf=* \ |
| 1273 | | --program-trans=* | --program-tran=* \ |
| 1274 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1275 | program_transform_name=$ac_optarg ;; |
| 1276 | |
| 1277 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1278 | ac_prev=pdfdir ;; |
| 1279 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1280 | pdfdir=$ac_optarg ;; |
| 1281 | |
| 1282 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1283 | ac_prev=psdir ;; |
| 1284 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1285 | psdir=$ac_optarg ;; |
| 1286 | |
| 1287 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1288 | | -silent | --silent | --silen | --sile | --sil) |
| 1289 | silent=yes ;; |
| 1290 | |
| 1291 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1292 | | --runstate | --runstat | --runsta | --runst | --runs \ |
| 1293 | | --run | --ru | --r) |
| 1294 | ac_prev=runstatedir ;; |
| 1295 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1296 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1297 | | --run=* | --ru=* | --r=*) |
| 1298 | runstatedir=$ac_optarg ;; |
| 1299 | |
| 1300 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1301 | ac_prev=sbindir ;; |
| 1302 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1303 | | --sbi=* | --sb=*) |
| 1304 | sbindir=$ac_optarg ;; |
| 1305 | |
| 1306 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1307 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1308 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1309 | | --sha | --sh) |
| 1310 | ac_prev=sharedstatedir ;; |
| 1311 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1312 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1313 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1314 | | --sha=* | --sh=*) |
| 1315 | sharedstatedir=$ac_optarg ;; |
| 1316 | |
| 1317 | -site | --site | --sit) |
| 1318 | ac_prev=site ;; |
| 1319 | -site=* | --site=* | --sit=*) |
| 1320 | site=$ac_optarg ;; |
| 1321 | |
| 1322 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1323 | ac_prev=srcdir ;; |
| 1324 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1325 | srcdir=$ac_optarg ;; |
| 1326 | |
| 1327 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1328 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1329 | ac_prev=sysconfdir ;; |
| 1330 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1331 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1332 | sysconfdir=$ac_optarg ;; |
| 1333 | |
| 1334 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1335 | ac_prev=target_alias ;; |
| 1336 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1337 | target_alias=$ac_optarg ;; |
| 1338 | |
| 1339 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1340 | verbose=yes ;; |
| 1341 | |
| 1342 | -version | --version | --versio | --versi | --vers | -V) |
| 1343 | ac_init_version=: ;; |
| 1344 | |
| 1345 | -with-* | --with-*) |
| 1346 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1347 | # Reject names that are not valid shell variable names. |
| 1348 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1349 | as_fn_error $? "invalid package name: '$ac_useropt'" |
| 1350 | ac_useropt_orig=$ac_useropt |
| 1351 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1352 | case $ac_user_opts in |
| 1353 | *" |
| 1354 | "with_$ac_useropt" |
| 1355 | "*) ;; |
| 1356 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1357 | ac_unrecognized_sep=', ';; |
| 1358 | esac |
| 1359 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1360 | |
| 1361 | -without-* | --without-*) |
| 1362 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1363 | # Reject names that are not valid shell variable names. |
| 1364 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1365 | as_fn_error $? "invalid package name: '$ac_useropt'" |
| 1366 | ac_useropt_orig=$ac_useropt |
| 1367 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1368 | case $ac_user_opts in |
| 1369 | *" |
| 1370 | "with_$ac_useropt" |
| 1371 | "*) ;; |
| 1372 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1373 | ac_unrecognized_sep=', ';; |
| 1374 | esac |
| 1375 | eval with_$ac_useropt=no ;; |
| 1376 | |
| 1377 | --x) |
| 1378 | # Obsolete; use --with-x. |
| 1379 | with_x=yes ;; |
| 1380 | |
| 1381 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1382 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1383 | ac_prev=x_includes ;; |
| 1384 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1385 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1386 | x_includes=$ac_optarg ;; |
| 1387 | |
| 1388 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1389 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1390 | ac_prev=x_libraries ;; |
| 1391 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1392 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1393 | x_libraries=$ac_optarg ;; |
| 1394 | |
| 1395 | -*) as_fn_error $? "unrecognized option: '$ac_option' |
| 1396 | Try '$0 --help' for more information" |
| 1397 | ;; |
| 1398 | |
| 1399 | *=*) |
| 1400 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1401 | # Reject names that are not valid shell variable names. |
| 1402 | case $ac_envvar in #( |
| 1403 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1404 | as_fn_error $? "invalid variable name: '$ac_envvar'" ;; |
| 1405 | esac |
| 1406 | eval $ac_envvar=\$ac_optarg |
| 1407 | export $ac_envvar ;; |
| 1408 | |
| 1409 | *) |
| 1410 | # FIXME: should be removed in autoconf 3.0. |
| 1411 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1412 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1413 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1414 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1415 | ;; |
| 1416 | |
| 1417 | esac |
| 1418 | done |
| 1419 | |
| 1420 | if test -n "$ac_prev"; then |
| 1421 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1422 | as_fn_error $? "missing argument to $ac_option" |
| 1423 | fi |
| 1424 | |
| 1425 | if test -n "$ac_unrecognized_opts"; then |
| 1426 | case $enable_option_checking in |
| 1427 | no) ;; |
| 1428 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1429 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1430 | esac |
| 1431 | fi |
| 1432 | |
| 1433 | # Check all directory arguments for consistency. |
| 1434 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1435 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1436 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1437 | libdir localedir mandir runstatedir |
| 1438 | do |
| 1439 | eval ac_val=\$$ac_var |
| 1440 | # Remove trailing slashes. |
| 1441 | case $ac_val in |
| 1442 | */ ) |
| 1443 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1444 | eval $ac_var=\$ac_val;; |
| 1445 | esac |
| 1446 | # Be sure to have absolute directory names. |
| 1447 | case $ac_val in |
| 1448 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1449 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1450 | esac |
| 1451 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1452 | done |
| 1453 | |
| 1454 | # There might be people who depend on the old broken behavior: '$host' |
| 1455 | # used to hold the argument of --host etc. |
| 1456 | # FIXME: To remove some day. |
| 1457 | build=$build_alias |
| 1458 | host=$host_alias |
| 1459 | target=$target_alias |
| 1460 | |
| 1461 | # FIXME: To remove some day. |
| 1462 | if test "x$host_alias" != x; then |
| 1463 | if test "x$build_alias" = x; then |
| 1464 | cross_compiling=maybe |
| 1465 | elif test "x$build_alias" != "x$host_alias"; then |
| 1466 | cross_compiling=yes |
| 1467 | fi |
| 1468 | fi |
| 1469 | |
| 1470 | ac_tool_prefix= |
| 1471 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1472 | |
| 1473 | test "$silent" = yes && exec 6>/dev/null |
| 1474 | |
| 1475 | |
| 1476 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1477 | ac_ls_di=`ls -di .` && |
| 1478 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1479 | as_fn_error $? "working directory cannot be determined" |
| 1480 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1481 | as_fn_error $? "pwd does not report name of working directory" |
| 1482 | |
| 1483 | |
| 1484 | # Find the source files, if location was not specified. |
| 1485 | if test -z "$srcdir"; then |
| 1486 | ac_srcdir_defaulted=yes |
| 1487 | # Try the directory containing this script, then the parent directory. |
| 1488 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1489 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1490 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1491 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1492 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1493 | printf "%s\n" X"$as_myself" | |
| 1494 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1495 | s//\1/ |
| 1496 | q |
| 1497 | } |
| 1498 | /^X\(\/\/\)[^/].*/{ |
| 1499 | s//\1/ |
| 1500 | q |
| 1501 | } |
| 1502 | /^X\(\/\/\)$/{ |
| 1503 | s//\1/ |
| 1504 | q |
| 1505 | } |
| 1506 | /^X\(\/\).*/{ |
| 1507 | s//\1/ |
| 1508 | q |
| 1509 | } |
| 1510 | s/.*/./; q'` |
| 1511 | srcdir=$ac_confdir |
| 1512 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1513 | srcdir=.. |
| 1514 | fi |
| 1515 | else |
| 1516 | ac_srcdir_defaulted=no |
| 1517 | fi |
| 1518 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1519 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1520 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1521 | fi |
| 1522 | ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" |
| 1523 | ac_abs_confdir=`( |
| 1524 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1525 | pwd)` |
| 1526 | # When building in place, set srcdir=. |
| 1527 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1528 | srcdir=. |
| 1529 | fi |
| 1530 | # Remove unnecessary trailing slashes from srcdir. |
| 1531 | # Double slashes in file names in object file debugging info |
| 1532 | # mess up M-x gdb in Emacs. |
| 1533 | case $srcdir in |
| 1534 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1535 | esac |
| 1536 | for ac_var in $ac_precious_vars; do |
| 1537 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1538 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1539 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1540 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1541 | done |
| 1542 | |
| 1543 | # |
| 1544 | # Report the --help message. |
| 1545 | # |
| 1546 | if test "$ac_init_help" = "long"; then |
| 1547 | # Omit some internal or obsolete options to make the list less imposing. |
| 1548 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1549 | cat <<_ACEOF |
| 1550 | 'configure' configures TeX Live 2026-03-02 to adapt to many kinds of systems. |
| 1551 | |
| 1552 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1553 | |
| 1554 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1555 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1556 | |
| 1557 | Defaults for the options are specified in brackets. |
| 1558 | |
| 1559 | Configuration: |
| 1560 | -h, --help display this help and exit |
| 1561 | --help=short display options specific to this package |
| 1562 | --help=recursive display the short help of all the included packages |
| 1563 | -V, --version display version information and exit |
| 1564 | -q, --quiet, --silent do not print 'checking ...' messages |
| 1565 | --cache-file=FILE cache test results in FILE [disabled] |
| 1566 | -C, --config-cache alias for '--cache-file=config.cache' |
| 1567 | -n, --no-create do not create output files |
| 1568 | --srcdir=DIR find the sources in DIR [configure dir or '..'] |
| 1569 | |
| 1570 | Installation directories: |
| 1571 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1572 | [$ac_default_prefix] |
| 1573 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1574 | [PREFIX] |
| 1575 | |
| 1576 | By default, 'make install' will install all the files in |
| 1577 | '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify |
| 1578 | an installation prefix other than '$ac_default_prefix' using '--prefix', |
| 1579 | for instance '--prefix=\$HOME'. |
| 1580 | |
| 1581 | For better control, use the options below. |
| 1582 | |
| 1583 | Fine tuning of the installation directories: |
| 1584 | --bindir=DIR user executables [EPREFIX/bin] |
| 1585 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1586 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1587 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1588 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1589 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1590 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1591 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1592 | --includedir=DIR C header files [PREFIX/include] |
| 1593 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1594 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1595 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1596 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1597 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1598 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1599 | --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live] |
| 1600 | --htmldir=DIR html documentation [DOCDIR] |
| 1601 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1602 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1603 | --psdir=DIR ps documentation [DOCDIR] |
| 1604 | _ACEOF |
| 1605 | |
| 1606 | cat <<\_ACEOF |
| 1607 | |
| 1608 | Program names: |
| 1609 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1610 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1611 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1612 | |
| 1613 | X features: |
| 1614 | --x-includes=DIR X include files are in DIR |
| 1615 | --x-libraries=DIR X library files are in DIR |
| 1616 | |
| 1617 | System types: |
| 1618 | --build=BUILD configure for building on BUILD [guessed] |
| 1619 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1620 | _ACEOF |
| 1621 | fi |
| 1622 | |
| 1623 | if test -n "$ac_init_help"; then |
| 1624 | case $ac_init_help in |
| 1625 | short | recursive ) echo "Configuration of TeX Live 2026-03-02:";; |
| 1626 | esac |
| 1627 | cat <<\_ACEOF |
| 1628 | |
| 1629 | Optional Features: |
| 1630 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1631 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1632 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1633 | --disable-missing terminate if a requested program or feature must be |
| 1634 | disabled, e.g., due to missing libraries |
| 1635 | --disable-all-pkgs do not build packages unless explicitly enabled |
| 1636 | --disable-native-texlive-build |
| 1637 | do not build for the TeX Live binary distribution |
| 1638 | --enable-multiplatform put executables into bin/PLATFORM and libraries into |
| 1639 | lib/PLATFORM |
| 1640 | --enable-cxx-runtime-hack link C++ runtime statically |
| 1641 | --enable-libtool-hack ignore libtool dependency_libs |
| 1642 | --disable-autosp do not build the autosp package |
| 1643 | --disable-axodraw2 do not build the axodraw2 package |
| 1644 | --disable-devnag do not build the devnag package |
| 1645 | --disable-lacheck do not build the lacheck package |
| 1646 | --disable-m-tx do not build the m-tx package |
| 1647 | --disable-pmx do not build the pmx package |
| 1648 | --disable-ps2eps do not build the ps2eps package |
| 1649 | --disable-t1utils do not build the t1utils package |
| 1650 | --disable-texdoctk do not build the texdoctk package |
| 1651 | --disable-tpic2pdftex do not build the tpic2pdftex package |
| 1652 | --disable-vlna do not build the vlna package |
| 1653 | --enable-xindy build the xindy package |
| 1654 | --enable-xindy-rules build and install make-rules package |
| 1655 | --enable-xindy-docs build and install documentation |
| 1656 | --disable-xml2pmx do not build the xml2pmx package |
| 1657 | --disable-xpdfopen do not build the xpdfopen package |
| 1658 | --disable-web2c do not build the web2c (TeX & Co.) package |
| 1659 | --enable-auto-core cause TeX&MF to dump core, given a certain |
| 1660 | filename |
| 1661 | --disable-dump-share make fmt/base files architecture-dependent |
| 1662 | --disable-ipc disable TeX's --ipc option, i.e., pipe to a |
| 1663 | program |
| 1664 | --disable-tex do not compile and install TeX |
| 1665 | --enable-tex-synctex build TeX with SyncTeX support |
| 1666 | --enable-etex compile and install e-TeX |
| 1667 | --disable-etex-synctex build e-TeX without SyncTeX support |
| 1668 | --enable-uptex compile and install upTeX |
| 1669 | --disable-euptex do not compile and install e-upTeX |
| 1670 | --disable-euptex-synctex build e-upTeX without SyncTeX support |
| 1671 | --disable-aleph do not compile and install Aleph |
| 1672 | --disable-hitex do not compile and install HiTeX |
| 1673 | --disable-pdftex do not compile and install pdfTeX |
| 1674 | --disable-pdftex-synctex build pdfTeX without SyncTeX support |
| 1675 | --disable-luatex do not compile and install LuaTeX |
| 1676 | --disable-luajittex do not compile and install LuaJITTeX |
| 1677 | --disable-luahbtex do not compile and install LuaHBTeX |
| 1678 | --disable-luajithbtex do not compile and install LuaHBJITTeX |
| 1679 | --disable-mp do not compile and install MetaPost |
| 1680 | --disable-pmp do not compile and install pMetaPost |
| 1681 | --disable-texprof do not compile and install TeXprof |
| 1682 | --disable-upmp do not compile and install upMetaPost |
| 1683 | --disable-xetex do not compile and install XeTeX |
| 1684 | --disable-xetex-synctex build XeTeX without SyncTeX support |
| 1685 | --disable-mf do not compile and install METAFONT |
| 1686 | --disable-mf-nowin do not build a separate non-window-capable |
| 1687 | METAFONT |
| 1688 | --disable-mflua do not compile and install MFLua |
| 1689 | --enable-mflua-nowin build a separate non-window-capable MFLua |
| 1690 | --disable-mfluajit do not compile and install MFLuaJIT |
| 1691 | --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT |
| 1692 | --enable-epsfwin include EPSF pseudo window support |
| 1693 | --enable-hp2627win include HP 2627 window support |
| 1694 | --enable-mftalkwin include mftalk (generic server) window support |
| 1695 | --enable-nextwin include NeXT window support |
| 1696 | --enable-regiswin include Regis window support |
| 1697 | --enable-suntoolswin include old Suntools (not X) window support |
| 1698 | --enable-tektronixwin include Tektronix window support |
| 1699 | --enable-unitermwin include Uniterm window support |
| 1700 | --disable-web-progs do not build WEB programs bibtex ... weave |
| 1701 | --disable-synctex do not build the SyncTeX library and tool |
| 1702 | --disable-afm2pl do not build the afm2pl package |
| 1703 | --disable-bibtex-x do not build the bibtex-x package |
| 1704 | --disable-bibtex8 do not build the bibtex8 program |
| 1705 | --disable-bibtexu do not build the bibtexu program |
| 1706 | --disable-chktex do not build the chktex package |
| 1707 | --disable-cjkutils do not build the cjkutils package |
| 1708 | --disable-detex do not build the detex package |
| 1709 | --disable-dtl do not build the dtl package |
| 1710 | --disable-dvi2tty do not build the dvi2tty package |
| 1711 | --disable-dvidvi do not build the dvidvi package |
| 1712 | --disable-dviljk do not build the dviljk package |
| 1713 | --disable-dviout-util do not build the dviout-util package |
| 1714 | --disable-dvipdfm-x do not build the dvipdfm-x package |
| 1715 | --disable-dvipng do not build the dvipng package |
| 1716 | --disable-debug Compile without debug (-d) option |
| 1717 | --enable-timing Output execution time of dvipng |
| 1718 | --disable-dvipos do not build the dvipos package |
| 1719 | --disable-dvipsk do not build the dvipsk package |
| 1720 | --disable-dvisvgm do not build the dvisvgm package |
| 1721 | --disable-gregorio do not build the gregorio package |
| 1722 | --disable-gsftopk do not build the gsftopk package |
| 1723 | --disable-lcdf-typetools |
| 1724 | do not build the lcdf-typetools package |
| 1725 | --disable-cfftot1 do not build the cfftot1 program |
| 1726 | --disable-mmafm do not build the mmafm program |
| 1727 | --disable-mmpfb do not build the mmpfb program |
| 1728 | --disable-otfinfo do not build the otfinfo program |
| 1729 | --disable-otftotfm do not build the otftotfm program |
| 1730 | --disable-t1dotlessj do not build the t1dotlessj program |
| 1731 | --disable-t1lint do not build the t1lint program |
| 1732 | --disable-t1rawafm do not build the t1rawafm program |
| 1733 | --disable-t1reencode do not build the t1reencode program |
| 1734 | --disable-t1testpage do not build the t1testpage program |
| 1735 | --disable-ttftotype42 do not build the ttftotype42 program |
| 1736 | --disable-auto-cfftot1 disable running cfftot1 from otftotfm |
| 1737 | --disable-auto-t1dotlessj disable running t1dotlessj from otftotfm |
| 1738 | --disable-auto-ttftotype42 |
| 1739 | disable running ttftotype42 from otftotfm |
| 1740 | --disable-auto-updmap disable running updmap from otftotfm |
| 1741 | --disable-makeindexk do not build the makeindexk package |
| 1742 | --disable-makejvf do not build the makejvf package |
| 1743 | --disable-mendexk do not build the mendexk package |
| 1744 | --disable-musixtnt do not build the musixtnt package |
| 1745 | --disable-ps2pk do not build the ps2pk package |
| 1746 | --disable-psutils do not build the psutils package |
| 1747 | --disable-seetexk do not build the seetexk package |
| 1748 | --disable-tex4htk do not build the tex4htk package |
| 1749 | --disable-ttf2pk2 do not build the ttf2pk2 package |
| 1750 | --disable-ttfdump do not build the ttfdump package |
| 1751 | --disable-upmendex do not build the upmendex package |
| 1752 | --disable-xdvik do not build the xdvik package |
| 1753 | --disable-xdvipsk do not build the xdvipsk package |
| 1754 | --disable-texlive do not build the texlive (TeX Live scripts) package |
| 1755 | --disable-linked-scripts do not install the linked scripts |
| 1756 | --disable-mktexmf-default do not run mktexmf if MF source missing |
| 1757 | --disable-mktexpk-default do not run mktexpk if PK font missing |
| 1758 | --disable-mktextfm-default do not run mktextfm if TFM file missing |
| 1759 | --disable-mkocp-default do not run mkocp if OCP file missing |
| 1760 | --disable-mkofm-default do not run mkofm if OFM file missing |
| 1761 | --disable-mktexfmt-default do not run mktexfmt if format file missing |
| 1762 | --enable-mktextex-default run mktextex if TeX source missing |
| 1763 | --enable-dependency-tracking |
| 1764 | do not reject slow dependency extractors |
| 1765 | --disable-dependency-tracking |
| 1766 | speeds up one-time build |
| 1767 | --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1768 | --disable-silent-rules verbose build output (undo: "make V=0") |
| 1769 | --enable-maintainer-mode |
| 1770 | enable make rules and dependencies not useful (and |
| 1771 | sometimes confusing) to the casual installer |
| 1772 | --enable-compiler-warnings=[no|min|yes|max|all] |
| 1773 | Turn on compiler warnings [default: yes if |
| 1774 | maintainer-mode, min otherwise] |
| 1775 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1776 | --enable-static[=PKGS] build static libraries [default=yes] |
| 1777 | --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1778 | both] |
| 1779 | --enable-fast-install[=PKGS] |
| 1780 | optimize for fast installation [default=yes] |
| 1781 | --enable-aix-soname=aix|svr4|both |
| 1782 | shared library versioning (aka "SONAME") variant to |
| 1783 | provide on AIX, [default=aix]. |
| 1784 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1785 | --disable-largefile omit support for large files |
| 1786 | --enable-year2038 support timestamps after 2038 |
| 1787 | |
| 1788 | Optional Packages: |
| 1789 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1790 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1791 | --with-clisp-runtime=PATH |
| 1792 | pathname of clisp runtime to install for `xindy', |
| 1793 | `default' to derive from clisp, or `system' to use |
| 1794 | installed version |
| 1795 | --with-banner-add=STR add STR to version string appended to banner lines |
| 1796 | --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or |
| 1797 | [texworks --position=%d "%s"] |
| 1798 | --with-mf-x-toolkit use X toolkit for METAFONT |
| 1799 | --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript |
| 1800 | --with-xdvi-x-toolkit=KIT |
| 1801 | Use toolkit KIT (xaw/motif/xaw3d/neXtaw) for xdvi |
| 1802 | [default: Xaw] |
| 1803 | --with-system-harfbuzz use installed harfbuzz headers and library (requires |
| 1804 | pkg-config) |
| 1805 | --with-system-icu use installed ICU headers and libraries (requires |
| 1806 | pkg-config or icu-config) |
| 1807 | --with-system-teckit use installed teckit headers and library (requires |
| 1808 | pkg-config) |
| 1809 | --with-system-graphite2 use installed graphite2 headers and library |
| 1810 | (requires pkg-config) |
| 1811 | --with-system-zziplib use installed zziplib headers and library (requires |
| 1812 | pkg-config) |
| 1813 | --with-system-mpfi use installed mpfi headers and library |
| 1814 | --with-mpfi-includes=DIR |
| 1815 | mpfi headers installed in DIR |
| 1816 | --with-mpfi-libdir=DIR mpfi library installed in DIR |
| 1817 | --with-system-mpfr use installed mpfr headers and library |
| 1818 | --with-mpfr-includes=DIR |
| 1819 | mpfr headers installed in DIR |
| 1820 | --with-mpfr-libdir=DIR mpfr library installed in DIR |
| 1821 | --with-system-gmp use installed gmp headers and library |
| 1822 | --with-gmp-includes=DIR gmp headers installed in DIR |
| 1823 | --with-gmp-libdir=DIR gmp library installed in DIR |
| 1824 | --with-system-cairo use installed cairo headers and library (requires |
| 1825 | pkg-config) |
| 1826 | --with-system-pixman use installed pixman headers and library (requires |
| 1827 | pkg-config) |
| 1828 | --with-system-gd use installed gd headers and library |
| 1829 | --with-gd-includes=DIR gd headers installed in DIR |
| 1830 | --with-gd-libdir=DIR gd library installed in DIR |
| 1831 | --with-system-potrace use installed potrace headers and library |
| 1832 | --with-potrace-includes=DIR |
| 1833 | potrace headers installed in DIR |
| 1834 | --with-potrace-libdir=DIR |
| 1835 | potrace library installed in DIR |
| 1836 | --with-system-freetype2 use installed freetype2 headers and library |
| 1837 | (requires freetype-config) |
| 1838 | --with-system-libpng use installed libpng headers and library (requires |
| 1839 | pkg-config) |
| 1840 | --with-system-libpaper use installed libpaper headers and library |
| 1841 | --with-libpaper-includes=DIR |
| 1842 | libpaper headers installed in DIR |
| 1843 | --with-libpaper-libdir=DIR |
| 1844 | libpaper library installed in DIR |
| 1845 | --with-system-luajit use installed luajit headers and library (requires |
| 1846 | pkg-config) |
| 1847 | --with-system-zlib use installed zlib headers and library |
| 1848 | --with-zlib-includes=DIR |
| 1849 | zlib headers installed in DIR |
| 1850 | --with-zlib-libdir=DIR zlib library installed in DIR |
| 1851 | --with-system-ptexenc use installed ptexenc headers and library (requires |
| 1852 | pkg-config) |
| 1853 | --with-system-kpathsea use installed kpathsea headers and library (requires |
| 1854 | pkg-config) |
| 1855 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1856 | --with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 1857 | compiler's sysroot if not specified). |
| 1858 | --with-x use the X Window System |
| 1859 | --without-ln-s do build even if `ln -s' does not work |
| 1860 | |
| 1861 | Some influential environment variables: |
| 1862 | CC C compiler command |
| 1863 | CFLAGS C compiler flags |
| 1864 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1865 | nonstandard directory <lib dir> |
| 1866 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1867 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1868 | you have headers in a nonstandard directory <include dir> |
| 1869 | LT_SYS_LIBRARY_PATH |
| 1870 | User-defined run-time library search path. |
| 1871 | XMKMF Path to xmkmf, Makefile generator for X Window System |
| 1872 | CPP C preprocessor |
| 1873 | CXX C++ compiler command |
| 1874 | CXXFLAGS C++ compiler flags |
| 1875 | CXXCPP C++ preprocessor |
| 1876 | |
| 1877 | Use these variables to override the choices made by 'configure' or to help |
| 1878 | it to find libraries and programs with nonstandard names/locations. |
| 1879 | |
| 1880 | Report bugs to <[email protected]>. |
| 1881 | _ACEOF |
| 1882 | ac_status=$? |
| 1883 | fi |
| 1884 | |
| 1885 | if test "$ac_init_help" = "recursive"; then |
| 1886 | # If there are subdirs, report their specific --help. |
| 1887 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1888 | test -d "$ac_dir" || |
| 1889 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1890 | continue |
| 1891 | ac_builddir=. |
| 1892 | |
| 1893 | case "$ac_dir" in |
| 1894 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1895 | *) |
| 1896 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1897 | # A ".." for each directory in $ac_dir_suffix. |
| 1898 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1899 | case $ac_top_builddir_sub in |
| 1900 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1901 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1902 | esac ;; |
| 1903 | esac |
| 1904 | ac_abs_top_builddir=$ac_pwd |
| 1905 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1906 | # for backward compatibility: |
| 1907 | ac_top_builddir=$ac_top_build_prefix |
| 1908 | |
| 1909 | case $srcdir in |
| 1910 | .) # We are building in place. |
| 1911 | ac_srcdir=. |
| 1912 | ac_top_srcdir=$ac_top_builddir_sub |
| 1913 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1914 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1915 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1916 | ac_top_srcdir=$srcdir |
| 1917 | ac_abs_top_srcdir=$srcdir ;; |
| 1918 | *) # Relative name. |
| 1919 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1920 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1921 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1922 | esac |
| 1923 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1924 | |
| 1925 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1926 | # Check for configure.gnu first; this name is used for a wrapper for |
| 1927 | # Metaconfig's "Configure" on case-insensitive file systems. |
| 1928 | if test -f "$ac_srcdir/configure.gnu"; then |
| 1929 | echo && |
| 1930 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1931 | elif test -f "$ac_srcdir/configure"; then |
| 1932 | echo && |
| 1933 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1934 | else |
| 1935 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1936 | fi || ac_status=$? |
| 1937 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1938 | done |
| 1939 | fi |
| 1940 | |
| 1941 | test -n "$ac_init_help" && exit $ac_status |
| 1942 | if $ac_init_version; then |
| 1943 | cat <<\_ACEOF |
| 1944 | TeX Live configure 2026-03-02 |
| 1945 | generated by GNU Autoconf 2.72 |
| 1946 | |
| 1947 | Copyright (C) 2023 Free Software Foundation, Inc. |
| 1948 | This configure script is free software; the Free Software Foundation |
| 1949 | gives unlimited permission to copy, distribute and modify it. |
| 1950 | _ACEOF |
| 1951 | exit |
| 1952 | fi |
| 1953 | |
| 1954 | ## ------------------------ ## |
| 1955 | ## Autoconf initialization. ## |
| 1956 | ## ------------------------ ## |
| 1957 | |
| 1958 | # ac_fn_c_try_compile LINENO |
| 1959 | # -------------------------- |
| 1960 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1961 | ac_fn_c_try_compile () |
| 1962 | { |
| 1963 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1964 | rm -f conftest.$ac_objext conftest.beam |
| 1965 | if { { ac_try="$ac_compile" |
| 1966 | case "(($ac_try" in |
| 1967 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1968 | *) ac_try_echo=$ac_try;; |
| 1969 | esac |
| 1970 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1971 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 1972 | (eval "$ac_compile") 2>conftest.err |
| 1973 | ac_status=$? |
| 1974 | if test -s conftest.err; then |
| 1975 | grep -v '^ *+' conftest.err >conftest.er1 |
| 1976 | cat conftest.er1 >&5 |
| 1977 | mv -f conftest.er1 conftest.err |
| 1978 | fi |
| 1979 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1980 | test $ac_status = 0; } && { |
| 1981 | test -z "$ac_c_werror_flag" || |
| 1982 | test ! -s conftest.err |
| 1983 | } && test -s conftest.$ac_objext |
| 1984 | then : |
| 1985 | ac_retval=0 |
| 1986 | else case e in #( |
| 1987 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 1988 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1989 | |
| 1990 | ac_retval=1 ;; |
| 1991 | esac |
| 1992 | fi |
| 1993 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1994 | as_fn_set_status $ac_retval |
| 1995 | |
| 1996 | } # ac_fn_c_try_compile |
| 1997 | |
| 1998 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1999 | # ------------------------------------------------------- |
| 2000 | # Tests whether HEADER exists and can be compiled using the include files in |
| 2001 | # INCLUDES, setting the cache variable VAR accordingly. |
| 2002 | ac_fn_c_check_header_compile () |
| 2003 | { |
| 2004 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2005 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2006 | printf %s "checking for $2... " >&6; } |
| 2007 | if eval test \${$3+y} |
| 2008 | then : |
| 2009 | printf %s "(cached) " >&6 |
| 2010 | else case e in #( |
| 2011 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2012 | /* end confdefs.h. */ |
| 2013 | $4 |
| 2014 | #include <$2> |
| 2015 | _ACEOF |
| 2016 | if ac_fn_c_try_compile "$LINENO" |
| 2017 | then : |
| 2018 | eval "$3=yes" |
| 2019 | else case e in #( |
| 2020 | e) eval "$3=no" ;; |
| 2021 | esac |
| 2022 | fi |
| 2023 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2024 | esac |
| 2025 | fi |
| 2026 | eval ac_res=\$$3 |
| 2027 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2028 | printf "%s\n" "$ac_res" >&6; } |
| 2029 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2030 | |
| 2031 | } # ac_fn_c_check_header_compile |
| 2032 | |
| 2033 | # ac_fn_c_try_link LINENO |
| 2034 | # ----------------------- |
| 2035 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2036 | ac_fn_c_try_link () |
| 2037 | { |
| 2038 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2039 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 2040 | if { { ac_try="$ac_link" |
| 2041 | case "(($ac_try" in |
| 2042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2043 | *) ac_try_echo=$ac_try;; |
| 2044 | esac |
| 2045 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2046 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 2047 | (eval "$ac_link") 2>conftest.err |
| 2048 | ac_status=$? |
| 2049 | if test -s conftest.err; then |
| 2050 | grep -v '^ *+' conftest.err >conftest.er1 |
| 2051 | cat conftest.er1 >&5 |
| 2052 | mv -f conftest.er1 conftest.err |
| 2053 | fi |
| 2054 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2055 | test $ac_status = 0; } && { |
| 2056 | test -z "$ac_c_werror_flag" || |
| 2057 | test ! -s conftest.err |
| 2058 | } && test -s conftest$ac_exeext && { |
| 2059 | test "$cross_compiling" = yes || |
| 2060 | test -x conftest$ac_exeext |
| 2061 | } |
| 2062 | then : |
| 2063 | ac_retval=0 |
| 2064 | else case e in #( |
| 2065 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2066 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2067 | |
| 2068 | ac_retval=1 ;; |
| 2069 | esac |
| 2070 | fi |
| 2071 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2072 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2073 | # interfere with the next link command; also delete a directory that is |
| 2074 | # left behind by Apple's compiler. We do this before executing the actions. |
| 2075 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2076 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2077 | as_fn_set_status $ac_retval |
| 2078 | |
| 2079 | } # ac_fn_c_try_link |
| 2080 | |
| 2081 | # ac_fn_c_check_func LINENO FUNC VAR |
| 2082 | # ---------------------------------- |
| 2083 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2084 | ac_fn_c_check_func () |
| 2085 | { |
| 2086 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2087 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2088 | printf %s "checking for $2... " >&6; } |
| 2089 | if eval test \${$3+y} |
| 2090 | then : |
| 2091 | printf %s "(cached) " >&6 |
| 2092 | else case e in #( |
| 2093 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2094 | /* end confdefs.h. */ |
| 2095 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2096 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2097 | #define $2 innocuous_$2 |
| 2098 | |
| 2099 | /* System header to define __stub macros and hopefully few prototypes, |
| 2100 | which can conflict with char $2 (void); below. */ |
| 2101 | |
| 2102 | #include <limits.h> |
| 2103 | #undef $2 |
| 2104 | |
| 2105 | /* Override any GCC internal prototype to avoid an error. |
| 2106 | Use char because int might match the return type of a GCC |
| 2107 | builtin and then its argument prototype would still apply. */ |
| 2108 | #ifdef __cplusplus |
| 2109 | extern "C" |
| 2110 | #endif |
| 2111 | char $2 (void); |
| 2112 | /* The GNU C library defines this for functions which it implements |
| 2113 | to always fail with ENOSYS. Some functions are actually named |
| 2114 | something starting with __ and the normal name is an alias. */ |
| 2115 | #if defined __stub_$2 || defined __stub___$2 |
| 2116 | choke me |
| 2117 | #endif |
| 2118 | |
| 2119 | int |
| 2120 | main (void) |
| 2121 | { |
| 2122 | return $2 (); |
| 2123 | ; |
| 2124 | return 0; |
| 2125 | } |
| 2126 | _ACEOF |
| 2127 | if ac_fn_c_try_link "$LINENO" |
| 2128 | then : |
| 2129 | eval "$3=yes" |
| 2130 | else case e in #( |
| 2131 | e) eval "$3=no" ;; |
| 2132 | esac |
| 2133 | fi |
| 2134 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 2135 | conftest$ac_exeext conftest.$ac_ext ;; |
| 2136 | esac |
| 2137 | fi |
| 2138 | eval ac_res=\$$3 |
| 2139 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2140 | printf "%s\n" "$ac_res" >&6; } |
| 2141 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2142 | |
| 2143 | } # ac_fn_c_check_func |
| 2144 | |
| 2145 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2146 | # ------------------------------------------- |
| 2147 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
| 2148 | # variable VAR accordingly. |
| 2149 | ac_fn_c_check_type () |
| 2150 | { |
| 2151 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2152 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2153 | printf %s "checking for $2... " >&6; } |
| 2154 | if eval test \${$3+y} |
| 2155 | then : |
| 2156 | printf %s "(cached) " >&6 |
| 2157 | else case e in #( |
| 2158 | e) eval "$3=no" |
| 2159 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2160 | /* end confdefs.h. */ |
| 2161 | $4 |
| 2162 | int |
| 2163 | main (void) |
| 2164 | { |
| 2165 | if (sizeof ($2)) |
| 2166 | return 0; |
| 2167 | ; |
| 2168 | return 0; |
| 2169 | } |
| 2170 | _ACEOF |
| 2171 | if ac_fn_c_try_compile "$LINENO" |
| 2172 | then : |
| 2173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2174 | /* end confdefs.h. */ |
| 2175 | $4 |
| 2176 | int |
| 2177 | main (void) |
| 2178 | { |
| 2179 | if (sizeof (($2))) |
| 2180 | return 0; |
| 2181 | ; |
| 2182 | return 0; |
| 2183 | } |
| 2184 | _ACEOF |
| 2185 | if ac_fn_c_try_compile "$LINENO" |
| 2186 | then : |
| 2187 | |
| 2188 | else case e in #( |
| 2189 | e) eval "$3=yes" ;; |
| 2190 | esac |
| 2191 | fi |
| 2192 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2193 | fi |
| 2194 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2195 | esac |
| 2196 | fi |
| 2197 | eval ac_res=\$$3 |
| 2198 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2199 | printf "%s\n" "$ac_res" >&6; } |
| 2200 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2201 | |
| 2202 | } # ac_fn_c_check_type |
| 2203 | |
| 2204 | # ac_fn_c_find_intX_t LINENO BITS VAR |
| 2205 | # ----------------------------------- |
| 2206 | # Finds a signed integer type with width BITS, setting cache variable VAR |
| 2207 | # accordingly. |
| 2208 | ac_fn_c_find_intX_t () |
| 2209 | { |
| 2210 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2211 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
| 2212 | printf %s "checking for int$2_t... " >&6; } |
| 2213 | if eval test \${$3+y} |
| 2214 | then : |
| 2215 | printf %s "(cached) " >&6 |
| 2216 | else case e in #( |
| 2217 | e) eval "$3=no" |
| 2218 | # Order is important - never check a type that is potentially smaller |
| 2219 | # than half of the expected target width. |
| 2220 | for ac_type in int$2_t 'int' 'long int' \ |
| 2221 | 'long long int' 'short int' 'signed char'; do |
| 2222 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2223 | /* end confdefs.h. */ |
| 2224 | $ac_includes_default |
| 2225 | enum { N = $2 / 2 - 1 }; |
| 2226 | int |
| 2227 | main (void) |
| 2228 | { |
| 2229 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
| 2230 | test_array [0] = 0; |
| 2231 | return test_array [0]; |
| 2232 | |
| 2233 | ; |
| 2234 | return 0; |
| 2235 | } |
| 2236 | _ACEOF |
| 2237 | if ac_fn_c_try_compile "$LINENO" |
| 2238 | then : |
| 2239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2240 | /* end confdefs.h. */ |
| 2241 | $ac_includes_default |
| 2242 | enum { N = $2 / 2 - 1 }; |
| 2243 | int |
| 2244 | main (void) |
| 2245 | { |
| 2246 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
| 2247 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
| 2248 | test_array [0] = 0; |
| 2249 | return test_array [0]; |
| 2250 | |
| 2251 | ; |
| 2252 | return 0; |
| 2253 | } |
| 2254 | _ACEOF |
| 2255 | if ac_fn_c_try_compile "$LINENO" |
| 2256 | then : |
| 2257 | |
| 2258 | else case e in #( |
| 2259 | e) case $ac_type in #( |
| 2260 | int$2_t) : |
| 2261 | eval "$3=yes" ;; #( |
| 2262 | *) : |
| 2263 | eval "$3=\$ac_type" ;; |
| 2264 | esac ;; |
| 2265 | esac |
| 2266 | fi |
| 2267 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2268 | fi |
| 2269 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2270 | if eval test \"x\$"$3"\" = x"no" |
| 2271 | then : |
| 2272 | |
| 2273 | else case e in #( |
| 2274 | e) break ;; |
| 2275 | esac |
| 2276 | fi |
| 2277 | done ;; |
| 2278 | esac |
| 2279 | fi |
| 2280 | eval ac_res=\$$3 |
| 2281 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2282 | printf "%s\n" "$ac_res" >&6; } |
| 2283 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2284 | |
| 2285 | } # ac_fn_c_find_intX_t |
| 2286 | |
| 2287 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
| 2288 | # ------------------------------------ |
| 2289 | # Finds an unsigned integer type with width BITS, setting cache variable VAR |
| 2290 | # accordingly. |
| 2291 | ac_fn_c_find_uintX_t () |
| 2292 | { |
| 2293 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2294 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
| 2295 | printf %s "checking for uint$2_t... " >&6; } |
| 2296 | if eval test \${$3+y} |
| 2297 | then : |
| 2298 | printf %s "(cached) " >&6 |
| 2299 | else case e in #( |
| 2300 | e) eval "$3=no" |
| 2301 | # Order is important - never check a type that is potentially smaller |
| 2302 | # than half of the expected target width. |
| 2303 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
| 2304 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
| 2305 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2306 | /* end confdefs.h. */ |
| 2307 | $ac_includes_default |
| 2308 | int |
| 2309 | main (void) |
| 2310 | { |
| 2311 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
| 2312 | test_array [0] = 0; |
| 2313 | return test_array [0]; |
| 2314 | |
| 2315 | ; |
| 2316 | return 0; |
| 2317 | } |
| 2318 | _ACEOF |
| 2319 | if ac_fn_c_try_compile "$LINENO" |
| 2320 | then : |
| 2321 | case $ac_type in #( |
| 2322 | uint$2_t) : |
| 2323 | eval "$3=yes" ;; #( |
| 2324 | *) : |
| 2325 | eval "$3=\$ac_type" ;; |
| 2326 | esac |
| 2327 | fi |
| 2328 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2329 | if eval test \"x\$"$3"\" = x"no" |
| 2330 | then : |
| 2331 | |
| 2332 | else case e in #( |
| 2333 | e) break ;; |
| 2334 | esac |
| 2335 | fi |
| 2336 | done ;; |
| 2337 | esac |
| 2338 | fi |
| 2339 | eval ac_res=\$$3 |
| 2340 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2341 | printf "%s\n" "$ac_res" >&6; } |
| 2342 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2343 | |
| 2344 | } # ac_fn_c_find_uintX_t |
| 2345 | |
| 2346 | # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR |
| 2347 | # ------------------------------------------------------------------ |
| 2348 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 2349 | # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. |
| 2350 | ac_fn_check_decl () |
| 2351 | { |
| 2352 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2353 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 2354 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 2355 | printf %s "checking whether $as_decl_name is declared... " >&6; } |
| 2356 | if eval test \${$3+y} |
| 2357 | then : |
| 2358 | printf %s "(cached) " >&6 |
| 2359 | else case e in #( |
| 2360 | e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 2361 | eval ac_save_FLAGS=\$$6 |
| 2362 | as_fn_append $6 " $5" |
| 2363 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2364 | /* end confdefs.h. */ |
| 2365 | $4 |
| 2366 | int |
| 2367 | main (void) |
| 2368 | { |
| 2369 | #ifndef $as_decl_name |
| 2370 | #ifdef __cplusplus |
| 2371 | (void) $as_decl_use; |
| 2372 | #else |
| 2373 | (void) $as_decl_name; |
| 2374 | #endif |
| 2375 | #endif |
| 2376 | |
| 2377 | ; |
| 2378 | return 0; |
| 2379 | } |
| 2380 | _ACEOF |
| 2381 | if ac_fn_c_try_compile "$LINENO" |
| 2382 | then : |
| 2383 | eval "$3=yes" |
| 2384 | else case e in #( |
| 2385 | e) eval "$3=no" ;; |
| 2386 | esac |
| 2387 | fi |
| 2388 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2389 | eval $6=\$ac_save_FLAGS |
| 2390 | ;; |
| 2391 | esac |
| 2392 | fi |
| 2393 | eval ac_res=\$$3 |
| 2394 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2395 | printf "%s\n" "$ac_res" >&6; } |
| 2396 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2397 | |
| 2398 | } # ac_fn_check_decl |
| 2399 | |
| 2400 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 2401 | # ---------------------------------------------------- |
| 2402 | # Tries to find if the field MEMBER exists in type AGGR, after including |
| 2403 | # INCLUDES, setting cache variable VAR accordingly. |
| 2404 | ac_fn_c_check_member () |
| 2405 | { |
| 2406 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2407 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 2408 | printf %s "checking for $2.$3... " >&6; } |
| 2409 | if eval test \${$4+y} |
| 2410 | then : |
| 2411 | printf %s "(cached) " >&6 |
| 2412 | else case e in #( |
| 2413 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2414 | /* end confdefs.h. */ |
| 2415 | $5 |
| 2416 | int |
| 2417 | main (void) |
| 2418 | { |
| 2419 | static $2 ac_aggr; |
| 2420 | if (ac_aggr.$3) |
| 2421 | return 0; |
| 2422 | ; |
| 2423 | return 0; |
| 2424 | } |
| 2425 | _ACEOF |
| 2426 | if ac_fn_c_try_compile "$LINENO" |
| 2427 | then : |
| 2428 | eval "$4=yes" |
| 2429 | else case e in #( |
| 2430 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2431 | /* end confdefs.h. */ |
| 2432 | $5 |
| 2433 | int |
| 2434 | main (void) |
| 2435 | { |
| 2436 | static $2 ac_aggr; |
| 2437 | if (sizeof ac_aggr.$3) |
| 2438 | return 0; |
| 2439 | ; |
| 2440 | return 0; |
| 2441 | } |
| 2442 | _ACEOF |
| 2443 | if ac_fn_c_try_compile "$LINENO" |
| 2444 | then : |
| 2445 | eval "$4=yes" |
| 2446 | else case e in #( |
| 2447 | e) eval "$4=no" ;; |
| 2448 | esac |
| 2449 | fi |
| 2450 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2451 | esac |
| 2452 | fi |
| 2453 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2454 | esac |
| 2455 | fi |
| 2456 | eval ac_res=\$$4 |
| 2457 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2458 | printf "%s\n" "$ac_res" >&6; } |
| 2459 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2460 | |
| 2461 | } # ac_fn_c_check_member |
| 2462 | |
| 2463 | # ac_fn_c_try_cpp LINENO |
| 2464 | # ---------------------- |
| 2465 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 2466 | ac_fn_c_try_cpp () |
| 2467 | { |
| 2468 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2469 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 2470 | case "(($ac_try" in |
| 2471 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2472 | *) ac_try_echo=$ac_try;; |
| 2473 | esac |
| 2474 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2475 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 2476 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 2477 | ac_status=$? |
| 2478 | if test -s conftest.err; then |
| 2479 | grep -v '^ *+' conftest.err >conftest.er1 |
| 2480 | cat conftest.er1 >&5 |
| 2481 | mv -f conftest.er1 conftest.err |
| 2482 | fi |
| 2483 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2484 | test $ac_status = 0; } > conftest.i && { |
| 2485 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 2486 | test ! -s conftest.err |
| 2487 | } |
| 2488 | then : |
| 2489 | ac_retval=0 |
| 2490 | else case e in #( |
| 2491 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2492 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2493 | |
| 2494 | ac_retval=1 ;; |
| 2495 | esac |
| 2496 | fi |
| 2497 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2498 | as_fn_set_status $ac_retval |
| 2499 | |
| 2500 | } # ac_fn_c_try_cpp |
| 2501 | |
| 2502 | # ac_fn_cxx_try_compile LINENO |
| 2503 | # ---------------------------- |
| 2504 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 2505 | ac_fn_cxx_try_compile () |
| 2506 | { |
| 2507 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2508 | rm -f conftest.$ac_objext conftest.beam |
| 2509 | if { { ac_try="$ac_compile" |
| 2510 | case "(($ac_try" in |
| 2511 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2512 | *) ac_try_echo=$ac_try;; |
| 2513 | esac |
| 2514 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2515 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 2516 | (eval "$ac_compile") 2>conftest.err |
| 2517 | ac_status=$? |
| 2518 | if test -s conftest.err; then |
| 2519 | grep -v '^ *+' conftest.err >conftest.er1 |
| 2520 | cat conftest.er1 >&5 |
| 2521 | mv -f conftest.er1 conftest.err |
| 2522 | fi |
| 2523 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2524 | test $ac_status = 0; } && { |
| 2525 | test -z "$ac_cxx_werror_flag" || |
| 2526 | test ! -s conftest.err |
| 2527 | } && test -s conftest.$ac_objext |
| 2528 | then : |
| 2529 | ac_retval=0 |
| 2530 | else case e in #( |
| 2531 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2532 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2533 | |
| 2534 | ac_retval=1 ;; |
| 2535 | esac |
| 2536 | fi |
| 2537 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2538 | as_fn_set_status $ac_retval |
| 2539 | |
| 2540 | } # ac_fn_cxx_try_compile |
| 2541 | |
| 2542 | # ac_fn_cxx_try_cpp LINENO |
| 2543 | # ------------------------ |
| 2544 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 2545 | ac_fn_cxx_try_cpp () |
| 2546 | { |
| 2547 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2548 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 2549 | case "(($ac_try" in |
| 2550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2551 | *) ac_try_echo=$ac_try;; |
| 2552 | esac |
| 2553 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2554 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 2555 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 2556 | ac_status=$? |
| 2557 | if test -s conftest.err; then |
| 2558 | grep -v '^ *+' conftest.err >conftest.er1 |
| 2559 | cat conftest.er1 >&5 |
| 2560 | mv -f conftest.er1 conftest.err |
| 2561 | fi |
| 2562 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2563 | test $ac_status = 0; } > conftest.i && { |
| 2564 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 2565 | test ! -s conftest.err |
| 2566 | } |
| 2567 | then : |
| 2568 | ac_retval=0 |
| 2569 | else case e in #( |
| 2570 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2571 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2572 | |
| 2573 | ac_retval=1 ;; |
| 2574 | esac |
| 2575 | fi |
| 2576 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2577 | as_fn_set_status $ac_retval |
| 2578 | |
| 2579 | } # ac_fn_cxx_try_cpp |
| 2580 | |
| 2581 | # ac_fn_cxx_try_link LINENO |
| 2582 | # ------------------------- |
| 2583 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2584 | ac_fn_cxx_try_link () |
| 2585 | { |
| 2586 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2587 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 2588 | if { { ac_try="$ac_link" |
| 2589 | case "(($ac_try" in |
| 2590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2591 | *) ac_try_echo=$ac_try;; |
| 2592 | esac |
| 2593 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2594 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 2595 | (eval "$ac_link") 2>conftest.err |
| 2596 | ac_status=$? |
| 2597 | if test -s conftest.err; then |
| 2598 | grep -v '^ *+' conftest.err >conftest.er1 |
| 2599 | cat conftest.er1 >&5 |
| 2600 | mv -f conftest.er1 conftest.err |
| 2601 | fi |
| 2602 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2603 | test $ac_status = 0; } && { |
| 2604 | test -z "$ac_cxx_werror_flag" || |
| 2605 | test ! -s conftest.err |
| 2606 | } && test -s conftest$ac_exeext && { |
| 2607 | test "$cross_compiling" = yes || |
| 2608 | test -x conftest$ac_exeext |
| 2609 | } |
| 2610 | then : |
| 2611 | ac_retval=0 |
| 2612 | else case e in #( |
| 2613 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2614 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2615 | |
| 2616 | ac_retval=1 ;; |
| 2617 | esac |
| 2618 | fi |
| 2619 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2620 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2621 | # interfere with the next link command; also delete a directory that is |
| 2622 | # left behind by Apple's compiler. We do this before executing the actions. |
| 2623 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2624 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2625 | as_fn_set_status $ac_retval |
| 2626 | |
| 2627 | } # ac_fn_cxx_try_link |
| 2628 | ac_configure_args_raw= |
| 2629 | for ac_arg |
| 2630 | do |
| 2631 | case $ac_arg in |
| 2632 | *\'*) |
| 2633 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2634 | esac |
| 2635 | as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 2636 | done |
| 2637 | |
| 2638 | case $ac_configure_args_raw in |
| 2639 | *$as_nl*) |
| 2640 | ac_safe_unquote= ;; |
| 2641 | *) |
| 2642 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 2643 | ac_unsafe_a="$ac_unsafe_z#~" |
| 2644 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 2645 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
| 2646 | esac |
| 2647 | |
| 2648 | cat >config.log <<_ACEOF |
| 2649 | This file contains any messages produced by compilers while |
| 2650 | running configure, to aid debugging if configure makes a mistake. |
| 2651 | |
| 2652 | It was created by TeX Live $as_me 2026-03-02, which was |
| 2653 | generated by GNU Autoconf 2.72. Invocation command line was |
| 2654 | |
| 2655 | $ $0$ac_configure_args_raw |
| 2656 | |
| 2657 | _ACEOF |
| 2658 | exec 5>>config.log |
| 2659 | { |
| 2660 | cat <<_ASUNAME |
| 2661 | ## --------- ## |
| 2662 | ## Platform. ## |
| 2663 | ## --------- ## |
| 2664 | |
| 2665 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 2666 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 2667 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 2668 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 2669 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 2670 | |
| 2671 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 2672 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 2673 | |
| 2674 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 2675 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 2676 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 2677 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 2678 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 2679 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 2680 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 2681 | |
| 2682 | _ASUNAME |
| 2683 | |
| 2684 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2685 | for as_dir in $PATH |
| 2686 | do |
| 2687 | IFS=$as_save_IFS |
| 2688 | case $as_dir in #((( |
| 2689 | '') as_dir=./ ;; |
| 2690 | */) ;; |
| 2691 | *) as_dir=$as_dir/ ;; |
| 2692 | esac |
| 2693 | printf "%s\n" "PATH: $as_dir" |
| 2694 | done |
| 2695 | IFS=$as_save_IFS |
| 2696 | |
| 2697 | } >&5 |
| 2698 | |
| 2699 | cat >&5 <<_ACEOF |
| 2700 | |
| 2701 | |
| 2702 | ## ----------- ## |
| 2703 | ## Core tests. ## |
| 2704 | ## ----------- ## |
| 2705 | |
| 2706 | _ACEOF |
| 2707 | |
| 2708 | |
| 2709 | # Keep a trace of the command line. |
| 2710 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 2711 | # Strip out --silent because we don't want to record it for future runs. |
| 2712 | # Also quote any args containing shell meta-characters. |
| 2713 | # Make two passes to allow for proper duplicate-argument suppression. |
| 2714 | ac_configure_args= |
| 2715 | ac_configure_args0= |
| 2716 | ac_configure_args1= |
| 2717 | ac_must_keep_next=false |
| 2718 | for ac_pass in 1 2 |
| 2719 | do |
| 2720 | for ac_arg |
| 2721 | do |
| 2722 | case $ac_arg in |
| 2723 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 2724 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 2725 | | -silent | --silent | --silen | --sile | --sil) |
| 2726 | continue ;; |
| 2727 | *\'*) |
| 2728 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2729 | esac |
| 2730 | case $ac_pass in |
| 2731 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 2732 | 2) |
| 2733 | as_fn_append ac_configure_args1 " '$ac_arg'" |
| 2734 | if test $ac_must_keep_next = true; then |
| 2735 | ac_must_keep_next=false # Got value, back to normal. |
| 2736 | else |
| 2737 | case $ac_arg in |
| 2738 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 2739 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 2740 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 2741 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 2742 | case "$ac_configure_args0 " in |
| 2743 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 2744 | esac |
| 2745 | ;; |
| 2746 | -* ) ac_must_keep_next=true ;; |
| 2747 | esac |
| 2748 | fi |
| 2749 | as_fn_append ac_configure_args " '$ac_arg'" |
| 2750 | ;; |
| 2751 | esac |
| 2752 | done |
| 2753 | done |
| 2754 | { ac_configure_args0=; unset ac_configure_args0;} |
| 2755 | { ac_configure_args1=; unset ac_configure_args1;} |
| 2756 | |
| 2757 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2758 | # config.log. We remove comments because anyway the quotes in there |
| 2759 | # would cause problems or look ugly. |
| 2760 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2761 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2762 | trap 'exit_status=$? |
| 2763 | # Sanitize IFS. |
| 2764 | IFS=" "" $as_nl" |
| 2765 | # Save into config.log some information that might help in debugging. |
| 2766 | { |
| 2767 | echo |
| 2768 | |
| 2769 | printf "%s\n" "## ---------------- ## |
| 2770 | ## Cache variables. ## |
| 2771 | ## ---------------- ##" |
| 2772 | echo |
| 2773 | # The following way of writing the cache mishandles newlines in values, |
| 2774 | ( |
| 2775 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2776 | eval ac_val=\$$ac_var |
| 2777 | case $ac_val in #( |
| 2778 | *${as_nl}*) |
| 2779 | case $ac_var in #( |
| 2780 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2781 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2782 | esac |
| 2783 | case $ac_var in #( |
| 2784 | _ | IFS | as_nl) ;; #( |
| 2785 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2786 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 2787 | esac ;; |
| 2788 | esac |
| 2789 | done |
| 2790 | (set) 2>&1 | |
| 2791 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2792 | *${as_nl}ac_space=\ *) |
| 2793 | sed -n \ |
| 2794 | "s/'\''/'\''\\\\'\'''\''/g; |
| 2795 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2796 | ;; #( |
| 2797 | *) |
| 2798 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2799 | ;; |
| 2800 | esac | |
| 2801 | sort |
| 2802 | ) |
| 2803 | echo |
| 2804 | |
| 2805 | printf "%s\n" "## ----------------- ## |
| 2806 | ## Output variables. ## |
| 2807 | ## ----------------- ##" |
| 2808 | echo |
| 2809 | for ac_var in $ac_subst_vars |
| 2810 | do |
| 2811 | eval ac_val=\$$ac_var |
| 2812 | case $ac_val in |
| 2813 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2814 | esac |
| 2815 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2816 | done | sort |
| 2817 | echo |
| 2818 | |
| 2819 | if test -n "$ac_subst_files"; then |
| 2820 | printf "%s\n" "## ------------------- ## |
| 2821 | ## File substitutions. ## |
| 2822 | ## ------------------- ##" |
| 2823 | echo |
| 2824 | for ac_var in $ac_subst_files |
| 2825 | do |
| 2826 | eval ac_val=\$$ac_var |
| 2827 | case $ac_val in |
| 2828 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2829 | esac |
| 2830 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2831 | done | sort |
| 2832 | echo |
| 2833 | fi |
| 2834 | |
| 2835 | if test -s confdefs.h; then |
| 2836 | printf "%s\n" "## ----------- ## |
| 2837 | ## confdefs.h. ## |
| 2838 | ## ----------- ##" |
| 2839 | echo |
| 2840 | cat confdefs.h |
| 2841 | echo |
| 2842 | fi |
| 2843 | test "$ac_signal" != 0 && |
| 2844 | printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2845 | printf "%s\n" "$as_me: exit $exit_status" |
| 2846 | } >&5 |
| 2847 | rm -f core *.core core.conftest.* && |
| 2848 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2849 | exit $exit_status |
| 2850 | ' 0 |
| 2851 | for ac_signal in 1 2 13 15; do |
| 2852 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2853 | done |
| 2854 | ac_signal=0 |
| 2855 | |
| 2856 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2857 | rm -f -r conftest* confdefs.h |
| 2858 | |
| 2859 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 2860 | |
| 2861 | # Predefined preprocessor variables. |
| 2862 | |
| 2863 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 2864 | |
| 2865 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 2866 | |
| 2867 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 2868 | |
| 2869 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 2870 | |
| 2871 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 2872 | |
| 2873 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 2874 | |
| 2875 | |
| 2876 | # Let the site file select an alternate cache file if it wants to. |
| 2877 | # Prefer an explicitly selected file to automatically selected ones. |
| 2878 | if test -n "$CONFIG_SITE"; then |
| 2879 | ac_site_files="$CONFIG_SITE" |
| 2880 | elif test "x$prefix" != xNONE; then |
| 2881 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 2882 | else |
| 2883 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 2884 | fi |
| 2885 | |
| 2886 | for ac_site_file in $ac_site_files |
| 2887 | do |
| 2888 | case $ac_site_file in #( |
| 2889 | */*) : |
| 2890 | ;; #( |
| 2891 | *) : |
| 2892 | ac_site_file=./$ac_site_file ;; |
| 2893 | esac |
| 2894 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
| 2895 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2896 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2897 | sed 's/^/| /' "$ac_site_file" >&5 |
| 2898 | . "$ac_site_file" \ |
| 2899 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 2900 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 2901 | as_fn_error $? "failed to load site script $ac_site_file |
| 2902 | See 'config.log' for more details" "$LINENO" 5; } |
| 2903 | fi |
| 2904 | done |
| 2905 | |
| 2906 | if test -r "$cache_file"; then |
| 2907 | # Some versions of bash will fail to source /dev/null (special files |
| 2908 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2909 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2910 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2911 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2912 | case $cache_file in |
| 2913 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2914 | *) . "./$cache_file";; |
| 2915 | esac |
| 2916 | fi |
| 2917 | else |
| 2918 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2919 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2920 | >$cache_file |
| 2921 | fi |
| 2922 | |
| 2923 | as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 2924 | # Test code for whether the C compiler supports C89 (global declarations) |
| 2925 | ac_c_conftest_c89_globals=' |
| 2926 | /* Does the compiler advertise C89 conformance? |
| 2927 | Do not test the value of __STDC__, because some compilers set it to 0 |
| 2928 | while being otherwise adequately conformant. */ |
| 2929 | #if !defined __STDC__ |
| 2930 | # error "Compiler does not advertise C89 conformance" |
| 2931 | #endif |
| 2932 | |
| 2933 | #include <stddef.h> |
| 2934 | #include <stdarg.h> |
| 2935 | struct stat; |
| 2936 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 2937 | struct buf { int x; }; |
| 2938 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 2939 | static char *e (char **p, int i) |
| 2940 | { |
| 2941 | return p[i]; |
| 2942 | } |
| 2943 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 2944 | { |
| 2945 | char *s; |
| 2946 | va_list v; |
| 2947 | va_start (v,p); |
| 2948 | s = g (p, va_arg (v,int)); |
| 2949 | va_end (v); |
| 2950 | return s; |
| 2951 | } |
| 2952 | |
| 2953 | /* C89 style stringification. */ |
| 2954 | #define noexpand_stringify(a) #a |
| 2955 | const char *stringified = noexpand_stringify(arbitrary+token=sequence); |
| 2956 | |
| 2957 | /* C89 style token pasting. Exercises some of the corner cases that |
| 2958 | e.g. old MSVC gets wrong, but not very hard. */ |
| 2959 | #define noexpand_concat(a,b) a##b |
| 2960 | #define expand_concat(a,b) noexpand_concat(a,b) |
| 2961 | extern int vA; |
| 2962 | extern int vbee; |
| 2963 | #define aye A |
| 2964 | #define bee B |
| 2965 | int *pvA = &expand_concat(v,aye); |
| 2966 | int *pvbee = &noexpand_concat(v,bee); |
| 2967 | |
| 2968 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2969 | function prototypes and stuff, but not \xHH hex character constants. |
| 2970 | These do not provoke an error unfortunately, instead are silently treated |
| 2971 | as an "x". The following induces an error, until -std is added to get |
| 2972 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 2973 | array size at least. It is necessary to write \x00 == 0 to get something |
| 2974 | that is true only with -std. */ |
| 2975 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 2976 | |
| 2977 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2978 | inside strings and character constants. */ |
| 2979 | #define FOO(x) '\''x'\'' |
| 2980 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 2981 | |
| 2982 | int test (int i, double x); |
| 2983 | struct s1 {int (*f) (int a);}; |
| 2984 | struct s2 {int (*f) (double a);}; |
| 2985 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 2986 | int, int);' |
| 2987 | |
| 2988 | # Test code for whether the C compiler supports C89 (body of main). |
| 2989 | ac_c_conftest_c89_main=' |
| 2990 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 2991 | ' |
| 2992 | |
| 2993 | # Test code for whether the C compiler supports C99 (global declarations) |
| 2994 | ac_c_conftest_c99_globals=' |
| 2995 | /* Does the compiler advertise C99 conformance? */ |
| 2996 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 2997 | # error "Compiler does not advertise C99 conformance" |
| 2998 | #endif |
| 2999 | |
| 3000 | // See if C++-style comments work. |
| 3001 | |
| 3002 | #include <stdbool.h> |
| 3003 | extern int puts (const char *); |
| 3004 | extern int printf (const char *, ...); |
| 3005 | extern int dprintf (int, const char *, ...); |
| 3006 | extern void *malloc (size_t); |
| 3007 | extern void free (void *); |
| 3008 | |
| 3009 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 3010 | // dprintf is used instead of fprintf to avoid needing to declare |
| 3011 | // FILE and stderr. |
| 3012 | #define debug(...) dprintf (2, __VA_ARGS__) |
| 3013 | #define showlist(...) puts (#__VA_ARGS__) |
| 3014 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 3015 | static void |
| 3016 | test_varargs_macros (void) |
| 3017 | { |
| 3018 | int x = 1234; |
| 3019 | int y = 5678; |
| 3020 | debug ("Flag"); |
| 3021 | debug ("X = %d\n", x); |
| 3022 | showlist (The first, second, and third items.); |
| 3023 | report (x>y, "x is %d but y is %d", x, y); |
| 3024 | } |
| 3025 | |
| 3026 | // Check long long types. |
| 3027 | #define BIG64 18446744073709551615ull |
| 3028 | #define BIG32 4294967295ul |
| 3029 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 3030 | #if !BIG_OK |
| 3031 | #error "your preprocessor is broken" |
| 3032 | #endif |
| 3033 | #if BIG_OK |
| 3034 | #else |
| 3035 | #error "your preprocessor is broken" |
| 3036 | #endif |
| 3037 | static long long int bignum = -9223372036854775807LL; |
| 3038 | static unsigned long long int ubignum = BIG64; |
| 3039 | |
| 3040 | struct incomplete_array |
| 3041 | { |
| 3042 | int datasize; |
| 3043 | double data[]; |
| 3044 | }; |
| 3045 | |
| 3046 | struct named_init { |
| 3047 | int number; |
| 3048 | const wchar_t *name; |
| 3049 | double average; |
| 3050 | }; |
| 3051 | |
| 3052 | typedef const char *ccp; |
| 3053 | |
| 3054 | static inline int |
| 3055 | test_restrict (ccp restrict text) |
| 3056 | { |
| 3057 | // Iterate through items via the restricted pointer. |
| 3058 | // Also check for declarations in for loops. |
| 3059 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 3060 | continue; |
| 3061 | return 0; |
| 3062 | } |
| 3063 | |
| 3064 | // Check varargs and va_copy. |
| 3065 | static bool |
| 3066 | test_varargs (const char *format, ...) |
| 3067 | { |
| 3068 | va_list args; |
| 3069 | va_start (args, format); |
| 3070 | va_list args_copy; |
| 3071 | va_copy (args_copy, args); |
| 3072 | |
| 3073 | const char *str = ""; |
| 3074 | int number = 0; |
| 3075 | float fnumber = 0; |
| 3076 | |
| 3077 | while (*format) |
| 3078 | { |
| 3079 | switch (*format++) |
| 3080 | { |
| 3081 | case '\''s'\'': // string |
| 3082 | str = va_arg (args_copy, const char *); |
| 3083 | break; |
| 3084 | case '\''d'\'': // int |
| 3085 | number = va_arg (args_copy, int); |
| 3086 | break; |
| 3087 | case '\''f'\'': // float |
| 3088 | fnumber = va_arg (args_copy, double); |
| 3089 | break; |
| 3090 | default: |
| 3091 | break; |
| 3092 | } |
| 3093 | } |
| 3094 | va_end (args_copy); |
| 3095 | va_end (args); |
| 3096 | |
| 3097 | return *str && number && fnumber; |
| 3098 | } |
| 3099 | ' |
| 3100 | |
| 3101 | # Test code for whether the C compiler supports C99 (body of main). |
| 3102 | ac_c_conftest_c99_main=' |
| 3103 | // Check bool. |
| 3104 | _Bool success = false; |
| 3105 | success |= (argc != 0); |
| 3106 | |
| 3107 | // Check restrict. |
| 3108 | if (test_restrict ("String literal") == 0) |
| 3109 | success = true; |
| 3110 | char *restrict newvar = "Another string"; |
| 3111 | |
| 3112 | // Check varargs. |
| 3113 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 3114 | test_varargs_macros (); |
| 3115 | |
| 3116 | // Check flexible array members. |
| 3117 | struct incomplete_array *ia = |
| 3118 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 3119 | ia->datasize = 10; |
| 3120 | for (int i = 0; i < ia->datasize; ++i) |
| 3121 | ia->data[i] = i * 1.234; |
| 3122 | // Work around memory leak warnings. |
| 3123 | free (ia); |
| 3124 | |
| 3125 | // Check named initializers. |
| 3126 | struct named_init ni = { |
| 3127 | .number = 34, |
| 3128 | .name = L"Test wide string", |
| 3129 | .average = 543.34343, |
| 3130 | }; |
| 3131 | |
| 3132 | ni.number = 58; |
| 3133 | |
| 3134 | int dynamic_array[ni.number]; |
| 3135 | dynamic_array[0] = argv[0][0]; |
| 3136 | dynamic_array[ni.number - 1] = 543; |
| 3137 | |
| 3138 | // work around unused variable warnings |
| 3139 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 3140 | || dynamic_array[ni.number - 1] != 543); |
| 3141 | ' |
| 3142 | |
| 3143 | # Test code for whether the C compiler supports C11 (global declarations) |
| 3144 | ac_c_conftest_c11_globals=' |
| 3145 | /* Does the compiler advertise C11 conformance? */ |
| 3146 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 3147 | # error "Compiler does not advertise C11 conformance" |
| 3148 | #endif |
| 3149 | |
| 3150 | // Check _Alignas. |
| 3151 | char _Alignas (double) aligned_as_double; |
| 3152 | char _Alignas (0) no_special_alignment; |
| 3153 | extern char aligned_as_int; |
| 3154 | char _Alignas (0) _Alignas (int) aligned_as_int; |
| 3155 | |
| 3156 | // Check _Alignof. |
| 3157 | enum |
| 3158 | { |
| 3159 | int_alignment = _Alignof (int), |
| 3160 | int_array_alignment = _Alignof (int[100]), |
| 3161 | char_alignment = _Alignof (char) |
| 3162 | }; |
| 3163 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 3164 | |
| 3165 | // Check _Noreturn. |
| 3166 | int _Noreturn does_not_return (void) { for (;;) continue; } |
| 3167 | |
| 3168 | // Check _Static_assert. |
| 3169 | struct test_static_assert |
| 3170 | { |
| 3171 | int x; |
| 3172 | _Static_assert (sizeof (int) <= sizeof (long int), |
| 3173 | "_Static_assert does not work in struct"); |
| 3174 | long int y; |
| 3175 | }; |
| 3176 | |
| 3177 | // Check UTF-8 literals. |
| 3178 | #define u8 syntax error! |
| 3179 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 3180 | |
| 3181 | // Check duplicate typedefs. |
| 3182 | typedef long *long_ptr; |
| 3183 | typedef long int *long_ptr; |
| 3184 | typedef long_ptr long_ptr; |
| 3185 | |
| 3186 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 3187 | struct anonymous |
| 3188 | { |
| 3189 | union { |
| 3190 | struct { int i; int j; }; |
| 3191 | struct { int k; long int l; } w; |
| 3192 | }; |
| 3193 | int m; |
| 3194 | } v1; |
| 3195 | ' |
| 3196 | |
| 3197 | # Test code for whether the C compiler supports C11 (body of main). |
| 3198 | ac_c_conftest_c11_main=' |
| 3199 | _Static_assert ((offsetof (struct anonymous, i) |
| 3200 | == offsetof (struct anonymous, w.k)), |
| 3201 | "Anonymous union alignment botch"); |
| 3202 | v1.i = 2; |
| 3203 | v1.w.k = 5; |
| 3204 | ok |= v1.i != 5; |
| 3205 | ' |
| 3206 | |
| 3207 | # Test code for whether the C compiler supports C11 (complete). |
| 3208 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 3209 | ${ac_c_conftest_c99_globals} |
| 3210 | ${ac_c_conftest_c11_globals} |
| 3211 | |
| 3212 | int |
| 3213 | main (int argc, char **argv) |
| 3214 | { |
| 3215 | int ok = 0; |
| 3216 | ${ac_c_conftest_c89_main} |
| 3217 | ${ac_c_conftest_c99_main} |
| 3218 | ${ac_c_conftest_c11_main} |
| 3219 | return ok; |
| 3220 | } |
| 3221 | " |
| 3222 | |
| 3223 | # Test code for whether the C compiler supports C99 (complete). |
| 3224 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 3225 | ${ac_c_conftest_c99_globals} |
| 3226 | |
| 3227 | int |
| 3228 | main (int argc, char **argv) |
| 3229 | { |
| 3230 | int ok = 0; |
| 3231 | ${ac_c_conftest_c89_main} |
| 3232 | ${ac_c_conftest_c99_main} |
| 3233 | return ok; |
| 3234 | } |
| 3235 | " |
| 3236 | |
| 3237 | # Test code for whether the C compiler supports C89 (complete). |
| 3238 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 3239 | |
| 3240 | int |
| 3241 | main (int argc, char **argv) |
| 3242 | { |
| 3243 | int ok = 0; |
| 3244 | ${ac_c_conftest_c89_main} |
| 3245 | return ok; |
| 3246 | } |
| 3247 | " |
| 3248 | |
| 3249 | as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 3250 | as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 3251 | as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 3252 | as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 3253 | as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 3254 | as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 3255 | as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 3256 | as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 3257 | as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" |
| 3258 | as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" |
| 3259 | # Test code for whether the C++ compiler supports C++98 (global declarations) |
| 3260 | ac_cxx_conftest_cxx98_globals=' |
| 3261 | // Does the compiler advertise C++98 conformance? |
| 3262 | #if !defined __cplusplus || __cplusplus < 199711L |
| 3263 | # error "Compiler does not advertise C++98 conformance" |
| 3264 | #endif |
| 3265 | |
| 3266 | // These inclusions are to reject old compilers that |
| 3267 | // lack the unsuffixed header files. |
| 3268 | #include <cstdlib> |
| 3269 | #include <exception> |
| 3270 | |
| 3271 | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
| 3272 | extern void assert (int); |
| 3273 | namespace std { |
| 3274 | extern int strcmp (const char *, const char *); |
| 3275 | } |
| 3276 | |
| 3277 | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
| 3278 | using std::exception; |
| 3279 | using std::strcmp; |
| 3280 | |
| 3281 | namespace { |
| 3282 | |
| 3283 | void test_exception_syntax() |
| 3284 | { |
| 3285 | try { |
| 3286 | throw "test"; |
| 3287 | } catch (const char *s) { |
| 3288 | // Extra parentheses suppress a warning when building autoconf itself, |
| 3289 | // due to lint rules shared with more typical C programs. |
| 3290 | assert (!(strcmp) (s, "test")); |
| 3291 | } |
| 3292 | } |
| 3293 | |
| 3294 | template <typename T> struct test_template |
| 3295 | { |
| 3296 | T const val; |
| 3297 | explicit test_template(T t) : val(t) {} |
| 3298 | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
| 3299 | }; |
| 3300 | |
| 3301 | } // anonymous namespace |
| 3302 | ' |
| 3303 | |
| 3304 | # Test code for whether the C++ compiler supports C++98 (body of main) |
| 3305 | ac_cxx_conftest_cxx98_main=' |
| 3306 | assert (argc); |
| 3307 | assert (! argv[0]); |
| 3308 | { |
| 3309 | test_exception_syntax (); |
| 3310 | test_template<double> tt (2.0); |
| 3311 | assert (tt.add (4) == 6.0); |
| 3312 | assert (true && !false); |
| 3313 | } |
| 3314 | ' |
| 3315 | |
| 3316 | # Test code for whether the C++ compiler supports C++11 (global declarations) |
| 3317 | ac_cxx_conftest_cxx11_globals=' |
| 3318 | // Does the compiler advertise C++ 2011 conformance? |
| 3319 | #if !defined __cplusplus || __cplusplus < 201103L |
| 3320 | # error "Compiler does not advertise C++11 conformance" |
| 3321 | #endif |
| 3322 | |
| 3323 | namespace cxx11test |
| 3324 | { |
| 3325 | constexpr int get_val() { return 20; } |
| 3326 | |
| 3327 | struct testinit |
| 3328 | { |
| 3329 | int i; |
| 3330 | double d; |
| 3331 | }; |
| 3332 | |
| 3333 | class delegate |
| 3334 | { |
| 3335 | public: |
| 3336 | delegate(int n) : n(n) {} |
| 3337 | delegate(): delegate(2354) {} |
| 3338 | |
| 3339 | virtual int getval() { return this->n; }; |
| 3340 | protected: |
| 3341 | int n; |
| 3342 | }; |
| 3343 | |
| 3344 | class overridden : public delegate |
| 3345 | { |
| 3346 | public: |
| 3347 | overridden(int n): delegate(n) {} |
| 3348 | virtual int getval() override final { return this->n * 2; } |
| 3349 | }; |
| 3350 | |
| 3351 | class nocopy |
| 3352 | { |
| 3353 | public: |
| 3354 | nocopy(int i): i(i) {} |
| 3355 | nocopy() = default; |
| 3356 | nocopy(const nocopy&) = delete; |
| 3357 | nocopy & operator=(const nocopy&) = delete; |
| 3358 | private: |
| 3359 | int i; |
| 3360 | }; |
| 3361 | |
| 3362 | // for testing lambda expressions |
| 3363 | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
| 3364 | { |
| 3365 | return f(v); |
| 3366 | } |
| 3367 | |
| 3368 | // for testing variadic templates and trailing return types |
| 3369 | template <typename V> auto sum(V first) -> V |
| 3370 | { |
| 3371 | return first; |
| 3372 | } |
| 3373 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
| 3374 | { |
| 3375 | return first + sum(rest...); |
| 3376 | } |
| 3377 | } |
| 3378 | ' |
| 3379 | |
| 3380 | # Test code for whether the C++ compiler supports C++11 (body of main) |
| 3381 | ac_cxx_conftest_cxx11_main=' |
| 3382 | { |
| 3383 | // Test auto and decltype |
| 3384 | auto a1 = 6538; |
| 3385 | auto a2 = 48573953.4; |
| 3386 | auto a3 = "String literal"; |
| 3387 | |
| 3388 | int total = 0; |
| 3389 | for (auto i = a3; *i; ++i) { total += *i; } |
| 3390 | |
| 3391 | decltype(a2) a4 = 34895.034; |
| 3392 | } |
| 3393 | { |
| 3394 | // Test constexpr |
| 3395 | short sa[cxx11test::get_val()] = { 0 }; |
| 3396 | } |
| 3397 | { |
| 3398 | // Test initializer lists |
| 3399 | cxx11test::testinit il = { 4323, 435234.23544 }; |
| 3400 | } |
| 3401 | { |
| 3402 | // Test range-based for |
| 3403 | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
| 3404 | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
| 3405 | for (auto &x : array) { x += 23; } |
| 3406 | } |
| 3407 | { |
| 3408 | // Test lambda expressions |
| 3409 | using cxx11test::eval; |
| 3410 | assert (eval ([](int x) { return x*2; }, 21) == 42); |
| 3411 | double d = 2.0; |
| 3412 | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
| 3413 | assert (d == 5.0); |
| 3414 | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
| 3415 | assert (d == 5.0); |
| 3416 | } |
| 3417 | { |
| 3418 | // Test use of variadic templates |
| 3419 | using cxx11test::sum; |
| 3420 | auto a = sum(1); |
| 3421 | auto b = sum(1, 2); |
| 3422 | auto c = sum(1.0, 2.0, 3.0); |
| 3423 | } |
| 3424 | { |
| 3425 | // Test constructor delegation |
| 3426 | cxx11test::delegate d1; |
| 3427 | cxx11test::delegate d2(); |
| 3428 | cxx11test::delegate d3(45); |
| 3429 | } |
| 3430 | { |
| 3431 | // Test override and final |
| 3432 | cxx11test::overridden o1(55464); |
| 3433 | } |
| 3434 | { |
| 3435 | // Test nullptr |
| 3436 | char *c = nullptr; |
| 3437 | } |
| 3438 | { |
| 3439 | // Test template brackets |
| 3440 | test_template<::test_template<int>> v(test_template<int>(12)); |
| 3441 | } |
| 3442 | { |
| 3443 | // Unicode literals |
| 3444 | char const *utf8 = u8"UTF-8 string \u2500"; |
| 3445 | char16_t const *utf16 = u"UTF-8 string \u2500"; |
| 3446 | char32_t const *utf32 = U"UTF-32 string \u2500"; |
| 3447 | } |
| 3448 | ' |
| 3449 | |
| 3450 | # Test code for whether the C compiler supports C++11 (complete). |
| 3451 | ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} |
| 3452 | ${ac_cxx_conftest_cxx11_globals} |
| 3453 | |
| 3454 | int |
| 3455 | main (int argc, char **argv) |
| 3456 | { |
| 3457 | int ok = 0; |
| 3458 | ${ac_cxx_conftest_cxx98_main} |
| 3459 | ${ac_cxx_conftest_cxx11_main} |
| 3460 | return ok; |
| 3461 | } |
| 3462 | " |
| 3463 | |
| 3464 | # Test code for whether the C compiler supports C++98 (complete). |
| 3465 | ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} |
| 3466 | int |
| 3467 | main (int argc, char **argv) |
| 3468 | { |
| 3469 | int ok = 0; |
| 3470 | ${ac_cxx_conftest_cxx98_main} |
| 3471 | return ok; |
| 3472 | } |
| 3473 | " |
| 3474 | |
| 3475 | |
| 3476 | # Auxiliary files required by this configure script. |
| 3477 | ac_aux_files="ltmain.sh ar-lib missing install-sh compile config.guess config.sub" |
| 3478 | |
| 3479 | # Locations in which to look for auxiliary files. |
| 3480 | ac_aux_dir_candidates="${srcdir}/build-aux" |
| 3481 | |
| 3482 | # Search for a directory containing all of the required auxiliary files, |
| 3483 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 3484 | # If we don't find one directory that contains all the files we need, |
| 3485 | # we report the set of missing files from the *first* directory in |
| 3486 | # $ac_aux_dir_candidates and give up. |
| 3487 | ac_missing_aux_files="" |
| 3488 | ac_first_candidate=: |
| 3489 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 3490 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3491 | as_found=false |
| 3492 | for as_dir in $ac_aux_dir_candidates |
| 3493 | do |
| 3494 | IFS=$as_save_IFS |
| 3495 | case $as_dir in #((( |
| 3496 | '') as_dir=./ ;; |
| 3497 | */) ;; |
| 3498 | *) as_dir=$as_dir/ ;; |
| 3499 | esac |
| 3500 | as_found=: |
| 3501 | |
| 3502 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 3503 | ac_aux_dir_found=yes |
| 3504 | ac_install_sh= |
| 3505 | for ac_aux in $ac_aux_files |
| 3506 | do |
| 3507 | # As a special case, if "install-sh" is required, that requirement |
| 3508 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 3509 | # and $ac_install_sh is set appropriately for whichever one is found. |
| 3510 | if test x"$ac_aux" = x"install-sh" |
| 3511 | then |
| 3512 | if test -f "${as_dir}install-sh"; then |
| 3513 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 3514 | ac_install_sh="${as_dir}install-sh -c" |
| 3515 | elif test -f "${as_dir}install.sh"; then |
| 3516 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 3517 | ac_install_sh="${as_dir}install.sh -c" |
| 3518 | elif test -f "${as_dir}shtool"; then |
| 3519 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 3520 | ac_install_sh="${as_dir}shtool install -c" |
| 3521 | else |
| 3522 | ac_aux_dir_found=no |
| 3523 | if $ac_first_candidate; then |
| 3524 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 3525 | else |
| 3526 | break |
| 3527 | fi |
| 3528 | fi |
| 3529 | else |
| 3530 | if test -f "${as_dir}${ac_aux}"; then |
| 3531 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 3532 | else |
| 3533 | ac_aux_dir_found=no |
| 3534 | if $ac_first_candidate; then |
| 3535 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 3536 | else |
| 3537 | break |
| 3538 | fi |
| 3539 | fi |
| 3540 | fi |
| 3541 | done |
| 3542 | if test "$ac_aux_dir_found" = yes; then |
| 3543 | ac_aux_dir="$as_dir" |
| 3544 | break |
| 3545 | fi |
| 3546 | ac_first_candidate=false |
| 3547 | |
| 3548 | as_found=false |
| 3549 | done |
| 3550 | IFS=$as_save_IFS |
| 3551 | if $as_found |
| 3552 | then : |
| 3553 | |
| 3554 | else case e in #( |
| 3555 | e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; |
| 3556 | esac |
| 3557 | fi |
| 3558 | |
| 3559 | |
| 3560 | # These three variables are undocumented and unsupported, |
| 3561 | # and are intended to be withdrawn in a future Autoconf release. |
| 3562 | # They can cause serious problems if a builder's source tree is in a directory |
| 3563 | # whose full name contains unusual characters. |
| 3564 | if test -f "${ac_aux_dir}config.guess"; then |
| 3565 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 3566 | fi |
| 3567 | if test -f "${ac_aux_dir}config.sub"; then |
| 3568 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 3569 | fi |
| 3570 | if test -f "$ac_aux_dir/configure"; then |
| 3571 | ac_configure="$SHELL ${ac_aux_dir}configure" |
| 3572 | fi |
| 3573 | |
| 3574 | # Check that the precious variables saved in the cache have kept the same |
| 3575 | # value. |
| 3576 | ac_cache_corrupted=false |
| 3577 | for ac_var in $ac_precious_vars; do |
| 3578 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 3579 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 3580 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 3581 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 3582 | case $ac_old_set,$ac_new_set in |
| 3583 | set,) |
| 3584 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 |
| 3585 | printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} |
| 3586 | ac_cache_corrupted=: ;; |
| 3587 | ,set) |
| 3588 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 |
| 3589 | printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} |
| 3590 | ac_cache_corrupted=: ;; |
| 3591 | ,);; |
| 3592 | *) |
| 3593 | if test "x$ac_old_val" != "x$ac_new_val"; then |
| 3594 | # differences in whitespace do not lead to failure. |
| 3595 | ac_old_val_w=`echo x $ac_old_val` |
| 3596 | ac_new_val_w=`echo x $ac_new_val` |
| 3597 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 3598 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 |
| 3599 | printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} |
| 3600 | ac_cache_corrupted=: |
| 3601 | else |
| 3602 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 |
| 3603 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} |
| 3604 | eval $ac_var=\$ac_old_val |
| 3605 | fi |
| 3606 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 |
| 3607 | printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} |
| 3608 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 |
| 3609 | printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} |
| 3610 | fi;; |
| 3611 | esac |
| 3612 | # Pass precious variables to config.status. |
| 3613 | if test "$ac_new_set" = set; then |
| 3614 | case $ac_new_val in |
| 3615 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 3616 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 3617 | esac |
| 3618 | case " $ac_configure_args " in |
| 3619 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 3620 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 3621 | esac |
| 3622 | fi |
| 3623 | done |
| 3624 | if $ac_cache_corrupted; then |
| 3625 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 3626 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 3627 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 3628 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 3629 | as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' |
| 3630 | and start over" "$LINENO" 5 |
| 3631 | fi |
| 3632 | ## -------------------- ## |
| 3633 | ## Main body of script. ## |
| 3634 | ## -------------------- ## |
| 3635 | |
| 3636 | ac_ext=c |
| 3637 | ac_cpp='$CPP $CPPFLAGS' |
| 3638 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3639 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3640 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3641 | |
| 3642 | |
| 3643 | |
| 3644 | |
| 3645 | |
| 3646 | |
| 3647 | |
| 3648 | if test "x$srcdir" = x. && test "x$enable_build_in_source_tree" != xyes; then |
| 3649 | rm -rf config.log |
| 3650 | as_fn_error $? "Configuring and building TeX Live in the source tree |
| 3651 | is strongly discouraged. If you really want to do that, you must |
| 3652 | specify the configure option \`--enable-build-in-source-tree', but |
| 3653 | then do not ask for help -- you have been warned." "$LINENO" 5 |
| 3654 | fi |
| 3655 | |
| 3656 | |
| 3657 | |
| 3658 | |
| 3659 | # Make sure we can run config.sub. |
| 3660 | $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || |
| 3661 | as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 3662 | |
| 3663 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 3664 | printf %s "checking build system type... " >&6; } |
| 3665 | if test ${ac_cv_build+y} |
| 3666 | then : |
| 3667 | printf %s "(cached) " >&6 |
| 3668 | else case e in #( |
| 3669 | e) ac_build_alias=$build_alias |
| 3670 | test "x$ac_build_alias" = x && |
| 3671 | ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 3672 | test "x$ac_build_alias" = x && |
| 3673 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 3674 | ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 3675 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 3676 | ;; |
| 3677 | esac |
| 3678 | fi |
| 3679 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 3680 | printf "%s\n" "$ac_cv_build" >&6; } |
| 3681 | case $ac_cv_build in |
| 3682 | *-*-*) ;; |
| 3683 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 3684 | esac |
| 3685 | build=$ac_cv_build |
| 3686 | ac_save_IFS=$IFS; IFS='-' |
| 3687 | set x $ac_cv_build |
| 3688 | shift |
| 3689 | build_cpu=$1 |
| 3690 | build_vendor=$2 |
| 3691 | shift; shift |
| 3692 | # Remember, the first character of IFS is used to create $*, |
| 3693 | # except with old shells: |
| 3694 | build_os=$* |
| 3695 | IFS=$ac_save_IFS |
| 3696 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3697 | |
| 3698 | |
| 3699 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 3700 | printf %s "checking host system type... " >&6; } |
| 3701 | if test ${ac_cv_host+y} |
| 3702 | then : |
| 3703 | printf %s "(cached) " >&6 |
| 3704 | else case e in #( |
| 3705 | e) if test "x$host_alias" = x; then |
| 3706 | ac_cv_host=$ac_cv_build |
| 3707 | else |
| 3708 | ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 3709 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 3710 | fi |
| 3711 | ;; |
| 3712 | esac |
| 3713 | fi |
| 3714 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 3715 | printf "%s\n" "$ac_cv_host" >&6; } |
| 3716 | case $ac_cv_host in |
| 3717 | *-*-*) ;; |
| 3718 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 3719 | esac |
| 3720 | host=$ac_cv_host |
| 3721 | ac_save_IFS=$IFS; IFS='-' |
| 3722 | set x $ac_cv_host |
| 3723 | shift |
| 3724 | host_cpu=$1 |
| 3725 | host_vendor=$2 |
| 3726 | shift; shift |
| 3727 | # Remember, the first character of IFS is used to create $*, |
| 3728 | # except with old shells: |
| 3729 | host_os=$* |
| 3730 | IFS=$ac_save_IFS |
| 3731 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 3732 | |
| 3733 | |
| 3734 | # Check whether --enable-missing was given. |
| 3735 | if test ${enable_missing+y} |
| 3736 | then : |
| 3737 | enableval=$enable_missing; |
| 3738 | fi |
| 3739 | |
| 3740 | |
| 3741 | |
| 3742 | |
| 3743 | |
| 3744 | |
| 3745 | |
| 3746 | |
| 3747 | |
| 3748 | |
| 3749 | |
| 3750 | # Expand $ac_aux_dir to an absolute path. |
| 3751 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 3752 | |
| 3753 | ac_ext=c |
| 3754 | ac_cpp='$CPP $CPPFLAGS' |
| 3755 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3756 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3757 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3758 | if test -n "$ac_tool_prefix"; then |
| 3759 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3760 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3761 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3762 | printf %s "checking for $ac_word... " >&6; } |
| 3763 | if test ${ac_cv_prog_CC+y} |
| 3764 | then : |
| 3765 | printf %s "(cached) " >&6 |
| 3766 | else case e in #( |
| 3767 | e) if test -n "$CC"; then |
| 3768 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3769 | else |
| 3770 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3771 | for as_dir in $PATH |
| 3772 | do |
| 3773 | IFS=$as_save_IFS |
| 3774 | case $as_dir in #((( |
| 3775 | '') as_dir=./ ;; |
| 3776 | */) ;; |
| 3777 | *) as_dir=$as_dir/ ;; |
| 3778 | esac |
| 3779 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3780 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3781 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3782 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3783 | break 2 |
| 3784 | fi |
| 3785 | done |
| 3786 | done |
| 3787 | IFS=$as_save_IFS |
| 3788 | |
| 3789 | fi ;; |
| 3790 | esac |
| 3791 | fi |
| 3792 | CC=$ac_cv_prog_CC |
| 3793 | if test -n "$CC"; then |
| 3794 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3795 | printf "%s\n" "$CC" >&6; } |
| 3796 | else |
| 3797 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3798 | printf "%s\n" "no" >&6; } |
| 3799 | fi |
| 3800 | |
| 3801 | |
| 3802 | fi |
| 3803 | if test -z "$ac_cv_prog_CC"; then |
| 3804 | ac_ct_CC=$CC |
| 3805 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3806 | set dummy gcc; ac_word=$2 |
| 3807 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3808 | printf %s "checking for $ac_word... " >&6; } |
| 3809 | if test ${ac_cv_prog_ac_ct_CC+y} |
| 3810 | then : |
| 3811 | printf %s "(cached) " >&6 |
| 3812 | else case e in #( |
| 3813 | e) if test -n "$ac_ct_CC"; then |
| 3814 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3815 | else |
| 3816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3817 | for as_dir in $PATH |
| 3818 | do |
| 3819 | IFS=$as_save_IFS |
| 3820 | case $as_dir in #((( |
| 3821 | '') as_dir=./ ;; |
| 3822 | */) ;; |
| 3823 | *) as_dir=$as_dir/ ;; |
| 3824 | esac |
| 3825 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3826 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3827 | ac_cv_prog_ac_ct_CC="gcc" |
| 3828 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3829 | break 2 |
| 3830 | fi |
| 3831 | done |
| 3832 | done |
| 3833 | IFS=$as_save_IFS |
| 3834 | |
| 3835 | fi ;; |
| 3836 | esac |
| 3837 | fi |
| 3838 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3839 | if test -n "$ac_ct_CC"; then |
| 3840 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3841 | printf "%s\n" "$ac_ct_CC" >&6; } |
| 3842 | else |
| 3843 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3844 | printf "%s\n" "no" >&6; } |
| 3845 | fi |
| 3846 | |
| 3847 | if test "x$ac_ct_CC" = x; then |
| 3848 | CC="" |
| 3849 | else |
| 3850 | case $cross_compiling:$ac_tool_warned in |
| 3851 | yes:) |
| 3852 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3853 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3854 | ac_tool_warned=yes ;; |
| 3855 | esac |
| 3856 | CC=$ac_ct_CC |
| 3857 | fi |
| 3858 | else |
| 3859 | CC="$ac_cv_prog_CC" |
| 3860 | fi |
| 3861 | |
| 3862 | if test -z "$CC"; then |
| 3863 | if test -n "$ac_tool_prefix"; then |
| 3864 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3865 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3866 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3867 | printf %s "checking for $ac_word... " >&6; } |
| 3868 | if test ${ac_cv_prog_CC+y} |
| 3869 | then : |
| 3870 | printf %s "(cached) " >&6 |
| 3871 | else case e in #( |
| 3872 | e) if test -n "$CC"; then |
| 3873 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3874 | else |
| 3875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3876 | for as_dir in $PATH |
| 3877 | do |
| 3878 | IFS=$as_save_IFS |
| 3879 | case $as_dir in #((( |
| 3880 | '') as_dir=./ ;; |
| 3881 | */) ;; |
| 3882 | *) as_dir=$as_dir/ ;; |
| 3883 | esac |
| 3884 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3885 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3886 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3887 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3888 | break 2 |
| 3889 | fi |
| 3890 | done |
| 3891 | done |
| 3892 | IFS=$as_save_IFS |
| 3893 | |
| 3894 | fi ;; |
| 3895 | esac |
| 3896 | fi |
| 3897 | CC=$ac_cv_prog_CC |
| 3898 | if test -n "$CC"; then |
| 3899 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3900 | printf "%s\n" "$CC" >&6; } |
| 3901 | else |
| 3902 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3903 | printf "%s\n" "no" >&6; } |
| 3904 | fi |
| 3905 | |
| 3906 | |
| 3907 | fi |
| 3908 | fi |
| 3909 | if test -z "$CC"; then |
| 3910 | # Extract the first word of "cc", so it can be a program name with args. |
| 3911 | set dummy cc; ac_word=$2 |
| 3912 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3913 | printf %s "checking for $ac_word... " >&6; } |
| 3914 | if test ${ac_cv_prog_CC+y} |
| 3915 | then : |
| 3916 | printf %s "(cached) " >&6 |
| 3917 | else case e in #( |
| 3918 | e) if test -n "$CC"; then |
| 3919 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3920 | else |
| 3921 | ac_prog_rejected=no |
| 3922 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3923 | for as_dir in $PATH |
| 3924 | do |
| 3925 | IFS=$as_save_IFS |
| 3926 | case $as_dir in #((( |
| 3927 | '') as_dir=./ ;; |
| 3928 | */) ;; |
| 3929 | *) as_dir=$as_dir/ ;; |
| 3930 | esac |
| 3931 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3932 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3933 | if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3934 | ac_prog_rejected=yes |
| 3935 | continue |
| 3936 | fi |
| 3937 | ac_cv_prog_CC="cc" |
| 3938 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3939 | break 2 |
| 3940 | fi |
| 3941 | done |
| 3942 | done |
| 3943 | IFS=$as_save_IFS |
| 3944 | |
| 3945 | if test $ac_prog_rejected = yes; then |
| 3946 | # We found a bogon in the path, so make sure we never use it. |
| 3947 | set dummy $ac_cv_prog_CC |
| 3948 | shift |
| 3949 | if test $# != 0; then |
| 3950 | # We chose a different compiler from the bogus one. |
| 3951 | # However, it has the same basename, so the bogon will be chosen |
| 3952 | # first if we set CC to just the basename; use the full file name. |
| 3953 | shift |
| 3954 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 3955 | fi |
| 3956 | fi |
| 3957 | fi ;; |
| 3958 | esac |
| 3959 | fi |
| 3960 | CC=$ac_cv_prog_CC |
| 3961 | if test -n "$CC"; then |
| 3962 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3963 | printf "%s\n" "$CC" >&6; } |
| 3964 | else |
| 3965 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3966 | printf "%s\n" "no" >&6; } |
| 3967 | fi |
| 3968 | |
| 3969 | |
| 3970 | fi |
| 3971 | if test -z "$CC"; then |
| 3972 | if test -n "$ac_tool_prefix"; then |
| 3973 | for ac_prog in cl.exe |
| 3974 | do |
| 3975 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3976 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3977 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3978 | printf %s "checking for $ac_word... " >&6; } |
| 3979 | if test ${ac_cv_prog_CC+y} |
| 3980 | then : |
| 3981 | printf %s "(cached) " >&6 |
| 3982 | else case e in #( |
| 3983 | e) if test -n "$CC"; then |
| 3984 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3985 | else |
| 3986 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3987 | for as_dir in $PATH |
| 3988 | do |
| 3989 | IFS=$as_save_IFS |
| 3990 | case $as_dir in #((( |
| 3991 | '') as_dir=./ ;; |
| 3992 | */) ;; |
| 3993 | *) as_dir=$as_dir/ ;; |
| 3994 | esac |
| 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_CC="$ac_tool_prefix$ac_prog" |
| 3998 | printf "%s\n" "$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 | esac |
| 4007 | fi |
| 4008 | CC=$ac_cv_prog_CC |
| 4009 | if test -n "$CC"; then |
| 4010 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4011 | printf "%s\n" "$CC" >&6; } |
| 4012 | else |
| 4013 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4014 | printf "%s\n" "no" >&6; } |
| 4015 | fi |
| 4016 | |
| 4017 | |
| 4018 | test -n "$CC" && break |
| 4019 | done |
| 4020 | fi |
| 4021 | if test -z "$CC"; then |
| 4022 | ac_ct_CC=$CC |
| 4023 | for ac_prog in cl.exe |
| 4024 | do |
| 4025 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4026 | set dummy $ac_prog; ac_word=$2 |
| 4027 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4028 | printf %s "checking for $ac_word... " >&6; } |
| 4029 | if test ${ac_cv_prog_ac_ct_CC+y} |
| 4030 | then : |
| 4031 | printf %s "(cached) " >&6 |
| 4032 | else case e in #( |
| 4033 | e) if test -n "$ac_ct_CC"; then |
| 4034 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4035 | else |
| 4036 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4037 | for as_dir in $PATH |
| 4038 | do |
| 4039 | IFS=$as_save_IFS |
| 4040 | case $as_dir in #((( |
| 4041 | '') as_dir=./ ;; |
| 4042 | */) ;; |
| 4043 | *) as_dir=$as_dir/ ;; |
| 4044 | esac |
| 4045 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4046 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4047 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 4048 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4049 | break 2 |
| 4050 | fi |
| 4051 | done |
| 4052 | done |
| 4053 | IFS=$as_save_IFS |
| 4054 | |
| 4055 | fi ;; |
| 4056 | esac |
| 4057 | fi |
| 4058 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4059 | if test -n "$ac_ct_CC"; then |
| 4060 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4061 | printf "%s\n" "$ac_ct_CC" >&6; } |
| 4062 | else |
| 4063 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4064 | printf "%s\n" "no" >&6; } |
| 4065 | fi |
| 4066 | |
| 4067 | |
| 4068 | test -n "$ac_ct_CC" && break |
| 4069 | done |
| 4070 | |
| 4071 | if test "x$ac_ct_CC" = x; then |
| 4072 | CC="" |
| 4073 | else |
| 4074 | case $cross_compiling:$ac_tool_warned in |
| 4075 | yes:) |
| 4076 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4077 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4078 | ac_tool_warned=yes ;; |
| 4079 | esac |
| 4080 | CC=$ac_ct_CC |
| 4081 | fi |
| 4082 | fi |
| 4083 | |
| 4084 | fi |
| 4085 | if test -z "$CC"; then |
| 4086 | if test -n "$ac_tool_prefix"; then |
| 4087 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 4088 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 4089 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4090 | printf %s "checking for $ac_word... " >&6; } |
| 4091 | if test ${ac_cv_prog_CC+y} |
| 4092 | then : |
| 4093 | printf %s "(cached) " >&6 |
| 4094 | else case e in #( |
| 4095 | e) if test -n "$CC"; then |
| 4096 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4097 | else |
| 4098 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4099 | for as_dir in $PATH |
| 4100 | do |
| 4101 | IFS=$as_save_IFS |
| 4102 | case $as_dir in #((( |
| 4103 | '') as_dir=./ ;; |
| 4104 | */) ;; |
| 4105 | *) as_dir=$as_dir/ ;; |
| 4106 | esac |
| 4107 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4108 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4109 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 4110 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4111 | break 2 |
| 4112 | fi |
| 4113 | done |
| 4114 | done |
| 4115 | IFS=$as_save_IFS |
| 4116 | |
| 4117 | fi ;; |
| 4118 | esac |
| 4119 | fi |
| 4120 | CC=$ac_cv_prog_CC |
| 4121 | if test -n "$CC"; then |
| 4122 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4123 | printf "%s\n" "$CC" >&6; } |
| 4124 | else |
| 4125 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4126 | printf "%s\n" "no" >&6; } |
| 4127 | fi |
| 4128 | |
| 4129 | |
| 4130 | fi |
| 4131 | if test -z "$ac_cv_prog_CC"; then |
| 4132 | ac_ct_CC=$CC |
| 4133 | # Extract the first word of "clang", so it can be a program name with args. |
| 4134 | set dummy clang; ac_word=$2 |
| 4135 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4136 | printf %s "checking for $ac_word... " >&6; } |
| 4137 | if test ${ac_cv_prog_ac_ct_CC+y} |
| 4138 | then : |
| 4139 | printf %s "(cached) " >&6 |
| 4140 | else case e in #( |
| 4141 | e) if test -n "$ac_ct_CC"; then |
| 4142 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4143 | else |
| 4144 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4145 | for as_dir in $PATH |
| 4146 | do |
| 4147 | IFS=$as_save_IFS |
| 4148 | case $as_dir in #((( |
| 4149 | '') as_dir=./ ;; |
| 4150 | */) ;; |
| 4151 | *) as_dir=$as_dir/ ;; |
| 4152 | esac |
| 4153 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4154 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4155 | ac_cv_prog_ac_ct_CC="clang" |
| 4156 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4157 | break 2 |
| 4158 | fi |
| 4159 | done |
| 4160 | done |
| 4161 | IFS=$as_save_IFS |
| 4162 | |
| 4163 | fi ;; |
| 4164 | esac |
| 4165 | fi |
| 4166 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4167 | if test -n "$ac_ct_CC"; then |
| 4168 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4169 | printf "%s\n" "$ac_ct_CC" >&6; } |
| 4170 | else |
| 4171 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4172 | printf "%s\n" "no" >&6; } |
| 4173 | fi |
| 4174 | |
| 4175 | if test "x$ac_ct_CC" = x; then |
| 4176 | CC="" |
| 4177 | else |
| 4178 | case $cross_compiling:$ac_tool_warned in |
| 4179 | yes:) |
| 4180 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4181 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4182 | ac_tool_warned=yes ;; |
| 4183 | esac |
| 4184 | CC=$ac_ct_CC |
| 4185 | fi |
| 4186 | else |
| 4187 | CC="$ac_cv_prog_CC" |
| 4188 | fi |
| 4189 | |
| 4190 | fi |
| 4191 | |
| 4192 | |
| 4193 | test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4194 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4195 | as_fn_error $? "no acceptable C compiler found in \$PATH |
| 4196 | See 'config.log' for more details" "$LINENO" 5; } |
| 4197 | |
| 4198 | # Provide some information about the compiler. |
| 4199 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 4200 | set X $ac_compile |
| 4201 | ac_compiler=$2 |
| 4202 | for ac_option in --version -v -V -qversion -version; do |
| 4203 | { { ac_try="$ac_compiler $ac_option >&5" |
| 4204 | case "(($ac_try" in |
| 4205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4206 | *) ac_try_echo=$ac_try;; |
| 4207 | esac |
| 4208 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4209 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4210 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4211 | ac_status=$? |
| 4212 | if test -s conftest.err; then |
| 4213 | sed '10a\ |
| 4214 | ... rest of stderr output deleted ... |
| 4215 | 10q' conftest.err >conftest.er1 |
| 4216 | cat conftest.er1 >&5 |
| 4217 | fi |
| 4218 | rm -f conftest.er1 conftest.err |
| 4219 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4220 | test $ac_status = 0; } |
| 4221 | done |
| 4222 | |
| 4223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4224 | /* end confdefs.h. */ |
| 4225 | |
| 4226 | int |
| 4227 | main (void) |
| 4228 | { |
| 4229 | |
| 4230 | ; |
| 4231 | return 0; |
| 4232 | } |
| 4233 | _ACEOF |
| 4234 | ac_clean_files_save=$ac_clean_files |
| 4235 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 4236 | # Try to create an executable without -o first, disregard a.out. |
| 4237 | # It will help us diagnose broken compilers, and finding out an intuition |
| 4238 | # of exeext. |
| 4239 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 4240 | printf %s "checking whether the C compiler works... " >&6; } |
| 4241 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 4242 | |
| 4243 | # The possible output files: |
| 4244 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 4245 | |
| 4246 | ac_rmfiles= |
| 4247 | for ac_file in $ac_files |
| 4248 | do |
| 4249 | case $ac_file in |
| 4250 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4251 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 4252 | esac |
| 4253 | done |
| 4254 | rm -f $ac_rmfiles |
| 4255 | |
| 4256 | if { { ac_try="$ac_link_default" |
| 4257 | case "(($ac_try" in |
| 4258 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4259 | *) ac_try_echo=$ac_try;; |
| 4260 | esac |
| 4261 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4262 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4263 | (eval "$ac_link_default") 2>&5 |
| 4264 | ac_status=$? |
| 4265 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4266 | test $ac_status = 0; } |
| 4267 | then : |
| 4268 | # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. |
| 4269 | # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' |
| 4270 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 4271 | # so that the user can short-circuit this test for compilers unknown to |
| 4272 | # Autoconf. |
| 4273 | for ac_file in $ac_files '' |
| 4274 | do |
| 4275 | test -f "$ac_file" || continue |
| 4276 | case $ac_file in |
| 4277 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 4278 | ;; |
| 4279 | [ab].out ) |
| 4280 | # We found the default executable, but exeext='' is most |
| 4281 | # certainly right. |
| 4282 | break;; |
| 4283 | *.* ) |
| 4284 | if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
| 4285 | then :; else |
| 4286 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4287 | fi |
| 4288 | # We set ac_cv_exeext here because the later test for it is not |
| 4289 | # safe: cross compilers may not add the suffix if given an '-o' |
| 4290 | # argument, so we may need to know it at that point already. |
| 4291 | # Even if this section looks crufty: it has the advantage of |
| 4292 | # actually working. |
| 4293 | break;; |
| 4294 | * ) |
| 4295 | break;; |
| 4296 | esac |
| 4297 | done |
| 4298 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 4299 | |
| 4300 | else case e in #( |
| 4301 | e) ac_file='' ;; |
| 4302 | esac |
| 4303 | fi |
| 4304 | if test -z "$ac_file" |
| 4305 | then : |
| 4306 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4307 | printf "%s\n" "no" >&6; } |
| 4308 | printf "%s\n" "$as_me: failed program was:" >&5 |
| 4309 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4310 | |
| 4311 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4312 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4313 | as_fn_error 77 "C compiler cannot create executables |
| 4314 | See 'config.log' for more details" "$LINENO" 5; } |
| 4315 | else case e in #( |
| 4316 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4317 | printf "%s\n" "yes" >&6; } ;; |
| 4318 | esac |
| 4319 | fi |
| 4320 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 4321 | printf %s "checking for C compiler default output file name... " >&6; } |
| 4322 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 4323 | printf "%s\n" "$ac_file" >&6; } |
| 4324 | ac_exeext=$ac_cv_exeext |
| 4325 | |
| 4326 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 4327 | ac_clean_files=$ac_clean_files_save |
| 4328 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 4329 | printf %s "checking for suffix of executables... " >&6; } |
| 4330 | if { { ac_try="$ac_link" |
| 4331 | case "(($ac_try" in |
| 4332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4333 | *) ac_try_echo=$ac_try;; |
| 4334 | esac |
| 4335 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4336 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4337 | (eval "$ac_link") 2>&5 |
| 4338 | ac_status=$? |
| 4339 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4340 | test $ac_status = 0; } |
| 4341 | then : |
| 4342 | # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) |
| 4343 | # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will |
| 4344 | # work properly (i.e., refer to 'conftest.exe'), while it won't with |
| 4345 | # 'rm'. |
| 4346 | for ac_file in conftest.exe conftest conftest.*; do |
| 4347 | test -f "$ac_file" || continue |
| 4348 | case $ac_file in |
| 4349 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4350 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4351 | break;; |
| 4352 | * ) break;; |
| 4353 | esac |
| 4354 | done |
| 4355 | else case e in #( |
| 4356 | e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4357 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4358 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 4359 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4360 | esac |
| 4361 | fi |
| 4362 | rm -f conftest conftest$ac_cv_exeext |
| 4363 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 4364 | printf "%s\n" "$ac_cv_exeext" >&6; } |
| 4365 | |
| 4366 | rm -f conftest.$ac_ext |
| 4367 | EXEEXT=$ac_cv_exeext |
| 4368 | ac_exeext=$EXEEXT |
| 4369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4370 | /* end confdefs.h. */ |
| 4371 | #include <stdio.h> |
| 4372 | int |
| 4373 | main (void) |
| 4374 | { |
| 4375 | FILE *f = fopen ("conftest.out", "w"); |
| 4376 | if (!f) |
| 4377 | return 1; |
| 4378 | return ferror (f) || fclose (f) != 0; |
| 4379 | |
| 4380 | ; |
| 4381 | return 0; |
| 4382 | } |
| 4383 | _ACEOF |
| 4384 | ac_clean_files="$ac_clean_files conftest.out" |
| 4385 | # Check that the compiler produces executables we can run. If not, either |
| 4386 | # the compiler is broken, or we cross compile. |
| 4387 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4388 | printf %s "checking whether we are cross compiling... " >&6; } |
| 4389 | if test "$cross_compiling" != yes; then |
| 4390 | { { ac_try="$ac_link" |
| 4391 | case "(($ac_try" in |
| 4392 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4393 | *) ac_try_echo=$ac_try;; |
| 4394 | esac |
| 4395 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4396 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4397 | (eval "$ac_link") 2>&5 |
| 4398 | ac_status=$? |
| 4399 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4400 | test $ac_status = 0; } |
| 4401 | if { ac_try='./conftest$ac_cv_exeext' |
| 4402 | { { case "(($ac_try" in |
| 4403 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4404 | *) ac_try_echo=$ac_try;; |
| 4405 | esac |
| 4406 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4407 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4408 | (eval "$ac_try") 2>&5 |
| 4409 | ac_status=$? |
| 4410 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4411 | test $ac_status = 0; }; }; then |
| 4412 | cross_compiling=no |
| 4413 | else |
| 4414 | if test "$cross_compiling" = maybe; then |
| 4415 | cross_compiling=yes |
| 4416 | else |
| 4417 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4418 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4419 | as_fn_error 77 "cannot run C compiled programs. |
| 4420 | If you meant to cross compile, use '--host'. |
| 4421 | See 'config.log' for more details" "$LINENO" 5; } |
| 4422 | fi |
| 4423 | fi |
| 4424 | fi |
| 4425 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4426 | printf "%s\n" "$cross_compiling" >&6; } |
| 4427 | |
| 4428 | rm -f conftest.$ac_ext conftest$ac_cv_exeext \ |
| 4429 | conftest.o conftest.obj conftest.out |
| 4430 | ac_clean_files=$ac_clean_files_save |
| 4431 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4432 | printf %s "checking for suffix of object files... " >&6; } |
| 4433 | if test ${ac_cv_objext+y} |
| 4434 | then : |
| 4435 | printf %s "(cached) " >&6 |
| 4436 | else case e in #( |
| 4437 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4438 | /* end confdefs.h. */ |
| 4439 | |
| 4440 | int |
| 4441 | main (void) |
| 4442 | { |
| 4443 | |
| 4444 | ; |
| 4445 | return 0; |
| 4446 | } |
| 4447 | _ACEOF |
| 4448 | rm -f conftest.o conftest.obj |
| 4449 | if { { ac_try="$ac_compile" |
| 4450 | case "(($ac_try" in |
| 4451 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4452 | *) ac_try_echo=$ac_try;; |
| 4453 | esac |
| 4454 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4455 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 4456 | (eval "$ac_compile") 2>&5 |
| 4457 | ac_status=$? |
| 4458 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4459 | test $ac_status = 0; } |
| 4460 | then : |
| 4461 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 4462 | test -f "$ac_file" || continue; |
| 4463 | case $ac_file in |
| 4464 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 4465 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 4466 | break;; |
| 4467 | esac |
| 4468 | done |
| 4469 | else case e in #( |
| 4470 | e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 4471 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4472 | |
| 4473 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4474 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4475 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 4476 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4477 | esac |
| 4478 | fi |
| 4479 | rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; |
| 4480 | esac |
| 4481 | fi |
| 4482 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4483 | printf "%s\n" "$ac_cv_objext" >&6; } |
| 4484 | OBJEXT=$ac_cv_objext |
| 4485 | ac_objext=$OBJEXT |
| 4486 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 4487 | printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 4488 | if test ${ac_cv_c_compiler_gnu+y} |
| 4489 | then : |
| 4490 | printf %s "(cached) " >&6 |
| 4491 | else case e in #( |
| 4492 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4493 | /* end confdefs.h. */ |
| 4494 | |
| 4495 | int |
| 4496 | main (void) |
| 4497 | { |
| 4498 | #ifndef __GNUC__ |
| 4499 | choke me |
| 4500 | #endif |
| 4501 | |
| 4502 | ; |
| 4503 | return 0; |
| 4504 | } |
| 4505 | _ACEOF |
| 4506 | if ac_fn_c_try_compile "$LINENO" |
| 4507 | then : |
| 4508 | ac_compiler_gnu=yes |
| 4509 | else case e in #( |
| 4510 | e) ac_compiler_gnu=no ;; |
| 4511 | esac |
| 4512 | fi |
| 4513 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4514 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4515 | ;; |
| 4516 | esac |
| 4517 | fi |
| 4518 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4519 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 4520 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4521 | |
| 4522 | if test $ac_compiler_gnu = yes; then |
| 4523 | GCC=yes |
| 4524 | else |
| 4525 | GCC= |
| 4526 | fi |
| 4527 | ac_test_CFLAGS=${CFLAGS+y} |
| 4528 | ac_save_CFLAGS=$CFLAGS |
| 4529 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4530 | printf %s "checking whether $CC accepts -g... " >&6; } |
| 4531 | if test ${ac_cv_prog_cc_g+y} |
| 4532 | then : |
| 4533 | printf %s "(cached) " >&6 |
| 4534 | else case e in #( |
| 4535 | e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 4536 | ac_c_werror_flag=yes |
| 4537 | ac_cv_prog_cc_g=no |
| 4538 | CFLAGS="-g" |
| 4539 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4540 | /* end confdefs.h. */ |
| 4541 | |
| 4542 | int |
| 4543 | main (void) |
| 4544 | { |
| 4545 | |
| 4546 | ; |
| 4547 | return 0; |
| 4548 | } |
| 4549 | _ACEOF |
| 4550 | if ac_fn_c_try_compile "$LINENO" |
| 4551 | then : |
| 4552 | ac_cv_prog_cc_g=yes |
| 4553 | else case e in #( |
| 4554 | e) CFLAGS="" |
| 4555 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4556 | /* end confdefs.h. */ |
| 4557 | |
| 4558 | int |
| 4559 | main (void) |
| 4560 | { |
| 4561 | |
| 4562 | ; |
| 4563 | return 0; |
| 4564 | } |
| 4565 | _ACEOF |
| 4566 | if ac_fn_c_try_compile "$LINENO" |
| 4567 | then : |
| 4568 | |
| 4569 | else case e in #( |
| 4570 | e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 4571 | CFLAGS="-g" |
| 4572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4573 | /* end confdefs.h. */ |
| 4574 | |
| 4575 | int |
| 4576 | main (void) |
| 4577 | { |
| 4578 | |
| 4579 | ; |
| 4580 | return 0; |
| 4581 | } |
| 4582 | _ACEOF |
| 4583 | if ac_fn_c_try_compile "$LINENO" |
| 4584 | then : |
| 4585 | ac_cv_prog_cc_g=yes |
| 4586 | fi |
| 4587 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4588 | esac |
| 4589 | fi |
| 4590 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4591 | esac |
| 4592 | fi |
| 4593 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4594 | ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 4595 | esac |
| 4596 | fi |
| 4597 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4598 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 4599 | if test $ac_test_CFLAGS; then |
| 4600 | CFLAGS=$ac_save_CFLAGS |
| 4601 | elif test $ac_cv_prog_cc_g = yes; then |
| 4602 | if test "$GCC" = yes; then |
| 4603 | CFLAGS="-g -O2" |
| 4604 | else |
| 4605 | CFLAGS="-g" |
| 4606 | fi |
| 4607 | else |
| 4608 | if test "$GCC" = yes; then |
| 4609 | CFLAGS="-O2" |
| 4610 | else |
| 4611 | CFLAGS= |
| 4612 | fi |
| 4613 | fi |
| 4614 | ac_prog_cc_stdc=no |
| 4615 | if test x$ac_prog_cc_stdc = xno |
| 4616 | then : |
| 4617 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 4618 | printf %s "checking for $CC option to enable C11 features... " >&6; } |
| 4619 | if test ${ac_cv_prog_cc_c11+y} |
| 4620 | then : |
| 4621 | printf %s "(cached) " >&6 |
| 4622 | else case e in #( |
| 4623 | e) ac_cv_prog_cc_c11=no |
| 4624 | ac_save_CC=$CC |
| 4625 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4626 | /* end confdefs.h. */ |
| 4627 | $ac_c_conftest_c11_program |
| 4628 | _ACEOF |
| 4629 | for ac_arg in '' -std=gnu11 |
| 4630 | do |
| 4631 | CC="$ac_save_CC $ac_arg" |
| 4632 | if ac_fn_c_try_compile "$LINENO" |
| 4633 | then : |
| 4634 | ac_cv_prog_cc_c11=$ac_arg |
| 4635 | fi |
| 4636 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4637 | test "x$ac_cv_prog_cc_c11" != "xno" && break |
| 4638 | done |
| 4639 | rm -f conftest.$ac_ext |
| 4640 | CC=$ac_save_CC ;; |
| 4641 | esac |
| 4642 | fi |
| 4643 | |
| 4644 | if test "x$ac_cv_prog_cc_c11" = xno |
| 4645 | then : |
| 4646 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4647 | printf "%s\n" "unsupported" >&6; } |
| 4648 | else case e in #( |
| 4649 | e) if test "x$ac_cv_prog_cc_c11" = x |
| 4650 | then : |
| 4651 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4652 | printf "%s\n" "none needed" >&6; } |
| 4653 | else case e in #( |
| 4654 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 4655 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 4656 | CC="$CC $ac_cv_prog_cc_c11" ;; |
| 4657 | esac |
| 4658 | fi |
| 4659 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 4660 | ac_prog_cc_stdc=c11 ;; |
| 4661 | esac |
| 4662 | fi |
| 4663 | fi |
| 4664 | if test x$ac_prog_cc_stdc = xno |
| 4665 | then : |
| 4666 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 4667 | printf %s "checking for $CC option to enable C99 features... " >&6; } |
| 4668 | if test ${ac_cv_prog_cc_c99+y} |
| 4669 | then : |
| 4670 | printf %s "(cached) " >&6 |
| 4671 | else case e in #( |
| 4672 | e) ac_cv_prog_cc_c99=no |
| 4673 | ac_save_CC=$CC |
| 4674 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4675 | /* end confdefs.h. */ |
| 4676 | $ac_c_conftest_c99_program |
| 4677 | _ACEOF |
| 4678 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 4679 | do |
| 4680 | CC="$ac_save_CC $ac_arg" |
| 4681 | if ac_fn_c_try_compile "$LINENO" |
| 4682 | then : |
| 4683 | ac_cv_prog_cc_c99=$ac_arg |
| 4684 | fi |
| 4685 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4686 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4687 | done |
| 4688 | rm -f conftest.$ac_ext |
| 4689 | CC=$ac_save_CC ;; |
| 4690 | esac |
| 4691 | fi |
| 4692 | |
| 4693 | if test "x$ac_cv_prog_cc_c99" = xno |
| 4694 | then : |
| 4695 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4696 | printf "%s\n" "unsupported" >&6; } |
| 4697 | else case e in #( |
| 4698 | e) if test "x$ac_cv_prog_cc_c99" = x |
| 4699 | then : |
| 4700 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4701 | printf "%s\n" "none needed" >&6; } |
| 4702 | else case e in #( |
| 4703 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4704 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 4705 | CC="$CC $ac_cv_prog_cc_c99" ;; |
| 4706 | esac |
| 4707 | fi |
| 4708 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 4709 | ac_prog_cc_stdc=c99 ;; |
| 4710 | esac |
| 4711 | fi |
| 4712 | fi |
| 4713 | if test x$ac_prog_cc_stdc = xno |
| 4714 | then : |
| 4715 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 4716 | printf %s "checking for $CC option to enable C89 features... " >&6; } |
| 4717 | if test ${ac_cv_prog_cc_c89+y} |
| 4718 | then : |
| 4719 | printf %s "(cached) " >&6 |
| 4720 | else case e in #( |
| 4721 | e) ac_cv_prog_cc_c89=no |
| 4722 | ac_save_CC=$CC |
| 4723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4724 | /* end confdefs.h. */ |
| 4725 | $ac_c_conftest_c89_program |
| 4726 | _ACEOF |
| 4727 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4728 | do |
| 4729 | CC="$ac_save_CC $ac_arg" |
| 4730 | if ac_fn_c_try_compile "$LINENO" |
| 4731 | then : |
| 4732 | ac_cv_prog_cc_c89=$ac_arg |
| 4733 | fi |
| 4734 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4735 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4736 | done |
| 4737 | rm -f conftest.$ac_ext |
| 4738 | CC=$ac_save_CC ;; |
| 4739 | esac |
| 4740 | fi |
| 4741 | |
| 4742 | if test "x$ac_cv_prog_cc_c89" = xno |
| 4743 | then : |
| 4744 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4745 | printf "%s\n" "unsupported" >&6; } |
| 4746 | else case e in #( |
| 4747 | e) if test "x$ac_cv_prog_cc_c89" = x |
| 4748 | then : |
| 4749 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4750 | printf "%s\n" "none needed" >&6; } |
| 4751 | else case e in #( |
| 4752 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4753 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 4754 | CC="$CC $ac_cv_prog_cc_c89" ;; |
| 4755 | esac |
| 4756 | fi |
| 4757 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 4758 | ac_prog_cc_stdc=c89 ;; |
| 4759 | esac |
| 4760 | fi |
| 4761 | fi |
| 4762 | |
| 4763 | ac_ext=c |
| 4764 | ac_cpp='$CPP $CPPFLAGS' |
| 4765 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4766 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4767 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4768 | |
| 4769 | |
| 4770 | ac_ext=c |
| 4771 | ac_cpp='$CPP $CPPFLAGS' |
| 4772 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4773 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4774 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4775 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4776 | printf %s "checking whether $CC understands -c and -o together... " >&6; } |
| 4777 | if test ${am_cv_prog_cc_c_o+y} |
| 4778 | then : |
| 4779 | printf %s "(cached) " >&6 |
| 4780 | else case e in #( |
| 4781 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4782 | /* end confdefs.h. */ |
| 4783 | |
| 4784 | int |
| 4785 | main (void) |
| 4786 | { |
| 4787 | |
| 4788 | ; |
| 4789 | return 0; |
| 4790 | } |
| 4791 | _ACEOF |
| 4792 | # Make sure it works both with $CC and with simple cc. |
| 4793 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 4794 | # compilers refuse to overwrite an existing .o file with -o, |
| 4795 | # though they will create one. |
| 4796 | am_cv_prog_cc_c_o=yes |
| 4797 | for am_i in 1 2; do |
| 4798 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 4799 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 4800 | ac_status=$? |
| 4801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4802 | (exit $ac_status); } \ |
| 4803 | && test -f conftest2.$ac_objext; then |
| 4804 | : OK |
| 4805 | else |
| 4806 | am_cv_prog_cc_c_o=no |
| 4807 | break |
| 4808 | fi |
| 4809 | done |
| 4810 | # aligned with autoconf, so not including core; see bug#72225. |
| 4811 | rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \ |
| 4812 | conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \ |
| 4813 | conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM |
| 4814 | unset am_i ;; |
| 4815 | esac |
| 4816 | fi |
| 4817 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4818 | printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 4819 | if test "$am_cv_prog_cc_c_o" != yes; then |
| 4820 | # Losing compiler, so override with the script. |
| 4821 | # FIXME: It is wrong to rewrite CC. |
| 4822 | # But if we don't then we get into trouble of one sort or another. |
| 4823 | # A longer-term fix would be to have automake use am__CC in this case, |
| 4824 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4825 | CC="$am_aux_dir/compile $CC" |
| 4826 | fi |
| 4827 | ac_ext=c |
| 4828 | ac_cpp='$CPP $CPPFLAGS' |
| 4829 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4830 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4831 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4832 | |
| 4833 | |
| 4834 | |
| 4835 | ac_header= ac_cache= |
| 4836 | for ac_item in $ac_header_c_list |
| 4837 | do |
| 4838 | if test $ac_cache; then |
| 4839 | ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 4840 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 4841 | printf "%s\n" "#define $ac_item 1" >> confdefs.h |
| 4842 | fi |
| 4843 | ac_header= ac_cache= |
| 4844 | elif test $ac_header; then |
| 4845 | ac_cache=$ac_item |
| 4846 | else |
| 4847 | ac_header=$ac_item |
| 4848 | fi |
| 4849 | done |
| 4850 | |
| 4851 | |
| 4852 | |
| 4853 | |
| 4854 | |
| 4855 | |
| 4856 | |
| 4857 | |
| 4858 | if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
| 4859 | then : |
| 4860 | |
| 4861 | printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 4862 | |
| 4863 | fi |
| 4864 | |
| 4865 | |
| 4866 | |
| 4867 | |
| 4868 | |
| 4869 | |
| 4870 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 4871 | printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 4872 | if test ${ac_cv_safe_to_define___extensions__+y} |
| 4873 | then : |
| 4874 | printf %s "(cached) " >&6 |
| 4875 | else case e in #( |
| 4876 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4877 | /* end confdefs.h. */ |
| 4878 | |
| 4879 | # define __EXTENSIONS__ 1 |
| 4880 | $ac_includes_default |
| 4881 | int |
| 4882 | main (void) |
| 4883 | { |
| 4884 | |
| 4885 | ; |
| 4886 | return 0; |
| 4887 | } |
| 4888 | _ACEOF |
| 4889 | if ac_fn_c_try_compile "$LINENO" |
| 4890 | then : |
| 4891 | ac_cv_safe_to_define___extensions__=yes |
| 4892 | else case e in #( |
| 4893 | e) ac_cv_safe_to_define___extensions__=no ;; |
| 4894 | esac |
| 4895 | fi |
| 4896 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4897 | esac |
| 4898 | fi |
| 4899 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 4900 | printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } |
| 4901 | |
| 4902 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 |
| 4903 | printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } |
| 4904 | if test ${ac_cv_should_define__xopen_source+y} |
| 4905 | then : |
| 4906 | printf %s "(cached) " >&6 |
| 4907 | else case e in #( |
| 4908 | e) ac_cv_should_define__xopen_source=no |
| 4909 | if test $ac_cv_header_wchar_h = yes |
| 4910 | then : |
| 4911 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4912 | /* end confdefs.h. */ |
| 4913 | |
| 4914 | #include <wchar.h> |
| 4915 | mbstate_t x; |
| 4916 | int |
| 4917 | main (void) |
| 4918 | { |
| 4919 | |
| 4920 | ; |
| 4921 | return 0; |
| 4922 | } |
| 4923 | _ACEOF |
| 4924 | if ac_fn_c_try_compile "$LINENO" |
| 4925 | then : |
| 4926 | |
| 4927 | else case e in #( |
| 4928 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4929 | /* end confdefs.h. */ |
| 4930 | |
| 4931 | #define _XOPEN_SOURCE 500 |
| 4932 | #include <wchar.h> |
| 4933 | mbstate_t x; |
| 4934 | int |
| 4935 | main (void) |
| 4936 | { |
| 4937 | |
| 4938 | ; |
| 4939 | return 0; |
| 4940 | } |
| 4941 | _ACEOF |
| 4942 | if ac_fn_c_try_compile "$LINENO" |
| 4943 | then : |
| 4944 | ac_cv_should_define__xopen_source=yes |
| 4945 | fi |
| 4946 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4947 | esac |
| 4948 | fi |
| 4949 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4950 | fi ;; |
| 4951 | esac |
| 4952 | fi |
| 4953 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 |
| 4954 | printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } |
| 4955 | |
| 4956 | printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h |
| 4957 | |
| 4958 | printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h |
| 4959 | |
| 4960 | printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h |
| 4961 | |
| 4962 | printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h |
| 4963 | |
| 4964 | printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h |
| 4965 | |
| 4966 | printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h |
| 4967 | |
| 4968 | printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 4969 | |
| 4970 | printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h |
| 4971 | |
| 4972 | printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h |
| 4973 | |
| 4974 | printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h |
| 4975 | |
| 4976 | printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h |
| 4977 | |
| 4978 | printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h |
| 4979 | |
| 4980 | printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h |
| 4981 | |
| 4982 | printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h |
| 4983 | |
| 4984 | printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h |
| 4985 | |
| 4986 | printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 4987 | |
| 4988 | if test $ac_cv_header_minix_config_h = yes |
| 4989 | then : |
| 4990 | MINIX=yes |
| 4991 | printf "%s\n" "#define _MINIX 1" >>confdefs.h |
| 4992 | |
| 4993 | printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h |
| 4994 | |
| 4995 | printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 4996 | |
| 4997 | else case e in #( |
| 4998 | e) MINIX= ;; |
| 4999 | esac |
| 5000 | fi |
| 5001 | if test $ac_cv_safe_to_define___extensions__ = yes |
| 5002 | then : |
| 5003 | printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h |
| 5004 | |
| 5005 | fi |
| 5006 | if test $ac_cv_should_define__xopen_source = yes |
| 5007 | then : |
| 5008 | printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h |
| 5009 | |
| 5010 | fi |
| 5011 | |
| 5012 | |
| 5013 | |
| 5014 | |
| 5015 | echo 'tldbg:KPSE_SETUP called (toplevel=)' >&5 |
| 5016 | # Check whether --enable-all-pkgs was given. |
| 5017 | if test ${enable_all_pkgs+y} |
| 5018 | then : |
| 5019 | enableval=$enable_all_pkgs; |
| 5020 | fi |
| 5021 | test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes |
| 5022 | # Check whether --enable-native-texlive-build was given. |
| 5023 | if test ${enable_native_texlive_build+y} |
| 5024 | then : |
| 5025 | enableval=$enable_native_texlive_build; |
| 5026 | fi |
| 5027 | case $enable_native_texlive_build in #( |
| 5028 | yes | no) : |
| 5029 | : ;; #( |
| 5030 | *) : |
| 5031 | enable_native_texlive_build=yes |
| 5032 | ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;; |
| 5033 | esac |
| 5034 | case $enable_largefile in #( |
| 5035 | yes | no) : |
| 5036 | : ;; #( |
| 5037 | *) : |
| 5038 | enable_largefile=yes |
| 5039 | ac_configure_args="$ac_configure_args '--enable-largefile'" ;; |
| 5040 | esac |
| 5041 | case $enable_silent_rules in #( |
| 5042 | yes | no) : |
| 5043 | : ;; #( |
| 5044 | *) : |
| 5045 | enable_silent_rules=no |
| 5046 | ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;; |
| 5047 | esac |
| 5048 | case $enable_multiplatform in #( |
| 5049 | yes | no) : |
| 5050 | : ;; #( |
| 5051 | *) : |
| 5052 | enable_multiplatform=$enable_native_texlive_build |
| 5053 | ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;; |
| 5054 | esac |
| 5055 | case $enable_cxx_runtime_hack in #( |
| 5056 | yes | no) : |
| 5057 | : ;; #( |
| 5058 | *) : |
| 5059 | enable_cxx_runtime_hack=$enable_native_texlive_build |
| 5060 | ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;; |
| 5061 | esac |
| 5062 | case $enable_libtool_hack in #( |
| 5063 | yes | no) : |
| 5064 | : ;; #( |
| 5065 | *) : |
| 5066 | case $host_os in #( |
| 5067 | do-not-match) : |
| 5068 | enable_libtool_hack=no ;; #( |
| 5069 | *) : |
| 5070 | enable_libtool_hack=yes ;; |
| 5071 | esac |
| 5072 | ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;; |
| 5073 | esac |
| 5074 | case $enable_shared:$host_os in #( |
| 5075 | no:* | yes:mingw* | yes:cygwin*) : |
| 5076 | : ;; #( |
| 5077 | yes:* ) : |
| 5078 | if test "x$enable_native_texlive_build" = xyes |
| 5079 | then : |
| 5080 | as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5 |
| 5081 | fi ;; #( |
| 5082 | *) : |
| 5083 | enable_shared=no |
| 5084 | ac_configure_args="$ac_configure_args '--disable-shared'" ;; |
| 5085 | esac |
| 5086 | case $enable_texlive_build in #( |
| 5087 | yes) : |
| 5088 | : ;; #( |
| 5089 | no) : |
| 5090 | as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #( |
| 5091 | *) : |
| 5092 | enable_texlive_build=yes |
| 5093 | ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;; |
| 5094 | esac |
| 5095 | # Check whether --enable-multiplatform was given. |
| 5096 | if test ${enable_multiplatform+y} |
| 5097 | then : |
| 5098 | enableval=$enable_multiplatform; |
| 5099 | fi |
| 5100 | if test "x$enable_multiplatform" = xyes; then |
| 5101 | if test "x$bindir" = 'x${exec_prefix}/bin'; then |
| 5102 | bindir="$bindir/${host_alias-$host}" |
| 5103 | ac_configure_args="$ac_configure_args '--bindir=$bindir'" |
| 5104 | fi |
| 5105 | if test "x$libdir" = 'x${exec_prefix}/lib'; then |
| 5106 | libdir="$libdir/${host_alias-$host}" |
| 5107 | ac_configure_args="$ac_configure_args '--libdir=$libdir'" |
| 5108 | fi |
| 5109 | fi |
| 5110 | |
| 5111 | # Check whether --enable-cxx-runtime-hack was given. |
| 5112 | if test ${enable_cxx_runtime_hack+y} |
| 5113 | then : |
| 5114 | enableval=$enable_cxx_runtime_hack; |
| 5115 | fi |
| 5116 | |
| 5117 | # Check whether --enable-libtool-hack was given. |
| 5118 | if test ${enable_libtool_hack+y} |
| 5119 | then : |
| 5120 | enableval=$enable_libtool_hack; |
| 5121 | fi |
| 5122 | |
| 5123 | |
| 5124 | |
| 5125 | |
| 5126 | |
| 5127 | # We must enable system extensions before any compiler call to avoid |
| 5128 | # (valid) autoconf warnings. Because different configure.ac's use |
| 5129 | # different kpse setup routines, we call the ac_use_system_extensions |
| 5130 | # macro both here and in kpse_basic (in kpse-common.m4). |
| 5131 | # |
| 5132 | # Fortunately, Autoconf defines the system_extensions macro to only have |
| 5133 | # any effect once (with ac_defun_once), so it's harmless to call it |
| 5134 | # multiple time. |
| 5135 | # |
| 5136 | # LuaTeX requires system extensions for socket support. Also, since |
| 5137 | # SyncTeX, some libraries, and others unconditionally #define |
| 5138 | # GNU_SOURCE, it seems more consistent to always use it. |
| 5139 | # |
| 5140 | |
| 5141 | |
| 5142 | # this macro, kpse_check_win32, is the first compiler call for |
| 5143 | # configure.ac files that use this function (kpse setup). |
| 5144 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 |
| 5145 | printf %s "checking for native WIN32 or MINGW32... " >&6; } |
| 5146 | if test ${kpse_cv_have_win32+y} |
| 5147 | then : |
| 5148 | printf %s "(cached) " >&6 |
| 5149 | else case e in #( |
| 5150 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5151 | /* end confdefs.h. */ |
| 5152 | #ifndef WIN32 |
| 5153 | choke me |
| 5154 | #endif |
| 5155 | int |
| 5156 | main (void) |
| 5157 | { |
| 5158 | |
| 5159 | ; |
| 5160 | return 0; |
| 5161 | } |
| 5162 | _ACEOF |
| 5163 | if ac_fn_c_try_compile "$LINENO" |
| 5164 | then : |
| 5165 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5166 | /* end confdefs.h. */ |
| 5167 | #ifndef __MINGW32__ |
| 5168 | choke me |
| 5169 | #endif |
| 5170 | int |
| 5171 | main (void) |
| 5172 | { |
| 5173 | |
| 5174 | ; |
| 5175 | return 0; |
| 5176 | } |
| 5177 | _ACEOF |
| 5178 | if ac_fn_c_try_compile "$LINENO" |
| 5179 | then : |
| 5180 | kpse_cv_have_win32=mingw32 |
| 5181 | else case e in #( |
| 5182 | e) kpse_cv_have_win32=native ;; |
| 5183 | esac |
| 5184 | fi |
| 5185 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5186 | else case e in #( |
| 5187 | e) kpse_cv_have_win32=no ;; |
| 5188 | esac |
| 5189 | fi |
| 5190 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 5191 | esac |
| 5192 | fi |
| 5193 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 |
| 5194 | printf "%s\n" "$kpse_cv_have_win32" >&6; } |
| 5195 | |
| 5196 | # end call to kpse_check_win32. |
| 5197 | |
| 5198 | case $with_x:$kpse_cv_have_win32 in #( |
| 5199 | yes:no | no:*) : |
| 5200 | : ;; #( |
| 5201 | yes:*) : |
| 5202 | as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #( |
| 5203 | *:no) : |
| 5204 | with_x=yes |
| 5205 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5 |
| 5206 | printf "%s\n" "$as_me: Assuming \`--with-x'" >&6;} |
| 5207 | ac_configure_args="$ac_configure_args '--with-x'" ;; #( |
| 5208 | *) : |
| 5209 | with_x=no |
| 5210 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5 |
| 5211 | printf "%s\n" "$as_me: WIN32 -> \`--without-x'" >&6;} |
| 5212 | ac_configure_args="$ac_configure_args '--without-x'" ;; |
| 5213 | esac |
| 5214 | case $enable_luajittex in #( |
| 5215 | yes | no) : |
| 5216 | : ;; #( |
| 5217 | *) : |
| 5218 | case $host in #( |
| 5219 | alpha* | sparc* | x86_64-*-solaris* | powerpc* ) : |
| 5220 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5 |
| 5221 | printf "%s\n" "$as_me: $host -> \`--disable-luajittex'" >&6;} |
| 5222 | ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #( |
| 5223 | *) : |
| 5224 | ;; |
| 5225 | esac ;; |
| 5226 | esac |
| 5227 | case $enable_luajithbtex in #( |
| 5228 | yes | no) : |
| 5229 | : ;; #( |
| 5230 | *) : |
| 5231 | case $host in #( |
| 5232 | alpha* | sparc* | x86_64-*-solaris* | powerpc* ) : |
| 5233 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajithbtex'" >&5 |
| 5234 | printf "%s\n" "$as_me: $host -> \`--disable-luajithbtex'" >&6;} |
| 5235 | ac_configure_args="$ac_configure_args '--disable-luajithbtex'" ;; #( |
| 5236 | *) : |
| 5237 | ;; |
| 5238 | esac ;; |
| 5239 | esac |
| 5240 | case $enable_mfluajit in #( |
| 5241 | yes | no) : |
| 5242 | : ;; #( |
| 5243 | *) : |
| 5244 | case $host in #( |
| 5245 | alpha* | sparc* | x86_64-*-solaris* | powerpc* ) : |
| 5246 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit'" >&5 |
| 5247 | printf "%s\n" "$as_me: $host -> \`--disable-mfluajit'" >&6;} |
| 5248 | ac_configure_args="$ac_configure_args '--disable-mfluajit'" ;; #( |
| 5249 | *) : |
| 5250 | ;; |
| 5251 | esac ;; |
| 5252 | esac |
| 5253 | case $enable_mfluajit_nowin in #( |
| 5254 | yes | no) : |
| 5255 | : ;; #( |
| 5256 | *) : |
| 5257 | case $host in #( |
| 5258 | alpha* | sparc* | x86_64-*-solaris* | powerpc* ) : |
| 5259 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit-nowin'" >&5 |
| 5260 | printf "%s\n" "$as_me: $host -> \`--disable-mfluajit-nowin'" >&6;} |
| 5261 | ac_configure_args="$ac_configure_args '--disable-mfluajit-nowin'" ;; #( |
| 5262 | *) : |
| 5263 | ;; |
| 5264 | esac ;; |
| 5265 | esac |
| 5266 | |
| 5267 | ## utils/autosp/ac/withenable.ac: configure.ac fragment for Tl subdir |
| 5268 | ## configure options and TL libraries required for autosp. |
| 5269 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=autosp, libs=, options=, comment=.' >&5 |
| 5270 | echo 'tldbg:KPSE_ENABLE_PROG enabling: autosp -> yes' >&5 |
| 5271 | # Check whether --enable-autosp was given. |
| 5272 | if test ${enable_autosp+y} |
| 5273 | then : |
| 5274 | enableval=$enable_autosp; |
| 5275 | fi |
| 5276 | # |
| 5277 | # |
| 5278 | case $enable_autosp in #( |
| 5279 | yes|no) : |
| 5280 | ;; #( |
| 5281 | *) : |
| 5282 | |
| 5283 | enable_autosp=$enable_all_pkgs |
| 5284 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-autosp=$enable_autosp'" >&5 |
| 5285 | printf "%s\n" "$as_me: Assuming \`--enable-autosp=$enable_autosp'" >&6;} |
| 5286 | ac_configure_args="$ac_configure_args '--enable-autosp=$enable_autosp'" |
| 5287 | ;; |
| 5288 | esac |
| 5289 | # |
| 5290 | # setting need_ for each of []: |
| 5291 | |
| 5292 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=autosp)' >&5 |
| 5293 | |
| 5294 | ## utils/axodraw2/ac/withenable.ac: configure.ac fragment for TL subdir |
| 5295 | ## configure options and TL libraries for axodraw2. |
| 5296 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=axodraw2, libs=, options=, comment=.' >&5 |
| 5297 | echo 'tldbg:KPSE_ENABLE_PROG enabling: axodraw2 -> yes' >&5 |
| 5298 | # Check whether --enable-axodraw2 was given. |
| 5299 | if test ${enable_axodraw2+y} |
| 5300 | then : |
| 5301 | enableval=$enable_axodraw2; |
| 5302 | fi |
| 5303 | # |
| 5304 | # |
| 5305 | case $enable_axodraw2 in #( |
| 5306 | yes|no) : |
| 5307 | ;; #( |
| 5308 | *) : |
| 5309 | |
| 5310 | enable_axodraw2=$enable_all_pkgs |
| 5311 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-axodraw2=$enable_axodraw2'" >&5 |
| 5312 | printf "%s\n" "$as_me: Assuming \`--enable-axodraw2=$enable_axodraw2'" >&6;} |
| 5313 | ac_configure_args="$ac_configure_args '--enable-axodraw2=$enable_axodraw2'" |
| 5314 | ;; |
| 5315 | esac |
| 5316 | # |
| 5317 | # setting need_ for each of []: |
| 5318 | |
| 5319 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=axodraw2)' >&5 |
| 5320 | |
| 5321 | ## utils/devnag/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/devnag/ |
| 5322 | ## configure options and TL libraries required for devnag |
| 5323 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=devnag, libs=, options=, comment=.' >&5 |
| 5324 | echo 'tldbg:KPSE_ENABLE_PROG enabling: devnag -> yes' >&5 |
| 5325 | # Check whether --enable-devnag was given. |
| 5326 | if test ${enable_devnag+y} |
| 5327 | then : |
| 5328 | enableval=$enable_devnag; |
| 5329 | fi |
| 5330 | # |
| 5331 | # |
| 5332 | case $enable_devnag in #( |
| 5333 | yes|no) : |
| 5334 | ;; #( |
| 5335 | *) : |
| 5336 | |
| 5337 | enable_devnag=$enable_all_pkgs |
| 5338 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-devnag=$enable_devnag'" >&5 |
| 5339 | printf "%s\n" "$as_me: Assuming \`--enable-devnag=$enable_devnag'" >&6;} |
| 5340 | ac_configure_args="$ac_configure_args '--enable-devnag=$enable_devnag'" |
| 5341 | ;; |
| 5342 | esac |
| 5343 | # |
| 5344 | # setting need_ for each of []: |
| 5345 | |
| 5346 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=devnag)' >&5 |
| 5347 | |
| 5348 | ## utils/lacheck/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/lacheck/ |
| 5349 | ## configure options and TL libraries required for lacheck |
| 5350 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=lacheck, libs=, options=, comment=.' >&5 |
| 5351 | echo 'tldbg:KPSE_ENABLE_PROG enabling: lacheck -> yes' >&5 |
| 5352 | # Check whether --enable-lacheck was given. |
| 5353 | if test ${enable_lacheck+y} |
| 5354 | then : |
| 5355 | enableval=$enable_lacheck; |
| 5356 | fi |
| 5357 | # |
| 5358 | # |
| 5359 | case $enable_lacheck in #( |
| 5360 | yes|no) : |
| 5361 | ;; #( |
| 5362 | *) : |
| 5363 | |
| 5364 | enable_lacheck=$enable_all_pkgs |
| 5365 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lacheck=$enable_lacheck'" >&5 |
| 5366 | printf "%s\n" "$as_me: Assuming \`--enable-lacheck=$enable_lacheck'" >&6;} |
| 5367 | ac_configure_args="$ac_configure_args '--enable-lacheck=$enable_lacheck'" |
| 5368 | ;; |
| 5369 | esac |
| 5370 | # |
| 5371 | # setting need_ for each of []: |
| 5372 | |
| 5373 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=lacheck)' >&5 |
| 5374 | |
| 5375 | ## utils/m-tx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/m-tx/ |
| 5376 | ## configure options and TL libraries required for mtx |
| 5377 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=m-tx, libs=, options=, comment=.' >&5 |
| 5378 | echo 'tldbg:KPSE_ENABLE_PROG enabling: m-tx -> yes' >&5 |
| 5379 | # Check whether --enable-m-tx was given. |
| 5380 | if test ${enable_m_tx+y} |
| 5381 | then : |
| 5382 | enableval=$enable_m_tx; |
| 5383 | fi |
| 5384 | # |
| 5385 | # |
| 5386 | case $enable_m_tx in #( |
| 5387 | yes|no) : |
| 5388 | ;; #( |
| 5389 | *) : |
| 5390 | |
| 5391 | enable_m_tx=$enable_all_pkgs |
| 5392 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-m-tx=$enable_m_tx'" >&5 |
| 5393 | printf "%s\n" "$as_me: Assuming \`--enable-m-tx=$enable_m_tx'" >&6;} |
| 5394 | ac_configure_args="$ac_configure_args '--enable-m-tx=$enable_m_tx'" |
| 5395 | ;; |
| 5396 | esac |
| 5397 | # |
| 5398 | # setting need_ for each of []: |
| 5399 | |
| 5400 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=m-tx)' >&5 |
| 5401 | |
| 5402 | ## utils/pmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/pmx/ |
| 5403 | ## configure options and TL libraries required for pmx |
| 5404 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=pmx, libs=, options=, comment=.' >&5 |
| 5405 | echo 'tldbg:KPSE_ENABLE_PROG enabling: pmx -> yes' >&5 |
| 5406 | # Check whether --enable-pmx was given. |
| 5407 | if test ${enable_pmx+y} |
| 5408 | then : |
| 5409 | enableval=$enable_pmx; |
| 5410 | fi |
| 5411 | # |
| 5412 | # |
| 5413 | case $enable_pmx in #( |
| 5414 | yes|no) : |
| 5415 | ;; #( |
| 5416 | *) : |
| 5417 | |
| 5418 | enable_pmx=$enable_all_pkgs |
| 5419 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pmx=$enable_pmx'" >&5 |
| 5420 | printf "%s\n" "$as_me: Assuming \`--enable-pmx=$enable_pmx'" >&6;} |
| 5421 | ac_configure_args="$ac_configure_args '--enable-pmx=$enable_pmx'" |
| 5422 | ;; |
| 5423 | esac |
| 5424 | # |
| 5425 | # setting need_ for each of []: |
| 5426 | |
| 5427 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=pmx)' >&5 |
| 5428 | |
| 5429 | ## utils/ps2eps/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/ps2eps/ |
| 5430 | ## configure options and TL libraries required for ps2eps |
| 5431 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=ps2eps, libs=, options=, comment=.' >&5 |
| 5432 | echo 'tldbg:KPSE_ENABLE_PROG enabling: ps2eps -> yes' >&5 |
| 5433 | # Check whether --enable-ps2eps was given. |
| 5434 | if test ${enable_ps2eps+y} |
| 5435 | then : |
| 5436 | enableval=$enable_ps2eps; |
| 5437 | fi |
| 5438 | # |
| 5439 | # |
| 5440 | case $enable_ps2eps in #( |
| 5441 | yes|no) : |
| 5442 | ;; #( |
| 5443 | *) : |
| 5444 | |
| 5445 | enable_ps2eps=$enable_all_pkgs |
| 5446 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&5 |
| 5447 | printf "%s\n" "$as_me: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&6;} |
| 5448 | ac_configure_args="$ac_configure_args '--enable-ps2eps=$enable_ps2eps'" |
| 5449 | ;; |
| 5450 | esac |
| 5451 | # |
| 5452 | # setting need_ for each of []: |
| 5453 | |
| 5454 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=ps2eps)' >&5 |
| 5455 | |
| 5456 | ## utils/t1utils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/t1utils/ |
| 5457 | ## configure options and TL libraries required for t1utils |
| 5458 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=t1utils, libs=, options=, comment=.' >&5 |
| 5459 | echo 'tldbg:KPSE_ENABLE_PROG enabling: t1utils -> yes' >&5 |
| 5460 | # Check whether --enable-t1utils was given. |
| 5461 | if test ${enable_t1utils+y} |
| 5462 | then : |
| 5463 | enableval=$enable_t1utils; |
| 5464 | fi |
| 5465 | # |
| 5466 | # |
| 5467 | case $enable_t1utils in #( |
| 5468 | yes|no) : |
| 5469 | ;; #( |
| 5470 | *) : |
| 5471 | |
| 5472 | enable_t1utils=$enable_all_pkgs |
| 5473 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-t1utils=$enable_t1utils'" >&5 |
| 5474 | printf "%s\n" "$as_me: Assuming \`--enable-t1utils=$enable_t1utils'" >&6;} |
| 5475 | ac_configure_args="$ac_configure_args '--enable-t1utils=$enable_t1utils'" |
| 5476 | ;; |
| 5477 | esac |
| 5478 | # |
| 5479 | # setting need_ for each of []: |
| 5480 | |
| 5481 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=t1utils)' >&5 |
| 5482 | |
| 5483 | ## utils/texdoctk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/texdoctk/ |
| 5484 | ## configure options and TL libraries required for texdoctk |
| 5485 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=texdoctk, libs=, options=, comment=.' >&5 |
| 5486 | echo 'tldbg:KPSE_ENABLE_PROG enabling: texdoctk -> yes' >&5 |
| 5487 | # Check whether --enable-texdoctk was given. |
| 5488 | if test ${enable_texdoctk+y} |
| 5489 | then : |
| 5490 | enableval=$enable_texdoctk; |
| 5491 | fi |
| 5492 | # |
| 5493 | # |
| 5494 | case $enable_texdoctk in #( |
| 5495 | yes|no) : |
| 5496 | ;; #( |
| 5497 | *) : |
| 5498 | |
| 5499 | enable_texdoctk=$enable_all_pkgs |
| 5500 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texdoctk=$enable_texdoctk'" >&5 |
| 5501 | printf "%s\n" "$as_me: Assuming \`--enable-texdoctk=$enable_texdoctk'" >&6;} |
| 5502 | ac_configure_args="$ac_configure_args '--enable-texdoctk=$enable_texdoctk'" |
| 5503 | ;; |
| 5504 | esac |
| 5505 | # |
| 5506 | # setting need_ for each of []: |
| 5507 | |
| 5508 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=texdoctk)' >&5 |
| 5509 | |
| 5510 | ## utils/tpic2pdftex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/tpic2pdftex/ |
| 5511 | ## configure options and TL libraries required for tpic2pdftex |
| 5512 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=tpic2pdftex, libs=, options=, comment=.' >&5 |
| 5513 | echo 'tldbg:KPSE_ENABLE_PROG enabling: tpic2pdftex -> yes' >&5 |
| 5514 | # Check whether --enable-tpic2pdftex was given. |
| 5515 | if test ${enable_tpic2pdftex+y} |
| 5516 | then : |
| 5517 | enableval=$enable_tpic2pdftex; |
| 5518 | fi |
| 5519 | # |
| 5520 | # |
| 5521 | case $enable_tpic2pdftex in #( |
| 5522 | yes|no) : |
| 5523 | ;; #( |
| 5524 | *) : |
| 5525 | |
| 5526 | enable_tpic2pdftex=$enable_all_pkgs |
| 5527 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&5 |
| 5528 | printf "%s\n" "$as_me: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&6;} |
| 5529 | ac_configure_args="$ac_configure_args '--enable-tpic2pdftex=$enable_tpic2pdftex'" |
| 5530 | ;; |
| 5531 | esac |
| 5532 | # |
| 5533 | # setting need_ for each of []: |
| 5534 | |
| 5535 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=tpic2pdftex)' >&5 |
| 5536 | |
| 5537 | ## utils/vlna/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/vlna/ |
| 5538 | ## configure options and TL libraries required for vlna |
| 5539 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=vlna, libs=, options=, comment=.' >&5 |
| 5540 | echo 'tldbg:KPSE_ENABLE_PROG enabling: vlna -> yes' >&5 |
| 5541 | # Check whether --enable-vlna was given. |
| 5542 | if test ${enable_vlna+y} |
| 5543 | then : |
| 5544 | enableval=$enable_vlna; |
| 5545 | fi |
| 5546 | # |
| 5547 | # |
| 5548 | case $enable_vlna in #( |
| 5549 | yes|no) : |
| 5550 | ;; #( |
| 5551 | *) : |
| 5552 | |
| 5553 | enable_vlna=$enable_all_pkgs |
| 5554 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-vlna=$enable_vlna'" >&5 |
| 5555 | printf "%s\n" "$as_me: Assuming \`--enable-vlna=$enable_vlna'" >&6;} |
| 5556 | ac_configure_args="$ac_configure_args '--enable-vlna=$enable_vlna'" |
| 5557 | ;; |
| 5558 | esac |
| 5559 | # |
| 5560 | # setting need_ for each of []: |
| 5561 | |
| 5562 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=vlna)' >&5 |
| 5563 | |
| 5564 | ## utils/xindy/ac/withenable.ac: configure.ac fragment for TL subdir |
| 5565 | ## configure options and TL libraries required for xindy. |
| 5566 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=xindy, libs=, options=disable, comment=.' >&5 |
| 5567 | echo 'tldbg:KPSE_ENABLE_PROG enabling: xindy -> no' >&5 |
| 5568 | # Check whether --enable-xindy was given. |
| 5569 | if test ${enable_xindy+y} |
| 5570 | then : |
| 5571 | enableval=$enable_xindy; |
| 5572 | fi |
| 5573 | # |
| 5574 | # |
| 5575 | case $enable_xindy in #( |
| 5576 | yes|no) : |
| 5577 | ;; #( |
| 5578 | *) : |
| 5579 | |
| 5580 | enable_xindy=no |
| 5581 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy=$enable_xindy'" >&5 |
| 5582 | printf "%s\n" "$as_me: Assuming \`--enable-xindy=$enable_xindy'" >&6;} |
| 5583 | ac_configure_args="$ac_configure_args '--enable-xindy=$enable_xindy'" |
| 5584 | ;; |
| 5585 | esac |
| 5586 | # |
| 5587 | # setting need_ for each of []: |
| 5588 | |
| 5589 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=xindy)' >&5 |
| 5590 | |
| 5591 | ## utils/xindy/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ |
| 5592 | ## configure options for xindy |
| 5593 | # Check whether --enable-xindy-rules was given. |
| 5594 | if test ${enable_xindy_rules+y} |
| 5595 | then : |
| 5596 | enableval=$enable_xindy_rules; |
| 5597 | fi |
| 5598 | # Check whether --enable-xindy-docs was given. |
| 5599 | if test ${enable_xindy_docs+y} |
| 5600 | then : |
| 5601 | enableval=$enable_xindy_docs; |
| 5602 | fi |
| 5603 | |
| 5604 | # Check whether --with-clisp-runtime was given. |
| 5605 | if test ${with_clisp_runtime+y} |
| 5606 | then : |
| 5607 | withval=$with_clisp_runtime; |
| 5608 | fi |
| 5609 | |
| 5610 | ## utils/xindy/ac/clisp.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ |
| 5611 | ## configure checks for xindy and clisp |
| 5612 | case $with_clisp_runtime in #( |
| 5613 | default) : |
| 5614 | ;; #( |
| 5615 | system) : |
| 5616 | if test "x$enable_native_texlive_build" = xyes |
| 5617 | then : |
| 5618 | as_fn_error $? "you can not use the installed clisp for a native TeX Live build" "$LINENO" 5 |
| 5619 | fi ;; #( |
| 5620 | "") : |
| 5621 | if test "x$enable_native_texlive_build" = xyes |
| 5622 | then : |
| 5623 | with_clisp_runtime=default |
| 5624 | else case e in #( |
| 5625 | e) with_clisp_runtime=system ;; |
| 5626 | esac |
| 5627 | fi |
| 5628 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&5 |
| 5629 | printf "%s\n" "$as_me: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&6;} |
| 5630 | ac_configure_args="$ac_configure_args '--with-clisp-runtime=$with_clisp_runtime'" ;; #( |
| 5631 | *) : |
| 5632 | if test ! -f "$with_clisp_runtime" |
| 5633 | then : |
| 5634 | as_fn_error $? "no such file: \"$with_clisp_runtime\"" "$LINENO" 5 |
| 5635 | fi ;; |
| 5636 | esac |
| 5637 | |
| 5638 | ## utils/xml2pmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xml2pmx/ |
| 5639 | ## configure options and TL libraries required for xml2pmx |
| 5640 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=xml2pmx, libs=, options=, comment=.' >&5 |
| 5641 | echo 'tldbg:KPSE_ENABLE_PROG enabling: xml2pmx -> yes' >&5 |
| 5642 | # Check whether --enable-xml2pmx was given. |
| 5643 | if test ${enable_xml2pmx+y} |
| 5644 | then : |
| 5645 | enableval=$enable_xml2pmx; |
| 5646 | fi |
| 5647 | # |
| 5648 | # |
| 5649 | case $enable_xml2pmx in #( |
| 5650 | yes|no) : |
| 5651 | ;; #( |
| 5652 | *) : |
| 5653 | |
| 5654 | enable_xml2pmx=$enable_all_pkgs |
| 5655 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xml2pmx=$enable_xml2pmx'" >&5 |
| 5656 | printf "%s\n" "$as_me: Assuming \`--enable-xml2pmx=$enable_xml2pmx'" >&6;} |
| 5657 | ac_configure_args="$ac_configure_args '--enable-xml2pmx=$enable_xml2pmx'" |
| 5658 | ;; |
| 5659 | esac |
| 5660 | # |
| 5661 | # setting need_ for each of []: |
| 5662 | |
| 5663 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=xml2pmx)' >&5 |
| 5664 | |
| 5665 | ## utils/xpdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xpdfopen/ |
| 5666 | ## configure options and TL libraries required for xpdfopen |
| 5667 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=xpdfopen, libs=, options=x, comment=.' >&5 |
| 5668 | echo 'tldbg:KPSE_ENABLE_PROG enabling: xpdfopen -> yes' >&5 |
| 5669 | # Check whether --enable-xpdfopen was given. |
| 5670 | if test ${enable_xpdfopen+y} |
| 5671 | then : |
| 5672 | enableval=$enable_xpdfopen; |
| 5673 | fi |
| 5674 | # |
| 5675 | if test "x$with_x" = xno |
| 5676 | then : |
| 5677 | case $enable_xpdfopen in #( |
| 5678 | "") : |
| 5679 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xpdfopen'" >&5 |
| 5680 | printf "%s\n" "$as_me: \`--without-x' -> \`--disable-xpdfopen'" >&6;} |
| 5681 | enable_xpdfopen=no |
| 5682 | ac_configure_args="$ac_configure_args '--disable-xpdfopen'" ;; #( |
| 5683 | yes) : |
| 5684 | as_fn_error $? "Sorry, incompatible options \`--without-x' and \`--enable-xpdfopen'" "$LINENO" 5 ;; #( |
| 5685 | *) : |
| 5686 | ;; |
| 5687 | esac |
| 5688 | fi |
| 5689 | # |
| 5690 | case $enable_xpdfopen in #( |
| 5691 | yes|no) : |
| 5692 | ;; #( |
| 5693 | *) : |
| 5694 | |
| 5695 | enable_xpdfopen=$enable_all_pkgs |
| 5696 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&5 |
| 5697 | printf "%s\n" "$as_me: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&6;} |
| 5698 | ac_configure_args="$ac_configure_args '--enable-xpdfopen=$enable_xpdfopen'" |
| 5699 | ;; |
| 5700 | esac |
| 5701 | # |
| 5702 | # setting need_ for each of []: |
| 5703 | |
| 5704 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=xpdfopen)' >&5 |
| 5705 | |
| 5706 | |
| 5707 | ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ |
| 5708 | ## configure options and TL libraries required for web2c |
| 5709 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=web2c, libs=kpathsea zlib, options=, comment=TeX & Co..' >&5 |
| 5710 | echo 'tldbg:KPSE_ENABLE_PROG enabling: web2c -> yes' >&5 |
| 5711 | # Check whether --enable-web2c was given. |
| 5712 | if test ${enable_web2c+y} |
| 5713 | then : |
| 5714 | enableval=$enable_web2c; |
| 5715 | fi |
| 5716 | # |
| 5717 | # |
| 5718 | case $enable_web2c in #( |
| 5719 | yes|no) : |
| 5720 | ;; #( |
| 5721 | *) : |
| 5722 | |
| 5723 | enable_web2c=$enable_all_pkgs |
| 5724 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5 |
| 5725 | printf "%s\n" "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;} |
| 5726 | ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'" |
| 5727 | ;; |
| 5728 | esac |
| 5729 | # |
| 5730 | # setting need_ for each of [kpathsea zlib]: |
| 5731 | |
| 5732 | test "x$enable_web2c" = xno || { |
| 5733 | need_kpathsea=yes |
| 5734 | need_zlib=yes |
| 5735 | } |
| 5736 | |
| 5737 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=web2c)' >&5 |
| 5738 | |
| 5739 | # texk/web2c/ac/web2c.ac: configure.ac fragment for TL subdir |
| 5740 | # configure options for TeX and MF |
| 5741 | |
| 5742 | # Check whether --with-banner-add was given. |
| 5743 | if test ${with_banner_add+y} |
| 5744 | then : |
| 5745 | withval=$with_banner_add; |
| 5746 | fi |
| 5747 | |
| 5748 | # Check whether --with-editor was given. |
| 5749 | if test ${with_editor+y} |
| 5750 | then : |
| 5751 | withval=$with_editor; |
| 5752 | fi |
| 5753 | # Check whether --enable-auto-core was given. |
| 5754 | if test ${enable_auto_core+y} |
| 5755 | then : |
| 5756 | enableval=$enable_auto_core; |
| 5757 | fi |
| 5758 | # Check whether --enable-dump-share was given. |
| 5759 | if test ${enable_dump_share+y} |
| 5760 | then : |
| 5761 | enableval=$enable_dump_share; |
| 5762 | fi |
| 5763 | ## configure options for TeX |
| 5764 | # Check whether --enable-ipc was given. |
| 5765 | if test ${enable_ipc+y} |
| 5766 | then : |
| 5767 | enableval=$enable_ipc; |
| 5768 | fi |
| 5769 | # Check whether --enable-tex was given. |
| 5770 | if test ${enable_tex+y} |
| 5771 | then : |
| 5772 | enableval=$enable_tex; |
| 5773 | fi |
| 5774 | case $enable_tex in #( |
| 5775 | yes | no) : |
| 5776 | ;; #( |
| 5777 | *) : |
| 5778 | enable_tex=yes ;; |
| 5779 | esac |
| 5780 | |
| 5781 | # Check whether --enable-tex-synctex was given. |
| 5782 | if test ${enable_tex_synctex+y} |
| 5783 | then : |
| 5784 | enableval=$enable_tex_synctex; |
| 5785 | fi |
| 5786 | # Check whether --enable-etex was given. |
| 5787 | if test ${enable_etex+y} |
| 5788 | then : |
| 5789 | enableval=$enable_etex; |
| 5790 | fi |
| 5791 | case $enable_etex in #( |
| 5792 | yes | no) : |
| 5793 | ;; #( |
| 5794 | *) : |
| 5795 | enable_etex=no ;; |
| 5796 | esac |
| 5797 | |
| 5798 | # Check whether --enable-etex-synctex was given. |
| 5799 | if test ${enable_etex_synctex+y} |
| 5800 | then : |
| 5801 | enableval=$enable_etex_synctex; |
| 5802 | fi |
| 5803 | |
| 5804 | test "x$enable_web2c:$enable_etex" = xyes:yes && { |
| 5805 | need_zlib=yes |
| 5806 | } |
| 5807 | # Check whether --enable-uptex was given. |
| 5808 | if test ${enable_uptex+y} |
| 5809 | then : |
| 5810 | enableval=$enable_uptex; |
| 5811 | fi |
| 5812 | case $enable_uptex in #( |
| 5813 | yes | no) : |
| 5814 | ;; #( |
| 5815 | *) : |
| 5816 | enable_uptex=no ;; |
| 5817 | esac |
| 5818 | |
| 5819 | test "x$enable_web2c:$enable_uptex" = xyes:yes && { |
| 5820 | need_ptexenc=yes |
| 5821 | need_zlib=yes |
| 5822 | } |
| 5823 | # Check whether --enable-euptex was given. |
| 5824 | if test ${enable_euptex+y} |
| 5825 | then : |
| 5826 | enableval=$enable_euptex; |
| 5827 | fi |
| 5828 | case $enable_euptex in #( |
| 5829 | yes | no) : |
| 5830 | ;; #( |
| 5831 | *) : |
| 5832 | enable_euptex=yes ;; |
| 5833 | esac |
| 5834 | |
| 5835 | # Check whether --enable-euptex-synctex was given. |
| 5836 | if test ${enable_euptex_synctex+y} |
| 5837 | then : |
| 5838 | enableval=$enable_euptex_synctex; |
| 5839 | fi |
| 5840 | |
| 5841 | test "x$enable_web2c:$enable_euptex" = xyes:yes && { |
| 5842 | need_ptexenc=yes |
| 5843 | need_zlib=yes |
| 5844 | } |
| 5845 | # Check whether --enable-aleph was given. |
| 5846 | if test ${enable_aleph+y} |
| 5847 | then : |
| 5848 | enableval=$enable_aleph; |
| 5849 | fi |
| 5850 | case $enable_aleph in #( |
| 5851 | yes | no) : |
| 5852 | ;; #( |
| 5853 | *) : |
| 5854 | enable_aleph=yes ;; |
| 5855 | esac |
| 5856 | # Check whether --enable-hitex was given. |
| 5857 | if test ${enable_hitex+y} |
| 5858 | then : |
| 5859 | enableval=$enable_hitex; |
| 5860 | fi |
| 5861 | case $enable_hitex in #( |
| 5862 | yes | no) : |
| 5863 | ;; #( |
| 5864 | *) : |
| 5865 | enable_hitex=yes ;; |
| 5866 | esac |
| 5867 | |
| 5868 | test "x$enable_web2c:$enable_hitex" = xyes:yes && { |
| 5869 | need_harfbuzz=yes |
| 5870 | need_zlib=yes |
| 5871 | } |
| 5872 | # Check whether --enable-pdftex was given. |
| 5873 | if test ${enable_pdftex+y} |
| 5874 | then : |
| 5875 | enableval=$enable_pdftex; |
| 5876 | fi |
| 5877 | case $enable_pdftex in #( |
| 5878 | yes | no) : |
| 5879 | ;; #( |
| 5880 | *) : |
| 5881 | enable_pdftex=yes ;; |
| 5882 | esac |
| 5883 | |
| 5884 | # Check whether --enable-pdftex-synctex was given. |
| 5885 | if test ${enable_pdftex_synctex+y} |
| 5886 | then : |
| 5887 | enableval=$enable_pdftex_synctex; |
| 5888 | fi |
| 5889 | |
| 5890 | test "x$enable_web2c:$enable_pdftex" = xyes:yes && { |
| 5891 | need_xpdf=yes |
| 5892 | need_libpng=yes |
| 5893 | need_zlib=yes |
| 5894 | } |
| 5895 | # Check whether --enable-luatex was given. |
| 5896 | if test ${enable_luatex+y} |
| 5897 | then : |
| 5898 | enableval=$enable_luatex; |
| 5899 | fi |
| 5900 | case $enable_luatex in #( |
| 5901 | yes | no) : |
| 5902 | ;; #( |
| 5903 | *) : |
| 5904 | enable_luatex=yes ;; |
| 5905 | esac |
| 5906 | |
| 5907 | test "x$enable_web2c:$enable_luatex" = xyes:yes && { |
| 5908 | need_pplib=yes |
| 5909 | need_libpng=yes |
| 5910 | need_zziplib=yes |
| 5911 | need_lua53=yes |
| 5912 | } |
| 5913 | # Check whether --enable-luajittex was given. |
| 5914 | if test ${enable_luajittex+y} |
| 5915 | then : |
| 5916 | enableval=$enable_luajittex; |
| 5917 | fi |
| 5918 | case $enable_luajittex in #( |
| 5919 | yes | no) : |
| 5920 | ;; #( |
| 5921 | *) : |
| 5922 | enable_luajittex=yes ;; |
| 5923 | esac |
| 5924 | |
| 5925 | test "x$enable_web2c:$enable_luajittex" = xyes:yes && { |
| 5926 | need_pplib=yes |
| 5927 | need_libpng=yes |
| 5928 | need_zziplib=yes |
| 5929 | need_luajit=yes |
| 5930 | } |
| 5931 | # Check whether --enable-luahbtex was given. |
| 5932 | if test ${enable_luahbtex+y} |
| 5933 | then : |
| 5934 | enableval=$enable_luahbtex; |
| 5935 | fi |
| 5936 | case $enable_luahbtex in #( |
| 5937 | yes | no) : |
| 5938 | ;; #( |
| 5939 | *) : |
| 5940 | enable_luahbtex=yes ;; |
| 5941 | esac |
| 5942 | |
| 5943 | test "x$enable_web2c:$enable_luahbtex" = xyes:yes && { |
| 5944 | need_pplib=yes |
| 5945 | need_libpng=yes |
| 5946 | need_zziplib=yes |
| 5947 | need_lua53=yes |
| 5948 | need_harfbuzz=yes |
| 5949 | } |
| 5950 | # Check whether --enable-luajithbtex was given. |
| 5951 | if test ${enable_luajithbtex+y} |
| 5952 | then : |
| 5953 | enableval=$enable_luajithbtex; |
| 5954 | fi |
| 5955 | case $enable_luajithbtex in #( |
| 5956 | yes | no) : |
| 5957 | ;; #( |
| 5958 | *) : |
| 5959 | enable_luajithbtex=yes ;; |
| 5960 | esac |
| 5961 | |
| 5962 | test "x$enable_web2c:$enable_luajithbtex" = xyes:yes && { |
| 5963 | need_pplib=yes |
| 5964 | need_libpng=yes |
| 5965 | need_zziplib=yes |
| 5966 | need_luajit=yes |
| 5967 | need_harfbuzz=yes |
| 5968 | } |
| 5969 | # Check whether --enable-mp was given. |
| 5970 | if test ${enable_mp+y} |
| 5971 | then : |
| 5972 | enableval=$enable_mp; |
| 5973 | fi |
| 5974 | case $enable_mp in #( |
| 5975 | yes | no) : |
| 5976 | ;; #( |
| 5977 | *) : |
| 5978 | enable_mp=yes ;; |
| 5979 | esac |
| 5980 | |
| 5981 | test "x$enable_web2c:$enable_mp" = xyes:yes && { |
| 5982 | need_mpfi=yes |
| 5983 | need_mpfr=yes |
| 5984 | need_cairo=yes |
| 5985 | need_libpng=yes |
| 5986 | } |
| 5987 | # Check whether --enable-pmp was given. |
| 5988 | if test ${enable_pmp+y} |
| 5989 | then : |
| 5990 | enableval=$enable_pmp; |
| 5991 | fi |
| 5992 | case $enable_pmp in #( |
| 5993 | yes | no) : |
| 5994 | ;; #( |
| 5995 | *) : |
| 5996 | enable_pmp=yes ;; |
| 5997 | esac |
| 5998 | |
| 5999 | test "x$enable_web2c:$enable_pmp" = xyes:yes && { |
| 6000 | need_mpfi=yes |
| 6001 | need_mpfr=yes |
| 6002 | need_cairo=yes |
| 6003 | need_libpng=yes |
| 6004 | need_ptexenc=yes |
| 6005 | } |
| 6006 | # Check whether --enable-texprof was given. |
| 6007 | if test ${enable_texprof+y} |
| 6008 | then : |
| 6009 | enableval=$enable_texprof; |
| 6010 | fi |
| 6011 | case $enable_texprof in #( |
| 6012 | yes | no) : |
| 6013 | ;; #( |
| 6014 | *) : |
| 6015 | enable_texprof=yes ;; |
| 6016 | esac |
| 6017 | # Check whether --enable-upmp was given. |
| 6018 | if test ${enable_upmp+y} |
| 6019 | then : |
| 6020 | enableval=$enable_upmp; |
| 6021 | fi |
| 6022 | case $enable_upmp in #( |
| 6023 | yes | no) : |
| 6024 | ;; #( |
| 6025 | *) : |
| 6026 | enable_upmp=yes ;; |
| 6027 | esac |
| 6028 | |
| 6029 | test "x$enable_web2c:$enable_upmp" = xyes:yes && { |
| 6030 | need_mpfi=yes |
| 6031 | need_mpfr=yes |
| 6032 | need_cairo=yes |
| 6033 | need_libpng=yes |
| 6034 | need_ptexenc=yes |
| 6035 | } |
| 6036 | # Check whether --enable-xetex was given. |
| 6037 | if test ${enable_xetex+y} |
| 6038 | then : |
| 6039 | enableval=$enable_xetex; |
| 6040 | fi |
| 6041 | case $enable_xetex in #( |
| 6042 | yes | no) : |
| 6043 | ;; #( |
| 6044 | *) : |
| 6045 | enable_xetex=yes ;; |
| 6046 | esac |
| 6047 | |
| 6048 | # Check whether --enable-xetex-synctex was given. |
| 6049 | if test ${enable_xetex_synctex+y} |
| 6050 | then : |
| 6051 | enableval=$enable_xetex_synctex; |
| 6052 | fi |
| 6053 | |
| 6054 | test "x$enable_web2c:$enable_xetex" = xyes:yes && { |
| 6055 | need_pplib=yes |
| 6056 | need_libpng=yes |
| 6057 | need_freetype2=yes |
| 6058 | need_teckit=yes |
| 6059 | need_harfbuzz=yes |
| 6060 | } |
| 6061 | ## configure options for MF |
| 6062 | # Check whether --enable-mf was given. |
| 6063 | if test ${enable_mf+y} |
| 6064 | then : |
| 6065 | enableval=$enable_mf; |
| 6066 | fi |
| 6067 | case $enable_mf in #( |
| 6068 | yes | no) : |
| 6069 | ;; #( |
| 6070 | *) : |
| 6071 | enable_mf=yes ;; |
| 6072 | esac |
| 6073 | |
| 6074 | # Check whether --enable-mf-nowin was given. |
| 6075 | if test ${enable_mf_nowin+y} |
| 6076 | then : |
| 6077 | enableval=$enable_mf_nowin; |
| 6078 | fi |
| 6079 | case $enable_mf_nowin in #( |
| 6080 | yes | no) : |
| 6081 | ;; #( |
| 6082 | *) : |
| 6083 | enable_mf_nowin=yes ;; |
| 6084 | esac |
| 6085 | # Check whether --enable-mflua was given. |
| 6086 | if test ${enable_mflua+y} |
| 6087 | then : |
| 6088 | enableval=$enable_mflua; |
| 6089 | fi |
| 6090 | case $enable_mflua in #( |
| 6091 | yes | no) : |
| 6092 | ;; #( |
| 6093 | *) : |
| 6094 | enable_mflua=yes ;; |
| 6095 | esac |
| 6096 | |
| 6097 | # Check whether --enable-mflua-nowin was given. |
| 6098 | if test ${enable_mflua_nowin+y} |
| 6099 | then : |
| 6100 | enableval=$enable_mflua_nowin; |
| 6101 | fi |
| 6102 | case $enable_mflua_nowin in #( |
| 6103 | yes | no) : |
| 6104 | ;; #( |
| 6105 | *) : |
| 6106 | enable_mflua_nowin=no ;; |
| 6107 | esac |
| 6108 | |
| 6109 | test "x$enable_web2c:$enable_mflua" = xyes:yes && { |
| 6110 | need_lua53=yes |
| 6111 | need_potrace=yes |
| 6112 | } |
| 6113 | # Check whether --enable-mfluajit was given. |
| 6114 | if test ${enable_mfluajit+y} |
| 6115 | then : |
| 6116 | enableval=$enable_mfluajit; |
| 6117 | fi |
| 6118 | case $enable_mfluajit in #( |
| 6119 | yes | no) : |
| 6120 | ;; #( |
| 6121 | *) : |
| 6122 | enable_mfluajit=yes ;; |
| 6123 | esac |
| 6124 | |
| 6125 | # Check whether --enable-mfluajit-nowin was given. |
| 6126 | if test ${enable_mfluajit_nowin+y} |
| 6127 | then : |
| 6128 | enableval=$enable_mfluajit_nowin; |
| 6129 | fi |
| 6130 | case $enable_mfluajit_nowin in #( |
| 6131 | yes | no) : |
| 6132 | ;; #( |
| 6133 | *) : |
| 6134 | enable_mfluajit_nowin=no ;; |
| 6135 | esac |
| 6136 | |
| 6137 | test "x$enable_web2c:$enable_mfluajit" = xyes:yes && { |
| 6138 | need_luajit=yes |
| 6139 | need_potrace=yes |
| 6140 | } |
| 6141 | |
| 6142 | # Check whether --with-mf-x-toolkit was given. |
| 6143 | if test ${with_mf_x_toolkit+y} |
| 6144 | then : |
| 6145 | withval=$with_mf_x_toolkit; |
| 6146 | fi |
| 6147 | # Check whether --enable-epsfwin was given. |
| 6148 | if test ${enable_epsfwin+y} |
| 6149 | then : |
| 6150 | enableval=$enable_epsfwin; |
| 6151 | fi |
| 6152 | # Check whether --enable-hp2627win was given. |
| 6153 | if test ${enable_hp2627win+y} |
| 6154 | then : |
| 6155 | enableval=$enable_hp2627win; |
| 6156 | fi |
| 6157 | # Check whether --enable-mftalkwin was given. |
| 6158 | if test ${enable_mftalkwin+y} |
| 6159 | then : |
| 6160 | enableval=$enable_mftalkwin; |
| 6161 | fi |
| 6162 | # Check whether --enable-nextwin was given. |
| 6163 | if test ${enable_nextwin+y} |
| 6164 | then : |
| 6165 | enableval=$enable_nextwin; |
| 6166 | fi |
| 6167 | # Check whether --enable-regiswin was given. |
| 6168 | if test ${enable_regiswin+y} |
| 6169 | then : |
| 6170 | enableval=$enable_regiswin; |
| 6171 | fi |
| 6172 | # Check whether --enable-suntoolswin was given. |
| 6173 | if test ${enable_suntoolswin+y} |
| 6174 | then : |
| 6175 | enableval=$enable_suntoolswin; |
| 6176 | fi |
| 6177 | # Check whether --enable-tektronixwin was given. |
| 6178 | if test ${enable_tektronixwin+y} |
| 6179 | then : |
| 6180 | enableval=$enable_tektronixwin; |
| 6181 | fi |
| 6182 | # Check whether --enable-unitermwin was given. |
| 6183 | if test ${enable_unitermwin+y} |
| 6184 | then : |
| 6185 | enableval=$enable_unitermwin; |
| 6186 | fi |
| 6187 | ## configure options for WEB programs |
| 6188 | # Check whether --enable-web-progs was given. |
| 6189 | if test ${enable_web_progs+y} |
| 6190 | then : |
| 6191 | enableval=$enable_web_progs; |
| 6192 | fi |
| 6193 | ## configure option for the SyncTeX library and tool |
| 6194 | # Check whether --enable-synctex was given. |
| 6195 | if test ${enable_synctex+y} |
| 6196 | then : |
| 6197 | enableval=$enable_synctex; |
| 6198 | fi |
| 6199 | |
| 6200 | # end texk/web2c/ac/web2c.ac. |
| 6201 | |
| 6202 | ## texk/afm2pl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/afm2pl/ |
| 6203 | ## configure options and TL libraries required for afm2pl |
| 6204 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=afm2pl, libs=kpathsea, options=, comment=.' >&5 |
| 6205 | echo 'tldbg:KPSE_ENABLE_PROG enabling: afm2pl -> yes' >&5 |
| 6206 | # Check whether --enable-afm2pl was given. |
| 6207 | if test ${enable_afm2pl+y} |
| 6208 | then : |
| 6209 | enableval=$enable_afm2pl; |
| 6210 | fi |
| 6211 | # |
| 6212 | # |
| 6213 | case $enable_afm2pl in #( |
| 6214 | yes|no) : |
| 6215 | ;; #( |
| 6216 | *) : |
| 6217 | |
| 6218 | enable_afm2pl=$enable_all_pkgs |
| 6219 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&5 |
| 6220 | printf "%s\n" "$as_me: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&6;} |
| 6221 | ac_configure_args="$ac_configure_args '--enable-afm2pl=$enable_afm2pl'" |
| 6222 | ;; |
| 6223 | esac |
| 6224 | # |
| 6225 | # setting need_ for each of [kpathsea]: |
| 6226 | |
| 6227 | test "x$enable_afm2pl" = xno || { |
| 6228 | need_kpathsea=yes |
| 6229 | } |
| 6230 | |
| 6231 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=afm2pl)' >&5 |
| 6232 | |
| 6233 | ## texk/bibtex-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/ |
| 6234 | ## configure options and TL libraries required for bibtex-x |
| 6235 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=bibtex-x, libs=kpathsea, options=, comment=.' >&5 |
| 6236 | echo 'tldbg:KPSE_ENABLE_PROG enabling: bibtex-x -> yes' >&5 |
| 6237 | # Check whether --enable-bibtex-x was given. |
| 6238 | if test ${enable_bibtex_x+y} |
| 6239 | then : |
| 6240 | enableval=$enable_bibtex_x; |
| 6241 | fi |
| 6242 | # |
| 6243 | # |
| 6244 | case $enable_bibtex_x in #( |
| 6245 | yes|no) : |
| 6246 | ;; #( |
| 6247 | *) : |
| 6248 | |
| 6249 | enable_bibtex_x=$enable_all_pkgs |
| 6250 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtex-x=$enable_bibtex_x'" >&5 |
| 6251 | printf "%s\n" "$as_me: Assuming \`--enable-bibtex-x=$enable_bibtex_x'" >&6;} |
| 6252 | ac_configure_args="$ac_configure_args '--enable-bibtex-x=$enable_bibtex_x'" |
| 6253 | ;; |
| 6254 | esac |
| 6255 | # |
| 6256 | # setting need_ for each of [kpathsea]: |
| 6257 | |
| 6258 | test "x$enable_bibtex_x" = xno || { |
| 6259 | need_kpathsea=yes |
| 6260 | } |
| 6261 | |
| 6262 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=bibtex-x)' >&5 |
| 6263 | |
| 6264 | ## texk/bibtex-x/ac/bibtex-x.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/ |
| 6265 | ## configure options for bibtex-x |
| 6266 | # Check whether --enable-bibtex8 was given. |
| 6267 | if test ${enable_bibtex8+y} |
| 6268 | then : |
| 6269 | enableval=$enable_bibtex8; |
| 6270 | fi |
| 6271 | |
| 6272 | case $enable_bibtex8 in #( |
| 6273 | yes | no) : |
| 6274 | ;; #( |
| 6275 | *) : |
| 6276 | enable_bibtex8=yes ;; |
| 6277 | esac |
| 6278 | # Check whether --enable-bibtexu was given. |
| 6279 | if test ${enable_bibtexu+y} |
| 6280 | then : |
| 6281 | enableval=$enable_bibtexu; |
| 6282 | fi |
| 6283 | |
| 6284 | case $enable_bibtexu in #( |
| 6285 | yes | no) : |
| 6286 | ;; #( |
| 6287 | *) : |
| 6288 | enable_bibtexu=yes ;; |
| 6289 | esac |
| 6290 | |
| 6291 | test "x$enable_bibtex_x:$enable_bibtexu" = xyes:yes && need_icu=yes |
| 6292 | |
| 6293 | ## texk/chktex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/chktex/ |
| 6294 | ## configure options and TL libraries required for chktex |
| 6295 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=chktex, libs=kpathsea, options=, comment=.' >&5 |
| 6296 | echo 'tldbg:KPSE_ENABLE_PROG enabling: chktex -> yes' >&5 |
| 6297 | # Check whether --enable-chktex was given. |
| 6298 | if test ${enable_chktex+y} |
| 6299 | then : |
| 6300 | enableval=$enable_chktex; |
| 6301 | fi |
| 6302 | # |
| 6303 | # |
| 6304 | case $enable_chktex in #( |
| 6305 | yes|no) : |
| 6306 | ;; #( |
| 6307 | *) : |
| 6308 | |
| 6309 | enable_chktex=$enable_all_pkgs |
| 6310 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-chktex=$enable_chktex'" >&5 |
| 6311 | printf "%s\n" "$as_me: Assuming \`--enable-chktex=$enable_chktex'" >&6;} |
| 6312 | ac_configure_args="$ac_configure_args '--enable-chktex=$enable_chktex'" |
| 6313 | ;; |
| 6314 | esac |
| 6315 | # |
| 6316 | # setting need_ for each of [kpathsea]: |
| 6317 | |
| 6318 | test "x$enable_chktex" = xno || { |
| 6319 | need_kpathsea=yes |
| 6320 | } |
| 6321 | |
| 6322 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=chktex)' >&5 |
| 6323 | |
| 6324 | ## texk/cjkutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/cjkutils/ |
| 6325 | ## configure options and TL libraries required for cjkutils |
| 6326 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=cjkutils, libs=kpathsea, options=, comment=.' >&5 |
| 6327 | echo 'tldbg:KPSE_ENABLE_PROG enabling: cjkutils -> yes' >&5 |
| 6328 | # Check whether --enable-cjkutils was given. |
| 6329 | if test ${enable_cjkutils+y} |
| 6330 | then : |
| 6331 | enableval=$enable_cjkutils; |
| 6332 | fi |
| 6333 | # |
| 6334 | # |
| 6335 | case $enable_cjkutils in #( |
| 6336 | yes|no) : |
| 6337 | ;; #( |
| 6338 | *) : |
| 6339 | |
| 6340 | enable_cjkutils=$enable_all_pkgs |
| 6341 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&5 |
| 6342 | printf "%s\n" "$as_me: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&6;} |
| 6343 | ac_configure_args="$ac_configure_args '--enable-cjkutils=$enable_cjkutils'" |
| 6344 | ;; |
| 6345 | esac |
| 6346 | # |
| 6347 | # setting need_ for each of [kpathsea]: |
| 6348 | |
| 6349 | test "x$enable_cjkutils" = xno || { |
| 6350 | need_kpathsea=yes |
| 6351 | } |
| 6352 | |
| 6353 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=cjkutils)' >&5 |
| 6354 | |
| 6355 | ## texk/detex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/detex/ |
| 6356 | ## configure options and TL libraries required for detex |
| 6357 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=detex, libs=kpathsea, options=, comment=.' >&5 |
| 6358 | echo 'tldbg:KPSE_ENABLE_PROG enabling: detex -> yes' >&5 |
| 6359 | # Check whether --enable-detex was given. |
| 6360 | if test ${enable_detex+y} |
| 6361 | then : |
| 6362 | enableval=$enable_detex; |
| 6363 | fi |
| 6364 | # |
| 6365 | # |
| 6366 | case $enable_detex in #( |
| 6367 | yes|no) : |
| 6368 | ;; #( |
| 6369 | *) : |
| 6370 | |
| 6371 | enable_detex=$enable_all_pkgs |
| 6372 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-detex=$enable_detex'" >&5 |
| 6373 | printf "%s\n" "$as_me: Assuming \`--enable-detex=$enable_detex'" >&6;} |
| 6374 | ac_configure_args="$ac_configure_args '--enable-detex=$enable_detex'" |
| 6375 | ;; |
| 6376 | esac |
| 6377 | # |
| 6378 | # setting need_ for each of [kpathsea]: |
| 6379 | |
| 6380 | test "x$enable_detex" = xno || { |
| 6381 | need_kpathsea=yes |
| 6382 | } |
| 6383 | |
| 6384 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=detex)' >&5 |
| 6385 | |
| 6386 | ## texk/dtl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dtl/ |
| 6387 | ## configure options and TL libraries required for dtl |
| 6388 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dtl, libs=kpathsea, options=, comment=.' >&5 |
| 6389 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dtl -> yes' >&5 |
| 6390 | # Check whether --enable-dtl was given. |
| 6391 | if test ${enable_dtl+y} |
| 6392 | then : |
| 6393 | enableval=$enable_dtl; |
| 6394 | fi |
| 6395 | # |
| 6396 | # |
| 6397 | case $enable_dtl in #( |
| 6398 | yes|no) : |
| 6399 | ;; #( |
| 6400 | *) : |
| 6401 | |
| 6402 | enable_dtl=$enable_all_pkgs |
| 6403 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dtl=$enable_dtl'" >&5 |
| 6404 | printf "%s\n" "$as_me: Assuming \`--enable-dtl=$enable_dtl'" >&6;} |
| 6405 | ac_configure_args="$ac_configure_args '--enable-dtl=$enable_dtl'" |
| 6406 | ;; |
| 6407 | esac |
| 6408 | # |
| 6409 | # setting need_ for each of [kpathsea]: |
| 6410 | |
| 6411 | test "x$enable_dtl" = xno || { |
| 6412 | need_kpathsea=yes |
| 6413 | } |
| 6414 | |
| 6415 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dtl)' >&5 |
| 6416 | |
| 6417 | ## texk/dvi2tty/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvi2tty/ |
| 6418 | ## configure options and TL libraries required for dvi2tty |
| 6419 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvi2tty, libs=ptexenc, options=, comment=.' >&5 |
| 6420 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvi2tty -> yes' >&5 |
| 6421 | # Check whether --enable-dvi2tty was given. |
| 6422 | if test ${enable_dvi2tty+y} |
| 6423 | then : |
| 6424 | enableval=$enable_dvi2tty; |
| 6425 | fi |
| 6426 | # |
| 6427 | # |
| 6428 | case $enable_dvi2tty in #( |
| 6429 | yes|no) : |
| 6430 | ;; #( |
| 6431 | *) : |
| 6432 | |
| 6433 | enable_dvi2tty=$enable_all_pkgs |
| 6434 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&5 |
| 6435 | printf "%s\n" "$as_me: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&6;} |
| 6436 | ac_configure_args="$ac_configure_args '--enable-dvi2tty=$enable_dvi2tty'" |
| 6437 | ;; |
| 6438 | esac |
| 6439 | # |
| 6440 | # setting need_ for each of [ptexenc]: |
| 6441 | |
| 6442 | test "x$enable_dvi2tty" = xno || { |
| 6443 | need_ptexenc=yes |
| 6444 | } |
| 6445 | |
| 6446 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvi2tty)' >&5 |
| 6447 | |
| 6448 | ## texk/dvidvi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvidvi/ |
| 6449 | ## configure options and TL libraries required for dvidvi |
| 6450 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvidvi, libs=kpathsea, options=, comment=.' >&5 |
| 6451 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvidvi -> yes' >&5 |
| 6452 | # Check whether --enable-dvidvi was given. |
| 6453 | if test ${enable_dvidvi+y} |
| 6454 | then : |
| 6455 | enableval=$enable_dvidvi; |
| 6456 | fi |
| 6457 | # |
| 6458 | # |
| 6459 | case $enable_dvidvi in #( |
| 6460 | yes|no) : |
| 6461 | ;; #( |
| 6462 | *) : |
| 6463 | |
| 6464 | enable_dvidvi=$enable_all_pkgs |
| 6465 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&5 |
| 6466 | printf "%s\n" "$as_me: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&6;} |
| 6467 | ac_configure_args="$ac_configure_args '--enable-dvidvi=$enable_dvidvi'" |
| 6468 | ;; |
| 6469 | esac |
| 6470 | # |
| 6471 | # setting need_ for each of [kpathsea]: |
| 6472 | |
| 6473 | test "x$enable_dvidvi" = xno || { |
| 6474 | need_kpathsea=yes |
| 6475 | } |
| 6476 | |
| 6477 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvidvi)' >&5 |
| 6478 | |
| 6479 | ## texk/dviljk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviljk/ |
| 6480 | ## configure options and TL libraries required for dviljk |
| 6481 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dviljk, libs=kpathsea, options=, comment=.' >&5 |
| 6482 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dviljk -> yes' >&5 |
| 6483 | # Check whether --enable-dviljk was given. |
| 6484 | if test ${enable_dviljk+y} |
| 6485 | then : |
| 6486 | enableval=$enable_dviljk; |
| 6487 | fi |
| 6488 | # |
| 6489 | # |
| 6490 | case $enable_dviljk in #( |
| 6491 | yes|no) : |
| 6492 | ;; #( |
| 6493 | *) : |
| 6494 | |
| 6495 | enable_dviljk=$enable_all_pkgs |
| 6496 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviljk=$enable_dviljk'" >&5 |
| 6497 | printf "%s\n" "$as_me: Assuming \`--enable-dviljk=$enable_dviljk'" >&6;} |
| 6498 | ac_configure_args="$ac_configure_args '--enable-dviljk=$enable_dviljk'" |
| 6499 | ;; |
| 6500 | esac |
| 6501 | # |
| 6502 | # setting need_ for each of [kpathsea]: |
| 6503 | |
| 6504 | test "x$enable_dviljk" = xno || { |
| 6505 | need_kpathsea=yes |
| 6506 | } |
| 6507 | |
| 6508 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dviljk)' >&5 |
| 6509 | |
| 6510 | ## texk/dviout-util/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviout-util/ |
| 6511 | ## configure options and TL libraries required for dviout-util |
| 6512 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dviout-util, libs=ptexenc, options=, comment=.' >&5 |
| 6513 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dviout-util -> yes' >&5 |
| 6514 | # Check whether --enable-dviout-util was given. |
| 6515 | if test ${enable_dviout_util+y} |
| 6516 | then : |
| 6517 | enableval=$enable_dviout_util; |
| 6518 | fi |
| 6519 | # |
| 6520 | # |
| 6521 | case $enable_dviout_util in #( |
| 6522 | yes|no) : |
| 6523 | ;; #( |
| 6524 | *) : |
| 6525 | |
| 6526 | enable_dviout_util=$enable_all_pkgs |
| 6527 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviout-util=$enable_dviout_util'" >&5 |
| 6528 | printf "%s\n" "$as_me: Assuming \`--enable-dviout-util=$enable_dviout_util'" >&6;} |
| 6529 | ac_configure_args="$ac_configure_args '--enable-dviout-util=$enable_dviout_util'" |
| 6530 | ;; |
| 6531 | esac |
| 6532 | # |
| 6533 | # setting need_ for each of [ptexenc]: |
| 6534 | |
| 6535 | test "x$enable_dviout_util" = xno || { |
| 6536 | need_ptexenc=yes |
| 6537 | } |
| 6538 | |
| 6539 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dviout-util)' >&5 |
| 6540 | |
| 6541 | ## texk/dvipdfm-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfm-x/ |
| 6542 | ## configure options and TL libraries required for dvipdfm-x |
| 6543 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipdfm-x, libs=kpathsea libpng libpaper, options=, comment=.' >&5 |
| 6544 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipdfm-x -> yes' >&5 |
| 6545 | # Check whether --enable-dvipdfm-x was given. |
| 6546 | if test ${enable_dvipdfm_x+y} |
| 6547 | then : |
| 6548 | enableval=$enable_dvipdfm_x; |
| 6549 | fi |
| 6550 | # |
| 6551 | # |
| 6552 | case $enable_dvipdfm_x in #( |
| 6553 | yes|no) : |
| 6554 | ;; #( |
| 6555 | *) : |
| 6556 | |
| 6557 | enable_dvipdfm_x=$enable_all_pkgs |
| 6558 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&5 |
| 6559 | printf "%s\n" "$as_me: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&6;} |
| 6560 | ac_configure_args="$ac_configure_args '--enable-dvipdfm-x=$enable_dvipdfm_x'" |
| 6561 | ;; |
| 6562 | esac |
| 6563 | # |
| 6564 | # setting need_ for each of [kpathsea libpng libpaper]: |
| 6565 | |
| 6566 | test "x$enable_dvipdfm_x" = xno || { |
| 6567 | need_kpathsea=yes |
| 6568 | need_libpng=yes |
| 6569 | need_libpaper=yes |
| 6570 | } |
| 6571 | |
| 6572 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipdfm-x)' >&5 |
| 6573 | |
| 6574 | ## texk/dvipng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ |
| 6575 | ## configure options and TL libraries required for dvipng |
| 6576 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipng, libs=kpathsea gd, options=, comment=.' >&5 |
| 6577 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipng -> yes' >&5 |
| 6578 | # Check whether --enable-dvipng was given. |
| 6579 | if test ${enable_dvipng+y} |
| 6580 | then : |
| 6581 | enableval=$enable_dvipng; |
| 6582 | fi |
| 6583 | # |
| 6584 | # |
| 6585 | case $enable_dvipng in #( |
| 6586 | yes|no) : |
| 6587 | ;; #( |
| 6588 | *) : |
| 6589 | |
| 6590 | enable_dvipng=$enable_all_pkgs |
| 6591 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipng=$enable_dvipng'" >&5 |
| 6592 | printf "%s\n" "$as_me: Assuming \`--enable-dvipng=$enable_dvipng'" >&6;} |
| 6593 | ac_configure_args="$ac_configure_args '--enable-dvipng=$enable_dvipng'" |
| 6594 | ;; |
| 6595 | esac |
| 6596 | # |
| 6597 | # setting need_ for each of [kpathsea gd]: |
| 6598 | |
| 6599 | test "x$enable_dvipng" = xno || { |
| 6600 | need_kpathsea=yes |
| 6601 | need_gd=yes |
| 6602 | } |
| 6603 | |
| 6604 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipng)' >&5 |
| 6605 | |
| 6606 | ## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ |
| 6607 | ## configure options for dvipng |
| 6608 | # Check whether --enable-debug was given. |
| 6609 | if test ${enable_debug+y} |
| 6610 | then : |
| 6611 | enableval=$enable_debug; |
| 6612 | fi |
| 6613 | |
| 6614 | # Check whether --enable-timing was given. |
| 6615 | if test ${enable_timing+y} |
| 6616 | then : |
| 6617 | enableval=$enable_timing; |
| 6618 | fi |
| 6619 | |
| 6620 | |
| 6621 | # Check whether --with-gs was given. |
| 6622 | if test ${with_gs+y} |
| 6623 | then : |
| 6624 | withval=$with_gs; |
| 6625 | fi |
| 6626 | |
| 6627 | |
| 6628 | ## texk/dvipos/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipos/ |
| 6629 | ## configure options and TL libraries required for dvipos |
| 6630 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipos, libs=kpathsea, options=, comment=.' >&5 |
| 6631 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipos -> yes' >&5 |
| 6632 | # Check whether --enable-dvipos was given. |
| 6633 | if test ${enable_dvipos+y} |
| 6634 | then : |
| 6635 | enableval=$enable_dvipos; |
| 6636 | fi |
| 6637 | # |
| 6638 | # |
| 6639 | case $enable_dvipos in #( |
| 6640 | yes|no) : |
| 6641 | ;; #( |
| 6642 | *) : |
| 6643 | |
| 6644 | enable_dvipos=$enable_all_pkgs |
| 6645 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipos=$enable_dvipos'" >&5 |
| 6646 | printf "%s\n" "$as_me: Assuming \`--enable-dvipos=$enable_dvipos'" >&6;} |
| 6647 | ac_configure_args="$ac_configure_args '--enable-dvipos=$enable_dvipos'" |
| 6648 | ;; |
| 6649 | esac |
| 6650 | # |
| 6651 | # setting need_ for each of [kpathsea]: |
| 6652 | |
| 6653 | test "x$enable_dvipos" = xno || { |
| 6654 | need_kpathsea=yes |
| 6655 | } |
| 6656 | |
| 6657 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipos)' >&5 |
| 6658 | |
| 6659 | ## texk/dvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipsk/ |
| 6660 | ## configure options and TL libraries required for dvipsk |
| 6661 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipsk, libs=kpathsea, options=, comment=.' >&5 |
| 6662 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipsk -> yes' >&5 |
| 6663 | # Check whether --enable-dvipsk was given. |
| 6664 | if test ${enable_dvipsk+y} |
| 6665 | then : |
| 6666 | enableval=$enable_dvipsk; |
| 6667 | fi |
| 6668 | # |
| 6669 | # |
| 6670 | case $enable_dvipsk in #( |
| 6671 | yes|no) : |
| 6672 | ;; #( |
| 6673 | *) : |
| 6674 | |
| 6675 | enable_dvipsk=$enable_all_pkgs |
| 6676 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&5 |
| 6677 | printf "%s\n" "$as_me: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&6;} |
| 6678 | ac_configure_args="$ac_configure_args '--enable-dvipsk=$enable_dvipsk'" |
| 6679 | ;; |
| 6680 | esac |
| 6681 | # |
| 6682 | # setting need_ for each of [kpathsea]: |
| 6683 | |
| 6684 | test "x$enable_dvipsk" = xno || { |
| 6685 | need_kpathsea=yes |
| 6686 | } |
| 6687 | |
| 6688 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipsk)' >&5 |
| 6689 | |
| 6690 | # texk/dvisvgm/ac/withenable.ac: configure.ac fragment |
| 6691 | ## configure options and TL libraries required for dvisvgm |
| 6692 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvisvgm, libs=kpathsea potrace freetype2 zlib, options=, comment=.' >&5 |
| 6693 | echo 'tldbg:KPSE_ENABLE_PROG enabling: dvisvgm -> yes' >&5 |
| 6694 | # Check whether --enable-dvisvgm was given. |
| 6695 | if test ${enable_dvisvgm+y} |
| 6696 | then : |
| 6697 | enableval=$enable_dvisvgm; |
| 6698 | fi |
| 6699 | # |
| 6700 | # |
| 6701 | case $enable_dvisvgm in #( |
| 6702 | yes|no) : |
| 6703 | ;; #( |
| 6704 | *) : |
| 6705 | |
| 6706 | enable_dvisvgm=$enable_all_pkgs |
| 6707 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&5 |
| 6708 | printf "%s\n" "$as_me: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&6;} |
| 6709 | ac_configure_args="$ac_configure_args '--enable-dvisvgm=$enable_dvisvgm'" |
| 6710 | ;; |
| 6711 | esac |
| 6712 | # |
| 6713 | # setting need_ for each of [kpathsea potrace freetype2 zlib]: |
| 6714 | |
| 6715 | test "x$enable_dvisvgm" = xno || { |
| 6716 | need_kpathsea=yes |
| 6717 | need_potrace=yes |
| 6718 | need_freetype2=yes |
| 6719 | need_zlib=yes |
| 6720 | } |
| 6721 | |
| 6722 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvisvgm)' >&5 |
| 6723 | |
| 6724 | ## texk/gregorio/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gregorio/ |
| 6725 | ## configure options and TL libraries required for gregorio |
| 6726 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=gregorio, libs=kpathsea, options=, comment=.' >&5 |
| 6727 | echo 'tldbg:KPSE_ENABLE_PROG enabling: gregorio -> yes' >&5 |
| 6728 | # Check whether --enable-gregorio was given. |
| 6729 | if test ${enable_gregorio+y} |
| 6730 | then : |
| 6731 | enableval=$enable_gregorio; |
| 6732 | fi |
| 6733 | # |
| 6734 | # |
| 6735 | case $enable_gregorio in #( |
| 6736 | yes|no) : |
| 6737 | ;; #( |
| 6738 | *) : |
| 6739 | |
| 6740 | enable_gregorio=$enable_all_pkgs |
| 6741 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gregorio=$enable_gregorio'" >&5 |
| 6742 | printf "%s\n" "$as_me: Assuming \`--enable-gregorio=$enable_gregorio'" >&6;} |
| 6743 | ac_configure_args="$ac_configure_args '--enable-gregorio=$enable_gregorio'" |
| 6744 | ;; |
| 6745 | esac |
| 6746 | # |
| 6747 | # setting need_ for each of [kpathsea]: |
| 6748 | |
| 6749 | test "x$enable_gregorio" = xno || { |
| 6750 | need_kpathsea=yes |
| 6751 | } |
| 6752 | |
| 6753 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=gregorio)' >&5 |
| 6754 | |
| 6755 | ## texk/gsftopk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gsftopk/ |
| 6756 | ## configure options and TL libraries required for gsftopk |
| 6757 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=gsftopk, libs=kpathsea, options=, comment=.' >&5 |
| 6758 | echo 'tldbg:KPSE_ENABLE_PROG enabling: gsftopk -> yes' >&5 |
| 6759 | # Check whether --enable-gsftopk was given. |
| 6760 | if test ${enable_gsftopk+y} |
| 6761 | then : |
| 6762 | enableval=$enable_gsftopk; |
| 6763 | fi |
| 6764 | # |
| 6765 | # |
| 6766 | case $enable_gsftopk in #( |
| 6767 | yes|no) : |
| 6768 | ;; #( |
| 6769 | *) : |
| 6770 | |
| 6771 | enable_gsftopk=$enable_all_pkgs |
| 6772 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&5 |
| 6773 | printf "%s\n" "$as_me: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&6;} |
| 6774 | ac_configure_args="$ac_configure_args '--enable-gsftopk=$enable_gsftopk'" |
| 6775 | ;; |
| 6776 | esac |
| 6777 | # |
| 6778 | # setting need_ for each of [kpathsea]: |
| 6779 | |
| 6780 | test "x$enable_gsftopk" = xno || { |
| 6781 | need_kpathsea=yes |
| 6782 | } |
| 6783 | |
| 6784 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=gsftopk)' >&5 |
| 6785 | |
| 6786 | ## texk/lcdf-typetools/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lcdf-typetools/ |
| 6787 | ## configure options and TL libraries required for lcdf-typetools |
| 6788 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=lcdf-typetools, libs=kpathsea, options=, comment=.' >&5 |
| 6789 | echo 'tldbg:KPSE_ENABLE_PROG enabling: lcdf-typetools -> yes' >&5 |
| 6790 | # Check whether --enable-lcdf-typetools was given. |
| 6791 | if test ${enable_lcdf_typetools+y} |
| 6792 | then : |
| 6793 | enableval=$enable_lcdf_typetools; |
| 6794 | fi |
| 6795 | # |
| 6796 | # |
| 6797 | case $enable_lcdf_typetools in #( |
| 6798 | yes|no) : |
| 6799 | ;; #( |
| 6800 | *) : |
| 6801 | |
| 6802 | enable_lcdf_typetools=$enable_all_pkgs |
| 6803 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&5 |
| 6804 | printf "%s\n" "$as_me: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&6;} |
| 6805 | ac_configure_args="$ac_configure_args '--enable-lcdf-typetools=$enable_lcdf_typetools'" |
| 6806 | ;; |
| 6807 | esac |
| 6808 | # |
| 6809 | # setting need_ for each of [kpathsea]: |
| 6810 | |
| 6811 | test "x$enable_lcdf_typetools" = xno || { |
| 6812 | need_kpathsea=yes |
| 6813 | } |
| 6814 | |
| 6815 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=lcdf-typetools)' >&5 |
| 6816 | |
| 6817 | # Define configure options for lcdf-typetools. Extracted from configure.ac |
| 6818 | # for ease of building TeX Live. |
| 6819 | # |
| 6820 | # |
| 6821 | # Check whether --enable-cfftot1 was given. |
| 6822 | if test ${enable_cfftot1+y} |
| 6823 | then : |
| 6824 | enableval=$enable_cfftot1; |
| 6825 | fi |
| 6826 | # Check whether --enable-mmafm was given. |
| 6827 | if test ${enable_mmafm+y} |
| 6828 | then : |
| 6829 | enableval=$enable_mmafm; |
| 6830 | fi |
| 6831 | # Check whether --enable-mmpfb was given. |
| 6832 | if test ${enable_mmpfb+y} |
| 6833 | then : |
| 6834 | enableval=$enable_mmpfb; |
| 6835 | fi |
| 6836 | # Check whether --enable-otfinfo was given. |
| 6837 | if test ${enable_otfinfo+y} |
| 6838 | then : |
| 6839 | enableval=$enable_otfinfo; |
| 6840 | fi |
| 6841 | # Check whether --enable-otftotfm was given. |
| 6842 | if test ${enable_otftotfm+y} |
| 6843 | then : |
| 6844 | enableval=$enable_otftotfm; |
| 6845 | fi |
| 6846 | # Check whether --enable-t1dotlessj was given. |
| 6847 | if test ${enable_t1dotlessj+y} |
| 6848 | then : |
| 6849 | enableval=$enable_t1dotlessj; |
| 6850 | fi |
| 6851 | # Check whether --enable-t1lint was given. |
| 6852 | if test ${enable_t1lint+y} |
| 6853 | then : |
| 6854 | enableval=$enable_t1lint; |
| 6855 | fi |
| 6856 | # Check whether --enable-t1rawafm was given. |
| 6857 | if test ${enable_t1rawafm+y} |
| 6858 | then : |
| 6859 | enableval=$enable_t1rawafm; |
| 6860 | fi |
| 6861 | # Check whether --enable-t1reencode was given. |
| 6862 | if test ${enable_t1reencode+y} |
| 6863 | then : |
| 6864 | enableval=$enable_t1reencode; |
| 6865 | fi |
| 6866 | # Check whether --enable-t1testpage was given. |
| 6867 | if test ${enable_t1testpage+y} |
| 6868 | then : |
| 6869 | enableval=$enable_t1testpage; |
| 6870 | fi |
| 6871 | # Check whether --enable-ttftotype42 was given. |
| 6872 | if test ${enable_ttftotype42+y} |
| 6873 | then : |
| 6874 | enableval=$enable_ttftotype42; |
| 6875 | fi |
| 6876 | |
| 6877 | # |
| 6878 | # Check whether --enable-cfftot1 was given. |
| 6879 | if test ${enable_cfftot1+y} |
| 6880 | then : |
| 6881 | enableval=$enable_cfftot1; |
| 6882 | fi |
| 6883 | # Check whether --enable-t1dotlessj was given. |
| 6884 | if test ${enable_t1dotlessj+y} |
| 6885 | then : |
| 6886 | enableval=$enable_t1dotlessj; |
| 6887 | fi |
| 6888 | # Check whether --enable-ttftotype42 was given. |
| 6889 | if test ${enable_ttftotype42+y} |
| 6890 | then : |
| 6891 | enableval=$enable_ttftotype42; |
| 6892 | fi |
| 6893 | # Check whether --enable-updmap was given. |
| 6894 | if test ${enable_updmap+y} |
| 6895 | then : |
| 6896 | enableval=$enable_updmap; |
| 6897 | fi |
| 6898 | |
| 6899 | |
| 6900 | ## texk/makeindexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makeindexk/ |
| 6901 | ## configure options and TL libraries required for makeindexk |
| 6902 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=makeindexk, libs=kpathsea, options=, comment=.' >&5 |
| 6903 | echo 'tldbg:KPSE_ENABLE_PROG enabling: makeindexk -> yes' >&5 |
| 6904 | # Check whether --enable-makeindexk was given. |
| 6905 | if test ${enable_makeindexk+y} |
| 6906 | then : |
| 6907 | enableval=$enable_makeindexk; |
| 6908 | fi |
| 6909 | # |
| 6910 | # |
| 6911 | case $enable_makeindexk in #( |
| 6912 | yes|no) : |
| 6913 | ;; #( |
| 6914 | *) : |
| 6915 | |
| 6916 | enable_makeindexk=$enable_all_pkgs |
| 6917 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&5 |
| 6918 | printf "%s\n" "$as_me: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&6;} |
| 6919 | ac_configure_args="$ac_configure_args '--enable-makeindexk=$enable_makeindexk'" |
| 6920 | ;; |
| 6921 | esac |
| 6922 | # |
| 6923 | # setting need_ for each of [kpathsea]: |
| 6924 | |
| 6925 | test "x$enable_makeindexk" = xno || { |
| 6926 | need_kpathsea=yes |
| 6927 | } |
| 6928 | |
| 6929 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=makeindexk)' >&5 |
| 6930 | |
| 6931 | ## texk/makejvf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makejvf/ |
| 6932 | ## configure options and TL libraries required for makejvf |
| 6933 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=makejvf, libs=ptexenc, options=, comment=.' >&5 |
| 6934 | echo 'tldbg:KPSE_ENABLE_PROG enabling: makejvf -> yes' >&5 |
| 6935 | # Check whether --enable-makejvf was given. |
| 6936 | if test ${enable_makejvf+y} |
| 6937 | then : |
| 6938 | enableval=$enable_makejvf; |
| 6939 | fi |
| 6940 | # |
| 6941 | # |
| 6942 | case $enable_makejvf in #( |
| 6943 | yes|no) : |
| 6944 | ;; #( |
| 6945 | *) : |
| 6946 | |
| 6947 | enable_makejvf=$enable_all_pkgs |
| 6948 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makejvf=$enable_makejvf'" >&5 |
| 6949 | printf "%s\n" "$as_me: Assuming \`--enable-makejvf=$enable_makejvf'" >&6;} |
| 6950 | ac_configure_args="$ac_configure_args '--enable-makejvf=$enable_makejvf'" |
| 6951 | ;; |
| 6952 | esac |
| 6953 | # |
| 6954 | # setting need_ for each of [ptexenc]: |
| 6955 | |
| 6956 | test "x$enable_makejvf" = xno || { |
| 6957 | need_ptexenc=yes |
| 6958 | } |
| 6959 | |
| 6960 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=makejvf)' >&5 |
| 6961 | |
| 6962 | ## texk/mendexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/mendexk/ |
| 6963 | ## configure options and TL libraries required for mendexk |
| 6964 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=mendexk, libs=ptexenc, options=, comment=.' >&5 |
| 6965 | echo 'tldbg:KPSE_ENABLE_PROG enabling: mendexk -> yes' >&5 |
| 6966 | # Check whether --enable-mendexk was given. |
| 6967 | if test ${enable_mendexk+y} |
| 6968 | then : |
| 6969 | enableval=$enable_mendexk; |
| 6970 | fi |
| 6971 | # |
| 6972 | # |
| 6973 | case $enable_mendexk in #( |
| 6974 | yes|no) : |
| 6975 | ;; #( |
| 6976 | *) : |
| 6977 | |
| 6978 | enable_mendexk=$enable_all_pkgs |
| 6979 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-mendexk=$enable_mendexk'" >&5 |
| 6980 | printf "%s\n" "$as_me: Assuming \`--enable-mendexk=$enable_mendexk'" >&6;} |
| 6981 | ac_configure_args="$ac_configure_args '--enable-mendexk=$enable_mendexk'" |
| 6982 | ;; |
| 6983 | esac |
| 6984 | # |
| 6985 | # setting need_ for each of [ptexenc]: |
| 6986 | |
| 6987 | test "x$enable_mendexk" = xno || { |
| 6988 | need_ptexenc=yes |
| 6989 | } |
| 6990 | |
| 6991 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=mendexk)' >&5 |
| 6992 | |
| 6993 | ## texk/musixtnt/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/musixtnt/ |
| 6994 | ## configure options and TL libraries required for musixtnt |
| 6995 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=musixtnt, libs=kpathsea, options=, comment=.' >&5 |
| 6996 | echo 'tldbg:KPSE_ENABLE_PROG enabling: musixtnt -> yes' >&5 |
| 6997 | # Check whether --enable-musixtnt was given. |
| 6998 | if test ${enable_musixtnt+y} |
| 6999 | then : |
| 7000 | enableval=$enable_musixtnt; |
| 7001 | fi |
| 7002 | # |
| 7003 | # |
| 7004 | case $enable_musixtnt in #( |
| 7005 | yes|no) : |
| 7006 | ;; #( |
| 7007 | *) : |
| 7008 | |
| 7009 | enable_musixtnt=$enable_all_pkgs |
| 7010 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-musixtnt=$enable_musixtnt'" >&5 |
| 7011 | printf "%s\n" "$as_me: Assuming \`--enable-musixtnt=$enable_musixtnt'" >&6;} |
| 7012 | ac_configure_args="$ac_configure_args '--enable-musixtnt=$enable_musixtnt'" |
| 7013 | ;; |
| 7014 | esac |
| 7015 | # |
| 7016 | # setting need_ for each of [kpathsea]: |
| 7017 | |
| 7018 | test "x$enable_musixtnt" = xno || { |
| 7019 | need_kpathsea=yes |
| 7020 | } |
| 7021 | |
| 7022 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=musixtnt)' >&5 |
| 7023 | |
| 7024 | ## texk/ps2pk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ps2pk/ |
| 7025 | ## configure options and TL libraries required for ps2pk |
| 7026 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=ps2pk, libs=kpathsea, options=, comment=.' >&5 |
| 7027 | echo 'tldbg:KPSE_ENABLE_PROG enabling: ps2pk -> yes' >&5 |
| 7028 | # Check whether --enable-ps2pk was given. |
| 7029 | if test ${enable_ps2pk+y} |
| 7030 | then : |
| 7031 | enableval=$enable_ps2pk; |
| 7032 | fi |
| 7033 | # |
| 7034 | # |
| 7035 | case $enable_ps2pk in #( |
| 7036 | yes|no) : |
| 7037 | ;; #( |
| 7038 | *) : |
| 7039 | |
| 7040 | enable_ps2pk=$enable_all_pkgs |
| 7041 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2pk=$enable_ps2pk'" >&5 |
| 7042 | printf "%s\n" "$as_me: Assuming \`--enable-ps2pk=$enable_ps2pk'" >&6;} |
| 7043 | ac_configure_args="$ac_configure_args '--enable-ps2pk=$enable_ps2pk'" |
| 7044 | ;; |
| 7045 | esac |
| 7046 | # |
| 7047 | # setting need_ for each of [kpathsea]: |
| 7048 | |
| 7049 | test "x$enable_ps2pk" = xno || { |
| 7050 | need_kpathsea=yes |
| 7051 | } |
| 7052 | |
| 7053 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=ps2pk)' >&5 |
| 7054 | |
| 7055 | ## texk/psutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/psutils/ |
| 7056 | ## configure options and TL libraries required for psutils |
| 7057 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=psutils, libs=kpathsea libpaper, options=, comment=.' >&5 |
| 7058 | echo 'tldbg:KPSE_ENABLE_PROG enabling: psutils -> yes' >&5 |
| 7059 | # Check whether --enable-psutils was given. |
| 7060 | if test ${enable_psutils+y} |
| 7061 | then : |
| 7062 | enableval=$enable_psutils; |
| 7063 | fi |
| 7064 | # |
| 7065 | # |
| 7066 | case $enable_psutils in #( |
| 7067 | yes|no) : |
| 7068 | ;; #( |
| 7069 | *) : |
| 7070 | |
| 7071 | enable_psutils=$enable_all_pkgs |
| 7072 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-psutils=$enable_psutils'" >&5 |
| 7073 | printf "%s\n" "$as_me: Assuming \`--enable-psutils=$enable_psutils'" >&6;} |
| 7074 | ac_configure_args="$ac_configure_args '--enable-psutils=$enable_psutils'" |
| 7075 | ;; |
| 7076 | esac |
| 7077 | # |
| 7078 | # setting need_ for each of [kpathsea libpaper]: |
| 7079 | |
| 7080 | test "x$enable_psutils" = xno || { |
| 7081 | need_kpathsea=yes |
| 7082 | need_libpaper=yes |
| 7083 | } |
| 7084 | |
| 7085 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=psutils)' >&5 |
| 7086 | |
| 7087 | ## texk/seetexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/seetexk/ |
| 7088 | ## configure options and TL libraries required for seetexk |
| 7089 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=seetexk, libs=kpathsea, options=, comment=.' >&5 |
| 7090 | echo 'tldbg:KPSE_ENABLE_PROG enabling: seetexk -> yes' >&5 |
| 7091 | # Check whether --enable-seetexk was given. |
| 7092 | if test ${enable_seetexk+y} |
| 7093 | then : |
| 7094 | enableval=$enable_seetexk; |
| 7095 | fi |
| 7096 | # |
| 7097 | # |
| 7098 | case $enable_seetexk in #( |
| 7099 | yes|no) : |
| 7100 | ;; #( |
| 7101 | *) : |
| 7102 | |
| 7103 | enable_seetexk=$enable_all_pkgs |
| 7104 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-seetexk=$enable_seetexk'" >&5 |
| 7105 | printf "%s\n" "$as_me: Assuming \`--enable-seetexk=$enable_seetexk'" >&6;} |
| 7106 | ac_configure_args="$ac_configure_args '--enable-seetexk=$enable_seetexk'" |
| 7107 | ;; |
| 7108 | esac |
| 7109 | # |
| 7110 | # setting need_ for each of [kpathsea]: |
| 7111 | |
| 7112 | test "x$enable_seetexk" = xno || { |
| 7113 | need_kpathsea=yes |
| 7114 | } |
| 7115 | |
| 7116 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=seetexk)' >&5 |
| 7117 | |
| 7118 | ## texk/tex4htk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tex4htk/ |
| 7119 | ## configure options and TL libraries required for tex4htk |
| 7120 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=tex4htk, libs=kpathsea, options=, comment=.' >&5 |
| 7121 | echo 'tldbg:KPSE_ENABLE_PROG enabling: tex4htk -> yes' >&5 |
| 7122 | # Check whether --enable-tex4htk was given. |
| 7123 | if test ${enable_tex4htk+y} |
| 7124 | then : |
| 7125 | enableval=$enable_tex4htk; |
| 7126 | fi |
| 7127 | # |
| 7128 | # |
| 7129 | case $enable_tex4htk in #( |
| 7130 | yes|no) : |
| 7131 | ;; #( |
| 7132 | *) : |
| 7133 | |
| 7134 | enable_tex4htk=$enable_all_pkgs |
| 7135 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&5 |
| 7136 | printf "%s\n" "$as_me: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&6;} |
| 7137 | ac_configure_args="$ac_configure_args '--enable-tex4htk=$enable_tex4htk'" |
| 7138 | ;; |
| 7139 | esac |
| 7140 | # |
| 7141 | # setting need_ for each of [kpathsea]: |
| 7142 | |
| 7143 | test "x$enable_tex4htk" = xno || { |
| 7144 | need_kpathsea=yes |
| 7145 | } |
| 7146 | |
| 7147 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=tex4htk)' >&5 |
| 7148 | |
| 7149 | ## texk/ttf2pk2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttf2pk2/ |
| 7150 | ## configure options and TL libraries required for ttf2pk |
| 7151 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=ttf2pk2, libs=kpathsea freetype2, options=, comment=.' >&5 |
| 7152 | echo 'tldbg:KPSE_ENABLE_PROG enabling: ttf2pk2 -> yes' >&5 |
| 7153 | # Check whether --enable-ttf2pk2 was given. |
| 7154 | if test ${enable_ttf2pk2+y} |
| 7155 | then : |
| 7156 | enableval=$enable_ttf2pk2; |
| 7157 | fi |
| 7158 | # |
| 7159 | # |
| 7160 | case $enable_ttf2pk2 in #( |
| 7161 | yes|no) : |
| 7162 | ;; #( |
| 7163 | *) : |
| 7164 | |
| 7165 | enable_ttf2pk2=$enable_all_pkgs |
| 7166 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&5 |
| 7167 | printf "%s\n" "$as_me: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&6;} |
| 7168 | ac_configure_args="$ac_configure_args '--enable-ttf2pk2=$enable_ttf2pk2'" |
| 7169 | ;; |
| 7170 | esac |
| 7171 | # |
| 7172 | # setting need_ for each of [kpathsea freetype2]: |
| 7173 | |
| 7174 | test "x$enable_ttf2pk2" = xno || { |
| 7175 | need_kpathsea=yes |
| 7176 | need_freetype2=yes |
| 7177 | } |
| 7178 | |
| 7179 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=ttf2pk2)' >&5 |
| 7180 | |
| 7181 | ## texk/ttfdump/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttfdump/ |
| 7182 | ## configure options and TL libraries required for ttfdump |
| 7183 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=ttfdump, libs=kpathsea, options=, comment=.' >&5 |
| 7184 | echo 'tldbg:KPSE_ENABLE_PROG enabling: ttfdump -> yes' >&5 |
| 7185 | # Check whether --enable-ttfdump was given. |
| 7186 | if test ${enable_ttfdump+y} |
| 7187 | then : |
| 7188 | enableval=$enable_ttfdump; |
| 7189 | fi |
| 7190 | # |
| 7191 | # |
| 7192 | case $enable_ttfdump in #( |
| 7193 | yes|no) : |
| 7194 | ;; #( |
| 7195 | *) : |
| 7196 | |
| 7197 | enable_ttfdump=$enable_all_pkgs |
| 7198 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&5 |
| 7199 | printf "%s\n" "$as_me: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&6;} |
| 7200 | ac_configure_args="$ac_configure_args '--enable-ttfdump=$enable_ttfdump'" |
| 7201 | ;; |
| 7202 | esac |
| 7203 | # |
| 7204 | # setting need_ for each of [kpathsea]: |
| 7205 | |
| 7206 | test "x$enable_ttfdump" = xno || { |
| 7207 | need_kpathsea=yes |
| 7208 | } |
| 7209 | |
| 7210 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=ttfdump)' >&5 |
| 7211 | |
| 7212 | ## texk/upmendex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/upmendex/ |
| 7213 | ## configure options and TL libraries required for upmendex |
| 7214 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=upmendex, libs=kpathsea icu, options=, comment=.' >&5 |
| 7215 | echo 'tldbg:KPSE_ENABLE_PROG enabling: upmendex -> yes' >&5 |
| 7216 | # Check whether --enable-upmendex was given. |
| 7217 | if test ${enable_upmendex+y} |
| 7218 | then : |
| 7219 | enableval=$enable_upmendex; |
| 7220 | fi |
| 7221 | # |
| 7222 | # |
| 7223 | case $enable_upmendex in #( |
| 7224 | yes|no) : |
| 7225 | ;; #( |
| 7226 | *) : |
| 7227 | |
| 7228 | enable_upmendex=$enable_all_pkgs |
| 7229 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-upmendex=$enable_upmendex'" >&5 |
| 7230 | printf "%s\n" "$as_me: Assuming \`--enable-upmendex=$enable_upmendex'" >&6;} |
| 7231 | ac_configure_args="$ac_configure_args '--enable-upmendex=$enable_upmendex'" |
| 7232 | ;; |
| 7233 | esac |
| 7234 | # |
| 7235 | # setting need_ for each of [kpathsea icu]: |
| 7236 | |
| 7237 | test "x$enable_upmendex" = xno || { |
| 7238 | need_kpathsea=yes |
| 7239 | need_icu=yes |
| 7240 | } |
| 7241 | |
| 7242 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=upmendex)' >&5 |
| 7243 | |
| 7244 | ## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ |
| 7245 | ## configure options and TL libraries required for xdvik |
| 7246 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=xdvik, libs=kpathsea freetype2, options=x, comment=.' >&5 |
| 7247 | echo 'tldbg:KPSE_ENABLE_PROG enabling: xdvik -> yes' >&5 |
| 7248 | # Check whether --enable-xdvik was given. |
| 7249 | if test ${enable_xdvik+y} |
| 7250 | then : |
| 7251 | enableval=$enable_xdvik; |
| 7252 | fi |
| 7253 | # |
| 7254 | if test "x$with_x" = xno |
| 7255 | then : |
| 7256 | case $enable_xdvik in #( |
| 7257 | "") : |
| 7258 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xdvik'" >&5 |
| 7259 | printf "%s\n" "$as_me: \`--without-x' -> \`--disable-xdvik'" >&6;} |
| 7260 | enable_xdvik=no |
| 7261 | ac_configure_args="$ac_configure_args '--disable-xdvik'" ;; #( |
| 7262 | yes) : |
| 7263 | as_fn_error $? "Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" "$LINENO" 5 ;; #( |
| 7264 | *) : |
| 7265 | ;; |
| 7266 | esac |
| 7267 | fi |
| 7268 | # |
| 7269 | case $enable_xdvik in #( |
| 7270 | yes|no) : |
| 7271 | ;; #( |
| 7272 | *) : |
| 7273 | |
| 7274 | enable_xdvik=$enable_all_pkgs |
| 7275 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvik=$enable_xdvik'" >&5 |
| 7276 | printf "%s\n" "$as_me: Assuming \`--enable-xdvik=$enable_xdvik'" >&6;} |
| 7277 | ac_configure_args="$ac_configure_args '--enable-xdvik=$enable_xdvik'" |
| 7278 | ;; |
| 7279 | esac |
| 7280 | # |
| 7281 | # setting need_ for each of [kpathsea freetype2]: |
| 7282 | |
| 7283 | test "x$enable_xdvik" = xno || { |
| 7284 | need_kpathsea=yes |
| 7285 | need_freetype2=yes |
| 7286 | } |
| 7287 | |
| 7288 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=xdvik)' >&5 |
| 7289 | |
| 7290 | ## texk/xdvik/ac/xdvik.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ |
| 7291 | ## configure options for xdvik |
| 7292 | |
| 7293 | # Check whether --with-xdvi-x-toolkit was given. |
| 7294 | if test ${with_xdvi_x_toolkit+y} |
| 7295 | then : |
| 7296 | withval=$with_xdvi_x_toolkit; |
| 7297 | fi |
| 7298 | |
| 7299 | |
| 7300 | ## texk/xdvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvipsk/ |
| 7301 | ## configure options and TL libraries required for xdvipsk |
| 7302 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=xdvipsk, libs=kpathsea zlib libpng freetype2 lua53, options=, comment=.' >&5 |
| 7303 | echo 'tldbg:KPSE_ENABLE_PROG enabling: xdvipsk -> yes' >&5 |
| 7304 | # Check whether --enable-xdvipsk was given. |
| 7305 | if test ${enable_xdvipsk+y} |
| 7306 | then : |
| 7307 | enableval=$enable_xdvipsk; |
| 7308 | fi |
| 7309 | # |
| 7310 | # |
| 7311 | case $enable_xdvipsk in #( |
| 7312 | yes|no) : |
| 7313 | ;; #( |
| 7314 | *) : |
| 7315 | |
| 7316 | enable_xdvipsk=$enable_all_pkgs |
| 7317 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvipsk=$enable_xdvipsk'" >&5 |
| 7318 | printf "%s\n" "$as_me: Assuming \`--enable-xdvipsk=$enable_xdvipsk'" >&6;} |
| 7319 | ac_configure_args="$ac_configure_args '--enable-xdvipsk=$enable_xdvipsk'" |
| 7320 | ;; |
| 7321 | esac |
| 7322 | # |
| 7323 | # setting need_ for each of [kpathsea zlib libpng freetype2 lua53]: |
| 7324 | |
| 7325 | test "x$enable_xdvipsk" = xno || { |
| 7326 | need_kpathsea=yes |
| 7327 | need_zlib=yes |
| 7328 | need_libpng=yes |
| 7329 | need_freetype2=yes |
| 7330 | need_lua53=yes |
| 7331 | } |
| 7332 | |
| 7333 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=xdvipsk)' >&5 |
| 7334 | |
| 7335 | ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/ |
| 7336 | ## configure options and TL libraries required for texlive |
| 7337 | echo 'tldbg:KPSE_ENABLE_PROG called: prog=texlive, libs=, options=, comment=TeX Live scripts.' >&5 |
| 7338 | echo 'tldbg:KPSE_ENABLE_PROG enabling: texlive -> yes' >&5 |
| 7339 | # Check whether --enable-texlive was given. |
| 7340 | if test ${enable_texlive+y} |
| 7341 | then : |
| 7342 | enableval=$enable_texlive; |
| 7343 | fi |
| 7344 | # |
| 7345 | # |
| 7346 | case $enable_texlive in #( |
| 7347 | yes|no) : |
| 7348 | ;; #( |
| 7349 | *) : |
| 7350 | |
| 7351 | enable_texlive=$enable_all_pkgs |
| 7352 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5 |
| 7353 | printf "%s\n" "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;} |
| 7354 | ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'" |
| 7355 | ;; |
| 7356 | esac |
| 7357 | # |
| 7358 | # setting need_ for each of []: |
| 7359 | |
| 7360 | echo 'tldbg:KPSE_ENABLE_PROG done (prog=texlive)' >&5 |
| 7361 | |
| 7362 | ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/ |
| 7363 | ## configure options for texlive |
| 7364 | # Check whether --enable-linked-scripts was given. |
| 7365 | if test ${enable_linked_scripts+y} |
| 7366 | then : |
| 7367 | enableval=$enable_linked_scripts; |
| 7368 | fi |
| 7369 | |
| 7370 | |
| 7371 | ## libs/pplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pplib/ |
| 7372 | ## configure options and TL libraries required for pplib |
| 7373 | |
| 7374 | test "x$need_pplib" = xyes && { |
| 7375 | need_zlib=yes |
| 7376 | } |
| 7377 | |
| 7378 | ## libs/harfbuzz/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/harfbuzz/ |
| 7379 | ## configure options and TL libraries required for harfbuzz |
| 7380 | |
| 7381 | # Check whether --with-system-harfbuzz was given. |
| 7382 | if test ${with_system_harfbuzz+y} |
| 7383 | then : |
| 7384 | withval=$with_system_harfbuzz; |
| 7385 | fi |
| 7386 | if test "x$with_system_harfbuzz" = x; then |
| 7387 | if test -f $srcdir/libs/harfbuzz/configure; then |
| 7388 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`harfbuzz' headers and library from TL tree" >&5 |
| 7389 | printf "%s\n" "$as_me: Assuming \`harfbuzz' headers and library from TL tree" >&6;} |
| 7390 | with_system_harfbuzz=no |
| 7391 | else |
| 7392 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`harfbuzz' headers and library" >&5 |
| 7393 | printf "%s\n" "$as_me: Assuming installed \`harfbuzz' headers and library" >&6;} |
| 7394 | with_system_harfbuzz=yes |
| 7395 | fi |
| 7396 | ac_configure_args="$ac_configure_args '--with-system-harfbuzz=$with_system_harfbuzz'" |
| 7397 | elif test "x$with_system_harfbuzz" = xyes; then |
| 7398 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`harfbuzz' headers and library" >&5 |
| 7399 | printf "%s\n" "$as_me: Using installed \`harfbuzz' headers and library" >&6;} |
| 7400 | else |
| 7401 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`harfbuzz' headers and library from TL tree" >&5 |
| 7402 | printf "%s\n" "$as_me: Using \`harfbuzz' headers and library from TL tree" >&6;} |
| 7403 | if test "x$with_system_harfbuzz" != xno; then |
| 7404 | with_system_harfbuzz=no |
| 7405 | ac_configure_args="$ac_configure_args '--without-system-harfbuzz'" |
| 7406 | fi |
| 7407 | fi |
| 7408 | if test "x$with_system_harfbuzz" = xyes; then |
| 7409 | if test "x$with_system_graphite2" = x; then |
| 7410 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`graphite2' headers and library" >&5 |
| 7411 | printf "%s\n" "$as_me: -> installed \`graphite2' headers and library" >&6;} |
| 7412 | with_system_graphite2=yes |
| 7413 | ac_configure_args="$ac_configure_args '--with-system-graphite2'" |
| 7414 | elif test "x$with_system_graphite2" != xyes; then |
| 7415 | as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-graphite2'" "$LINENO" 5 |
| 7416 | fi |
| 7417 | if test "x$with_system_icu" = x; then |
| 7418 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`icu' headers and library" >&5 |
| 7419 | printf "%s\n" "$as_me: -> installed \`icu' headers and library" >&6;} |
| 7420 | with_system_icu=yes |
| 7421 | ac_configure_args="$ac_configure_args '--with-system-icu'" |
| 7422 | elif test "x$with_system_icu" != xyes; then |
| 7423 | as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-icu'" "$LINENO" 5 |
| 7424 | fi |
| 7425 | fi |
| 7426 | |
| 7427 | test "x$need_harfbuzz" = xyes && { |
| 7428 | need_graphite2=yes |
| 7429 | need_icu=yes |
| 7430 | } |
| 7431 | |
| 7432 | ## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ |
| 7433 | ## configure options and TL libraries required for icu (modified for XeTeX) |
| 7434 | |
| 7435 | # Check whether --with-system-icu was given. |
| 7436 | if test ${with_system_icu+y} |
| 7437 | then : |
| 7438 | withval=$with_system_icu; |
| 7439 | fi |
| 7440 | if test "x$with_system_icu" = x; then |
| 7441 | if test -f $srcdir/libs/icu/configure; then |
| 7442 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`icu' headers and library from TL tree" >&5 |
| 7443 | printf "%s\n" "$as_me: Assuming \`icu' headers and library from TL tree" >&6;} |
| 7444 | with_system_icu=no |
| 7445 | else |
| 7446 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`icu' headers and library" >&5 |
| 7447 | printf "%s\n" "$as_me: Assuming installed \`icu' headers and library" >&6;} |
| 7448 | with_system_icu=yes |
| 7449 | fi |
| 7450 | ac_configure_args="$ac_configure_args '--with-system-icu=$with_system_icu'" |
| 7451 | elif test "x$with_system_icu" = xyes; then |
| 7452 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`icu' headers and library" >&5 |
| 7453 | printf "%s\n" "$as_me: Using installed \`icu' headers and library" >&6;} |
| 7454 | else |
| 7455 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`icu' headers and library from TL tree" >&5 |
| 7456 | printf "%s\n" "$as_me: Using \`icu' headers and library from TL tree" >&6;} |
| 7457 | if test "x$with_system_icu" != xno; then |
| 7458 | with_system_icu=no |
| 7459 | ac_configure_args="$ac_configure_args '--without-system-icu'" |
| 7460 | fi |
| 7461 | fi |
| 7462 | |
| 7463 | ## libs/teckit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/teckit/ |
| 7464 | ## configure options and TL libraries required for teckit |
| 7465 | |
| 7466 | # Check whether --with-system-teckit was given. |
| 7467 | if test ${with_system_teckit+y} |
| 7468 | then : |
| 7469 | withval=$with_system_teckit; |
| 7470 | fi |
| 7471 | if test "x$with_system_teckit" = x; then |
| 7472 | if test -f $srcdir/libs/teckit/configure; then |
| 7473 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`teckit' headers and library from TL tree" >&5 |
| 7474 | printf "%s\n" "$as_me: Assuming \`teckit' headers and library from TL tree" >&6;} |
| 7475 | with_system_teckit=no |
| 7476 | else |
| 7477 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`teckit' headers and library" >&5 |
| 7478 | printf "%s\n" "$as_me: Assuming installed \`teckit' headers and library" >&6;} |
| 7479 | with_system_teckit=yes |
| 7480 | fi |
| 7481 | ac_configure_args="$ac_configure_args '--with-system-teckit=$with_system_teckit'" |
| 7482 | elif test "x$with_system_teckit" = xyes; then |
| 7483 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`teckit' headers and library" >&5 |
| 7484 | printf "%s\n" "$as_me: Using installed \`teckit' headers and library" >&6;} |
| 7485 | else |
| 7486 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`teckit' headers and library from TL tree" >&5 |
| 7487 | printf "%s\n" "$as_me: Using \`teckit' headers and library from TL tree" >&6;} |
| 7488 | if test "x$with_system_teckit" != xno; then |
| 7489 | with_system_teckit=no |
| 7490 | ac_configure_args="$ac_configure_args '--without-system-teckit'" |
| 7491 | fi |
| 7492 | fi |
| 7493 | if test "x$with_system_teckit" = xyes; then |
| 7494 | if test "x$with_system_zlib" = x; then |
| 7495 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 |
| 7496 | printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;} |
| 7497 | with_system_zlib=yes |
| 7498 | ac_configure_args="$ac_configure_args '--with-system-zlib'" |
| 7499 | elif test "x$with_system_zlib" != xyes; then |
| 7500 | as_fn_error $? "Sorry, \`--with-system-teckit' requires \`--with-system-zlib'" "$LINENO" 5 |
| 7501 | fi |
| 7502 | fi |
| 7503 | |
| 7504 | test "x$need_teckit" = xyes && { |
| 7505 | need_zlib=yes |
| 7506 | } |
| 7507 | |
| 7508 | ## libs/graphite2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite2/ |
| 7509 | ## configure options and TL libraries required for graphite2 |
| 7510 | |
| 7511 | # Check whether --with-system-graphite2 was given. |
| 7512 | if test ${with_system_graphite2+y} |
| 7513 | then : |
| 7514 | withval=$with_system_graphite2; |
| 7515 | fi |
| 7516 | if test "x$with_system_graphite2" = x; then |
| 7517 | if test -f $srcdir/libs/graphite2/configure; then |
| 7518 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`graphite2' headers and library from TL tree" >&5 |
| 7519 | printf "%s\n" "$as_me: Assuming \`graphite2' headers and library from TL tree" >&6;} |
| 7520 | with_system_graphite2=no |
| 7521 | else |
| 7522 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`graphite2' headers and library" >&5 |
| 7523 | printf "%s\n" "$as_me: Assuming installed \`graphite2' headers and library" >&6;} |
| 7524 | with_system_graphite2=yes |
| 7525 | fi |
| 7526 | ac_configure_args="$ac_configure_args '--with-system-graphite2=$with_system_graphite2'" |
| 7527 | elif test "x$with_system_graphite2" = xyes; then |
| 7528 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`graphite2' headers and library" >&5 |
| 7529 | printf "%s\n" "$as_me: Using installed \`graphite2' headers and library" >&6;} |
| 7530 | else |
| 7531 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`graphite2' headers and library from TL tree" >&5 |
| 7532 | printf "%s\n" "$as_me: Using \`graphite2' headers and library from TL tree" >&6;} |
| 7533 | if test "x$with_system_graphite2" != xno; then |
| 7534 | with_system_graphite2=no |
| 7535 | ac_configure_args="$ac_configure_args '--without-system-graphite2'" |
| 7536 | fi |
| 7537 | fi |
| 7538 | |
| 7539 | ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/ |
| 7540 | ## configure options and TL libraries required for zziplib |
| 7541 | |
| 7542 | # Check whether --with-system-zziplib was given. |
| 7543 | if test ${with_system_zziplib+y} |
| 7544 | then : |
| 7545 | withval=$with_system_zziplib; |
| 7546 | fi |
| 7547 | if test "x$with_system_zziplib" = x; then |
| 7548 | if test -f $srcdir/libs/zziplib/configure; then |
| 7549 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5 |
| 7550 | printf "%s\n" "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;} |
| 7551 | with_system_zziplib=no |
| 7552 | else |
| 7553 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5 |
| 7554 | printf "%s\n" "$as_me: Assuming installed \`zziplib' headers and library" >&6;} |
| 7555 | with_system_zziplib=yes |
| 7556 | fi |
| 7557 | ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'" |
| 7558 | elif test "x$with_system_zziplib" = xyes; then |
| 7559 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library" >&5 |
| 7560 | printf "%s\n" "$as_me: Using installed \`zziplib' headers and library" >&6;} |
| 7561 | else |
| 7562 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`zziplib' headers and library from TL tree" >&5 |
| 7563 | printf "%s\n" "$as_me: Using \`zziplib' headers and library from TL tree" >&6;} |
| 7564 | if test "x$with_system_zziplib" != xno; then |
| 7565 | with_system_zziplib=no |
| 7566 | ac_configure_args="$ac_configure_args '--without-system-zziplib'" |
| 7567 | fi |
| 7568 | fi |
| 7569 | if test "x$with_system_zziplib" = xyes; then |
| 7570 | if test "x$with_system_zlib" = x; then |
| 7571 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 |
| 7572 | printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;} |
| 7573 | with_system_zlib=yes |
| 7574 | ac_configure_args="$ac_configure_args '--with-system-zlib'" |
| 7575 | elif test "x$with_system_zlib" != xyes; then |
| 7576 | as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5 |
| 7577 | fi |
| 7578 | fi |
| 7579 | |
| 7580 | test "x$need_zziplib" = xyes && { |
| 7581 | need_zlib=yes |
| 7582 | } |
| 7583 | |
| 7584 | ## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/ |
| 7585 | ## configure options and TL libraries required for xpdf |
| 7586 | : "kpse_xpdf_options - no-op" |
| 7587 | if test "x$with_system_xpdf" = x; then |
| 7588 | if test -f $srcdir/libs/xpdf/configure; then |
| 7589 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`xpdf' headers and library from TL tree" >&5 |
| 7590 | printf "%s\n" "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;} |
| 7591 | with_system_xpdf=no |
| 7592 | else |
| 7593 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`xpdf' headers and library" >&5 |
| 7594 | printf "%s\n" "$as_me: Assuming installed \`xpdf' headers and library" >&6;} |
| 7595 | with_system_xpdf=yes |
| 7596 | fi |
| 7597 | ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'" |
| 7598 | elif test "x$with_system_xpdf" = xyes; then |
| 7599 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`xpdf' headers and library" >&5 |
| 7600 | printf "%s\n" "$as_me: Using installed \`xpdf' headers and library" >&6;} |
| 7601 | else |
| 7602 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`xpdf' headers and library from TL tree" >&5 |
| 7603 | printf "%s\n" "$as_me: Using \`xpdf' headers and library from TL tree" >&6;} |
| 7604 | if test "x$with_system_xpdf" != xno; then |
| 7605 | with_system_xpdf=no |
| 7606 | ac_configure_args="$ac_configure_args '--without-system-xpdf'" |
| 7607 | fi |
| 7608 | fi |
| 7609 | |
| 7610 | ## libs/mpfi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfi/ |
| 7611 | ## configure options and TL libraries required for mpfi |
| 7612 | |
| 7613 | # Check whether --with-system-mpfi was given. |
| 7614 | if test ${with_system_mpfi+y} |
| 7615 | then : |
| 7616 | withval=$with_system_mpfi; |
| 7617 | fi |
| 7618 | |
| 7619 | # Check whether --with-mpfi-includes was given. |
| 7620 | if test ${with_mpfi_includes+y} |
| 7621 | then : |
| 7622 | withval=$with_mpfi_includes; |
| 7623 | fi |
| 7624 | |
| 7625 | # Check whether --with-mpfi-libdir was given. |
| 7626 | if test ${with_mpfi_libdir+y} |
| 7627 | then : |
| 7628 | withval=$with_mpfi_libdir; |
| 7629 | fi |
| 7630 | if test "x$with_system_mpfi" = x; then |
| 7631 | if test -f $srcdir/libs/mpfi/configure; then |
| 7632 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`mpfi' headers and library from TL tree" >&5 |
| 7633 | printf "%s\n" "$as_me: Assuming \`mpfi' headers and library from TL tree" >&6;} |
| 7634 | with_system_mpfi=no |
| 7635 | else |
| 7636 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfi' headers and library" >&5 |
| 7637 | printf "%s\n" "$as_me: Assuming installed \`mpfi' headers and library" >&6;} |
| 7638 | with_system_mpfi=yes |
| 7639 | fi |
| 7640 | ac_configure_args="$ac_configure_args '--with-system-mpfi=$with_system_mpfi'" |
| 7641 | elif test "x$with_system_mpfi" = xyes; then |
| 7642 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`mpfi' headers and library" >&5 |
| 7643 | printf "%s\n" "$as_me: Using installed \`mpfi' headers and library" >&6;} |
| 7644 | else |
| 7645 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`mpfi' headers and library from TL tree" >&5 |
| 7646 | printf "%s\n" "$as_me: Using \`mpfi' headers and library from TL tree" >&6;} |
| 7647 | if test "x$with_system_mpfi" != xno; then |
| 7648 | with_system_mpfi=no |
| 7649 | ac_configure_args="$ac_configure_args '--without-system-mpfi'" |
| 7650 | fi |
| 7651 | fi |
| 7652 | if test "x$with_system_mpfi" = xyes; then |
| 7653 | if test "x$with_system_mpfr" = x; then |
| 7654 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`mpfr' headers and library" >&5 |
| 7655 | printf "%s\n" "$as_me: -> installed \`mpfr' headers and library" >&6;} |
| 7656 | with_system_mpfr=yes |
| 7657 | ac_configure_args="$ac_configure_args '--with-system-mpfr'" |
| 7658 | elif test "x$with_system_mpfr" != xyes; then |
| 7659 | as_fn_error $? "Sorry, \`--with-system-mpfi' requires \`--with-system-mpfr'" "$LINENO" 5 |
| 7660 | fi |
| 7661 | if test "x$with_system_gmp" = x; then |
| 7662 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5 |
| 7663 | printf "%s\n" "$as_me: -> installed \`gmp' headers and library" >&6;} |
| 7664 | with_system_gmp=yes |
| 7665 | ac_configure_args="$ac_configure_args '--with-system-gmp'" |
| 7666 | elif test "x$with_system_gmp" != xyes; then |
| 7667 | as_fn_error $? "Sorry, \`--with-system-mpfi' requires \`--with-system-gmp'" "$LINENO" 5 |
| 7668 | fi |
| 7669 | fi |
| 7670 | |
| 7671 | test "x$need_mpfi" = xyes && { |
| 7672 | need_mpfr=yes |
| 7673 | need_gmp=yes |
| 7674 | } |
| 7675 | |
| 7676 | ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/ |
| 7677 | ## configure options and TL libraries required for mpfr |
| 7678 | |
| 7679 | # Check whether --with-system-mpfr was given. |
| 7680 | if test ${with_system_mpfr+y} |
| 7681 | then : |
| 7682 | withval=$with_system_mpfr; |
| 7683 | fi |
| 7684 | |
| 7685 | # Check whether --with-mpfr-includes was given. |
| 7686 | if test ${with_mpfr_includes+y} |
| 7687 | then : |
| 7688 | withval=$with_mpfr_includes; |
| 7689 | fi |
| 7690 | |
| 7691 | # Check whether --with-mpfr-libdir was given. |
| 7692 | if test ${with_mpfr_libdir+y} |
| 7693 | then : |
| 7694 | withval=$with_mpfr_libdir; |
| 7695 | fi |
| 7696 | if test "x$with_system_mpfr" = x; then |
| 7697 | if test -f $srcdir/libs/mpfr/configure; then |
| 7698 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5 |
| 7699 | printf "%s\n" "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;} |
| 7700 | with_system_mpfr=no |
| 7701 | else |
| 7702 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5 |
| 7703 | printf "%s\n" "$as_me: Assuming installed \`mpfr' headers and library" >&6;} |
| 7704 | with_system_mpfr=yes |
| 7705 | fi |
| 7706 | ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'" |
| 7707 | elif test "x$with_system_mpfr" = xyes; then |
| 7708 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`mpfr' headers and library" >&5 |
| 7709 | printf "%s\n" "$as_me: Using installed \`mpfr' headers and library" >&6;} |
| 7710 | else |
| 7711 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`mpfr' headers and library from TL tree" >&5 |
| 7712 | printf "%s\n" "$as_me: Using \`mpfr' headers and library from TL tree" >&6;} |
| 7713 | if test "x$with_system_mpfr" != xno; then |
| 7714 | with_system_mpfr=no |
| 7715 | ac_configure_args="$ac_configure_args '--without-system-mpfr'" |
| 7716 | fi |
| 7717 | fi |
| 7718 | if test "x$with_system_mpfr" = xyes; then |
| 7719 | if test "x$with_system_gmp" = x; then |
| 7720 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5 |
| 7721 | printf "%s\n" "$as_me: -> installed \`gmp' headers and library" >&6;} |
| 7722 | with_system_gmp=yes |
| 7723 | ac_configure_args="$ac_configure_args '--with-system-gmp'" |
| 7724 | elif test "x$with_system_gmp" != xyes; then |
| 7725 | as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5 |
| 7726 | fi |
| 7727 | fi |
| 7728 | |
| 7729 | test "x$need_mpfr" = xyes && { |
| 7730 | need_gmp=yes |
| 7731 | } |
| 7732 | |
| 7733 | ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/ |
| 7734 | ## configure options and TL libraries required for gmp |
| 7735 | |
| 7736 | # Check whether --with-system-gmp was given. |
| 7737 | if test ${with_system_gmp+y} |
| 7738 | then : |
| 7739 | withval=$with_system_gmp; |
| 7740 | fi |
| 7741 | |
| 7742 | # Check whether --with-gmp-includes was given. |
| 7743 | if test ${with_gmp_includes+y} |
| 7744 | then : |
| 7745 | withval=$with_gmp_includes; |
| 7746 | fi |
| 7747 | |
| 7748 | # Check whether --with-gmp-libdir was given. |
| 7749 | if test ${with_gmp_libdir+y} |
| 7750 | then : |
| 7751 | withval=$with_gmp_libdir; |
| 7752 | fi |
| 7753 | if test "x$with_system_gmp" = x; then |
| 7754 | if test -f $srcdir/libs/gmp/configure; then |
| 7755 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5 |
| 7756 | printf "%s\n" "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;} |
| 7757 | with_system_gmp=no |
| 7758 | else |
| 7759 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5 |
| 7760 | printf "%s\n" "$as_me: Assuming installed \`gmp' headers and library" >&6;} |
| 7761 | with_system_gmp=yes |
| 7762 | fi |
| 7763 | ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'" |
| 7764 | elif test "x$with_system_gmp" = xyes; then |
| 7765 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`gmp' headers and library" >&5 |
| 7766 | printf "%s\n" "$as_me: Using installed \`gmp' headers and library" >&6;} |
| 7767 | else |
| 7768 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`gmp' headers and library from TL tree" >&5 |
| 7769 | printf "%s\n" "$as_me: Using \`gmp' headers and library from TL tree" >&6;} |
| 7770 | if test "x$with_system_gmp" != xno; then |
| 7771 | with_system_gmp=no |
| 7772 | ac_configure_args="$ac_configure_args '--without-system-gmp'" |
| 7773 | fi |
| 7774 | fi |
| 7775 | |
| 7776 | ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/ |
| 7777 | ## configure options and TL libraries required for cairo |
| 7778 | |
| 7779 | # Check whether --with-system-cairo was given. |
| 7780 | if test ${with_system_cairo+y} |
| 7781 | then : |
| 7782 | withval=$with_system_cairo; |
| 7783 | fi |
| 7784 | if test "x$with_system_cairo" = x; then |
| 7785 | if test -f $srcdir/libs/cairo/configure; then |
| 7786 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5 |
| 7787 | printf "%s\n" "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;} |
| 7788 | with_system_cairo=no |
| 7789 | else |
| 7790 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5 |
| 7791 | printf "%s\n" "$as_me: Assuming installed \`cairo' headers and library" >&6;} |
| 7792 | with_system_cairo=yes |
| 7793 | fi |
| 7794 | ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'" |
| 7795 | elif test "x$with_system_cairo" = xyes; then |
| 7796 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`cairo' headers and library" >&5 |
| 7797 | printf "%s\n" "$as_me: Using installed \`cairo' headers and library" >&6;} |
| 7798 | else |
| 7799 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`cairo' headers and library from TL tree" >&5 |
| 7800 | printf "%s\n" "$as_me: Using \`cairo' headers and library from TL tree" >&6;} |
| 7801 | if test "x$with_system_cairo" != xno; then |
| 7802 | with_system_cairo=no |
| 7803 | ac_configure_args="$ac_configure_args '--without-system-cairo'" |
| 7804 | fi |
| 7805 | fi |
| 7806 | if test "x$with_system_cairo" = xyes; then |
| 7807 | if test "x$with_system_pixman" = x; then |
| 7808 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5 |
| 7809 | printf "%s\n" "$as_me: -> installed \`pixman' headers and library" >&6;} |
| 7810 | with_system_pixman=yes |
| 7811 | ac_configure_args="$ac_configure_args '--with-system-pixman'" |
| 7812 | elif test "x$with_system_pixman" != xyes; then |
| 7813 | as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5 |
| 7814 | fi |
| 7815 | fi |
| 7816 | |
| 7817 | test "x$need_cairo" = xyes && { |
| 7818 | need_pixman=yes |
| 7819 | } |
| 7820 | |
| 7821 | ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/ |
| 7822 | ## configure options and TL libraries required for pixman |
| 7823 | |
| 7824 | # Check whether --with-system-pixman was given. |
| 7825 | if test ${with_system_pixman+y} |
| 7826 | then : |
| 7827 | withval=$with_system_pixman; |
| 7828 | fi |
| 7829 | if test "x$with_system_pixman" = x; then |
| 7830 | if test -f $srcdir/libs/pixman/configure; then |
| 7831 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5 |
| 7832 | printf "%s\n" "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;} |
| 7833 | with_system_pixman=no |
| 7834 | else |
| 7835 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5 |
| 7836 | printf "%s\n" "$as_me: Assuming installed \`pixman' headers and library" >&6;} |
| 7837 | with_system_pixman=yes |
| 7838 | fi |
| 7839 | ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'" |
| 7840 | elif test "x$with_system_pixman" = xyes; then |
| 7841 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`pixman' headers and library" >&5 |
| 7842 | printf "%s\n" "$as_me: Using installed \`pixman' headers and library" >&6;} |
| 7843 | else |
| 7844 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`pixman' headers and library from TL tree" >&5 |
| 7845 | printf "%s\n" "$as_me: Using \`pixman' headers and library from TL tree" >&6;} |
| 7846 | if test "x$with_system_pixman" != xno; then |
| 7847 | with_system_pixman=no |
| 7848 | ac_configure_args="$ac_configure_args '--without-system-pixman'" |
| 7849 | fi |
| 7850 | fi |
| 7851 | |
| 7852 | ## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ |
| 7853 | ## configure options and TL libraries required for gd |
| 7854 | |
| 7855 | # Check whether --with-system-gd was given. |
| 7856 | if test ${with_system_gd+y} |
| 7857 | then : |
| 7858 | withval=$with_system_gd; |
| 7859 | fi |
| 7860 | |
| 7861 | # Check whether --with-gd-includes was given. |
| 7862 | if test ${with_gd_includes+y} |
| 7863 | then : |
| 7864 | withval=$with_gd_includes; |
| 7865 | fi |
| 7866 | |
| 7867 | # Check whether --with-gd-libdir was given. |
| 7868 | if test ${with_gd_libdir+y} |
| 7869 | then : |
| 7870 | withval=$with_gd_libdir; |
| 7871 | fi |
| 7872 | if test "x$with_system_gd" = x; then |
| 7873 | if test -f $srcdir/libs/gd/configure; then |
| 7874 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`gd' headers and library from TL tree" >&5 |
| 7875 | printf "%s\n" "$as_me: Assuming \`gd' headers and library from TL tree" >&6;} |
| 7876 | with_system_gd=no |
| 7877 | else |
| 7878 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`gd' headers and library" >&5 |
| 7879 | printf "%s\n" "$as_me: Assuming installed \`gd' headers and library" >&6;} |
| 7880 | with_system_gd=yes |
| 7881 | fi |
| 7882 | ac_configure_args="$ac_configure_args '--with-system-gd=$with_system_gd'" |
| 7883 | elif test "x$with_system_gd" = xyes; then |
| 7884 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`gd' headers and library" >&5 |
| 7885 | printf "%s\n" "$as_me: Using installed \`gd' headers and library" >&6;} |
| 7886 | else |
| 7887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`gd' headers and library from TL tree" >&5 |
| 7888 | printf "%s\n" "$as_me: Using \`gd' headers and library from TL tree" >&6;} |
| 7889 | if test "x$with_system_gd" != xno; then |
| 7890 | with_system_gd=no |
| 7891 | ac_configure_args="$ac_configure_args '--without-system-gd'" |
| 7892 | fi |
| 7893 | fi |
| 7894 | if test "x$with_system_gd" = xyes; then |
| 7895 | if test "x$with_system_libpng" = x; then |
| 7896 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`libpng' headers and library" >&5 |
| 7897 | printf "%s\n" "$as_me: -> installed \`libpng' headers and library" >&6;} |
| 7898 | with_system_libpng=yes |
| 7899 | ac_configure_args="$ac_configure_args '--with-system-libpng'" |
| 7900 | elif test "x$with_system_libpng" != xyes; then |
| 7901 | as_fn_error $? "Sorry, \`--with-system-gd' requires \`--with-system-libpng'" "$LINENO" 5 |
| 7902 | fi |
| 7903 | if test "x$with_system_freetype2" = x; then |
| 7904 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`freetype2' headers and library" >&5 |
| 7905 | printf "%s\n" "$as_me: -> installed \`freetype2' headers and library" >&6;} |
| 7906 | with_system_freetype2=yes |
| 7907 | ac_configure_args="$ac_configure_args '--with-system-freetype2'" |
| 7908 | elif test "x$with_system_freetype2" != xyes; then |
| 7909 | as_fn_error $? "Sorry, \`--with-system-gd' requires \`--with-system-freetype2'" "$LINENO" 5 |
| 7910 | fi |
| 7911 | fi |
| 7912 | |
| 7913 | test "x$need_gd" = xyes && { |
| 7914 | need_libpng=yes |
| 7915 | need_freetype2=yes |
| 7916 | } |
| 7917 | |
| 7918 | ## libs/potrace/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/ |
| 7919 | ## configure options and TL libraries required for potrace |
| 7920 | |
| 7921 | # Check whether --with-system-potrace was given. |
| 7922 | if test ${with_system_potrace+y} |
| 7923 | then : |
| 7924 | withval=$with_system_potrace; |
| 7925 | fi |
| 7926 | |
| 7927 | # Check whether --with-potrace-includes was given. |
| 7928 | if test ${with_potrace_includes+y} |
| 7929 | then : |
| 7930 | withval=$with_potrace_includes; |
| 7931 | fi |
| 7932 | |
| 7933 | # Check whether --with-potrace-libdir was given. |
| 7934 | if test ${with_potrace_libdir+y} |
| 7935 | then : |
| 7936 | withval=$with_potrace_libdir; |
| 7937 | fi |
| 7938 | if test "x$with_system_potrace" = x; then |
| 7939 | if test -f $srcdir/libs/potrace/configure; then |
| 7940 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`potrace' headers and library from TL tree" >&5 |
| 7941 | printf "%s\n" "$as_me: Assuming \`potrace' headers and library from TL tree" >&6;} |
| 7942 | with_system_potrace=no |
| 7943 | else |
| 7944 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`potrace' headers and library" >&5 |
| 7945 | printf "%s\n" "$as_me: Assuming installed \`potrace' headers and library" >&6;} |
| 7946 | with_system_potrace=yes |
| 7947 | fi |
| 7948 | ac_configure_args="$ac_configure_args '--with-system-potrace=$with_system_potrace'" |
| 7949 | elif test "x$with_system_potrace" = xyes; then |
| 7950 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`potrace' headers and library" >&5 |
| 7951 | printf "%s\n" "$as_me: Using installed \`potrace' headers and library" >&6;} |
| 7952 | else |
| 7953 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`potrace' headers and library from TL tree" >&5 |
| 7954 | printf "%s\n" "$as_me: Using \`potrace' headers and library from TL tree" >&6;} |
| 7955 | if test "x$with_system_potrace" != xno; then |
| 7956 | with_system_potrace=no |
| 7957 | ac_configure_args="$ac_configure_args '--without-system-potrace'" |
| 7958 | fi |
| 7959 | fi |
| 7960 | |
| 7961 | ## libs/freetype2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype2/ |
| 7962 | ## configure options and TL libraries required for freetype2 |
| 7963 | |
| 7964 | # Check whether --with-system-freetype2 was given. |
| 7965 | if test ${with_system_freetype2+y} |
| 7966 | then : |
| 7967 | withval=$with_system_freetype2; |
| 7968 | fi |
| 7969 | if test "x$with_system_freetype2" = x; then |
| 7970 | if test -f $srcdir/libs/freetype2/configure; then |
| 7971 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`freetype2' headers and library from TL tree" >&5 |
| 7972 | printf "%s\n" "$as_me: Assuming \`freetype2' headers and library from TL tree" >&6;} |
| 7973 | with_system_freetype2=no |
| 7974 | else |
| 7975 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype2' headers and library" >&5 |
| 7976 | printf "%s\n" "$as_me: Assuming installed \`freetype2' headers and library" >&6;} |
| 7977 | with_system_freetype2=yes |
| 7978 | fi |
| 7979 | ac_configure_args="$ac_configure_args '--with-system-freetype2=$with_system_freetype2'" |
| 7980 | elif test "x$with_system_freetype2" = xyes; then |
| 7981 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`freetype2' headers and library" >&5 |
| 7982 | printf "%s\n" "$as_me: Using installed \`freetype2' headers and library" >&6;} |
| 7983 | else |
| 7984 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`freetype2' headers and library from TL tree" >&5 |
| 7985 | printf "%s\n" "$as_me: Using \`freetype2' headers and library from TL tree" >&6;} |
| 7986 | if test "x$with_system_freetype2" != xno; then |
| 7987 | with_system_freetype2=no |
| 7988 | ac_configure_args="$ac_configure_args '--without-system-freetype2'" |
| 7989 | fi |
| 7990 | fi |
| 7991 | if test "x$with_system_freetype2" = xyes; then |
| 7992 | if test "x$with_system_zlib" = x; then |
| 7993 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 |
| 7994 | printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;} |
| 7995 | with_system_zlib=yes |
| 7996 | ac_configure_args="$ac_configure_args '--with-system-zlib'" |
| 7997 | elif test "x$with_system_zlib" != xyes; then |
| 7998 | as_fn_error $? "Sorry, \`--with-system-freetype2' requires \`--with-system-zlib'" "$LINENO" 5 |
| 7999 | fi |
| 8000 | fi |
| 8001 | |
| 8002 | test "x$need_freetype2" = xyes && { |
| 8003 | need_zlib=yes |
| 8004 | } |
| 8005 | |
| 8006 | ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/ |
| 8007 | ## configure options and TL libraries required for libpng |
| 8008 | |
| 8009 | # Check whether --with-system-libpng was given. |
| 8010 | if test ${with_system_libpng+y} |
| 8011 | then : |
| 8012 | withval=$with_system_libpng; |
| 8013 | fi |
| 8014 | if test "x$with_system_libpng" = x; then |
| 8015 | if test -f $srcdir/libs/libpng/configure; then |
| 8016 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5 |
| 8017 | printf "%s\n" "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;} |
| 8018 | with_system_libpng=no |
| 8019 | else |
| 8020 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5 |
| 8021 | printf "%s\n" "$as_me: Assuming installed \`libpng' headers and library" >&6;} |
| 8022 | with_system_libpng=yes |
| 8023 | fi |
| 8024 | ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'" |
| 8025 | elif test "x$with_system_libpng" = xyes; then |
| 8026 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`libpng' headers and library" >&5 |
| 8027 | printf "%s\n" "$as_me: Using installed \`libpng' headers and library" >&6;} |
| 8028 | else |
| 8029 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree" >&5 |
| 8030 | printf "%s\n" "$as_me: Using \`libpng' headers and library from TL tree" >&6;} |
| 8031 | if test "x$with_system_libpng" != xno; then |
| 8032 | with_system_libpng=no |
| 8033 | ac_configure_args="$ac_configure_args '--without-system-libpng'" |
| 8034 | fi |
| 8035 | fi |
| 8036 | if test "x$with_system_libpng" = xyes; then |
| 8037 | if test "x$with_system_zlib" = x; then |
| 8038 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 |
| 8039 | printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;} |
| 8040 | with_system_zlib=yes |
| 8041 | ac_configure_args="$ac_configure_args '--with-system-zlib'" |
| 8042 | elif test "x$with_system_zlib" != xyes; then |
| 8043 | as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5 |
| 8044 | fi |
| 8045 | fi |
| 8046 | |
| 8047 | test "x$need_libpng" = xyes && { |
| 8048 | need_zlib=yes |
| 8049 | } |
| 8050 | |
| 8051 | ## libs/libpaper/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpaper/ |
| 8052 | ## configure options and TL libraries required for libpaper |
| 8053 | |
| 8054 | # Check whether --with-system-libpaper was given. |
| 8055 | if test ${with_system_libpaper+y} |
| 8056 | then : |
| 8057 | withval=$with_system_libpaper; |
| 8058 | fi |
| 8059 | |
| 8060 | # Check whether --with-libpaper-includes was given. |
| 8061 | if test ${with_libpaper_includes+y} |
| 8062 | then : |
| 8063 | withval=$with_libpaper_includes; |
| 8064 | fi |
| 8065 | |
| 8066 | # Check whether --with-libpaper-libdir was given. |
| 8067 | if test ${with_libpaper_libdir+y} |
| 8068 | then : |
| 8069 | withval=$with_libpaper_libdir; |
| 8070 | fi |
| 8071 | if test "x$with_system_libpaper" = x; then |
| 8072 | if test -f $srcdir/libs/libpaper/configure; then |
| 8073 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`libpaper' headers and library from TL tree" >&5 |
| 8074 | printf "%s\n" "$as_me: Assuming \`libpaper' headers and library from TL tree" >&6;} |
| 8075 | with_system_libpaper=no |
| 8076 | else |
| 8077 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpaper' headers and library" >&5 |
| 8078 | printf "%s\n" "$as_me: Assuming installed \`libpaper' headers and library" >&6;} |
| 8079 | with_system_libpaper=yes |
| 8080 | fi |
| 8081 | ac_configure_args="$ac_configure_args '--with-system-libpaper=$with_system_libpaper'" |
| 8082 | elif test "x$with_system_libpaper" = xyes; then |
| 8083 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`libpaper' headers and library" >&5 |
| 8084 | printf "%s\n" "$as_me: Using installed \`libpaper' headers and library" >&6;} |
| 8085 | else |
| 8086 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`libpaper' headers and library from TL tree" >&5 |
| 8087 | printf "%s\n" "$as_me: Using \`libpaper' headers and library from TL tree" >&6;} |
| 8088 | if test "x$with_system_libpaper" != xno; then |
| 8089 | with_system_libpaper=no |
| 8090 | ac_configure_args="$ac_configure_args '--without-system-libpaper'" |
| 8091 | fi |
| 8092 | fi |
| 8093 | |
| 8094 | ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/ |
| 8095 | ## configure options and TL libraries required for luajit |
| 8096 | |
| 8097 | # Check whether --with-system-luajit was given. |
| 8098 | if test ${with_system_luajit+y} |
| 8099 | then : |
| 8100 | withval=$with_system_luajit; |
| 8101 | fi |
| 8102 | if test "x$with_system_luajit" = x; then |
| 8103 | if test -f $srcdir/libs/luajit/configure; then |
| 8104 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`luajit' headers and library from TL tree" >&5 |
| 8105 | printf "%s\n" "$as_me: Assuming \`luajit' headers and library from TL tree" >&6;} |
| 8106 | with_system_luajit=no |
| 8107 | else |
| 8108 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`luajit' headers and library" >&5 |
| 8109 | printf "%s\n" "$as_me: Assuming installed \`luajit' headers and library" >&6;} |
| 8110 | with_system_luajit=yes |
| 8111 | fi |
| 8112 | ac_configure_args="$ac_configure_args '--with-system-luajit=$with_system_luajit'" |
| 8113 | elif test "x$with_system_luajit" = xyes; then |
| 8114 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`luajit' headers and library" >&5 |
| 8115 | printf "%s\n" "$as_me: Using installed \`luajit' headers and library" >&6;} |
| 8116 | else |
| 8117 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`luajit' headers and library from TL tree" >&5 |
| 8118 | printf "%s\n" "$as_me: Using \`luajit' headers and library from TL tree" >&6;} |
| 8119 | if test "x$with_system_luajit" != xno; then |
| 8120 | with_system_luajit=no |
| 8121 | ac_configure_args="$ac_configure_args '--without-system-luajit'" |
| 8122 | fi |
| 8123 | fi |
| 8124 | |
| 8125 | ## libs/lua53/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua53/ |
| 8126 | ## configure options and TL libraries required for lua53 |
| 8127 | |
| 8128 | ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/ |
| 8129 | ## configure options and TL libraries required for zlib |
| 8130 | |
| 8131 | # Check whether --with-system-zlib was given. |
| 8132 | if test ${with_system_zlib+y} |
| 8133 | then : |
| 8134 | withval=$with_system_zlib; |
| 8135 | fi |
| 8136 | |
| 8137 | # Check whether --with-zlib-includes was given. |
| 8138 | if test ${with_zlib_includes+y} |
| 8139 | then : |
| 8140 | withval=$with_zlib_includes; |
| 8141 | fi |
| 8142 | |
| 8143 | # Check whether --with-zlib-libdir was given. |
| 8144 | if test ${with_zlib_libdir+y} |
| 8145 | then : |
| 8146 | withval=$with_zlib_libdir; |
| 8147 | fi |
| 8148 | if test "x$with_system_zlib" = x; then |
| 8149 | if test -f $srcdir/libs/zlib/configure; then |
| 8150 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5 |
| 8151 | printf "%s\n" "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;} |
| 8152 | with_system_zlib=no |
| 8153 | else |
| 8154 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5 |
| 8155 | printf "%s\n" "$as_me: Assuming installed \`zlib' headers and library" >&6;} |
| 8156 | with_system_zlib=yes |
| 8157 | fi |
| 8158 | ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'" |
| 8159 | elif test "x$with_system_zlib" = xyes; then |
| 8160 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`zlib' headers and library" >&5 |
| 8161 | printf "%s\n" "$as_me: Using installed \`zlib' headers and library" >&6;} |
| 8162 | else |
| 8163 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree" >&5 |
| 8164 | printf "%s\n" "$as_me: Using \`zlib' headers and library from TL tree" >&6;} |
| 8165 | if test "x$with_system_zlib" != xno; then |
| 8166 | with_system_zlib=no |
| 8167 | ac_configure_args="$ac_configure_args '--without-system-zlib'" |
| 8168 | fi |
| 8169 | fi |
| 8170 | |
| 8171 | |
| 8172 | ## texk/ptexenc/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ptexenc/ |
| 8173 | ## configure options and TL libraries required for ptexenc |
| 8174 | |
| 8175 | # Check whether --with-system-ptexenc was given. |
| 8176 | if test ${with_system_ptexenc+y} |
| 8177 | then : |
| 8178 | withval=$with_system_ptexenc; |
| 8179 | fi |
| 8180 | if test "x$with_system_ptexenc" = x; then |
| 8181 | if test -f $srcdir/texk/ptexenc/configure; then |
| 8182 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`ptexenc' headers and library from TL tree" >&5 |
| 8183 | printf "%s\n" "$as_me: Assuming \`ptexenc' headers and library from TL tree" >&6;} |
| 8184 | with_system_ptexenc=no |
| 8185 | else |
| 8186 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`ptexenc' headers and library" >&5 |
| 8187 | printf "%s\n" "$as_me: Assuming installed \`ptexenc' headers and library" >&6;} |
| 8188 | with_system_ptexenc=yes |
| 8189 | fi |
| 8190 | ac_configure_args="$ac_configure_args '--with-system-ptexenc=$with_system_ptexenc'" |
| 8191 | elif test "x$with_system_ptexenc" = xyes; then |
| 8192 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`ptexenc' headers and library" >&5 |
| 8193 | printf "%s\n" "$as_me: Using installed \`ptexenc' headers and library" >&6;} |
| 8194 | else |
| 8195 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`ptexenc' headers and library from TL tree" >&5 |
| 8196 | printf "%s\n" "$as_me: Using \`ptexenc' headers and library from TL tree" >&6;} |
| 8197 | if test "x$with_system_ptexenc" != xno; then |
| 8198 | with_system_ptexenc=no |
| 8199 | ac_configure_args="$ac_configure_args '--without-system-ptexenc'" |
| 8200 | fi |
| 8201 | fi |
| 8202 | if test "x$with_system_ptexenc" = xyes; then |
| 8203 | if test "x$with_system_kpathsea" = x; then |
| 8204 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`kpathsea' headers and library" >&5 |
| 8205 | printf "%s\n" "$as_me: -> installed \`kpathsea' headers and library" >&6;} |
| 8206 | with_system_kpathsea=yes |
| 8207 | ac_configure_args="$ac_configure_args '--with-system-kpathsea'" |
| 8208 | elif test "x$with_system_kpathsea" != xyes; then |
| 8209 | as_fn_error $? "Sorry, \`--with-system-ptexenc' requires \`--with-system-kpathsea'" "$LINENO" 5 |
| 8210 | fi |
| 8211 | fi |
| 8212 | |
| 8213 | test "x$need_ptexenc" = xyes && { |
| 8214 | need_kpathsea=yes |
| 8215 | } |
| 8216 | |
| 8217 | ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ |
| 8218 | ## configure options and TL libraries required for kpathsea |
| 8219 | |
| 8220 | # Check whether --with-system-kpathsea was given. |
| 8221 | if test ${with_system_kpathsea+y} |
| 8222 | then : |
| 8223 | withval=$with_system_kpathsea; |
| 8224 | fi |
| 8225 | if test "x$with_system_kpathsea" = x; then |
| 8226 | if test -f $srcdir/texk/kpathsea/configure; then |
| 8227 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5 |
| 8228 | printf "%s\n" "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;} |
| 8229 | with_system_kpathsea=no |
| 8230 | else |
| 8231 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5 |
| 8232 | printf "%s\n" "$as_me: Assuming installed \`kpathsea' headers and library" >&6;} |
| 8233 | with_system_kpathsea=yes |
| 8234 | fi |
| 8235 | ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'" |
| 8236 | elif test "x$with_system_kpathsea" = xyes; then |
| 8237 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library" >&5 |
| 8238 | printf "%s\n" "$as_me: Using installed \`kpathsea' headers and library" >&6;} |
| 8239 | else |
| 8240 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using \`kpathsea' headers and library from TL tree" >&5 |
| 8241 | printf "%s\n" "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;} |
| 8242 | if test "x$with_system_kpathsea" != xno; then |
| 8243 | with_system_kpathsea=no |
| 8244 | ac_configure_args="$ac_configure_args '--without-system-kpathsea'" |
| 8245 | fi |
| 8246 | fi |
| 8247 | |
| 8248 | ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live |
| 8249 | ## subdirectory texk/kpathsea. |
| 8250 | ## configure defaults for mktexfmt & Co. |
| 8251 | # Check whether --enable-mktexmf-default was given. |
| 8252 | if test ${enable_mktexmf_default+y} |
| 8253 | then : |
| 8254 | enableval=$enable_mktexmf_default; |
| 8255 | fi |
| 8256 | # Check whether --enable-mktexpk-default was given. |
| 8257 | if test ${enable_mktexpk_default+y} |
| 8258 | then : |
| 8259 | enableval=$enable_mktexpk_default; |
| 8260 | fi |
| 8261 | # Check whether --enable-mktextfm-default was given. |
| 8262 | if test ${enable_mktextfm_default+y} |
| 8263 | then : |
| 8264 | enableval=$enable_mktextfm_default; |
| 8265 | fi |
| 8266 | # Check whether --enable-mkocp-default was given. |
| 8267 | if test ${enable_mkocp_default+y} |
| 8268 | then : |
| 8269 | enableval=$enable_mkocp_default; |
| 8270 | fi |
| 8271 | # Check whether --enable-mkofm-default was given. |
| 8272 | if test ${enable_mkofm_default+y} |
| 8273 | then : |
| 8274 | enableval=$enable_mkofm_default; |
| 8275 | fi |
| 8276 | # Check whether --enable-mktexfmt-default was given. |
| 8277 | if test ${enable_mktexfmt_default+y} |
| 8278 | then : |
| 8279 | enableval=$enable_mktexfmt_default; |
| 8280 | fi |
| 8281 | # Check whether --enable-mktextex-default was given. |
| 8282 | if test ${enable_mktextex_default+y} |
| 8283 | then : |
| 8284 | enableval=$enable_mktextex_default; |
| 8285 | fi |
| 8286 | |
| 8287 | |
| 8288 | |
| 8289 | # end of kpse_setup macro. |
| 8290 | echo 'tldbg:KPSE_SETUP done (toplevel=)' >&5 |
| 8291 | |
| 8292 | |
| 8293 | am__api_version='1.18' |
| 8294 | |
| 8295 | |
| 8296 | # Find a good install program. We prefer a C program (faster), |
| 8297 | # so one script is as good as another. But avoid the broken or |
| 8298 | # incompatible versions: |
| 8299 | # SysV /etc/install, /usr/sbin/install |
| 8300 | # SunOS /usr/etc/install |
| 8301 | # IRIX /sbin/install |
| 8302 | # AIX /bin/install |
| 8303 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 8304 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 8305 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 8306 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 8307 | # OS/2's system install, which has a completely different semantic |
| 8308 | # ./install, which can be erroneously created by make from ./install.sh. |
| 8309 | # Reject install programs that cannot install multiple files. |
| 8310 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 8311 | printf %s "checking for a BSD-compatible install... " >&6; } |
| 8312 | if test -z "$INSTALL"; then |
| 8313 | if test ${ac_cv_path_install+y} |
| 8314 | then : |
| 8315 | printf %s "(cached) " >&6 |
| 8316 | else case e in #( |
| 8317 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8318 | for as_dir in $PATH |
| 8319 | do |
| 8320 | IFS=$as_save_IFS |
| 8321 | case $as_dir in #((( |
| 8322 | '') as_dir=./ ;; |
| 8323 | */) ;; |
| 8324 | *) as_dir=$as_dir/ ;; |
| 8325 | esac |
| 8326 | # Account for fact that we put trailing slashes in our PATH walk. |
| 8327 | case $as_dir in #(( |
| 8328 | ./ | /[cC]/* | \ |
| 8329 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 8330 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 8331 | /usr/ucb/* ) ;; |
| 8332 | *) |
| 8333 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| 8334 | # Don't use installbsd from OSF since it installs stuff as root |
| 8335 | # by default. |
| 8336 | for ac_prog in ginstall scoinst install; do |
| 8337 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8338 | if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
| 8339 | if test $ac_prog = install && |
| 8340 | grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8341 | # AIX install. It has an incompatible calling convention. |
| 8342 | : |
| 8343 | elif test $ac_prog = install && |
| 8344 | grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8345 | # program-specific install script used by HP pwplus--don't use. |
| 8346 | : |
| 8347 | else |
| 8348 | rm -rf conftest.one conftest.two conftest.dir |
| 8349 | echo one > conftest.one |
| 8350 | echo two > conftest.two |
| 8351 | mkdir conftest.dir |
| 8352 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
| 8353 | test -s conftest.one && test -s conftest.two && |
| 8354 | test -s conftest.dir/conftest.one && |
| 8355 | test -s conftest.dir/conftest.two |
| 8356 | then |
| 8357 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 8358 | break 3 |
| 8359 | fi |
| 8360 | fi |
| 8361 | fi |
| 8362 | done |
| 8363 | done |
| 8364 | ;; |
| 8365 | esac |
| 8366 | |
| 8367 | done |
| 8368 | IFS=$as_save_IFS |
| 8369 | |
| 8370 | rm -rf conftest.one conftest.two conftest.dir |
| 8371 | ;; |
| 8372 | esac |
| 8373 | fi |
| 8374 | if test ${ac_cv_path_install+y}; then |
| 8375 | INSTALL=$ac_cv_path_install |
| 8376 | else |
| 8377 | # As a last resort, use the slow shell script. Don't cache a |
| 8378 | # value for INSTALL within a source directory, because that will |
| 8379 | # break other packages using the cache if that directory is |
| 8380 | # removed, or if the value is a relative name. |
| 8381 | INSTALL=$ac_install_sh |
| 8382 | fi |
| 8383 | fi |
| 8384 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 8385 | printf "%s\n" "$INSTALL" >&6; } |
| 8386 | |
| 8387 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 8388 | # It thinks the first close brace ends the variable substitution. |
| 8389 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 8390 | |
| 8391 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 8392 | |
| 8393 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 8394 | |
| 8395 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 |
| 8396 | printf %s "checking whether sleep supports fractional seconds... " >&6; } |
| 8397 | if test ${am_cv_sleep_fractional_seconds+y} |
| 8398 | then : |
| 8399 | printf %s "(cached) " >&6 |
| 8400 | else case e in #( |
| 8401 | e) if sleep 0.001 2>/dev/null |
| 8402 | then : |
| 8403 | am_cv_sleep_fractional_seconds=yes |
| 8404 | else case e in #( |
| 8405 | e) am_cv_sleep_fractional_seconds=no ;; |
| 8406 | esac |
| 8407 | fi |
| 8408 | ;; |
| 8409 | esac |
| 8410 | fi |
| 8411 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 |
| 8412 | printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; } |
| 8413 | |
| 8414 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 |
| 8415 | printf %s "checking filesystem timestamp resolution... " >&6; } |
| 8416 | if test ${am_cv_filesystem_timestamp_resolution+y} |
| 8417 | then : |
| 8418 | printf %s "(cached) " >&6 |
| 8419 | else case e in #( |
| 8420 | e) # Default to the worst case. |
| 8421 | am_cv_filesystem_timestamp_resolution=2 |
| 8422 | |
| 8423 | # Only try to go finer than 1 sec if sleep can do it. |
| 8424 | # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, |
| 8425 | # - 1 sec is not much of a win compared to 2 sec, and |
| 8426 | # - it takes 2 seconds to perform the test whether 1 sec works. |
| 8427 | # |
| 8428 | # Instead, just use the default 2s on platforms that have 1s resolution, |
| 8429 | # accept the extra 1s delay when using $sleep in the Automake tests, in |
| 8430 | # exchange for not incurring the 2s delay for running the test for all |
| 8431 | # packages. |
| 8432 | # |
| 8433 | am_try_resolutions= |
| 8434 | if test "$am_cv_sleep_fractional_seconds" = yes; then |
| 8435 | # Even a millisecond often causes a bunch of false positives, |
| 8436 | # so just try a hundredth of a second. The time saved between .001 and |
| 8437 | # .01 is not terribly consequential. |
| 8438 | am_try_resolutions="0.01 0.1 $am_try_resolutions" |
| 8439 | fi |
| 8440 | |
| 8441 | # In order to catch current-generation FAT out, we must *modify* files |
| 8442 | # that already exist; the *creation* timestamp is finer. Use names |
| 8443 | # that make ls -t sort them differently when they have equal |
| 8444 | # timestamps than when they have distinct timestamps, keeping |
| 8445 | # in mind that ls -t prints the *newest* file first. |
| 8446 | rm -f conftest.ts? |
| 8447 | : > conftest.ts1 |
| 8448 | : > conftest.ts2 |
| 8449 | : > conftest.ts3 |
| 8450 | |
| 8451 | # Make sure ls -t actually works. Do 'set' in a subshell so we don't |
| 8452 | # clobber the current shell's arguments. (Outer-level square brackets |
| 8453 | # are removed by m4; they're present so that m4 does not expand |
| 8454 | # <dollar><star>; be careful, easy to get confused.) |
| 8455 | if ( |
| 8456 | set X `ls -t conftest.ts[12]` && |
| 8457 | { |
| 8458 | test "$*" != "X conftest.ts1 conftest.ts2" || |
| 8459 | test "$*" != "X conftest.ts2 conftest.ts1"; |
| 8460 | } |
| 8461 | ); then :; else |
| 8462 | # If neither matched, then we have a broken ls. This can happen |
| 8463 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 8464 | # broken ls alias from the environment. This has actually |
| 8465 | # happened. Such a system could not be considered "sane". |
| 8466 | printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5 |
| 8467 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 8468 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 8469 | as_fn_error $? "ls -t produces unexpected output. |
| 8470 | Make sure there is not a broken ls alias in your environment. |
| 8471 | See 'config.log' for more details" "$LINENO" 5; } |
| 8472 | fi |
| 8473 | |
| 8474 | for am_try_res in $am_try_resolutions; do |
| 8475 | # Any one fine-grained sleep might happen to cross the boundary |
| 8476 | # between two values of a coarser actual resolution, but if we do |
| 8477 | # two fine-grained sleeps in a row, at least one of them will fall |
| 8478 | # entirely within a coarse interval. |
| 8479 | echo alpha > conftest.ts1 |
| 8480 | sleep $am_try_res |
| 8481 | echo beta > conftest.ts2 |
| 8482 | sleep $am_try_res |
| 8483 | echo gamma > conftest.ts3 |
| 8484 | |
| 8485 | # We assume that 'ls -t' will make use of high-resolution |
| 8486 | # timestamps if the operating system supports them at all. |
| 8487 | if (set X `ls -t conftest.ts?` && |
| 8488 | test "$2" = conftest.ts3 && |
| 8489 | test "$3" = conftest.ts2 && |
| 8490 | test "$4" = conftest.ts1); then |
| 8491 | # |
| 8492 | # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, |
| 8493 | # because we don't need to test make. |
| 8494 | make_ok=true |
| 8495 | if test $am_try_res != 1; then |
| 8496 | # But if we've succeeded so far with a subsecond resolution, we |
| 8497 | # have one more thing to check: make. It can happen that |
| 8498 | # everything else supports the subsecond mtimes, but make doesn't; |
| 8499 | # notably on macOS, which ships make 3.81 from 2006 (the last one |
| 8500 | # released under GPLv2). https://bugs.gnu.org/68808 |
| 8501 | # |
| 8502 | # We test $MAKE if it is defined in the environment, else "make". |
| 8503 | # It might get overridden later, but our hope is that in practice |
| 8504 | # it does not matter: it is the system "make" which is (by far) |
| 8505 | # the most likely to be broken, whereas if the user overrides it, |
| 8506 | # probably they did so with a better, or at least not worse, make. |
| 8507 | # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html |
| 8508 | # |
| 8509 | # Create a Makefile (real tab character here): |
| 8510 | rm -f conftest.mk |
| 8511 | echo 'conftest.ts1: conftest.ts2' >conftest.mk |
| 8512 | echo ' touch conftest.ts2' >>conftest.mk |
| 8513 | # |
| 8514 | # Now, running |
| 8515 | # touch conftest.ts1; touch conftest.ts2; make |
| 8516 | # should touch ts1 because ts2 is newer. This could happen by luck, |
| 8517 | # but most often, it will fail if make's support is insufficient. So |
| 8518 | # test for several consecutive successes. |
| 8519 | # |
| 8520 | # (We reuse conftest.ts[12] because we still want to modify existing |
| 8521 | # files, not create new ones, per above.) |
| 8522 | n=0 |
| 8523 | make=${MAKE-make} |
| 8524 | until test $n -eq 3; do |
| 8525 | echo one > conftest.ts1 |
| 8526 | sleep $am_try_res |
| 8527 | echo two > conftest.ts2 # ts2 should now be newer than ts1 |
| 8528 | if $make -f conftest.mk | grep 'up to date' >/dev/null; then |
| 8529 | make_ok=false |
| 8530 | break # out of $n loop |
| 8531 | fi |
| 8532 | n=`expr $n + 1` |
| 8533 | done |
| 8534 | fi |
| 8535 | # |
| 8536 | if $make_ok; then |
| 8537 | # Everything we know to check worked out, so call this resolution good. |
| 8538 | am_cv_filesystem_timestamp_resolution=$am_try_res |
| 8539 | break # out of $am_try_res loop |
| 8540 | fi |
| 8541 | # Otherwise, we'll go on to check the next resolution. |
| 8542 | fi |
| 8543 | done |
| 8544 | rm -f conftest.ts? |
| 8545 | # (end _am_filesystem_timestamp_resolution) |
| 8546 | ;; |
| 8547 | esac |
| 8548 | fi |
| 8549 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 |
| 8550 | printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; } |
| 8551 | |
| 8552 | # This check should not be cached, as it may vary across builds of |
| 8553 | # different projects. |
| 8554 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 8555 | printf %s "checking whether build environment is sane... " >&6; } |
| 8556 | # Reject unsafe characters in $srcdir or the absolute working directory |
| 8557 | # name. Accept space and tab only in the latter. |
| 8558 | am_lf=' |
| 8559 | ' |
| 8560 | case `pwd` in |
| 8561 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 8562 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8563 | printf "%s\n" "no" >&6; } |
| 8564 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 8565 | esac |
| 8566 | case $srcdir in |
| 8567 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 8568 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8569 | printf "%s\n" "no" >&6; } |
| 8570 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 8571 | esac |
| 8572 | |
| 8573 | # Do 'set' in a subshell so we don't clobber the current shell's |
| 8574 | # arguments. Must try -L first in case configure is actually a |
| 8575 | # symlink; some systems play weird games with the mod time of symlinks |
| 8576 | # (eg FreeBSD returns the mod time of the symlink's containing |
| 8577 | # directory). |
| 8578 | am_build_env_is_sane=no |
| 8579 | am_has_slept=no |
| 8580 | rm -f conftest.file |
| 8581 | for am_try in 1 2; do |
| 8582 | echo "timestamp, slept: $am_has_slept" > conftest.file |
| 8583 | if ( |
| 8584 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 8585 | if test "$*" = "X"; then |
| 8586 | # -L didn't work. |
| 8587 | set X `ls -t "$srcdir/configure" conftest.file` |
| 8588 | fi |
| 8589 | test "$2" = conftest.file |
| 8590 | ); then |
| 8591 | am_build_env_is_sane=yes |
| 8592 | break |
| 8593 | fi |
| 8594 | # Just in case. |
| 8595 | sleep "$am_cv_filesystem_timestamp_resolution" |
| 8596 | am_has_slept=yes |
| 8597 | done |
| 8598 | |
| 8599 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 |
| 8600 | printf "%s\n" "$am_build_env_is_sane" >&6; } |
| 8601 | if test "$am_build_env_is_sane" = no; then |
| 8602 | as_fn_error $? "newly created file is older than distributed files! |
| 8603 | Check your system clock" "$LINENO" 5 |
| 8604 | fi |
| 8605 | |
| 8606 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 8607 | # generated files are strictly newer. |
| 8608 | am_sleep_pid= |
| 8609 | if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1 |
| 8610 | then : |
| 8611 | |
| 8612 | else case e in #( |
| 8613 | e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) & |
| 8614 | am_sleep_pid=$! |
| 8615 | ;; |
| 8616 | esac |
| 8617 | fi |
| 8618 | |
| 8619 | rm -f conftest.file |
| 8620 | |
| 8621 | test "$program_prefix" != NONE && |
| 8622 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 8623 | # Use a double $ so make ignores it. |
| 8624 | test "$program_suffix" != NONE && |
| 8625 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 8626 | # Double any \ or $. |
| 8627 | # By default was 's,x,x', remove it if useless. |
| 8628 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 8629 | program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
| 8630 | |
| 8631 | |
| 8632 | if test x"${MISSING+set}" != xset; then |
| 8633 | MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 8634 | fi |
| 8635 | # Use eval to expand $SHELL |
| 8636 | if eval "$MISSING --is-lightweight"; then |
| 8637 | am_missing_run="$MISSING " |
| 8638 | else |
| 8639 | am_missing_run= |
| 8640 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 8641 | printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 8642 | fi |
| 8643 | |
| 8644 | if test x"${install_sh+set}" != xset; then |
| 8645 | case $am_aux_dir in |
| 8646 | *\ * | *\ *) |
| 8647 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 8648 | *) |
| 8649 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 8650 | esac |
| 8651 | fi |
| 8652 | |
| 8653 | # Installed binaries are usually stripped using 'strip' when the user |
| 8654 | # run "make install-strip". However 'strip' might not be the right |
| 8655 | # tool to use in cross-compilation environments, therefore Automake |
| 8656 | # will honor the 'STRIP' environment variable to overrule this program. |
| 8657 | if test "$cross_compiling" != no; then |
| 8658 | if test -n "$ac_tool_prefix"; then |
| 8659 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 8660 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 8661 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8662 | printf %s "checking for $ac_word... " >&6; } |
| 8663 | if test ${ac_cv_prog_STRIP+y} |
| 8664 | then : |
| 8665 | printf %s "(cached) " >&6 |
| 8666 | else case e in #( |
| 8667 | e) if test -n "$STRIP"; then |
| 8668 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 8669 | else |
| 8670 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8671 | for as_dir in $PATH |
| 8672 | do |
| 8673 | IFS=$as_save_IFS |
| 8674 | case $as_dir in #((( |
| 8675 | '') as_dir=./ ;; |
| 8676 | */) ;; |
| 8677 | *) as_dir=$as_dir/ ;; |
| 8678 | esac |
| 8679 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8680 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8681 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 8682 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8683 | break 2 |
| 8684 | fi |
| 8685 | done |
| 8686 | done |
| 8687 | IFS=$as_save_IFS |
| 8688 | |
| 8689 | fi ;; |
| 8690 | esac |
| 8691 | fi |
| 8692 | STRIP=$ac_cv_prog_STRIP |
| 8693 | if test -n "$STRIP"; then |
| 8694 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 8695 | printf "%s\n" "$STRIP" >&6; } |
| 8696 | else |
| 8697 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8698 | printf "%s\n" "no" >&6; } |
| 8699 | fi |
| 8700 | |
| 8701 | |
| 8702 | fi |
| 8703 | if test -z "$ac_cv_prog_STRIP"; then |
| 8704 | ac_ct_STRIP=$STRIP |
| 8705 | # Extract the first word of "strip", so it can be a program name with args. |
| 8706 | set dummy strip; ac_word=$2 |
| 8707 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8708 | printf %s "checking for $ac_word... " >&6; } |
| 8709 | if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 8710 | then : |
| 8711 | printf %s "(cached) " >&6 |
| 8712 | else case e in #( |
| 8713 | e) if test -n "$ac_ct_STRIP"; then |
| 8714 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 8715 | else |
| 8716 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8717 | for as_dir in $PATH |
| 8718 | do |
| 8719 | IFS=$as_save_IFS |
| 8720 | case $as_dir in #((( |
| 8721 | '') as_dir=./ ;; |
| 8722 | */) ;; |
| 8723 | *) as_dir=$as_dir/ ;; |
| 8724 | esac |
| 8725 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8726 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8727 | ac_cv_prog_ac_ct_STRIP="strip" |
| 8728 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8729 | break 2 |
| 8730 | fi |
| 8731 | done |
| 8732 | done |
| 8733 | IFS=$as_save_IFS |
| 8734 | |
| 8735 | fi ;; |
| 8736 | esac |
| 8737 | fi |
| 8738 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 8739 | if test -n "$ac_ct_STRIP"; then |
| 8740 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 8741 | printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 8742 | else |
| 8743 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8744 | printf "%s\n" "no" >&6; } |
| 8745 | fi |
| 8746 | |
| 8747 | if test "x$ac_ct_STRIP" = x; then |
| 8748 | STRIP=":" |
| 8749 | else |
| 8750 | case $cross_compiling:$ac_tool_warned in |
| 8751 | yes:) |
| 8752 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8753 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8754 | ac_tool_warned=yes ;; |
| 8755 | esac |
| 8756 | STRIP=$ac_ct_STRIP |
| 8757 | fi |
| 8758 | else |
| 8759 | STRIP="$ac_cv_prog_STRIP" |
| 8760 | fi |
| 8761 | |
| 8762 | fi |
| 8763 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 8764 | |
| 8765 | |
| 8766 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 8767 | printf %s "checking for a race-free mkdir -p... " >&6; } |
| 8768 | if test -z "$MKDIR_P"; then |
| 8769 | if test ${ac_cv_path_mkdir+y} |
| 8770 | then : |
| 8771 | printf %s "(cached) " >&6 |
| 8772 | else case e in #( |
| 8773 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8774 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 8775 | do |
| 8776 | IFS=$as_save_IFS |
| 8777 | case $as_dir in #((( |
| 8778 | '') as_dir=./ ;; |
| 8779 | */) ;; |
| 8780 | *) as_dir=$as_dir/ ;; |
| 8781 | esac |
| 8782 | for ac_prog in mkdir gmkdir; do |
| 8783 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8784 | as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
| 8785 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 8786 | 'mkdir ('*'coreutils) '* | \ |
| 8787 | *'BusyBox '* | \ |
| 8788 | 'mkdir (fileutils) '4.1*) |
| 8789 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 8790 | break 3;; |
| 8791 | esac |
| 8792 | done |
| 8793 | done |
| 8794 | done |
| 8795 | IFS=$as_save_IFS |
| 8796 | ;; |
| 8797 | esac |
| 8798 | fi |
| 8799 | |
| 8800 | test -d ./--version && rmdir ./--version |
| 8801 | if test ${ac_cv_path_mkdir+y}; then |
| 8802 | MKDIR_P="$ac_cv_path_mkdir -p" |
| 8803 | else |
| 8804 | # As a last resort, use plain mkdir -p, |
| 8805 | # in the hope it doesn't have the bugs of ancient mkdir. |
| 8806 | MKDIR_P='mkdir -p' |
| 8807 | fi |
| 8808 | fi |
| 8809 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 8810 | printf "%s\n" "$MKDIR_P" >&6; } |
| 8811 | |
| 8812 | for ac_prog in gawk mawk nawk awk |
| 8813 | do |
| 8814 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 8815 | set dummy $ac_prog; ac_word=$2 |
| 8816 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8817 | printf %s "checking for $ac_word... " >&6; } |
| 8818 | if test ${ac_cv_prog_AWK+y} |
| 8819 | then : |
| 8820 | printf %s "(cached) " >&6 |
| 8821 | else case e in #( |
| 8822 | e) if test -n "$AWK"; then |
| 8823 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 8824 | else |
| 8825 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8826 | for as_dir in $PATH |
| 8827 | do |
| 8828 | IFS=$as_save_IFS |
| 8829 | case $as_dir in #((( |
| 8830 | '') as_dir=./ ;; |
| 8831 | */) ;; |
| 8832 | *) as_dir=$as_dir/ ;; |
| 8833 | esac |
| 8834 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8835 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8836 | ac_cv_prog_AWK="$ac_prog" |
| 8837 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8838 | break 2 |
| 8839 | fi |
| 8840 | done |
| 8841 | done |
| 8842 | IFS=$as_save_IFS |
| 8843 | |
| 8844 | fi ;; |
| 8845 | esac |
| 8846 | fi |
| 8847 | AWK=$ac_cv_prog_AWK |
| 8848 | if test -n "$AWK"; then |
| 8849 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 8850 | printf "%s\n" "$AWK" >&6; } |
| 8851 | else |
| 8852 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8853 | printf "%s\n" "no" >&6; } |
| 8854 | fi |
| 8855 | |
| 8856 | |
| 8857 | test -n "$AWK" && break |
| 8858 | done |
| 8859 | |
| 8860 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 8861 | printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 8862 | set x ${MAKE-make} |
| 8863 | ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 8864 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 8865 | then : |
| 8866 | printf %s "(cached) " >&6 |
| 8867 | else case e in #( |
| 8868 | e) cat >conftest.make <<\_ACEOF |
| 8869 | SHELL = /bin/sh |
| 8870 | all: |
| 8871 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 8872 | _ACEOF |
| 8873 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 8874 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 8875 | *@@@%%%=?*=@@@%%%*) |
| 8876 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 8877 | *) |
| 8878 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 8879 | esac |
| 8880 | rm -f conftest.make ;; |
| 8881 | esac |
| 8882 | fi |
| 8883 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 8884 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 8885 | printf "%s\n" "yes" >&6; } |
| 8886 | SET_MAKE= |
| 8887 | else |
| 8888 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8889 | printf "%s\n" "no" >&6; } |
| 8890 | SET_MAKE="MAKE=${MAKE-make}" |
| 8891 | fi |
| 8892 | |
| 8893 | rm -rf .tst 2>/dev/null |
| 8894 | mkdir .tst 2>/dev/null |
| 8895 | if test -d .tst; then |
| 8896 | am__leading_dot=. |
| 8897 | else |
| 8898 | am__leading_dot=_ |
| 8899 | fi |
| 8900 | rmdir .tst 2>/dev/null |
| 8901 | |
| 8902 | DEPDIR="${am__leading_dot}deps" |
| 8903 | |
| 8904 | ac_config_commands="$ac_config_commands depfiles" |
| 8905 | |
| 8906 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 8907 | printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 8908 | cat > confinc.mk << 'END' |
| 8909 | am__doit: |
| 8910 | @echo this is the am__doit target >confinc.out |
| 8911 | .PHONY: am__doit |
| 8912 | END |
| 8913 | am__include="#" |
| 8914 | am__quote= |
| 8915 | # BSD make does it like this. |
| 8916 | echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 8917 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 8918 | echo 'include confinc.mk # ignored' > confmf.GNU |
| 8919 | _am_result=no |
| 8920 | for s in GNU BSD; do |
| 8921 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 8922 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 8923 | ac_status=$? |
| 8924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8925 | (exit $ac_status); } |
| 8926 | case $?:`cat confinc.out 2>/dev/null` in #( |
| 8927 | '0:this is the am__doit target') : |
| 8928 | case $s in #( |
| 8929 | BSD) : |
| 8930 | am__include='.include' am__quote='"' ;; #( |
| 8931 | *) : |
| 8932 | am__include='include' am__quote='' ;; |
| 8933 | esac ;; #( |
| 8934 | *) : |
| 8935 | ;; |
| 8936 | esac |
| 8937 | if test "$am__include" != "#"; then |
| 8938 | _am_result="yes ($s style)" |
| 8939 | break |
| 8940 | fi |
| 8941 | done |
| 8942 | rm -f confinc.* confmf.* |
| 8943 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 8944 | printf "%s\n" "${_am_result}" >&6; } |
| 8945 | |
| 8946 | # Check whether --enable-dependency-tracking was given. |
| 8947 | if test ${enable_dependency_tracking+y} |
| 8948 | then : |
| 8949 | enableval=$enable_dependency_tracking; |
| 8950 | fi |
| 8951 | |
| 8952 | if test "x$enable_dependency_tracking" != xno; then |
| 8953 | am_depcomp="$ac_aux_dir/depcomp" |
| 8954 | AMDEPBACKSLASH='\' |
| 8955 | am__nodep='_no' |
| 8956 | fi |
| 8957 | if test "x$enable_dependency_tracking" != xno; then |
| 8958 | AMDEP_TRUE= |
| 8959 | AMDEP_FALSE='#' |
| 8960 | else |
| 8961 | AMDEP_TRUE='#' |
| 8962 | AMDEP_FALSE= |
| 8963 | fi |
| 8964 | |
| 8965 | |
| 8966 | AM_DEFAULT_VERBOSITY=1 |
| 8967 | # Check whether --enable-silent-rules was given. |
| 8968 | if test ${enable_silent_rules+y} |
| 8969 | then : |
| 8970 | enableval=$enable_silent_rules; |
| 8971 | fi |
| 8972 | |
| 8973 | am_make=${MAKE-make} |
| 8974 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 8975 | printf %s "checking whether $am_make supports nested variables... " >&6; } |
| 8976 | if test ${am_cv_make_support_nested_variables+y} |
| 8977 | then : |
| 8978 | printf %s "(cached) " >&6 |
| 8979 | else case e in #( |
| 8980 | e) if printf "%s\n" 'TRUE=$(BAR$(V)) |
| 8981 | BAR0=false |
| 8982 | BAR1=true |
| 8983 | V=1 |
| 8984 | am__doit: |
| 8985 | @$(TRUE) |
| 8986 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 8987 | am_cv_make_support_nested_variables=yes |
| 8988 | else |
| 8989 | am_cv_make_support_nested_variables=no |
| 8990 | fi ;; |
| 8991 | esac |
| 8992 | fi |
| 8993 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 8994 | printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 8995 | AM_BACKSLASH='\' |
| 8996 | |
| 8997 | am__rm_f_notfound= |
| 8998 | if (rm -f && rm -fr && rm -rf) 2>/dev/null |
| 8999 | then : |
| 9000 | |
| 9001 | else case e in #( |
| 9002 | e) am__rm_f_notfound='""' ;; |
| 9003 | esac |
| 9004 | fi |
| 9005 | |
| 9006 | |
| 9007 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 |
| 9008 | printf %s "checking xargs -n works... " >&6; } |
| 9009 | if test ${am_cv_xargs_n_works+y} |
| 9010 | then : |
| 9011 | printf %s "(cached) " >&6 |
| 9012 | else case e in #( |
| 9013 | e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 |
| 9014 | 3" |
| 9015 | then : |
| 9016 | am_cv_xargs_n_works=yes |
| 9017 | else case e in #( |
| 9018 | e) am_cv_xargs_n_works=no ;; |
| 9019 | esac |
| 9020 | fi ;; |
| 9021 | esac |
| 9022 | fi |
| 9023 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 |
| 9024 | printf "%s\n" "$am_cv_xargs_n_works" >&6; } |
| 9025 | if test "$am_cv_xargs_n_works" = yes |
| 9026 | then : |
| 9027 | am__xargs_n='xargs -n' |
| 9028 | else case e in #( |
| 9029 | e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' |
| 9030 | ;; |
| 9031 | esac |
| 9032 | fi |
| 9033 | |
| 9034 | # Check whether --enable-compiler-warnings was given. |
| 9035 | if test ${enable_compiler_warnings+y} |
| 9036 | then : |
| 9037 | enableval=$enable_compiler_warnings; |
| 9038 | fi |
| 9039 | case $enable_compiler_warnings in #( |
| 9040 | no | min | yes | max | all) : |
| 9041 | ;; #( |
| 9042 | *) : |
| 9043 | if test "x$enable_maintainer_mode" = xyes |
| 9044 | then : |
| 9045 | enable_compiler_warnings=yes |
| 9046 | else case e in #( |
| 9047 | e) enable_compiler_warnings=min ;; |
| 9048 | esac |
| 9049 | fi ;; |
| 9050 | esac |
| 9051 | |
| 9052 | case `pwd` in |
| 9053 | *\ * | *\ *) |
| 9054 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 9055 | printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 9056 | esac |
| 9057 | |
| 9058 | |
| 9059 | |
| 9060 | macro_version='2.5.4' |
| 9061 | macro_revision='2.5.4' |
| 9062 | |
| 9063 | |
| 9064 | |
| 9065 | |
| 9066 | |
| 9067 | |
| 9068 | |
| 9069 | |
| 9070 | |
| 9071 | |
| 9072 | |
| 9073 | |
| 9074 | |
| 9075 | |
| 9076 | ltmain=$ac_aux_dir/ltmain.sh |
| 9077 | |
| 9078 | # Backslashify metacharacters that are still active within |
| 9079 | # double-quoted strings. |
| 9080 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 9081 | |
| 9082 | # Same as above, but do not quote variable references. |
| 9083 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 9084 | |
| 9085 | # Sed substitution to delay expansion of an escaped shell variable in a |
| 9086 | # double_quote_subst'ed string. |
| 9087 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 9088 | |
| 9089 | # Sed substitution to delay expansion of an escaped single quote. |
| 9090 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 9091 | |
| 9092 | # Sed substitution to avoid accidental globbing in evaled expressions |
| 9093 | no_glob_subst='s/\*/\\\*/g' |
| 9094 | |
| 9095 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 9096 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 9097 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 9098 | |
| 9099 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 9100 | printf %s "checking how to print strings... " >&6; } |
| 9101 | # Test print first, because it will be a builtin if present. |
| 9102 | if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 9103 | test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 9104 | ECHO='print -r --' |
| 9105 | elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 9106 | ECHO='printf %s\n' |
| 9107 | else |
| 9108 | # Use this function as a fallback that always works. |
| 9109 | func_fallback_echo () |
| 9110 | { |
| 9111 | eval 'cat <<_LTECHO_EOF |
| 9112 | $1 |
| 9113 | _LTECHO_EOF' |
| 9114 | } |
| 9115 | ECHO='func_fallback_echo' |
| 9116 | fi |
| 9117 | |
| 9118 | # func_echo_all arg... |
| 9119 | # Invoke $ECHO with all args, space-separated. |
| 9120 | func_echo_all () |
| 9121 | { |
| 9122 | $ECHO "" |
| 9123 | } |
| 9124 | |
| 9125 | case $ECHO in |
| 9126 | printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 9127 | printf "%s\n" "printf" >&6; } ;; |
| 9128 | print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 9129 | printf "%s\n" "print -r" >&6; } ;; |
| 9130 | *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 9131 | printf "%s\n" "cat" >&6; } ;; |
| 9132 | esac |
| 9133 | |
| 9134 | |
| 9135 | |
| 9136 | |
| 9137 | |
| 9138 | |
| 9139 | |
| 9140 | |
| 9141 | |
| 9142 | |
| 9143 | |
| 9144 | |
| 9145 | |
| 9146 | |
| 9147 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 9148 | printf %s "checking for a sed that does not truncate output... " >&6; } |
| 9149 | if test ${ac_cv_path_SED+y} |
| 9150 | then : |
| 9151 | printf %s "(cached) " >&6 |
| 9152 | else case e in #( |
| 9153 | e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 9154 | for ac_i in 1 2 3 4 5 6 7; do |
| 9155 | ac_script="$ac_script$as_nl$ac_script" |
| 9156 | done |
| 9157 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 9158 | { ac_script=; unset ac_script;} |
| 9159 | if test -z "$SED"; then |
| 9160 | ac_path_SED_found=false |
| 9161 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9162 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9163 | for as_dir in $PATH |
| 9164 | do |
| 9165 | IFS=$as_save_IFS |
| 9166 | case $as_dir in #((( |
| 9167 | '') as_dir=./ ;; |
| 9168 | */) ;; |
| 9169 | *) as_dir=$as_dir/ ;; |
| 9170 | esac |
| 9171 | for ac_prog in sed gsed |
| 9172 | do |
| 9173 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9174 | ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 9175 | as_fn_executable_p "$ac_path_SED" || continue |
| 9176 | # Check for GNU ac_path_SED and select it if it is found. |
| 9177 | # Check for GNU $ac_path_SED |
| 9178 | case `"$ac_path_SED" --version 2>&1` in #( |
| 9179 | *GNU*) |
| 9180 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 9181 | #( |
| 9182 | *) |
| 9183 | ac_count=0 |
| 9184 | printf %s 0123456789 >"conftest.in" |
| 9185 | while : |
| 9186 | do |
| 9187 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 9188 | mv "conftest.tmp" "conftest.in" |
| 9189 | cp "conftest.in" "conftest.nl" |
| 9190 | printf "%s\n" '' >> "conftest.nl" |
| 9191 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 9192 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 9193 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 9194 | if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 9195 | # Best one so far, save it but keep looking for a better one |
| 9196 | ac_cv_path_SED="$ac_path_SED" |
| 9197 | ac_path_SED_max=$ac_count |
| 9198 | fi |
| 9199 | # 10*(2^10) chars as input seems more than enough |
| 9200 | test $ac_count -gt 10 && break |
| 9201 | done |
| 9202 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 9203 | esac |
| 9204 | |
| 9205 | $ac_path_SED_found && break 3 |
| 9206 | done |
| 9207 | done |
| 9208 | done |
| 9209 | IFS=$as_save_IFS |
| 9210 | if test -z "$ac_cv_path_SED"; then |
| 9211 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 9212 | fi |
| 9213 | else |
| 9214 | ac_cv_path_SED=$SED |
| 9215 | fi |
| 9216 | ;; |
| 9217 | esac |
| 9218 | fi |
| 9219 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 9220 | printf "%s\n" "$ac_cv_path_SED" >&6; } |
| 9221 | SED="$ac_cv_path_SED" |
| 9222 | rm -f conftest.sed |
| 9223 | |
| 9224 | test -z "$SED" && SED=sed |
| 9225 | Xsed="$SED -e 1s/^X//" |
| 9226 | |
| 9227 | |
| 9228 | |
| 9229 | |
| 9230 | |
| 9231 | |
| 9232 | |
| 9233 | |
| 9234 | |
| 9235 | |
| 9236 | |
| 9237 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 9238 | printf %s "checking for grep that handles long lines and -e... " >&6; } |
| 9239 | if test ${ac_cv_path_GREP+y} |
| 9240 | then : |
| 9241 | printf %s "(cached) " >&6 |
| 9242 | else case e in #( |
| 9243 | e) if test -z "$GREP"; then |
| 9244 | ac_path_GREP_found=false |
| 9245 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9246 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9247 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 9248 | do |
| 9249 | IFS=$as_save_IFS |
| 9250 | case $as_dir in #((( |
| 9251 | '') as_dir=./ ;; |
| 9252 | */) ;; |
| 9253 | *) as_dir=$as_dir/ ;; |
| 9254 | esac |
| 9255 | for ac_prog in grep ggrep |
| 9256 | do |
| 9257 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9258 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 9259 | as_fn_executable_p "$ac_path_GREP" || continue |
| 9260 | # Check for GNU ac_path_GREP and select it if it is found. |
| 9261 | # Check for GNU $ac_path_GREP |
| 9262 | case `"$ac_path_GREP" --version 2>&1` in #( |
| 9263 | *GNU*) |
| 9264 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 9265 | #( |
| 9266 | *) |
| 9267 | ac_count=0 |
| 9268 | printf %s 0123456789 >"conftest.in" |
| 9269 | while : |
| 9270 | do |
| 9271 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 9272 | mv "conftest.tmp" "conftest.in" |
| 9273 | cp "conftest.in" "conftest.nl" |
| 9274 | printf "%s\n" 'GREP' >> "conftest.nl" |
| 9275 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 9276 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 9277 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 9278 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 9279 | # Best one so far, save it but keep looking for a better one |
| 9280 | ac_cv_path_GREP="$ac_path_GREP" |
| 9281 | ac_path_GREP_max=$ac_count |
| 9282 | fi |
| 9283 | # 10*(2^10) chars as input seems more than enough |
| 9284 | test $ac_count -gt 10 && break |
| 9285 | done |
| 9286 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 9287 | esac |
| 9288 | |
| 9289 | $ac_path_GREP_found && break 3 |
| 9290 | done |
| 9291 | done |
| 9292 | done |
| 9293 | IFS=$as_save_IFS |
| 9294 | if test -z "$ac_cv_path_GREP"; then |
| 9295 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 9296 | fi |
| 9297 | else |
| 9298 | ac_cv_path_GREP=$GREP |
| 9299 | fi |
| 9300 | ;; |
| 9301 | esac |
| 9302 | fi |
| 9303 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 9304 | printf "%s\n" "$ac_cv_path_GREP" >&6; } |
| 9305 | GREP="$ac_cv_path_GREP" |
| 9306 | |
| 9307 | |
| 9308 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 9309 | printf %s "checking for egrep... " >&6; } |
| 9310 | if test ${ac_cv_path_EGREP+y} |
| 9311 | then : |
| 9312 | printf %s "(cached) " >&6 |
| 9313 | else case e in #( |
| 9314 | e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 9315 | then ac_cv_path_EGREP="$GREP -E" |
| 9316 | else |
| 9317 | if test -z "$EGREP"; then |
| 9318 | ac_path_EGREP_found=false |
| 9319 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9321 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 9322 | do |
| 9323 | IFS=$as_save_IFS |
| 9324 | case $as_dir in #((( |
| 9325 | '') as_dir=./ ;; |
| 9326 | */) ;; |
| 9327 | *) as_dir=$as_dir/ ;; |
| 9328 | esac |
| 9329 | for ac_prog in egrep |
| 9330 | do |
| 9331 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9332 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 9333 | as_fn_executable_p "$ac_path_EGREP" || continue |
| 9334 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 9335 | # Check for GNU $ac_path_EGREP |
| 9336 | case `"$ac_path_EGREP" --version 2>&1` in #( |
| 9337 | *GNU*) |
| 9338 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 9339 | #( |
| 9340 | *) |
| 9341 | ac_count=0 |
| 9342 | printf %s 0123456789 >"conftest.in" |
| 9343 | while : |
| 9344 | do |
| 9345 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 9346 | mv "conftest.tmp" "conftest.in" |
| 9347 | cp "conftest.in" "conftest.nl" |
| 9348 | printf "%s\n" 'EGREP' >> "conftest.nl" |
| 9349 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 9350 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 9351 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 9352 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 9353 | # Best one so far, save it but keep looking for a better one |
| 9354 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 9355 | ac_path_EGREP_max=$ac_count |
| 9356 | fi |
| 9357 | # 10*(2^10) chars as input seems more than enough |
| 9358 | test $ac_count -gt 10 && break |
| 9359 | done |
| 9360 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 9361 | esac |
| 9362 | |
| 9363 | $ac_path_EGREP_found && break 3 |
| 9364 | done |
| 9365 | done |
| 9366 | done |
| 9367 | IFS=$as_save_IFS |
| 9368 | if test -z "$ac_cv_path_EGREP"; then |
| 9369 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 9370 | fi |
| 9371 | else |
| 9372 | ac_cv_path_EGREP=$EGREP |
| 9373 | fi |
| 9374 | |
| 9375 | fi ;; |
| 9376 | esac |
| 9377 | fi |
| 9378 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 9379 | printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 9380 | EGREP="$ac_cv_path_EGREP" |
| 9381 | |
| 9382 | EGREP_TRADITIONAL=$EGREP |
| 9383 | ac_cv_path_EGREP_TRADITIONAL=$EGREP |
| 9384 | |
| 9385 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 9386 | printf %s "checking for fgrep... " >&6; } |
| 9387 | if test ${ac_cv_path_FGREP+y} |
| 9388 | then : |
| 9389 | printf %s "(cached) " >&6 |
| 9390 | else case e in #( |
| 9391 | e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 9392 | then ac_cv_path_FGREP="$GREP -F" |
| 9393 | else |
| 9394 | if test -z "$FGREP"; then |
| 9395 | ac_path_FGREP_found=false |
| 9396 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9397 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9398 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 9399 | do |
| 9400 | IFS=$as_save_IFS |
| 9401 | case $as_dir in #((( |
| 9402 | '') as_dir=./ ;; |
| 9403 | */) ;; |
| 9404 | *) as_dir=$as_dir/ ;; |
| 9405 | esac |
| 9406 | for ac_prog in fgrep |
| 9407 | do |
| 9408 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9409 | ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 9410 | as_fn_executable_p "$ac_path_FGREP" || continue |
| 9411 | # Check for GNU ac_path_FGREP and select it if it is found. |
| 9412 | # Check for GNU $ac_path_FGREP |
| 9413 | case `"$ac_path_FGREP" --version 2>&1` in #( |
| 9414 | *GNU*) |
| 9415 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 9416 | #( |
| 9417 | *) |
| 9418 | ac_count=0 |
| 9419 | printf %s 0123456789 >"conftest.in" |
| 9420 | while : |
| 9421 | do |
| 9422 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 9423 | mv "conftest.tmp" "conftest.in" |
| 9424 | cp "conftest.in" "conftest.nl" |
| 9425 | printf "%s\n" 'FGREP' >> "conftest.nl" |
| 9426 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 9427 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 9428 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 9429 | if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 9430 | # Best one so far, save it but keep looking for a better one |
| 9431 | ac_cv_path_FGREP="$ac_path_FGREP" |
| 9432 | ac_path_FGREP_max=$ac_count |
| 9433 | fi |
| 9434 | # 10*(2^10) chars as input seems more than enough |
| 9435 | test $ac_count -gt 10 && break |
| 9436 | done |
| 9437 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 9438 | esac |
| 9439 | |
| 9440 | $ac_path_FGREP_found && break 3 |
| 9441 | done |
| 9442 | done |
| 9443 | done |
| 9444 | IFS=$as_save_IFS |
| 9445 | if test -z "$ac_cv_path_FGREP"; then |
| 9446 | as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 9447 | fi |
| 9448 | else |
| 9449 | ac_cv_path_FGREP=$FGREP |
| 9450 | fi |
| 9451 | |
| 9452 | fi ;; |
| 9453 | esac |
| 9454 | fi |
| 9455 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 9456 | printf "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 9457 | FGREP="$ac_cv_path_FGREP" |
| 9458 | |
| 9459 | |
| 9460 | test -z "$GREP" && GREP=grep |
| 9461 | |
| 9462 | |
| 9463 | |
| 9464 | |
| 9465 | |
| 9466 | |
| 9467 | |
| 9468 | |
| 9469 | |
| 9470 | |
| 9471 | |
| 9472 | |
| 9473 | |
| 9474 | |
| 9475 | |
| 9476 | |
| 9477 | |
| 9478 | |
| 9479 | |
| 9480 | # Check whether --with-gnu-ld was given. |
| 9481 | if test ${with_gnu_ld+y} |
| 9482 | then : |
| 9483 | withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
| 9484 | else case e in #( |
| 9485 | e) with_gnu_ld=no ;; |
| 9486 | esac |
| 9487 | fi |
| 9488 | |
| 9489 | ac_prog=ld |
| 9490 | if test yes = "$GCC"; then |
| 9491 | # Check if gcc -print-prog-name=ld gives a path. |
| 9492 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 9493 | printf %s "checking for ld used by $CC... " >&6; } |
| 9494 | case $host in |
| 9495 | *-*-mingw* | *-*-windows*) |
| 9496 | # gcc leaves a trailing carriage return, which upsets mingw |
| 9497 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 9498 | *) |
| 9499 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 9500 | esac |
| 9501 | case $ac_prog in |
| 9502 | # Accept absolute paths. |
| 9503 | [\\/]* | ?:[\\/]*) |
| 9504 | re_direlt='/[^/][^/]*/\.\./' |
| 9505 | # Canonicalize the pathname of ld |
| 9506 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 9507 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 9508 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 9509 | done |
| 9510 | test -z "$LD" && LD=$ac_prog |
| 9511 | ;; |
| 9512 | "") |
| 9513 | # If it fails, then pretend we aren't using GCC. |
| 9514 | ac_prog=ld |
| 9515 | ;; |
| 9516 | *) |
| 9517 | # If it is relative, then search for the first ld in PATH. |
| 9518 | with_gnu_ld=unknown |
| 9519 | ;; |
| 9520 | esac |
| 9521 | elif test yes = "$with_gnu_ld"; then |
| 9522 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 9523 | printf %s "checking for GNU ld... " >&6; } |
| 9524 | else |
| 9525 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 9526 | printf %s "checking for non-GNU ld... " >&6; } |
| 9527 | fi |
| 9528 | if test ${lt_cv_path_LD+y} |
| 9529 | then : |
| 9530 | printf %s "(cached) " >&6 |
| 9531 | else case e in #( |
| 9532 | e) if test -z "$LD"; then |
| 9533 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 9534 | for ac_dir in $PATH; do |
| 9535 | IFS=$lt_save_ifs |
| 9536 | test -z "$ac_dir" && ac_dir=. |
| 9537 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 9538 | lt_cv_path_LD=$ac_dir/$ac_prog |
| 9539 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 9540 | # but apparently some variants of GNU ld only accept -v. |
| 9541 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 9542 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 9543 | *GNU* | *'with BFD'*) |
| 9544 | test no != "$with_gnu_ld" && break |
| 9545 | ;; |
| 9546 | *) |
| 9547 | test yes != "$with_gnu_ld" && break |
| 9548 | ;; |
| 9549 | esac |
| 9550 | fi |
| 9551 | done |
| 9552 | IFS=$lt_save_ifs |
| 9553 | else |
| 9554 | lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 9555 | fi ;; |
| 9556 | esac |
| 9557 | fi |
| 9558 | |
| 9559 | LD=$lt_cv_path_LD |
| 9560 | if test -n "$LD"; then |
| 9561 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 9562 | printf "%s\n" "$LD" >&6; } |
| 9563 | else |
| 9564 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9565 | printf "%s\n" "no" >&6; } |
| 9566 | fi |
| 9567 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 9568 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 9569 | printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 9570 | if test ${lt_cv_prog_gnu_ld+y} |
| 9571 | then : |
| 9572 | printf %s "(cached) " >&6 |
| 9573 | else case e in #( |
| 9574 | e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 9575 | case `$LD -v 2>&1 </dev/null` in |
| 9576 | *GNU* | *'with BFD'*) |
| 9577 | lt_cv_prog_gnu_ld=yes |
| 9578 | ;; |
| 9579 | *) |
| 9580 | lt_cv_prog_gnu_ld=no |
| 9581 | ;; |
| 9582 | esac ;; |
| 9583 | esac |
| 9584 | fi |
| 9585 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 9586 | printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 9587 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 9588 | |
| 9589 | |
| 9590 | |
| 9591 | |
| 9592 | |
| 9593 | |
| 9594 | |
| 9595 | |
| 9596 | |
| 9597 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 9598 | printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 9599 | if test ${lt_cv_path_NM+y} |
| 9600 | then : |
| 9601 | printf %s "(cached) " >&6 |
| 9602 | else case e in #( |
| 9603 | e) if test -n "$NM"; then |
| 9604 | # Let the user override the test. |
| 9605 | lt_cv_path_NM=$NM |
| 9606 | else |
| 9607 | lt_nm_to_check=${ac_tool_prefix}nm |
| 9608 | if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 9609 | lt_nm_to_check="$lt_nm_to_check nm" |
| 9610 | fi |
| 9611 | for lt_tmp_nm in $lt_nm_to_check; do |
| 9612 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 9613 | for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 9614 | IFS=$lt_save_ifs |
| 9615 | test -z "$ac_dir" && ac_dir=. |
| 9616 | tmp_nm=$ac_dir/$lt_tmp_nm |
| 9617 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
| 9618 | # Check to see if the nm accepts a BSD-compat flag. |
| 9619 | # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 9620 | # nm: unknown option "B" ignored |
| 9621 | # Tru64's nm complains that /dev/null is an invalid object file |
| 9622 | # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 9623 | case $build_os in |
| 9624 | mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; |
| 9625 | *) lt_bad_file=/dev/null ;; |
| 9626 | esac |
| 9627 | case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 9628 | *$lt_bad_file* | *'Invalid file or object type'*) |
| 9629 | lt_cv_path_NM="$tmp_nm -B" |
| 9630 | break 2 |
| 9631 | ;; |
| 9632 | *) |
| 9633 | case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in |
| 9634 | */dev/null*) |
| 9635 | lt_cv_path_NM="$tmp_nm -p" |
| 9636 | break 2 |
| 9637 | ;; |
| 9638 | *) |
| 9639 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 9640 | continue # so that we can try to find one that supports BSD flags |
| 9641 | ;; |
| 9642 | esac |
| 9643 | ;; |
| 9644 | esac |
| 9645 | fi |
| 9646 | done |
| 9647 | IFS=$lt_save_ifs |
| 9648 | done |
| 9649 | : ${lt_cv_path_NM=no} |
| 9650 | fi ;; |
| 9651 | esac |
| 9652 | fi |
| 9653 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 9654 | printf "%s\n" "$lt_cv_path_NM" >&6; } |
| 9655 | if test no != "$lt_cv_path_NM"; then |
| 9656 | NM=$lt_cv_path_NM |
| 9657 | else |
| 9658 | # Didn't find any BSD compatible name lister, look for dumpbin. |
| 9659 | if test -n "$DUMPBIN"; then : |
| 9660 | # Let the user override the test. |
| 9661 | else |
| 9662 | if test -n "$ac_tool_prefix"; then |
| 9663 | for ac_prog in dumpbin "link -dump" |
| 9664 | do |
| 9665 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 9666 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 9667 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9668 | printf %s "checking for $ac_word... " >&6; } |
| 9669 | if test ${ac_cv_prog_DUMPBIN+y} |
| 9670 | then : |
| 9671 | printf %s "(cached) " >&6 |
| 9672 | else case e in #( |
| 9673 | e) if test -n "$DUMPBIN"; then |
| 9674 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 9675 | else |
| 9676 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9677 | for as_dir in $PATH |
| 9678 | do |
| 9679 | IFS=$as_save_IFS |
| 9680 | case $as_dir in #((( |
| 9681 | '') as_dir=./ ;; |
| 9682 | */) ;; |
| 9683 | *) as_dir=$as_dir/ ;; |
| 9684 | esac |
| 9685 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9686 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 9687 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 9688 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9689 | break 2 |
| 9690 | fi |
| 9691 | done |
| 9692 | done |
| 9693 | IFS=$as_save_IFS |
| 9694 | |
| 9695 | fi ;; |
| 9696 | esac |
| 9697 | fi |
| 9698 | DUMPBIN=$ac_cv_prog_DUMPBIN |
| 9699 | if test -n "$DUMPBIN"; then |
| 9700 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 9701 | printf "%s\n" "$DUMPBIN" >&6; } |
| 9702 | else |
| 9703 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9704 | printf "%s\n" "no" >&6; } |
| 9705 | fi |
| 9706 | |
| 9707 | |
| 9708 | test -n "$DUMPBIN" && break |
| 9709 | done |
| 9710 | fi |
| 9711 | if test -z "$DUMPBIN"; then |
| 9712 | ac_ct_DUMPBIN=$DUMPBIN |
| 9713 | for ac_prog in dumpbin "link -dump" |
| 9714 | do |
| 9715 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 9716 | set dummy $ac_prog; ac_word=$2 |
| 9717 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9718 | printf %s "checking for $ac_word... " >&6; } |
| 9719 | if test ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 9720 | then : |
| 9721 | printf %s "(cached) " >&6 |
| 9722 | else case e in #( |
| 9723 | e) if test -n "$ac_ct_DUMPBIN"; then |
| 9724 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 9725 | else |
| 9726 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9727 | for as_dir in $PATH |
| 9728 | do |
| 9729 | IFS=$as_save_IFS |
| 9730 | case $as_dir in #((( |
| 9731 | '') as_dir=./ ;; |
| 9732 | */) ;; |
| 9733 | *) as_dir=$as_dir/ ;; |
| 9734 | esac |
| 9735 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9736 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 9737 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 9738 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9739 | break 2 |
| 9740 | fi |
| 9741 | done |
| 9742 | done |
| 9743 | IFS=$as_save_IFS |
| 9744 | |
| 9745 | fi ;; |
| 9746 | esac |
| 9747 | fi |
| 9748 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 9749 | if test -n "$ac_ct_DUMPBIN"; then |
| 9750 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 9751 | printf "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 9752 | else |
| 9753 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9754 | printf "%s\n" "no" >&6; } |
| 9755 | fi |
| 9756 | |
| 9757 | |
| 9758 | test -n "$ac_ct_DUMPBIN" && break |
| 9759 | done |
| 9760 | |
| 9761 | if test "x$ac_ct_DUMPBIN" = x; then |
| 9762 | DUMPBIN=":" |
| 9763 | else |
| 9764 | case $cross_compiling:$ac_tool_warned in |
| 9765 | yes:) |
| 9766 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9767 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9768 | ac_tool_warned=yes ;; |
| 9769 | esac |
| 9770 | DUMPBIN=$ac_ct_DUMPBIN |
| 9771 | fi |
| 9772 | fi |
| 9773 | |
| 9774 | case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in |
| 9775 | *COFF*) |
| 9776 | DUMPBIN="$DUMPBIN -symbols -headers" |
| 9777 | ;; |
| 9778 | *) |
| 9779 | DUMPBIN=: |
| 9780 | ;; |
| 9781 | esac |
| 9782 | fi |
| 9783 | |
| 9784 | if test : != "$DUMPBIN"; then |
| 9785 | NM=$DUMPBIN |
| 9786 | fi |
| 9787 | fi |
| 9788 | test -z "$NM" && NM=nm |
| 9789 | |
| 9790 | |
| 9791 | |
| 9792 | |
| 9793 | |
| 9794 | |
| 9795 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 9796 | printf %s "checking the name lister ($NM) interface... " >&6; } |
| 9797 | if test ${lt_cv_nm_interface+y} |
| 9798 | then : |
| 9799 | printf %s "(cached) " >&6 |
| 9800 | else case e in #( |
| 9801 | e) lt_cv_nm_interface="BSD nm" |
| 9802 | echo "int some_variable = 0;" > conftest.$ac_ext |
| 9803 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 9804 | (eval "$ac_compile" 2>conftest.err) |
| 9805 | cat conftest.err >&5 |
| 9806 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 9807 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 9808 | cat conftest.err >&5 |
| 9809 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 9810 | cat conftest.out >&5 |
| 9811 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 9812 | lt_cv_nm_interface="MS dumpbin" |
| 9813 | fi |
| 9814 | rm -f conftest* ;; |
| 9815 | esac |
| 9816 | fi |
| 9817 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 9818 | printf "%s\n" "$lt_cv_nm_interface" >&6; } |
| 9819 | |
| 9820 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 9821 | printf %s "checking whether ln -s works... " >&6; } |
| 9822 | LN_S=$as_ln_s |
| 9823 | if test "$LN_S" = "ln -s"; then |
| 9824 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 9825 | printf "%s\n" "yes" >&6; } |
| 9826 | else |
| 9827 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 9828 | printf "%s\n" "no, using $LN_S" >&6; } |
| 9829 | fi |
| 9830 | |
| 9831 | # find the maximum length of command line arguments |
| 9832 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 9833 | printf %s "checking the maximum length of command line arguments... " >&6; } |
| 9834 | if test ${lt_cv_sys_max_cmd_len+y} |
| 9835 | then : |
| 9836 | printf %s "(cached) " >&6 |
| 9837 | else case e in #( |
| 9838 | e) i=0 |
| 9839 | teststring=ABCD |
| 9840 | |
| 9841 | case $build_os in |
| 9842 | msdosdjgpp*) |
| 9843 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 9844 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 9845 | # during glob expansion). Even if it were fixed, the result of this |
| 9846 | # check would be larger than it should be. |
| 9847 | lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 9848 | ;; |
| 9849 | |
| 9850 | gnu* | ironclad*) |
| 9851 | # Under GNU Hurd and Ironclad, this test is not required because there |
| 9852 | # is no limit to the length of command line arguments. |
| 9853 | # Libtool will interpret -1 as no limit whatsoever |
| 9854 | lt_cv_sys_max_cmd_len=-1; |
| 9855 | ;; |
| 9856 | |
| 9857 | cygwin* | mingw* | windows* | cegcc*) |
| 9858 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 9859 | # about 5 minutes as the teststring grows exponentially. |
| 9860 | # Worse, since 9x/ME are not pre-emptively multitasking, |
| 9861 | # you end up with a "frozen" computer, even though with patience |
| 9862 | # the test eventually succeeds (with a max line length of 256k). |
| 9863 | # Instead, let's just punt: use the minimum linelength reported by |
| 9864 | # all of the supported platforms: 8192 (on NT/2K/XP). |
| 9865 | lt_cv_sys_max_cmd_len=8192; |
| 9866 | ;; |
| 9867 | |
| 9868 | mint*) |
| 9869 | # On MiNT this can take a long time and run out of memory. |
| 9870 | lt_cv_sys_max_cmd_len=8192; |
| 9871 | ;; |
| 9872 | |
| 9873 | amigaos*) |
| 9874 | # On AmigaOS with pdksh, this test takes hours, literally. |
| 9875 | # So we just punt and use a minimum line length of 8192. |
| 9876 | lt_cv_sys_max_cmd_len=8192; |
| 9877 | ;; |
| 9878 | |
| 9879 | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 9880 | # This has been around since 386BSD, at least. Likely further. |
| 9881 | if test -x /sbin/sysctl; then |
| 9882 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 9883 | elif test -x /usr/sbin/sysctl; then |
| 9884 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 9885 | else |
| 9886 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 9887 | fi |
| 9888 | # And add a safety zone |
| 9889 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 9890 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 9891 | ;; |
| 9892 | |
| 9893 | interix*) |
| 9894 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 9895 | lt_cv_sys_max_cmd_len=196608 |
| 9896 | ;; |
| 9897 | |
| 9898 | os2*) |
| 9899 | # The test takes a long time on OS/2. |
| 9900 | lt_cv_sys_max_cmd_len=8192 |
| 9901 | ;; |
| 9902 | |
| 9903 | osf*) |
| 9904 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 9905 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 9906 | # nice to cause kernel panics so lets avoid the loop below. |
| 9907 | # First set a reasonable default. |
| 9908 | lt_cv_sys_max_cmd_len=16384 |
| 9909 | # |
| 9910 | if test -x /sbin/sysconfig; then |
| 9911 | case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
| 9912 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 9913 | esac |
| 9914 | fi |
| 9915 | ;; |
| 9916 | sco3.2v5*) |
| 9917 | lt_cv_sys_max_cmd_len=102400 |
| 9918 | ;; |
| 9919 | sysv5* | sco5v6* | sysv4.2uw2*) |
| 9920 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 9921 | if test -n "$kargmax"; then |
| 9922 | lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` |
| 9923 | else |
| 9924 | lt_cv_sys_max_cmd_len=32768 |
| 9925 | fi |
| 9926 | ;; |
| 9927 | *) |
| 9928 | lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 9929 | if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 9930 | test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 9931 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 9932 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 9933 | else |
| 9934 | # Make teststring a little bigger before we do anything with it. |
| 9935 | # a 1K string should be a reasonable start. |
| 9936 | for i in 1 2 3 4 5 6 7 8; do |
| 9937 | teststring=$teststring$teststring |
| 9938 | done |
| 9939 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 9940 | # If test is not a shell built-in, we'll probably end up computing a |
| 9941 | # maximum length that is only half of the actual maximum length, but |
| 9942 | # we can't tell. |
| 9943 | while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
| 9944 | = "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 9945 | test 17 != "$i" # 1/2 MB should be enough |
| 9946 | do |
| 9947 | i=`expr $i + 1` |
| 9948 | teststring=$teststring$teststring |
| 9949 | done |
| 9950 | # Only check the string length outside the loop. |
| 9951 | lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 9952 | teststring= |
| 9953 | # Add a significant safety factor because C++ compilers can tack on |
| 9954 | # massive amounts of additional arguments before passing them to the |
| 9955 | # linker. It appears as though 1/2 is a usable value. |
| 9956 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 9957 | fi |
| 9958 | ;; |
| 9959 | esac |
| 9960 | ;; |
| 9961 | esac |
| 9962 | fi |
| 9963 | |
| 9964 | if test -n "$lt_cv_sys_max_cmd_len"; then |
| 9965 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 9966 | printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 9967 | else |
| 9968 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 9969 | printf "%s\n" "none" >&6; } |
| 9970 | fi |
| 9971 | max_cmd_len=$lt_cv_sys_max_cmd_len |
| 9972 | |
| 9973 | |
| 9974 | |
| 9975 | |
| 9976 | |
| 9977 | |
| 9978 | : ${CP="cp -f"} |
| 9979 | : ${MV="mv -f"} |
| 9980 | : ${RM="rm -f"} |
| 9981 | |
| 9982 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 9983 | lt_unset=unset |
| 9984 | else |
| 9985 | lt_unset=false |
| 9986 | fi |
| 9987 | |
| 9988 | |
| 9989 | |
| 9990 | |
| 9991 | |
| 9992 | # test EBCDIC or ASCII |
| 9993 | case `echo X|tr X '\101'` in |
| 9994 | A) # ASCII based system |
| 9995 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 9996 | lt_SP2NL='tr \040 \012' |
| 9997 | lt_NL2SP='tr \015\012 \040\040' |
| 9998 | ;; |
| 9999 | *) # EBCDIC based system |
| 10000 | lt_SP2NL='tr \100 \n' |
| 10001 | lt_NL2SP='tr \r\n \100\100' |
| 10002 | ;; |
| 10003 | esac |
| 10004 | |
| 10005 | |
| 10006 | |
| 10007 | |
| 10008 | |
| 10009 | |
| 10010 | |
| 10011 | |
| 10012 | |
| 10013 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 10014 | printf %s "checking how to convert $build file names to $host format... " >&6; } |
| 10015 | if test ${lt_cv_to_host_file_cmd+y} |
| 10016 | then : |
| 10017 | printf %s "(cached) " >&6 |
| 10018 | else case e in #( |
| 10019 | e) case $host in |
| 10020 | *-*-mingw* ) |
| 10021 | case $build in |
| 10022 | *-*-mingw* | *-*-windows* ) # actually msys |
| 10023 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 10024 | ;; |
| 10025 | *-*-cygwin* ) |
| 10026 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 10027 | ;; |
| 10028 | * ) # otherwise, assume *nix |
| 10029 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 10030 | ;; |
| 10031 | esac |
| 10032 | ;; |
| 10033 | *-*-cygwin* ) |
| 10034 | case $build in |
| 10035 | *-*-mingw* | *-*-windows* ) # actually msys |
| 10036 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 10037 | ;; |
| 10038 | *-*-cygwin* ) |
| 10039 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 10040 | ;; |
| 10041 | * ) # otherwise, assume *nix |
| 10042 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 10043 | ;; |
| 10044 | esac |
| 10045 | ;; |
| 10046 | * ) # unhandled hosts (and "normal" native builds) |
| 10047 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 10048 | ;; |
| 10049 | esac |
| 10050 | ;; |
| 10051 | esac |
| 10052 | fi |
| 10053 | |
| 10054 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 10055 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 10056 | printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 10057 | |
| 10058 | |
| 10059 | |
| 10060 | |
| 10061 | |
| 10062 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 10063 | printf %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 10064 | if test ${lt_cv_to_tool_file_cmd+y} |
| 10065 | then : |
| 10066 | printf %s "(cached) " >&6 |
| 10067 | else case e in #( |
| 10068 | e) #assume ordinary cross tools, or native build. |
| 10069 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 10070 | case $host in |
| 10071 | *-*-mingw* | *-*-windows* ) |
| 10072 | case $build in |
| 10073 | *-*-mingw* | *-*-windows* ) # actually msys |
| 10074 | lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 10075 | ;; |
| 10076 | esac |
| 10077 | ;; |
| 10078 | esac |
| 10079 | ;; |
| 10080 | esac |
| 10081 | fi |
| 10082 | |
| 10083 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 10084 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 10085 | printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 10086 | |
| 10087 | |
| 10088 | |
| 10089 | |
| 10090 | |
| 10091 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 10092 | printf %s "checking for $LD option to reload object files... " >&6; } |
| 10093 | if test ${lt_cv_ld_reload_flag+y} |
| 10094 | then : |
| 10095 | printf %s "(cached) " >&6 |
| 10096 | else case e in #( |
| 10097 | e) lt_cv_ld_reload_flag='-r' ;; |
| 10098 | esac |
| 10099 | fi |
| 10100 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 10101 | printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 10102 | reload_flag=$lt_cv_ld_reload_flag |
| 10103 | case $reload_flag in |
| 10104 | "" | " "*) ;; |
| 10105 | *) reload_flag=" $reload_flag" ;; |
| 10106 | esac |
| 10107 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 10108 | case $host_os in |
| 10109 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 10110 | if test yes != "$GCC"; then |
| 10111 | reload_cmds=false |
| 10112 | fi |
| 10113 | ;; |
| 10114 | darwin*) |
| 10115 | if test yes = "$GCC"; then |
| 10116 | reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 10117 | else |
| 10118 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 10119 | fi |
| 10120 | ;; |
| 10121 | esac |
| 10122 | |
| 10123 | |
| 10124 | |
| 10125 | |
| 10126 | |
| 10127 | |
| 10128 | |
| 10129 | |
| 10130 | |
| 10131 | # Extract the first word of "file", so it can be a program name with args. |
| 10132 | set dummy file; ac_word=$2 |
| 10133 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10134 | printf %s "checking for $ac_word... " >&6; } |
| 10135 | if test ${ac_cv_prog_FILECMD+y} |
| 10136 | then : |
| 10137 | printf %s "(cached) " >&6 |
| 10138 | else case e in #( |
| 10139 | e) if test -n "$FILECMD"; then |
| 10140 | ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 10141 | else |
| 10142 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10143 | for as_dir in $PATH |
| 10144 | do |
| 10145 | IFS=$as_save_IFS |
| 10146 | case $as_dir in #((( |
| 10147 | '') as_dir=./ ;; |
| 10148 | */) ;; |
| 10149 | *) as_dir=$as_dir/ ;; |
| 10150 | esac |
| 10151 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10152 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10153 | ac_cv_prog_FILECMD="file" |
| 10154 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10155 | break 2 |
| 10156 | fi |
| 10157 | done |
| 10158 | done |
| 10159 | IFS=$as_save_IFS |
| 10160 | |
| 10161 | test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" |
| 10162 | fi ;; |
| 10163 | esac |
| 10164 | fi |
| 10165 | FILECMD=$ac_cv_prog_FILECMD |
| 10166 | if test -n "$FILECMD"; then |
| 10167 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 10168 | printf "%s\n" "$FILECMD" >&6; } |
| 10169 | else |
| 10170 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10171 | printf "%s\n" "no" >&6; } |
| 10172 | fi |
| 10173 | |
| 10174 | |
| 10175 | |
| 10176 | |
| 10177 | |
| 10178 | |
| 10179 | |
| 10180 | |
| 10181 | if test -n "$ac_tool_prefix"; then |
| 10182 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 10183 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 10184 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10185 | printf %s "checking for $ac_word... " >&6; } |
| 10186 | if test ${ac_cv_prog_OBJDUMP+y} |
| 10187 | then : |
| 10188 | printf %s "(cached) " >&6 |
| 10189 | else case e in #( |
| 10190 | e) if test -n "$OBJDUMP"; then |
| 10191 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 10192 | else |
| 10193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10194 | for as_dir in $PATH |
| 10195 | do |
| 10196 | IFS=$as_save_IFS |
| 10197 | case $as_dir in #((( |
| 10198 | '') as_dir=./ ;; |
| 10199 | */) ;; |
| 10200 | *) as_dir=$as_dir/ ;; |
| 10201 | esac |
| 10202 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10203 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10204 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 10205 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10206 | break 2 |
| 10207 | fi |
| 10208 | done |
| 10209 | done |
| 10210 | IFS=$as_save_IFS |
| 10211 | |
| 10212 | fi ;; |
| 10213 | esac |
| 10214 | fi |
| 10215 | OBJDUMP=$ac_cv_prog_OBJDUMP |
| 10216 | if test -n "$OBJDUMP"; then |
| 10217 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 10218 | printf "%s\n" "$OBJDUMP" >&6; } |
| 10219 | else |
| 10220 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10221 | printf "%s\n" "no" >&6; } |
| 10222 | fi |
| 10223 | |
| 10224 | |
| 10225 | fi |
| 10226 | if test -z "$ac_cv_prog_OBJDUMP"; then |
| 10227 | ac_ct_OBJDUMP=$OBJDUMP |
| 10228 | # Extract the first word of "objdump", so it can be a program name with args. |
| 10229 | set dummy objdump; ac_word=$2 |
| 10230 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10231 | printf %s "checking for $ac_word... " >&6; } |
| 10232 | if test ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 10233 | then : |
| 10234 | printf %s "(cached) " >&6 |
| 10235 | else case e in #( |
| 10236 | e) if test -n "$ac_ct_OBJDUMP"; then |
| 10237 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 10238 | else |
| 10239 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10240 | for as_dir in $PATH |
| 10241 | do |
| 10242 | IFS=$as_save_IFS |
| 10243 | case $as_dir in #((( |
| 10244 | '') as_dir=./ ;; |
| 10245 | */) ;; |
| 10246 | *) as_dir=$as_dir/ ;; |
| 10247 | esac |
| 10248 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10249 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10250 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 10251 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10252 | break 2 |
| 10253 | fi |
| 10254 | done |
| 10255 | done |
| 10256 | IFS=$as_save_IFS |
| 10257 | |
| 10258 | fi ;; |
| 10259 | esac |
| 10260 | fi |
| 10261 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 10262 | if test -n "$ac_ct_OBJDUMP"; then |
| 10263 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 10264 | printf "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 10265 | else |
| 10266 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10267 | printf "%s\n" "no" >&6; } |
| 10268 | fi |
| 10269 | |
| 10270 | if test "x$ac_ct_OBJDUMP" = x; then |
| 10271 | OBJDUMP="false" |
| 10272 | else |
| 10273 | case $cross_compiling:$ac_tool_warned in |
| 10274 | yes:) |
| 10275 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10276 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10277 | ac_tool_warned=yes ;; |
| 10278 | esac |
| 10279 | OBJDUMP=$ac_ct_OBJDUMP |
| 10280 | fi |
| 10281 | else |
| 10282 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 10283 | fi |
| 10284 | |
| 10285 | test -z "$OBJDUMP" && OBJDUMP=objdump |
| 10286 | |
| 10287 | |
| 10288 | |
| 10289 | |
| 10290 | |
| 10291 | |
| 10292 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 10293 | printf %s "checking how to recognize dependent libraries... " >&6; } |
| 10294 | if test ${lt_cv_deplibs_check_method+y} |
| 10295 | then : |
| 10296 | printf %s "(cached) " >&6 |
| 10297 | else case e in #( |
| 10298 | e) lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 10299 | lt_cv_file_magic_test_file= |
| 10300 | lt_cv_deplibs_check_method='unknown' |
| 10301 | # Need to set the preceding variable on all platforms that support |
| 10302 | # interlibrary dependencies. |
| 10303 | # 'none' -- dependencies not supported. |
| 10304 | # 'unknown' -- same as none, but documents that we really don't know. |
| 10305 | # 'pass_all' -- all dependencies passed with no checks. |
| 10306 | # 'file_magic [[regex]]' -- check by looking for files in library path |
| 10307 | # that responds to the $file_magic_cmd with a given extended regex. |
| 10308 | # If you have 'file' or equivalent on your system and you're not sure |
| 10309 | # whether 'pass_all' will *always* work, you probably want this one. |
| 10310 | |
| 10311 | case $host_os in |
| 10312 | aix[4-9]*) |
| 10313 | lt_cv_deplibs_check_method=pass_all |
| 10314 | ;; |
| 10315 | |
| 10316 | beos*) |
| 10317 | lt_cv_deplibs_check_method=pass_all |
| 10318 | ;; |
| 10319 | |
| 10320 | bsdi[45]*) |
| 10321 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 10322 | lt_cv_file_magic_cmd='$FILECMD -L' |
| 10323 | lt_cv_file_magic_test_file=/shlib/libc.so |
| 10324 | ;; |
| 10325 | |
| 10326 | cygwin*) |
| 10327 | # func_win32_libid is a shell function defined in ltmain.sh |
| 10328 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 10329 | lt_cv_file_magic_cmd='func_win32_libid' |
| 10330 | ;; |
| 10331 | |
| 10332 | mingw* | windows* | pw32*) |
| 10333 | # Base MSYS/MinGW do not provide the 'file' command needed by |
| 10334 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 10335 | # unless we find 'file', for example because we are cross-compiling. |
| 10336 | if ( file / ) >/dev/null 2>&1; then |
| 10337 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 10338 | lt_cv_file_magic_cmd='func_win32_libid' |
| 10339 | else |
| 10340 | # Keep this pattern in sync with the one in func_win32_libid. |
| 10341 | lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' |
| 10342 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 10343 | fi |
| 10344 | ;; |
| 10345 | |
| 10346 | cegcc*) |
| 10347 | # use the weaker test based on 'objdump'. See mingw*. |
| 10348 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 10349 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 10350 | ;; |
| 10351 | |
| 10352 | darwin* | rhapsody*) |
| 10353 | lt_cv_deplibs_check_method=pass_all |
| 10354 | ;; |
| 10355 | |
| 10356 | freebsd* | dragonfly* | midnightbsd*) |
| 10357 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 10358 | case $host_cpu in |
| 10359 | i*86 ) |
| 10360 | # Not sure whether the presence of OpenBSD here was a mistake. |
| 10361 | # Let's accept both of them until this is cleared up. |
| 10362 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 10363 | lt_cv_file_magic_cmd=$FILECMD |
| 10364 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 10365 | ;; |
| 10366 | esac |
| 10367 | else |
| 10368 | lt_cv_deplibs_check_method=pass_all |
| 10369 | fi |
| 10370 | ;; |
| 10371 | |
| 10372 | haiku*) |
| 10373 | lt_cv_deplibs_check_method=pass_all |
| 10374 | ;; |
| 10375 | |
| 10376 | hpux10.20* | hpux11*) |
| 10377 | lt_cv_file_magic_cmd=$FILECMD |
| 10378 | case $host_cpu in |
| 10379 | ia64*) |
| 10380 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 10381 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 10382 | ;; |
| 10383 | hppa*64*) |
| 10384 | 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]' |
| 10385 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
| 10386 | ;; |
| 10387 | *) |
| 10388 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 10389 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
| 10390 | ;; |
| 10391 | esac |
| 10392 | ;; |
| 10393 | |
| 10394 | interix[3-9]*) |
| 10395 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 10396 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 10397 | ;; |
| 10398 | |
| 10399 | irix5* | irix6* | nonstopux*) |
| 10400 | case $LD in |
| 10401 | *-32|*"-32 ") libmagic=32-bit;; |
| 10402 | *-n32|*"-n32 ") libmagic=N32;; |
| 10403 | *-64|*"-64 ") libmagic=64-bit;; |
| 10404 | *) libmagic=never-match;; |
| 10405 | esac |
| 10406 | lt_cv_deplibs_check_method=pass_all |
| 10407 | ;; |
| 10408 | |
| 10409 | # This must be glibc/ELF. |
| 10410 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 10411 | lt_cv_deplibs_check_method=pass_all |
| 10412 | ;; |
| 10413 | |
| 10414 | *-mlibc) |
| 10415 | lt_cv_deplibs_check_method=pass_all |
| 10416 | ;; |
| 10417 | |
| 10418 | netbsd* | netbsdelf*-gnu) |
| 10419 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 10420 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 10421 | else |
| 10422 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 10423 | fi |
| 10424 | ;; |
| 10425 | |
| 10426 | newos6*) |
| 10427 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 10428 | lt_cv_file_magic_cmd=$FILECMD |
| 10429 | lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 10430 | ;; |
| 10431 | |
| 10432 | *nto* | *qnx*) |
| 10433 | lt_cv_deplibs_check_method=pass_all |
| 10434 | ;; |
| 10435 | |
| 10436 | openbsd*) |
| 10437 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 10438 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 10439 | else |
| 10440 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 10441 | fi |
| 10442 | ;; |
| 10443 | |
| 10444 | osf3* | osf4* | osf5*) |
| 10445 | lt_cv_deplibs_check_method=pass_all |
| 10446 | ;; |
| 10447 | |
| 10448 | rdos*) |
| 10449 | lt_cv_deplibs_check_method=pass_all |
| 10450 | ;; |
| 10451 | |
| 10452 | serenity*) |
| 10453 | lt_cv_deplibs_check_method=pass_all |
| 10454 | ;; |
| 10455 | |
| 10456 | solaris*) |
| 10457 | lt_cv_deplibs_check_method=pass_all |
| 10458 | ;; |
| 10459 | |
| 10460 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 10461 | lt_cv_deplibs_check_method=pass_all |
| 10462 | ;; |
| 10463 | |
| 10464 | sysv4 | sysv4.3*) |
| 10465 | case $host_vendor in |
| 10466 | motorola) |
| 10467 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
| 10468 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
| 10469 | ;; |
| 10470 | ncr) |
| 10471 | lt_cv_deplibs_check_method=pass_all |
| 10472 | ;; |
| 10473 | sequent) |
| 10474 | lt_cv_file_magic_cmd='/bin/file' |
| 10475 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
| 10476 | ;; |
| 10477 | sni) |
| 10478 | lt_cv_file_magic_cmd='/bin/file' |
| 10479 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
| 10480 | lt_cv_file_magic_test_file=/lib/libc.so |
| 10481 | ;; |
| 10482 | siemens) |
| 10483 | lt_cv_deplibs_check_method=pass_all |
| 10484 | ;; |
| 10485 | pc) |
| 10486 | lt_cv_deplibs_check_method=pass_all |
| 10487 | ;; |
| 10488 | esac |
| 10489 | ;; |
| 10490 | |
| 10491 | tpf*) |
| 10492 | lt_cv_deplibs_check_method=pass_all |
| 10493 | ;; |
| 10494 | os2*) |
| 10495 | lt_cv_deplibs_check_method=pass_all |
| 10496 | ;; |
| 10497 | esac |
| 10498 | ;; |
| 10499 | esac |
| 10500 | fi |
| 10501 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 10502 | printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 10503 | |
| 10504 | file_magic_glob= |
| 10505 | want_nocaseglob=no |
| 10506 | if test "$build" = "$host"; then |
| 10507 | case $host_os in |
| 10508 | mingw* | windows* | pw32*) |
| 10509 | if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 10510 | want_nocaseglob=yes |
| 10511 | else |
| 10512 | file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 10513 | fi |
| 10514 | ;; |
| 10515 | esac |
| 10516 | fi |
| 10517 | |
| 10518 | file_magic_cmd=$lt_cv_file_magic_cmd |
| 10519 | deplibs_check_method=$lt_cv_deplibs_check_method |
| 10520 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 10521 | |
| 10522 | |
| 10523 | |
| 10524 | |
| 10525 | |
| 10526 | |
| 10527 | |
| 10528 | |
| 10529 | |
| 10530 | |
| 10531 | |
| 10532 | |
| 10533 | |
| 10534 | |
| 10535 | |
| 10536 | |
| 10537 | |
| 10538 | |
| 10539 | |
| 10540 | |
| 10541 | |
| 10542 | |
| 10543 | if test -n "$ac_tool_prefix"; then |
| 10544 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 10545 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 10546 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10547 | printf %s "checking for $ac_word... " >&6; } |
| 10548 | if test ${ac_cv_prog_DLLTOOL+y} |
| 10549 | then : |
| 10550 | printf %s "(cached) " >&6 |
| 10551 | else case e in #( |
| 10552 | e) if test -n "$DLLTOOL"; then |
| 10553 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 10554 | else |
| 10555 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10556 | for as_dir in $PATH |
| 10557 | do |
| 10558 | IFS=$as_save_IFS |
| 10559 | case $as_dir in #((( |
| 10560 | '') as_dir=./ ;; |
| 10561 | */) ;; |
| 10562 | *) as_dir=$as_dir/ ;; |
| 10563 | esac |
| 10564 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10565 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10566 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 10567 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10568 | break 2 |
| 10569 | fi |
| 10570 | done |
| 10571 | done |
| 10572 | IFS=$as_save_IFS |
| 10573 | |
| 10574 | fi ;; |
| 10575 | esac |
| 10576 | fi |
| 10577 | DLLTOOL=$ac_cv_prog_DLLTOOL |
| 10578 | if test -n "$DLLTOOL"; then |
| 10579 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 10580 | printf "%s\n" "$DLLTOOL" >&6; } |
| 10581 | else |
| 10582 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10583 | printf "%s\n" "no" >&6; } |
| 10584 | fi |
| 10585 | |
| 10586 | |
| 10587 | fi |
| 10588 | if test -z "$ac_cv_prog_DLLTOOL"; then |
| 10589 | ac_ct_DLLTOOL=$DLLTOOL |
| 10590 | # Extract the first word of "dlltool", so it can be a program name with args. |
| 10591 | set dummy dlltool; ac_word=$2 |
| 10592 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10593 | printf %s "checking for $ac_word... " >&6; } |
| 10594 | if test ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 10595 | then : |
| 10596 | printf %s "(cached) " >&6 |
| 10597 | else case e in #( |
| 10598 | e) if test -n "$ac_ct_DLLTOOL"; then |
| 10599 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 10600 | else |
| 10601 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10602 | for as_dir in $PATH |
| 10603 | do |
| 10604 | IFS=$as_save_IFS |
| 10605 | case $as_dir in #((( |
| 10606 | '') as_dir=./ ;; |
| 10607 | */) ;; |
| 10608 | *) as_dir=$as_dir/ ;; |
| 10609 | esac |
| 10610 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10611 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10612 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 10613 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10614 | break 2 |
| 10615 | fi |
| 10616 | done |
| 10617 | done |
| 10618 | IFS=$as_save_IFS |
| 10619 | |
| 10620 | fi ;; |
| 10621 | esac |
| 10622 | fi |
| 10623 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 10624 | if test -n "$ac_ct_DLLTOOL"; then |
| 10625 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 10626 | printf "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 10627 | else |
| 10628 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10629 | printf "%s\n" "no" >&6; } |
| 10630 | fi |
| 10631 | |
| 10632 | if test "x$ac_ct_DLLTOOL" = x; then |
| 10633 | DLLTOOL="false" |
| 10634 | else |
| 10635 | case $cross_compiling:$ac_tool_warned in |
| 10636 | yes:) |
| 10637 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10638 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10639 | ac_tool_warned=yes ;; |
| 10640 | esac |
| 10641 | DLLTOOL=$ac_ct_DLLTOOL |
| 10642 | fi |
| 10643 | else |
| 10644 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 10645 | fi |
| 10646 | |
| 10647 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 10648 | |
| 10649 | |
| 10650 | |
| 10651 | |
| 10652 | |
| 10653 | |
| 10654 | |
| 10655 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 10656 | printf %s "checking how to associate runtime and link libraries... " >&6; } |
| 10657 | if test ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 10658 | then : |
| 10659 | printf %s "(cached) " >&6 |
| 10660 | else case e in #( |
| 10661 | e) lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 10662 | |
| 10663 | case $host_os in |
| 10664 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 10665 | # two different shell functions defined in ltmain.sh; |
| 10666 | # decide which one to use based on capabilities of $DLLTOOL |
| 10667 | case `$DLLTOOL --help 2>&1` in |
| 10668 | *--identify-strict*) |
| 10669 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 10670 | ;; |
| 10671 | *) |
| 10672 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 10673 | ;; |
| 10674 | esac |
| 10675 | ;; |
| 10676 | *) |
| 10677 | # fallback: assume linklib IS sharedlib |
| 10678 | lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 10679 | ;; |
| 10680 | esac |
| 10681 | ;; |
| 10682 | esac |
| 10683 | fi |
| 10684 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 10685 | printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 10686 | sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 10687 | test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 10688 | |
| 10689 | |
| 10690 | |
| 10691 | |
| 10692 | |
| 10693 | |
| 10694 | |
| 10695 | if test -n "$ac_tool_prefix"; then |
| 10696 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 10697 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 10698 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10699 | printf %s "checking for $ac_word... " >&6; } |
| 10700 | if test ${ac_cv_prog_RANLIB+y} |
| 10701 | then : |
| 10702 | printf %s "(cached) " >&6 |
| 10703 | else case e in #( |
| 10704 | e) if test -n "$RANLIB"; then |
| 10705 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 10706 | else |
| 10707 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10708 | for as_dir in $PATH |
| 10709 | do |
| 10710 | IFS=$as_save_IFS |
| 10711 | case $as_dir in #((( |
| 10712 | '') as_dir=./ ;; |
| 10713 | */) ;; |
| 10714 | *) as_dir=$as_dir/ ;; |
| 10715 | esac |
| 10716 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10717 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10718 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 10719 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10720 | break 2 |
| 10721 | fi |
| 10722 | done |
| 10723 | done |
| 10724 | IFS=$as_save_IFS |
| 10725 | |
| 10726 | fi ;; |
| 10727 | esac |
| 10728 | fi |
| 10729 | RANLIB=$ac_cv_prog_RANLIB |
| 10730 | if test -n "$RANLIB"; then |
| 10731 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 10732 | printf "%s\n" "$RANLIB" >&6; } |
| 10733 | else |
| 10734 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10735 | printf "%s\n" "no" >&6; } |
| 10736 | fi |
| 10737 | |
| 10738 | |
| 10739 | fi |
| 10740 | if test -z "$ac_cv_prog_RANLIB"; then |
| 10741 | ac_ct_RANLIB=$RANLIB |
| 10742 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 10743 | set dummy ranlib; ac_word=$2 |
| 10744 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10745 | printf %s "checking for $ac_word... " >&6; } |
| 10746 | if test ${ac_cv_prog_ac_ct_RANLIB+y} |
| 10747 | then : |
| 10748 | printf %s "(cached) " >&6 |
| 10749 | else case e in #( |
| 10750 | e) if test -n "$ac_ct_RANLIB"; then |
| 10751 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 10752 | else |
| 10753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10754 | for as_dir in $PATH |
| 10755 | do |
| 10756 | IFS=$as_save_IFS |
| 10757 | case $as_dir in #((( |
| 10758 | '') as_dir=./ ;; |
| 10759 | */) ;; |
| 10760 | *) as_dir=$as_dir/ ;; |
| 10761 | esac |
| 10762 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10763 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10764 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 10765 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10766 | break 2 |
| 10767 | fi |
| 10768 | done |
| 10769 | done |
| 10770 | IFS=$as_save_IFS |
| 10771 | |
| 10772 | fi ;; |
| 10773 | esac |
| 10774 | fi |
| 10775 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 10776 | if test -n "$ac_ct_RANLIB"; then |
| 10777 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 10778 | printf "%s\n" "$ac_ct_RANLIB" >&6; } |
| 10779 | else |
| 10780 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10781 | printf "%s\n" "no" >&6; } |
| 10782 | fi |
| 10783 | |
| 10784 | if test "x$ac_ct_RANLIB" = x; then |
| 10785 | RANLIB=":" |
| 10786 | else |
| 10787 | case $cross_compiling:$ac_tool_warned in |
| 10788 | yes:) |
| 10789 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10790 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10791 | ac_tool_warned=yes ;; |
| 10792 | esac |
| 10793 | RANLIB=$ac_ct_RANLIB |
| 10794 | fi |
| 10795 | else |
| 10796 | RANLIB="$ac_cv_prog_RANLIB" |
| 10797 | fi |
| 10798 | |
| 10799 | if test -n "$ac_tool_prefix"; then |
| 10800 | for ac_prog in ar |
| 10801 | do |
| 10802 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 10803 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 10804 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10805 | printf %s "checking for $ac_word... " >&6; } |
| 10806 | if test ${ac_cv_prog_AR+y} |
| 10807 | then : |
| 10808 | printf %s "(cached) " >&6 |
| 10809 | else case e in #( |
| 10810 | e) if test -n "$AR"; then |
| 10811 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 10812 | else |
| 10813 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10814 | for as_dir in $PATH |
| 10815 | do |
| 10816 | IFS=$as_save_IFS |
| 10817 | case $as_dir in #((( |
| 10818 | '') as_dir=./ ;; |
| 10819 | */) ;; |
| 10820 | *) as_dir=$as_dir/ ;; |
| 10821 | esac |
| 10822 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10823 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10824 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 10825 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10826 | break 2 |
| 10827 | fi |
| 10828 | done |
| 10829 | done |
| 10830 | IFS=$as_save_IFS |
| 10831 | |
| 10832 | fi ;; |
| 10833 | esac |
| 10834 | fi |
| 10835 | AR=$ac_cv_prog_AR |
| 10836 | if test -n "$AR"; then |
| 10837 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 10838 | printf "%s\n" "$AR" >&6; } |
| 10839 | else |
| 10840 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10841 | printf "%s\n" "no" >&6; } |
| 10842 | fi |
| 10843 | |
| 10844 | |
| 10845 | test -n "$AR" && break |
| 10846 | done |
| 10847 | fi |
| 10848 | if test -z "$AR"; then |
| 10849 | ac_ct_AR=$AR |
| 10850 | for ac_prog in ar |
| 10851 | do |
| 10852 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 10853 | set dummy $ac_prog; ac_word=$2 |
| 10854 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10855 | printf %s "checking for $ac_word... " >&6; } |
| 10856 | if test ${ac_cv_prog_ac_ct_AR+y} |
| 10857 | then : |
| 10858 | printf %s "(cached) " >&6 |
| 10859 | else case e in #( |
| 10860 | e) if test -n "$ac_ct_AR"; then |
| 10861 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 10862 | else |
| 10863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10864 | for as_dir in $PATH |
| 10865 | do |
| 10866 | IFS=$as_save_IFS |
| 10867 | case $as_dir in #((( |
| 10868 | '') as_dir=./ ;; |
| 10869 | */) ;; |
| 10870 | *) as_dir=$as_dir/ ;; |
| 10871 | esac |
| 10872 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10873 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 10874 | ac_cv_prog_ac_ct_AR="$ac_prog" |
| 10875 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10876 | break 2 |
| 10877 | fi |
| 10878 | done |
| 10879 | done |
| 10880 | IFS=$as_save_IFS |
| 10881 | |
| 10882 | fi ;; |
| 10883 | esac |
| 10884 | fi |
| 10885 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 10886 | if test -n "$ac_ct_AR"; then |
| 10887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 10888 | printf "%s\n" "$ac_ct_AR" >&6; } |
| 10889 | else |
| 10890 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10891 | printf "%s\n" "no" >&6; } |
| 10892 | fi |
| 10893 | |
| 10894 | |
| 10895 | test -n "$ac_ct_AR" && break |
| 10896 | done |
| 10897 | |
| 10898 | if test "x$ac_ct_AR" = x; then |
| 10899 | AR="false" |
| 10900 | else |
| 10901 | case $cross_compiling:$ac_tool_warned in |
| 10902 | yes:) |
| 10903 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10904 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10905 | ac_tool_warned=yes ;; |
| 10906 | esac |
| 10907 | AR=$ac_ct_AR |
| 10908 | fi |
| 10909 | fi |
| 10910 | |
| 10911 | : ${AR=ar} |
| 10912 | |
| 10913 | |
| 10914 | |
| 10915 | |
| 10916 | |
| 10917 | |
| 10918 | # Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 10919 | # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 10920 | # higher priority because that's what people were doing historically (setting |
| 10921 | # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 10922 | # variable obsoleted/removed. |
| 10923 | |
| 10924 | test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 10925 | lt_ar_flags=$AR_FLAGS |
| 10926 | |
| 10927 | |
| 10928 | |
| 10929 | |
| 10930 | |
| 10931 | |
| 10932 | # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 10933 | # by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 10934 | |
| 10935 | |
| 10936 | |
| 10937 | |
| 10938 | |
| 10939 | |
| 10940 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 10941 | printf %s "checking for archiver @FILE support... " >&6; } |
| 10942 | if test ${lt_cv_ar_at_file+y} |
| 10943 | then : |
| 10944 | printf %s "(cached) " >&6 |
| 10945 | else case e in #( |
| 10946 | e) lt_cv_ar_at_file=no |
| 10947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10948 | /* end confdefs.h. */ |
| 10949 | |
| 10950 | int |
| 10951 | main (void) |
| 10952 | { |
| 10953 | |
| 10954 | ; |
| 10955 | return 0; |
| 10956 | } |
| 10957 | _ACEOF |
| 10958 | if ac_fn_c_try_compile "$LINENO" |
| 10959 | then : |
| 10960 | echo conftest.$ac_objext > conftest.lst |
| 10961 | lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 10962 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 10963 | (eval $lt_ar_try) 2>&5 |
| 10964 | ac_status=$? |
| 10965 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10966 | test $ac_status = 0; } |
| 10967 | if test 0 -eq "$ac_status"; then |
| 10968 | # Ensure the archiver fails upon bogus file names. |
| 10969 | rm -f conftest.$ac_objext libconftest.a |
| 10970 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 10971 | (eval $lt_ar_try) 2>&5 |
| 10972 | ac_status=$? |
| 10973 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10974 | test $ac_status = 0; } |
| 10975 | if test 0 -ne "$ac_status"; then |
| 10976 | lt_cv_ar_at_file=@ |
| 10977 | fi |
| 10978 | fi |
| 10979 | rm -f conftest.* libconftest.a |
| 10980 | |
| 10981 | fi |
| 10982 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 10983 | ;; |
| 10984 | esac |
| 10985 | fi |
| 10986 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 10987 | printf "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 10988 | |
| 10989 | if test no = "$lt_cv_ar_at_file"; then |
| 10990 | archiver_list_spec= |
| 10991 | else |
| 10992 | archiver_list_spec=$lt_cv_ar_at_file |
| 10993 | fi |
| 10994 | |
| 10995 | |
| 10996 | |
| 10997 | |
| 10998 | |
| 10999 | |
| 11000 | |
| 11001 | if test -n "$ac_tool_prefix"; then |
| 11002 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 11003 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 11004 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11005 | printf %s "checking for $ac_word... " >&6; } |
| 11006 | if test ${ac_cv_prog_STRIP+y} |
| 11007 | then : |
| 11008 | printf %s "(cached) " >&6 |
| 11009 | else case e in #( |
| 11010 | e) if test -n "$STRIP"; then |
| 11011 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 11012 | else |
| 11013 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11014 | for as_dir in $PATH |
| 11015 | do |
| 11016 | IFS=$as_save_IFS |
| 11017 | case $as_dir in #((( |
| 11018 | '') as_dir=./ ;; |
| 11019 | */) ;; |
| 11020 | *) as_dir=$as_dir/ ;; |
| 11021 | esac |
| 11022 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11023 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11024 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 11025 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11026 | break 2 |
| 11027 | fi |
| 11028 | done |
| 11029 | done |
| 11030 | IFS=$as_save_IFS |
| 11031 | |
| 11032 | fi ;; |
| 11033 | esac |
| 11034 | fi |
| 11035 | STRIP=$ac_cv_prog_STRIP |
| 11036 | if test -n "$STRIP"; then |
| 11037 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 11038 | printf "%s\n" "$STRIP" >&6; } |
| 11039 | else |
| 11040 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11041 | printf "%s\n" "no" >&6; } |
| 11042 | fi |
| 11043 | |
| 11044 | |
| 11045 | fi |
| 11046 | if test -z "$ac_cv_prog_STRIP"; then |
| 11047 | ac_ct_STRIP=$STRIP |
| 11048 | # Extract the first word of "strip", so it can be a program name with args. |
| 11049 | set dummy strip; ac_word=$2 |
| 11050 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11051 | printf %s "checking for $ac_word... " >&6; } |
| 11052 | if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 11053 | then : |
| 11054 | printf %s "(cached) " >&6 |
| 11055 | else case e in #( |
| 11056 | e) if test -n "$ac_ct_STRIP"; then |
| 11057 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 11058 | else |
| 11059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11060 | for as_dir in $PATH |
| 11061 | do |
| 11062 | IFS=$as_save_IFS |
| 11063 | case $as_dir in #((( |
| 11064 | '') as_dir=./ ;; |
| 11065 | */) ;; |
| 11066 | *) as_dir=$as_dir/ ;; |
| 11067 | esac |
| 11068 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11069 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11070 | ac_cv_prog_ac_ct_STRIP="strip" |
| 11071 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11072 | break 2 |
| 11073 | fi |
| 11074 | done |
| 11075 | done |
| 11076 | IFS=$as_save_IFS |
| 11077 | |
| 11078 | fi ;; |
| 11079 | esac |
| 11080 | fi |
| 11081 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 11082 | if test -n "$ac_ct_STRIP"; then |
| 11083 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 11084 | printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 11085 | else |
| 11086 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11087 | printf "%s\n" "no" >&6; } |
| 11088 | fi |
| 11089 | |
| 11090 | if test "x$ac_ct_STRIP" = x; then |
| 11091 | STRIP=":" |
| 11092 | else |
| 11093 | case $cross_compiling:$ac_tool_warned in |
| 11094 | yes:) |
| 11095 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 11096 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 11097 | ac_tool_warned=yes ;; |
| 11098 | esac |
| 11099 | STRIP=$ac_ct_STRIP |
| 11100 | fi |
| 11101 | else |
| 11102 | STRIP="$ac_cv_prog_STRIP" |
| 11103 | fi |
| 11104 | |
| 11105 | test -z "$STRIP" && STRIP=: |
| 11106 | |
| 11107 | |
| 11108 | |
| 11109 | |
| 11110 | |
| 11111 | |
| 11112 | |
| 11113 | test -z "$RANLIB" && RANLIB=: |
| 11114 | |
| 11115 | |
| 11116 | |
| 11117 | |
| 11118 | |
| 11119 | |
| 11120 | # Determine commands to create old-style static archives. |
| 11121 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 11122 | old_postinstall_cmds='chmod 644 $oldlib' |
| 11123 | old_postuninstall_cmds= |
| 11124 | |
| 11125 | if test -n "$RANLIB"; then |
| 11126 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 11127 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 11128 | fi |
| 11129 | |
| 11130 | case $host_os in |
| 11131 | darwin*) |
| 11132 | lock_old_archive_extraction=yes ;; |
| 11133 | *) |
| 11134 | lock_old_archive_extraction=no ;; |
| 11135 | esac |
| 11136 | |
| 11137 | |
| 11138 | |
| 11139 | |
| 11140 | |
| 11141 | |
| 11142 | |
| 11143 | |
| 11144 | |
| 11145 | |
| 11146 | |
| 11147 | |
| 11148 | |
| 11149 | |
| 11150 | |
| 11151 | |
| 11152 | |
| 11153 | |
| 11154 | |
| 11155 | |
| 11156 | |
| 11157 | |
| 11158 | |
| 11159 | |
| 11160 | |
| 11161 | |
| 11162 | |
| 11163 | |
| 11164 | |
| 11165 | |
| 11166 | |
| 11167 | |
| 11168 | |
| 11169 | |
| 11170 | |
| 11171 | |
| 11172 | |
| 11173 | |
| 11174 | |
| 11175 | # If no C compiler was specified, use CC. |
| 11176 | LTCC=${LTCC-"$CC"} |
| 11177 | |
| 11178 | # If no C compiler flags were specified, use CFLAGS. |
| 11179 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 11180 | |
| 11181 | # Allow CC to be a program name with arguments. |
| 11182 | compiler=$CC |
| 11183 | |
| 11184 | |
| 11185 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
| 11186 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 11187 | printf %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 11188 | if test ${lt_cv_sys_global_symbol_pipe+y} |
| 11189 | then : |
| 11190 | printf %s "(cached) " >&6 |
| 11191 | else case e in #( |
| 11192 | e) |
| 11193 | # These are sane defaults that work on at least a few old systems. |
| 11194 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 11195 | |
| 11196 | # Character class describing NM global symbol codes. |
| 11197 | symcode='[BCDEGRST]' |
| 11198 | |
| 11199 | # Regexp to match symbols that can be accessed directly from C. |
| 11200 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 11201 | |
| 11202 | # Define system-specific variables. |
| 11203 | case $host_os in |
| 11204 | aix*) |
| 11205 | symcode='[BCDT]' |
| 11206 | ;; |
| 11207 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 11208 | symcode='[ABCDGISTW]' |
| 11209 | ;; |
| 11210 | hpux*) |
| 11211 | if test ia64 = "$host_cpu"; then |
| 11212 | symcode='[ABCDEGRST]' |
| 11213 | fi |
| 11214 | ;; |
| 11215 | irix* | nonstopux*) |
| 11216 | symcode='[BCDEGRST]' |
| 11217 | ;; |
| 11218 | osf*) |
| 11219 | symcode='[BCDEGQRST]' |
| 11220 | ;; |
| 11221 | solaris*) |
| 11222 | symcode='[BCDRT]' |
| 11223 | ;; |
| 11224 | sco3.2v5*) |
| 11225 | symcode='[DT]' |
| 11226 | ;; |
| 11227 | sysv4.2uw2*) |
| 11228 | symcode='[DT]' |
| 11229 | ;; |
| 11230 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 11231 | symcode='[ABDT]' |
| 11232 | ;; |
| 11233 | sysv4) |
| 11234 | symcode='[DFNSTU]' |
| 11235 | ;; |
| 11236 | esac |
| 11237 | |
| 11238 | # If we're using GNU nm, then use its standard symbol codes. |
| 11239 | case `$NM -V 2>&1` in |
| 11240 | *GNU* | *'with BFD'*) |
| 11241 | symcode='[ABCDGIRSTW]' ;; |
| 11242 | esac |
| 11243 | |
| 11244 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 11245 | # Gets list of data symbols to import. |
| 11246 | lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 11247 | # Adjust the below global symbol transforms to fixup imported variables. |
| 11248 | lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 11249 | lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 11250 | lt_c_name_lib_hook="\ |
| 11251 | -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 11252 | -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 11253 | else |
| 11254 | # Disable hooks by default. |
| 11255 | lt_cv_sys_global_symbol_to_import= |
| 11256 | lt_cdecl_hook= |
| 11257 | lt_c_name_hook= |
| 11258 | lt_c_name_lib_hook= |
| 11259 | fi |
| 11260 | |
| 11261 | # Transform an extracted symbol line into a proper C declaration. |
| 11262 | # Some systems (esp. on ia64) link data and code symbols differently, |
| 11263 | # so use this general approach. |
| 11264 | lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 11265 | $lt_cdecl_hook\ |
| 11266 | " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 11267 | " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 11268 | |
| 11269 | # Transform an extracted symbol line into symbol name and symbol address |
| 11270 | lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 11271 | $lt_c_name_hook\ |
| 11272 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 11273 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 11274 | |
| 11275 | # Transform an extracted symbol line into symbol name with lib prefix and |
| 11276 | # symbol address. |
| 11277 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 11278 | $lt_c_name_lib_hook\ |
| 11279 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 11280 | " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 11281 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 11282 | |
| 11283 | # Handle CRLF in mingw tool chain |
| 11284 | opt_cr= |
| 11285 | case $build_os in |
| 11286 | mingw* | windows*) |
| 11287 | opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 11288 | ;; |
| 11289 | esac |
| 11290 | |
| 11291 | # Try without a prefix underscore, then with it. |
| 11292 | for ac_symprfx in "" "_"; do |
| 11293 | |
| 11294 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 11295 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 11296 | |
| 11297 | # Write the raw and C identifiers. |
| 11298 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 11299 | # Fake it for dumpbin and say T for any non-static function, |
| 11300 | # D for any global variable and I for any imported variable. |
| 11301 | # Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 11302 | # which start with @ or ?. |
| 11303 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 11304 | " {last_section=section; section=\$ 3};"\ |
| 11305 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 11306 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 11307 | " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 11308 | " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 11309 | " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 11310 | " \$ 0!~/External *\|/{next};"\ |
| 11311 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 11312 | " {if(hide[section]) next};"\ |
| 11313 | " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 11314 | " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 11315 | " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 11316 | " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 11317 | " ' prfx=^$ac_symprfx" |
| 11318 | else |
| 11319 | lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 11320 | fi |
| 11321 | lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 11322 | |
| 11323 | # Check to see that the pipe works correctly. |
| 11324 | pipe_works=no |
| 11325 | |
| 11326 | rm -f conftest* |
| 11327 | cat > conftest.$ac_ext <<_LT_EOF |
| 11328 | #ifdef __cplusplus |
| 11329 | extern "C" { |
| 11330 | #endif |
| 11331 | char nm_test_var; |
| 11332 | void nm_test_func(void); |
| 11333 | void nm_test_func(void){} |
| 11334 | #ifdef __cplusplus |
| 11335 | } |
| 11336 | #endif |
| 11337 | int main(void){nm_test_var='a';nm_test_func();return(0);} |
| 11338 | _LT_EOF |
| 11339 | |
| 11340 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11341 | (eval $ac_compile) 2>&5 |
| 11342 | ac_status=$? |
| 11343 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11344 | test $ac_status = 0; }; then |
| 11345 | # Now try to grab the symbols. |
| 11346 | nlist=conftest.nm |
| 11347 | $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 11348 | if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
| 11349 | # Try sorting and uniquifying the output. |
| 11350 | if sort "$nlist" | uniq > "$nlist"T; then |
| 11351 | mv -f "$nlist"T "$nlist" |
| 11352 | else |
| 11353 | rm -f "$nlist"T |
| 11354 | fi |
| 11355 | |
| 11356 | # Make sure that we snagged all the symbols we need. |
| 11357 | if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 11358 | if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 11359 | cat <<_LT_EOF > conftest.$ac_ext |
| 11360 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 11361 | #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 11362 | /* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 11363 | relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 11364 | # define LT_DLSYM_CONST |
| 11365 | #elif defined __osf__ |
| 11366 | /* This system does not cope well with relocations in const data. */ |
| 11367 | # define LT_DLSYM_CONST |
| 11368 | #else |
| 11369 | # define LT_DLSYM_CONST const |
| 11370 | #endif |
| 11371 | |
| 11372 | #ifdef __cplusplus |
| 11373 | extern "C" { |
| 11374 | #endif |
| 11375 | |
| 11376 | _LT_EOF |
| 11377 | # Now generate the symbol file. |
| 11378 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
| 11379 | |
| 11380 | cat <<_LT_EOF >> conftest.$ac_ext |
| 11381 | |
| 11382 | /* The mapping between symbol names and symbols. */ |
| 11383 | LT_DLSYM_CONST struct { |
| 11384 | const char *name; |
| 11385 | void *address; |
| 11386 | } |
| 11387 | lt__PROGRAM__LTX_preloaded_symbols[] = |
| 11388 | { |
| 11389 | { "@PROGRAM@", (void *) 0 }, |
| 11390 | _LT_EOF |
| 11391 | $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 11392 | cat <<\_LT_EOF >> conftest.$ac_ext |
| 11393 | {0, (void *) 0} |
| 11394 | }; |
| 11395 | |
| 11396 | /* This works around a problem in FreeBSD linker */ |
| 11397 | #ifdef FREEBSD_WORKAROUND |
| 11398 | static const void *lt_preloaded_setup() { |
| 11399 | return lt__PROGRAM__LTX_preloaded_symbols; |
| 11400 | } |
| 11401 | #endif |
| 11402 | |
| 11403 | #ifdef __cplusplus |
| 11404 | } |
| 11405 | #endif |
| 11406 | _LT_EOF |
| 11407 | # Now try linking the two files. |
| 11408 | mv conftest.$ac_objext conftstm.$ac_objext |
| 11409 | lt_globsym_save_LIBS=$LIBS |
| 11410 | lt_globsym_save_CFLAGS=$CFLAGS |
| 11411 | LIBS=conftstm.$ac_objext |
| 11412 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 11413 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 11414 | (eval $ac_link) 2>&5 |
| 11415 | ac_status=$? |
| 11416 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11417 | test $ac_status = 0; } && test -s conftest$ac_exeext; then |
| 11418 | pipe_works=yes |
| 11419 | fi |
| 11420 | LIBS=$lt_globsym_save_LIBS |
| 11421 | CFLAGS=$lt_globsym_save_CFLAGS |
| 11422 | else |
| 11423 | echo "cannot find nm_test_func in $nlist" >&5 |
| 11424 | fi |
| 11425 | else |
| 11426 | echo "cannot find nm_test_var in $nlist" >&5 |
| 11427 | fi |
| 11428 | else |
| 11429 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 11430 | fi |
| 11431 | else |
| 11432 | echo "$progname: failed program was:" >&5 |
| 11433 | cat conftest.$ac_ext >&5 |
| 11434 | fi |
| 11435 | rm -rf conftest* conftst* |
| 11436 | |
| 11437 | # Do not use the global_symbol_pipe unless it works. |
| 11438 | if test yes = "$pipe_works"; then |
| 11439 | break |
| 11440 | else |
| 11441 | lt_cv_sys_global_symbol_pipe= |
| 11442 | fi |
| 11443 | done |
| 11444 | ;; |
| 11445 | esac |
| 11446 | fi |
| 11447 | |
| 11448 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 11449 | lt_cv_sys_global_symbol_to_cdecl= |
| 11450 | fi |
| 11451 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 11452 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 11453 | printf "%s\n" "failed" >&6; } |
| 11454 | else |
| 11455 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 11456 | printf "%s\n" "ok" >&6; } |
| 11457 | fi |
| 11458 | |
| 11459 | # Response file support. |
| 11460 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 11461 | nm_file_list_spec='@' |
| 11462 | elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 11463 | nm_file_list_spec='@' |
| 11464 | fi |
| 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 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 11503 | printf %s "checking for sysroot... " >&6; } |
| 11504 | |
| 11505 | # Check whether --with-sysroot was given. |
| 11506 | if test ${with_sysroot+y} |
| 11507 | then : |
| 11508 | withval=$with_sysroot; |
| 11509 | else case e in #( |
| 11510 | e) with_sysroot=no ;; |
| 11511 | esac |
| 11512 | fi |
| 11513 | |
| 11514 | |
| 11515 | lt_sysroot= |
| 11516 | case $with_sysroot in #( |
| 11517 | yes) |
| 11518 | if test yes = "$GCC"; then |
| 11519 | # Trim trailing / since we'll always append absolute paths and we want |
| 11520 | # to avoid //, if only for less confusing output for the user. |
| 11521 | lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'` |
| 11522 | fi |
| 11523 | ;; #( |
| 11524 | /*) |
| 11525 | lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 11526 | ;; #( |
| 11527 | no|'') |
| 11528 | ;; #( |
| 11529 | *) |
| 11530 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 11531 | printf "%s\n" "$with_sysroot" >&6; } |
| 11532 | as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 11533 | ;; |
| 11534 | esac |
| 11535 | |
| 11536 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 11537 | printf "%s\n" "${lt_sysroot:-no}" >&6; } |
| 11538 | |
| 11539 | |
| 11540 | |
| 11541 | |
| 11542 | |
| 11543 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 11544 | printf %s "checking for a working dd... " >&6; } |
| 11545 | if test ${ac_cv_path_lt_DD+y} |
| 11546 | then : |
| 11547 | printf %s "(cached) " >&6 |
| 11548 | else case e in #( |
| 11549 | e) printf 0123456789abcdef0123456789abcdef >conftest.i |
| 11550 | cat conftest.i conftest.i >conftest2.i |
| 11551 | : ${lt_DD:=$DD} |
| 11552 | if test -z "$lt_DD"; then |
| 11553 | ac_path_lt_DD_found=false |
| 11554 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 11555 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11556 | for as_dir in $PATH |
| 11557 | do |
| 11558 | IFS=$as_save_IFS |
| 11559 | case $as_dir in #((( |
| 11560 | '') as_dir=./ ;; |
| 11561 | */) ;; |
| 11562 | *) as_dir=$as_dir/ ;; |
| 11563 | esac |
| 11564 | for ac_prog in dd |
| 11565 | do |
| 11566 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11567 | ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 11568 | as_fn_executable_p "$ac_path_lt_DD" || continue |
| 11569 | if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 11570 | cmp -s conftest.i conftest.out \ |
| 11571 | && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 11572 | fi |
| 11573 | $ac_path_lt_DD_found && break 3 |
| 11574 | done |
| 11575 | done |
| 11576 | done |
| 11577 | IFS=$as_save_IFS |
| 11578 | if test -z "$ac_cv_path_lt_DD"; then |
| 11579 | : |
| 11580 | fi |
| 11581 | else |
| 11582 | ac_cv_path_lt_DD=$lt_DD |
| 11583 | fi |
| 11584 | |
| 11585 | rm -f conftest.i conftest2.i conftest.out ;; |
| 11586 | esac |
| 11587 | fi |
| 11588 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 11589 | printf "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 11590 | |
| 11591 | |
| 11592 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 11593 | printf %s "checking how to truncate binary pipes... " >&6; } |
| 11594 | if test ${lt_cv_truncate_bin+y} |
| 11595 | then : |
| 11596 | printf %s "(cached) " >&6 |
| 11597 | else case e in #( |
| 11598 | e) printf 0123456789abcdef0123456789abcdef >conftest.i |
| 11599 | cat conftest.i conftest.i >conftest2.i |
| 11600 | lt_cv_truncate_bin= |
| 11601 | if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 11602 | cmp -s conftest.i conftest.out \ |
| 11603 | && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 11604 | fi |
| 11605 | rm -f conftest.i conftest2.i conftest.out |
| 11606 | test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;; |
| 11607 | esac |
| 11608 | fi |
| 11609 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 11610 | printf "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 11611 | |
| 11612 | |
| 11613 | |
| 11614 | |
| 11615 | |
| 11616 | |
| 11617 | |
| 11618 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 11619 | func_cc_basename () |
| 11620 | { |
| 11621 | for cc_temp in $*""; do |
| 11622 | case $cc_temp in |
| 11623 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 11624 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 11625 | \-*) ;; |
| 11626 | *) break;; |
| 11627 | esac |
| 11628 | done |
| 11629 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 11630 | } |
| 11631 | |
| 11632 | # Check whether --enable-libtool-lock was given. |
| 11633 | if test ${enable_libtool_lock+y} |
| 11634 | then : |
| 11635 | enableval=$enable_libtool_lock; |
| 11636 | fi |
| 11637 | |
| 11638 | test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 11639 | |
| 11640 | # Some flags need to be propagated to the compiler or linker for good |
| 11641 | # libtool support. |
| 11642 | case $host in |
| 11643 | ia64-*-hpux*) |
| 11644 | # Find out what ABI is being produced by ac_compile, and set mode |
| 11645 | # options accordingly. |
| 11646 | echo 'int i;' > conftest.$ac_ext |
| 11647 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11648 | (eval $ac_compile) 2>&5 |
| 11649 | ac_status=$? |
| 11650 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11651 | test $ac_status = 0; }; then |
| 11652 | case `$FILECMD conftest.$ac_objext` in |
| 11653 | *ELF-32*) |
| 11654 | HPUX_IA64_MODE=32 |
| 11655 | ;; |
| 11656 | *ELF-64*) |
| 11657 | HPUX_IA64_MODE=64 |
| 11658 | ;; |
| 11659 | esac |
| 11660 | fi |
| 11661 | rm -rf conftest* |
| 11662 | ;; |
| 11663 | *-*-irix6*) |
| 11664 | # Find out what ABI is being produced by ac_compile, and set linker |
| 11665 | # options accordingly. |
| 11666 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 11667 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11668 | (eval $ac_compile) 2>&5 |
| 11669 | ac_status=$? |
| 11670 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11671 | test $ac_status = 0; }; then |
| 11672 | if test yes = "$lt_cv_prog_gnu_ld"; then |
| 11673 | case `$FILECMD conftest.$ac_objext` in |
| 11674 | *32-bit*) |
| 11675 | LD="${LD-ld} -melf32bsmip" |
| 11676 | ;; |
| 11677 | *N32*) |
| 11678 | LD="${LD-ld} -melf32bmipn32" |
| 11679 | ;; |
| 11680 | *64-bit*) |
| 11681 | LD="${LD-ld} -melf64bmip" |
| 11682 | ;; |
| 11683 | esac |
| 11684 | else |
| 11685 | case `$FILECMD conftest.$ac_objext` in |
| 11686 | *32-bit*) |
| 11687 | LD="${LD-ld} -32" |
| 11688 | ;; |
| 11689 | *N32*) |
| 11690 | LD="${LD-ld} -n32" |
| 11691 | ;; |
| 11692 | *64-bit*) |
| 11693 | LD="${LD-ld} -64" |
| 11694 | ;; |
| 11695 | esac |
| 11696 | fi |
| 11697 | fi |
| 11698 | rm -rf conftest* |
| 11699 | ;; |
| 11700 | |
| 11701 | mips64*-*linux*) |
| 11702 | # Find out what ABI is being produced by ac_compile, and set linker |
| 11703 | # options accordingly. |
| 11704 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 11705 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11706 | (eval $ac_compile) 2>&5 |
| 11707 | ac_status=$? |
| 11708 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11709 | test $ac_status = 0; }; then |
| 11710 | emul=elf |
| 11711 | case `$FILECMD conftest.$ac_objext` in |
| 11712 | *32-bit*) |
| 11713 | emul="${emul}32" |
| 11714 | ;; |
| 11715 | *64-bit*) |
| 11716 | emul="${emul}64" |
| 11717 | ;; |
| 11718 | esac |
| 11719 | case `$FILECMD conftest.$ac_objext` in |
| 11720 | *MSB*) |
| 11721 | emul="${emul}btsmip" |
| 11722 | ;; |
| 11723 | *LSB*) |
| 11724 | emul="${emul}ltsmip" |
| 11725 | ;; |
| 11726 | esac |
| 11727 | case `$FILECMD conftest.$ac_objext` in |
| 11728 | *N32*) |
| 11729 | emul="${emul}n32" |
| 11730 | ;; |
| 11731 | esac |
| 11732 | LD="${LD-ld} -m $emul" |
| 11733 | fi |
| 11734 | rm -rf conftest* |
| 11735 | ;; |
| 11736 | |
| 11737 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 11738 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*) |
| 11739 | # Find out what ABI is being produced by ac_compile, and set linker |
| 11740 | # options accordingly. Note that the listed cases only cover the |
| 11741 | # situations where additional linker options are needed (such as when |
| 11742 | # doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 11743 | # vice versa); the common cases where no linker options are needed do |
| 11744 | # not appear in the list. |
| 11745 | echo 'int i;' > conftest.$ac_ext |
| 11746 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11747 | (eval $ac_compile) 2>&5 |
| 11748 | ac_status=$? |
| 11749 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11750 | test $ac_status = 0; }; then |
| 11751 | case `$FILECMD conftest.o` in |
| 11752 | *32-bit*) |
| 11753 | case $host in |
| 11754 | x86_64-*kfreebsd*-gnu) |
| 11755 | LD="${LD-ld} -m elf_i386_fbsd" |
| 11756 | ;; |
| 11757 | x86_64-*linux*|x86_64-gnu*) |
| 11758 | case `$FILECMD conftest.o` in |
| 11759 | *x86-64*) |
| 11760 | LD="${LD-ld} -m elf32_x86_64" |
| 11761 | ;; |
| 11762 | *) |
| 11763 | LD="${LD-ld} -m elf_i386" |
| 11764 | ;; |
| 11765 | esac |
| 11766 | ;; |
| 11767 | powerpc64le-*linux*) |
| 11768 | LD="${LD-ld} -m elf32lppclinux" |
| 11769 | ;; |
| 11770 | powerpc64-*linux*) |
| 11771 | LD="${LD-ld} -m elf32ppclinux" |
| 11772 | ;; |
| 11773 | s390x-*linux*) |
| 11774 | LD="${LD-ld} -m elf_s390" |
| 11775 | ;; |
| 11776 | sparc64-*linux*) |
| 11777 | LD="${LD-ld} -m elf32_sparc" |
| 11778 | ;; |
| 11779 | esac |
| 11780 | ;; |
| 11781 | *64-bit*) |
| 11782 | case $host in |
| 11783 | x86_64-*kfreebsd*-gnu) |
| 11784 | LD="${LD-ld} -m elf_x86_64_fbsd" |
| 11785 | ;; |
| 11786 | x86_64-*linux*|x86_64-gnu*) |
| 11787 | LD="${LD-ld} -m elf_x86_64" |
| 11788 | ;; |
| 11789 | powerpcle-*linux*) |
| 11790 | LD="${LD-ld} -m elf64lppc" |
| 11791 | ;; |
| 11792 | powerpc-*linux*) |
| 11793 | LD="${LD-ld} -m elf64ppc" |
| 11794 | ;; |
| 11795 | s390*-*linux*|s390*-*tpf*) |
| 11796 | LD="${LD-ld} -m elf64_s390" |
| 11797 | ;; |
| 11798 | sparc*-*linux*) |
| 11799 | LD="${LD-ld} -m elf64_sparc" |
| 11800 | ;; |
| 11801 | esac |
| 11802 | ;; |
| 11803 | esac |
| 11804 | fi |
| 11805 | rm -rf conftest* |
| 11806 | ;; |
| 11807 | |
| 11808 | *-*-sco3.2v5*) |
| 11809 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 11810 | SAVE_CFLAGS=$CFLAGS |
| 11811 | CFLAGS="$CFLAGS -belf" |
| 11812 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 11813 | printf %s "checking whether the C compiler needs -belf... " >&6; } |
| 11814 | if test ${lt_cv_cc_needs_belf+y} |
| 11815 | then : |
| 11816 | printf %s "(cached) " >&6 |
| 11817 | else case e in #( |
| 11818 | e) ac_ext=c |
| 11819 | ac_cpp='$CPP $CPPFLAGS' |
| 11820 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11821 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11822 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 11823 | |
| 11824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11825 | /* end confdefs.h. */ |
| 11826 | |
| 11827 | int |
| 11828 | main (void) |
| 11829 | { |
| 11830 | |
| 11831 | ; |
| 11832 | return 0; |
| 11833 | } |
| 11834 | _ACEOF |
| 11835 | if ac_fn_c_try_link "$LINENO" |
| 11836 | then : |
| 11837 | lt_cv_cc_needs_belf=yes |
| 11838 | else case e in #( |
| 11839 | e) lt_cv_cc_needs_belf=no ;; |
| 11840 | esac |
| 11841 | fi |
| 11842 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 11843 | conftest$ac_exeext conftest.$ac_ext |
| 11844 | ac_ext=c |
| 11845 | ac_cpp='$CPP $CPPFLAGS' |
| 11846 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11847 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11848 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 11849 | ;; |
| 11850 | esac |
| 11851 | fi |
| 11852 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 11853 | printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 11854 | if test yes != "$lt_cv_cc_needs_belf"; then |
| 11855 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 11856 | CFLAGS=$SAVE_CFLAGS |
| 11857 | fi |
| 11858 | ;; |
| 11859 | *-*solaris*) |
| 11860 | # Find out what ABI is being produced by ac_compile, and set linker |
| 11861 | # options accordingly. |
| 11862 | echo 'int i;' > conftest.$ac_ext |
| 11863 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11864 | (eval $ac_compile) 2>&5 |
| 11865 | ac_status=$? |
| 11866 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11867 | test $ac_status = 0; }; then |
| 11868 | case `$FILECMD conftest.o` in |
| 11869 | *64-bit*) |
| 11870 | case $lt_cv_prog_gnu_ld in |
| 11871 | yes*) |
| 11872 | case $host in |
| 11873 | i?86-*-solaris*|x86_64-*-solaris*) |
| 11874 | LD="${LD-ld} -m elf_x86_64" |
| 11875 | ;; |
| 11876 | sparc*-*-solaris*) |
| 11877 | LD="${LD-ld} -m elf64_sparc" |
| 11878 | ;; |
| 11879 | esac |
| 11880 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 11881 | if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 11882 | LD=${LD-ld}_sol2 |
| 11883 | fi |
| 11884 | ;; |
| 11885 | *) |
| 11886 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 11887 | LD="${LD-ld} -64" |
| 11888 | fi |
| 11889 | ;; |
| 11890 | esac |
| 11891 | ;; |
| 11892 | esac |
| 11893 | fi |
| 11894 | rm -rf conftest* |
| 11895 | ;; |
| 11896 | esac |
| 11897 | |
| 11898 | need_locks=$enable_libtool_lock |
| 11899 | |
| 11900 | if test -n "$ac_tool_prefix"; then |
| 11901 | # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 11902 | set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 11903 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11904 | printf %s "checking for $ac_word... " >&6; } |
| 11905 | if test ${ac_cv_prog_MANIFEST_TOOL+y} |
| 11906 | then : |
| 11907 | printf %s "(cached) " >&6 |
| 11908 | else case e in #( |
| 11909 | e) if test -n "$MANIFEST_TOOL"; then |
| 11910 | ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 11911 | else |
| 11912 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11913 | for as_dir in $PATH |
| 11914 | do |
| 11915 | IFS=$as_save_IFS |
| 11916 | case $as_dir in #((( |
| 11917 | '') as_dir=./ ;; |
| 11918 | */) ;; |
| 11919 | *) as_dir=$as_dir/ ;; |
| 11920 | esac |
| 11921 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11922 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11923 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 11924 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11925 | break 2 |
| 11926 | fi |
| 11927 | done |
| 11928 | done |
| 11929 | IFS=$as_save_IFS |
| 11930 | |
| 11931 | fi ;; |
| 11932 | esac |
| 11933 | fi |
| 11934 | MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 11935 | if test -n "$MANIFEST_TOOL"; then |
| 11936 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 11937 | printf "%s\n" "$MANIFEST_TOOL" >&6; } |
| 11938 | else |
| 11939 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11940 | printf "%s\n" "no" >&6; } |
| 11941 | fi |
| 11942 | |
| 11943 | |
| 11944 | fi |
| 11945 | if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 11946 | ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 11947 | # Extract the first word of "mt", so it can be a program name with args. |
| 11948 | set dummy mt; ac_word=$2 |
| 11949 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11950 | printf %s "checking for $ac_word... " >&6; } |
| 11951 | if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 11952 | then : |
| 11953 | printf %s "(cached) " >&6 |
| 11954 | else case e in #( |
| 11955 | e) if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 11956 | ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 11957 | else |
| 11958 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11959 | for as_dir in $PATH |
| 11960 | do |
| 11961 | IFS=$as_save_IFS |
| 11962 | case $as_dir in #((( |
| 11963 | '') as_dir=./ ;; |
| 11964 | */) ;; |
| 11965 | *) as_dir=$as_dir/ ;; |
| 11966 | esac |
| 11967 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 11968 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11969 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 11970 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11971 | break 2 |
| 11972 | fi |
| 11973 | done |
| 11974 | done |
| 11975 | IFS=$as_save_IFS |
| 11976 | |
| 11977 | fi ;; |
| 11978 | esac |
| 11979 | fi |
| 11980 | ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 11981 | if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 11982 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 11983 | printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 11984 | else |
| 11985 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11986 | printf "%s\n" "no" >&6; } |
| 11987 | fi |
| 11988 | |
| 11989 | if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 11990 | MANIFEST_TOOL=":" |
| 11991 | else |
| 11992 | case $cross_compiling:$ac_tool_warned in |
| 11993 | yes:) |
| 11994 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 11995 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 11996 | ac_tool_warned=yes ;; |
| 11997 | esac |
| 11998 | MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 11999 | fi |
| 12000 | else |
| 12001 | MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 12002 | fi |
| 12003 | |
| 12004 | test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 12005 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 12006 | printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 12007 | if test ${lt_cv_path_manifest_tool+y} |
| 12008 | then : |
| 12009 | printf %s "(cached) " >&6 |
| 12010 | else case e in #( |
| 12011 | e) lt_cv_path_manifest_tool=no |
| 12012 | echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 12013 | $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 12014 | cat conftest.err >&5 |
| 12015 | if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 12016 | lt_cv_path_manifest_tool=yes |
| 12017 | fi |
| 12018 | rm -f conftest* ;; |
| 12019 | esac |
| 12020 | fi |
| 12021 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5 |
| 12022 | printf "%s\n" "$lt_cv_path_manifest_tool" >&6; } |
| 12023 | if test yes != "$lt_cv_path_manifest_tool"; then |
| 12024 | MANIFEST_TOOL=: |
| 12025 | fi |
| 12026 | |
| 12027 | |
| 12028 | |
| 12029 | |
| 12030 | |
| 12031 | |
| 12032 | case $host_os in |
| 12033 | rhapsody* | darwin*) |
| 12034 | if test -n "$ac_tool_prefix"; then |
| 12035 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 12036 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 12037 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12038 | printf %s "checking for $ac_word... " >&6; } |
| 12039 | if test ${ac_cv_prog_DSYMUTIL+y} |
| 12040 | then : |
| 12041 | printf %s "(cached) " >&6 |
| 12042 | else case e in #( |
| 12043 | e) if test -n "$DSYMUTIL"; then |
| 12044 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 12045 | else |
| 12046 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12047 | for as_dir in $PATH |
| 12048 | do |
| 12049 | IFS=$as_save_IFS |
| 12050 | case $as_dir in #((( |
| 12051 | '') as_dir=./ ;; |
| 12052 | */) ;; |
| 12053 | *) as_dir=$as_dir/ ;; |
| 12054 | esac |
| 12055 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12056 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12057 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 12058 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12059 | break 2 |
| 12060 | fi |
| 12061 | done |
| 12062 | done |
| 12063 | IFS=$as_save_IFS |
| 12064 | |
| 12065 | fi ;; |
| 12066 | esac |
| 12067 | fi |
| 12068 | DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 12069 | if test -n "$DSYMUTIL"; then |
| 12070 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 12071 | printf "%s\n" "$DSYMUTIL" >&6; } |
| 12072 | else |
| 12073 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12074 | printf "%s\n" "no" >&6; } |
| 12075 | fi |
| 12076 | |
| 12077 | |
| 12078 | fi |
| 12079 | if test -z "$ac_cv_prog_DSYMUTIL"; then |
| 12080 | ac_ct_DSYMUTIL=$DSYMUTIL |
| 12081 | # Extract the first word of "dsymutil", so it can be a program name with args. |
| 12082 | set dummy dsymutil; ac_word=$2 |
| 12083 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12084 | printf %s "checking for $ac_word... " >&6; } |
| 12085 | if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 12086 | then : |
| 12087 | printf %s "(cached) " >&6 |
| 12088 | else case e in #( |
| 12089 | e) if test -n "$ac_ct_DSYMUTIL"; then |
| 12090 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 12091 | else |
| 12092 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12093 | for as_dir in $PATH |
| 12094 | do |
| 12095 | IFS=$as_save_IFS |
| 12096 | case $as_dir in #((( |
| 12097 | '') as_dir=./ ;; |
| 12098 | */) ;; |
| 12099 | *) as_dir=$as_dir/ ;; |
| 12100 | esac |
| 12101 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12102 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12103 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 12104 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12105 | break 2 |
| 12106 | fi |
| 12107 | done |
| 12108 | done |
| 12109 | IFS=$as_save_IFS |
| 12110 | |
| 12111 | fi ;; |
| 12112 | esac |
| 12113 | fi |
| 12114 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 12115 | if test -n "$ac_ct_DSYMUTIL"; then |
| 12116 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 12117 | printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 12118 | else |
| 12119 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12120 | printf "%s\n" "no" >&6; } |
| 12121 | fi |
| 12122 | |
| 12123 | if test "x$ac_ct_DSYMUTIL" = x; then |
| 12124 | DSYMUTIL=":" |
| 12125 | else |
| 12126 | case $cross_compiling:$ac_tool_warned in |
| 12127 | yes:) |
| 12128 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12129 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12130 | ac_tool_warned=yes ;; |
| 12131 | esac |
| 12132 | DSYMUTIL=$ac_ct_DSYMUTIL |
| 12133 | fi |
| 12134 | else |
| 12135 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 12136 | fi |
| 12137 | |
| 12138 | if test -n "$ac_tool_prefix"; then |
| 12139 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 12140 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 12141 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12142 | printf %s "checking for $ac_word... " >&6; } |
| 12143 | if test ${ac_cv_prog_NMEDIT+y} |
| 12144 | then : |
| 12145 | printf %s "(cached) " >&6 |
| 12146 | else case e in #( |
| 12147 | e) if test -n "$NMEDIT"; then |
| 12148 | ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 12149 | else |
| 12150 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12151 | for as_dir in $PATH |
| 12152 | do |
| 12153 | IFS=$as_save_IFS |
| 12154 | case $as_dir in #((( |
| 12155 | '') as_dir=./ ;; |
| 12156 | */) ;; |
| 12157 | *) as_dir=$as_dir/ ;; |
| 12158 | esac |
| 12159 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12160 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12161 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 12162 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12163 | break 2 |
| 12164 | fi |
| 12165 | done |
| 12166 | done |
| 12167 | IFS=$as_save_IFS |
| 12168 | |
| 12169 | fi ;; |
| 12170 | esac |
| 12171 | fi |
| 12172 | NMEDIT=$ac_cv_prog_NMEDIT |
| 12173 | if test -n "$NMEDIT"; then |
| 12174 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 12175 | printf "%s\n" "$NMEDIT" >&6; } |
| 12176 | else |
| 12177 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12178 | printf "%s\n" "no" >&6; } |
| 12179 | fi |
| 12180 | |
| 12181 | |
| 12182 | fi |
| 12183 | if test -z "$ac_cv_prog_NMEDIT"; then |
| 12184 | ac_ct_NMEDIT=$NMEDIT |
| 12185 | # Extract the first word of "nmedit", so it can be a program name with args. |
| 12186 | set dummy nmedit; ac_word=$2 |
| 12187 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12188 | printf %s "checking for $ac_word... " >&6; } |
| 12189 | if test ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 12190 | then : |
| 12191 | printf %s "(cached) " >&6 |
| 12192 | else case e in #( |
| 12193 | e) if test -n "$ac_ct_NMEDIT"; then |
| 12194 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 12195 | else |
| 12196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12197 | for as_dir in $PATH |
| 12198 | do |
| 12199 | IFS=$as_save_IFS |
| 12200 | case $as_dir in #((( |
| 12201 | '') as_dir=./ ;; |
| 12202 | */) ;; |
| 12203 | *) as_dir=$as_dir/ ;; |
| 12204 | esac |
| 12205 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12206 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12207 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 12208 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12209 | break 2 |
| 12210 | fi |
| 12211 | done |
| 12212 | done |
| 12213 | IFS=$as_save_IFS |
| 12214 | |
| 12215 | fi ;; |
| 12216 | esac |
| 12217 | fi |
| 12218 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 12219 | if test -n "$ac_ct_NMEDIT"; then |
| 12220 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 12221 | printf "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 12222 | else |
| 12223 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12224 | printf "%s\n" "no" >&6; } |
| 12225 | fi |
| 12226 | |
| 12227 | if test "x$ac_ct_NMEDIT" = x; then |
| 12228 | NMEDIT=":" |
| 12229 | else |
| 12230 | case $cross_compiling:$ac_tool_warned in |
| 12231 | yes:) |
| 12232 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12233 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12234 | ac_tool_warned=yes ;; |
| 12235 | esac |
| 12236 | NMEDIT=$ac_ct_NMEDIT |
| 12237 | fi |
| 12238 | else |
| 12239 | NMEDIT="$ac_cv_prog_NMEDIT" |
| 12240 | fi |
| 12241 | |
| 12242 | if test -n "$ac_tool_prefix"; then |
| 12243 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 12244 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 12245 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12246 | printf %s "checking for $ac_word... " >&6; } |
| 12247 | if test ${ac_cv_prog_LIPO+y} |
| 12248 | then : |
| 12249 | printf %s "(cached) " >&6 |
| 12250 | else case e in #( |
| 12251 | e) if test -n "$LIPO"; then |
| 12252 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 12253 | else |
| 12254 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12255 | for as_dir in $PATH |
| 12256 | do |
| 12257 | IFS=$as_save_IFS |
| 12258 | case $as_dir in #((( |
| 12259 | '') as_dir=./ ;; |
| 12260 | */) ;; |
| 12261 | *) as_dir=$as_dir/ ;; |
| 12262 | esac |
| 12263 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12264 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12265 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 12266 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12267 | break 2 |
| 12268 | fi |
| 12269 | done |
| 12270 | done |
| 12271 | IFS=$as_save_IFS |
| 12272 | |
| 12273 | fi ;; |
| 12274 | esac |
| 12275 | fi |
| 12276 | LIPO=$ac_cv_prog_LIPO |
| 12277 | if test -n "$LIPO"; then |
| 12278 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 12279 | printf "%s\n" "$LIPO" >&6; } |
| 12280 | else |
| 12281 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12282 | printf "%s\n" "no" >&6; } |
| 12283 | fi |
| 12284 | |
| 12285 | |
| 12286 | fi |
| 12287 | if test -z "$ac_cv_prog_LIPO"; then |
| 12288 | ac_ct_LIPO=$LIPO |
| 12289 | # Extract the first word of "lipo", so it can be a program name with args. |
| 12290 | set dummy lipo; ac_word=$2 |
| 12291 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12292 | printf %s "checking for $ac_word... " >&6; } |
| 12293 | if test ${ac_cv_prog_ac_ct_LIPO+y} |
| 12294 | then : |
| 12295 | printf %s "(cached) " >&6 |
| 12296 | else case e in #( |
| 12297 | e) if test -n "$ac_ct_LIPO"; then |
| 12298 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 12299 | else |
| 12300 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12301 | for as_dir in $PATH |
| 12302 | do |
| 12303 | IFS=$as_save_IFS |
| 12304 | case $as_dir in #((( |
| 12305 | '') as_dir=./ ;; |
| 12306 | */) ;; |
| 12307 | *) as_dir=$as_dir/ ;; |
| 12308 | esac |
| 12309 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12310 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12311 | ac_cv_prog_ac_ct_LIPO="lipo" |
| 12312 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12313 | break 2 |
| 12314 | fi |
| 12315 | done |
| 12316 | done |
| 12317 | IFS=$as_save_IFS |
| 12318 | |
| 12319 | fi ;; |
| 12320 | esac |
| 12321 | fi |
| 12322 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 12323 | if test -n "$ac_ct_LIPO"; then |
| 12324 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 12325 | printf "%s\n" "$ac_ct_LIPO" >&6; } |
| 12326 | else |
| 12327 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12328 | printf "%s\n" "no" >&6; } |
| 12329 | fi |
| 12330 | |
| 12331 | if test "x$ac_ct_LIPO" = x; then |
| 12332 | LIPO=":" |
| 12333 | else |
| 12334 | case $cross_compiling:$ac_tool_warned in |
| 12335 | yes:) |
| 12336 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12337 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12338 | ac_tool_warned=yes ;; |
| 12339 | esac |
| 12340 | LIPO=$ac_ct_LIPO |
| 12341 | fi |
| 12342 | else |
| 12343 | LIPO="$ac_cv_prog_LIPO" |
| 12344 | fi |
| 12345 | |
| 12346 | if test -n "$ac_tool_prefix"; then |
| 12347 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 12348 | set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 12349 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12350 | printf %s "checking for $ac_word... " >&6; } |
| 12351 | if test ${ac_cv_prog_OTOOL+y} |
| 12352 | then : |
| 12353 | printf %s "(cached) " >&6 |
| 12354 | else case e in #( |
| 12355 | e) if test -n "$OTOOL"; then |
| 12356 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 12357 | else |
| 12358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12359 | for as_dir in $PATH |
| 12360 | do |
| 12361 | IFS=$as_save_IFS |
| 12362 | case $as_dir in #((( |
| 12363 | '') as_dir=./ ;; |
| 12364 | */) ;; |
| 12365 | *) as_dir=$as_dir/ ;; |
| 12366 | esac |
| 12367 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12368 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12369 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 12370 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12371 | break 2 |
| 12372 | fi |
| 12373 | done |
| 12374 | done |
| 12375 | IFS=$as_save_IFS |
| 12376 | |
| 12377 | fi ;; |
| 12378 | esac |
| 12379 | fi |
| 12380 | OTOOL=$ac_cv_prog_OTOOL |
| 12381 | if test -n "$OTOOL"; then |
| 12382 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 12383 | printf "%s\n" "$OTOOL" >&6; } |
| 12384 | else |
| 12385 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12386 | printf "%s\n" "no" >&6; } |
| 12387 | fi |
| 12388 | |
| 12389 | |
| 12390 | fi |
| 12391 | if test -z "$ac_cv_prog_OTOOL"; then |
| 12392 | ac_ct_OTOOL=$OTOOL |
| 12393 | # Extract the first word of "otool", so it can be a program name with args. |
| 12394 | set dummy otool; ac_word=$2 |
| 12395 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12396 | printf %s "checking for $ac_word... " >&6; } |
| 12397 | if test ${ac_cv_prog_ac_ct_OTOOL+y} |
| 12398 | then : |
| 12399 | printf %s "(cached) " >&6 |
| 12400 | else case e in #( |
| 12401 | e) if test -n "$ac_ct_OTOOL"; then |
| 12402 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 12403 | else |
| 12404 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12405 | for as_dir in $PATH |
| 12406 | do |
| 12407 | IFS=$as_save_IFS |
| 12408 | case $as_dir in #((( |
| 12409 | '') as_dir=./ ;; |
| 12410 | */) ;; |
| 12411 | *) as_dir=$as_dir/ ;; |
| 12412 | esac |
| 12413 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12414 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12415 | ac_cv_prog_ac_ct_OTOOL="otool" |
| 12416 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12417 | break 2 |
| 12418 | fi |
| 12419 | done |
| 12420 | done |
| 12421 | IFS=$as_save_IFS |
| 12422 | |
| 12423 | fi ;; |
| 12424 | esac |
| 12425 | fi |
| 12426 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 12427 | if test -n "$ac_ct_OTOOL"; then |
| 12428 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 12429 | printf "%s\n" "$ac_ct_OTOOL" >&6; } |
| 12430 | else |
| 12431 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12432 | printf "%s\n" "no" >&6; } |
| 12433 | fi |
| 12434 | |
| 12435 | if test "x$ac_ct_OTOOL" = x; then |
| 12436 | OTOOL=":" |
| 12437 | else |
| 12438 | case $cross_compiling:$ac_tool_warned in |
| 12439 | yes:) |
| 12440 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12441 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12442 | ac_tool_warned=yes ;; |
| 12443 | esac |
| 12444 | OTOOL=$ac_ct_OTOOL |
| 12445 | fi |
| 12446 | else |
| 12447 | OTOOL="$ac_cv_prog_OTOOL" |
| 12448 | fi |
| 12449 | |
| 12450 | if test -n "$ac_tool_prefix"; then |
| 12451 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 12452 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 12453 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12454 | printf %s "checking for $ac_word... " >&6; } |
| 12455 | if test ${ac_cv_prog_OTOOL64+y} |
| 12456 | then : |
| 12457 | printf %s "(cached) " >&6 |
| 12458 | else case e in #( |
| 12459 | e) if test -n "$OTOOL64"; then |
| 12460 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 12461 | else |
| 12462 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12463 | for as_dir in $PATH |
| 12464 | do |
| 12465 | IFS=$as_save_IFS |
| 12466 | case $as_dir in #((( |
| 12467 | '') as_dir=./ ;; |
| 12468 | */) ;; |
| 12469 | *) as_dir=$as_dir/ ;; |
| 12470 | esac |
| 12471 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12472 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12473 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 12474 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12475 | break 2 |
| 12476 | fi |
| 12477 | done |
| 12478 | done |
| 12479 | IFS=$as_save_IFS |
| 12480 | |
| 12481 | fi ;; |
| 12482 | esac |
| 12483 | fi |
| 12484 | OTOOL64=$ac_cv_prog_OTOOL64 |
| 12485 | if test -n "$OTOOL64"; then |
| 12486 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 12487 | printf "%s\n" "$OTOOL64" >&6; } |
| 12488 | else |
| 12489 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12490 | printf "%s\n" "no" >&6; } |
| 12491 | fi |
| 12492 | |
| 12493 | |
| 12494 | fi |
| 12495 | if test -z "$ac_cv_prog_OTOOL64"; then |
| 12496 | ac_ct_OTOOL64=$OTOOL64 |
| 12497 | # Extract the first word of "otool64", so it can be a program name with args. |
| 12498 | set dummy otool64; ac_word=$2 |
| 12499 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12500 | printf %s "checking for $ac_word... " >&6; } |
| 12501 | if test ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 12502 | then : |
| 12503 | printf %s "(cached) " >&6 |
| 12504 | else case e in #( |
| 12505 | e) if test -n "$ac_ct_OTOOL64"; then |
| 12506 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 12507 | else |
| 12508 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12509 | for as_dir in $PATH |
| 12510 | do |
| 12511 | IFS=$as_save_IFS |
| 12512 | case $as_dir in #((( |
| 12513 | '') as_dir=./ ;; |
| 12514 | */) ;; |
| 12515 | *) as_dir=$as_dir/ ;; |
| 12516 | esac |
| 12517 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 12518 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12519 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 12520 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12521 | break 2 |
| 12522 | fi |
| 12523 | done |
| 12524 | done |
| 12525 | IFS=$as_save_IFS |
| 12526 | |
| 12527 | fi ;; |
| 12528 | esac |
| 12529 | fi |
| 12530 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 12531 | if test -n "$ac_ct_OTOOL64"; then |
| 12532 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 12533 | printf "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 12534 | else |
| 12535 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12536 | printf "%s\n" "no" >&6; } |
| 12537 | fi |
| 12538 | |
| 12539 | if test "x$ac_ct_OTOOL64" = x; then |
| 12540 | OTOOL64=":" |
| 12541 | else |
| 12542 | case $cross_compiling:$ac_tool_warned in |
| 12543 | yes:) |
| 12544 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12545 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12546 | ac_tool_warned=yes ;; |
| 12547 | esac |
| 12548 | OTOOL64=$ac_ct_OTOOL64 |
| 12549 | fi |
| 12550 | else |
| 12551 | OTOOL64="$ac_cv_prog_OTOOL64" |
| 12552 | fi |
| 12553 | |
| 12554 | |
| 12555 | |
| 12556 | |
| 12557 | |
| 12558 | |
| 12559 | |
| 12560 | |
| 12561 | |
| 12562 | |
| 12563 | |
| 12564 | |
| 12565 | |
| 12566 | |
| 12567 | |
| 12568 | |
| 12569 | |
| 12570 | |
| 12571 | |
| 12572 | |
| 12573 | |
| 12574 | |
| 12575 | |
| 12576 | |
| 12577 | |
| 12578 | |
| 12579 | |
| 12580 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 12581 | printf %s "checking for -single_module linker flag... " >&6; } |
| 12582 | if test ${lt_cv_apple_cc_single_mod+y} |
| 12583 | then : |
| 12584 | printf %s "(cached) " >&6 |
| 12585 | else case e in #( |
| 12586 | e) lt_cv_apple_cc_single_mod=no |
| 12587 | if test -z "$LT_MULTI_MODULE"; then |
| 12588 | # By default we will add the -single_module flag. You can override |
| 12589 | # by either setting the environment variable LT_MULTI_MODULE |
| 12590 | # non-empty at configure time, or by adding -multi_module to the |
| 12591 | # link flags. |
| 12592 | rm -rf libconftest.dylib* |
| 12593 | echo "int foo(void){return 1;}" > conftest.c |
| 12594 | echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 12595 | -dynamiclib -Wl,-single_module conftest.c" >&5 |
| 12596 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 12597 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 12598 | _lt_result=$? |
| 12599 | # If there is a non-empty error log, and "single_module" |
| 12600 | # appears in it, assume the flag caused a linker warning |
| 12601 | if test -s conftest.err && $GREP single_module conftest.err; then |
| 12602 | cat conftest.err >&5 |
| 12603 | # Otherwise, if the output was created with a 0 exit code from |
| 12604 | # the compiler, it worked. |
| 12605 | elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
| 12606 | lt_cv_apple_cc_single_mod=yes |
| 12607 | else |
| 12608 | cat conftest.err >&5 |
| 12609 | fi |
| 12610 | rm -rf libconftest.dylib* |
| 12611 | rm -f conftest.* |
| 12612 | fi ;; |
| 12613 | esac |
| 12614 | fi |
| 12615 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 12616 | printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 12617 | |
| 12618 | # Feature test to disable chained fixups since it is not |
| 12619 | # compatible with '-undefined dynamic_lookup' |
| 12620 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5 |
| 12621 | printf %s "checking for -no_fixup_chains linker flag... " >&6; } |
| 12622 | if test ${lt_cv_support_no_fixup_chains+y} |
| 12623 | then : |
| 12624 | printf %s "(cached) " >&6 |
| 12625 | else case e in #( |
| 12626 | e) save_LDFLAGS=$LDFLAGS |
| 12627 | LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" |
| 12628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12629 | /* end confdefs.h. */ |
| 12630 | |
| 12631 | int |
| 12632 | main (void) |
| 12633 | { |
| 12634 | |
| 12635 | ; |
| 12636 | return 0; |
| 12637 | } |
| 12638 | _ACEOF |
| 12639 | if ac_fn_c_try_link "$LINENO" |
| 12640 | then : |
| 12641 | lt_cv_support_no_fixup_chains=yes |
| 12642 | else case e in #( |
| 12643 | e) lt_cv_support_no_fixup_chains=no |
| 12644 | ;; |
| 12645 | esac |
| 12646 | fi |
| 12647 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12648 | conftest$ac_exeext conftest.$ac_ext |
| 12649 | LDFLAGS=$save_LDFLAGS |
| 12650 | |
| 12651 | ;; |
| 12652 | esac |
| 12653 | fi |
| 12654 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5 |
| 12655 | printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; } |
| 12656 | |
| 12657 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 12658 | printf %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 12659 | if test ${lt_cv_ld_exported_symbols_list+y} |
| 12660 | then : |
| 12661 | printf %s "(cached) " >&6 |
| 12662 | else case e in #( |
| 12663 | e) lt_cv_ld_exported_symbols_list=no |
| 12664 | save_LDFLAGS=$LDFLAGS |
| 12665 | echo "_main" > conftest.sym |
| 12666 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 12667 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12668 | /* end confdefs.h. */ |
| 12669 | |
| 12670 | int |
| 12671 | main (void) |
| 12672 | { |
| 12673 | |
| 12674 | ; |
| 12675 | return 0; |
| 12676 | } |
| 12677 | _ACEOF |
| 12678 | if ac_fn_c_try_link "$LINENO" |
| 12679 | then : |
| 12680 | lt_cv_ld_exported_symbols_list=yes |
| 12681 | else case e in #( |
| 12682 | e) lt_cv_ld_exported_symbols_list=no ;; |
| 12683 | esac |
| 12684 | fi |
| 12685 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12686 | conftest$ac_exeext conftest.$ac_ext |
| 12687 | LDFLAGS=$save_LDFLAGS |
| 12688 | ;; |
| 12689 | esac |
| 12690 | fi |
| 12691 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 12692 | printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 12693 | |
| 12694 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 12695 | printf %s "checking for -force_load linker flag... " >&6; } |
| 12696 | if test ${lt_cv_ld_force_load+y} |
| 12697 | then : |
| 12698 | printf %s "(cached) " >&6 |
| 12699 | else case e in #( |
| 12700 | e) lt_cv_ld_force_load=no |
| 12701 | cat > conftest.c << _LT_EOF |
| 12702 | int forced_loaded() { return 2;} |
| 12703 | _LT_EOF |
| 12704 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 12705 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 12706 | echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 12707 | $AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 12708 | echo "$RANLIB libconftest.a" >&5 |
| 12709 | $RANLIB libconftest.a 2>&5 |
| 12710 | cat > conftest.c << _LT_EOF |
| 12711 | int main(void) { return 0;} |
| 12712 | _LT_EOF |
| 12713 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 12714 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 12715 | _lt_result=$? |
| 12716 | if test -s conftest.err && $GREP force_load conftest.err; then |
| 12717 | cat conftest.err >&5 |
| 12718 | elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
| 12719 | lt_cv_ld_force_load=yes |
| 12720 | else |
| 12721 | cat conftest.err >&5 |
| 12722 | fi |
| 12723 | rm -f conftest.err libconftest.a conftest conftest.c |
| 12724 | rm -rf conftest.dSYM |
| 12725 | ;; |
| 12726 | esac |
| 12727 | fi |
| 12728 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 12729 | printf "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 12730 | case $host_os in |
| 12731 | rhapsody* | darwin1.[012]) |
| 12732 | _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 12733 | darwin1.*) |
| 12734 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 12735 | darwin*) |
| 12736 | case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 12737 | 10.[012],*|,*powerpc*-darwin[5-8]*) |
| 12738 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 12739 | *) |
| 12740 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' |
| 12741 | if test yes = "$lt_cv_support_no_fixup_chains"; then |
| 12742 | as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains' |
| 12743 | fi |
| 12744 | ;; |
| 12745 | esac |
| 12746 | ;; |
| 12747 | esac |
| 12748 | if test yes = "$lt_cv_apple_cc_single_mod"; then |
| 12749 | _lt_dar_single_mod='$single_module' |
| 12750 | fi |
| 12751 | _lt_dar_needs_single_mod=no |
| 12752 | case $host_os in |
| 12753 | rhapsody* | darwin1.*) |
| 12754 | _lt_dar_needs_single_mod=yes ;; |
| 12755 | darwin*) |
| 12756 | # When targeting Mac OS X 10.4 (darwin 8) or later, |
| 12757 | # -single_module is the default and -multi_module is unsupported. |
| 12758 | # The toolchain on macOS 10.14 (darwin 18) and later cannot |
| 12759 | # target any OS version that needs -single_module. |
| 12760 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 12761 | 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*) |
| 12762 | _lt_dar_needs_single_mod=yes ;; |
| 12763 | esac |
| 12764 | ;; |
| 12765 | esac |
| 12766 | if test yes = "$lt_cv_ld_exported_symbols_list"; then |
| 12767 | _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
| 12768 | else |
| 12769 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
| 12770 | fi |
| 12771 | if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
| 12772 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 12773 | else |
| 12774 | _lt_dsymutil= |
| 12775 | fi |
| 12776 | ;; |
| 12777 | esac |
| 12778 | |
| 12779 | # func_munge_path_list VARIABLE PATH |
| 12780 | # ----------------------------------- |
| 12781 | # VARIABLE is name of variable containing _space_ separated list of |
| 12782 | # directories to be munged by the contents of PATH, which is string |
| 12783 | # having a format: |
| 12784 | # "DIR[:DIR]:" |
| 12785 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 12786 | # ":DIR[:DIR]" |
| 12787 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 12788 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 12789 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 12790 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 12791 | # "DIR[:DIR]" |
| 12792 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 12793 | func_munge_path_list () |
| 12794 | { |
| 12795 | case x$2 in |
| 12796 | x) |
| 12797 | ;; |
| 12798 | *:) |
| 12799 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 12800 | ;; |
| 12801 | x:*) |
| 12802 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 12803 | ;; |
| 12804 | *::*) |
| 12805 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 12806 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 12807 | ;; |
| 12808 | *) |
| 12809 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 12810 | ;; |
| 12811 | esac |
| 12812 | } |
| 12813 | |
| 12814 | ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 12815 | " |
| 12816 | if test "x$ac_cv_header_dlfcn_h" = xyes |
| 12817 | then : |
| 12818 | printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 12819 | |
| 12820 | fi |
| 12821 | |
| 12822 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 |
| 12823 | printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } |
| 12824 | if test ${ac_cv_c_undeclared_builtin_options+y} |
| 12825 | then : |
| 12826 | printf %s "(cached) " >&6 |
| 12827 | else case e in #( |
| 12828 | e) ac_save_CFLAGS=$CFLAGS |
| 12829 | ac_cv_c_undeclared_builtin_options='cannot detect' |
| 12830 | for ac_arg in '' -fno-builtin; do |
| 12831 | CFLAGS="$ac_save_CFLAGS $ac_arg" |
| 12832 | # This test program should *not* compile successfully. |
| 12833 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12834 | /* end confdefs.h. */ |
| 12835 | |
| 12836 | int |
| 12837 | main (void) |
| 12838 | { |
| 12839 | (void) strchr; |
| 12840 | ; |
| 12841 | return 0; |
| 12842 | } |
| 12843 | _ACEOF |
| 12844 | if ac_fn_c_try_compile "$LINENO" |
| 12845 | then : |
| 12846 | |
| 12847 | else case e in #( |
| 12848 | e) # This test program should compile successfully. |
| 12849 | # No library function is consistently available on |
| 12850 | # freestanding implementations, so test against a dummy |
| 12851 | # declaration. Include always-available headers on the |
| 12852 | # off chance that they somehow elicit warnings. |
| 12853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12854 | /* end confdefs.h. */ |
| 12855 | #include <float.h> |
| 12856 | #include <limits.h> |
| 12857 | #include <stdarg.h> |
| 12858 | #include <stddef.h> |
| 12859 | extern void ac_decl (int, char *); |
| 12860 | |
| 12861 | int |
| 12862 | main (void) |
| 12863 | { |
| 12864 | (void) ac_decl (0, (char *) 0); |
| 12865 | (void) ac_decl; |
| 12866 | |
| 12867 | ; |
| 12868 | return 0; |
| 12869 | } |
| 12870 | _ACEOF |
| 12871 | if ac_fn_c_try_compile "$LINENO" |
| 12872 | then : |
| 12873 | if test x"$ac_arg" = x |
| 12874 | then : |
| 12875 | ac_cv_c_undeclared_builtin_options='none needed' |
| 12876 | else case e in #( |
| 12877 | e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; |
| 12878 | esac |
| 12879 | fi |
| 12880 | break |
| 12881 | fi |
| 12882 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 12883 | esac |
| 12884 | fi |
| 12885 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12886 | done |
| 12887 | CFLAGS=$ac_save_CFLAGS |
| 12888 | ;; |
| 12889 | esac |
| 12890 | fi |
| 12891 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 |
| 12892 | printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } |
| 12893 | case $ac_cv_c_undeclared_builtin_options in #( |
| 12894 | 'cannot detect') : |
| 12895 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 12896 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 12897 | as_fn_error $? "cannot make $CC report undeclared builtins |
| 12898 | See 'config.log' for more details" "$LINENO" 5; } ;; #( |
| 12899 | 'none needed') : |
| 12900 | ac_c_undeclared_builtin_options='' ;; #( |
| 12901 | *) : |
| 12902 | ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; |
| 12903 | esac |
| 12904 | |
| 12905 | echo 'tldbg:KPSE_COMMON called (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 |
| 12906 | echo 'tldbg:KPSE_BASIC called (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 |
| 12907 | |
| 12908 | # |
| 12909 | # am_init_automake |
| 12910 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 12911 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 12912 | # is not polluted with repeated "-I." |
| 12913 | am__isrc=' -I$(srcdir)' |
| 12914 | # test to see if srcdir already configured |
| 12915 | if test -f $srcdir/config.status; then |
| 12916 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 12917 | fi |
| 12918 | fi |
| 12919 | |
| 12920 | # test whether we have cygpath |
| 12921 | if test -z "$CYGPATH_W"; then |
| 12922 | if (cygpath --version) >/dev/null 2>/dev/null; then |
| 12923 | CYGPATH_W='cygpath -w' |
| 12924 | else |
| 12925 | CYGPATH_W=echo |
| 12926 | fi |
| 12927 | fi |
| 12928 | |
| 12929 | |
| 12930 | # Define the identity of the package. |
| 12931 | PACKAGE='tex-live' |
| 12932 | VERSION='2026-03-02' |
| 12933 | |
| 12934 | |
| 12935 | printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 12936 | |
| 12937 | |
| 12938 | printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 12939 | |
| 12940 | # Some tools Automake needs. |
| 12941 | |
| 12942 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 12943 | |
| 12944 | |
| 12945 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 12946 | |
| 12947 | |
| 12948 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 12949 | |
| 12950 | |
| 12951 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 12952 | |
| 12953 | |
| 12954 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 12955 | |
| 12956 | # For better backward compatibility. To be removed once Automake 1.9.x |
| 12957 | # dies out for good. For more background, see: |
| 12958 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 12959 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 12960 | mkdir_p='$(MKDIR_P)' |
| 12961 | |
| 12962 | # We need awk for the "check" target (and possibly the TAP driver). The |
| 12963 | # system "awk" is bad on some platforms. |
| 12964 | # Always define AMTAR for backward compatibility. Yes, it's still used |
| 12965 | # in the wild :-( We should find a proper way to deprecate it ... |
| 12966 | AMTAR='$${TAR-tar}' |
| 12967 | |
| 12968 | |
| 12969 | # We'll loop over all known methods to create a tar archive until one works. |
| 12970 | _am_tools='gnutar pax cpio none' |
| 12971 | |
| 12972 | |
| 12973 | |
| 12974 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 |
| 12975 | printf %s "checking how to create a pax tar archive... " >&6; } |
| 12976 | |
| 12977 | # Go ahead even if we have the value already cached. We do so because we |
| 12978 | # need to set the values for the 'am__tar' and 'am__untar' variables. |
| 12979 | _am_tools=${am_cv_prog_tar_pax-$_am_tools} |
| 12980 | |
| 12981 | for _am_tool in $_am_tools; do |
| 12982 | case $_am_tool in |
| 12983 | gnutar) |
| 12984 | for _am_tar in tar gnutar gtar; do |
| 12985 | { echo "$as_me:$LINENO: $_am_tar --version" >&5 |
| 12986 | ($_am_tar --version) >&5 2>&5 |
| 12987 | ac_status=$? |
| 12988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12989 | (exit $ac_status); } && break |
| 12990 | done |
| 12991 | am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' |
| 12992 | am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' |
| 12993 | am__untar="$_am_tar -xf -" |
| 12994 | ;; |
| 12995 | plaintar) |
| 12996 | # Must skip GNU tar: if it does not support --format= it doesn't create |
| 12997 | # ustar tarball either. |
| 12998 | (tar --version) >/dev/null 2>&1 && continue |
| 12999 | am__tar='tar chf - "$$tardir"' |
| 13000 | am__tar_='tar chf - "$tardir"' |
| 13001 | am__untar='tar xf -' |
| 13002 | ;; |
| 13003 | pax) |
| 13004 | am__tar='pax -L -x pax -w "$$tardir"' |
| 13005 | am__tar_='pax -L -x pax -w "$tardir"' |
| 13006 | am__untar='pax -r' |
| 13007 | ;; |
| 13008 | cpio) |
| 13009 | am__tar='find "$$tardir" -print | cpio -o -H pax -L' |
| 13010 | am__tar_='find "$tardir" -print | cpio -o -H pax -L' |
| 13011 | am__untar='cpio -i -H pax -d' |
| 13012 | ;; |
| 13013 | none) |
| 13014 | am__tar=false |
| 13015 | am__tar_=false |
| 13016 | am__untar=false |
| 13017 | ;; |
| 13018 | esac |
| 13019 | |
| 13020 | # If the value was cached, stop now. We just wanted to have am__tar |
| 13021 | # and am__untar set. |
| 13022 | test -n "${am_cv_prog_tar_pax}" && break |
| 13023 | |
| 13024 | # tar/untar a dummy directory, and stop if the command works. |
| 13025 | rm -rf conftest.dir |
| 13026 | mkdir conftest.dir |
| 13027 | echo GrepMe > conftest.dir/file |
| 13028 | { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 |
| 13029 | (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 |
| 13030 | ac_status=$? |
| 13031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13032 | (exit $ac_status); } |
| 13033 | rm -rf conftest.dir |
| 13034 | if test -s conftest.tar; then |
| 13035 | { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 |
| 13036 | ($am__untar <conftest.tar) >&5 2>&5 |
| 13037 | ac_status=$? |
| 13038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13039 | (exit $ac_status); } |
| 13040 | { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 |
| 13041 | (cat conftest.dir/file) >&5 2>&5 |
| 13042 | ac_status=$? |
| 13043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13044 | (exit $ac_status); } |
| 13045 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 13046 | fi |
| 13047 | done |
| 13048 | rm -rf conftest.dir |
| 13049 | |
| 13050 | if test ${am_cv_prog_tar_pax+y} |
| 13051 | then : |
| 13052 | printf %s "(cached) " >&6 |
| 13053 | else case e in #( |
| 13054 | e) am_cv_prog_tar_pax=$_am_tool ;; |
| 13055 | esac |
| 13056 | fi |
| 13057 | |
| 13058 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 |
| 13059 | printf "%s\n" "$am_cv_prog_tar_pax" >&6; } |
| 13060 | |
| 13061 | |
| 13062 | |
| 13063 | |
| 13064 | |
| 13065 | depcc="$CC" am_compiler_list= |
| 13066 | |
| 13067 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 13068 | printf %s "checking dependency style of $depcc... " >&6; } |
| 13069 | if test ${am_cv_CC_dependencies_compiler_type+y} |
| 13070 | then : |
| 13071 | printf %s "(cached) " >&6 |
| 13072 | else case e in #( |
| 13073 | e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 13074 | # We make a subdir and do the tests there. Otherwise we can end up |
| 13075 | # making bogus files that we don't know about and never remove. For |
| 13076 | # instance it was reported that on HP-UX the gcc test will end up |
| 13077 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 13078 | # in D". |
| 13079 | rm -rf conftest.dir |
| 13080 | mkdir conftest.dir |
| 13081 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 13082 | # using a relative directory. |
| 13083 | cp "$am_depcomp" conftest.dir |
| 13084 | cd conftest.dir |
| 13085 | # We will build objects and dependencies in a subdirectory because |
| 13086 | # it helps to detect inapplicable dependency modes. For instance |
| 13087 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 13088 | # side effect of compilation, but ICC will put the dependencies in |
| 13089 | # the current directory while Tru64 will put them in the object |
| 13090 | # directory. |
| 13091 | mkdir sub |
| 13092 | |
| 13093 | am_cv_CC_dependencies_compiler_type=none |
| 13094 | if test "$am_compiler_list" = ""; then |
| 13095 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 13096 | fi |
| 13097 | am__universal=false |
| 13098 | case " $depcc " in #( |
| 13099 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 13100 | esac |
| 13101 | |
| 13102 | for depmode in $am_compiler_list; do |
| 13103 | # Setup a source with many dependencies, because some compilers |
| 13104 | # like to wrap large dependency lists on column 80 (with \), and |
| 13105 | # we should not choose a depcomp mode which is confused by this. |
| 13106 | # |
| 13107 | # We need to recreate these files for each test, as the compiler may |
| 13108 | # overwrite some of them when testing with obscure command lines. |
| 13109 | # This happens at least with the AIX C compiler. |
| 13110 | : > sub/conftest.c |
| 13111 | for i in 1 2 3 4 5 6; do |
| 13112 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 13113 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 13114 | # Solaris 10 /bin/sh. |
| 13115 | echo '/* dummy */' > sub/conftst$i.h |
| 13116 | done |
| 13117 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 13118 | |
| 13119 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 13120 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 13121 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 13122 | # versions had trouble with output in subdirs. |
| 13123 | am__obj=sub/conftest.${OBJEXT-o} |
| 13124 | am__minus_obj="-o $am__obj" |
| 13125 | case $depmode in |
| 13126 | gcc) |
| 13127 | # This depmode causes a compiler race in universal mode. |
| 13128 | test "$am__universal" = false || continue |
| 13129 | ;; |
| 13130 | nosideeffect) |
| 13131 | # After this tag, mechanisms are not by side-effect, so they'll |
| 13132 | # only be used when explicitly requested. |
| 13133 | if test "x$enable_dependency_tracking" = xyes; then |
| 13134 | continue |
| 13135 | else |
| 13136 | break |
| 13137 | fi |
| 13138 | ;; |
| 13139 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 13140 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 13141 | # not run yet. These depmodes are late enough in the game, and |
| 13142 | # so weak that their functioning should not be impacted. |
| 13143 | am__obj=conftest.${OBJEXT-o} |
| 13144 | am__minus_obj= |
| 13145 | ;; |
| 13146 | none) break ;; |
| 13147 | esac |
| 13148 | if depmode=$depmode \ |
| 13149 | source=sub/conftest.c object=$am__obj \ |
| 13150 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 13151 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 13152 | >/dev/null 2>conftest.err && |
| 13153 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 13154 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 13155 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 13156 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 13157 | # icc doesn't choke on unknown options, it will just issue warnings |
| 13158 | # or remarks (even with -Werror). So we grep stderr for any message |
| 13159 | # that says an option was ignored or not supported. |
| 13160 | # When given -MP, icc 7.0 and 7.1 complain thus: |
| 13161 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 13162 | # The diagnosis changed in icc 8.0: |
| 13163 | # icc: Command line remark: option '-MP' not supported |
| 13164 | if (grep 'ignoring option' conftest.err || |
| 13165 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 13166 | am_cv_CC_dependencies_compiler_type=$depmode |
| 13167 | break |
| 13168 | fi |
| 13169 | fi |
| 13170 | done |
| 13171 | |
| 13172 | cd .. |
| 13173 | rm -rf conftest.dir |
| 13174 | else |
| 13175 | am_cv_CC_dependencies_compiler_type=none |
| 13176 | fi |
| 13177 | ;; |
| 13178 | esac |
| 13179 | fi |
| 13180 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 13181 | printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 13182 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 13183 | |
| 13184 | if |
| 13185 | test "x$enable_dependency_tracking" != xno \ |
| 13186 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 13187 | am__fastdepCC_TRUE= |
| 13188 | am__fastdepCC_FALSE='#' |
| 13189 | else |
| 13190 | am__fastdepCC_TRUE='#' |
| 13191 | am__fastdepCC_FALSE= |
| 13192 | fi |
| 13193 | |
| 13194 | |
| 13195 | # Variables for tags utilities; see am/tags.am |
| 13196 | if test -z "$CTAGS"; then |
| 13197 | CTAGS=ctags |
| 13198 | fi |
| 13199 | |
| 13200 | if test -z "$ETAGS"; then |
| 13201 | ETAGS=etags |
| 13202 | fi |
| 13203 | |
| 13204 | if test -z "$CSCOPE"; then |
| 13205 | CSCOPE=cscope |
| 13206 | fi |
| 13207 | |
| 13208 | |
| 13209 | |
| 13210 | |
| 13211 | |
| 13212 | |
| 13213 | |
| 13214 | |
| 13215 | # am_maintainer_mode |
| 13216 | |
| 13217 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 13218 | printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 13219 | # Check whether --enable-maintainer-mode was given. |
| 13220 | if test ${enable_maintainer_mode+y} |
| 13221 | then : |
| 13222 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 13223 | else case e in #( |
| 13224 | e) USE_MAINTAINER_MODE=no ;; |
| 13225 | esac |
| 13226 | fi |
| 13227 | |
| 13228 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 13229 | printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } |
| 13230 | if test $USE_MAINTAINER_MODE = yes; then |
| 13231 | MAINTAINER_MODE_TRUE= |
| 13232 | MAINTAINER_MODE_FALSE='#' |
| 13233 | else |
| 13234 | MAINTAINER_MODE_TRUE='#' |
| 13235 | MAINTAINER_MODE_FALSE= |
| 13236 | fi |
| 13237 | |
| 13238 | MAINT=$MAINTAINER_MODE_TRUE |
| 13239 | |
| 13240 | |
| 13241 | |
| 13242 | # See comments in kpse-setup.m4 about system extensions. |
| 13243 | |
| 13244 | |
| 13245 | # Check whether prototypes work. |
| 13246 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 |
| 13247 | printf %s "checking whether the compiler accepts prototypes... " >&6; } |
| 13248 | if test ${kb_cv_c_prototypes+y} |
| 13249 | then : |
| 13250 | printf %s "(cached) " >&6 |
| 13251 | else case e in #( |
| 13252 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13253 | /* end confdefs.h. */ |
| 13254 | #include <stdarg.h> |
| 13255 | int |
| 13256 | main (void) |
| 13257 | { |
| 13258 | extern void foo(int i,...); |
| 13259 | ; |
| 13260 | return 0; |
| 13261 | } |
| 13262 | _ACEOF |
| 13263 | if ac_fn_c_try_link "$LINENO" |
| 13264 | then : |
| 13265 | kb_cv_c_prototypes=yes |
| 13266 | else case e in #( |
| 13267 | e) kb_cv_c_prototypes=no ;; |
| 13268 | esac |
| 13269 | fi |
| 13270 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13271 | conftest$ac_exeext conftest.$ac_ext ;; |
| 13272 | esac |
| 13273 | fi |
| 13274 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5 |
| 13275 | printf "%s\n" "$kb_cv_c_prototypes" >&6; } |
| 13276 | if test "x$kb_cv_c_prototypes" = xno; then |
| 13277 | as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 |
| 13278 | fi |
| 13279 | |
| 13280 | # kpse_compiler_warnings options. |
| 13281 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 |
| 13282 | printf %s "checking what warning flags to pass to the C compiler... " >&6; } |
| 13283 | if test ${kpse_cv_warning_cflags+y} |
| 13284 | then : |
| 13285 | printf %s "(cached) " >&6 |
| 13286 | else case e in #( |
| 13287 | e) if test "x$GCC" = xyes; then |
| 13288 | kpse_cv_warning_cflags= |
| 13289 | if test "x$enable_compiler_warnings" != xno; then |
| 13290 | kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" |
| 13291 | case `$CC -dumpversion` in #( |
| 13292 | 3.4.* | 4.* | 5.*) : |
| 13293 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( |
| 13294 | *) : |
| 13295 | ;; |
| 13296 | esac |
| 13297 | case `$CC -dumpversion` in #( |
| 13298 | 3.[234].* | 4.* | 5.*) : |
| 13299 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( |
| 13300 | *) : |
| 13301 | ;; |
| 13302 | esac |
| 13303 | if test "x$enable_compiler_warnings" != xmin; then |
| 13304 | kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags" |
| 13305 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" |
| 13306 | if test "x$enable_compiler_warnings" != xyes; then |
| 13307 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" |
| 13308 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" |
| 13309 | case `$CC -dumpversion` in #( |
| 13310 | 3.4.* | 4.* | 5.*) : |
| 13311 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( |
| 13312 | *) : |
| 13313 | ;; |
| 13314 | esac |
| 13315 | if test "x$enable_compiler_warnings" != xmax; then |
| 13316 | kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow" |
| 13317 | fi |
| 13318 | fi |
| 13319 | fi |
| 13320 | fi |
| 13321 | elif test "x$enable_compiler_warnings" = xno; then |
| 13322 | kpse_cv_warning_cflags= |
| 13323 | else |
| 13324 | kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers |
| 13325 | fi ;; |
| 13326 | esac |
| 13327 | fi |
| 13328 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5 |
| 13329 | printf "%s\n" "$kpse_cv_warning_cflags" >&6; } |
| 13330 | WARNING_CFLAGS=$kpse_cv_warning_cflags |
| 13331 | |
| 13332 | |
| 13333 | |
| 13334 | |
| 13335 | |
| 13336 | |
| 13337 | |
| 13338 | # end of kpse_basic macro. |
| 13339 | echo 'tldbg:KPSE_BASIC done (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 |
| 13340 | |
| 13341 | # am_prog_ar must be called before lt_init. |
| 13342 | |
| 13343 | if test -n "$ac_tool_prefix"; then |
| 13344 | for ac_prog in ar lib "link -lib" |
| 13345 | do |
| 13346 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 13347 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 13348 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13349 | printf %s "checking for $ac_word... " >&6; } |
| 13350 | if test ${ac_cv_prog_AR+y} |
| 13351 | then : |
| 13352 | printf %s "(cached) " >&6 |
| 13353 | else case e in #( |
| 13354 | e) if test -n "$AR"; then |
| 13355 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 13356 | else |
| 13357 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13358 | for as_dir in $PATH |
| 13359 | do |
| 13360 | IFS=$as_save_IFS |
| 13361 | case $as_dir in #((( |
| 13362 | '') as_dir=./ ;; |
| 13363 | */) ;; |
| 13364 | *) as_dir=$as_dir/ ;; |
| 13365 | esac |
| 13366 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13367 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13368 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 13369 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13370 | break 2 |
| 13371 | fi |
| 13372 | done |
| 13373 | done |
| 13374 | IFS=$as_save_IFS |
| 13375 | |
| 13376 | fi ;; |
| 13377 | esac |
| 13378 | fi |
| 13379 | AR=$ac_cv_prog_AR |
| 13380 | if test -n "$AR"; then |
| 13381 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 13382 | printf "%s\n" "$AR" >&6; } |
| 13383 | else |
| 13384 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13385 | printf "%s\n" "no" >&6; } |
| 13386 | fi |
| 13387 | |
| 13388 | |
| 13389 | test -n "$AR" && break |
| 13390 | done |
| 13391 | fi |
| 13392 | if test -z "$AR"; then |
| 13393 | ac_ct_AR=$AR |
| 13394 | for ac_prog in ar lib "link -lib" |
| 13395 | do |
| 13396 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 13397 | set dummy $ac_prog; ac_word=$2 |
| 13398 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13399 | printf %s "checking for $ac_word... " >&6; } |
| 13400 | if test ${ac_cv_prog_ac_ct_AR+y} |
| 13401 | then : |
| 13402 | printf %s "(cached) " >&6 |
| 13403 | else case e in #( |
| 13404 | e) if test -n "$ac_ct_AR"; then |
| 13405 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 13406 | else |
| 13407 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13408 | for as_dir in $PATH |
| 13409 | do |
| 13410 | IFS=$as_save_IFS |
| 13411 | case $as_dir in #((( |
| 13412 | '') as_dir=./ ;; |
| 13413 | */) ;; |
| 13414 | *) as_dir=$as_dir/ ;; |
| 13415 | esac |
| 13416 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13417 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13418 | ac_cv_prog_ac_ct_AR="$ac_prog" |
| 13419 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13420 | break 2 |
| 13421 | fi |
| 13422 | done |
| 13423 | done |
| 13424 | IFS=$as_save_IFS |
| 13425 | |
| 13426 | fi ;; |
| 13427 | esac |
| 13428 | fi |
| 13429 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 13430 | if test -n "$ac_ct_AR"; then |
| 13431 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 13432 | printf "%s\n" "$ac_ct_AR" >&6; } |
| 13433 | else |
| 13434 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13435 | printf "%s\n" "no" >&6; } |
| 13436 | fi |
| 13437 | |
| 13438 | |
| 13439 | test -n "$ac_ct_AR" && break |
| 13440 | done |
| 13441 | |
| 13442 | if test "x$ac_ct_AR" = x; then |
| 13443 | AR="false" |
| 13444 | else |
| 13445 | case $cross_compiling:$ac_tool_warned in |
| 13446 | yes:) |
| 13447 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13448 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13449 | ac_tool_warned=yes ;; |
| 13450 | esac |
| 13451 | AR=$ac_ct_AR |
| 13452 | fi |
| 13453 | fi |
| 13454 | |
| 13455 | : ${AR=ar} |
| 13456 | : ${ARFLAGS=cr} |
| 13457 | |
| 13458 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 |
| 13459 | printf %s "checking the archiver ($AR) interface... " >&6; } |
| 13460 | if test ${am_cv_ar_interface+y} |
| 13461 | then : |
| 13462 | printf %s "(cached) " >&6 |
| 13463 | else case e in #( |
| 13464 | e) ac_ext=c |
| 13465 | ac_cpp='$CPP $CPPFLAGS' |
| 13466 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13467 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13468 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13469 | |
| 13470 | am_cv_ar_interface=ar |
| 13471 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13472 | /* end confdefs.h. */ |
| 13473 | int some_variable = 0; |
| 13474 | _ACEOF |
| 13475 | if ac_fn_c_try_compile "$LINENO" |
| 13476 | then : |
| 13477 | am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5' |
| 13478 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| 13479 | (eval $am_ar_try) 2>&5 |
| 13480 | ac_status=$? |
| 13481 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13482 | test $ac_status = 0; } |
| 13483 | if test "$ac_status" -eq 0; then |
| 13484 | am_cv_ar_interface=ar |
| 13485 | else |
| 13486 | am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' |
| 13487 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| 13488 | (eval $am_ar_try) 2>&5 |
| 13489 | ac_status=$? |
| 13490 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13491 | test $ac_status = 0; } |
| 13492 | if test "$ac_status" -eq 0; then |
| 13493 | am_cv_ar_interface=lib |
| 13494 | else |
| 13495 | am_cv_ar_interface=unknown |
| 13496 | fi |
| 13497 | fi |
| 13498 | rm -f conftest.lib libconftest.a |
| 13499 | |
| 13500 | fi |
| 13501 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13502 | ac_ext=c |
| 13503 | ac_cpp='$CPP $CPPFLAGS' |
| 13504 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13505 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13506 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13507 | ;; |
| 13508 | esac |
| 13509 | fi |
| 13510 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 |
| 13511 | printf "%s\n" "$am_cv_ar_interface" >&6; } |
| 13512 | |
| 13513 | case $am_cv_ar_interface in |
| 13514 | ar) |
| 13515 | ;; |
| 13516 | lib) |
| 13517 | # Microsoft lib, so override with the ar-lib wrapper script. |
| 13518 | # FIXME: It is wrong to rewrite AR. |
| 13519 | # But if we don't then we get into trouble of one sort or another. |
| 13520 | # A longer-term fix would be to have automake use am__AR in this case, |
| 13521 | # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something |
| 13522 | # similar. |
| 13523 | AR="$am_aux_dir/ar-lib $AR" |
| 13524 | ;; |
| 13525 | unknown) |
| 13526 | as_fn_error $? "could not determine $AR interface" "$LINENO" 5 |
| 13527 | ;; |
| 13528 | esac |
| 13529 | |
| 13530 | # (end am_prog_ar) |
| 13531 | # starting lt_prereq + lt_init. |
| 13532 | |
| 13533 | |
| 13534 | |
| 13535 | |
| 13536 | |
| 13537 | # Set options |
| 13538 | enable_win32_dll=yes |
| 13539 | |
| 13540 | case $host in |
| 13541 | *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*) |
| 13542 | if test -n "$ac_tool_prefix"; then |
| 13543 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. |
| 13544 | set dummy ${ac_tool_prefix}as; ac_word=$2 |
| 13545 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13546 | printf %s "checking for $ac_word... " >&6; } |
| 13547 | if test ${ac_cv_prog_AS+y} |
| 13548 | then : |
| 13549 | printf %s "(cached) " >&6 |
| 13550 | else case e in #( |
| 13551 | e) if test -n "$AS"; then |
| 13552 | ac_cv_prog_AS="$AS" # Let the user override the test. |
| 13553 | else |
| 13554 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13555 | for as_dir in $PATH |
| 13556 | do |
| 13557 | IFS=$as_save_IFS |
| 13558 | case $as_dir in #((( |
| 13559 | '') as_dir=./ ;; |
| 13560 | */) ;; |
| 13561 | *) as_dir=$as_dir/ ;; |
| 13562 | esac |
| 13563 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13564 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13565 | ac_cv_prog_AS="${ac_tool_prefix}as" |
| 13566 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13567 | break 2 |
| 13568 | fi |
| 13569 | done |
| 13570 | done |
| 13571 | IFS=$as_save_IFS |
| 13572 | |
| 13573 | fi ;; |
| 13574 | esac |
| 13575 | fi |
| 13576 | AS=$ac_cv_prog_AS |
| 13577 | if test -n "$AS"; then |
| 13578 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 |
| 13579 | printf "%s\n" "$AS" >&6; } |
| 13580 | else |
| 13581 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13582 | printf "%s\n" "no" >&6; } |
| 13583 | fi |
| 13584 | |
| 13585 | |
| 13586 | fi |
| 13587 | if test -z "$ac_cv_prog_AS"; then |
| 13588 | ac_ct_AS=$AS |
| 13589 | # Extract the first word of "as", so it can be a program name with args. |
| 13590 | set dummy as; ac_word=$2 |
| 13591 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13592 | printf %s "checking for $ac_word... " >&6; } |
| 13593 | if test ${ac_cv_prog_ac_ct_AS+y} |
| 13594 | then : |
| 13595 | printf %s "(cached) " >&6 |
| 13596 | else case e in #( |
| 13597 | e) if test -n "$ac_ct_AS"; then |
| 13598 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
| 13599 | else |
| 13600 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13601 | for as_dir in $PATH |
| 13602 | do |
| 13603 | IFS=$as_save_IFS |
| 13604 | case $as_dir in #((( |
| 13605 | '') as_dir=./ ;; |
| 13606 | */) ;; |
| 13607 | *) as_dir=$as_dir/ ;; |
| 13608 | esac |
| 13609 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13610 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13611 | ac_cv_prog_ac_ct_AS="as" |
| 13612 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13613 | break 2 |
| 13614 | fi |
| 13615 | done |
| 13616 | done |
| 13617 | IFS=$as_save_IFS |
| 13618 | |
| 13619 | fi ;; |
| 13620 | esac |
| 13621 | fi |
| 13622 | ac_ct_AS=$ac_cv_prog_ac_ct_AS |
| 13623 | if test -n "$ac_ct_AS"; then |
| 13624 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 |
| 13625 | printf "%s\n" "$ac_ct_AS" >&6; } |
| 13626 | else |
| 13627 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13628 | printf "%s\n" "no" >&6; } |
| 13629 | fi |
| 13630 | |
| 13631 | if test "x$ac_ct_AS" = x; then |
| 13632 | AS="false" |
| 13633 | else |
| 13634 | case $cross_compiling:$ac_tool_warned in |
| 13635 | yes:) |
| 13636 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13637 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13638 | ac_tool_warned=yes ;; |
| 13639 | esac |
| 13640 | AS=$ac_ct_AS |
| 13641 | fi |
| 13642 | else |
| 13643 | AS="$ac_cv_prog_AS" |
| 13644 | fi |
| 13645 | |
| 13646 | if test -n "$ac_tool_prefix"; then |
| 13647 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 13648 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 13649 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13650 | printf %s "checking for $ac_word... " >&6; } |
| 13651 | if test ${ac_cv_prog_DLLTOOL+y} |
| 13652 | then : |
| 13653 | printf %s "(cached) " >&6 |
| 13654 | else case e in #( |
| 13655 | e) if test -n "$DLLTOOL"; then |
| 13656 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 13657 | else |
| 13658 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13659 | for as_dir in $PATH |
| 13660 | do |
| 13661 | IFS=$as_save_IFS |
| 13662 | case $as_dir in #((( |
| 13663 | '') as_dir=./ ;; |
| 13664 | */) ;; |
| 13665 | *) as_dir=$as_dir/ ;; |
| 13666 | esac |
| 13667 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13668 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13669 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 13670 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13671 | break 2 |
| 13672 | fi |
| 13673 | done |
| 13674 | done |
| 13675 | IFS=$as_save_IFS |
| 13676 | |
| 13677 | fi ;; |
| 13678 | esac |
| 13679 | fi |
| 13680 | DLLTOOL=$ac_cv_prog_DLLTOOL |
| 13681 | if test -n "$DLLTOOL"; then |
| 13682 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 13683 | printf "%s\n" "$DLLTOOL" >&6; } |
| 13684 | else |
| 13685 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13686 | printf "%s\n" "no" >&6; } |
| 13687 | fi |
| 13688 | |
| 13689 | |
| 13690 | fi |
| 13691 | if test -z "$ac_cv_prog_DLLTOOL"; then |
| 13692 | ac_ct_DLLTOOL=$DLLTOOL |
| 13693 | # Extract the first word of "dlltool", so it can be a program name with args. |
| 13694 | set dummy dlltool; ac_word=$2 |
| 13695 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13696 | printf %s "checking for $ac_word... " >&6; } |
| 13697 | if test ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 13698 | then : |
| 13699 | printf %s "(cached) " >&6 |
| 13700 | else case e in #( |
| 13701 | e) if test -n "$ac_ct_DLLTOOL"; then |
| 13702 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 13703 | else |
| 13704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13705 | for as_dir in $PATH |
| 13706 | do |
| 13707 | IFS=$as_save_IFS |
| 13708 | case $as_dir in #((( |
| 13709 | '') as_dir=./ ;; |
| 13710 | */) ;; |
| 13711 | *) as_dir=$as_dir/ ;; |
| 13712 | esac |
| 13713 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13714 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13715 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 13716 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13717 | break 2 |
| 13718 | fi |
| 13719 | done |
| 13720 | done |
| 13721 | IFS=$as_save_IFS |
| 13722 | |
| 13723 | fi ;; |
| 13724 | esac |
| 13725 | fi |
| 13726 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 13727 | if test -n "$ac_ct_DLLTOOL"; then |
| 13728 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 13729 | printf "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 13730 | else |
| 13731 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13732 | printf "%s\n" "no" >&6; } |
| 13733 | fi |
| 13734 | |
| 13735 | if test "x$ac_ct_DLLTOOL" = x; then |
| 13736 | DLLTOOL="false" |
| 13737 | else |
| 13738 | case $cross_compiling:$ac_tool_warned in |
| 13739 | yes:) |
| 13740 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13741 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13742 | ac_tool_warned=yes ;; |
| 13743 | esac |
| 13744 | DLLTOOL=$ac_ct_DLLTOOL |
| 13745 | fi |
| 13746 | else |
| 13747 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 13748 | fi |
| 13749 | |
| 13750 | if test -n "$ac_tool_prefix"; then |
| 13751 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 13752 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 13753 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13754 | printf %s "checking for $ac_word... " >&6; } |
| 13755 | if test ${ac_cv_prog_OBJDUMP+y} |
| 13756 | then : |
| 13757 | printf %s "(cached) " >&6 |
| 13758 | else case e in #( |
| 13759 | e) if test -n "$OBJDUMP"; then |
| 13760 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 13761 | else |
| 13762 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13763 | for as_dir in $PATH |
| 13764 | do |
| 13765 | IFS=$as_save_IFS |
| 13766 | case $as_dir in #((( |
| 13767 | '') as_dir=./ ;; |
| 13768 | */) ;; |
| 13769 | *) as_dir=$as_dir/ ;; |
| 13770 | esac |
| 13771 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13772 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13773 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 13774 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13775 | break 2 |
| 13776 | fi |
| 13777 | done |
| 13778 | done |
| 13779 | IFS=$as_save_IFS |
| 13780 | |
| 13781 | fi ;; |
| 13782 | esac |
| 13783 | fi |
| 13784 | OBJDUMP=$ac_cv_prog_OBJDUMP |
| 13785 | if test -n "$OBJDUMP"; then |
| 13786 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 13787 | printf "%s\n" "$OBJDUMP" >&6; } |
| 13788 | else |
| 13789 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13790 | printf "%s\n" "no" >&6; } |
| 13791 | fi |
| 13792 | |
| 13793 | |
| 13794 | fi |
| 13795 | if test -z "$ac_cv_prog_OBJDUMP"; then |
| 13796 | ac_ct_OBJDUMP=$OBJDUMP |
| 13797 | # Extract the first word of "objdump", so it can be a program name with args. |
| 13798 | set dummy objdump; ac_word=$2 |
| 13799 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13800 | printf %s "checking for $ac_word... " >&6; } |
| 13801 | if test ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 13802 | then : |
| 13803 | printf %s "(cached) " >&6 |
| 13804 | else case e in #( |
| 13805 | e) if test -n "$ac_ct_OBJDUMP"; then |
| 13806 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 13807 | else |
| 13808 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13809 | for as_dir in $PATH |
| 13810 | do |
| 13811 | IFS=$as_save_IFS |
| 13812 | case $as_dir in #((( |
| 13813 | '') as_dir=./ ;; |
| 13814 | */) ;; |
| 13815 | *) as_dir=$as_dir/ ;; |
| 13816 | esac |
| 13817 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13818 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13819 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 13820 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13821 | break 2 |
| 13822 | fi |
| 13823 | done |
| 13824 | done |
| 13825 | IFS=$as_save_IFS |
| 13826 | |
| 13827 | fi ;; |
| 13828 | esac |
| 13829 | fi |
| 13830 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 13831 | if test -n "$ac_ct_OBJDUMP"; then |
| 13832 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 13833 | printf "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 13834 | else |
| 13835 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13836 | printf "%s\n" "no" >&6; } |
| 13837 | fi |
| 13838 | |
| 13839 | if test "x$ac_ct_OBJDUMP" = x; then |
| 13840 | OBJDUMP="false" |
| 13841 | else |
| 13842 | case $cross_compiling:$ac_tool_warned in |
| 13843 | yes:) |
| 13844 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13845 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13846 | ac_tool_warned=yes ;; |
| 13847 | esac |
| 13848 | OBJDUMP=$ac_ct_OBJDUMP |
| 13849 | fi |
| 13850 | else |
| 13851 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 13852 | fi |
| 13853 | |
| 13854 | ;; |
| 13855 | esac |
| 13856 | |
| 13857 | test -z "$AS" && AS=as |
| 13858 | |
| 13859 | |
| 13860 | |
| 13861 | |
| 13862 | |
| 13863 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 13864 | |
| 13865 | |
| 13866 | |
| 13867 | |
| 13868 | |
| 13869 | test -z "$OBJDUMP" && OBJDUMP=objdump |
| 13870 | |
| 13871 | |
| 13872 | |
| 13873 | |
| 13874 | |
| 13875 | |
| 13876 | |
| 13877 | enable_dlopen=no |
| 13878 | |
| 13879 | |
| 13880 | |
| 13881 | # Check whether --enable-shared was given. |
| 13882 | if test ${enable_shared+y} |
| 13883 | then : |
| 13884 | enableval=$enable_shared; p=${PACKAGE-default} |
| 13885 | case $enableval in |
| 13886 | yes) enable_shared=yes ;; |
| 13887 | no) enable_shared=no ;; |
| 13888 | *) |
| 13889 | enable_shared=no |
| 13890 | # Look at the argument we got. We use all the common list separators. |
| 13891 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 13892 | for pkg in $enableval; do |
| 13893 | IFS=$lt_save_ifs |
| 13894 | if test "X$pkg" = "X$p"; then |
| 13895 | enable_shared=yes |
| 13896 | fi |
| 13897 | done |
| 13898 | IFS=$lt_save_ifs |
| 13899 | ;; |
| 13900 | esac |
| 13901 | else case e in #( |
| 13902 | e) enable_shared=yes ;; |
| 13903 | esac |
| 13904 | fi |
| 13905 | |
| 13906 | |
| 13907 | |
| 13908 | |
| 13909 | |
| 13910 | |
| 13911 | |
| 13912 | |
| 13913 | |
| 13914 | # Check whether --enable-static was given. |
| 13915 | if test ${enable_static+y} |
| 13916 | then : |
| 13917 | enableval=$enable_static; p=${PACKAGE-default} |
| 13918 | case $enableval in |
| 13919 | yes) enable_static=yes ;; |
| 13920 | no) enable_static=no ;; |
| 13921 | *) |
| 13922 | enable_static=no |
| 13923 | # Look at the argument we got. We use all the common list separators. |
| 13924 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 13925 | for pkg in $enableval; do |
| 13926 | IFS=$lt_save_ifs |
| 13927 | if test "X$pkg" = "X$p"; then |
| 13928 | enable_static=yes |
| 13929 | fi |
| 13930 | done |
| 13931 | IFS=$lt_save_ifs |
| 13932 | ;; |
| 13933 | esac |
| 13934 | else case e in #( |
| 13935 | e) enable_static=yes ;; |
| 13936 | esac |
| 13937 | fi |
| 13938 | |
| 13939 | |
| 13940 | |
| 13941 | |
| 13942 | |
| 13943 | |
| 13944 | |
| 13945 | |
| 13946 | |
| 13947 | # Check whether --enable-pic was given. |
| 13948 | if test ${enable_pic+y} |
| 13949 | then : |
| 13950 | enableval=$enable_pic; lt_p=${PACKAGE-default} |
| 13951 | case $enableval in |
| 13952 | yes|no) pic_mode=$enableval ;; |
| 13953 | *) |
| 13954 | pic_mode=default |
| 13955 | # Look at the argument we got. We use all the common list separators. |
| 13956 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 13957 | for lt_pkg in $enableval; do |
| 13958 | IFS=$lt_save_ifs |
| 13959 | if test "X$lt_pkg" = "X$lt_p"; then |
| 13960 | pic_mode=yes |
| 13961 | fi |
| 13962 | done |
| 13963 | IFS=$lt_save_ifs |
| 13964 | ;; |
| 13965 | esac |
| 13966 | else case e in #( |
| 13967 | e) # Check whether --with-pic was given. |
| 13968 | if test ${with_pic+y} |
| 13969 | then : |
| 13970 | withval=$with_pic; lt_p=${PACKAGE-default} |
| 13971 | case $withval in |
| 13972 | yes|no) pic_mode=$withval ;; |
| 13973 | *) |
| 13974 | pic_mode=default |
| 13975 | # Look at the argument we got. We use all the common list separators. |
| 13976 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 13977 | for lt_pkg in $withval; do |
| 13978 | IFS=$lt_save_ifs |
| 13979 | if test "X$lt_pkg" = "X$lt_p"; then |
| 13980 | pic_mode=yes |
| 13981 | fi |
| 13982 | done |
| 13983 | IFS=$lt_save_ifs |
| 13984 | ;; |
| 13985 | esac |
| 13986 | else case e in #( |
| 13987 | e) pic_mode=default ;; |
| 13988 | esac |
| 13989 | fi |
| 13990 | |
| 13991 | ;; |
| 13992 | esac |
| 13993 | fi |
| 13994 | |
| 13995 | |
| 13996 | |
| 13997 | |
| 13998 | |
| 13999 | |
| 14000 | |
| 14001 | |
| 14002 | # Check whether --enable-fast-install was given. |
| 14003 | if test ${enable_fast_install+y} |
| 14004 | then : |
| 14005 | enableval=$enable_fast_install; p=${PACKAGE-default} |
| 14006 | case $enableval in |
| 14007 | yes) enable_fast_install=yes ;; |
| 14008 | no) enable_fast_install=no ;; |
| 14009 | *) |
| 14010 | enable_fast_install=no |
| 14011 | # Look at the argument we got. We use all the common list separators. |
| 14012 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 14013 | for pkg in $enableval; do |
| 14014 | IFS=$lt_save_ifs |
| 14015 | if test "X$pkg" = "X$p"; then |
| 14016 | enable_fast_install=yes |
| 14017 | fi |
| 14018 | done |
| 14019 | IFS=$lt_save_ifs |
| 14020 | ;; |
| 14021 | esac |
| 14022 | else case e in #( |
| 14023 | e) enable_fast_install=yes ;; |
| 14024 | esac |
| 14025 | fi |
| 14026 | |
| 14027 | |
| 14028 | |
| 14029 | |
| 14030 | |
| 14031 | |
| 14032 | |
| 14033 | |
| 14034 | shared_archive_member_spec= |
| 14035 | case $host,$enable_shared in |
| 14036 | power*-*-aix[5-9]*,yes) |
| 14037 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 14038 | printf %s "checking which variant of shared library versioning to provide... " >&6; } |
| 14039 | # Check whether --enable-aix-soname was given. |
| 14040 | if test ${enable_aix_soname+y} |
| 14041 | then : |
| 14042 | enableval=$enable_aix_soname; case $enableval in |
| 14043 | aix|svr4|both) |
| 14044 | ;; |
| 14045 | *) |
| 14046 | as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5 |
| 14047 | ;; |
| 14048 | esac |
| 14049 | lt_cv_with_aix_soname=$enable_aix_soname |
| 14050 | else case e in #( |
| 14051 | e) # Check whether --with-aix-soname was given. |
| 14052 | if test ${with_aix_soname+y} |
| 14053 | then : |
| 14054 | withval=$with_aix_soname; case $withval in |
| 14055 | aix|svr4|both) |
| 14056 | ;; |
| 14057 | *) |
| 14058 | as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
| 14059 | ;; |
| 14060 | esac |
| 14061 | lt_cv_with_aix_soname=$with_aix_soname |
| 14062 | else case e in #( |
| 14063 | e) if test ${lt_cv_with_aix_soname+y} |
| 14064 | then : |
| 14065 | printf %s "(cached) " >&6 |
| 14066 | else case e in #( |
| 14067 | e) lt_cv_with_aix_soname=aix ;; |
| 14068 | esac |
| 14069 | fi |
| 14070 | ;; |
| 14071 | esac |
| 14072 | fi |
| 14073 | |
| 14074 | enable_aix_soname=$lt_cv_with_aix_soname ;; |
| 14075 | esac |
| 14076 | fi |
| 14077 | |
| 14078 | with_aix_soname=$enable_aix_soname |
| 14079 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 14080 | printf "%s\n" "$with_aix_soname" >&6; } |
| 14081 | if test aix != "$with_aix_soname"; then |
| 14082 | # For the AIX way of multilib, we name the shared archive member |
| 14083 | # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 14084 | # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 14085 | # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 14086 | # the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 14087 | if test 64 = "${OBJECT_MODE-32}"; then |
| 14088 | shared_archive_member_spec=shr_64 |
| 14089 | else |
| 14090 | shared_archive_member_spec=shr |
| 14091 | fi |
| 14092 | fi |
| 14093 | ;; |
| 14094 | *) |
| 14095 | with_aix_soname=aix |
| 14096 | ;; |
| 14097 | esac |
| 14098 | |
| 14099 | |
| 14100 | |
| 14101 | |
| 14102 | |
| 14103 | |
| 14104 | |
| 14105 | |
| 14106 | |
| 14107 | |
| 14108 | # This can be used to rebuild libtool when needed |
| 14109 | LIBTOOL_DEPS=$ltmain |
| 14110 | |
| 14111 | # Always use our own libtool. |
| 14112 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 14113 | |
| 14114 | |
| 14115 | |
| 14116 | |
| 14117 | |
| 14118 | |
| 14119 | |
| 14120 | |
| 14121 | |
| 14122 | |
| 14123 | |
| 14124 | |
| 14125 | |
| 14126 | |
| 14127 | |
| 14128 | |
| 14129 | |
| 14130 | |
| 14131 | |
| 14132 | |
| 14133 | |
| 14134 | |
| 14135 | |
| 14136 | |
| 14137 | |
| 14138 | |
| 14139 | |
| 14140 | |
| 14141 | |
| 14142 | |
| 14143 | test -z "$LN_S" && LN_S="ln -s" |
| 14144 | |
| 14145 | |
| 14146 | |
| 14147 | |
| 14148 | |
| 14149 | |
| 14150 | |
| 14151 | |
| 14152 | |
| 14153 | |
| 14154 | |
| 14155 | |
| 14156 | |
| 14157 | |
| 14158 | if test -n "${ZSH_VERSION+set}"; then |
| 14159 | setopt NO_GLOB_SUBST |
| 14160 | fi |
| 14161 | |
| 14162 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 14163 | printf %s "checking for objdir... " >&6; } |
| 14164 | if test ${lt_cv_objdir+y} |
| 14165 | then : |
| 14166 | printf %s "(cached) " >&6 |
| 14167 | else case e in #( |
| 14168 | e) rm -f .libs 2>/dev/null |
| 14169 | mkdir .libs 2>/dev/null |
| 14170 | if test -d .libs; then |
| 14171 | lt_cv_objdir=.libs |
| 14172 | else |
| 14173 | # MS-DOS does not allow filenames that begin with a dot. |
| 14174 | lt_cv_objdir=_libs |
| 14175 | fi |
| 14176 | rmdir .libs 2>/dev/null ;; |
| 14177 | esac |
| 14178 | fi |
| 14179 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 14180 | printf "%s\n" "$lt_cv_objdir" >&6; } |
| 14181 | objdir=$lt_cv_objdir |
| 14182 | |
| 14183 | |
| 14184 | |
| 14185 | |
| 14186 | |
| 14187 | printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 14188 | |
| 14189 | |
| 14190 | |
| 14191 | |
| 14192 | case $host_os in |
| 14193 | aix3*) |
| 14194 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 14195 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 14196 | # vanish in a puff of smoke. |
| 14197 | if test set != "${COLLECT_NAMES+set}"; then |
| 14198 | COLLECT_NAMES= |
| 14199 | export COLLECT_NAMES |
| 14200 | fi |
| 14201 | ;; |
| 14202 | esac |
| 14203 | |
| 14204 | # Global variables: |
| 14205 | ofile=libtool |
| 14206 | can_build_shared=yes |
| 14207 | |
| 14208 | # All known linkers require a '.a' archive for static linking (except MSVC and |
| 14209 | # ICC, which need '.lib'). |
| 14210 | libext=a |
| 14211 | |
| 14212 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 14213 | |
| 14214 | old_CC=$CC |
| 14215 | old_CFLAGS=$CFLAGS |
| 14216 | |
| 14217 | # Set sane defaults for various variables |
| 14218 | test -z "$CC" && CC=cc |
| 14219 | test -z "$LTCC" && LTCC=$CC |
| 14220 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 14221 | test -z "$LD" && LD=ld |
| 14222 | test -z "$ac_objext" && ac_objext=o |
| 14223 | |
| 14224 | func_cc_basename $compiler |
| 14225 | cc_basename=$func_cc_basename_result |
| 14226 | |
| 14227 | |
| 14228 | # Only perform the check for file, if the check method requires it |
| 14229 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 14230 | case $deplibs_check_method in |
| 14231 | file_magic*) |
| 14232 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 14233 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 14234 | printf %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 14235 | if test ${lt_cv_path_MAGIC_CMD+y} |
| 14236 | then : |
| 14237 | printf %s "(cached) " >&6 |
| 14238 | else case e in #( |
| 14239 | e) case $MAGIC_CMD in |
| 14240 | [\\/*] | ?:[\\/]*) |
| 14241 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 14242 | ;; |
| 14243 | *) |
| 14244 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 14245 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 14246 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 14247 | for ac_dir in $ac_dummy; do |
| 14248 | IFS=$lt_save_ifs |
| 14249 | test -z "$ac_dir" && ac_dir=. |
| 14250 | if test -f "$ac_dir/${ac_tool_prefix}file"; then |
| 14251 | lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
| 14252 | if test -n "$file_magic_test_file"; then |
| 14253 | case $deplibs_check_method in |
| 14254 | "file_magic "*) |
| 14255 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 14256 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14257 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 14258 | $EGREP "$file_magic_regex" > /dev/null; then |
| 14259 | : |
| 14260 | else |
| 14261 | cat <<_LT_EOF 1>&2 |
| 14262 | |
| 14263 | *** Warning: the command libtool uses to detect shared libraries, |
| 14264 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 14265 | *** The result is that libtool may fail to recognize shared libraries |
| 14266 | *** as such. This will affect the creation of libtool libraries that |
| 14267 | *** depend on shared libraries, but programs linked with such libtool |
| 14268 | *** libraries will work regardless of this problem. Nevertheless, you |
| 14269 | *** may want to report the problem to your system manager and/or to |
| 14270 | *** [email protected] |
| 14271 | |
| 14272 | _LT_EOF |
| 14273 | fi ;; |
| 14274 | esac |
| 14275 | fi |
| 14276 | break |
| 14277 | fi |
| 14278 | done |
| 14279 | IFS=$lt_save_ifs |
| 14280 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 14281 | ;; |
| 14282 | esac ;; |
| 14283 | esac |
| 14284 | fi |
| 14285 | |
| 14286 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14287 | if test -n "$MAGIC_CMD"; then |
| 14288 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 14289 | printf "%s\n" "$MAGIC_CMD" >&6; } |
| 14290 | else |
| 14291 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14292 | printf "%s\n" "no" >&6; } |
| 14293 | fi |
| 14294 | |
| 14295 | |
| 14296 | |
| 14297 | |
| 14298 | |
| 14299 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 14300 | if test -n "$ac_tool_prefix"; then |
| 14301 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 14302 | printf %s "checking for file... " >&6; } |
| 14303 | if test ${lt_cv_path_MAGIC_CMD+y} |
| 14304 | then : |
| 14305 | printf %s "(cached) " >&6 |
| 14306 | else case e in #( |
| 14307 | e) case $MAGIC_CMD in |
| 14308 | [\\/*] | ?:[\\/]*) |
| 14309 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 14310 | ;; |
| 14311 | *) |
| 14312 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 14313 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 14314 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 14315 | for ac_dir in $ac_dummy; do |
| 14316 | IFS=$lt_save_ifs |
| 14317 | test -z "$ac_dir" && ac_dir=. |
| 14318 | if test -f "$ac_dir/file"; then |
| 14319 | lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
| 14320 | if test -n "$file_magic_test_file"; then |
| 14321 | case $deplibs_check_method in |
| 14322 | "file_magic "*) |
| 14323 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 14324 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14325 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 14326 | $EGREP "$file_magic_regex" > /dev/null; then |
| 14327 | : |
| 14328 | else |
| 14329 | cat <<_LT_EOF 1>&2 |
| 14330 | |
| 14331 | *** Warning: the command libtool uses to detect shared libraries, |
| 14332 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 14333 | *** The result is that libtool may fail to recognize shared libraries |
| 14334 | *** as such. This will affect the creation of libtool libraries that |
| 14335 | *** depend on shared libraries, but programs linked with such libtool |
| 14336 | *** libraries will work regardless of this problem. Nevertheless, you |
| 14337 | *** may want to report the problem to your system manager and/or to |
| 14338 | *** [email protected] |
| 14339 | |
| 14340 | _LT_EOF |
| 14341 | fi ;; |
| 14342 | esac |
| 14343 | fi |
| 14344 | break |
| 14345 | fi |
| 14346 | done |
| 14347 | IFS=$lt_save_ifs |
| 14348 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 14349 | ;; |
| 14350 | esac ;; |
| 14351 | esac |
| 14352 | fi |
| 14353 | |
| 14354 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14355 | if test -n "$MAGIC_CMD"; then |
| 14356 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 14357 | printf "%s\n" "$MAGIC_CMD" >&6; } |
| 14358 | else |
| 14359 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14360 | printf "%s\n" "no" >&6; } |
| 14361 | fi |
| 14362 | |
| 14363 | |
| 14364 | else |
| 14365 | MAGIC_CMD=: |
| 14366 | fi |
| 14367 | fi |
| 14368 | |
| 14369 | fi |
| 14370 | ;; |
| 14371 | esac |
| 14372 | |
| 14373 | # Use C for the default configuration in the libtool script |
| 14374 | |
| 14375 | lt_save_CC=$CC |
| 14376 | ac_ext=c |
| 14377 | ac_cpp='$CPP $CPPFLAGS' |
| 14378 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 14379 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 14380 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 14381 | |
| 14382 | |
| 14383 | # Source file extension for C test sources. |
| 14384 | ac_ext=c |
| 14385 | |
| 14386 | # Object file extension for compiled C test sources. |
| 14387 | objext=o |
| 14388 | objext=$objext |
| 14389 | |
| 14390 | # Code to be used in simple compile tests |
| 14391 | lt_simple_compile_test_code="int some_variable = 0;" |
| 14392 | |
| 14393 | # Code to be used in simple link tests |
| 14394 | lt_simple_link_test_code='int main(void){return(0);}' |
| 14395 | |
| 14396 | |
| 14397 | |
| 14398 | |
| 14399 | |
| 14400 | |
| 14401 | |
| 14402 | # If no C compiler was specified, use CC. |
| 14403 | LTCC=${LTCC-"$CC"} |
| 14404 | |
| 14405 | # If no C compiler flags were specified, use CFLAGS. |
| 14406 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 14407 | |
| 14408 | # Allow CC to be a program name with arguments. |
| 14409 | compiler=$CC |
| 14410 | |
| 14411 | # Save the default compiler, since it gets overwritten when the other |
| 14412 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
| 14413 | compiler_DEFAULT=$CC |
| 14414 | |
| 14415 | # save warnings/boilerplate of simple test code |
| 14416 | ac_outfile=conftest.$ac_objext |
| 14417 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 14418 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 14419 | _lt_compiler_boilerplate=`cat conftest.err` |
| 14420 | $RM conftest* |
| 14421 | |
| 14422 | ac_outfile=conftest.$ac_objext |
| 14423 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 14424 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 14425 | _lt_linker_boilerplate=`cat conftest.err` |
| 14426 | $RM -r conftest* |
| 14427 | |
| 14428 | |
| 14429 | ## CAVEAT EMPTOR: |
| 14430 | ## There is no encapsulation within the following macros, do not change |
| 14431 | ## the running order or otherwise move them around unless you know exactly |
| 14432 | ## what you are doing... |
| 14433 | if test -n "$compiler"; then |
| 14434 | |
| 14435 | lt_prog_compiler_no_builtin_flag= |
| 14436 | |
| 14437 | if test yes = "$GCC"; then |
| 14438 | case $cc_basename in |
| 14439 | nvcc*) |
| 14440 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 14441 | *) |
| 14442 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 14443 | esac |
| 14444 | |
| 14445 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 14446 | printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 14447 | if test ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 14448 | then : |
| 14449 | printf %s "(cached) " >&6 |
| 14450 | else case e in #( |
| 14451 | e) lt_cv_prog_compiler_rtti_exceptions=no |
| 14452 | ac_outfile=conftest.$ac_objext |
| 14453 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14454 | lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
| 14455 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14456 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14457 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14458 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14459 | # The option is referenced via a variable to avoid confusing sed. |
| 14460 | lt_compile=`echo "$ac_compile" | $SED \ |
| 14461 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14462 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14463 | -e 's:$: $lt_compiler_flag:'` |
| 14464 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14465 | (eval "$lt_compile" 2>conftest.err) |
| 14466 | ac_status=$? |
| 14467 | cat conftest.err >&5 |
| 14468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14469 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 14470 | # The compiler can only warn and ignore the option if not recognized |
| 14471 | # So say no if there are warnings other than the usual output. |
| 14472 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 14473 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 14474 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 14475 | lt_cv_prog_compiler_rtti_exceptions=yes |
| 14476 | fi |
| 14477 | fi |
| 14478 | $RM conftest* |
| 14479 | ;; |
| 14480 | esac |
| 14481 | fi |
| 14482 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 14483 | printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 14484 | |
| 14485 | if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 14486 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 14487 | else |
| 14488 | : |
| 14489 | fi |
| 14490 | |
| 14491 | fi |
| 14492 | |
| 14493 | |
| 14494 | |
| 14495 | |
| 14496 | |
| 14497 | |
| 14498 | lt_prog_compiler_wl= |
| 14499 | lt_prog_compiler_pic= |
| 14500 | lt_prog_compiler_static= |
| 14501 | |
| 14502 | |
| 14503 | if test yes = "$GCC"; then |
| 14504 | lt_prog_compiler_wl='-Wl,' |
| 14505 | lt_prog_compiler_static='-static' |
| 14506 | |
| 14507 | case $host_os in |
| 14508 | aix*) |
| 14509 | # All AIX code is PIC. |
| 14510 | if test ia64 = "$host_cpu"; then |
| 14511 | # AIX 5 now supports IA64 processor |
| 14512 | lt_prog_compiler_static='-Bstatic' |
| 14513 | fi |
| 14514 | lt_prog_compiler_pic='-fPIC' |
| 14515 | ;; |
| 14516 | |
| 14517 | amigaos*) |
| 14518 | case $host_cpu in |
| 14519 | powerpc) |
| 14520 | # see comment about AmigaOS4 .so support |
| 14521 | lt_prog_compiler_pic='-fPIC' |
| 14522 | ;; |
| 14523 | m68k) |
| 14524 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 14525 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 14526 | # like '-m68040'. |
| 14527 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 14528 | ;; |
| 14529 | esac |
| 14530 | ;; |
| 14531 | |
| 14532 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 14533 | # PIC is the default for these OSes. |
| 14534 | ;; |
| 14535 | |
| 14536 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 14537 | # This hack is so that the source file can tell whether it is being |
| 14538 | # built for inclusion in a dll (and should export symbols for example). |
| 14539 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 14540 | # (--disable-auto-import) libraries |
| 14541 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 14542 | case $host_os in |
| 14543 | os2*) |
| 14544 | lt_prog_compiler_static='$wl-static' |
| 14545 | ;; |
| 14546 | esac |
| 14547 | ;; |
| 14548 | |
| 14549 | darwin* | rhapsody*) |
| 14550 | # PIC is the default on this platform |
| 14551 | # Common symbols not allowed in MH_DYLIB files |
| 14552 | lt_prog_compiler_pic='-fno-common' |
| 14553 | ;; |
| 14554 | |
| 14555 | haiku*) |
| 14556 | # PIC is the default for Haiku. |
| 14557 | # The "-static" flag exists, but is broken. |
| 14558 | lt_prog_compiler_static= |
| 14559 | ;; |
| 14560 | |
| 14561 | hpux*) |
| 14562 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 14563 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 14564 | # sets the default TLS model and affects inlining. |
| 14565 | case $host_cpu in |
| 14566 | hppa*64*) |
| 14567 | # +Z the default |
| 14568 | ;; |
| 14569 | *) |
| 14570 | lt_prog_compiler_pic='-fPIC' |
| 14571 | ;; |
| 14572 | esac |
| 14573 | ;; |
| 14574 | |
| 14575 | interix[3-9]*) |
| 14576 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 14577 | # Instead, we relocate shared libraries at runtime. |
| 14578 | ;; |
| 14579 | |
| 14580 | msdosdjgpp*) |
| 14581 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 14582 | # on systems that don't support them. |
| 14583 | lt_prog_compiler_can_build_shared=no |
| 14584 | enable_shared=no |
| 14585 | ;; |
| 14586 | |
| 14587 | *nto* | *qnx*) |
| 14588 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 14589 | # it will coredump. |
| 14590 | lt_prog_compiler_pic='-fPIC -shared' |
| 14591 | ;; |
| 14592 | |
| 14593 | sysv4*MP*) |
| 14594 | if test -d /usr/nec; then |
| 14595 | lt_prog_compiler_pic=-Kconform_pic |
| 14596 | fi |
| 14597 | ;; |
| 14598 | |
| 14599 | *) |
| 14600 | lt_prog_compiler_pic='-fPIC' |
| 14601 | ;; |
| 14602 | esac |
| 14603 | |
| 14604 | case $cc_basename in |
| 14605 | nvcc*) # Cuda Compiler Driver 2.2 |
| 14606 | lt_prog_compiler_wl='-Xlinker ' |
| 14607 | if test -n "$lt_prog_compiler_pic"; then |
| 14608 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 14609 | fi |
| 14610 | ;; |
| 14611 | esac |
| 14612 | else |
| 14613 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 14614 | case $host_os in |
| 14615 | aix*) |
| 14616 | lt_prog_compiler_wl='-Wl,' |
| 14617 | if test ia64 = "$host_cpu"; then |
| 14618 | # AIX 5 now supports IA64 processor |
| 14619 | lt_prog_compiler_static='-Bstatic' |
| 14620 | else |
| 14621 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 14622 | fi |
| 14623 | ;; |
| 14624 | |
| 14625 | darwin* | rhapsody*) |
| 14626 | # PIC is the default on this platform |
| 14627 | # Common symbols not allowed in MH_DYLIB files |
| 14628 | lt_prog_compiler_pic='-fno-common' |
| 14629 | case $cc_basename in |
| 14630 | nagfor*) |
| 14631 | # NAG Fortran compiler |
| 14632 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 14633 | lt_prog_compiler_pic='-PIC' |
| 14634 | lt_prog_compiler_static='-Bstatic' |
| 14635 | ;; |
| 14636 | esac |
| 14637 | ;; |
| 14638 | |
| 14639 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 14640 | # This hack is so that the source file can tell whether it is being |
| 14641 | # built for inclusion in a dll (and should export symbols for example). |
| 14642 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 14643 | case $host_os in |
| 14644 | os2*) |
| 14645 | lt_prog_compiler_static='$wl-static' |
| 14646 | ;; |
| 14647 | esac |
| 14648 | ;; |
| 14649 | |
| 14650 | hpux9* | hpux10* | hpux11*) |
| 14651 | lt_prog_compiler_wl='-Wl,' |
| 14652 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 14653 | # not for PA HP-UX. |
| 14654 | case $host_cpu in |
| 14655 | hppa*64*|ia64*) |
| 14656 | # +Z the default |
| 14657 | ;; |
| 14658 | *) |
| 14659 | lt_prog_compiler_pic='+Z' |
| 14660 | ;; |
| 14661 | esac |
| 14662 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 14663 | lt_prog_compiler_static='$wl-a ${wl}archive' |
| 14664 | ;; |
| 14665 | |
| 14666 | irix5* | irix6* | nonstopux*) |
| 14667 | lt_prog_compiler_wl='-Wl,' |
| 14668 | # PIC (with -KPIC) is the default. |
| 14669 | lt_prog_compiler_static='-non_shared' |
| 14670 | ;; |
| 14671 | |
| 14672 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 14673 | case $cc_basename in |
| 14674 | # old Intel for x86_64, which still supported -KPIC. |
| 14675 | ecc*) |
| 14676 | lt_prog_compiler_wl='-Wl,' |
| 14677 | lt_prog_compiler_pic='-KPIC' |
| 14678 | lt_prog_compiler_static='-static' |
| 14679 | ;; |
| 14680 | *flang* | ftn | f18* | f95*) |
| 14681 | # Flang compiler. |
| 14682 | lt_prog_compiler_wl='-Wl,' |
| 14683 | lt_prog_compiler_pic='-fPIC' |
| 14684 | lt_prog_compiler_static='-static' |
| 14685 | ;; |
| 14686 | # icc used to be incompatible with GCC. |
| 14687 | # ICC 10 doesn't accept -KPIC any more. |
| 14688 | icc* | ifort*) |
| 14689 | lt_prog_compiler_wl='-Wl,' |
| 14690 | lt_prog_compiler_pic='-fPIC' |
| 14691 | lt_prog_compiler_static='-static' |
| 14692 | ;; |
| 14693 | # Lahey Fortran 8.1. |
| 14694 | lf95*) |
| 14695 | lt_prog_compiler_wl='-Wl,' |
| 14696 | lt_prog_compiler_pic='--shared' |
| 14697 | lt_prog_compiler_static='--static' |
| 14698 | ;; |
| 14699 | nagfor*) |
| 14700 | # NAG Fortran compiler |
| 14701 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 14702 | lt_prog_compiler_pic='-PIC' |
| 14703 | lt_prog_compiler_static='-Bstatic' |
| 14704 | ;; |
| 14705 | tcc*) |
| 14706 | # Fabrice Bellard et al's Tiny C Compiler |
| 14707 | lt_prog_compiler_wl='-Wl,' |
| 14708 | lt_prog_compiler_pic='-fPIC' |
| 14709 | lt_prog_compiler_static='-static' |
| 14710 | ;; |
| 14711 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 14712 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 14713 | # which looks to be a dead project) |
| 14714 | lt_prog_compiler_wl='-Wl,' |
| 14715 | lt_prog_compiler_pic='-fpic' |
| 14716 | lt_prog_compiler_static='-Bstatic' |
| 14717 | ;; |
| 14718 | ccc*) |
| 14719 | lt_prog_compiler_wl='-Wl,' |
| 14720 | # All Alpha code is PIC. |
| 14721 | lt_prog_compiler_static='-non_shared' |
| 14722 | ;; |
| 14723 | xl* | bgxl* | bgf* | mpixl*) |
| 14724 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 14725 | lt_prog_compiler_wl='-Wl,' |
| 14726 | lt_prog_compiler_pic='-qpic' |
| 14727 | lt_prog_compiler_static='-qstaticlink' |
| 14728 | ;; |
| 14729 | *) |
| 14730 | case `$CC -V 2>&1 | $SED 5q` in |
| 14731 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 14732 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 14733 | lt_prog_compiler_pic='-KPIC' |
| 14734 | lt_prog_compiler_static='-Bstatic' |
| 14735 | lt_prog_compiler_wl='' |
| 14736 | ;; |
| 14737 | *Sun\ F* | *Sun*Fortran*) |
| 14738 | lt_prog_compiler_pic='-KPIC' |
| 14739 | lt_prog_compiler_static='-Bstatic' |
| 14740 | lt_prog_compiler_wl='-Qoption ld ' |
| 14741 | ;; |
| 14742 | *Sun\ C*) |
| 14743 | # Sun C 5.9 |
| 14744 | lt_prog_compiler_pic='-KPIC' |
| 14745 | lt_prog_compiler_static='-Bstatic' |
| 14746 | lt_prog_compiler_wl='-Wl,' |
| 14747 | ;; |
| 14748 | *Intel*\ [CF]*Compiler*) |
| 14749 | lt_prog_compiler_wl='-Wl,' |
| 14750 | lt_prog_compiler_pic='-fPIC' |
| 14751 | lt_prog_compiler_static='-static' |
| 14752 | ;; |
| 14753 | *Portland\ Group*) |
| 14754 | lt_prog_compiler_wl='-Wl,' |
| 14755 | lt_prog_compiler_pic='-fpic' |
| 14756 | lt_prog_compiler_static='-Bstatic' |
| 14757 | ;; |
| 14758 | esac |
| 14759 | ;; |
| 14760 | esac |
| 14761 | ;; |
| 14762 | |
| 14763 | newsos6) |
| 14764 | lt_prog_compiler_pic='-KPIC' |
| 14765 | lt_prog_compiler_static='-Bstatic' |
| 14766 | ;; |
| 14767 | |
| 14768 | *-mlibc) |
| 14769 | lt_prog_compiler_wl='-Wl,' |
| 14770 | lt_prog_compiler_pic='-fPIC' |
| 14771 | lt_prog_compiler_static='-static' |
| 14772 | ;; |
| 14773 | |
| 14774 | *nto* | *qnx*) |
| 14775 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 14776 | # it will coredump. |
| 14777 | lt_prog_compiler_pic='-fPIC -shared' |
| 14778 | ;; |
| 14779 | |
| 14780 | osf3* | osf4* | osf5*) |
| 14781 | lt_prog_compiler_wl='-Wl,' |
| 14782 | # All OSF/1 code is PIC. |
| 14783 | lt_prog_compiler_static='-non_shared' |
| 14784 | ;; |
| 14785 | |
| 14786 | rdos*) |
| 14787 | lt_prog_compiler_static='-non_shared' |
| 14788 | ;; |
| 14789 | |
| 14790 | serenity*) |
| 14791 | ;; |
| 14792 | |
| 14793 | solaris*) |
| 14794 | lt_prog_compiler_pic='-KPIC' |
| 14795 | lt_prog_compiler_static='-Bstatic' |
| 14796 | case $cc_basename in |
| 14797 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 14798 | lt_prog_compiler_wl='-Qoption ld ';; |
| 14799 | *) |
| 14800 | lt_prog_compiler_wl='-Wl,';; |
| 14801 | esac |
| 14802 | ;; |
| 14803 | |
| 14804 | sunos4*) |
| 14805 | lt_prog_compiler_wl='-Qoption ld ' |
| 14806 | lt_prog_compiler_pic='-PIC' |
| 14807 | lt_prog_compiler_static='-Bstatic' |
| 14808 | ;; |
| 14809 | |
| 14810 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 14811 | lt_prog_compiler_wl='-Wl,' |
| 14812 | lt_prog_compiler_pic='-KPIC' |
| 14813 | lt_prog_compiler_static='-Bstatic' |
| 14814 | ;; |
| 14815 | |
| 14816 | sysv4*MP*) |
| 14817 | if test -d /usr/nec; then |
| 14818 | lt_prog_compiler_pic='-Kconform_pic' |
| 14819 | lt_prog_compiler_static='-Bstatic' |
| 14820 | fi |
| 14821 | ;; |
| 14822 | |
| 14823 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 14824 | lt_prog_compiler_wl='-Wl,' |
| 14825 | lt_prog_compiler_pic='-KPIC' |
| 14826 | lt_prog_compiler_static='-Bstatic' |
| 14827 | ;; |
| 14828 | |
| 14829 | unicos*) |
| 14830 | lt_prog_compiler_wl='-Wl,' |
| 14831 | lt_prog_compiler_can_build_shared=no |
| 14832 | ;; |
| 14833 | |
| 14834 | uts4*) |
| 14835 | lt_prog_compiler_pic='-pic' |
| 14836 | lt_prog_compiler_static='-Bstatic' |
| 14837 | ;; |
| 14838 | |
| 14839 | *) |
| 14840 | lt_prog_compiler_can_build_shared=no |
| 14841 | ;; |
| 14842 | esac |
| 14843 | fi |
| 14844 | |
| 14845 | case $host_os in |
| 14846 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 14847 | *djgpp*) |
| 14848 | lt_prog_compiler_pic= |
| 14849 | ;; |
| 14850 | *) |
| 14851 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 14852 | ;; |
| 14853 | esac |
| 14854 | |
| 14855 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 14856 | printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 14857 | if test ${lt_cv_prog_compiler_pic+y} |
| 14858 | then : |
| 14859 | printf %s "(cached) " >&6 |
| 14860 | else case e in #( |
| 14861 | e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 14862 | esac |
| 14863 | fi |
| 14864 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 14865 | printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 14866 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 14867 | |
| 14868 | # |
| 14869 | # Check to make sure the PIC flag actually works. |
| 14870 | # |
| 14871 | if test -n "$lt_prog_compiler_pic"; then |
| 14872 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 14873 | printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 14874 | if test ${lt_cv_prog_compiler_pic_works+y} |
| 14875 | then : |
| 14876 | printf %s "(cached) " >&6 |
| 14877 | else case e in #( |
| 14878 | e) lt_cv_prog_compiler_pic_works=no |
| 14879 | ac_outfile=conftest.$ac_objext |
| 14880 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14881 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 14882 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14883 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14884 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14885 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14886 | # The option is referenced via a variable to avoid confusing sed. |
| 14887 | lt_compile=`echo "$ac_compile" | $SED \ |
| 14888 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14889 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14890 | -e 's:$: $lt_compiler_flag:'` |
| 14891 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14892 | (eval "$lt_compile" 2>conftest.err) |
| 14893 | ac_status=$? |
| 14894 | cat conftest.err >&5 |
| 14895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14896 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 14897 | # The compiler can only warn and ignore the option if not recognized |
| 14898 | # So say no if there are warnings other than the usual output. |
| 14899 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 14900 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 14901 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 14902 | lt_cv_prog_compiler_pic_works=yes |
| 14903 | fi |
| 14904 | fi |
| 14905 | $RM conftest* |
| 14906 | ;; |
| 14907 | esac |
| 14908 | fi |
| 14909 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 14910 | printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 14911 | |
| 14912 | if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 14913 | case $lt_prog_compiler_pic in |
| 14914 | "" | " "*) ;; |
| 14915 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 14916 | esac |
| 14917 | else |
| 14918 | lt_prog_compiler_pic= |
| 14919 | lt_prog_compiler_can_build_shared=no |
| 14920 | fi |
| 14921 | |
| 14922 | fi |
| 14923 | |
| 14924 | |
| 14925 | |
| 14926 | |
| 14927 | |
| 14928 | |
| 14929 | |
| 14930 | |
| 14931 | |
| 14932 | |
| 14933 | |
| 14934 | # |
| 14935 | # Check to make sure the static flag actually works. |
| 14936 | # |
| 14937 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 14938 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 14939 | printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 14940 | if test ${lt_cv_prog_compiler_static_works+y} |
| 14941 | then : |
| 14942 | printf %s "(cached) " >&6 |
| 14943 | else case e in #( |
| 14944 | e) lt_cv_prog_compiler_static_works=no |
| 14945 | save_LDFLAGS=$LDFLAGS |
| 14946 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 14947 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 14948 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 14949 | # The linker can only warn and ignore the option if not recognized |
| 14950 | # So say no if there are warnings |
| 14951 | if test -s conftest.err; then |
| 14952 | # Append any errors to the config.log. |
| 14953 | cat conftest.err 1>&5 |
| 14954 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 14955 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 14956 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 14957 | lt_cv_prog_compiler_static_works=yes |
| 14958 | fi |
| 14959 | else |
| 14960 | lt_cv_prog_compiler_static_works=yes |
| 14961 | fi |
| 14962 | fi |
| 14963 | $RM -r conftest* |
| 14964 | LDFLAGS=$save_LDFLAGS |
| 14965 | ;; |
| 14966 | esac |
| 14967 | fi |
| 14968 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 14969 | printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 14970 | |
| 14971 | if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 14972 | : |
| 14973 | else |
| 14974 | lt_prog_compiler_static= |
| 14975 | fi |
| 14976 | |
| 14977 | |
| 14978 | |
| 14979 | |
| 14980 | |
| 14981 | |
| 14982 | |
| 14983 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 14984 | printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 14985 | if test ${lt_cv_prog_compiler_c_o+y} |
| 14986 | then : |
| 14987 | printf %s "(cached) " >&6 |
| 14988 | else case e in #( |
| 14989 | e) lt_cv_prog_compiler_c_o=no |
| 14990 | $RM -r conftest 2>/dev/null |
| 14991 | mkdir conftest |
| 14992 | cd conftest |
| 14993 | mkdir out |
| 14994 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14995 | |
| 14996 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 14997 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14998 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14999 | # Note that $ac_compile itself does not contain backslashes and begins |
| 15000 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15001 | lt_compile=`echo "$ac_compile" | $SED \ |
| 15002 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15003 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15004 | -e 's:$: $lt_compiler_flag:'` |
| 15005 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15006 | (eval "$lt_compile" 2>out/conftest.err) |
| 15007 | ac_status=$? |
| 15008 | cat out/conftest.err >&5 |
| 15009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15010 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15011 | then |
| 15012 | # The compiler can only warn and ignore the option if not recognized |
| 15013 | # So say no if there are warnings |
| 15014 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 15015 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 15016 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 15017 | lt_cv_prog_compiler_c_o=yes |
| 15018 | fi |
| 15019 | fi |
| 15020 | chmod u+w . 2>&5 |
| 15021 | $RM conftest* |
| 15022 | # SGI C++ compiler will create directory out/ii_files/ for |
| 15023 | # template instantiation |
| 15024 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 15025 | $RM out/* && rmdir out |
| 15026 | cd .. |
| 15027 | $RM -r conftest |
| 15028 | $RM conftest* |
| 15029 | ;; |
| 15030 | esac |
| 15031 | fi |
| 15032 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 15033 | printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 15034 | |
| 15035 | |
| 15036 | |
| 15037 | |
| 15038 | |
| 15039 | |
| 15040 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 15041 | printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 15042 | if test ${lt_cv_prog_compiler_c_o+y} |
| 15043 | then : |
| 15044 | printf %s "(cached) " >&6 |
| 15045 | else case e in #( |
| 15046 | e) lt_cv_prog_compiler_c_o=no |
| 15047 | $RM -r conftest 2>/dev/null |
| 15048 | mkdir conftest |
| 15049 | cd conftest |
| 15050 | mkdir out |
| 15051 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15052 | |
| 15053 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 15054 | # Insert the option either (1) after the last *FLAGS variable, or |
| 15055 | # (2) before a word containing "conftest.", or (3) at the end. |
| 15056 | # Note that $ac_compile itself does not contain backslashes and begins |
| 15057 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15058 | lt_compile=`echo "$ac_compile" | $SED \ |
| 15059 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15060 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15061 | -e 's:$: $lt_compiler_flag:'` |
| 15062 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15063 | (eval "$lt_compile" 2>out/conftest.err) |
| 15064 | ac_status=$? |
| 15065 | cat out/conftest.err >&5 |
| 15066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15067 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15068 | then |
| 15069 | # The compiler can only warn and ignore the option if not recognized |
| 15070 | # So say no if there are warnings |
| 15071 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 15072 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 15073 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 15074 | lt_cv_prog_compiler_c_o=yes |
| 15075 | fi |
| 15076 | fi |
| 15077 | chmod u+w . 2>&5 |
| 15078 | $RM conftest* |
| 15079 | # SGI C++ compiler will create directory out/ii_files/ for |
| 15080 | # template instantiation |
| 15081 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 15082 | $RM out/* && rmdir out |
| 15083 | cd .. |
| 15084 | $RM -r conftest |
| 15085 | $RM conftest* |
| 15086 | ;; |
| 15087 | esac |
| 15088 | fi |
| 15089 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 15090 | printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 15091 | |
| 15092 | |
| 15093 | |
| 15094 | |
| 15095 | hard_links=nottested |
| 15096 | if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
| 15097 | # do not overwrite the value of need_locks provided by the user |
| 15098 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 15099 | printf %s "checking if we can lock with hard links... " >&6; } |
| 15100 | hard_links=yes |
| 15101 | $RM conftest* |
| 15102 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 15103 | touch conftest.a |
| 15104 | ln conftest.a conftest.b 2>&5 || hard_links=no |
| 15105 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 15106 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 15107 | printf "%s\n" "$hard_links" >&6; } |
| 15108 | if test no = "$hard_links"; then |
| 15109 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 15110 | printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 15111 | need_locks=warn |
| 15112 | fi |
| 15113 | else |
| 15114 | need_locks=no |
| 15115 | fi |
| 15116 | |
| 15117 | |
| 15118 | |
| 15119 | |
| 15120 | |
| 15121 | |
| 15122 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 15123 | printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 15124 | |
| 15125 | runpath_var= |
| 15126 | allow_undefined_flag= |
| 15127 | always_export_symbols=no |
| 15128 | archive_cmds= |
| 15129 | archive_expsym_cmds= |
| 15130 | compiler_needs_object=no |
| 15131 | enable_shared_with_static_runtimes=no |
| 15132 | export_dynamic_flag_spec= |
| 15133 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 15134 | hardcode_automatic=no |
| 15135 | hardcode_direct=no |
| 15136 | hardcode_direct_absolute=no |
| 15137 | hardcode_libdir_flag_spec= |
| 15138 | hardcode_libdir_separator= |
| 15139 | hardcode_minus_L=no |
| 15140 | hardcode_shlibpath_var=unsupported |
| 15141 | inherit_rpath=no |
| 15142 | link_all_deplibs=unknown |
| 15143 | module_cmds= |
| 15144 | module_expsym_cmds= |
| 15145 | old_archive_from_new_cmds= |
| 15146 | old_archive_from_expsyms_cmds= |
| 15147 | thread_safe_flag_spec= |
| 15148 | whole_archive_flag_spec= |
| 15149 | # include_expsyms should be a list of space-separated symbols to be *always* |
| 15150 | # included in the symbol list |
| 15151 | include_expsyms= |
| 15152 | # exclude_expsyms can be an extended regexp of symbols to exclude |
| 15153 | # it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 15154 | # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 15155 | # as well as any symbol that contains 'd'. |
| 15156 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 15157 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 15158 | # platforms (ab)use it in PIC code, but their linkers get confused if |
| 15159 | # the symbol is explicitly referenced. Since portable code cannot |
| 15160 | # rely on this symbol name, it's probably fine to never include it in |
| 15161 | # preloaded symbol tables. |
| 15162 | # Exclude shared library initialization/finalization symbols. |
| 15163 | extract_expsyms_cmds= |
| 15164 | |
| 15165 | case $host_os in |
| 15166 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 15167 | # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 15168 | # When not using gcc, we currently assume that we are using |
| 15169 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 15170 | if test yes != "$GCC"; then |
| 15171 | with_gnu_ld=no |
| 15172 | fi |
| 15173 | ;; |
| 15174 | interix*) |
| 15175 | # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 15176 | with_gnu_ld=yes |
| 15177 | ;; |
| 15178 | esac |
| 15179 | |
| 15180 | ld_shlibs=yes |
| 15181 | |
| 15182 | # On some targets, GNU ld is compatible enough with the native linker |
| 15183 | # that we're better off using the native interface for both. |
| 15184 | lt_use_gnu_ld_interface=no |
| 15185 | if test yes = "$with_gnu_ld"; then |
| 15186 | case $host_os in |
| 15187 | aix*) |
| 15188 | # The AIX port of GNU ld has always aspired to compatibility |
| 15189 | # with the native linker. However, as the warning in the GNU ld |
| 15190 | # block says, versions before 2.19.5* couldn't really create working |
| 15191 | # shared libraries, regardless of the interface used. |
| 15192 | case `$LD -v 2>&1` in |
| 15193 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 15194 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 15195 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 15196 | *) |
| 15197 | lt_use_gnu_ld_interface=yes |
| 15198 | ;; |
| 15199 | esac |
| 15200 | ;; |
| 15201 | *) |
| 15202 | lt_use_gnu_ld_interface=yes |
| 15203 | ;; |
| 15204 | esac |
| 15205 | fi |
| 15206 | |
| 15207 | if test yes = "$lt_use_gnu_ld_interface"; then |
| 15208 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 15209 | wlarc='$wl' |
| 15210 | |
| 15211 | # Set some defaults for GNU ld with shared library support. These |
| 15212 | # are reset later if shared libraries are not supported. Putting them |
| 15213 | # here allows them to be overridden if necessary. |
| 15214 | runpath_var=LD_RUN_PATH |
| 15215 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 15216 | export_dynamic_flag_spec='$wl--export-dynamic' |
| 15217 | # ancient GNU ld didn't support --whole-archive et. al. |
| 15218 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 15219 | whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 15220 | else |
| 15221 | whole_archive_flag_spec= |
| 15222 | fi |
| 15223 | supports_anon_versioning=no |
| 15224 | case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 15225 | *GNU\ gold*) supports_anon_versioning=yes ;; |
| 15226 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 15227 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 15228 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 15229 | *\ 2.11.*) ;; # other 2.11 versions |
| 15230 | *) supports_anon_versioning=yes ;; |
| 15231 | esac |
| 15232 | |
| 15233 | # See if GNU ld supports shared libraries. |
| 15234 | case $host_os in |
| 15235 | aix[3-9]*) |
| 15236 | # On AIX/PPC, the GNU linker is very broken |
| 15237 | if test ia64 != "$host_cpu"; then |
| 15238 | ld_shlibs=no |
| 15239 | cat <<_LT_EOF 1>&2 |
| 15240 | |
| 15241 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 15242 | *** to be unable to reliably create shared libraries on AIX. |
| 15243 | *** Therefore, libtool is disabling shared libraries support. If you |
| 15244 | *** really care for shared libraries, you may want to install binutils |
| 15245 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 15246 | *** You will then need to restart the configuration process. |
| 15247 | |
| 15248 | _LT_EOF |
| 15249 | fi |
| 15250 | ;; |
| 15251 | |
| 15252 | amigaos*) |
| 15253 | case $host_cpu in |
| 15254 | powerpc) |
| 15255 | # see comment about AmigaOS4 .so support |
| 15256 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15257 | archive_expsym_cmds='' |
| 15258 | ;; |
| 15259 | m68k) |
| 15260 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
| 15261 | hardcode_libdir_flag_spec='-L$libdir' |
| 15262 | hardcode_minus_L=yes |
| 15263 | ;; |
| 15264 | esac |
| 15265 | ;; |
| 15266 | |
| 15267 | beos*) |
| 15268 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 15269 | allow_undefined_flag=unsupported |
| 15270 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 15271 | # support --undefined. This deserves some investigation. FIXME |
| 15272 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15273 | else |
| 15274 | ld_shlibs=no |
| 15275 | fi |
| 15276 | ;; |
| 15277 | |
| 15278 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 15279 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 15280 | # as there is no search path for DLLs. |
| 15281 | hardcode_libdir_flag_spec='-L$libdir' |
| 15282 | export_dynamic_flag_spec='$wl--export-all-symbols' |
| 15283 | allow_undefined_flag=unsupported |
| 15284 | always_export_symbols=no |
| 15285 | enable_shared_with_static_runtimes=yes |
| 15286 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 15287 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 15288 | file_list_spec='@' |
| 15289 | |
| 15290 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 15291 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 15292 | # If the export-symbols file already is a .def file, use it as |
| 15293 | # is; otherwise, prepend EXPORTS... |
| 15294 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 15295 | cp $export_symbols $output_objdir/$soname.def; |
| 15296 | else |
| 15297 | echo EXPORTS > $output_objdir/$soname.def; |
| 15298 | cat $export_symbols >> $output_objdir/$soname.def; |
| 15299 | fi~ |
| 15300 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 15301 | else |
| 15302 | ld_shlibs=no |
| 15303 | fi |
| 15304 | ;; |
| 15305 | |
| 15306 | haiku*) |
| 15307 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15308 | link_all_deplibs=no |
| 15309 | ;; |
| 15310 | |
| 15311 | os2*) |
| 15312 | hardcode_libdir_flag_spec='-L$libdir' |
| 15313 | hardcode_minus_L=yes |
| 15314 | allow_undefined_flag=unsupported |
| 15315 | shrext_cmds=.dll |
| 15316 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 15317 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 15318 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 15319 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 15320 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 15321 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 15322 | emximp -o $lib $output_objdir/$libname.def' |
| 15323 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 15324 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 15325 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 15326 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 15327 | prefix_cmds="$SED"~ |
| 15328 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 15329 | prefix_cmds="$prefix_cmds -e 1d"; |
| 15330 | fi~ |
| 15331 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 15332 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 15333 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 15334 | emximp -o $lib $output_objdir/$libname.def' |
| 15335 | old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 15336 | enable_shared_with_static_runtimes=yes |
| 15337 | file_list_spec='@' |
| 15338 | ;; |
| 15339 | |
| 15340 | interix[3-9]*) |
| 15341 | hardcode_direct=no |
| 15342 | hardcode_shlibpath_var=no |
| 15343 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 15344 | export_dynamic_flag_spec='$wl-E' |
| 15345 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 15346 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 15347 | # default) and relocated if they conflict, which is a slow very memory |
| 15348 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 15349 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 15350 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 15351 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 15352 | 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' |
| 15353 | ;; |
| 15354 | |
| 15355 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 15356 | tmp_diet=no |
| 15357 | if test linux-dietlibc = "$host_os"; then |
| 15358 | case $cc_basename in |
| 15359 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 15360 | esac |
| 15361 | fi |
| 15362 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 15363 | && test no = "$tmp_diet" |
| 15364 | then |
| 15365 | tmp_addflag=' $pic_flag' |
| 15366 | tmp_sharedflag='-shared' |
| 15367 | case $cc_basename,$host_cpu in |
| 15368 | pgcc*) # Portland Group C compiler |
| 15369 | 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' |
| 15370 | tmp_addflag=' $pic_flag' |
| 15371 | ;; |
| 15372 | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 15373 | # Portland Group f77 and f90 compilers |
| 15374 | 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' |
| 15375 | tmp_addflag=' $pic_flag -Mnomain' ;; |
| 15376 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 15377 | tmp_addflag=' -i_dynamic' ;; |
| 15378 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 15379 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 15380 | ifc* | ifort*) # Intel Fortran compiler |
| 15381 | tmp_addflag=' -nofor_main' ;; |
| 15382 | lf95*) # Lahey Fortran 8.1 |
| 15383 | whole_archive_flag_spec= |
| 15384 | tmp_sharedflag='--shared' ;; |
| 15385 | nagfor*) # NAGFOR 5.3 |
| 15386 | tmp_sharedflag='-Wl,-shared' ;; |
| 15387 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 15388 | tmp_sharedflag='-qmkshrobj' |
| 15389 | tmp_addflag= ;; |
| 15390 | nvcc*) # Cuda Compiler Driver 2.2 |
| 15391 | 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' |
| 15392 | compiler_needs_object=yes |
| 15393 | ;; |
| 15394 | esac |
| 15395 | case `$CC -V 2>&1 | $SED 5q` in |
| 15396 | *Sun\ C*) # Sun C 5.9 |
| 15397 | whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 15398 | compiler_needs_object=yes |
| 15399 | tmp_sharedflag='-G' ;; |
| 15400 | *Sun\ F*) # Sun Fortran 8.3 |
| 15401 | tmp_sharedflag='-G' ;; |
| 15402 | esac |
| 15403 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15404 | |
| 15405 | if test yes = "$supports_anon_versioning"; then |
| 15406 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 15407 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 15408 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 15409 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 15410 | fi |
| 15411 | |
| 15412 | case $cc_basename in |
| 15413 | tcc*) |
| 15414 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 15415 | export_dynamic_flag_spec='-rdynamic' |
| 15416 | ;; |
| 15417 | xlf* | bgf* | bgxlf* | mpixlf*) |
| 15418 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 15419 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 15420 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 15421 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 15422 | if test yes = "$supports_anon_versioning"; then |
| 15423 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 15424 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 15425 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 15426 | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 15427 | fi |
| 15428 | ;; |
| 15429 | esac |
| 15430 | else |
| 15431 | ld_shlibs=no |
| 15432 | fi |
| 15433 | ;; |
| 15434 | |
| 15435 | *-mlibc) |
| 15436 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15437 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 15438 | ;; |
| 15439 | |
| 15440 | netbsd* | netbsdelf*-gnu) |
| 15441 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 15442 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 15443 | wlarc= |
| 15444 | else |
| 15445 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15446 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 15447 | fi |
| 15448 | ;; |
| 15449 | |
| 15450 | solaris*) |
| 15451 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 15452 | ld_shlibs=no |
| 15453 | cat <<_LT_EOF 1>&2 |
| 15454 | |
| 15455 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 15456 | *** create shared libraries on Solaris systems. Therefore, libtool |
| 15457 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 15458 | *** binutils to release 2.9.1 or newer. Another option is to modify |
| 15459 | *** your PATH or compiler configuration so that the native linker is |
| 15460 | *** used, and then restart. |
| 15461 | |
| 15462 | _LT_EOF |
| 15463 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 15464 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15465 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 15466 | else |
| 15467 | ld_shlibs=no |
| 15468 | fi |
| 15469 | ;; |
| 15470 | |
| 15471 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 15472 | case `$LD -v 2>&1` in |
| 15473 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 15474 | ld_shlibs=no |
| 15475 | cat <<_LT_EOF 1>&2 |
| 15476 | |
| 15477 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 15478 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 15479 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 15480 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 15481 | *** your PATH or compiler configuration so that the native linker is |
| 15482 | *** used, and then restart. |
| 15483 | |
| 15484 | _LT_EOF |
| 15485 | ;; |
| 15486 | *) |
| 15487 | # For security reasons, it is highly recommended that you always |
| 15488 | # use absolute paths for naming shared libraries, and exclude the |
| 15489 | # DT_RUNPATH tag from executables and libraries. But doing so |
| 15490 | # requires that you compile everything twice, which is a pain. |
| 15491 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 15492 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 15493 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15494 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 15495 | else |
| 15496 | ld_shlibs=no |
| 15497 | fi |
| 15498 | ;; |
| 15499 | esac |
| 15500 | ;; |
| 15501 | |
| 15502 | sunos4*) |
| 15503 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 15504 | wlarc= |
| 15505 | hardcode_direct=yes |
| 15506 | hardcode_shlibpath_var=no |
| 15507 | ;; |
| 15508 | |
| 15509 | *) |
| 15510 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 15511 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15512 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 15513 | else |
| 15514 | ld_shlibs=no |
| 15515 | fi |
| 15516 | ;; |
| 15517 | esac |
| 15518 | |
| 15519 | if test no = "$ld_shlibs"; then |
| 15520 | runpath_var= |
| 15521 | hardcode_libdir_flag_spec= |
| 15522 | export_dynamic_flag_spec= |
| 15523 | whole_archive_flag_spec= |
| 15524 | fi |
| 15525 | else |
| 15526 | # PORTME fill in a description of your system's linker (not GNU ld) |
| 15527 | case $host_os in |
| 15528 | aix3*) |
| 15529 | allow_undefined_flag=unsupported |
| 15530 | always_export_symbols=yes |
| 15531 | archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
| 15532 | # Note: this linker hardcodes the directories in LIBPATH if there |
| 15533 | # are no directories specified by -L. |
| 15534 | hardcode_minus_L=yes |
| 15535 | if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
| 15536 | # Neither direct hardcoding nor static linking is supported with a |
| 15537 | # broken collect2. |
| 15538 | hardcode_direct=unsupported |
| 15539 | fi |
| 15540 | ;; |
| 15541 | |
| 15542 | aix[4-9]*) |
| 15543 | if test ia64 = "$host_cpu"; then |
| 15544 | # On IA64, the linker does run time linking by default, so we don't |
| 15545 | # have to do anything special. |
| 15546 | aix_use_runtimelinking=no |
| 15547 | exp_sym_flag='-Bexport' |
| 15548 | no_entry_flag= |
| 15549 | else |
| 15550 | # If we're using GNU nm, then we don't want the "-C" option. |
| 15551 | # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 15552 | # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 15553 | # weak defined symbols like other global defined symbols, whereas |
| 15554 | # GNU nm marks them as "W". |
| 15555 | # While the 'weak' keyword is ignored in the Export File, we need |
| 15556 | # it in the Import File for the 'aix-soname' feature, so we have |
| 15557 | # to replace the "-B" option with "-P" for AIX nm. |
| 15558 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 15559 | export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 15560 | else |
| 15561 | export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
| 15562 | fi |
| 15563 | aix_use_runtimelinking=no |
| 15564 | |
| 15565 | # Test if we are trying to use run time linking or normal |
| 15566 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 15567 | # have runtime linking enabled, and use it for executables. |
| 15568 | # For shared libraries, we enable/disable runtime linking |
| 15569 | # depending on the kind of the shared library created - |
| 15570 | # when "with_aix_soname,aix_use_runtimelinking" is: |
| 15571 | # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 15572 | # "aix,yes" lib.so shared, rtl:yes, for executables |
| 15573 | # lib.a static archive |
| 15574 | # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 15575 | # lib.a(lib.so.V) shared, rtl:no, for executables |
| 15576 | # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 15577 | # lib.a(lib.so.V) shared, rtl:no |
| 15578 | # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 15579 | # lib.a static archive |
| 15580 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 15581 | for ld_flag in $LDFLAGS; do |
| 15582 | if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
| 15583 | aix_use_runtimelinking=yes |
| 15584 | break |
| 15585 | fi |
| 15586 | done |
| 15587 | if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 15588 | # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 15589 | # so we don't have lib.a shared libs to link our executables. |
| 15590 | # We have to force runtime linking in this case. |
| 15591 | aix_use_runtimelinking=yes |
| 15592 | LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 15593 | fi |
| 15594 | ;; |
| 15595 | esac |
| 15596 | |
| 15597 | exp_sym_flag='-bexport' |
| 15598 | no_entry_flag='-bnoentry' |
| 15599 | fi |
| 15600 | |
| 15601 | # When large executables or shared objects are built, AIX ld can |
| 15602 | # have problems creating the table of contents. If linking a library |
| 15603 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 15604 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 15605 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 15606 | |
| 15607 | archive_cmds='' |
| 15608 | hardcode_direct=yes |
| 15609 | hardcode_direct_absolute=yes |
| 15610 | hardcode_libdir_separator=':' |
| 15611 | link_all_deplibs=yes |
| 15612 | file_list_spec='$wl-f,' |
| 15613 | case $with_aix_soname,$aix_use_runtimelinking in |
| 15614 | aix,*) ;; # traditional, no import file |
| 15615 | svr4,* | *,yes) # use import file |
| 15616 | # The Import File defines what to hardcode. |
| 15617 | hardcode_direct=no |
| 15618 | hardcode_direct_absolute=no |
| 15619 | ;; |
| 15620 | esac |
| 15621 | |
| 15622 | if test yes = "$GCC"; then |
| 15623 | case $host_os in aix4.[012]|aix4.[012].*) |
| 15624 | # We only want to do this on AIX 4.2 and lower, the check |
| 15625 | # below for broken collect2 doesn't work under 4.3+ |
| 15626 | collect2name=`$CC -print-prog-name=collect2` |
| 15627 | if test -f "$collect2name" && |
| 15628 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 15629 | then |
| 15630 | # We have reworked collect2 |
| 15631 | : |
| 15632 | else |
| 15633 | # We have old collect2 |
| 15634 | hardcode_direct=unsupported |
| 15635 | # It fails to find uninstalled libraries when the uninstalled |
| 15636 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 15637 | # to unsupported forces relinking |
| 15638 | hardcode_minus_L=yes |
| 15639 | hardcode_libdir_flag_spec='-L$libdir' |
| 15640 | hardcode_libdir_separator= |
| 15641 | fi |
| 15642 | ;; |
| 15643 | esac |
| 15644 | shared_flag='-shared' |
| 15645 | if test yes = "$aix_use_runtimelinking"; then |
| 15646 | shared_flag="$shared_flag "'$wl-G' |
| 15647 | fi |
| 15648 | # Need to ensure runtime linking is disabled for the traditional |
| 15649 | # shared library, or the linker may eventually find shared libraries |
| 15650 | # /with/ Import File - we do not want to mix them. |
| 15651 | shared_flag_aix='-shared' |
| 15652 | shared_flag_svr4='-shared $wl-G' |
| 15653 | else |
| 15654 | # not using gcc |
| 15655 | if test ia64 = "$host_cpu"; then |
| 15656 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 15657 | # chokes on -Wl,-G. The following line is correct: |
| 15658 | shared_flag='-G' |
| 15659 | else |
| 15660 | if test yes = "$aix_use_runtimelinking"; then |
| 15661 | shared_flag='$wl-G' |
| 15662 | else |
| 15663 | shared_flag='$wl-bM:SRE' |
| 15664 | fi |
| 15665 | shared_flag_aix='$wl-bM:SRE' |
| 15666 | shared_flag_svr4='$wl-G' |
| 15667 | fi |
| 15668 | fi |
| 15669 | |
| 15670 | export_dynamic_flag_spec='$wl-bexpall' |
| 15671 | # It seems that -bexpall does not export symbols beginning with |
| 15672 | # underscore (_), so it is better to generate a list of symbols to export. |
| 15673 | always_export_symbols=yes |
| 15674 | if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 15675 | # Warning - without using the other runtime loading flags (-brtl), |
| 15676 | # -berok will link without error, but may produce a broken library. |
| 15677 | allow_undefined_flag='-berok' |
| 15678 | # Determine the default libpath from the value encoded in an |
| 15679 | # empty executable. |
| 15680 | if test set = "${lt_cv_aix_libpath+set}"; then |
| 15681 | aix_libpath=$lt_cv_aix_libpath |
| 15682 | else |
| 15683 | if test ${lt_cv_aix_libpath_+y} |
| 15684 | then : |
| 15685 | printf %s "(cached) " >&6 |
| 15686 | else case e in #( |
| 15687 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15688 | /* end confdefs.h. */ |
| 15689 | |
| 15690 | int |
| 15691 | main (void) |
| 15692 | { |
| 15693 | |
| 15694 | ; |
| 15695 | return 0; |
| 15696 | } |
| 15697 | _ACEOF |
| 15698 | if ac_fn_c_try_link "$LINENO" |
| 15699 | then : |
| 15700 | |
| 15701 | lt_aix_libpath_sed=' |
| 15702 | /Import File Strings/,/^$/ { |
| 15703 | /^0/ { |
| 15704 | s/^0 *\([^ ]*\) *$/\1/ |
| 15705 | p |
| 15706 | } |
| 15707 | }' |
| 15708 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 15709 | # Check for a 64-bit object if we didn't find anything. |
| 15710 | if test -z "$lt_cv_aix_libpath_"; then |
| 15711 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 15712 | fi |
| 15713 | fi |
| 15714 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15715 | conftest$ac_exeext conftest.$ac_ext |
| 15716 | if test -z "$lt_cv_aix_libpath_"; then |
| 15717 | lt_cv_aix_libpath_=/usr/lib:/lib |
| 15718 | fi |
| 15719 | ;; |
| 15720 | esac |
| 15721 | fi |
| 15722 | |
| 15723 | aix_libpath=$lt_cv_aix_libpath_ |
| 15724 | fi |
| 15725 | |
| 15726 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 15727 | archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
| 15728 | else |
| 15729 | if test ia64 = "$host_cpu"; then |
| 15730 | hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
| 15731 | allow_undefined_flag="-z nodefs" |
| 15732 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 15733 | else |
| 15734 | # Determine the default libpath from the value encoded in an |
| 15735 | # empty executable. |
| 15736 | if test set = "${lt_cv_aix_libpath+set}"; then |
| 15737 | aix_libpath=$lt_cv_aix_libpath |
| 15738 | else |
| 15739 | if test ${lt_cv_aix_libpath_+y} |
| 15740 | then : |
| 15741 | printf %s "(cached) " >&6 |
| 15742 | else case e in #( |
| 15743 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15744 | /* end confdefs.h. */ |
| 15745 | |
| 15746 | int |
| 15747 | main (void) |
| 15748 | { |
| 15749 | |
| 15750 | ; |
| 15751 | return 0; |
| 15752 | } |
| 15753 | _ACEOF |
| 15754 | if ac_fn_c_try_link "$LINENO" |
| 15755 | then : |
| 15756 | |
| 15757 | lt_aix_libpath_sed=' |
| 15758 | /Import File Strings/,/^$/ { |
| 15759 | /^0/ { |
| 15760 | s/^0 *\([^ ]*\) *$/\1/ |
| 15761 | p |
| 15762 | } |
| 15763 | }' |
| 15764 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 15765 | # Check for a 64-bit object if we didn't find anything. |
| 15766 | if test -z "$lt_cv_aix_libpath_"; then |
| 15767 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 15768 | fi |
| 15769 | fi |
| 15770 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15771 | conftest$ac_exeext conftest.$ac_ext |
| 15772 | if test -z "$lt_cv_aix_libpath_"; then |
| 15773 | lt_cv_aix_libpath_=/usr/lib:/lib |
| 15774 | fi |
| 15775 | ;; |
| 15776 | esac |
| 15777 | fi |
| 15778 | |
| 15779 | aix_libpath=$lt_cv_aix_libpath_ |
| 15780 | fi |
| 15781 | |
| 15782 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 15783 | # Warning - without using the other run time loading flags, |
| 15784 | # -berok will link without error, but may produce a broken library. |
| 15785 | no_undefined_flag=' $wl-bernotok' |
| 15786 | allow_undefined_flag=' $wl-berok' |
| 15787 | if test yes = "$with_gnu_ld"; then |
| 15788 | # We only use this code for GNU lds that support --whole-archive. |
| 15789 | whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 15790 | else |
| 15791 | # Exported symbols can be pulled into shared objects from archives |
| 15792 | whole_archive_flag_spec='$convenience' |
| 15793 | fi |
| 15794 | archive_cmds_need_lc=yes |
| 15795 | archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 15796 | # -brtl affects multiple linker settings, -berok does not and is overridden later |
| 15797 | compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 15798 | if test svr4 != "$with_aix_soname"; then |
| 15799 | # This is similar to how AIX traditionally builds its shared libraries. |
| 15800 | archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
| 15801 | fi |
| 15802 | if test aix != "$with_aix_soname"; then |
| 15803 | archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
| 15804 | else |
| 15805 | # used by -dlpreopen to get the symbols |
| 15806 | archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 15807 | fi |
| 15808 | archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
| 15809 | fi |
| 15810 | fi |
| 15811 | ;; |
| 15812 | |
| 15813 | amigaos*) |
| 15814 | case $host_cpu in |
| 15815 | powerpc) |
| 15816 | # see comment about AmigaOS4 .so support |
| 15817 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15818 | archive_expsym_cmds='' |
| 15819 | ;; |
| 15820 | m68k) |
| 15821 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
| 15822 | hardcode_libdir_flag_spec='-L$libdir' |
| 15823 | hardcode_minus_L=yes |
| 15824 | ;; |
| 15825 | esac |
| 15826 | ;; |
| 15827 | |
| 15828 | bsdi[45]*) |
| 15829 | export_dynamic_flag_spec=-rdynamic |
| 15830 | ;; |
| 15831 | |
| 15832 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 15833 | # When not using gcc, we currently assume that we are using |
| 15834 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 15835 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 15836 | # no search path for DLLs. |
| 15837 | case $cc_basename in |
| 15838 | cl* | icl*) |
| 15839 | # Native MSVC or ICC |
| 15840 | hardcode_libdir_flag_spec=' ' |
| 15841 | allow_undefined_flag=unsupported |
| 15842 | always_export_symbols=yes |
| 15843 | file_list_spec='@' |
| 15844 | # Tell ltmain to make .lib files, not .a files. |
| 15845 | libext=lib |
| 15846 | # Tell ltmain to make .dll files, not .so files. |
| 15847 | shrext_cmds=.dll |
| 15848 | # FIXME: Setting linknames here is a bad hack. |
| 15849 | archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 15850 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 15851 | cp "$export_symbols" "$output_objdir/$soname.def"; |
| 15852 | echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 15853 | else |
| 15854 | $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 15855 | fi~ |
| 15856 | $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 15857 | linknames=' |
| 15858 | # The linker will not automatically build a static lib if we build a DLL. |
| 15859 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 15860 | enable_shared_with_static_runtimes=yes |
| 15861 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 15862 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 15863 | # Don't use ranlib |
| 15864 | old_postinstall_cmds='chmod 644 $oldlib' |
| 15865 | postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 15866 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 15867 | case $lt_outputfile in |
| 15868 | *.exe|*.EXE) ;; |
| 15869 | *) |
| 15870 | lt_outputfile=$lt_outputfile.exe |
| 15871 | lt_tool_outputfile=$lt_tool_outputfile.exe |
| 15872 | ;; |
| 15873 | esac~ |
| 15874 | if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 15875 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 15876 | $RM "$lt_outputfile.manifest"; |
| 15877 | fi' |
| 15878 | ;; |
| 15879 | *) |
| 15880 | # Assume MSVC and ICC wrapper |
| 15881 | hardcode_libdir_flag_spec=' ' |
| 15882 | allow_undefined_flag=unsupported |
| 15883 | # Tell ltmain to make .lib files, not .a files. |
| 15884 | libext=lib |
| 15885 | # Tell ltmain to make .dll files, not .so files. |
| 15886 | shrext_cmds=.dll |
| 15887 | # FIXME: Setting linknames here is a bad hack. |
| 15888 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 15889 | # The linker will automatically build a .lib file if we build a DLL. |
| 15890 | old_archive_from_new_cmds='true' |
| 15891 | # FIXME: Should let the user specify the lib program. |
| 15892 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 15893 | enable_shared_with_static_runtimes=yes |
| 15894 | ;; |
| 15895 | esac |
| 15896 | ;; |
| 15897 | |
| 15898 | darwin* | rhapsody*) |
| 15899 | |
| 15900 | |
| 15901 | archive_cmds_need_lc=no |
| 15902 | hardcode_direct=no |
| 15903 | hardcode_automatic=yes |
| 15904 | hardcode_shlibpath_var=unsupported |
| 15905 | if test yes = "$lt_cv_ld_force_load"; then |
| 15906 | whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 15907 | |
| 15908 | else |
| 15909 | whole_archive_flag_spec='' |
| 15910 | fi |
| 15911 | link_all_deplibs=yes |
| 15912 | allow_undefined_flag=$_lt_dar_allow_undefined |
| 15913 | case $cc_basename in |
| 15914 | ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 15915 | *) _lt_dar_can_shared=$GCC ;; |
| 15916 | esac |
| 15917 | if test yes = "$_lt_dar_can_shared"; then |
| 15918 | output_verbose_link_cmd=func_echo_all |
| 15919 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 15920 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 15921 | archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
| 15922 | 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" |
| 15923 | |
| 15924 | else |
| 15925 | ld_shlibs=no |
| 15926 | fi |
| 15927 | |
| 15928 | ;; |
| 15929 | |
| 15930 | dgux*) |
| 15931 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15932 | hardcode_libdir_flag_spec='-L$libdir' |
| 15933 | hardcode_shlibpath_var=no |
| 15934 | ;; |
| 15935 | |
| 15936 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 15937 | # support. Future versions do this automatically, but an explicit c++rt0.o |
| 15938 | # does not break anything, and helps significantly (at the cost of a little |
| 15939 | # extra space). |
| 15940 | freebsd2.2*) |
| 15941 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 15942 | hardcode_libdir_flag_spec='-R$libdir' |
| 15943 | hardcode_direct=yes |
| 15944 | hardcode_shlibpath_var=no |
| 15945 | ;; |
| 15946 | |
| 15947 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 15948 | freebsd2.*) |
| 15949 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 15950 | hardcode_direct=yes |
| 15951 | hardcode_minus_L=yes |
| 15952 | hardcode_shlibpath_var=no |
| 15953 | ;; |
| 15954 | |
| 15955 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 15956 | freebsd* | dragonfly* | midnightbsd*) |
| 15957 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 15958 | hardcode_libdir_flag_spec='-R$libdir' |
| 15959 | hardcode_direct=yes |
| 15960 | hardcode_shlibpath_var=no |
| 15961 | ;; |
| 15962 | |
| 15963 | hpux9*) |
| 15964 | if test yes = "$GCC"; then |
| 15965 | archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 15966 | else |
| 15967 | archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 15968 | fi |
| 15969 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 15970 | hardcode_libdir_separator=: |
| 15971 | hardcode_direct=yes |
| 15972 | |
| 15973 | # hardcode_minus_L: Not really in the search PATH, |
| 15974 | # but as the default location of the library. |
| 15975 | hardcode_minus_L=yes |
| 15976 | export_dynamic_flag_spec='$wl-E' |
| 15977 | ;; |
| 15978 | |
| 15979 | hpux10*) |
| 15980 | if test yes,no = "$GCC,$with_gnu_ld"; then |
| 15981 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 15982 | else |
| 15983 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 15984 | fi |
| 15985 | if test no = "$with_gnu_ld"; then |
| 15986 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 15987 | hardcode_libdir_separator=: |
| 15988 | hardcode_direct=yes |
| 15989 | hardcode_direct_absolute=yes |
| 15990 | export_dynamic_flag_spec='$wl-E' |
| 15991 | # hardcode_minus_L: Not really in the search PATH, |
| 15992 | # but as the default location of the library. |
| 15993 | hardcode_minus_L=yes |
| 15994 | fi |
| 15995 | ;; |
| 15996 | |
| 15997 | hpux11*) |
| 15998 | if test yes,no = "$GCC,$with_gnu_ld"; then |
| 15999 | case $host_cpu in |
| 16000 | hppa*64*) |
| 16001 | archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16002 | ;; |
| 16003 | ia64*) |
| 16004 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16005 | ;; |
| 16006 | *) |
| 16007 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16008 | ;; |
| 16009 | esac |
| 16010 | else |
| 16011 | case $host_cpu in |
| 16012 | hppa*64*) |
| 16013 | archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16014 | ;; |
| 16015 | ia64*) |
| 16016 | archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16017 | ;; |
| 16018 | *) |
| 16019 | |
| 16020 | # Older versions of the 11.00 compiler do not understand -b yet |
| 16021 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 16022 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 16023 | printf %s "checking if $CC understands -b... " >&6; } |
| 16024 | if test ${lt_cv_prog_compiler__b+y} |
| 16025 | then : |
| 16026 | printf %s "(cached) " >&6 |
| 16027 | else case e in #( |
| 16028 | e) lt_cv_prog_compiler__b=no |
| 16029 | save_LDFLAGS=$LDFLAGS |
| 16030 | LDFLAGS="$LDFLAGS -b" |
| 16031 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 16032 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 16033 | # The linker can only warn and ignore the option if not recognized |
| 16034 | # So say no if there are warnings |
| 16035 | if test -s conftest.err; then |
| 16036 | # Append any errors to the config.log. |
| 16037 | cat conftest.err 1>&5 |
| 16038 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 16039 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 16040 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 16041 | lt_cv_prog_compiler__b=yes |
| 16042 | fi |
| 16043 | else |
| 16044 | lt_cv_prog_compiler__b=yes |
| 16045 | fi |
| 16046 | fi |
| 16047 | $RM -r conftest* |
| 16048 | LDFLAGS=$save_LDFLAGS |
| 16049 | ;; |
| 16050 | esac |
| 16051 | fi |
| 16052 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 16053 | printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 16054 | |
| 16055 | if test yes = "$lt_cv_prog_compiler__b"; then |
| 16056 | archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16057 | else |
| 16058 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 16059 | fi |
| 16060 | |
| 16061 | ;; |
| 16062 | esac |
| 16063 | fi |
| 16064 | if test no = "$with_gnu_ld"; then |
| 16065 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 16066 | hardcode_libdir_separator=: |
| 16067 | |
| 16068 | case $host_cpu in |
| 16069 | hppa*64*|ia64*) |
| 16070 | hardcode_direct=no |
| 16071 | hardcode_shlibpath_var=no |
| 16072 | ;; |
| 16073 | *) |
| 16074 | hardcode_direct=yes |
| 16075 | hardcode_direct_absolute=yes |
| 16076 | export_dynamic_flag_spec='$wl-E' |
| 16077 | |
| 16078 | # hardcode_minus_L: Not really in the search PATH, |
| 16079 | # but as the default location of the library. |
| 16080 | hardcode_minus_L=yes |
| 16081 | ;; |
| 16082 | esac |
| 16083 | fi |
| 16084 | ;; |
| 16085 | |
| 16086 | irix5* | irix6* | nonstopux*) |
| 16087 | if test yes = "$GCC"; then |
| 16088 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 16089 | # Try to use the -exported_symbol ld option, if it does not |
| 16090 | # work, assume that -exports_file does not work either and |
| 16091 | # implicitly export all symbols. |
| 16092 | # This should be the same for all languages, so no per-tag cache variable. |
| 16093 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 16094 | printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 16095 | if test ${lt_cv_irix_exported_symbol+y} |
| 16096 | then : |
| 16097 | printf %s "(cached) " >&6 |
| 16098 | else case e in #( |
| 16099 | e) save_LDFLAGS=$LDFLAGS |
| 16100 | LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 16101 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16102 | /* end confdefs.h. */ |
| 16103 | int foo (void) { return 0; } |
| 16104 | _ACEOF |
| 16105 | if ac_fn_c_try_link "$LINENO" |
| 16106 | then : |
| 16107 | lt_cv_irix_exported_symbol=yes |
| 16108 | else case e in #( |
| 16109 | e) lt_cv_irix_exported_symbol=no ;; |
| 16110 | esac |
| 16111 | fi |
| 16112 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16113 | conftest$ac_exeext conftest.$ac_ext |
| 16114 | LDFLAGS=$save_LDFLAGS ;; |
| 16115 | esac |
| 16116 | fi |
| 16117 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 16118 | printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 16119 | if test yes = "$lt_cv_irix_exported_symbol"; then |
| 16120 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
| 16121 | fi |
| 16122 | else |
| 16123 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 16124 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
| 16125 | fi |
| 16126 | archive_cmds_need_lc='no' |
| 16127 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16128 | hardcode_libdir_separator=: |
| 16129 | inherit_rpath=yes |
| 16130 | link_all_deplibs=yes |
| 16131 | ;; |
| 16132 | |
| 16133 | linux*) |
| 16134 | case $cc_basename in |
| 16135 | tcc*) |
| 16136 | # Fabrice Bellard et al's Tiny C Compiler |
| 16137 | ld_shlibs=yes |
| 16138 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16139 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16140 | ;; |
| 16141 | esac |
| 16142 | ;; |
| 16143 | |
| 16144 | *-mlibc) |
| 16145 | ;; |
| 16146 | |
| 16147 | netbsd* | netbsdelf*-gnu) |
| 16148 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 16149 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 16150 | else |
| 16151 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 16152 | fi |
| 16153 | hardcode_libdir_flag_spec='-R$libdir' |
| 16154 | hardcode_direct=yes |
| 16155 | hardcode_shlibpath_var=no |
| 16156 | ;; |
| 16157 | |
| 16158 | newsos6) |
| 16159 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16160 | hardcode_direct=yes |
| 16161 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16162 | hardcode_libdir_separator=: |
| 16163 | hardcode_shlibpath_var=no |
| 16164 | ;; |
| 16165 | |
| 16166 | *nto* | *qnx*) |
| 16167 | ;; |
| 16168 | |
| 16169 | openbsd*) |
| 16170 | if test -f /usr/libexec/ld.so; then |
| 16171 | hardcode_direct=yes |
| 16172 | hardcode_shlibpath_var=no |
| 16173 | hardcode_direct_absolute=yes |
| 16174 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 16175 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16176 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 16177 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 16178 | export_dynamic_flag_spec='$wl-E' |
| 16179 | else |
| 16180 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16181 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 16182 | fi |
| 16183 | else |
| 16184 | ld_shlibs=no |
| 16185 | fi |
| 16186 | ;; |
| 16187 | |
| 16188 | os2*) |
| 16189 | hardcode_libdir_flag_spec='-L$libdir' |
| 16190 | hardcode_minus_L=yes |
| 16191 | allow_undefined_flag=unsupported |
| 16192 | shrext_cmds=.dll |
| 16193 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16194 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16195 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16196 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16197 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 16198 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16199 | emximp -o $lib $output_objdir/$libname.def' |
| 16200 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16201 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16202 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16203 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16204 | prefix_cmds="$SED"~ |
| 16205 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 16206 | prefix_cmds="$prefix_cmds -e 1d"; |
| 16207 | fi~ |
| 16208 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 16209 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 16210 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16211 | emximp -o $lib $output_objdir/$libname.def' |
| 16212 | old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 16213 | enable_shared_with_static_runtimes=yes |
| 16214 | file_list_spec='@' |
| 16215 | ;; |
| 16216 | |
| 16217 | osf3*) |
| 16218 | if test yes = "$GCC"; then |
| 16219 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 16220 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 16221 | else |
| 16222 | allow_undefined_flag=' -expect_unresolved \*' |
| 16223 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 16224 | fi |
| 16225 | archive_cmds_need_lc='no' |
| 16226 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16227 | hardcode_libdir_separator=: |
| 16228 | ;; |
| 16229 | |
| 16230 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 16231 | if test yes = "$GCC"; then |
| 16232 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 16233 | archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 16234 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16235 | else |
| 16236 | allow_undefined_flag=' -expect_unresolved \*' |
| 16237 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 16238 | 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~ |
| 16239 | $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' |
| 16240 | |
| 16241 | # Both c and cxx compiler support -rpath directly |
| 16242 | hardcode_libdir_flag_spec='-rpath $libdir' |
| 16243 | fi |
| 16244 | archive_cmds_need_lc='no' |
| 16245 | hardcode_libdir_separator=: |
| 16246 | ;; |
| 16247 | |
| 16248 | serenity*) |
| 16249 | ;; |
| 16250 | |
| 16251 | solaris*) |
| 16252 | no_undefined_flag=' -z defs' |
| 16253 | if test yes = "$GCC"; then |
| 16254 | wlarc='$wl' |
| 16255 | archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16256 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16257 | $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' |
| 16258 | else |
| 16259 | case `$CC -V 2>&1` in |
| 16260 | *"Compilers 5.0"*) |
| 16261 | wlarc='' |
| 16262 | archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16263 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16264 | $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 16265 | ;; |
| 16266 | *) |
| 16267 | wlarc='$wl' |
| 16268 | archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16269 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16270 | $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 16271 | ;; |
| 16272 | esac |
| 16273 | fi |
| 16274 | hardcode_libdir_flag_spec='-R$libdir' |
| 16275 | hardcode_shlibpath_var=no |
| 16276 | case $host_os in |
| 16277 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 16278 | *) |
| 16279 | # The compiler driver will combine and reorder linker options, |
| 16280 | # but understands '-z linker_flag'. GCC discards it without '$wl', |
| 16281 | # but is careful enough not to reorder. |
| 16282 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 16283 | if test yes = "$GCC"; then |
| 16284 | whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 16285 | else |
| 16286 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 16287 | fi |
| 16288 | ;; |
| 16289 | esac |
| 16290 | link_all_deplibs=yes |
| 16291 | ;; |
| 16292 | |
| 16293 | sunos4*) |
| 16294 | if test sequent = "$host_vendor"; then |
| 16295 | # Use $CC to link under sequent, because it throws in some extra .o |
| 16296 | # files that make .init and .fini sections work. |
| 16297 | archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16298 | else |
| 16299 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 16300 | fi |
| 16301 | hardcode_libdir_flag_spec='-L$libdir' |
| 16302 | hardcode_direct=yes |
| 16303 | hardcode_minus_L=yes |
| 16304 | hardcode_shlibpath_var=no |
| 16305 | ;; |
| 16306 | |
| 16307 | sysv4) |
| 16308 | case $host_vendor in |
| 16309 | sni) |
| 16310 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16311 | hardcode_direct=yes # is this really true??? |
| 16312 | ;; |
| 16313 | siemens) |
| 16314 | ## LD is ld it makes a PLAMLIB |
| 16315 | ## CC just makes a GrossModule. |
| 16316 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 16317 | reload_cmds='$CC -r -o $output$reload_objs' |
| 16318 | hardcode_direct=no |
| 16319 | ;; |
| 16320 | motorola) |
| 16321 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16322 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
| 16323 | ;; |
| 16324 | esac |
| 16325 | runpath_var='LD_RUN_PATH' |
| 16326 | hardcode_shlibpath_var=no |
| 16327 | ;; |
| 16328 | |
| 16329 | sysv4.3*) |
| 16330 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16331 | hardcode_shlibpath_var=no |
| 16332 | export_dynamic_flag_spec='-Bexport' |
| 16333 | ;; |
| 16334 | |
| 16335 | sysv4*MP*) |
| 16336 | if test -d /usr/nec; then |
| 16337 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16338 | hardcode_shlibpath_var=no |
| 16339 | runpath_var=LD_RUN_PATH |
| 16340 | hardcode_runpath_var=yes |
| 16341 | ld_shlibs=yes |
| 16342 | fi |
| 16343 | ;; |
| 16344 | |
| 16345 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 16346 | no_undefined_flag='$wl-z,text' |
| 16347 | archive_cmds_need_lc=no |
| 16348 | hardcode_shlibpath_var=no |
| 16349 | runpath_var='LD_RUN_PATH' |
| 16350 | |
| 16351 | if test yes = "$GCC"; then |
| 16352 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16353 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16354 | else |
| 16355 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16356 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16357 | fi |
| 16358 | ;; |
| 16359 | |
| 16360 | sysv5* | sco3.2v5* | sco5v6*) |
| 16361 | # Note: We CANNOT use -z defs as we might desire, because we do not |
| 16362 | # link with -lc, and that would cause any symbols used from libc to |
| 16363 | # always be unresolved, which means just about no library would |
| 16364 | # ever link correctly. If we're not using GNU ld we use -z text |
| 16365 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 16366 | # as -z defs. |
| 16367 | no_undefined_flag='$wl-z,text' |
| 16368 | allow_undefined_flag='$wl-z,nodefs' |
| 16369 | archive_cmds_need_lc=no |
| 16370 | hardcode_shlibpath_var=no |
| 16371 | hardcode_libdir_flag_spec='$wl-R,$libdir' |
| 16372 | hardcode_libdir_separator=':' |
| 16373 | link_all_deplibs=yes |
| 16374 | export_dynamic_flag_spec='$wl-Bexport' |
| 16375 | runpath_var='LD_RUN_PATH' |
| 16376 | |
| 16377 | if test yes = "$GCC"; then |
| 16378 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16379 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16380 | else |
| 16381 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16382 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16383 | fi |
| 16384 | ;; |
| 16385 | |
| 16386 | uts4*) |
| 16387 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16388 | hardcode_libdir_flag_spec='-L$libdir' |
| 16389 | hardcode_shlibpath_var=no |
| 16390 | ;; |
| 16391 | |
| 16392 | *) |
| 16393 | ld_shlibs=no |
| 16394 | ;; |
| 16395 | esac |
| 16396 | |
| 16397 | if test sni = "$host_vendor"; then |
| 16398 | case $host in |
| 16399 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 16400 | export_dynamic_flag_spec='$wl-Blargedynsym' |
| 16401 | ;; |
| 16402 | esac |
| 16403 | fi |
| 16404 | fi |
| 16405 | |
| 16406 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 16407 | printf "%s\n" "$ld_shlibs" >&6; } |
| 16408 | test no = "$ld_shlibs" && can_build_shared=no |
| 16409 | |
| 16410 | with_gnu_ld=$with_gnu_ld |
| 16411 | |
| 16412 | |
| 16413 | |
| 16414 | |
| 16415 | |
| 16416 | |
| 16417 | |
| 16418 | |
| 16419 | |
| 16420 | |
| 16421 | |
| 16422 | |
| 16423 | |
| 16424 | |
| 16425 | |
| 16426 | # |
| 16427 | # Do we need to explicitly link libc? |
| 16428 | # |
| 16429 | case "x$archive_cmds_need_lc" in |
| 16430 | x|xyes) |
| 16431 | # Assume -lc should be added |
| 16432 | archive_cmds_need_lc=yes |
| 16433 | |
| 16434 | if test yes,yes = "$GCC,$enable_shared"; then |
| 16435 | case $archive_cmds in |
| 16436 | *'~'*) |
| 16437 | # FIXME: we may have to deal with multi-command sequences. |
| 16438 | ;; |
| 16439 | '$CC '*) |
| 16440 | # Test whether the compiler implicitly links with -lc since on some |
| 16441 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 16442 | # to ld, don't add -lc before -lgcc. |
| 16443 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 16444 | printf %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 16445 | if test ${lt_cv_archive_cmds_need_lc+y} |
| 16446 | then : |
| 16447 | printf %s "(cached) " >&6 |
| 16448 | else case e in #( |
| 16449 | e) $RM conftest* |
| 16450 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 16451 | |
| 16452 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 16453 | (eval $ac_compile) 2>&5 |
| 16454 | ac_status=$? |
| 16455 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16456 | test $ac_status = 0; } 2>conftest.err; then |
| 16457 | soname=conftest |
| 16458 | lib=conftest |
| 16459 | libobjs=conftest.$ac_objext |
| 16460 | deplibs= |
| 16461 | wl=$lt_prog_compiler_wl |
| 16462 | pic_flag=$lt_prog_compiler_pic |
| 16463 | compiler_flags=-v |
| 16464 | linker_flags=-v |
| 16465 | verstring= |
| 16466 | output_objdir=. |
| 16467 | libname=conftest |
| 16468 | lt_save_allow_undefined_flag=$allow_undefined_flag |
| 16469 | allow_undefined_flag= |
| 16470 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 16471 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 16472 | ac_status=$? |
| 16473 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16474 | test $ac_status = 0; } |
| 16475 | then |
| 16476 | lt_cv_archive_cmds_need_lc=no |
| 16477 | else |
| 16478 | lt_cv_archive_cmds_need_lc=yes |
| 16479 | fi |
| 16480 | allow_undefined_flag=$lt_save_allow_undefined_flag |
| 16481 | else |
| 16482 | cat conftest.err 1>&5 |
| 16483 | fi |
| 16484 | $RM conftest* |
| 16485 | ;; |
| 16486 | esac |
| 16487 | fi |
| 16488 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 16489 | printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 16490 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 16491 | ;; |
| 16492 | esac |
| 16493 | fi |
| 16494 | ;; |
| 16495 | esac |
| 16496 | |
| 16497 | |
| 16498 | |
| 16499 | |
| 16500 | |
| 16501 | |
| 16502 | |
| 16503 | |
| 16504 | |
| 16505 | |
| 16506 | |
| 16507 | |
| 16508 | |
| 16509 | |
| 16510 | |
| 16511 | |
| 16512 | |
| 16513 | |
| 16514 | |
| 16515 | |
| 16516 | |
| 16517 | |
| 16518 | |
| 16519 | |
| 16520 | |
| 16521 | |
| 16522 | |
| 16523 | |
| 16524 | |
| 16525 | |
| 16526 | |
| 16527 | |
| 16528 | |
| 16529 | |
| 16530 | |
| 16531 | |
| 16532 | |
| 16533 | |
| 16534 | |
| 16535 | |
| 16536 | |
| 16537 | |
| 16538 | |
| 16539 | |
| 16540 | |
| 16541 | |
| 16542 | |
| 16543 | |
| 16544 | |
| 16545 | |
| 16546 | |
| 16547 | |
| 16548 | |
| 16549 | |
| 16550 | |
| 16551 | |
| 16552 | |
| 16553 | |
| 16554 | |
| 16555 | |
| 16556 | |
| 16557 | |
| 16558 | |
| 16559 | |
| 16560 | |
| 16561 | |
| 16562 | |
| 16563 | |
| 16564 | |
| 16565 | |
| 16566 | |
| 16567 | |
| 16568 | |
| 16569 | |
| 16570 | |
| 16571 | |
| 16572 | |
| 16573 | |
| 16574 | |
| 16575 | |
| 16576 | |
| 16577 | |
| 16578 | |
| 16579 | |
| 16580 | |
| 16581 | |
| 16582 | |
| 16583 | |
| 16584 | |
| 16585 | |
| 16586 | |
| 16587 | |
| 16588 | |
| 16589 | |
| 16590 | |
| 16591 | |
| 16592 | |
| 16593 | |
| 16594 | |
| 16595 | |
| 16596 | |
| 16597 | |
| 16598 | |
| 16599 | |
| 16600 | |
| 16601 | |
| 16602 | |
| 16603 | |
| 16604 | |
| 16605 | |
| 16606 | |
| 16607 | |
| 16608 | |
| 16609 | |
| 16610 | |
| 16611 | |
| 16612 | |
| 16613 | |
| 16614 | |
| 16615 | |
| 16616 | |
| 16617 | |
| 16618 | |
| 16619 | |
| 16620 | |
| 16621 | |
| 16622 | |
| 16623 | |
| 16624 | |
| 16625 | |
| 16626 | |
| 16627 | |
| 16628 | |
| 16629 | |
| 16630 | |
| 16631 | |
| 16632 | |
| 16633 | |
| 16634 | |
| 16635 | |
| 16636 | |
| 16637 | |
| 16638 | |
| 16639 | |
| 16640 | |
| 16641 | |
| 16642 | |
| 16643 | |
| 16644 | |
| 16645 | |
| 16646 | |
| 16647 | |
| 16648 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 16649 | printf %s "checking dynamic linker characteristics... " >&6; } |
| 16650 | |
| 16651 | if test yes = "$GCC"; then |
| 16652 | case $host_os in |
| 16653 | darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
| 16654 | *) lt_awk_arg='/^libraries:/' ;; |
| 16655 | esac |
| 16656 | case $host_os in |
| 16657 | mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
| 16658 | *) lt_sed_strip_eq='s|=/|/|g' ;; |
| 16659 | esac |
| 16660 | lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 16661 | case $lt_search_path_spec in |
| 16662 | *\;*) |
| 16663 | # if the path contains ";" then we assume it to be the separator |
| 16664 | # otherwise default to the standard path separator (i.e. ":") - it is |
| 16665 | # assumed that no part of a normal pathname contains ";" but that should |
| 16666 | # okay in the real world where ";" in dirpaths is itself problematic. |
| 16667 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 16668 | ;; |
| 16669 | *) |
| 16670 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 16671 | ;; |
| 16672 | esac |
| 16673 | # Ok, now we have the path, separated by spaces, we can step through it |
| 16674 | # and add multilib dir if necessary... |
| 16675 | lt_tmp_lt_search_path_spec= |
| 16676 | lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
| 16677 | # ...but if some path component already ends with the multilib dir we assume |
| 16678 | # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 16679 | case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 16680 | "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 16681 | lt_multi_os_dir= |
| 16682 | ;; |
| 16683 | esac |
| 16684 | for lt_sys_path in $lt_search_path_spec; do |
| 16685 | if test -d "$lt_sys_path$lt_multi_os_dir"; then |
| 16686 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
| 16687 | elif test -n "$lt_multi_os_dir"; then |
| 16688 | test -d "$lt_sys_path" && \ |
| 16689 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 16690 | fi |
| 16691 | done |
| 16692 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 16693 | BEGIN {RS = " "; FS = "/|\n";} { |
| 16694 | lt_foo = ""; |
| 16695 | lt_count = 0; |
| 16696 | for (lt_i = NF; lt_i > 0; lt_i--) { |
| 16697 | if ($lt_i != "" && $lt_i != ".") { |
| 16698 | if ($lt_i == "..") { |
| 16699 | lt_count++; |
| 16700 | } else { |
| 16701 | if (lt_count == 0) { |
| 16702 | lt_foo = "/" $lt_i lt_foo; |
| 16703 | } else { |
| 16704 | lt_count--; |
| 16705 | } |
| 16706 | } |
| 16707 | } |
| 16708 | } |
| 16709 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 16710 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 16711 | }'` |
| 16712 | # AWK program above erroneously prepends '/' to C:/dos/paths |
| 16713 | # for these hosts. |
| 16714 | case $host_os in |
| 16715 | mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 16716 | $SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
| 16717 | esac |
| 16718 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 16719 | else |
| 16720 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 16721 | fi |
| 16722 | library_names_spec= |
| 16723 | libname_spec='lib$name' |
| 16724 | soname_spec= |
| 16725 | shrext_cmds=.so |
| 16726 | postinstall_cmds= |
| 16727 | postuninstall_cmds= |
| 16728 | finish_cmds= |
| 16729 | finish_eval= |
| 16730 | shlibpath_var= |
| 16731 | shlibpath_overrides_runpath=unknown |
| 16732 | version_type=none |
| 16733 | dynamic_linker="$host_os ld.so" |
| 16734 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 16735 | need_lib_prefix=unknown |
| 16736 | hardcode_into_libs=no |
| 16737 | |
| 16738 | # when you set need_version to no, make sure it does not cause -set_version |
| 16739 | # flags to be left without arguments |
| 16740 | need_version=unknown |
| 16741 | |
| 16742 | |
| 16743 | |
| 16744 | case $host_os in |
| 16745 | aix3*) |
| 16746 | version_type=linux # correct to gnu/linux during the next big refactor |
| 16747 | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 16748 | shlibpath_var=LIBPATH |
| 16749 | |
| 16750 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 16751 | soname_spec='$libname$release$shared_ext$major' |
| 16752 | ;; |
| 16753 | |
| 16754 | aix[4-9]*) |
| 16755 | version_type=linux # correct to gnu/linux during the next big refactor |
| 16756 | need_lib_prefix=no |
| 16757 | need_version=no |
| 16758 | hardcode_into_libs=yes |
| 16759 | if test ia64 = "$host_cpu"; then |
| 16760 | # AIX 5 supports IA64 |
| 16761 | library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 16762 | shlibpath_var=LD_LIBRARY_PATH |
| 16763 | else |
| 16764 | # With GCC up to 2.95.x, collect2 would create an import file |
| 16765 | # for dependence libraries. The import file would start with |
| 16766 | # the line '#! .'. This would cause the generated library to |
| 16767 | # depend on '.', always an invalid library. This was fixed in |
| 16768 | # development snapshots of GCC prior to 3.0. |
| 16769 | case $host_os in |
| 16770 | aix4 | aix4.[01] | aix4.[01].*) |
| 16771 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 16772 | echo ' yes ' |
| 16773 | echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
| 16774 | : |
| 16775 | else |
| 16776 | can_build_shared=no |
| 16777 | fi |
| 16778 | ;; |
| 16779 | esac |
| 16780 | # Using Import Files as archive members, it is possible to support |
| 16781 | # filename-based versioning of shared library archives on AIX. While |
| 16782 | # this would work for both with and without runtime linking, it will |
| 16783 | # prevent static linking of such archives. So we do filename-based |
| 16784 | # shared library versioning with .so extension only, which is used |
| 16785 | # when both runtime linking and shared linking is enabled. |
| 16786 | # Unfortunately, runtime linking may impact performance, so we do |
| 16787 | # not want this to be the default eventually. Also, we use the |
| 16788 | # versioned .so libs for executables only if there is the -brtl |
| 16789 | # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. |
| 16790 | # To allow for filename-based versioning support, we need to create |
| 16791 | # libNAME.so.V as an archive file, containing: |
| 16792 | # *) an Import File, referring to the versioned filename of the |
| 16793 | # archive as well as the shared archive member, telling the |
| 16794 | # bitwidth (32 or 64) of that shared object, and providing the |
| 16795 | # list of exported symbols of that shared object, eventually |
| 16796 | # decorated with the 'weak' keyword |
| 16797 | # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 16798 | # it being seen by the linker. |
| 16799 | # At run time we better use the real file rather than another symlink, |
| 16800 | # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 16801 | |
| 16802 | case $with_aix_soname,$aix_use_runtimelinking in |
| 16803 | # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 16804 | # soname into executable. Probably we can add versioning support to |
| 16805 | # collect2, so additional links can be useful in future. |
| 16806 | aix,yes) # traditional libtool |
| 16807 | dynamic_linker='AIX unversionable lib.so' |
| 16808 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 16809 | # instead of lib<name>.a to let people know that these are not |
| 16810 | # typical AIX shared libraries. |
| 16811 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 16812 | ;; |
| 16813 | aix,no) # traditional AIX only |
| 16814 | dynamic_linker='AIX lib.a(lib.so.V)' |
| 16815 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 16816 | # and later when we are not doing run time linking. |
| 16817 | library_names_spec='$libname$release.a $libname.a' |
| 16818 | soname_spec='$libname$release$shared_ext$major' |
| 16819 | ;; |
| 16820 | svr4,*) # full svr4 only |
| 16821 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 16822 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 16823 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 16824 | shlibpath_overrides_runpath=yes |
| 16825 | ;; |
| 16826 | *,yes) # both, prefer svr4 |
| 16827 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 16828 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 16829 | # unpreferred sharedlib libNAME.a needs extra handling |
| 16830 | postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 16831 | postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
| 16832 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 16833 | shlibpath_overrides_runpath=yes |
| 16834 | ;; |
| 16835 | *,no) # both, prefer aix |
| 16836 | dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 16837 | library_names_spec='$libname$release.a $libname.a' |
| 16838 | soname_spec='$libname$release$shared_ext$major' |
| 16839 | # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 16840 | postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 16841 | postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 16842 | ;; |
| 16843 | esac |
| 16844 | shlibpath_var=LIBPATH |
| 16845 | fi |
| 16846 | ;; |
| 16847 | |
| 16848 | amigaos*) |
| 16849 | case $host_cpu in |
| 16850 | powerpc) |
| 16851 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 16852 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 16853 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 16854 | ;; |
| 16855 | m68k) |
| 16856 | library_names_spec='$libname.ixlibrary $libname.a' |
| 16857 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 16858 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 16859 | ;; |
| 16860 | esac |
| 16861 | ;; |
| 16862 | |
| 16863 | beos*) |
| 16864 | library_names_spec='$libname$shared_ext' |
| 16865 | dynamic_linker="$host_os ld.so" |
| 16866 | shlibpath_var=LIBRARY_PATH |
| 16867 | ;; |
| 16868 | |
| 16869 | bsdi[45]*) |
| 16870 | version_type=linux # correct to gnu/linux during the next big refactor |
| 16871 | need_version=no |
| 16872 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 16873 | soname_spec='$libname$release$shared_ext$major' |
| 16874 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 16875 | shlibpath_var=LD_LIBRARY_PATH |
| 16876 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 16877 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 16878 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 16879 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 16880 | # libtool to hard-code these into programs |
| 16881 | ;; |
| 16882 | |
| 16883 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 16884 | version_type=windows |
| 16885 | shrext_cmds=.dll |
| 16886 | need_version=no |
| 16887 | need_lib_prefix=no |
| 16888 | |
| 16889 | case $GCC,$cc_basename in |
| 16890 | yes,*) |
| 16891 | # gcc |
| 16892 | library_names_spec='$libname.dll.a' |
| 16893 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 16894 | # If user builds GCC with multilib enabled, |
| 16895 | # it should just install on $(libdir) |
| 16896 | # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. |
| 16897 | if test xyes = x"$multilib"; then |
| 16898 | postinstall_cmds='base_file=`basename \$file`~ |
| 16899 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 16900 | dldir=$destdir/`dirname \$dlpath`~ |
| 16901 | $install_prog $dir/$dlname $destdir/$dlname~ |
| 16902 | chmod a+x $destdir/$dlname~ |
| 16903 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 16904 | eval '\''$striplib $destdir/$dlname'\'' || exit \$?; |
| 16905 | fi' |
| 16906 | else |
| 16907 | postinstall_cmds='base_file=`basename \$file`~ |
| 16908 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 16909 | dldir=$destdir/`dirname \$dlpath`~ |
| 16910 | test -d \$dldir || mkdir -p \$dldir~ |
| 16911 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 16912 | chmod a+x \$dldir/$dlname~ |
| 16913 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 16914 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 16915 | fi' |
| 16916 | fi |
| 16917 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 16918 | dlpath=$dir/\$dldll~ |
| 16919 | $RM \$dlpath' |
| 16920 | shlibpath_overrides_runpath=yes |
| 16921 | |
| 16922 | case $host_os in |
| 16923 | cygwin*) |
| 16924 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 16925 | soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 16926 | |
| 16927 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 16928 | ;; |
| 16929 | mingw* | windows* | cegcc*) |
| 16930 | # MinGW DLLs use traditional 'lib' prefix |
| 16931 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 16932 | ;; |
| 16933 | pw32*) |
| 16934 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 16935 | library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 16936 | ;; |
| 16937 | esac |
| 16938 | dynamic_linker='Win32 ld.exe' |
| 16939 | ;; |
| 16940 | |
| 16941 | *,cl* | *,icl*) |
| 16942 | # Native MSVC or ICC |
| 16943 | libname_spec='$name' |
| 16944 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 16945 | library_names_spec='$libname.dll.lib' |
| 16946 | |
| 16947 | case $build_os in |
| 16948 | mingw* | windows*) |
| 16949 | sys_lib_search_path_spec= |
| 16950 | lt_save_ifs=$IFS |
| 16951 | IFS=';' |
| 16952 | for lt_path in $LIB |
| 16953 | do |
| 16954 | IFS=$lt_save_ifs |
| 16955 | # Let DOS variable expansion print the short 8.3 style file name. |
| 16956 | lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 16957 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 16958 | done |
| 16959 | IFS=$lt_save_ifs |
| 16960 | # Convert to MSYS style. |
| 16961 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 16962 | ;; |
| 16963 | cygwin*) |
| 16964 | # Convert to unix form, then to dos form, then back to unix form |
| 16965 | # but this time dos style (no spaces!) so that the unix form looks |
| 16966 | # like /cygdrive/c/PROGRA~1:/cygdr... |
| 16967 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 16968 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 16969 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 16970 | ;; |
| 16971 | *) |
| 16972 | sys_lib_search_path_spec=$LIB |
| 16973 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 16974 | # It is most probably a Windows format PATH. |
| 16975 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 16976 | else |
| 16977 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 16978 | fi |
| 16979 | # FIXME: find the short name or the path components, as spaces are |
| 16980 | # common. (e.g. "Program Files" -> "PROGRA~1") |
| 16981 | ;; |
| 16982 | esac |
| 16983 | |
| 16984 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 16985 | postinstall_cmds='base_file=`basename \$file`~ |
| 16986 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 16987 | dldir=$destdir/`dirname \$dlpath`~ |
| 16988 | test -d \$dldir || mkdir -p \$dldir~ |
| 16989 | $install_prog $dir/$dlname \$dldir/$dlname' |
| 16990 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 16991 | dlpath=$dir/\$dldll~ |
| 16992 | $RM \$dlpath' |
| 16993 | shlibpath_overrides_runpath=yes |
| 16994 | dynamic_linker='Win32 link.exe' |
| 16995 | ;; |
| 16996 | |
| 16997 | *) |
| 16998 | # Assume MSVC and ICC wrapper |
| 16999 | library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 17000 | dynamic_linker='Win32 ld.exe' |
| 17001 | ;; |
| 17002 | esac |
| 17003 | # FIXME: first we should search . and the directory the executable is in |
| 17004 | shlibpath_var=PATH |
| 17005 | ;; |
| 17006 | |
| 17007 | darwin* | rhapsody*) |
| 17008 | dynamic_linker="$host_os dyld" |
| 17009 | version_type=darwin |
| 17010 | need_lib_prefix=no |
| 17011 | need_version=no |
| 17012 | library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 17013 | soname_spec='$libname$release$major$shared_ext' |
| 17014 | shlibpath_overrides_runpath=yes |
| 17015 | shlibpath_var=DYLD_LIBRARY_PATH |
| 17016 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 17017 | |
| 17018 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 17019 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 17020 | ;; |
| 17021 | |
| 17022 | dgux*) |
| 17023 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17024 | need_lib_prefix=no |
| 17025 | need_version=no |
| 17026 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17027 | soname_spec='$libname$release$shared_ext$major' |
| 17028 | shlibpath_var=LD_LIBRARY_PATH |
| 17029 | ;; |
| 17030 | |
| 17031 | freebsd* | dragonfly* | midnightbsd*) |
| 17032 | # DragonFly does not have aout. When/if they implement a new |
| 17033 | # versioning mechanism, adjust this. |
| 17034 | if test -x /usr/bin/objformat; then |
| 17035 | objformat=`/usr/bin/objformat` |
| 17036 | else |
| 17037 | case $host_os in |
| 17038 | freebsd[23].*) objformat=aout ;; |
| 17039 | *) objformat=elf ;; |
| 17040 | esac |
| 17041 | fi |
| 17042 | version_type=freebsd-$objformat |
| 17043 | case $version_type in |
| 17044 | freebsd-elf*) |
| 17045 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17046 | soname_spec='$libname$release$shared_ext$major' |
| 17047 | need_version=no |
| 17048 | need_lib_prefix=no |
| 17049 | ;; |
| 17050 | freebsd-*) |
| 17051 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 17052 | need_version=yes |
| 17053 | ;; |
| 17054 | esac |
| 17055 | case $host_cpu in |
| 17056 | powerpc64) |
| 17057 | # On FreeBSD bi-arch platforms, a different variable is used for 32-bit |
| 17058 | # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. |
| 17059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17060 | /* end confdefs.h. */ |
| 17061 | int test_pointer_size[sizeof (void *) - 5]; |
| 17062 | |
| 17063 | _ACEOF |
| 17064 | if ac_fn_c_try_compile "$LINENO" |
| 17065 | then : |
| 17066 | shlibpath_var=LD_LIBRARY_PATH |
| 17067 | else case e in #( |
| 17068 | e) shlibpath_var=LD_32_LIBRARY_PATH ;; |
| 17069 | esac |
| 17070 | fi |
| 17071 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17072 | ;; |
| 17073 | *) |
| 17074 | shlibpath_var=LD_LIBRARY_PATH |
| 17075 | ;; |
| 17076 | esac |
| 17077 | case $host_os in |
| 17078 | freebsd2.*) |
| 17079 | shlibpath_overrides_runpath=yes |
| 17080 | ;; |
| 17081 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 17082 | shlibpath_overrides_runpath=yes |
| 17083 | hardcode_into_libs=yes |
| 17084 | ;; |
| 17085 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 17086 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 17087 | shlibpath_overrides_runpath=no |
| 17088 | hardcode_into_libs=yes |
| 17089 | ;; |
| 17090 | *) # from 4.6 on, and DragonFly |
| 17091 | shlibpath_overrides_runpath=yes |
| 17092 | hardcode_into_libs=yes |
| 17093 | ;; |
| 17094 | esac |
| 17095 | ;; |
| 17096 | |
| 17097 | haiku*) |
| 17098 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17099 | need_lib_prefix=no |
| 17100 | need_version=no |
| 17101 | dynamic_linker="$host_os runtime_loader" |
| 17102 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17103 | soname_spec='$libname$release$shared_ext$major' |
| 17104 | shlibpath_var=LIBRARY_PATH |
| 17105 | shlibpath_overrides_runpath=no |
| 17106 | sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' |
| 17107 | sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' |
| 17108 | hardcode_into_libs=no |
| 17109 | ;; |
| 17110 | |
| 17111 | hpux9* | hpux10* | hpux11*) |
| 17112 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 17113 | # link against other versions. |
| 17114 | version_type=sunos |
| 17115 | need_lib_prefix=no |
| 17116 | need_version=no |
| 17117 | case $host_cpu in |
| 17118 | ia64*) |
| 17119 | shrext_cmds='.so' |
| 17120 | hardcode_into_libs=yes |
| 17121 | dynamic_linker="$host_os dld.so" |
| 17122 | shlibpath_var=LD_LIBRARY_PATH |
| 17123 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 17124 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17125 | soname_spec='$libname$release$shared_ext$major' |
| 17126 | if test 32 = "$HPUX_IA64_MODE"; then |
| 17127 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 17128 | sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 17129 | else |
| 17130 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 17131 | sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 17132 | fi |
| 17133 | ;; |
| 17134 | hppa*64*) |
| 17135 | shrext_cmds='.sl' |
| 17136 | hardcode_into_libs=yes |
| 17137 | dynamic_linker="$host_os dld.sl" |
| 17138 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 17139 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 17140 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17141 | soname_spec='$libname$release$shared_ext$major' |
| 17142 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 17143 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 17144 | ;; |
| 17145 | *) |
| 17146 | shrext_cmds='.sl' |
| 17147 | dynamic_linker="$host_os dld.sl" |
| 17148 | shlibpath_var=SHLIB_PATH |
| 17149 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 17150 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17151 | soname_spec='$libname$release$shared_ext$major' |
| 17152 | ;; |
| 17153 | esac |
| 17154 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 17155 | postinstall_cmds='chmod 555 $lib' |
| 17156 | # or fails outright, so override atomically: |
| 17157 | install_override_mode=555 |
| 17158 | ;; |
| 17159 | |
| 17160 | interix[3-9]*) |
| 17161 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17162 | need_lib_prefix=no |
| 17163 | need_version=no |
| 17164 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17165 | soname_spec='$libname$release$shared_ext$major' |
| 17166 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 17167 | shlibpath_var=LD_LIBRARY_PATH |
| 17168 | shlibpath_overrides_runpath=no |
| 17169 | hardcode_into_libs=yes |
| 17170 | ;; |
| 17171 | |
| 17172 | irix5* | irix6* | nonstopux*) |
| 17173 | case $host_os in |
| 17174 | nonstopux*) version_type=nonstopux ;; |
| 17175 | *) |
| 17176 | if test yes = "$lt_cv_prog_gnu_ld"; then |
| 17177 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17178 | else |
| 17179 | version_type=irix |
| 17180 | fi ;; |
| 17181 | esac |
| 17182 | need_lib_prefix=no |
| 17183 | need_version=no |
| 17184 | soname_spec='$libname$release$shared_ext$major' |
| 17185 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 17186 | case $host_os in |
| 17187 | irix5* | nonstopux*) |
| 17188 | libsuff= shlibsuff= |
| 17189 | ;; |
| 17190 | *) |
| 17191 | case $LD in # libtool.m4 will add one of these switches to LD |
| 17192 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 17193 | libsuff= shlibsuff= libmagic=32-bit;; |
| 17194 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 17195 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 17196 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 17197 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 17198 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 17199 | esac |
| 17200 | ;; |
| 17201 | esac |
| 17202 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 17203 | shlibpath_overrides_runpath=no |
| 17204 | sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 17205 | sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 17206 | hardcode_into_libs=yes |
| 17207 | ;; |
| 17208 | |
| 17209 | # No shared lib support for Linux oldld, aout, or coff. |
| 17210 | linux*oldld* | linux*aout* | linux*coff*) |
| 17211 | dynamic_linker=no |
| 17212 | ;; |
| 17213 | |
| 17214 | linux*android*) |
| 17215 | version_type=none # Android doesn't support versioned libraries. |
| 17216 | need_lib_prefix=no |
| 17217 | need_version=no |
| 17218 | library_names_spec='$libname$release$shared_ext $libname$shared_ext' |
| 17219 | soname_spec='$libname$release$shared_ext' |
| 17220 | finish_cmds= |
| 17221 | shlibpath_var=LD_LIBRARY_PATH |
| 17222 | shlibpath_overrides_runpath=yes |
| 17223 | |
| 17224 | # This implies no fast_install, which is unacceptable. |
| 17225 | # Some rework will be needed to allow for fast_install |
| 17226 | # before this can be enabled. |
| 17227 | hardcode_into_libs=yes |
| 17228 | |
| 17229 | dynamic_linker='Android linker' |
| 17230 | # -rpath works at least for libraries that are not overridden by |
| 17231 | # libraries installed in system locations. |
| 17232 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 17233 | ;; |
| 17234 | |
| 17235 | # This must be glibc/ELF. |
| 17236 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 17237 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17238 | need_lib_prefix=no |
| 17239 | need_version=no |
| 17240 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17241 | soname_spec='$libname$release$shared_ext$major' |
| 17242 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 17243 | shlibpath_var=LD_LIBRARY_PATH |
| 17244 | shlibpath_overrides_runpath=no |
| 17245 | |
| 17246 | # Some binutils ld are patched to set DT_RUNPATH |
| 17247 | if test ${lt_cv_shlibpath_overrides_runpath+y} |
| 17248 | then : |
| 17249 | printf %s "(cached) " >&6 |
| 17250 | else case e in #( |
| 17251 | e) lt_cv_shlibpath_overrides_runpath=no |
| 17252 | save_LDFLAGS=$LDFLAGS |
| 17253 | save_libdir=$libdir |
| 17254 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 17255 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 17256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17257 | /* end confdefs.h. */ |
| 17258 | |
| 17259 | int |
| 17260 | main (void) |
| 17261 | { |
| 17262 | |
| 17263 | ; |
| 17264 | return 0; |
| 17265 | } |
| 17266 | _ACEOF |
| 17267 | if ac_fn_c_try_link "$LINENO" |
| 17268 | then : |
| 17269 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null |
| 17270 | then : |
| 17271 | lt_cv_shlibpath_overrides_runpath=yes |
| 17272 | fi |
| 17273 | fi |
| 17274 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17275 | conftest$ac_exeext conftest.$ac_ext |
| 17276 | LDFLAGS=$save_LDFLAGS |
| 17277 | libdir=$save_libdir |
| 17278 | ;; |
| 17279 | esac |
| 17280 | fi |
| 17281 | |
| 17282 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 17283 | |
| 17284 | # This implies no fast_install, which is unacceptable. |
| 17285 | # Some rework will be needed to allow for fast_install |
| 17286 | # before this can be enabled. |
| 17287 | hardcode_into_libs=yes |
| 17288 | |
| 17289 | # Ideally, we could use ldconfig to report *all* directories which are |
| 17290 | # searched for libraries, however this is still not possible. Aside from not |
| 17291 | # being certain /sbin/ldconfig is available, command |
| 17292 | # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 17293 | # even though it is searched at run-time. Try to do the best guess by |
| 17294 | # appending ld.so.conf contents (and includes) to the search path. |
| 17295 | if test -f /etc/ld.so.conf; then |
| 17296 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 17297 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 17298 | fi |
| 17299 | |
| 17300 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 17301 | # powerpc, because MkLinux only supported shared libraries with the |
| 17302 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 17303 | # most powerpc-linux boxes support dynamic linking these days and |
| 17304 | # people can always --disable-shared, the test was removed, and we |
| 17305 | # assume the GNU/Linux dynamic linker is in use. |
| 17306 | dynamic_linker='GNU/Linux ld.so' |
| 17307 | ;; |
| 17308 | |
| 17309 | netbsdelf*-gnu) |
| 17310 | version_type=linux |
| 17311 | need_lib_prefix=no |
| 17312 | need_version=no |
| 17313 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17314 | soname_spec='$libname$release$shared_ext$major' |
| 17315 | shlibpath_var=LD_LIBRARY_PATH |
| 17316 | shlibpath_overrides_runpath=no |
| 17317 | hardcode_into_libs=yes |
| 17318 | dynamic_linker='NetBSD ld.elf_so' |
| 17319 | ;; |
| 17320 | |
| 17321 | netbsd*) |
| 17322 | version_type=sunos |
| 17323 | need_lib_prefix=no |
| 17324 | need_version=no |
| 17325 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 17326 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 17327 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 17328 | dynamic_linker='NetBSD (a.out) ld.so' |
| 17329 | else |
| 17330 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17331 | soname_spec='$libname$release$shared_ext$major' |
| 17332 | dynamic_linker='NetBSD ld.elf_so' |
| 17333 | fi |
| 17334 | shlibpath_var=LD_LIBRARY_PATH |
| 17335 | shlibpath_overrides_runpath=yes |
| 17336 | hardcode_into_libs=yes |
| 17337 | ;; |
| 17338 | |
| 17339 | *-mlibc) |
| 17340 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17341 | need_lib_prefix=no |
| 17342 | need_version=no |
| 17343 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17344 | soname_spec='$libname$release$shared_ext$major' |
| 17345 | dynamic_linker='mlibc ld.so' |
| 17346 | shlibpath_var=LD_LIBRARY_PATH |
| 17347 | shlibpath_overrides_runpath=no |
| 17348 | hardcode_into_libs=yes |
| 17349 | ;; |
| 17350 | |
| 17351 | newsos6) |
| 17352 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17353 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17354 | shlibpath_var=LD_LIBRARY_PATH |
| 17355 | shlibpath_overrides_runpath=yes |
| 17356 | ;; |
| 17357 | |
| 17358 | *nto* | *qnx*) |
| 17359 | version_type=qnx |
| 17360 | need_lib_prefix=no |
| 17361 | need_version=no |
| 17362 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17363 | soname_spec='$libname$release$shared_ext$major' |
| 17364 | shlibpath_var=LD_LIBRARY_PATH |
| 17365 | shlibpath_overrides_runpath=no |
| 17366 | hardcode_into_libs=yes |
| 17367 | dynamic_linker='ldqnx.so' |
| 17368 | ;; |
| 17369 | |
| 17370 | openbsd*) |
| 17371 | version_type=sunos |
| 17372 | sys_lib_dlsearch_path_spec=/usr/lib |
| 17373 | need_lib_prefix=no |
| 17374 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 17375 | need_version=no |
| 17376 | else |
| 17377 | need_version=yes |
| 17378 | fi |
| 17379 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 17380 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 17381 | shlibpath_var=LD_LIBRARY_PATH |
| 17382 | shlibpath_overrides_runpath=yes |
| 17383 | ;; |
| 17384 | |
| 17385 | os2*) |
| 17386 | libname_spec='$name' |
| 17387 | version_type=windows |
| 17388 | shrext_cmds=.dll |
| 17389 | need_version=no |
| 17390 | need_lib_prefix=no |
| 17391 | # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 17392 | soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 17393 | v=$($ECHO $release$versuffix | tr -d .-); |
| 17394 | n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 17395 | $ECHO $n$v`$shared_ext' |
| 17396 | library_names_spec='${libname}_dll.$libext' |
| 17397 | dynamic_linker='OS/2 ld.exe' |
| 17398 | shlibpath_var=BEGINLIBPATH |
| 17399 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 17400 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 17401 | postinstall_cmds='base_file=`basename \$file`~ |
| 17402 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 17403 | dldir=$destdir/`dirname \$dlpath`~ |
| 17404 | test -d \$dldir || mkdir -p \$dldir~ |
| 17405 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 17406 | chmod a+x \$dldir/$dlname~ |
| 17407 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 17408 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 17409 | fi' |
| 17410 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 17411 | dlpath=$dir/\$dldll~ |
| 17412 | $RM \$dlpath' |
| 17413 | ;; |
| 17414 | |
| 17415 | osf3* | osf4* | osf5*) |
| 17416 | version_type=osf |
| 17417 | need_lib_prefix=no |
| 17418 | need_version=no |
| 17419 | soname_spec='$libname$release$shared_ext$major' |
| 17420 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17421 | shlibpath_var=LD_LIBRARY_PATH |
| 17422 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 17423 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 17424 | ;; |
| 17425 | |
| 17426 | rdos*) |
| 17427 | dynamic_linker=no |
| 17428 | ;; |
| 17429 | |
| 17430 | serenity*) |
| 17431 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17432 | need_lib_prefix=no |
| 17433 | need_version=no |
| 17434 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17435 | soname_spec='$libname$release$shared_ext$major' |
| 17436 | shlibpath_var=LD_LIBRARY_PATH |
| 17437 | shlibpath_overrides_runpath=no |
| 17438 | dynamic_linker='SerenityOS LibELF' |
| 17439 | ;; |
| 17440 | |
| 17441 | solaris*) |
| 17442 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17443 | need_lib_prefix=no |
| 17444 | need_version=no |
| 17445 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17446 | soname_spec='$libname$release$shared_ext$major' |
| 17447 | shlibpath_var=LD_LIBRARY_PATH |
| 17448 | shlibpath_overrides_runpath=yes |
| 17449 | hardcode_into_libs=yes |
| 17450 | # ldd complains unless libraries are executable |
| 17451 | postinstall_cmds='chmod +x $lib' |
| 17452 | ;; |
| 17453 | |
| 17454 | sunos4*) |
| 17455 | version_type=sunos |
| 17456 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 17457 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 17458 | shlibpath_var=LD_LIBRARY_PATH |
| 17459 | shlibpath_overrides_runpath=yes |
| 17460 | if test yes = "$with_gnu_ld"; then |
| 17461 | need_lib_prefix=no |
| 17462 | fi |
| 17463 | need_version=yes |
| 17464 | ;; |
| 17465 | |
| 17466 | sysv4 | sysv4.3*) |
| 17467 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17468 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17469 | soname_spec='$libname$release$shared_ext$major' |
| 17470 | shlibpath_var=LD_LIBRARY_PATH |
| 17471 | case $host_vendor in |
| 17472 | sni) |
| 17473 | shlibpath_overrides_runpath=no |
| 17474 | need_lib_prefix=no |
| 17475 | runpath_var=LD_RUN_PATH |
| 17476 | ;; |
| 17477 | siemens) |
| 17478 | need_lib_prefix=no |
| 17479 | ;; |
| 17480 | motorola) |
| 17481 | need_lib_prefix=no |
| 17482 | need_version=no |
| 17483 | shlibpath_overrides_runpath=no |
| 17484 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 17485 | ;; |
| 17486 | esac |
| 17487 | ;; |
| 17488 | |
| 17489 | sysv4*MP*) |
| 17490 | if test -d /usr/nec; then |
| 17491 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17492 | library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 17493 | soname_spec='$libname$shared_ext.$major' |
| 17494 | shlibpath_var=LD_LIBRARY_PATH |
| 17495 | fi |
| 17496 | ;; |
| 17497 | |
| 17498 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 17499 | version_type=sco |
| 17500 | need_lib_prefix=no |
| 17501 | need_version=no |
| 17502 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 17503 | soname_spec='$libname$release$shared_ext$major' |
| 17504 | shlibpath_var=LD_LIBRARY_PATH |
| 17505 | shlibpath_overrides_runpath=yes |
| 17506 | hardcode_into_libs=yes |
| 17507 | if test yes = "$with_gnu_ld"; then |
| 17508 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 17509 | else |
| 17510 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 17511 | case $host_os in |
| 17512 | sco3.2v5*) |
| 17513 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 17514 | ;; |
| 17515 | esac |
| 17516 | fi |
| 17517 | sys_lib_dlsearch_path_spec='/usr/lib' |
| 17518 | ;; |
| 17519 | |
| 17520 | tpf*) |
| 17521 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 17522 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17523 | need_lib_prefix=no |
| 17524 | need_version=no |
| 17525 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17526 | shlibpath_var=LD_LIBRARY_PATH |
| 17527 | shlibpath_overrides_runpath=no |
| 17528 | hardcode_into_libs=yes |
| 17529 | ;; |
| 17530 | |
| 17531 | uts4*) |
| 17532 | version_type=linux # correct to gnu/linux during the next big refactor |
| 17533 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17534 | soname_spec='$libname$release$shared_ext$major' |
| 17535 | shlibpath_var=LD_LIBRARY_PATH |
| 17536 | ;; |
| 17537 | |
| 17538 | emscripten*) |
| 17539 | version_type=none |
| 17540 | need_lib_prefix=no |
| 17541 | need_version=no |
| 17542 | library_names_spec='$libname$release$shared_ext' |
| 17543 | soname_spec='$libname$release$shared_ext' |
| 17544 | finish_cmds= |
| 17545 | dynamic_linker="Emscripten linker" |
| 17546 | lt_prog_compiler_wl= |
| 17547 | lt_prog_compiler_pic= |
| 17548 | lt_prog_compiler_static= |
| 17549 | |
| 17550 | |
| 17551 | if test yes = "$GCC"; then |
| 17552 | lt_prog_compiler_wl='-Wl,' |
| 17553 | lt_prog_compiler_static='-static' |
| 17554 | |
| 17555 | case $host_os in |
| 17556 | aix*) |
| 17557 | # All AIX code is PIC. |
| 17558 | if test ia64 = "$host_cpu"; then |
| 17559 | # AIX 5 now supports IA64 processor |
| 17560 | lt_prog_compiler_static='-Bstatic' |
| 17561 | fi |
| 17562 | lt_prog_compiler_pic='-fPIC' |
| 17563 | ;; |
| 17564 | |
| 17565 | amigaos*) |
| 17566 | case $host_cpu in |
| 17567 | powerpc) |
| 17568 | # see comment about AmigaOS4 .so support |
| 17569 | lt_prog_compiler_pic='-fPIC' |
| 17570 | ;; |
| 17571 | m68k) |
| 17572 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 17573 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 17574 | # like '-m68040'. |
| 17575 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 17576 | ;; |
| 17577 | esac |
| 17578 | ;; |
| 17579 | |
| 17580 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 17581 | # PIC is the default for these OSes. |
| 17582 | ;; |
| 17583 | |
| 17584 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 17585 | # This hack is so that the source file can tell whether it is being |
| 17586 | # built for inclusion in a dll (and should export symbols for example). |
| 17587 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 17588 | # (--disable-auto-import) libraries |
| 17589 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 17590 | case $host_os in |
| 17591 | os2*) |
| 17592 | lt_prog_compiler_static='$wl-static' |
| 17593 | ;; |
| 17594 | esac |
| 17595 | ;; |
| 17596 | |
| 17597 | darwin* | rhapsody*) |
| 17598 | # PIC is the default on this platform |
| 17599 | # Common symbols not allowed in MH_DYLIB files |
| 17600 | lt_prog_compiler_pic='-fno-common' |
| 17601 | ;; |
| 17602 | |
| 17603 | haiku*) |
| 17604 | # PIC is the default for Haiku. |
| 17605 | # The "-static" flag exists, but is broken. |
| 17606 | lt_prog_compiler_static= |
| 17607 | ;; |
| 17608 | |
| 17609 | hpux*) |
| 17610 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 17611 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 17612 | # sets the default TLS model and affects inlining. |
| 17613 | case $host_cpu in |
| 17614 | hppa*64*) |
| 17615 | # +Z the default |
| 17616 | ;; |
| 17617 | *) |
| 17618 | lt_prog_compiler_pic='-fPIC' |
| 17619 | ;; |
| 17620 | esac |
| 17621 | ;; |
| 17622 | |
| 17623 | interix[3-9]*) |
| 17624 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 17625 | # Instead, we relocate shared libraries at runtime. |
| 17626 | ;; |
| 17627 | |
| 17628 | msdosdjgpp*) |
| 17629 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 17630 | # on systems that don't support them. |
| 17631 | lt_prog_compiler_can_build_shared=no |
| 17632 | enable_shared=no |
| 17633 | ;; |
| 17634 | |
| 17635 | *nto* | *qnx*) |
| 17636 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 17637 | # it will coredump. |
| 17638 | lt_prog_compiler_pic='-fPIC -shared' |
| 17639 | ;; |
| 17640 | |
| 17641 | sysv4*MP*) |
| 17642 | if test -d /usr/nec; then |
| 17643 | lt_prog_compiler_pic=-Kconform_pic |
| 17644 | fi |
| 17645 | ;; |
| 17646 | |
| 17647 | *) |
| 17648 | lt_prog_compiler_pic='-fPIC' |
| 17649 | ;; |
| 17650 | esac |
| 17651 | |
| 17652 | case $cc_basename in |
| 17653 | nvcc*) # Cuda Compiler Driver 2.2 |
| 17654 | lt_prog_compiler_wl='-Xlinker ' |
| 17655 | if test -n "$lt_prog_compiler_pic"; then |
| 17656 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 17657 | fi |
| 17658 | ;; |
| 17659 | esac |
| 17660 | else |
| 17661 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 17662 | case $host_os in |
| 17663 | aix*) |
| 17664 | lt_prog_compiler_wl='-Wl,' |
| 17665 | if test ia64 = "$host_cpu"; then |
| 17666 | # AIX 5 now supports IA64 processor |
| 17667 | lt_prog_compiler_static='-Bstatic' |
| 17668 | else |
| 17669 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 17670 | fi |
| 17671 | ;; |
| 17672 | |
| 17673 | darwin* | rhapsody*) |
| 17674 | # PIC is the default on this platform |
| 17675 | # Common symbols not allowed in MH_DYLIB files |
| 17676 | lt_prog_compiler_pic='-fno-common' |
| 17677 | case $cc_basename in |
| 17678 | nagfor*) |
| 17679 | # NAG Fortran compiler |
| 17680 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 17681 | lt_prog_compiler_pic='-PIC' |
| 17682 | lt_prog_compiler_static='-Bstatic' |
| 17683 | ;; |
| 17684 | esac |
| 17685 | ;; |
| 17686 | |
| 17687 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 17688 | # This hack is so that the source file can tell whether it is being |
| 17689 | # built for inclusion in a dll (and should export symbols for example). |
| 17690 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 17691 | case $host_os in |
| 17692 | os2*) |
| 17693 | lt_prog_compiler_static='$wl-static' |
| 17694 | ;; |
| 17695 | esac |
| 17696 | ;; |
| 17697 | |
| 17698 | hpux9* | hpux10* | hpux11*) |
| 17699 | lt_prog_compiler_wl='-Wl,' |
| 17700 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 17701 | # not for PA HP-UX. |
| 17702 | case $host_cpu in |
| 17703 | hppa*64*|ia64*) |
| 17704 | # +Z the default |
| 17705 | ;; |
| 17706 | *) |
| 17707 | lt_prog_compiler_pic='+Z' |
| 17708 | ;; |
| 17709 | esac |
| 17710 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 17711 | lt_prog_compiler_static='$wl-a ${wl}archive' |
| 17712 | ;; |
| 17713 | |
| 17714 | irix5* | irix6* | nonstopux*) |
| 17715 | lt_prog_compiler_wl='-Wl,' |
| 17716 | # PIC (with -KPIC) is the default. |
| 17717 | lt_prog_compiler_static='-non_shared' |
| 17718 | ;; |
| 17719 | |
| 17720 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 17721 | case $cc_basename in |
| 17722 | # old Intel for x86_64, which still supported -KPIC. |
| 17723 | ecc*) |
| 17724 | lt_prog_compiler_wl='-Wl,' |
| 17725 | lt_prog_compiler_pic='-KPIC' |
| 17726 | lt_prog_compiler_static='-static' |
| 17727 | ;; |
| 17728 | *flang* | ftn | f18* | f95*) |
| 17729 | # Flang compiler. |
| 17730 | lt_prog_compiler_wl='-Wl,' |
| 17731 | lt_prog_compiler_pic='-fPIC' |
| 17732 | lt_prog_compiler_static='-static' |
| 17733 | ;; |
| 17734 | # icc used to be incompatible with GCC. |
| 17735 | # ICC 10 doesn't accept -KPIC any more. |
| 17736 | icc* | ifort*) |
| 17737 | lt_prog_compiler_wl='-Wl,' |
| 17738 | lt_prog_compiler_pic='-fPIC' |
| 17739 | lt_prog_compiler_static='-static' |
| 17740 | ;; |
| 17741 | # Lahey Fortran 8.1. |
| 17742 | lf95*) |
| 17743 | lt_prog_compiler_wl='-Wl,' |
| 17744 | lt_prog_compiler_pic='--shared' |
| 17745 | lt_prog_compiler_static='--static' |
| 17746 | ;; |
| 17747 | nagfor*) |
| 17748 | # NAG Fortran compiler |
| 17749 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 17750 | lt_prog_compiler_pic='-PIC' |
| 17751 | lt_prog_compiler_static='-Bstatic' |
| 17752 | ;; |
| 17753 | tcc*) |
| 17754 | # Fabrice Bellard et al's Tiny C Compiler |
| 17755 | lt_prog_compiler_wl='-Wl,' |
| 17756 | lt_prog_compiler_pic='-fPIC' |
| 17757 | lt_prog_compiler_static='-static' |
| 17758 | ;; |
| 17759 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 17760 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 17761 | # which looks to be a dead project) |
| 17762 | lt_prog_compiler_wl='-Wl,' |
| 17763 | lt_prog_compiler_pic='-fpic' |
| 17764 | lt_prog_compiler_static='-Bstatic' |
| 17765 | ;; |
| 17766 | ccc*) |
| 17767 | lt_prog_compiler_wl='-Wl,' |
| 17768 | # All Alpha code is PIC. |
| 17769 | lt_prog_compiler_static='-non_shared' |
| 17770 | ;; |
| 17771 | xl* | bgxl* | bgf* | mpixl*) |
| 17772 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 17773 | lt_prog_compiler_wl='-Wl,' |
| 17774 | lt_prog_compiler_pic='-qpic' |
| 17775 | lt_prog_compiler_static='-qstaticlink' |
| 17776 | ;; |
| 17777 | *) |
| 17778 | case `$CC -V 2>&1 | $SED 5q` in |
| 17779 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 17780 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 17781 | lt_prog_compiler_pic='-KPIC' |
| 17782 | lt_prog_compiler_static='-Bstatic' |
| 17783 | lt_prog_compiler_wl='' |
| 17784 | ;; |
| 17785 | *Sun\ F* | *Sun*Fortran*) |
| 17786 | lt_prog_compiler_pic='-KPIC' |
| 17787 | lt_prog_compiler_static='-Bstatic' |
| 17788 | lt_prog_compiler_wl='-Qoption ld ' |
| 17789 | ;; |
| 17790 | *Sun\ C*) |
| 17791 | # Sun C 5.9 |
| 17792 | lt_prog_compiler_pic='-KPIC' |
| 17793 | lt_prog_compiler_static='-Bstatic' |
| 17794 | lt_prog_compiler_wl='-Wl,' |
| 17795 | ;; |
| 17796 | *Intel*\ [CF]*Compiler*) |
| 17797 | lt_prog_compiler_wl='-Wl,' |
| 17798 | lt_prog_compiler_pic='-fPIC' |
| 17799 | lt_prog_compiler_static='-static' |
| 17800 | ;; |
| 17801 | *Portland\ Group*) |
| 17802 | lt_prog_compiler_wl='-Wl,' |
| 17803 | lt_prog_compiler_pic='-fpic' |
| 17804 | lt_prog_compiler_static='-Bstatic' |
| 17805 | ;; |
| 17806 | esac |
| 17807 | ;; |
| 17808 | esac |
| 17809 | ;; |
| 17810 | |
| 17811 | newsos6) |
| 17812 | lt_prog_compiler_pic='-KPIC' |
| 17813 | lt_prog_compiler_static='-Bstatic' |
| 17814 | ;; |
| 17815 | |
| 17816 | *-mlibc) |
| 17817 | lt_prog_compiler_wl='-Wl,' |
| 17818 | lt_prog_compiler_pic='-fPIC' |
| 17819 | lt_prog_compiler_static='-static' |
| 17820 | ;; |
| 17821 | |
| 17822 | *nto* | *qnx*) |
| 17823 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 17824 | # it will coredump. |
| 17825 | lt_prog_compiler_pic='-fPIC -shared' |
| 17826 | ;; |
| 17827 | |
| 17828 | osf3* | osf4* | osf5*) |
| 17829 | lt_prog_compiler_wl='-Wl,' |
| 17830 | # All OSF/1 code is PIC. |
| 17831 | lt_prog_compiler_static='-non_shared' |
| 17832 | ;; |
| 17833 | |
| 17834 | rdos*) |
| 17835 | lt_prog_compiler_static='-non_shared' |
| 17836 | ;; |
| 17837 | |
| 17838 | serenity*) |
| 17839 | ;; |
| 17840 | |
| 17841 | solaris*) |
| 17842 | lt_prog_compiler_pic='-KPIC' |
| 17843 | lt_prog_compiler_static='-Bstatic' |
| 17844 | case $cc_basename in |
| 17845 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 17846 | lt_prog_compiler_wl='-Qoption ld ';; |
| 17847 | *) |
| 17848 | lt_prog_compiler_wl='-Wl,';; |
| 17849 | esac |
| 17850 | ;; |
| 17851 | |
| 17852 | sunos4*) |
| 17853 | lt_prog_compiler_wl='-Qoption ld ' |
| 17854 | lt_prog_compiler_pic='-PIC' |
| 17855 | lt_prog_compiler_static='-Bstatic' |
| 17856 | ;; |
| 17857 | |
| 17858 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 17859 | lt_prog_compiler_wl='-Wl,' |
| 17860 | lt_prog_compiler_pic='-KPIC' |
| 17861 | lt_prog_compiler_static='-Bstatic' |
| 17862 | ;; |
| 17863 | |
| 17864 | sysv4*MP*) |
| 17865 | if test -d /usr/nec; then |
| 17866 | lt_prog_compiler_pic='-Kconform_pic' |
| 17867 | lt_prog_compiler_static='-Bstatic' |
| 17868 | fi |
| 17869 | ;; |
| 17870 | |
| 17871 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 17872 | lt_prog_compiler_wl='-Wl,' |
| 17873 | lt_prog_compiler_pic='-KPIC' |
| 17874 | lt_prog_compiler_static='-Bstatic' |
| 17875 | ;; |
| 17876 | |
| 17877 | unicos*) |
| 17878 | lt_prog_compiler_wl='-Wl,' |
| 17879 | lt_prog_compiler_can_build_shared=no |
| 17880 | ;; |
| 17881 | |
| 17882 | uts4*) |
| 17883 | lt_prog_compiler_pic='-pic' |
| 17884 | lt_prog_compiler_static='-Bstatic' |
| 17885 | ;; |
| 17886 | |
| 17887 | *) |
| 17888 | lt_prog_compiler_can_build_shared=no |
| 17889 | ;; |
| 17890 | esac |
| 17891 | fi |
| 17892 | |
| 17893 | case $host_os in |
| 17894 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 17895 | *djgpp*) |
| 17896 | lt_prog_compiler_pic= |
| 17897 | ;; |
| 17898 | *) |
| 17899 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 17900 | ;; |
| 17901 | esac |
| 17902 | |
| 17903 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 17904 | printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 17905 | if test ${lt_cv_prog_compiler_pic+y} |
| 17906 | then : |
| 17907 | printf %s "(cached) " >&6 |
| 17908 | else case e in #( |
| 17909 | e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 17910 | esac |
| 17911 | fi |
| 17912 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 17913 | printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 17914 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 17915 | |
| 17916 | # |
| 17917 | # Check to make sure the PIC flag actually works. |
| 17918 | # |
| 17919 | if test -n "$lt_prog_compiler_pic"; then |
| 17920 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 17921 | printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 17922 | if test ${lt_cv_prog_compiler_pic_works+y} |
| 17923 | then : |
| 17924 | printf %s "(cached) " >&6 |
| 17925 | else case e in #( |
| 17926 | e) lt_cv_prog_compiler_pic_works=no |
| 17927 | ac_outfile=conftest.$ac_objext |
| 17928 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 17929 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 17930 | # Insert the option either (1) after the last *FLAGS variable, or |
| 17931 | # (2) before a word containing "conftest.", or (3) at the end. |
| 17932 | # Note that $ac_compile itself does not contain backslashes and begins |
| 17933 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 17934 | # The option is referenced via a variable to avoid confusing sed. |
| 17935 | lt_compile=`echo "$ac_compile" | $SED \ |
| 17936 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 17937 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 17938 | -e 's:$: $lt_compiler_flag:'` |
| 17939 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 17940 | (eval "$lt_compile" 2>conftest.err) |
| 17941 | ac_status=$? |
| 17942 | cat conftest.err >&5 |
| 17943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17944 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 17945 | # The compiler can only warn and ignore the option if not recognized |
| 17946 | # So say no if there are warnings other than the usual output. |
| 17947 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 17948 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 17949 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 17950 | lt_cv_prog_compiler_pic_works=yes |
| 17951 | fi |
| 17952 | fi |
| 17953 | $RM conftest* |
| 17954 | ;; |
| 17955 | esac |
| 17956 | fi |
| 17957 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 17958 | printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 17959 | |
| 17960 | if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 17961 | case $lt_prog_compiler_pic in |
| 17962 | "" | " "*) ;; |
| 17963 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 17964 | esac |
| 17965 | else |
| 17966 | lt_prog_compiler_pic= |
| 17967 | lt_prog_compiler_can_build_shared=no |
| 17968 | fi |
| 17969 | |
| 17970 | fi |
| 17971 | |
| 17972 | |
| 17973 | |
| 17974 | |
| 17975 | |
| 17976 | # |
| 17977 | # Check to make sure the static flag actually works. |
| 17978 | # |
| 17979 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 17980 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 17981 | printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 17982 | if test ${lt_cv_prog_compiler_static_works+y} |
| 17983 | then : |
| 17984 | printf %s "(cached) " >&6 |
| 17985 | else case e in #( |
| 17986 | e) lt_cv_prog_compiler_static_works=no |
| 17987 | save_LDFLAGS=$LDFLAGS |
| 17988 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 17989 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 17990 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 17991 | # The linker can only warn and ignore the option if not recognized |
| 17992 | # So say no if there are warnings |
| 17993 | if test -s conftest.err; then |
| 17994 | # Append any errors to the config.log. |
| 17995 | cat conftest.err 1>&5 |
| 17996 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 17997 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 17998 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 17999 | lt_cv_prog_compiler_static_works=yes |
| 18000 | fi |
| 18001 | else |
| 18002 | lt_cv_prog_compiler_static_works=yes |
| 18003 | fi |
| 18004 | fi |
| 18005 | $RM -r conftest* |
| 18006 | LDFLAGS=$save_LDFLAGS |
| 18007 | ;; |
| 18008 | esac |
| 18009 | fi |
| 18010 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 18011 | printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 18012 | |
| 18013 | if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 18014 | : |
| 18015 | else |
| 18016 | lt_prog_compiler_static= |
| 18017 | fi |
| 18018 | |
| 18019 | |
| 18020 | |
| 18021 | ='-fPIC' |
| 18022 | archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' |
| 18023 | archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' |
| 18024 | archive_cmds_need_lc=no |
| 18025 | no_undefined_flag= |
| 18026 | ;; |
| 18027 | |
| 18028 | *) |
| 18029 | dynamic_linker=no |
| 18030 | ;; |
| 18031 | esac |
| 18032 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 18033 | printf "%s\n" "$dynamic_linker" >&6; } |
| 18034 | test no = "$dynamic_linker" && can_build_shared=no |
| 18035 | |
| 18036 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 18037 | if test yes = "$GCC"; then |
| 18038 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 18039 | fi |
| 18040 | |
| 18041 | if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 18042 | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 18043 | fi |
| 18044 | |
| 18045 | if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 18046 | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 18047 | fi |
| 18048 | |
| 18049 | # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 18050 | configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 18051 | |
| 18052 | # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 18053 | func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 18054 | |
| 18055 | # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 18056 | configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 18057 | |
| 18058 | |
| 18059 | |
| 18060 | |
| 18061 | |
| 18062 | |
| 18063 | |
| 18064 | |
| 18065 | |
| 18066 | |
| 18067 | |
| 18068 | |
| 18069 | |
| 18070 | |
| 18071 | |
| 18072 | |
| 18073 | |
| 18074 | |
| 18075 | |
| 18076 | |
| 18077 | |
| 18078 | |
| 18079 | |
| 18080 | |
| 18081 | |
| 18082 | |
| 18083 | |
| 18084 | |
| 18085 | |
| 18086 | |
| 18087 | |
| 18088 | |
| 18089 | |
| 18090 | |
| 18091 | |
| 18092 | |
| 18093 | |
| 18094 | |
| 18095 | |
| 18096 | |
| 18097 | |
| 18098 | |
| 18099 | |
| 18100 | |
| 18101 | |
| 18102 | |
| 18103 | |
| 18104 | |
| 18105 | |
| 18106 | |
| 18107 | |
| 18108 | |
| 18109 | |
| 18110 | |
| 18111 | |
| 18112 | |
| 18113 | |
| 18114 | |
| 18115 | |
| 18116 | |
| 18117 | |
| 18118 | |
| 18119 | |
| 18120 | |
| 18121 | |
| 18122 | |
| 18123 | |
| 18124 | |
| 18125 | |
| 18126 | |
| 18127 | |
| 18128 | |
| 18129 | |
| 18130 | |
| 18131 | |
| 18132 | |
| 18133 | |
| 18134 | |
| 18135 | |
| 18136 | |
| 18137 | |
| 18138 | |
| 18139 | |
| 18140 | |
| 18141 | |
| 18142 | |
| 18143 | |
| 18144 | |
| 18145 | |
| 18146 | |
| 18147 | |
| 18148 | |
| 18149 | |
| 18150 | |
| 18151 | |
| 18152 | |
| 18153 | |
| 18154 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 18155 | printf %s "checking how to hardcode library paths into programs... " >&6; } |
| 18156 | hardcode_action= |
| 18157 | if test -n "$hardcode_libdir_flag_spec" || |
| 18158 | test -n "$runpath_var" || |
| 18159 | test yes = "$hardcode_automatic"; then |
| 18160 | |
| 18161 | # We can hardcode non-existent directories. |
| 18162 | if test no != "$hardcode_direct" && |
| 18163 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 18164 | # have to relink, otherwise we might link with an installed library |
| 18165 | # when we should be linking with a yet-to-be-installed one |
| 18166 | ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
| 18167 | test no != "$hardcode_minus_L"; then |
| 18168 | # Linking always hardcodes the temporary library directory. |
| 18169 | hardcode_action=relink |
| 18170 | else |
| 18171 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 18172 | hardcode_action=immediate |
| 18173 | fi |
| 18174 | else |
| 18175 | # We cannot hardcode anything, or else we can only hardcode existing |
| 18176 | # directories. |
| 18177 | hardcode_action=unsupported |
| 18178 | fi |
| 18179 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 18180 | printf "%s\n" "$hardcode_action" >&6; } |
| 18181 | |
| 18182 | if test relink = "$hardcode_action" || |
| 18183 | test yes = "$inherit_rpath"; then |
| 18184 | # Fast installation is not supported |
| 18185 | enable_fast_install=no |
| 18186 | elif test yes = "$shlibpath_overrides_runpath" || |
| 18187 | test no = "$enable_shared"; then |
| 18188 | # Fast installation is not necessary |
| 18189 | enable_fast_install=needless |
| 18190 | fi |
| 18191 | |
| 18192 | |
| 18193 | |
| 18194 | |
| 18195 | |
| 18196 | |
| 18197 | if test yes != "$enable_dlopen"; then |
| 18198 | enable_dlopen=unknown |
| 18199 | enable_dlopen_self=unknown |
| 18200 | enable_dlopen_self_static=unknown |
| 18201 | else |
| 18202 | lt_cv_dlopen=no |
| 18203 | lt_cv_dlopen_libs= |
| 18204 | |
| 18205 | case $host_os in |
| 18206 | beos*) |
| 18207 | lt_cv_dlopen=load_add_on |
| 18208 | lt_cv_dlopen_libs= |
| 18209 | lt_cv_dlopen_self=yes |
| 18210 | ;; |
| 18211 | |
| 18212 | mingw* | windows* | pw32* | cegcc*) |
| 18213 | lt_cv_dlopen=LoadLibrary |
| 18214 | lt_cv_dlopen_libs= |
| 18215 | ;; |
| 18216 | |
| 18217 | cygwin*) |
| 18218 | lt_cv_dlopen=dlopen |
| 18219 | lt_cv_dlopen_libs= |
| 18220 | ;; |
| 18221 | |
| 18222 | darwin*) |
| 18223 | # if libdl is installed we need to link against it |
| 18224 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 18225 | printf %s "checking for dlopen in -ldl... " >&6; } |
| 18226 | if test ${ac_cv_lib_dl_dlopen+y} |
| 18227 | then : |
| 18228 | printf %s "(cached) " >&6 |
| 18229 | else case e in #( |
| 18230 | e) ac_check_lib_save_LIBS=$LIBS |
| 18231 | LIBS="-ldl $LIBS" |
| 18232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18233 | /* end confdefs.h. */ |
| 18234 | |
| 18235 | /* Override any GCC internal prototype to avoid an error. |
| 18236 | Use char because int might match the return type of a GCC |
| 18237 | builtin and then its argument prototype would still apply. |
| 18238 | The 'extern "C"' is for builds by C++ compilers; |
| 18239 | although this is not generally supported in C code supporting it here |
| 18240 | has little cost and some practical benefit (sr 110532). */ |
| 18241 | #ifdef __cplusplus |
| 18242 | extern "C" |
| 18243 | #endif |
| 18244 | char dlopen (void); |
| 18245 | int |
| 18246 | main (void) |
| 18247 | { |
| 18248 | return dlopen (); |
| 18249 | ; |
| 18250 | return 0; |
| 18251 | } |
| 18252 | _ACEOF |
| 18253 | if ac_fn_c_try_link "$LINENO" |
| 18254 | then : |
| 18255 | ac_cv_lib_dl_dlopen=yes |
| 18256 | else case e in #( |
| 18257 | e) ac_cv_lib_dl_dlopen=no ;; |
| 18258 | esac |
| 18259 | fi |
| 18260 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18261 | conftest$ac_exeext conftest.$ac_ext |
| 18262 | LIBS=$ac_check_lib_save_LIBS ;; |
| 18263 | esac |
| 18264 | fi |
| 18265 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 18266 | printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 18267 | if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 18268 | then : |
| 18269 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 18270 | else case e in #( |
| 18271 | e) |
| 18272 | lt_cv_dlopen=dyld |
| 18273 | lt_cv_dlopen_libs= |
| 18274 | lt_cv_dlopen_self=yes |
| 18275 | ;; |
| 18276 | esac |
| 18277 | fi |
| 18278 | |
| 18279 | ;; |
| 18280 | |
| 18281 | tpf*) |
| 18282 | # Don't try to run any link tests for TPF. We know it's impossible |
| 18283 | # because TPF is a cross-compiler, and we know how we open DSOs. |
| 18284 | lt_cv_dlopen=dlopen |
| 18285 | lt_cv_dlopen_libs= |
| 18286 | lt_cv_dlopen_self=no |
| 18287 | ;; |
| 18288 | |
| 18289 | *) |
| 18290 | ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 18291 | if test "x$ac_cv_func_shl_load" = xyes |
| 18292 | then : |
| 18293 | lt_cv_dlopen=shl_load |
| 18294 | else case e in #( |
| 18295 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 18296 | printf %s "checking for shl_load in -ldld... " >&6; } |
| 18297 | if test ${ac_cv_lib_dld_shl_load+y} |
| 18298 | then : |
| 18299 | printf %s "(cached) " >&6 |
| 18300 | else case e in #( |
| 18301 | e) ac_check_lib_save_LIBS=$LIBS |
| 18302 | LIBS="-ldld $LIBS" |
| 18303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18304 | /* end confdefs.h. */ |
| 18305 | |
| 18306 | /* Override any GCC internal prototype to avoid an error. |
| 18307 | Use char because int might match the return type of a GCC |
| 18308 | builtin and then its argument prototype would still apply. |
| 18309 | The 'extern "C"' is for builds by C++ compilers; |
| 18310 | although this is not generally supported in C code supporting it here |
| 18311 | has little cost and some practical benefit (sr 110532). */ |
| 18312 | #ifdef __cplusplus |
| 18313 | extern "C" |
| 18314 | #endif |
| 18315 | char shl_load (void); |
| 18316 | int |
| 18317 | main (void) |
| 18318 | { |
| 18319 | return shl_load (); |
| 18320 | ; |
| 18321 | return 0; |
| 18322 | } |
| 18323 | _ACEOF |
| 18324 | if ac_fn_c_try_link "$LINENO" |
| 18325 | then : |
| 18326 | ac_cv_lib_dld_shl_load=yes |
| 18327 | else case e in #( |
| 18328 | e) ac_cv_lib_dld_shl_load=no ;; |
| 18329 | esac |
| 18330 | fi |
| 18331 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18332 | conftest$ac_exeext conftest.$ac_ext |
| 18333 | LIBS=$ac_check_lib_save_LIBS ;; |
| 18334 | esac |
| 18335 | fi |
| 18336 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 18337 | printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 18338 | if test "x$ac_cv_lib_dld_shl_load" = xyes |
| 18339 | then : |
| 18340 | lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 18341 | else case e in #( |
| 18342 | e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 18343 | if test "x$ac_cv_func_dlopen" = xyes |
| 18344 | then : |
| 18345 | lt_cv_dlopen=dlopen |
| 18346 | else case e in #( |
| 18347 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 18348 | printf %s "checking for dlopen in -ldl... " >&6; } |
| 18349 | if test ${ac_cv_lib_dl_dlopen+y} |
| 18350 | then : |
| 18351 | printf %s "(cached) " >&6 |
| 18352 | else case e in #( |
| 18353 | e) ac_check_lib_save_LIBS=$LIBS |
| 18354 | LIBS="-ldl $LIBS" |
| 18355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18356 | /* end confdefs.h. */ |
| 18357 | |
| 18358 | /* Override any GCC internal prototype to avoid an error. |
| 18359 | Use char because int might match the return type of a GCC |
| 18360 | builtin and then its argument prototype would still apply. |
| 18361 | The 'extern "C"' is for builds by C++ compilers; |
| 18362 | although this is not generally supported in C code supporting it here |
| 18363 | has little cost and some practical benefit (sr 110532). */ |
| 18364 | #ifdef __cplusplus |
| 18365 | extern "C" |
| 18366 | #endif |
| 18367 | char dlopen (void); |
| 18368 | int |
| 18369 | main (void) |
| 18370 | { |
| 18371 | return dlopen (); |
| 18372 | ; |
| 18373 | return 0; |
| 18374 | } |
| 18375 | _ACEOF |
| 18376 | if ac_fn_c_try_link "$LINENO" |
| 18377 | then : |
| 18378 | ac_cv_lib_dl_dlopen=yes |
| 18379 | else case e in #( |
| 18380 | e) ac_cv_lib_dl_dlopen=no ;; |
| 18381 | esac |
| 18382 | fi |
| 18383 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18384 | conftest$ac_exeext conftest.$ac_ext |
| 18385 | LIBS=$ac_check_lib_save_LIBS ;; |
| 18386 | esac |
| 18387 | fi |
| 18388 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 18389 | printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 18390 | if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 18391 | then : |
| 18392 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 18393 | else case e in #( |
| 18394 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 18395 | printf %s "checking for dlopen in -lsvld... " >&6; } |
| 18396 | if test ${ac_cv_lib_svld_dlopen+y} |
| 18397 | then : |
| 18398 | printf %s "(cached) " >&6 |
| 18399 | else case e in #( |
| 18400 | e) ac_check_lib_save_LIBS=$LIBS |
| 18401 | LIBS="-lsvld $LIBS" |
| 18402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18403 | /* end confdefs.h. */ |
| 18404 | |
| 18405 | /* Override any GCC internal prototype to avoid an error. |
| 18406 | Use char because int might match the return type of a GCC |
| 18407 | builtin and then its argument prototype would still apply. |
| 18408 | The 'extern "C"' is for builds by C++ compilers; |
| 18409 | although this is not generally supported in C code supporting it here |
| 18410 | has little cost and some practical benefit (sr 110532). */ |
| 18411 | #ifdef __cplusplus |
| 18412 | extern "C" |
| 18413 | #endif |
| 18414 | char dlopen (void); |
| 18415 | int |
| 18416 | main (void) |
| 18417 | { |
| 18418 | return dlopen (); |
| 18419 | ; |
| 18420 | return 0; |
| 18421 | } |
| 18422 | _ACEOF |
| 18423 | if ac_fn_c_try_link "$LINENO" |
| 18424 | then : |
| 18425 | ac_cv_lib_svld_dlopen=yes |
| 18426 | else case e in #( |
| 18427 | e) ac_cv_lib_svld_dlopen=no ;; |
| 18428 | esac |
| 18429 | fi |
| 18430 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18431 | conftest$ac_exeext conftest.$ac_ext |
| 18432 | LIBS=$ac_check_lib_save_LIBS ;; |
| 18433 | esac |
| 18434 | fi |
| 18435 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 18436 | printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 18437 | if test "x$ac_cv_lib_svld_dlopen" = xyes |
| 18438 | then : |
| 18439 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 18440 | else case e in #( |
| 18441 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 18442 | printf %s "checking for dld_link in -ldld... " >&6; } |
| 18443 | if test ${ac_cv_lib_dld_dld_link+y} |
| 18444 | then : |
| 18445 | printf %s "(cached) " >&6 |
| 18446 | else case e in #( |
| 18447 | e) ac_check_lib_save_LIBS=$LIBS |
| 18448 | LIBS="-ldld $LIBS" |
| 18449 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18450 | /* end confdefs.h. */ |
| 18451 | |
| 18452 | /* Override any GCC internal prototype to avoid an error. |
| 18453 | Use char because int might match the return type of a GCC |
| 18454 | builtin and then its argument prototype would still apply. |
| 18455 | The 'extern "C"' is for builds by C++ compilers; |
| 18456 | although this is not generally supported in C code supporting it here |
| 18457 | has little cost and some practical benefit (sr 110532). */ |
| 18458 | #ifdef __cplusplus |
| 18459 | extern "C" |
| 18460 | #endif |
| 18461 | char dld_link (void); |
| 18462 | int |
| 18463 | main (void) |
| 18464 | { |
| 18465 | return dld_link (); |
| 18466 | ; |
| 18467 | return 0; |
| 18468 | } |
| 18469 | _ACEOF |
| 18470 | if ac_fn_c_try_link "$LINENO" |
| 18471 | then : |
| 18472 | ac_cv_lib_dld_dld_link=yes |
| 18473 | else case e in #( |
| 18474 | e) ac_cv_lib_dld_dld_link=no ;; |
| 18475 | esac |
| 18476 | fi |
| 18477 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18478 | conftest$ac_exeext conftest.$ac_ext |
| 18479 | LIBS=$ac_check_lib_save_LIBS ;; |
| 18480 | esac |
| 18481 | fi |
| 18482 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 18483 | printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 18484 | if test "x$ac_cv_lib_dld_dld_link" = xyes |
| 18485 | then : |
| 18486 | lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 18487 | fi |
| 18488 | |
| 18489 | ;; |
| 18490 | esac |
| 18491 | fi |
| 18492 | |
| 18493 | ;; |
| 18494 | esac |
| 18495 | fi |
| 18496 | |
| 18497 | ;; |
| 18498 | esac |
| 18499 | fi |
| 18500 | |
| 18501 | ;; |
| 18502 | esac |
| 18503 | fi |
| 18504 | |
| 18505 | ;; |
| 18506 | esac |
| 18507 | fi |
| 18508 | |
| 18509 | ;; |
| 18510 | esac |
| 18511 | |
| 18512 | if test no = "$lt_cv_dlopen"; then |
| 18513 | enable_dlopen=no |
| 18514 | else |
| 18515 | enable_dlopen=yes |
| 18516 | fi |
| 18517 | |
| 18518 | case $lt_cv_dlopen in |
| 18519 | dlopen) |
| 18520 | save_CPPFLAGS=$CPPFLAGS |
| 18521 | test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 18522 | |
| 18523 | save_LDFLAGS=$LDFLAGS |
| 18524 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 18525 | |
| 18526 | save_LIBS=$LIBS |
| 18527 | LIBS="$lt_cv_dlopen_libs $LIBS" |
| 18528 | |
| 18529 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 18530 | printf %s "checking whether a program can dlopen itself... " >&6; } |
| 18531 | if test ${lt_cv_dlopen_self+y} |
| 18532 | then : |
| 18533 | printf %s "(cached) " >&6 |
| 18534 | else case e in #( |
| 18535 | e) if test yes = "$cross_compiling"; then : |
| 18536 | lt_cv_dlopen_self=cross |
| 18537 | else |
| 18538 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 18539 | lt_status=$lt_dlunknown |
| 18540 | cat > conftest.$ac_ext <<_LT_EOF |
| 18541 | #line $LINENO "configure" |
| 18542 | #include "confdefs.h" |
| 18543 | |
| 18544 | #if HAVE_DLFCN_H |
| 18545 | #include <dlfcn.h> |
| 18546 | #endif |
| 18547 | |
| 18548 | #include <stdio.h> |
| 18549 | |
| 18550 | #ifdef RTLD_GLOBAL |
| 18551 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 18552 | #else |
| 18553 | # ifdef DL_GLOBAL |
| 18554 | # define LT_DLGLOBAL DL_GLOBAL |
| 18555 | # else |
| 18556 | # define LT_DLGLOBAL 0 |
| 18557 | # endif |
| 18558 | #endif |
| 18559 | |
| 18560 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 18561 | find out it does not work in some platform. */ |
| 18562 | #ifndef LT_DLLAZY_OR_NOW |
| 18563 | # ifdef RTLD_LAZY |
| 18564 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 18565 | # else |
| 18566 | # ifdef DL_LAZY |
| 18567 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 18568 | # else |
| 18569 | # ifdef RTLD_NOW |
| 18570 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 18571 | # else |
| 18572 | # ifdef DL_NOW |
| 18573 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 18574 | # else |
| 18575 | # define LT_DLLAZY_OR_NOW 0 |
| 18576 | # endif |
| 18577 | # endif |
| 18578 | # endif |
| 18579 | # endif |
| 18580 | #endif |
| 18581 | |
| 18582 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 18583 | correspondingly for the symbols needed. */ |
| 18584 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 18585 | int fnord (void) __attribute__((visibility("default"))); |
| 18586 | #endif |
| 18587 | |
| 18588 | int fnord (void) { return 42; } |
| 18589 | int main (void) |
| 18590 | { |
| 18591 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 18592 | int status = $lt_dlunknown; |
| 18593 | |
| 18594 | if (self) |
| 18595 | { |
| 18596 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 18597 | else |
| 18598 | { |
| 18599 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 18600 | else puts (dlerror ()); |
| 18601 | } |
| 18602 | /* dlclose (self); */ |
| 18603 | } |
| 18604 | else |
| 18605 | puts (dlerror ()); |
| 18606 | |
| 18607 | return status; |
| 18608 | } |
| 18609 | _LT_EOF |
| 18610 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 18611 | (eval $ac_link) 2>&5 |
| 18612 | ac_status=$? |
| 18613 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18614 | test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 18615 | (./conftest; exit; ) >&5 2>/dev/null |
| 18616 | lt_status=$? |
| 18617 | case x$lt_status in |
| 18618 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 18619 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 18620 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 18621 | esac |
| 18622 | else : |
| 18623 | # compilation failed |
| 18624 | lt_cv_dlopen_self=no |
| 18625 | fi |
| 18626 | fi |
| 18627 | rm -fr conftest* |
| 18628 | |
| 18629 | ;; |
| 18630 | esac |
| 18631 | fi |
| 18632 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 18633 | printf "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 18634 | |
| 18635 | if test yes = "$lt_cv_dlopen_self"; then |
| 18636 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 18637 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 18638 | printf %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 18639 | if test ${lt_cv_dlopen_self_static+y} |
| 18640 | then : |
| 18641 | printf %s "(cached) " >&6 |
| 18642 | else case e in #( |
| 18643 | e) if test yes = "$cross_compiling"; then : |
| 18644 | lt_cv_dlopen_self_static=cross |
| 18645 | else |
| 18646 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 18647 | lt_status=$lt_dlunknown |
| 18648 | cat > conftest.$ac_ext <<_LT_EOF |
| 18649 | #line $LINENO "configure" |
| 18650 | #include "confdefs.h" |
| 18651 | |
| 18652 | #if HAVE_DLFCN_H |
| 18653 | #include <dlfcn.h> |
| 18654 | #endif |
| 18655 | |
| 18656 | #include <stdio.h> |
| 18657 | |
| 18658 | #ifdef RTLD_GLOBAL |
| 18659 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 18660 | #else |
| 18661 | # ifdef DL_GLOBAL |
| 18662 | # define LT_DLGLOBAL DL_GLOBAL |
| 18663 | # else |
| 18664 | # define LT_DLGLOBAL 0 |
| 18665 | # endif |
| 18666 | #endif |
| 18667 | |
| 18668 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 18669 | find out it does not work in some platform. */ |
| 18670 | #ifndef LT_DLLAZY_OR_NOW |
| 18671 | # ifdef RTLD_LAZY |
| 18672 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 18673 | # else |
| 18674 | # ifdef DL_LAZY |
| 18675 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 18676 | # else |
| 18677 | # ifdef RTLD_NOW |
| 18678 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 18679 | # else |
| 18680 | # ifdef DL_NOW |
| 18681 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 18682 | # else |
| 18683 | # define LT_DLLAZY_OR_NOW 0 |
| 18684 | # endif |
| 18685 | # endif |
| 18686 | # endif |
| 18687 | # endif |
| 18688 | #endif |
| 18689 | |
| 18690 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 18691 | correspondingly for the symbols needed. */ |
| 18692 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 18693 | int fnord (void) __attribute__((visibility("default"))); |
| 18694 | #endif |
| 18695 | |
| 18696 | int fnord (void) { return 42; } |
| 18697 | int main (void) |
| 18698 | { |
| 18699 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 18700 | int status = $lt_dlunknown; |
| 18701 | |
| 18702 | if (self) |
| 18703 | { |
| 18704 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 18705 | else |
| 18706 | { |
| 18707 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 18708 | else puts (dlerror ()); |
| 18709 | } |
| 18710 | /* dlclose (self); */ |
| 18711 | } |
| 18712 | else |
| 18713 | puts (dlerror ()); |
| 18714 | |
| 18715 | return status; |
| 18716 | } |
| 18717 | _LT_EOF |
| 18718 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 18719 | (eval $ac_link) 2>&5 |
| 18720 | ac_status=$? |
| 18721 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18722 | test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 18723 | (./conftest; exit; ) >&5 2>/dev/null |
| 18724 | lt_status=$? |
| 18725 | case x$lt_status in |
| 18726 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 18727 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 18728 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 18729 | esac |
| 18730 | else : |
| 18731 | # compilation failed |
| 18732 | lt_cv_dlopen_self_static=no |
| 18733 | fi |
| 18734 | fi |
| 18735 | rm -fr conftest* |
| 18736 | |
| 18737 | ;; |
| 18738 | esac |
| 18739 | fi |
| 18740 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 18741 | printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 18742 | fi |
| 18743 | |
| 18744 | CPPFLAGS=$save_CPPFLAGS |
| 18745 | LDFLAGS=$save_LDFLAGS |
| 18746 | LIBS=$save_LIBS |
| 18747 | ;; |
| 18748 | esac |
| 18749 | |
| 18750 | case $lt_cv_dlopen_self in |
| 18751 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 18752 | *) enable_dlopen_self=unknown ;; |
| 18753 | esac |
| 18754 | |
| 18755 | case $lt_cv_dlopen_self_static in |
| 18756 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 18757 | *) enable_dlopen_self_static=unknown ;; |
| 18758 | esac |
| 18759 | fi |
| 18760 | |
| 18761 | |
| 18762 | |
| 18763 | |
| 18764 | |
| 18765 | |
| 18766 | |
| 18767 | |
| 18768 | |
| 18769 | |
| 18770 | |
| 18771 | |
| 18772 | |
| 18773 | |
| 18774 | |
| 18775 | |
| 18776 | |
| 18777 | striplib= |
| 18778 | old_striplib= |
| 18779 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 18780 | printf %s "checking whether stripping libraries is possible... " >&6; } |
| 18781 | if test -z "$STRIP"; then |
| 18782 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 18783 | printf "%s\n" "no" >&6; } |
| 18784 | else |
| 18785 | if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 18786 | old_striplib="$STRIP --strip-debug" |
| 18787 | striplib="$STRIP --strip-unneeded" |
| 18788 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 18789 | printf "%s\n" "yes" >&6; } |
| 18790 | else |
| 18791 | case $host_os in |
| 18792 | darwin*) |
| 18793 | # FIXME - insert some real tests, host_os isn't really good enough |
| 18794 | striplib="$STRIP -x" |
| 18795 | old_striplib="$STRIP -S" |
| 18796 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 18797 | printf "%s\n" "yes" >&6; } |
| 18798 | ;; |
| 18799 | freebsd*) |
| 18800 | if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then |
| 18801 | old_striplib="$STRIP --strip-debug" |
| 18802 | striplib="$STRIP --strip-unneeded" |
| 18803 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 18804 | printf "%s\n" "yes" >&6; } |
| 18805 | else |
| 18806 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 18807 | printf "%s\n" "no" >&6; } |
| 18808 | fi |
| 18809 | ;; |
| 18810 | *) |
| 18811 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 18812 | printf "%s\n" "no" >&6; } |
| 18813 | ;; |
| 18814 | esac |
| 18815 | fi |
| 18816 | fi |
| 18817 | |
| 18818 | |
| 18819 | |
| 18820 | |
| 18821 | |
| 18822 | |
| 18823 | |
| 18824 | |
| 18825 | |
| 18826 | |
| 18827 | |
| 18828 | |
| 18829 | # Report what library types will actually be built |
| 18830 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 18831 | printf %s "checking if libtool supports shared libraries... " >&6; } |
| 18832 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 18833 | printf "%s\n" "$can_build_shared" >&6; } |
| 18834 | |
| 18835 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 18836 | printf %s "checking whether to build shared libraries... " >&6; } |
| 18837 | test no = "$can_build_shared" && enable_shared=no |
| 18838 | |
| 18839 | # On AIX, shared libraries and static libraries use the same namespace, and |
| 18840 | # are all built from PIC. |
| 18841 | case $host_os in |
| 18842 | aix3*) |
| 18843 | test yes = "$enable_shared" && enable_static=no |
| 18844 | if test -n "$RANLIB"; then |
| 18845 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 18846 | postinstall_cmds='$RANLIB $lib' |
| 18847 | fi |
| 18848 | ;; |
| 18849 | |
| 18850 | aix[4-9]*) |
| 18851 | if test ia64 != "$host_cpu"; then |
| 18852 | case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 18853 | yes,aix,yes) ;; # shared object as lib.so file only |
| 18854 | yes,svr4,*) ;; # shared object as lib.so archive member only |
| 18855 | yes,*) enable_static=no ;; # shared object in lib.a archive as well |
| 18856 | esac |
| 18857 | fi |
| 18858 | ;; |
| 18859 | esac |
| 18860 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 18861 | printf "%s\n" "$enable_shared" >&6; } |
| 18862 | |
| 18863 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 18864 | printf %s "checking whether to build static libraries... " >&6; } |
| 18865 | # Make sure either enable_shared or enable_static is yes. |
| 18866 | test yes = "$enable_shared" || enable_static=yes |
| 18867 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 18868 | printf "%s\n" "$enable_static" >&6; } |
| 18869 | |
| 18870 | |
| 18871 | |
| 18872 | |
| 18873 | fi |
| 18874 | ac_ext=c |
| 18875 | ac_cpp='$CPP $CPPFLAGS' |
| 18876 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 18877 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 18878 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 18879 | |
| 18880 | CC=$lt_save_CC |
| 18881 | |
| 18882 | |
| 18883 | |
| 18884 | |
| 18885 | |
| 18886 | |
| 18887 | |
| 18888 | |
| 18889 | |
| 18890 | |
| 18891 | |
| 18892 | |
| 18893 | |
| 18894 | |
| 18895 | |
| 18896 | ac_config_commands="$ac_config_commands libtool" |
| 18897 | |
| 18898 | |
| 18899 | |
| 18900 | |
| 18901 | # Only expand once: |
| 18902 | |
| 18903 | |
| 18904 | # (end lt_init) |
| 18905 | # Check whether --enable-largefile was given. |
| 18906 | if test ${enable_largefile+y} |
| 18907 | then : |
| 18908 | enableval=$enable_largefile; |
| 18909 | fi |
| 18910 | if test "$enable_largefile,$enable_year2038" != no,no |
| 18911 | then : |
| 18912 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5 |
| 18913 | printf %s "checking for $CC option to enable large file support... " >&6; } |
| 18914 | if test ${ac_cv_sys_largefile_opts+y} |
| 18915 | then : |
| 18916 | printf %s "(cached) " >&6 |
| 18917 | else case e in #( |
| 18918 | e) ac_save_CC="$CC" |
| 18919 | ac_opt_found=no |
| 18920 | for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do |
| 18921 | if test x"$ac_opt" != x"none needed" |
| 18922 | then : |
| 18923 | CC="$ac_save_CC $ac_opt" |
| 18924 | fi |
| 18925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18926 | /* end confdefs.h. */ |
| 18927 | #include <sys/types.h> |
| 18928 | #ifndef FTYPE |
| 18929 | # define FTYPE off_t |
| 18930 | #endif |
| 18931 | /* Check that FTYPE can represent 2**63 - 1 correctly. |
| 18932 | We can't simply define LARGE_FTYPE to be 9223372036854775807, |
| 18933 | since some C++ compilers masquerading as C compilers |
| 18934 | incorrectly reject 9223372036854775807. */ |
| 18935 | #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31)) |
| 18936 | int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721 |
| 18937 | && LARGE_FTYPE % 2147483647 == 1) |
| 18938 | ? 1 : -1]; |
| 18939 | int |
| 18940 | main (void) |
| 18941 | { |
| 18942 | |
| 18943 | ; |
| 18944 | return 0; |
| 18945 | } |
| 18946 | _ACEOF |
| 18947 | if ac_fn_c_try_compile "$LINENO" |
| 18948 | then : |
| 18949 | if test x"$ac_opt" = x"none needed" |
| 18950 | then : |
| 18951 | # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. |
| 18952 | CC="$CC -DFTYPE=ino_t" |
| 18953 | if ac_fn_c_try_compile "$LINENO" |
| 18954 | then : |
| 18955 | |
| 18956 | else case e in #( |
| 18957 | e) CC="$CC -D_FILE_OFFSET_BITS=64" |
| 18958 | if ac_fn_c_try_compile "$LINENO" |
| 18959 | then : |
| 18960 | ac_opt='-D_FILE_OFFSET_BITS=64' |
| 18961 | fi |
| 18962 | rm -f core conftest.err conftest.$ac_objext conftest.beam ;; |
| 18963 | esac |
| 18964 | fi |
| 18965 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 18966 | fi |
| 18967 | ac_cv_sys_largefile_opts=$ac_opt |
| 18968 | ac_opt_found=yes |
| 18969 | fi |
| 18970 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18971 | test $ac_opt_found = no || break |
| 18972 | done |
| 18973 | CC="$ac_save_CC" |
| 18974 | |
| 18975 | test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;; |
| 18976 | esac |
| 18977 | fi |
| 18978 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5 |
| 18979 | printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; } |
| 18980 | |
| 18981 | ac_have_largefile=yes |
| 18982 | case $ac_cv_sys_largefile_opts in #( |
| 18983 | "none needed") : |
| 18984 | ;; #( |
| 18985 | "supported through gnulib") : |
| 18986 | ;; #( |
| 18987 | "support not detected") : |
| 18988 | ac_have_largefile=no ;; #( |
| 18989 | "-D_FILE_OFFSET_BITS=64") : |
| 18990 | |
| 18991 | printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h |
| 18992 | ;; #( |
| 18993 | "-D_LARGE_FILES=1") : |
| 18994 | |
| 18995 | printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h |
| 18996 | ;; #( |
| 18997 | "-n32") : |
| 18998 | CC="$CC -n32" ;; #( |
| 18999 | *) : |
| 19000 | as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;; |
| 19001 | esac |
| 19002 | |
| 19003 | if test "$enable_year2038" != no |
| 19004 | then : |
| 19005 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5 |
| 19006 | printf %s "checking for $CC option for timestamps after 2038... " >&6; } |
| 19007 | if test ${ac_cv_sys_year2038_opts+y} |
| 19008 | then : |
| 19009 | printf %s "(cached) " >&6 |
| 19010 | else case e in #( |
| 19011 | e) ac_save_CPPFLAGS="$CPPFLAGS" |
| 19012 | ac_opt_found=no |
| 19013 | for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do |
| 19014 | if test x"$ac_opt" != x"none needed" |
| 19015 | then : |
| 19016 | CPPFLAGS="$ac_save_CPPFLAGS $ac_opt" |
| 19017 | fi |
| 19018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19019 | /* end confdefs.h. */ |
| 19020 | |
| 19021 | #include <time.h> |
| 19022 | /* Check that time_t can represent 2**32 - 1 correctly. */ |
| 19023 | #define LARGE_TIME_T \\ |
| 19024 | ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) |
| 19025 | int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 |
| 19026 | && LARGE_TIME_T % 65537 == 0) |
| 19027 | ? 1 : -1]; |
| 19028 | |
| 19029 | int |
| 19030 | main (void) |
| 19031 | { |
| 19032 | |
| 19033 | ; |
| 19034 | return 0; |
| 19035 | } |
| 19036 | _ACEOF |
| 19037 | if ac_fn_c_try_compile "$LINENO" |
| 19038 | then : |
| 19039 | ac_cv_sys_year2038_opts="$ac_opt" |
| 19040 | ac_opt_found=yes |
| 19041 | fi |
| 19042 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19043 | test $ac_opt_found = no || break |
| 19044 | done |
| 19045 | CPPFLAGS="$ac_save_CPPFLAGS" |
| 19046 | test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;; |
| 19047 | esac |
| 19048 | fi |
| 19049 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5 |
| 19050 | printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; } |
| 19051 | |
| 19052 | ac_have_year2038=yes |
| 19053 | case $ac_cv_sys_year2038_opts in #( |
| 19054 | "none needed") : |
| 19055 | ;; #( |
| 19056 | "support not detected") : |
| 19057 | ac_have_year2038=no ;; #( |
| 19058 | "-D_TIME_BITS=64") : |
| 19059 | |
| 19060 | printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h |
| 19061 | ;; #( |
| 19062 | "-D__MINGW_USE_VC2005_COMPAT") : |
| 19063 | |
| 19064 | printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h |
| 19065 | ;; #( |
| 19066 | "-U_USE_32_BIT_TIME_T"*) : |
| 19067 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 19068 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 19069 | as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It |
| 19070 | will stop working after mid-January 2038. Remove |
| 19071 | _USE_32BIT_TIME_T from the compiler flags. |
| 19072 | See 'config.log' for more details" "$LINENO" 5; } ;; #( |
| 19073 | *) : |
| 19074 | as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;; |
| 19075 | esac |
| 19076 | |
| 19077 | fi |
| 19078 | |
| 19079 | fi |
| 19080 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5 |
| 19081 | printf %s "checking for declarations of fseeko and ftello... " >&6; } |
| 19082 | if test ${ac_cv_func_fseeko_ftello+y} |
| 19083 | then : |
| 19084 | printf %s "(cached) " >&6 |
| 19085 | else case e in #( |
| 19086 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19087 | /* end confdefs.h. */ |
| 19088 | |
| 19089 | #if defined __hpux && !defined _LARGEFILE_SOURCE |
| 19090 | # include <limits.h> |
| 19091 | # if LONG_MAX >> 31 == 0 |
| 19092 | # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++" |
| 19093 | # endif |
| 19094 | #endif |
| 19095 | #include <sys/types.h> /* for off_t */ |
| 19096 | #include <stdio.h> |
| 19097 | |
| 19098 | int |
| 19099 | main (void) |
| 19100 | { |
| 19101 | |
| 19102 | int (*fp1) (FILE *, off_t, int) = fseeko; |
| 19103 | off_t (*fp2) (FILE *) = ftello; |
| 19104 | return fseeko (stdin, 0, 0) |
| 19105 | && fp1 (stdin, 0, 0) |
| 19106 | && ftello (stdin) >= 0 |
| 19107 | && fp2 (stdin) >= 0; |
| 19108 | |
| 19109 | ; |
| 19110 | return 0; |
| 19111 | } |
| 19112 | _ACEOF |
| 19113 | if ac_fn_c_try_compile "$LINENO" |
| 19114 | then : |
| 19115 | ac_cv_func_fseeko_ftello=yes |
| 19116 | else case e in #( |
| 19117 | e) ac_save_CPPFLAGS="$CPPFLAGS" |
| 19118 | CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1" |
| 19119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19120 | /* end confdefs.h. */ |
| 19121 | |
| 19122 | #if defined __hpux && !defined _LARGEFILE_SOURCE |
| 19123 | # include <limits.h> |
| 19124 | # if LONG_MAX >> 31 == 0 |
| 19125 | # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++" |
| 19126 | # endif |
| 19127 | #endif |
| 19128 | #include <sys/types.h> /* for off_t */ |
| 19129 | #include <stdio.h> |
| 19130 | |
| 19131 | int |
| 19132 | main (void) |
| 19133 | { |
| 19134 | |
| 19135 | int (*fp1) (FILE *, off_t, int) = fseeko; |
| 19136 | off_t (*fp2) (FILE *) = ftello; |
| 19137 | return fseeko (stdin, 0, 0) |
| 19138 | && fp1 (stdin, 0, 0) |
| 19139 | && ftello (stdin) >= 0 |
| 19140 | && fp2 (stdin) >= 0; |
| 19141 | |
| 19142 | ; |
| 19143 | return 0; |
| 19144 | } |
| 19145 | _ACEOF |
| 19146 | if ac_fn_c_try_compile "$LINENO" |
| 19147 | then : |
| 19148 | ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE" |
| 19149 | else case e in #( |
| 19150 | e) ac_cv_func_fseeko_ftello=no ;; |
| 19151 | esac |
| 19152 | fi |
| 19153 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 19154 | esac |
| 19155 | fi |
| 19156 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 19157 | esac |
| 19158 | fi |
| 19159 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5 |
| 19160 | printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; } |
| 19161 | if test "$ac_cv_func_fseeko_ftello" != no |
| 19162 | then : |
| 19163 | |
| 19164 | printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h |
| 19165 | |
| 19166 | fi |
| 19167 | if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE" |
| 19168 | then : |
| 19169 | |
| 19170 | printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h |
| 19171 | |
| 19172 | fi |
| 19173 | |
| 19174 | ac_header_dirent=no |
| 19175 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
| 19176 | as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"` |
| 19177 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
| 19178 | printf %s "checking for $ac_hdr that defines DIR... " >&6; } |
| 19179 | if eval test \${$as_ac_Header+y} |
| 19180 | then : |
| 19181 | printf %s "(cached) " >&6 |
| 19182 | else case e in #( |
| 19183 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19184 | /* end confdefs.h. */ |
| 19185 | #include <sys/types.h> |
| 19186 | #include <$ac_hdr> |
| 19187 | |
| 19188 | int |
| 19189 | main (void) |
| 19190 | { |
| 19191 | if ((DIR *) 0) |
| 19192 | return 0; |
| 19193 | ; |
| 19194 | return 0; |
| 19195 | } |
| 19196 | _ACEOF |
| 19197 | if ac_fn_c_try_compile "$LINENO" |
| 19198 | then : |
| 19199 | eval "$as_ac_Header=yes" |
| 19200 | else case e in #( |
| 19201 | e) eval "$as_ac_Header=no" ;; |
| 19202 | esac |
| 19203 | fi |
| 19204 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 19205 | esac |
| 19206 | fi |
| 19207 | eval ac_res=\$$as_ac_Header |
| 19208 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 19209 | printf "%s\n" "$ac_res" >&6; } |
| 19210 | if eval test \"x\$"$as_ac_Header"\" = x"yes" |
| 19211 | then : |
| 19212 | cat >>confdefs.h <<_ACEOF |
| 19213 | #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1 |
| 19214 | _ACEOF |
| 19215 | |
| 19216 | ac_header_dirent=$ac_hdr; break |
| 19217 | fi |
| 19218 | |
| 19219 | done |
| 19220 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 19221 | if test $ac_header_dirent = dirent.h; then |
| 19222 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 19223 | printf %s "checking for library containing opendir... " >&6; } |
| 19224 | if test ${ac_cv_search_opendir+y} |
| 19225 | then : |
| 19226 | printf %s "(cached) " >&6 |
| 19227 | else case e in #( |
| 19228 | e) ac_func_search_save_LIBS=$LIBS |
| 19229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19230 | /* end confdefs.h. */ |
| 19231 | |
| 19232 | /* Override any GCC internal prototype to avoid an error. |
| 19233 | Use char because int might match the return type of a GCC |
| 19234 | builtin and then its argument prototype would still apply. |
| 19235 | The 'extern "C"' is for builds by C++ compilers; |
| 19236 | although this is not generally supported in C code supporting it here |
| 19237 | has little cost and some practical benefit (sr 110532). */ |
| 19238 | #ifdef __cplusplus |
| 19239 | extern "C" |
| 19240 | #endif |
| 19241 | char opendir (void); |
| 19242 | int |
| 19243 | main (void) |
| 19244 | { |
| 19245 | return opendir (); |
| 19246 | ; |
| 19247 | return 0; |
| 19248 | } |
| 19249 | _ACEOF |
| 19250 | for ac_lib in '' dir |
| 19251 | do |
| 19252 | if test -z "$ac_lib"; then |
| 19253 | ac_res="none required" |
| 19254 | else |
| 19255 | ac_res=-l$ac_lib |
| 19256 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 19257 | fi |
| 19258 | if ac_fn_c_try_link "$LINENO" |
| 19259 | then : |
| 19260 | ac_cv_search_opendir=$ac_res |
| 19261 | fi |
| 19262 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19263 | conftest$ac_exeext |
| 19264 | if test ${ac_cv_search_opendir+y} |
| 19265 | then : |
| 19266 | break |
| 19267 | fi |
| 19268 | done |
| 19269 | if test ${ac_cv_search_opendir+y} |
| 19270 | then : |
| 19271 | |
| 19272 | else case e in #( |
| 19273 | e) ac_cv_search_opendir=no ;; |
| 19274 | esac |
| 19275 | fi |
| 19276 | rm conftest.$ac_ext |
| 19277 | LIBS=$ac_func_search_save_LIBS ;; |
| 19278 | esac |
| 19279 | fi |
| 19280 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 19281 | printf "%s\n" "$ac_cv_search_opendir" >&6; } |
| 19282 | ac_res=$ac_cv_search_opendir |
| 19283 | if test "$ac_res" != no |
| 19284 | then : |
| 19285 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 19286 | |
| 19287 | fi |
| 19288 | |
| 19289 | else |
| 19290 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 19291 | printf %s "checking for library containing opendir... " >&6; } |
| 19292 | if test ${ac_cv_search_opendir+y} |
| 19293 | then : |
| 19294 | printf %s "(cached) " >&6 |
| 19295 | else case e in #( |
| 19296 | e) ac_func_search_save_LIBS=$LIBS |
| 19297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19298 | /* end confdefs.h. */ |
| 19299 | |
| 19300 | /* Override any GCC internal prototype to avoid an error. |
| 19301 | Use char because int might match the return type of a GCC |
| 19302 | builtin and then its argument prototype would still apply. |
| 19303 | The 'extern "C"' is for builds by C++ compilers; |
| 19304 | although this is not generally supported in C code supporting it here |
| 19305 | has little cost and some practical benefit (sr 110532). */ |
| 19306 | #ifdef __cplusplus |
| 19307 | extern "C" |
| 19308 | #endif |
| 19309 | char opendir (void); |
| 19310 | int |
| 19311 | main (void) |
| 19312 | { |
| 19313 | return opendir (); |
| 19314 | ; |
| 19315 | return 0; |
| 19316 | } |
| 19317 | _ACEOF |
| 19318 | for ac_lib in '' x |
| 19319 | do |
| 19320 | if test -z "$ac_lib"; then |
| 19321 | ac_res="none required" |
| 19322 | else |
| 19323 | ac_res=-l$ac_lib |
| 19324 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 19325 | fi |
| 19326 | if ac_fn_c_try_link "$LINENO" |
| 19327 | then : |
| 19328 | ac_cv_search_opendir=$ac_res |
| 19329 | fi |
| 19330 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19331 | conftest$ac_exeext |
| 19332 | if test ${ac_cv_search_opendir+y} |
| 19333 | then : |
| 19334 | break |
| 19335 | fi |
| 19336 | done |
| 19337 | if test ${ac_cv_search_opendir+y} |
| 19338 | then : |
| 19339 | |
| 19340 | else case e in #( |
| 19341 | e) ac_cv_search_opendir=no ;; |
| 19342 | esac |
| 19343 | fi |
| 19344 | rm conftest.$ac_ext |
| 19345 | LIBS=$ac_func_search_save_LIBS ;; |
| 19346 | esac |
| 19347 | fi |
| 19348 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 19349 | printf "%s\n" "$ac_cv_search_opendir" >&6; } |
| 19350 | ac_res=$ac_cv_search_opendir |
| 19351 | if test "$ac_res" != no |
| 19352 | then : |
| 19353 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 19354 | |
| 19355 | fi |
| 19356 | |
| 19357 | fi |
| 19358 | |
| 19359 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 |
| 19360 | printf %s "checking whether closedir returns void... " >&6; } |
| 19361 | if test ${ac_cv_func_closedir_void+y} |
| 19362 | then : |
| 19363 | printf %s "(cached) " >&6 |
| 19364 | else case e in #( |
| 19365 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19366 | /* end confdefs.h. */ |
| 19367 | |
| 19368 | #include <$ac_header_dirent> |
| 19369 | |
| 19370 | int |
| 19371 | main (void) |
| 19372 | { |
| 19373 | |
| 19374 | return closedir(0); |
| 19375 | |
| 19376 | ; |
| 19377 | return 0; |
| 19378 | } |
| 19379 | _ACEOF |
| 19380 | if ac_fn_c_try_compile "$LINENO" |
| 19381 | then : |
| 19382 | ac_cv_func_closedir_void=no |
| 19383 | else case e in #( |
| 19384 | e) ac_cv_func_closedir_void=yes ;; |
| 19385 | esac |
| 19386 | fi |
| 19387 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 19388 | esac |
| 19389 | fi |
| 19390 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 |
| 19391 | printf "%s\n" "$ac_cv_func_closedir_void" >&6; } |
| 19392 | if test $ac_cv_func_closedir_void = yes; then |
| 19393 | |
| 19394 | printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h |
| 19395 | |
| 19396 | fi |
| 19397 | |
| 19398 | ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" |
| 19399 | if test "x$ac_cv_header_assert_h" = xyes |
| 19400 | then : |
| 19401 | printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h |
| 19402 | |
| 19403 | fi |
| 19404 | ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" |
| 19405 | if test "x$ac_cv_header_float_h" = xyes |
| 19406 | then : |
| 19407 | printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h |
| 19408 | |
| 19409 | fi |
| 19410 | ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" |
| 19411 | if test "x$ac_cv_header_limits_h" = xyes |
| 19412 | then : |
| 19413 | printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h |
| 19414 | |
| 19415 | fi |
| 19416 | ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" |
| 19417 | if test "x$ac_cv_header_pwd_h" = xyes |
| 19418 | then : |
| 19419 | printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h |
| 19420 | |
| 19421 | fi |
| 19422 | ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 19423 | if test "x$ac_cv_header_stdlib_h" = xyes |
| 19424 | then : |
| 19425 | printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h |
| 19426 | |
| 19427 | fi |
| 19428 | ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" |
| 19429 | if test "x$ac_cv_header_sys_param_h" = xyes |
| 19430 | then : |
| 19431 | printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h |
| 19432 | |
| 19433 | fi |
| 19434 | |
| 19435 | ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" |
| 19436 | if test "x$ac_cv_func_putenv" = xyes |
| 19437 | then : |
| 19438 | printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h |
| 19439 | |
| 19440 | fi |
| 19441 | |
| 19442 | ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" |
| 19443 | if test "x$ac_cv_func_getcwd" = xyes |
| 19444 | then : |
| 19445 | printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h |
| 19446 | |
| 19447 | fi |
| 19448 | ac_fn_c_check_func "$LINENO" "memcmp" "ac_cv_func_memcmp" |
| 19449 | if test "x$ac_cv_func_memcmp" = xyes |
| 19450 | then : |
| 19451 | printf "%s\n" "#define HAVE_MEMCMP 1" >>confdefs.h |
| 19452 | |
| 19453 | fi |
| 19454 | ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy" |
| 19455 | if test "x$ac_cv_func_memcpy" = xyes |
| 19456 | then : |
| 19457 | printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h |
| 19458 | |
| 19459 | fi |
| 19460 | ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" |
| 19461 | if test "x$ac_cv_func_mkstemp" = xyes |
| 19462 | then : |
| 19463 | printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h |
| 19464 | |
| 19465 | fi |
| 19466 | ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp" |
| 19467 | if test "x$ac_cv_func_mktemp" = xyes |
| 19468 | then : |
| 19469 | printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h |
| 19470 | |
| 19471 | fi |
| 19472 | ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr" |
| 19473 | if test "x$ac_cv_func_strchr" = xyes |
| 19474 | then : |
| 19475 | printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h |
| 19476 | |
| 19477 | fi |
| 19478 | ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr" |
| 19479 | if test "x$ac_cv_func_strrchr" = xyes |
| 19480 | then : |
| 19481 | printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h |
| 19482 | |
| 19483 | fi |
| 19484 | |
| 19485 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 19486 | printf %s "checking for an ANSI C-conforming const... " >&6; } |
| 19487 | if test ${ac_cv_c_const+y} |
| 19488 | then : |
| 19489 | printf %s "(cached) " >&6 |
| 19490 | else case e in #( |
| 19491 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19492 | /* end confdefs.h. */ |
| 19493 | |
| 19494 | int |
| 19495 | main (void) |
| 19496 | { |
| 19497 | |
| 19498 | #ifndef __cplusplus |
| 19499 | /* Ultrix mips cc rejects this sort of thing. */ |
| 19500 | typedef int charset[2]; |
| 19501 | const charset cs = { 0, 0 }; |
| 19502 | /* SunOS 4.1.1 cc rejects this. */ |
| 19503 | char const *const *pcpcc; |
| 19504 | char **ppc; |
| 19505 | /* NEC SVR4.0.2 mips cc rejects this. */ |
| 19506 | struct point {int x, y;}; |
| 19507 | static struct point const zero = {0,0}; |
| 19508 | /* IBM XL C 1.02.0.0 rejects this. |
| 19509 | It does not let you subtract one const X* pointer from another in |
| 19510 | an arm of an if-expression whose if-part is not a constant |
| 19511 | expression */ |
| 19512 | const char *g = "string"; |
| 19513 | pcpcc = &g + (g ? g-g : 0); |
| 19514 | /* HPUX 7.0 cc rejects these. */ |
| 19515 | ++pcpcc; |
| 19516 | ppc = (char**) pcpcc; |
| 19517 | pcpcc = (char const *const *) ppc; |
| 19518 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
| 19519 | char tx; |
| 19520 | char *t = &tx; |
| 19521 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 19522 | |
| 19523 | *t++ = 0; |
| 19524 | if (s) return 0; |
| 19525 | } |
| 19526 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 19527 | int x[] = {25, 17}; |
| 19528 | const int *foo = &x[0]; |
| 19529 | ++foo; |
| 19530 | } |
| 19531 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 19532 | typedef const int *iptr; |
| 19533 | iptr p = 0; |
| 19534 | ++p; |
| 19535 | } |
| 19536 | { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying |
| 19537 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 19538 | struct s { int j; const int *ap[3]; } bx; |
| 19539 | struct s *b = &bx; b->j = 5; |
| 19540 | } |
| 19541 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 19542 | const int foo = 10; |
| 19543 | if (!foo) return 0; |
| 19544 | } |
| 19545 | return !cs[0] && !zero.x; |
| 19546 | #endif |
| 19547 | |
| 19548 | ; |
| 19549 | return 0; |
| 19550 | } |
| 19551 | _ACEOF |
| 19552 | if ac_fn_c_try_compile "$LINENO" |
| 19553 | then : |
| 19554 | ac_cv_c_const=yes |
| 19555 | else case e in #( |
| 19556 | e) ac_cv_c_const=no ;; |
| 19557 | esac |
| 19558 | fi |
| 19559 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 19560 | esac |
| 19561 | fi |
| 19562 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 19563 | printf "%s\n" "$ac_cv_c_const" >&6; } |
| 19564 | if test $ac_cv_c_const = no; then |
| 19565 | |
| 19566 | printf "%s\n" "#define const /**/" >>confdefs.h |
| 19567 | |
| 19568 | fi |
| 19569 | |
| 19570 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 19571 | printf %s "checking for inline... " >&6; } |
| 19572 | if test ${ac_cv_c_inline+y} |
| 19573 | then : |
| 19574 | printf %s "(cached) " >&6 |
| 19575 | else case e in #( |
| 19576 | e) ac_cv_c_inline=no |
| 19577 | for ac_kw in inline __inline__ __inline; do |
| 19578 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19579 | /* end confdefs.h. */ |
| 19580 | #ifndef __cplusplus |
| 19581 | typedef int foo_t; |
| 19582 | static $ac_kw foo_t static_foo (void) {return 0; } |
| 19583 | $ac_kw foo_t foo (void) {return 0; } |
| 19584 | #endif |
| 19585 | |
| 19586 | _ACEOF |
| 19587 | if ac_fn_c_try_compile "$LINENO" |
| 19588 | then : |
| 19589 | ac_cv_c_inline=$ac_kw |
| 19590 | fi |
| 19591 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19592 | test "$ac_cv_c_inline" != no && break |
| 19593 | done |
| 19594 | ;; |
| 19595 | esac |
| 19596 | fi |
| 19597 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 19598 | printf "%s\n" "$ac_cv_c_inline" >&6; } |
| 19599 | |
| 19600 | case $ac_cv_c_inline in |
| 19601 | inline | yes) ;; |
| 19602 | *) |
| 19603 | case $ac_cv_c_inline in |
| 19604 | no) ac_val=;; |
| 19605 | *) ac_val=$ac_cv_c_inline;; |
| 19606 | esac |
| 19607 | cat >>confdefs.h <<_ACEOF |
| 19608 | #ifndef __cplusplus |
| 19609 | #define inline $ac_val |
| 19610 | #endif |
| 19611 | _ACEOF |
| 19612 | ;; |
| 19613 | esac |
| 19614 | |
| 19615 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 19616 | if test "x$ac_cv_type_size_t" = xyes |
| 19617 | then : |
| 19618 | |
| 19619 | else case e in #( |
| 19620 | e) |
| 19621 | printf "%s\n" "#define size_t unsigned int" >>confdefs.h |
| 19622 | ;; |
| 19623 | esac |
| 19624 | fi |
| 19625 | |
| 19626 | ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" |
| 19627 | case $ac_cv_c_int64_t in #( |
| 19628 | no|yes) ;; #( |
| 19629 | *) |
| 19630 | |
| 19631 | printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h |
| 19632 | ;; |
| 19633 | esac |
| 19634 | |
| 19635 | ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" |
| 19636 | case $ac_cv_c_uint64_t in #( |
| 19637 | no|yes) ;; #( |
| 19638 | *) |
| 19639 | |
| 19640 | printf "%s\n" "#define _UINT64_T 1" >>confdefs.h |
| 19641 | |
| 19642 | |
| 19643 | printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h |
| 19644 | ;; |
| 19645 | esac |
| 19646 | |
| 19647 | case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( |
| 19648 | *':no:'*) : |
| 19649 | as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #( |
| 19650 | *) : |
| 19651 | ;; |
| 19652 | esac |
| 19653 | ac_fn_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h> |
| 19654 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 19655 | if test "x$ac_cv_have_decl_isascii" = xyes |
| 19656 | then : |
| 19657 | ac_have_decl=1 |
| 19658 | else case e in #( |
| 19659 | e) ac_have_decl=0 ;; |
| 19660 | esac |
| 19661 | fi |
| 19662 | printf "%s\n" "#define HAVE_DECL_ISASCII $ac_have_decl" >>confdefs.h |
| 19663 | |
| 19664 | ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" |
| 19665 | if test "x$ac_cv_member_struct_stat_st_mtim" = xyes |
| 19666 | then : |
| 19667 | |
| 19668 | printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h |
| 19669 | |
| 19670 | |
| 19671 | fi |
| 19672 | |
| 19673 | |
| 19674 | if test "x$host_alias" != x && test "x$build_alias" = x |
| 19675 | then : |
| 19676 | as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5 |
| 19677 | fi |
| 19678 | eval kpse_build_alias=\${build_alias-$build} |
| 19679 | |
| 19680 | |
| 19681 | |
| 19682 | |
| 19683 | ac_ext=c |
| 19684 | ac_cpp='$CPP $CPPFLAGS' |
| 19685 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 19686 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 19687 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 19688 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 19689 | printf %s "checking how to run the C preprocessor... " >&6; } |
| 19690 | # On Suns, sometimes $CPP names a directory. |
| 19691 | if test -n "$CPP" && test -d "$CPP"; then |
| 19692 | CPP= |
| 19693 | fi |
| 19694 | if test -z "$CPP"; then |
| 19695 | if test ${ac_cv_prog_CPP+y} |
| 19696 | then : |
| 19697 | printf %s "(cached) " >&6 |
| 19698 | else case e in #( |
| 19699 | e) # Double quotes because $CC needs to be expanded |
| 19700 | for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp |
| 19701 | do |
| 19702 | ac_preproc_ok=false |
| 19703 | for ac_c_preproc_warn_flag in '' yes |
| 19704 | do |
| 19705 | # Use a header file that comes with gcc, so configuring glibc |
| 19706 | # with a fresh cross-compiler works. |
| 19707 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 19708 | # not just through cpp. "Syntax error" is here to catch this case. |
| 19709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19710 | /* end confdefs.h. */ |
| 19711 | #include <limits.h> |
| 19712 | Syntax error |
| 19713 | _ACEOF |
| 19714 | if ac_fn_c_try_cpp "$LINENO" |
| 19715 | then : |
| 19716 | |
| 19717 | else case e in #( |
| 19718 | e) # Broken: fails on valid input. |
| 19719 | continue ;; |
| 19720 | esac |
| 19721 | fi |
| 19722 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 19723 | |
| 19724 | # OK, works on sane cases. Now check whether nonexistent headers |
| 19725 | # can be detected and how. |
| 19726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19727 | /* end confdefs.h. */ |
| 19728 | #include <ac_nonexistent.h> |
| 19729 | _ACEOF |
| 19730 | if ac_fn_c_try_cpp "$LINENO" |
| 19731 | then : |
| 19732 | # Broken: success on invalid input. |
| 19733 | continue |
| 19734 | else case e in #( |
| 19735 | e) # Passes both tests. |
| 19736 | ac_preproc_ok=: |
| 19737 | break ;; |
| 19738 | esac |
| 19739 | fi |
| 19740 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 19741 | |
| 19742 | done |
| 19743 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 19744 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 19745 | if $ac_preproc_ok |
| 19746 | then : |
| 19747 | break |
| 19748 | fi |
| 19749 | |
| 19750 | done |
| 19751 | ac_cv_prog_CPP=$CPP |
| 19752 | ;; |
| 19753 | esac |
| 19754 | fi |
| 19755 | CPP=$ac_cv_prog_CPP |
| 19756 | else |
| 19757 | ac_cv_prog_CPP=$CPP |
| 19758 | fi |
| 19759 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 19760 | printf "%s\n" "$CPP" >&6; } |
| 19761 | ac_preproc_ok=false |
| 19762 | for ac_c_preproc_warn_flag in '' yes |
| 19763 | do |
| 19764 | # Use a header file that comes with gcc, so configuring glibc |
| 19765 | # with a fresh cross-compiler works. |
| 19766 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 19767 | # not just through cpp. "Syntax error" is here to catch this case. |
| 19768 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19769 | /* end confdefs.h. */ |
| 19770 | #include <limits.h> |
| 19771 | Syntax error |
| 19772 | _ACEOF |
| 19773 | if ac_fn_c_try_cpp "$LINENO" |
| 19774 | then : |
| 19775 | |
| 19776 | else case e in #( |
| 19777 | e) # Broken: fails on valid input. |
| 19778 | continue ;; |
| 19779 | esac |
| 19780 | fi |
| 19781 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 19782 | |
| 19783 | # OK, works on sane cases. Now check whether nonexistent headers |
| 19784 | # can be detected and how. |
| 19785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19786 | /* end confdefs.h. */ |
| 19787 | #include <ac_nonexistent.h> |
| 19788 | _ACEOF |
| 19789 | if ac_fn_c_try_cpp "$LINENO" |
| 19790 | then : |
| 19791 | # Broken: success on invalid input. |
| 19792 | continue |
| 19793 | else case e in #( |
| 19794 | e) # Passes both tests. |
| 19795 | ac_preproc_ok=: |
| 19796 | break ;; |
| 19797 | esac |
| 19798 | fi |
| 19799 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 19800 | |
| 19801 | done |
| 19802 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 19803 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 19804 | if $ac_preproc_ok |
| 19805 | then : |
| 19806 | |
| 19807 | else case e in #( |
| 19808 | e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 19809 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 19810 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 19811 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 19812 | esac |
| 19813 | fi |
| 19814 | |
| 19815 | ac_ext=c |
| 19816 | ac_cpp='$CPP $CPPFLAGS' |
| 19817 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 19818 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 19819 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 19820 | |
| 19821 | |
| 19822 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
| 19823 | printf %s "checking for X... " >&6; } |
| 19824 | |
| 19825 | |
| 19826 | # Check whether --with-x was given. |
| 19827 | if test ${with_x+y} |
| 19828 | then : |
| 19829 | withval=$with_x; |
| 19830 | fi |
| 19831 | |
| 19832 | # $have_x is 'yes', 'no', 'disabled', or empty when we do not yet know. |
| 19833 | if test "x$with_x" = xno; then |
| 19834 | # The user explicitly disabled X. |
| 19835 | have_x=disabled |
| 19836 | else |
| 19837 | case $x_includes,$x_libraries in #( |
| 19838 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
| 19839 | *,NONE | NONE,*) if test ${ac_cv_have_x+y} |
| 19840 | then : |
| 19841 | printf %s "(cached) " >&6 |
| 19842 | else case e in #( |
| 19843 | e) # One or both of the vars are not set, and there is no cached value. |
| 19844 | ac_x_includes=no |
| 19845 | ac_x_libraries=no |
| 19846 | # Do we need to do anything special at all? |
| 19847 | ac_save_LIBS=$LIBS |
| 19848 | LIBS="-lX11 $LIBS" |
| 19849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19850 | /* end confdefs.h. */ |
| 19851 | #include <X11/Xlib.h> |
| 19852 | int |
| 19853 | main (void) |
| 19854 | { |
| 19855 | XrmInitialize () |
| 19856 | ; |
| 19857 | return 0; |
| 19858 | } |
| 19859 | _ACEOF |
| 19860 | if ac_fn_c_try_link "$LINENO" |
| 19861 | then : |
| 19862 | # We can compile and link X programs with no special options. |
| 19863 | ac_x_includes= |
| 19864 | ac_x_libraries= |
| 19865 | fi |
| 19866 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19867 | conftest$ac_exeext conftest.$ac_ext |
| 19868 | LIBS="$ac_save_LIBS" |
| 19869 | # If that didn't work, only try xmkmf and file system searches |
| 19870 | # for native compilation. |
| 19871 | if test x"$ac_x_includes" = xno && test "$cross_compiling" = no |
| 19872 | then : |
| 19873 | rm -f -r conftest.dir |
| 19874 | if mkdir conftest.dir; then |
| 19875 | cd conftest.dir |
| 19876 | cat >Imakefile <<'_ACEOF' |
| 19877 | incroot: |
| 19878 | @echo incroot='${INCROOT}' |
| 19879 | usrlibdir: |
| 19880 | @echo usrlibdir='${USRLIBDIR}' |
| 19881 | libdir: |
| 19882 | @echo libdir='${LIBDIR}' |
| 19883 | _ACEOF |
| 19884 | if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
| 19885 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 19886 | for ac_var in incroot usrlibdir libdir; do |
| 19887 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
| 19888 | done |
| 19889 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
| 19890 | for ac_extension in a so sl dylib la dll; do |
| 19891 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
| 19892 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
| 19893 | ac_im_usrlibdir=$ac_im_libdir; break |
| 19894 | fi |
| 19895 | done |
| 19896 | # Screen out bogus values from the imake configuration. They are |
| 19897 | # bogus both because they are the default anyway, and because |
| 19898 | # using them would break gcc on systems where it needs fixed includes. |
| 19899 | case $ac_im_incroot in |
| 19900 | /usr/include) ac_x_includes= ;; |
| 19901 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 19902 | esac |
| 19903 | case $ac_im_usrlibdir in |
| 19904 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
| 19905 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 19906 | esac |
| 19907 | fi |
| 19908 | cd .. |
| 19909 | rm -f -r conftest.dir |
| 19910 | fi |
| 19911 | |
| 19912 | # Standard set of common directories for X headers. |
| 19913 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 19914 | ac_x_header_dirs=' |
| 19915 | /usr/X11/include |
| 19916 | /usr/X11R7/include |
| 19917 | /usr/X11R6/include |
| 19918 | /usr/X11R5/include |
| 19919 | /usr/X11R4/include |
| 19920 | |
| 19921 | /usr/include/X11 |
| 19922 | /usr/include/X11R7 |
| 19923 | /usr/include/X11R6 |
| 19924 | /usr/include/X11R5 |
| 19925 | /usr/include/X11R4 |
| 19926 | |
| 19927 | /usr/local/X11/include |
| 19928 | /usr/local/X11R7/include |
| 19929 | /usr/local/X11R6/include |
| 19930 | /usr/local/X11R5/include |
| 19931 | /usr/local/X11R4/include |
| 19932 | |
| 19933 | /usr/local/include/X11 |
| 19934 | /usr/local/include/X11R7 |
| 19935 | /usr/local/include/X11R6 |
| 19936 | /usr/local/include/X11R5 |
| 19937 | /usr/local/include/X11R4 |
| 19938 | |
| 19939 | /opt/X11/include |
| 19940 | |
| 19941 | /usr/X386/include |
| 19942 | /usr/x386/include |
| 19943 | /usr/XFree86/include/X11 |
| 19944 | |
| 19945 | /usr/include |
| 19946 | /usr/local/include |
| 19947 | /usr/unsupported/include |
| 19948 | /usr/athena/include |
| 19949 | /usr/local/x11r5/include |
| 19950 | /usr/lpp/Xamples/include |
| 19951 | |
| 19952 | /usr/openwin/include |
| 19953 | /usr/openwin/share/include' |
| 19954 | |
| 19955 | if test "$ac_x_includes" = no; then |
| 19956 | # Guess where to find include files, by looking for Xlib.h. |
| 19957 | # First, try using that file with no special directory specified. |
| 19958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19959 | /* end confdefs.h. */ |
| 19960 | #include <X11/Xlib.h> |
| 19961 | _ACEOF |
| 19962 | if ac_fn_c_try_cpp "$LINENO" |
| 19963 | then : |
| 19964 | # We can compile using X headers with no special include directory. |
| 19965 | ac_x_includes= |
| 19966 | else case e in #( |
| 19967 | e) for ac_dir in $ac_x_header_dirs; do |
| 19968 | if test -r "$ac_dir/X11/Xlib.h"; then |
| 19969 | ac_x_includes=$ac_dir |
| 19970 | break |
| 19971 | fi |
| 19972 | done ;; |
| 19973 | esac |
| 19974 | fi |
| 19975 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 19976 | fi # $ac_x_includes = no |
| 19977 | |
| 19978 | if test "$ac_x_libraries" = no; then |
| 19979 | # Check for the libraries. |
| 19980 | # See if we find them without any special options. |
| 19981 | # Don't add to $LIBS permanently. |
| 19982 | ac_save_LIBS=$LIBS |
| 19983 | LIBS="-lX11 $LIBS" |
| 19984 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19985 | /* end confdefs.h. */ |
| 19986 | #include <X11/Xlib.h> |
| 19987 | int |
| 19988 | main (void) |
| 19989 | { |
| 19990 | XrmInitialize () |
| 19991 | ; |
| 19992 | return 0; |
| 19993 | } |
| 19994 | _ACEOF |
| 19995 | if ac_fn_c_try_link "$LINENO" |
| 19996 | then : |
| 19997 | LIBS=$ac_save_LIBS |
| 19998 | # We can link X programs with no special library path. |
| 19999 | ac_x_libraries= |
| 20000 | else case e in #( |
| 20001 | e) LIBS=$ac_save_LIBS |
| 20002 | for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 20003 | do |
| 20004 | # Don't even attempt the hair of trying to link an X program! |
| 20005 | for ac_extension in a so sl dylib la dll; do |
| 20006 | if test -r "$ac_dir/libX11.$ac_extension"; then |
| 20007 | ac_x_libraries=$ac_dir |
| 20008 | break 2 |
| 20009 | fi |
| 20010 | done |
| 20011 | done ;; |
| 20012 | esac |
| 20013 | fi |
| 20014 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20015 | conftest$ac_exeext conftest.$ac_ext |
| 20016 | fi # $ac_x_libraries = no |
| 20017 | |
| 20018 | fi |
| 20019 | # Record the results. |
| 20020 | case $ac_x_includes,$ac_x_libraries in #( |
| 20021 | no,* | *,no | *\'*) : |
| 20022 | # Didn't find X, or a directory has "'" in its name. |
| 20023 | ac_cv_have_x="have_x=no" ;; #( |
| 20024 | *) : |
| 20025 | # Record where we found X for the cache. |
| 20026 | ac_cv_have_x="have_x=yes\ |
| 20027 | ac_x_includes='$ac_x_includes'\ |
| 20028 | ac_x_libraries='$ac_x_libraries'" ;; |
| 20029 | esac ;; |
| 20030 | esac |
| 20031 | fi |
| 20032 | ;; #( |
| 20033 | *) have_x=yes;; |
| 20034 | esac |
| 20035 | eval "$ac_cv_have_x" |
| 20036 | fi # $with_x != no |
| 20037 | |
| 20038 | if test "$have_x" != yes; then |
| 20039 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
| 20040 | printf "%s\n" "$have_x" >&6; } |
| 20041 | no_x=yes |
| 20042 | else |
| 20043 | # If each of the values was on the command line, it overrides each guess. |
| 20044 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
| 20045 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
| 20046 | # Update the cache value to reflect the command line values. |
| 20047 | ac_cv_have_x="have_x=yes\ |
| 20048 | ac_x_includes='$x_includes'\ |
| 20049 | ac_x_libraries='$x_libraries'" |
| 20050 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 |
| 20051 | printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } |
| 20052 | fi |
| 20053 | |
| 20054 | if test "$no_x" = yes; then |
| 20055 | # Not all programs may use this symbol, but it does not hurt to define it. |
| 20056 | |
| 20057 | printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h |
| 20058 | |
| 20059 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
| 20060 | else |
| 20061 | if test -n "$x_includes"; then |
| 20062 | X_CFLAGS="$X_CFLAGS -I$x_includes" |
| 20063 | fi |
| 20064 | |
| 20065 | # It would also be nice to do this for all -L options, not just this one. |
| 20066 | if test -n "$x_libraries"; then |
| 20067 | X_LIBS="$X_LIBS -L$x_libraries" |
| 20068 | # For Solaris; some versions of Sun CC require a space after -R and |
| 20069 | # others require no space. Words are not sufficient . . . . |
| 20070 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 |
| 20071 | printf %s "checking whether -R must be followed by a space... " >&6; } |
| 20072 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
| 20073 | ac_xsave_c_werror_flag=$ac_c_werror_flag |
| 20074 | ac_c_werror_flag=yes |
| 20075 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20076 | /* end confdefs.h. */ |
| 20077 | |
| 20078 | int |
| 20079 | main (void) |
| 20080 | { |
| 20081 | |
| 20082 | ; |
| 20083 | return 0; |
| 20084 | } |
| 20085 | _ACEOF |
| 20086 | if ac_fn_c_try_link "$LINENO" |
| 20087 | then : |
| 20088 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20089 | printf "%s\n" "no" >&6; } |
| 20090 | X_LIBS="$X_LIBS -R$x_libraries" |
| 20091 | else case e in #( |
| 20092 | e) LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 20093 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20094 | /* end confdefs.h. */ |
| 20095 | |
| 20096 | int |
| 20097 | main (void) |
| 20098 | { |
| 20099 | |
| 20100 | ; |
| 20101 | return 0; |
| 20102 | } |
| 20103 | _ACEOF |
| 20104 | if ac_fn_c_try_link "$LINENO" |
| 20105 | then : |
| 20106 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20107 | printf "%s\n" "yes" >&6; } |
| 20108 | X_LIBS="$X_LIBS -R $x_libraries" |
| 20109 | else case e in #( |
| 20110 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 |
| 20111 | printf "%s\n" "neither works" >&6; } ;; |
| 20112 | esac |
| 20113 | fi |
| 20114 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20115 | conftest$ac_exeext conftest.$ac_ext ;; |
| 20116 | esac |
| 20117 | fi |
| 20118 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20119 | conftest$ac_exeext conftest.$ac_ext |
| 20120 | ac_c_werror_flag=$ac_xsave_c_werror_flag |
| 20121 | LIBS=$ac_xsave_LIBS |
| 20122 | fi |
| 20123 | |
| 20124 | # Check for system-dependent libraries X programs must link with. |
| 20125 | # Do this before checking for the system-independent R6 libraries |
| 20126 | # (-lICE), since we may need -lsocket or whatever for X linking. |
| 20127 | |
| 20128 | if test "$ISC" = yes; then |
| 20129 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
| 20130 | else |
| 20131 | # Martyn Johnson says this is needed for Ultrix, if the X |
| 20132 | # libraries were built with DECnet support. And Karl Berry says |
| 20133 | # the Alpha needs dnet_stub (dnet does not exist). |
| 20134 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
| 20135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20136 | /* end confdefs.h. */ |
| 20137 | |
| 20138 | /* Override any GCC internal prototype to avoid an error. |
| 20139 | Use char because int might match the return type of a GCC |
| 20140 | builtin and then its argument prototype would still apply. |
| 20141 | The 'extern "C"' is for builds by C++ compilers; |
| 20142 | although this is not generally supported in C code supporting it here |
| 20143 | has little cost and some practical benefit (sr 110532). */ |
| 20144 | #ifdef __cplusplus |
| 20145 | extern "C" |
| 20146 | #endif |
| 20147 | char XOpenDisplay (void); |
| 20148 | int |
| 20149 | main (void) |
| 20150 | { |
| 20151 | return XOpenDisplay (); |
| 20152 | ; |
| 20153 | return 0; |
| 20154 | } |
| 20155 | _ACEOF |
| 20156 | if ac_fn_c_try_link "$LINENO" |
| 20157 | then : |
| 20158 | |
| 20159 | else case e in #( |
| 20160 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
| 20161 | printf %s "checking for dnet_ntoa in -ldnet... " >&6; } |
| 20162 | if test ${ac_cv_lib_dnet_dnet_ntoa+y} |
| 20163 | then : |
| 20164 | printf %s "(cached) " >&6 |
| 20165 | else case e in #( |
| 20166 | e) ac_check_lib_save_LIBS=$LIBS |
| 20167 | LIBS="-ldnet $LIBS" |
| 20168 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20169 | /* end confdefs.h. */ |
| 20170 | |
| 20171 | /* Override any GCC internal prototype to avoid an error. |
| 20172 | Use char because int might match the return type of a GCC |
| 20173 | builtin and then its argument prototype would still apply. |
| 20174 | The 'extern "C"' is for builds by C++ compilers; |
| 20175 | although this is not generally supported in C code supporting it here |
| 20176 | has little cost and some practical benefit (sr 110532). */ |
| 20177 | #ifdef __cplusplus |
| 20178 | extern "C" |
| 20179 | #endif |
| 20180 | char dnet_ntoa (void); |
| 20181 | int |
| 20182 | main (void) |
| 20183 | { |
| 20184 | return dnet_ntoa (); |
| 20185 | ; |
| 20186 | return 0; |
| 20187 | } |
| 20188 | _ACEOF |
| 20189 | if ac_fn_c_try_link "$LINENO" |
| 20190 | then : |
| 20191 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 20192 | else case e in #( |
| 20193 | e) ac_cv_lib_dnet_dnet_ntoa=no ;; |
| 20194 | esac |
| 20195 | fi |
| 20196 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20197 | conftest$ac_exeext conftest.$ac_ext |
| 20198 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20199 | esac |
| 20200 | fi |
| 20201 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 20202 | printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 20203 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes |
| 20204 | then : |
| 20205 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
| 20206 | fi |
| 20207 | |
| 20208 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 20209 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 20210 | printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
| 20211 | if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} |
| 20212 | then : |
| 20213 | printf %s "(cached) " >&6 |
| 20214 | else case e in #( |
| 20215 | e) ac_check_lib_save_LIBS=$LIBS |
| 20216 | LIBS="-ldnet_stub $LIBS" |
| 20217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20218 | /* end confdefs.h. */ |
| 20219 | |
| 20220 | /* Override any GCC internal prototype to avoid an error. |
| 20221 | Use char because int might match the return type of a GCC |
| 20222 | builtin and then its argument prototype would still apply. |
| 20223 | The 'extern "C"' is for builds by C++ compilers; |
| 20224 | although this is not generally supported in C code supporting it here |
| 20225 | has little cost and some practical benefit (sr 110532). */ |
| 20226 | #ifdef __cplusplus |
| 20227 | extern "C" |
| 20228 | #endif |
| 20229 | char dnet_ntoa (void); |
| 20230 | int |
| 20231 | main (void) |
| 20232 | { |
| 20233 | return dnet_ntoa (); |
| 20234 | ; |
| 20235 | return 0; |
| 20236 | } |
| 20237 | _ACEOF |
| 20238 | if ac_fn_c_try_link "$LINENO" |
| 20239 | then : |
| 20240 | ac_cv_lib_dnet_stub_dnet_ntoa=yes |
| 20241 | else case e in #( |
| 20242 | e) ac_cv_lib_dnet_stub_dnet_ntoa=no ;; |
| 20243 | esac |
| 20244 | fi |
| 20245 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20246 | conftest$ac_exeext conftest.$ac_ext |
| 20247 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20248 | esac |
| 20249 | fi |
| 20250 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
| 20251 | printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
| 20252 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes |
| 20253 | then : |
| 20254 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
| 20255 | fi |
| 20256 | |
| 20257 | fi ;; |
| 20258 | esac |
| 20259 | fi |
| 20260 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20261 | conftest$ac_exeext conftest.$ac_ext |
| 20262 | LIBS="$ac_xsave_LIBS" |
| 20263 | |
| 20264 | # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT, |
| 20265 | # to get the SysV transport functions. |
| 20266 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 20267 | # needs -lnsl. |
| 20268 | # The nsl library prevents programs from opening the X display |
| 20269 | # on Irix 5.2, according to T.E. Dickey. |
| 20270 | # The functions gethostbyname, getservbyname, and inet_addr are |
| 20271 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
| 20272 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
| 20273 | if test "x$ac_cv_func_gethostbyname" = xyes |
| 20274 | then : |
| 20275 | |
| 20276 | fi |
| 20277 | |
| 20278 | if test $ac_cv_func_gethostbyname = no; then |
| 20279 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
| 20280 | printf %s "checking for gethostbyname in -lnsl... " >&6; } |
| 20281 | if test ${ac_cv_lib_nsl_gethostbyname+y} |
| 20282 | then : |
| 20283 | printf %s "(cached) " >&6 |
| 20284 | else case e in #( |
| 20285 | e) ac_check_lib_save_LIBS=$LIBS |
| 20286 | LIBS="-lnsl $LIBS" |
| 20287 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20288 | /* end confdefs.h. */ |
| 20289 | |
| 20290 | /* Override any GCC internal prototype to avoid an error. |
| 20291 | Use char because int might match the return type of a GCC |
| 20292 | builtin and then its argument prototype would still apply. |
| 20293 | The 'extern "C"' is for builds by C++ compilers; |
| 20294 | although this is not generally supported in C code supporting it here |
| 20295 | has little cost and some practical benefit (sr 110532). */ |
| 20296 | #ifdef __cplusplus |
| 20297 | extern "C" |
| 20298 | #endif |
| 20299 | char gethostbyname (void); |
| 20300 | int |
| 20301 | main (void) |
| 20302 | { |
| 20303 | return gethostbyname (); |
| 20304 | ; |
| 20305 | return 0; |
| 20306 | } |
| 20307 | _ACEOF |
| 20308 | if ac_fn_c_try_link "$LINENO" |
| 20309 | then : |
| 20310 | ac_cv_lib_nsl_gethostbyname=yes |
| 20311 | else case e in #( |
| 20312 | e) ac_cv_lib_nsl_gethostbyname=no ;; |
| 20313 | esac |
| 20314 | fi |
| 20315 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20316 | conftest$ac_exeext conftest.$ac_ext |
| 20317 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20318 | esac |
| 20319 | fi |
| 20320 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
| 20321 | printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } |
| 20322 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes |
| 20323 | then : |
| 20324 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
| 20325 | fi |
| 20326 | |
| 20327 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
| 20328 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
| 20329 | printf %s "checking for gethostbyname in -lbsd... " >&6; } |
| 20330 | if test ${ac_cv_lib_bsd_gethostbyname+y} |
| 20331 | then : |
| 20332 | printf %s "(cached) " >&6 |
| 20333 | else case e in #( |
| 20334 | e) ac_check_lib_save_LIBS=$LIBS |
| 20335 | LIBS="-lbsd $LIBS" |
| 20336 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20337 | /* end confdefs.h. */ |
| 20338 | |
| 20339 | /* Override any GCC internal prototype to avoid an error. |
| 20340 | Use char because int might match the return type of a GCC |
| 20341 | builtin and then its argument prototype would still apply. |
| 20342 | The 'extern "C"' is for builds by C++ compilers; |
| 20343 | although this is not generally supported in C code supporting it here |
| 20344 | has little cost and some practical benefit (sr 110532). */ |
| 20345 | #ifdef __cplusplus |
| 20346 | extern "C" |
| 20347 | #endif |
| 20348 | char gethostbyname (void); |
| 20349 | int |
| 20350 | main (void) |
| 20351 | { |
| 20352 | return gethostbyname (); |
| 20353 | ; |
| 20354 | return 0; |
| 20355 | } |
| 20356 | _ACEOF |
| 20357 | if ac_fn_c_try_link "$LINENO" |
| 20358 | then : |
| 20359 | ac_cv_lib_bsd_gethostbyname=yes |
| 20360 | else case e in #( |
| 20361 | e) ac_cv_lib_bsd_gethostbyname=no ;; |
| 20362 | esac |
| 20363 | fi |
| 20364 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20365 | conftest$ac_exeext conftest.$ac_ext |
| 20366 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20367 | esac |
| 20368 | fi |
| 20369 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
| 20370 | printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } |
| 20371 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes |
| 20372 | then : |
| 20373 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
| 20374 | fi |
| 20375 | |
| 20376 | fi |
| 20377 | fi |
| 20378 | |
| 20379 | # [email protected] says without -lsocket, |
| 20380 | # socket/setsockopt and other routines are undefined under SCO ODT |
| 20381 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
| 20382 | # on later versions), says Simon Leinen: it contains gethostby* |
| 20383 | # variants that don't use the name server (or something). -lsocket |
| 20384 | # must be given before -lnsl if both are needed. We assume that |
| 20385 | # if connect needs -lnsl, so does gethostbyname. |
| 20386 | ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
| 20387 | if test "x$ac_cv_func_connect" = xyes |
| 20388 | then : |
| 20389 | |
| 20390 | fi |
| 20391 | |
| 20392 | if test $ac_cv_func_connect = no; then |
| 20393 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
| 20394 | printf %s "checking for connect in -lsocket... " >&6; } |
| 20395 | if test ${ac_cv_lib_socket_connect+y} |
| 20396 | then : |
| 20397 | printf %s "(cached) " >&6 |
| 20398 | else case e in #( |
| 20399 | e) ac_check_lib_save_LIBS=$LIBS |
| 20400 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
| 20401 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20402 | /* end confdefs.h. */ |
| 20403 | |
| 20404 | /* Override any GCC internal prototype to avoid an error. |
| 20405 | Use char because int might match the return type of a GCC |
| 20406 | builtin and then its argument prototype would still apply. |
| 20407 | The 'extern "C"' is for builds by C++ compilers; |
| 20408 | although this is not generally supported in C code supporting it here |
| 20409 | has little cost and some practical benefit (sr 110532). */ |
| 20410 | #ifdef __cplusplus |
| 20411 | extern "C" |
| 20412 | #endif |
| 20413 | char connect (void); |
| 20414 | int |
| 20415 | main (void) |
| 20416 | { |
| 20417 | return connect (); |
| 20418 | ; |
| 20419 | return 0; |
| 20420 | } |
| 20421 | _ACEOF |
| 20422 | if ac_fn_c_try_link "$LINENO" |
| 20423 | then : |
| 20424 | ac_cv_lib_socket_connect=yes |
| 20425 | else case e in #( |
| 20426 | e) ac_cv_lib_socket_connect=no ;; |
| 20427 | esac |
| 20428 | fi |
| 20429 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20430 | conftest$ac_exeext conftest.$ac_ext |
| 20431 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20432 | esac |
| 20433 | fi |
| 20434 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
| 20435 | printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } |
| 20436 | if test "x$ac_cv_lib_socket_connect" = xyes |
| 20437 | then : |
| 20438 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
| 20439 | fi |
| 20440 | |
| 20441 | fi |
| 20442 | |
| 20443 | # Guillermo Gomez says -lposix is necessary on A/UX. |
| 20444 | ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" |
| 20445 | if test "x$ac_cv_func_remove" = xyes |
| 20446 | then : |
| 20447 | |
| 20448 | fi |
| 20449 | |
| 20450 | if test $ac_cv_func_remove = no; then |
| 20451 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
| 20452 | printf %s "checking for remove in -lposix... " >&6; } |
| 20453 | if test ${ac_cv_lib_posix_remove+y} |
| 20454 | then : |
| 20455 | printf %s "(cached) " >&6 |
| 20456 | else case e in #( |
| 20457 | e) ac_check_lib_save_LIBS=$LIBS |
| 20458 | LIBS="-lposix $LIBS" |
| 20459 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20460 | /* end confdefs.h. */ |
| 20461 | |
| 20462 | /* Override any GCC internal prototype to avoid an error. |
| 20463 | Use char because int might match the return type of a GCC |
| 20464 | builtin and then its argument prototype would still apply. |
| 20465 | The 'extern "C"' is for builds by C++ compilers; |
| 20466 | although this is not generally supported in C code supporting it here |
| 20467 | has little cost and some practical benefit (sr 110532). */ |
| 20468 | #ifdef __cplusplus |
| 20469 | extern "C" |
| 20470 | #endif |
| 20471 | char remove (void); |
| 20472 | int |
| 20473 | main (void) |
| 20474 | { |
| 20475 | return remove (); |
| 20476 | ; |
| 20477 | return 0; |
| 20478 | } |
| 20479 | _ACEOF |
| 20480 | if ac_fn_c_try_link "$LINENO" |
| 20481 | then : |
| 20482 | ac_cv_lib_posix_remove=yes |
| 20483 | else case e in #( |
| 20484 | e) ac_cv_lib_posix_remove=no ;; |
| 20485 | esac |
| 20486 | fi |
| 20487 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20488 | conftest$ac_exeext conftest.$ac_ext |
| 20489 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20490 | esac |
| 20491 | fi |
| 20492 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
| 20493 | printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } |
| 20494 | if test "x$ac_cv_lib_posix_remove" = xyes |
| 20495 | then : |
| 20496 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
| 20497 | fi |
| 20498 | |
| 20499 | fi |
| 20500 | |
| 20501 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 20502 | ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
| 20503 | if test "x$ac_cv_func_shmat" = xyes |
| 20504 | then : |
| 20505 | |
| 20506 | fi |
| 20507 | |
| 20508 | if test $ac_cv_func_shmat = no; then |
| 20509 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
| 20510 | printf %s "checking for shmat in -lipc... " >&6; } |
| 20511 | if test ${ac_cv_lib_ipc_shmat+y} |
| 20512 | then : |
| 20513 | printf %s "(cached) " >&6 |
| 20514 | else case e in #( |
| 20515 | e) ac_check_lib_save_LIBS=$LIBS |
| 20516 | LIBS="-lipc $LIBS" |
| 20517 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20518 | /* end confdefs.h. */ |
| 20519 | |
| 20520 | /* Override any GCC internal prototype to avoid an error. |
| 20521 | Use char because int might match the return type of a GCC |
| 20522 | builtin and then its argument prototype would still apply. |
| 20523 | The 'extern "C"' is for builds by C++ compilers; |
| 20524 | although this is not generally supported in C code supporting it here |
| 20525 | has little cost and some practical benefit (sr 110532). */ |
| 20526 | #ifdef __cplusplus |
| 20527 | extern "C" |
| 20528 | #endif |
| 20529 | char shmat (void); |
| 20530 | int |
| 20531 | main (void) |
| 20532 | { |
| 20533 | return shmat (); |
| 20534 | ; |
| 20535 | return 0; |
| 20536 | } |
| 20537 | _ACEOF |
| 20538 | if ac_fn_c_try_link "$LINENO" |
| 20539 | then : |
| 20540 | ac_cv_lib_ipc_shmat=yes |
| 20541 | else case e in #( |
| 20542 | e) ac_cv_lib_ipc_shmat=no ;; |
| 20543 | esac |
| 20544 | fi |
| 20545 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20546 | conftest$ac_exeext conftest.$ac_ext |
| 20547 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20548 | esac |
| 20549 | fi |
| 20550 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
| 20551 | printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } |
| 20552 | if test "x$ac_cv_lib_ipc_shmat" = xyes |
| 20553 | then : |
| 20554 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
| 20555 | fi |
| 20556 | |
| 20557 | fi |
| 20558 | fi |
| 20559 | |
| 20560 | # Check for libraries that X11R6 Xt/Xaw programs need. |
| 20561 | ac_save_LDFLAGS=$LDFLAGS |
| 20562 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
| 20563 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
| 20564 | # check for ICE first), but we must link in the order -lSM -lICE or |
| 20565 | # we get undefined symbols. So assume we have SM if we have ICE. |
| 20566 | # These have to be linked with before -lX11, unlike the other |
| 20567 | # libraries we check for below, so use a different variable. |
| 20568 | # John Interrante, Karl Berry |
| 20569 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
| 20570 | printf %s "checking for IceConnectionNumber in -lICE... " >&6; } |
| 20571 | if test ${ac_cv_lib_ICE_IceConnectionNumber+y} |
| 20572 | then : |
| 20573 | printf %s "(cached) " >&6 |
| 20574 | else case e in #( |
| 20575 | e) ac_check_lib_save_LIBS=$LIBS |
| 20576 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
| 20577 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20578 | /* end confdefs.h. */ |
| 20579 | |
| 20580 | /* Override any GCC internal prototype to avoid an error. |
| 20581 | Use char because int might match the return type of a GCC |
| 20582 | builtin and then its argument prototype would still apply. |
| 20583 | The 'extern "C"' is for builds by C++ compilers; |
| 20584 | although this is not generally supported in C code supporting it here |
| 20585 | has little cost and some practical benefit (sr 110532). */ |
| 20586 | #ifdef __cplusplus |
| 20587 | extern "C" |
| 20588 | #endif |
| 20589 | char IceConnectionNumber (void); |
| 20590 | int |
| 20591 | main (void) |
| 20592 | { |
| 20593 | return IceConnectionNumber (); |
| 20594 | ; |
| 20595 | return 0; |
| 20596 | } |
| 20597 | _ACEOF |
| 20598 | if ac_fn_c_try_link "$LINENO" |
| 20599 | then : |
| 20600 | ac_cv_lib_ICE_IceConnectionNumber=yes |
| 20601 | else case e in #( |
| 20602 | e) ac_cv_lib_ICE_IceConnectionNumber=no ;; |
| 20603 | esac |
| 20604 | fi |
| 20605 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20606 | conftest$ac_exeext conftest.$ac_ext |
| 20607 | LIBS=$ac_check_lib_save_LIBS ;; |
| 20608 | esac |
| 20609 | fi |
| 20610 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
| 20611 | printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
| 20612 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes |
| 20613 | then : |
| 20614 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
| 20615 | fi |
| 20616 | |
| 20617 | LDFLAGS=$ac_save_LDFLAGS |
| 20618 | |
| 20619 | fi |
| 20620 | |
| 20621 | |
| 20622 | |
| 20623 | |
| 20624 | |
| 20625 | |
| 20626 | |
| 20627 | |
| 20628 | ac_ext=cpp |
| 20629 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 20630 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 20631 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 20632 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 20633 | if test -z "$CXX"; then |
| 20634 | if test -n "$CCC"; then |
| 20635 | CXX=$CCC |
| 20636 | else |
| 20637 | if test -n "$ac_tool_prefix"; then |
| 20638 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
| 20639 | do |
| 20640 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 20641 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 20642 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 20643 | printf %s "checking for $ac_word... " >&6; } |
| 20644 | if test ${ac_cv_prog_CXX+y} |
| 20645 | then : |
| 20646 | printf %s "(cached) " >&6 |
| 20647 | else case e in #( |
| 20648 | e) if test -n "$CXX"; then |
| 20649 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 20650 | else |
| 20651 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 20652 | for as_dir in $PATH |
| 20653 | do |
| 20654 | IFS=$as_save_IFS |
| 20655 | case $as_dir in #((( |
| 20656 | '') as_dir=./ ;; |
| 20657 | */) ;; |
| 20658 | *) as_dir=$as_dir/ ;; |
| 20659 | esac |
| 20660 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 20661 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 20662 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 20663 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 20664 | break 2 |
| 20665 | fi |
| 20666 | done |
| 20667 | done |
| 20668 | IFS=$as_save_IFS |
| 20669 | |
| 20670 | fi ;; |
| 20671 | esac |
| 20672 | fi |
| 20673 | CXX=$ac_cv_prog_CXX |
| 20674 | if test -n "$CXX"; then |
| 20675 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
| 20676 | printf "%s\n" "$CXX" >&6; } |
| 20677 | else |
| 20678 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20679 | printf "%s\n" "no" >&6; } |
| 20680 | fi |
| 20681 | |
| 20682 | |
| 20683 | test -n "$CXX" && break |
| 20684 | done |
| 20685 | fi |
| 20686 | if test -z "$CXX"; then |
| 20687 | ac_ct_CXX=$CXX |
| 20688 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
| 20689 | do |
| 20690 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 20691 | set dummy $ac_prog; ac_word=$2 |
| 20692 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 20693 | printf %s "checking for $ac_word... " >&6; } |
| 20694 | if test ${ac_cv_prog_ac_ct_CXX+y} |
| 20695 | then : |
| 20696 | printf %s "(cached) " >&6 |
| 20697 | else case e in #( |
| 20698 | e) if test -n "$ac_ct_CXX"; then |
| 20699 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 20700 | else |
| 20701 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 20702 | for as_dir in $PATH |
| 20703 | do |
| 20704 | IFS=$as_save_IFS |
| 20705 | case $as_dir in #((( |
| 20706 | '') as_dir=./ ;; |
| 20707 | */) ;; |
| 20708 | *) as_dir=$as_dir/ ;; |
| 20709 | esac |
| 20710 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 20711 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 20712 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 20713 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 20714 | break 2 |
| 20715 | fi |
| 20716 | done |
| 20717 | done |
| 20718 | IFS=$as_save_IFS |
| 20719 | |
| 20720 | fi ;; |
| 20721 | esac |
| 20722 | fi |
| 20723 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 20724 | if test -n "$ac_ct_CXX"; then |
| 20725 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
| 20726 | printf "%s\n" "$ac_ct_CXX" >&6; } |
| 20727 | else |
| 20728 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20729 | printf "%s\n" "no" >&6; } |
| 20730 | fi |
| 20731 | |
| 20732 | |
| 20733 | test -n "$ac_ct_CXX" && break |
| 20734 | done |
| 20735 | |
| 20736 | if test "x$ac_ct_CXX" = x; then |
| 20737 | CXX="g++" |
| 20738 | else |
| 20739 | case $cross_compiling:$ac_tool_warned in |
| 20740 | yes:) |
| 20741 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 20742 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 20743 | ac_tool_warned=yes ;; |
| 20744 | esac |
| 20745 | CXX=$ac_ct_CXX |
| 20746 | fi |
| 20747 | fi |
| 20748 | |
| 20749 | fi |
| 20750 | fi |
| 20751 | # Provide some information about the compiler. |
| 20752 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
| 20753 | set X $ac_compile |
| 20754 | ac_compiler=$2 |
| 20755 | for ac_option in --version -v -V -qversion; do |
| 20756 | { { ac_try="$ac_compiler $ac_option >&5" |
| 20757 | case "(($ac_try" in |
| 20758 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 20759 | *) ac_try_echo=$ac_try;; |
| 20760 | esac |
| 20761 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 20762 | printf "%s\n" "$ac_try_echo"; } >&5 |
| 20763 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 20764 | ac_status=$? |
| 20765 | if test -s conftest.err; then |
| 20766 | sed '10a\ |
| 20767 | ... rest of stderr output deleted ... |
| 20768 | 10q' conftest.err >conftest.er1 |
| 20769 | cat conftest.er1 >&5 |
| 20770 | fi |
| 20771 | rm -f conftest.er1 conftest.err |
| 20772 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20773 | test $ac_status = 0; } |
| 20774 | done |
| 20775 | |
| 20776 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 |
| 20777 | printf %s "checking whether the compiler supports GNU C++... " >&6; } |
| 20778 | if test ${ac_cv_cxx_compiler_gnu+y} |
| 20779 | then : |
| 20780 | printf %s "(cached) " >&6 |
| 20781 | else case e in #( |
| 20782 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20783 | /* end confdefs.h. */ |
| 20784 | |
| 20785 | int |
| 20786 | main (void) |
| 20787 | { |
| 20788 | #ifndef __GNUC__ |
| 20789 | choke me |
| 20790 | #endif |
| 20791 | |
| 20792 | ; |
| 20793 | return 0; |
| 20794 | } |
| 20795 | _ACEOF |
| 20796 | if ac_fn_cxx_try_compile "$LINENO" |
| 20797 | then : |
| 20798 | ac_compiler_gnu=yes |
| 20799 | else case e in #( |
| 20800 | e) ac_compiler_gnu=no ;; |
| 20801 | esac |
| 20802 | fi |
| 20803 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20804 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 20805 | ;; |
| 20806 | esac |
| 20807 | fi |
| 20808 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 20809 | printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } |
| 20810 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 20811 | |
| 20812 | if test $ac_compiler_gnu = yes; then |
| 20813 | GXX=yes |
| 20814 | else |
| 20815 | GXX= |
| 20816 | fi |
| 20817 | ac_test_CXXFLAGS=${CXXFLAGS+y} |
| 20818 | ac_save_CXXFLAGS=$CXXFLAGS |
| 20819 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| 20820 | printf %s "checking whether $CXX accepts -g... " >&6; } |
| 20821 | if test ${ac_cv_prog_cxx_g+y} |
| 20822 | then : |
| 20823 | printf %s "(cached) " >&6 |
| 20824 | else case e in #( |
| 20825 | e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 20826 | ac_cxx_werror_flag=yes |
| 20827 | ac_cv_prog_cxx_g=no |
| 20828 | CXXFLAGS="-g" |
| 20829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20830 | /* end confdefs.h. */ |
| 20831 | |
| 20832 | int |
| 20833 | main (void) |
| 20834 | { |
| 20835 | |
| 20836 | ; |
| 20837 | return 0; |
| 20838 | } |
| 20839 | _ACEOF |
| 20840 | if ac_fn_cxx_try_compile "$LINENO" |
| 20841 | then : |
| 20842 | ac_cv_prog_cxx_g=yes |
| 20843 | else case e in #( |
| 20844 | e) CXXFLAGS="" |
| 20845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20846 | /* end confdefs.h. */ |
| 20847 | |
| 20848 | int |
| 20849 | main (void) |
| 20850 | { |
| 20851 | |
| 20852 | ; |
| 20853 | return 0; |
| 20854 | } |
| 20855 | _ACEOF |
| 20856 | if ac_fn_cxx_try_compile "$LINENO" |
| 20857 | then : |
| 20858 | |
| 20859 | else case e in #( |
| 20860 | e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 20861 | CXXFLAGS="-g" |
| 20862 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20863 | /* end confdefs.h. */ |
| 20864 | |
| 20865 | int |
| 20866 | main (void) |
| 20867 | { |
| 20868 | |
| 20869 | ; |
| 20870 | return 0; |
| 20871 | } |
| 20872 | _ACEOF |
| 20873 | if ac_fn_cxx_try_compile "$LINENO" |
| 20874 | then : |
| 20875 | ac_cv_prog_cxx_g=yes |
| 20876 | fi |
| 20877 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20878 | esac |
| 20879 | fi |
| 20880 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20881 | esac |
| 20882 | fi |
| 20883 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20884 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; |
| 20885 | esac |
| 20886 | fi |
| 20887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
| 20888 | printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } |
| 20889 | if test $ac_test_CXXFLAGS; then |
| 20890 | CXXFLAGS=$ac_save_CXXFLAGS |
| 20891 | elif test $ac_cv_prog_cxx_g = yes; then |
| 20892 | if test "$GXX" = yes; then |
| 20893 | CXXFLAGS="-g -O2" |
| 20894 | else |
| 20895 | CXXFLAGS="-g" |
| 20896 | fi |
| 20897 | else |
| 20898 | if test "$GXX" = yes; then |
| 20899 | CXXFLAGS="-O2" |
| 20900 | else |
| 20901 | CXXFLAGS= |
| 20902 | fi |
| 20903 | fi |
| 20904 | ac_prog_cxx_stdcxx=no |
| 20905 | if test x$ac_prog_cxx_stdcxx = xno |
| 20906 | then : |
| 20907 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
| 20908 | printf %s "checking for $CXX option to enable C++11 features... " >&6; } |
| 20909 | if test ${ac_cv_prog_cxx_cxx11+y} |
| 20910 | then : |
| 20911 | printf %s "(cached) " >&6 |
| 20912 | else case e in #( |
| 20913 | e) ac_cv_prog_cxx_cxx11=no |
| 20914 | ac_save_CXX=$CXX |
| 20915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20916 | /* end confdefs.h. */ |
| 20917 | $ac_cxx_conftest_cxx11_program |
| 20918 | _ACEOF |
| 20919 | for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA |
| 20920 | do |
| 20921 | CXX="$ac_save_CXX $ac_arg" |
| 20922 | if ac_fn_cxx_try_compile "$LINENO" |
| 20923 | then : |
| 20924 | ac_cv_prog_cxx_cxx11=$ac_arg |
| 20925 | fi |
| 20926 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 20927 | test "x$ac_cv_prog_cxx_cxx11" != "xno" && break |
| 20928 | done |
| 20929 | rm -f conftest.$ac_ext |
| 20930 | CXX=$ac_save_CXX ;; |
| 20931 | esac |
| 20932 | fi |
| 20933 | |
| 20934 | if test "x$ac_cv_prog_cxx_cxx11" = xno |
| 20935 | then : |
| 20936 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 20937 | printf "%s\n" "unsupported" >&6; } |
| 20938 | else case e in #( |
| 20939 | e) if test "x$ac_cv_prog_cxx_cxx11" = x |
| 20940 | then : |
| 20941 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 20942 | printf "%s\n" "none needed" >&6; } |
| 20943 | else case e in #( |
| 20944 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 |
| 20945 | printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } |
| 20946 | CXX="$CXX $ac_cv_prog_cxx_cxx11" ;; |
| 20947 | esac |
| 20948 | fi |
| 20949 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 |
| 20950 | ac_prog_cxx_stdcxx=cxx11 ;; |
| 20951 | esac |
| 20952 | fi |
| 20953 | fi |
| 20954 | if test x$ac_prog_cxx_stdcxx = xno |
| 20955 | then : |
| 20956 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
| 20957 | printf %s "checking for $CXX option to enable C++98 features... " >&6; } |
| 20958 | if test ${ac_cv_prog_cxx_cxx98+y} |
| 20959 | then : |
| 20960 | printf %s "(cached) " >&6 |
| 20961 | else case e in #( |
| 20962 | e) ac_cv_prog_cxx_cxx98=no |
| 20963 | ac_save_CXX=$CXX |
| 20964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20965 | /* end confdefs.h. */ |
| 20966 | $ac_cxx_conftest_cxx98_program |
| 20967 | _ACEOF |
| 20968 | for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA |
| 20969 | do |
| 20970 | CXX="$ac_save_CXX $ac_arg" |
| 20971 | if ac_fn_cxx_try_compile "$LINENO" |
| 20972 | then : |
| 20973 | ac_cv_prog_cxx_cxx98=$ac_arg |
| 20974 | fi |
| 20975 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 20976 | test "x$ac_cv_prog_cxx_cxx98" != "xno" && break |
| 20977 | done |
| 20978 | rm -f conftest.$ac_ext |
| 20979 | CXX=$ac_save_CXX ;; |
| 20980 | esac |
| 20981 | fi |
| 20982 | |
| 20983 | if test "x$ac_cv_prog_cxx_cxx98" = xno |
| 20984 | then : |
| 20985 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 20986 | printf "%s\n" "unsupported" >&6; } |
| 20987 | else case e in #( |
| 20988 | e) if test "x$ac_cv_prog_cxx_cxx98" = x |
| 20989 | then : |
| 20990 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 20991 | printf "%s\n" "none needed" >&6; } |
| 20992 | else case e in #( |
| 20993 | e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 |
| 20994 | printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } |
| 20995 | CXX="$CXX $ac_cv_prog_cxx_cxx98" ;; |
| 20996 | esac |
| 20997 | fi |
| 20998 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 |
| 20999 | ac_prog_cxx_stdcxx=cxx98 ;; |
| 21000 | esac |
| 21001 | fi |
| 21002 | fi |
| 21003 | |
| 21004 | ac_ext=c |
| 21005 | ac_cpp='$CPP $CPPFLAGS' |
| 21006 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 21007 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 21008 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 21009 | |
| 21010 | depcc="$CXX" am_compiler_list= |
| 21011 | |
| 21012 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 21013 | printf %s "checking dependency style of $depcc... " >&6; } |
| 21014 | if test ${am_cv_CXX_dependencies_compiler_type+y} |
| 21015 | then : |
| 21016 | printf %s "(cached) " >&6 |
| 21017 | else case e in #( |
| 21018 | e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 21019 | # We make a subdir and do the tests there. Otherwise we can end up |
| 21020 | # making bogus files that we don't know about and never remove. For |
| 21021 | # instance it was reported that on HP-UX the gcc test will end up |
| 21022 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 21023 | # in D". |
| 21024 | rm -rf conftest.dir |
| 21025 | mkdir conftest.dir |
| 21026 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 21027 | # using a relative directory. |
| 21028 | cp "$am_depcomp" conftest.dir |
| 21029 | cd conftest.dir |
| 21030 | # We will build objects and dependencies in a subdirectory because |
| 21031 | # it helps to detect inapplicable dependency modes. For instance |
| 21032 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 21033 | # side effect of compilation, but ICC will put the dependencies in |
| 21034 | # the current directory while Tru64 will put them in the object |
| 21035 | # directory. |
| 21036 | mkdir sub |
| 21037 | |
| 21038 | am_cv_CXX_dependencies_compiler_type=none |
| 21039 | if test "$am_compiler_list" = ""; then |
| 21040 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 21041 | fi |
| 21042 | am__universal=false |
| 21043 | case " $depcc " in #( |
| 21044 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 21045 | esac |
| 21046 | |
| 21047 | for depmode in $am_compiler_list; do |
| 21048 | # Setup a source with many dependencies, because some compilers |
| 21049 | # like to wrap large dependency lists on column 80 (with \), and |
| 21050 | # we should not choose a depcomp mode which is confused by this. |
| 21051 | # |
| 21052 | # We need to recreate these files for each test, as the compiler may |
| 21053 | # overwrite some of them when testing with obscure command lines. |
| 21054 | # This happens at least with the AIX C compiler. |
| 21055 | : > sub/conftest.c |
| 21056 | for i in 1 2 3 4 5 6; do |
| 21057 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 21058 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 21059 | # Solaris 10 /bin/sh. |
| 21060 | echo '/* dummy */' > sub/conftst$i.h |
| 21061 | done |
| 21062 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 21063 | |
| 21064 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 21065 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 21066 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 21067 | # versions had trouble with output in subdirs. |
| 21068 | am__obj=sub/conftest.${OBJEXT-o} |
| 21069 | am__minus_obj="-o $am__obj" |
| 21070 | case $depmode in |
| 21071 | gcc) |
| 21072 | # This depmode causes a compiler race in universal mode. |
| 21073 | test "$am__universal" = false || continue |
| 21074 | ;; |
| 21075 | nosideeffect) |
| 21076 | # After this tag, mechanisms are not by side-effect, so they'll |
| 21077 | # only be used when explicitly requested. |
| 21078 | if test "x$enable_dependency_tracking" = xyes; then |
| 21079 | continue |
| 21080 | else |
| 21081 | break |
| 21082 | fi |
| 21083 | ;; |
| 21084 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 21085 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 21086 | # not run yet. These depmodes are late enough in the game, and |
| 21087 | # so weak that their functioning should not be impacted. |
| 21088 | am__obj=conftest.${OBJEXT-o} |
| 21089 | am__minus_obj= |
| 21090 | ;; |
| 21091 | none) break ;; |
| 21092 | esac |
| 21093 | if depmode=$depmode \ |
| 21094 | source=sub/conftest.c object=$am__obj \ |
| 21095 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 21096 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 21097 | >/dev/null 2>conftest.err && |
| 21098 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 21099 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 21100 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 21101 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 21102 | # icc doesn't choke on unknown options, it will just issue warnings |
| 21103 | # or remarks (even with -Werror). So we grep stderr for any message |
| 21104 | # that says an option was ignored or not supported. |
| 21105 | # When given -MP, icc 7.0 and 7.1 complain thus: |
| 21106 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 21107 | # The diagnosis changed in icc 8.0: |
| 21108 | # icc: Command line remark: option '-MP' not supported |
| 21109 | if (grep 'ignoring option' conftest.err || |
| 21110 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 21111 | am_cv_CXX_dependencies_compiler_type=$depmode |
| 21112 | break |
| 21113 | fi |
| 21114 | fi |
| 21115 | done |
| 21116 | |
| 21117 | cd .. |
| 21118 | rm -rf conftest.dir |
| 21119 | else |
| 21120 | am_cv_CXX_dependencies_compiler_type=none |
| 21121 | fi |
| 21122 | ;; |
| 21123 | esac |
| 21124 | fi |
| 21125 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 21126 | printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; } |
| 21127 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 21128 | |
| 21129 | if |
| 21130 | test "x$enable_dependency_tracking" != xno \ |
| 21131 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| 21132 | am__fastdepCXX_TRUE= |
| 21133 | am__fastdepCXX_FALSE='#' |
| 21134 | else |
| 21135 | am__fastdepCXX_TRUE='#' |
| 21136 | am__fastdepCXX_FALSE= |
| 21137 | fi |
| 21138 | |
| 21139 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5 |
| 21140 | printf %s "checking what warning flags to pass to the C++ compiler... " >&6; } |
| 21141 | if test ${kpse_cv_warning_cxxflags+y} |
| 21142 | then : |
| 21143 | printf %s "(cached) " >&6 |
| 21144 | else case e in #( |
| 21145 | e) if test "x$GXX" = xyes; then |
| 21146 | kpse_cv_warning_cxxflags= |
| 21147 | kpse_warn_strings="-Wno-write-strings" |
| 21148 | if test "x$enable_compiler_warnings" != xno; then |
| 21149 | kpse_cv_warning_cxxflags="-Wreturn-type" |
| 21150 | case `$CXX -dumpversion` in #( |
| 21151 | 3.* | 4.[012345].*) : |
| 21152 | kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #( |
| 21153 | *) : |
| 21154 | ;; |
| 21155 | esac |
| 21156 | case `$CXX -dumpversion` in #( |
| 21157 | 3.[234].* | 4.* | 5.*) : |
| 21158 | kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #( |
| 21159 | *) : |
| 21160 | ;; |
| 21161 | esac |
| 21162 | if test "x$enable_compiler_warnings" != xmin; then |
| 21163 | kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags" |
| 21164 | if test "x$enable_compiler_warnings" != xyes; then |
| 21165 | kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" |
| 21166 | kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align" |
| 21167 | kpse_warn_strings="-Wwrite-strings" |
| 21168 | if test "x$enable_compiler_warnings" != xmax; then |
| 21169 | kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow" |
| 21170 | fi |
| 21171 | fi |
| 21172 | fi |
| 21173 | fi |
| 21174 | kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings" |
| 21175 | elif test "x$enable_compiler_warnings" = xno; then |
| 21176 | kpse_cv_warning_cxxflags= |
| 21177 | else |
| 21178 | kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers |
| 21179 | fi ;; |
| 21180 | esac |
| 21181 | fi |
| 21182 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5 |
| 21183 | printf "%s\n" "$kpse_cv_warning_cxxflags" >&6; } |
| 21184 | WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags |
| 21185 | |
| 21186 | |
| 21187 | |
| 21188 | |
| 21189 | |
| 21190 | func_stripname_cnf () |
| 21191 | { |
| 21192 | case $2 in |
| 21193 | .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; |
| 21194 | *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; |
| 21195 | esac |
| 21196 | } # func_stripname_cnf |
| 21197 | |
| 21198 | if test -n "$CXX" && ( test no != "$CXX" && |
| 21199 | ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || |
| 21200 | (test g++ != "$CXX"))); then |
| 21201 | ac_ext=cpp |
| 21202 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 21203 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 21204 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 21205 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 21206 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
| 21207 | printf %s "checking how to run the C++ preprocessor... " >&6; } |
| 21208 | if test -z "$CXXCPP"; then |
| 21209 | if test ${ac_cv_prog_CXXCPP+y} |
| 21210 | then : |
| 21211 | printf %s "(cached) " >&6 |
| 21212 | else case e in #( |
| 21213 | e) # Double quotes because $CXX needs to be expanded |
| 21214 | for CXXCPP in "$CXX -E" cpp /lib/cpp |
| 21215 | do |
| 21216 | ac_preproc_ok=false |
| 21217 | for ac_cxx_preproc_warn_flag in '' yes |
| 21218 | do |
| 21219 | # Use a header file that comes with gcc, so configuring glibc |
| 21220 | # with a fresh cross-compiler works. |
| 21221 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 21222 | # not just through cpp. "Syntax error" is here to catch this case. |
| 21223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21224 | /* end confdefs.h. */ |
| 21225 | #include <limits.h> |
| 21226 | Syntax error |
| 21227 | _ACEOF |
| 21228 | if ac_fn_cxx_try_cpp "$LINENO" |
| 21229 | then : |
| 21230 | |
| 21231 | else case e in #( |
| 21232 | e) # Broken: fails on valid input. |
| 21233 | continue ;; |
| 21234 | esac |
| 21235 | fi |
| 21236 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 21237 | |
| 21238 | # OK, works on sane cases. Now check whether nonexistent headers |
| 21239 | # can be detected and how. |
| 21240 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21241 | /* end confdefs.h. */ |
| 21242 | #include <ac_nonexistent.h> |
| 21243 | _ACEOF |
| 21244 | if ac_fn_cxx_try_cpp "$LINENO" |
| 21245 | then : |
| 21246 | # Broken: success on invalid input. |
| 21247 | continue |
| 21248 | else case e in #( |
| 21249 | e) # Passes both tests. |
| 21250 | ac_preproc_ok=: |
| 21251 | break ;; |
| 21252 | esac |
| 21253 | fi |
| 21254 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 21255 | |
| 21256 | done |
| 21257 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 21258 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 21259 | if $ac_preproc_ok |
| 21260 | then : |
| 21261 | break |
| 21262 | fi |
| 21263 | |
| 21264 | done |
| 21265 | ac_cv_prog_CXXCPP=$CXXCPP |
| 21266 | ;; |
| 21267 | esac |
| 21268 | fi |
| 21269 | CXXCPP=$ac_cv_prog_CXXCPP |
| 21270 | else |
| 21271 | ac_cv_prog_CXXCPP=$CXXCPP |
| 21272 | fi |
| 21273 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
| 21274 | printf "%s\n" "$CXXCPP" >&6; } |
| 21275 | ac_preproc_ok=false |
| 21276 | for ac_cxx_preproc_warn_flag in '' yes |
| 21277 | do |
| 21278 | # Use a header file that comes with gcc, so configuring glibc |
| 21279 | # with a fresh cross-compiler works. |
| 21280 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 21281 | # not just through cpp. "Syntax error" is here to catch this case. |
| 21282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21283 | /* end confdefs.h. */ |
| 21284 | #include <limits.h> |
| 21285 | Syntax error |
| 21286 | _ACEOF |
| 21287 | if ac_fn_cxx_try_cpp "$LINENO" |
| 21288 | then : |
| 21289 | |
| 21290 | else case e in #( |
| 21291 | e) # Broken: fails on valid input. |
| 21292 | continue ;; |
| 21293 | esac |
| 21294 | fi |
| 21295 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 21296 | |
| 21297 | # OK, works on sane cases. Now check whether nonexistent headers |
| 21298 | # can be detected and how. |
| 21299 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21300 | /* end confdefs.h. */ |
| 21301 | #include <ac_nonexistent.h> |
| 21302 | _ACEOF |
| 21303 | if ac_fn_cxx_try_cpp "$LINENO" |
| 21304 | then : |
| 21305 | # Broken: success on invalid input. |
| 21306 | continue |
| 21307 | else case e in #( |
| 21308 | e) # Passes both tests. |
| 21309 | ac_preproc_ok=: |
| 21310 | break ;; |
| 21311 | esac |
| 21312 | fi |
| 21313 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 21314 | |
| 21315 | done |
| 21316 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 21317 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 21318 | if $ac_preproc_ok |
| 21319 | then : |
| 21320 | |
| 21321 | else case e in #( |
| 21322 | e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21323 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21324 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 21325 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 21326 | esac |
| 21327 | fi |
| 21328 | |
| 21329 | ac_ext=c |
| 21330 | ac_cpp='$CPP $CPPFLAGS' |
| 21331 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 21332 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 21333 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 21334 | |
| 21335 | else |
| 21336 | _lt_caught_CXX_error=yes |
| 21337 | fi |
| 21338 | |
| 21339 | ac_ext=cpp |
| 21340 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 21341 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 21342 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 21343 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 21344 | |
| 21345 | archive_cmds_need_lc_CXX=no |
| 21346 | allow_undefined_flag_CXX= |
| 21347 | always_export_symbols_CXX=no |
| 21348 | archive_expsym_cmds_CXX= |
| 21349 | compiler_needs_object_CXX=no |
| 21350 | export_dynamic_flag_spec_CXX= |
| 21351 | hardcode_direct_CXX=no |
| 21352 | hardcode_direct_absolute_CXX=no |
| 21353 | hardcode_libdir_flag_spec_CXX= |
| 21354 | hardcode_libdir_separator_CXX= |
| 21355 | hardcode_minus_L_CXX=no |
| 21356 | hardcode_shlibpath_var_CXX=unsupported |
| 21357 | hardcode_automatic_CXX=no |
| 21358 | inherit_rpath_CXX=no |
| 21359 | module_cmds_CXX= |
| 21360 | module_expsym_cmds_CXX= |
| 21361 | link_all_deplibs_CXX=unknown |
| 21362 | old_archive_cmds_CXX=$old_archive_cmds |
| 21363 | reload_flag_CXX=$reload_flag |
| 21364 | reload_cmds_CXX=$reload_cmds |
| 21365 | no_undefined_flag_CXX= |
| 21366 | whole_archive_flag_spec_CXX= |
| 21367 | enable_shared_with_static_runtimes_CXX=no |
| 21368 | |
| 21369 | # Source file extension for C++ test sources. |
| 21370 | ac_ext=cpp |
| 21371 | |
| 21372 | # Object file extension for compiled C++ test sources. |
| 21373 | objext=o |
| 21374 | objext_CXX=$objext |
| 21375 | |
| 21376 | # No sense in running all these tests if we already determined that |
| 21377 | # the CXX compiler isn't working. Some variables (like enable_shared) |
| 21378 | # are currently assumed to apply to all compilers on this platform, |
| 21379 | # and will be corrupted by setting them based on a non-working compiler. |
| 21380 | if test yes != "$_lt_caught_CXX_error"; then |
| 21381 | # Code to be used in simple compile tests |
| 21382 | lt_simple_compile_test_code="int some_variable = 0;" |
| 21383 | |
| 21384 | # Code to be used in simple link tests |
| 21385 | lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
| 21386 | |
| 21387 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 21388 | |
| 21389 | |
| 21390 | |
| 21391 | |
| 21392 | |
| 21393 | |
| 21394 | # If no C compiler was specified, use CC. |
| 21395 | LTCC=${LTCC-"$CC"} |
| 21396 | |
| 21397 | # If no C compiler flags were specified, use CFLAGS. |
| 21398 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 21399 | |
| 21400 | # Allow CC to be a program name with arguments. |
| 21401 | compiler=$CC |
| 21402 | |
| 21403 | |
| 21404 | # save warnings/boilerplate of simple test code |
| 21405 | ac_outfile=conftest.$ac_objext |
| 21406 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 21407 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 21408 | _lt_compiler_boilerplate=`cat conftest.err` |
| 21409 | $RM conftest* |
| 21410 | |
| 21411 | ac_outfile=conftest.$ac_objext |
| 21412 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 21413 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 21414 | _lt_linker_boilerplate=`cat conftest.err` |
| 21415 | $RM -r conftest* |
| 21416 | |
| 21417 | |
| 21418 | # Allow CC to be a program name with arguments. |
| 21419 | lt_save_CC=$CC |
| 21420 | lt_save_CFLAGS=$CFLAGS |
| 21421 | lt_save_LD=$LD |
| 21422 | lt_save_GCC=$GCC |
| 21423 | GCC=$GXX |
| 21424 | lt_save_with_gnu_ld=$with_gnu_ld |
| 21425 | lt_save_path_LD=$lt_cv_path_LD |
| 21426 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
| 21427 | lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
| 21428 | else |
| 21429 | $as_unset lt_cv_prog_gnu_ld |
| 21430 | fi |
| 21431 | if test -n "${lt_cv_path_LDCXX+set}"; then |
| 21432 | lt_cv_path_LD=$lt_cv_path_LDCXX |
| 21433 | else |
| 21434 | $as_unset lt_cv_path_LD |
| 21435 | fi |
| 21436 | test -z "${LDCXX+set}" || LD=$LDCXX |
| 21437 | CC=${CXX-"c++"} |
| 21438 | CFLAGS=$CXXFLAGS |
| 21439 | compiler=$CC |
| 21440 | compiler_CXX=$CC |
| 21441 | func_cc_basename $compiler |
| 21442 | cc_basename=$func_cc_basename_result |
| 21443 | |
| 21444 | |
| 21445 | if test -n "$compiler"; then |
| 21446 | # We don't want -fno-exception when compiling C++ code, so set the |
| 21447 | # no_builtin_flag separately |
| 21448 | if test yes = "$GXX"; then |
| 21449 | lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
| 21450 | else |
| 21451 | lt_prog_compiler_no_builtin_flag_CXX= |
| 21452 | fi |
| 21453 | |
| 21454 | if test yes = "$GXX"; then |
| 21455 | # Set up default GNU C++ configuration |
| 21456 | |
| 21457 | |
| 21458 | |
| 21459 | # Check whether --with-gnu-ld was given. |
| 21460 | if test ${with_gnu_ld+y} |
| 21461 | then : |
| 21462 | withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
| 21463 | else case e in #( |
| 21464 | e) with_gnu_ld=no ;; |
| 21465 | esac |
| 21466 | fi |
| 21467 | |
| 21468 | ac_prog=ld |
| 21469 | if test yes = "$GCC"; then |
| 21470 | # Check if gcc -print-prog-name=ld gives a path. |
| 21471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 21472 | printf %s "checking for ld used by $CC... " >&6; } |
| 21473 | case $host in |
| 21474 | *-*-mingw* | *-*-windows*) |
| 21475 | # gcc leaves a trailing carriage return, which upsets mingw |
| 21476 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 21477 | *) |
| 21478 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 21479 | esac |
| 21480 | case $ac_prog in |
| 21481 | # Accept absolute paths. |
| 21482 | [\\/]* | ?:[\\/]*) |
| 21483 | re_direlt='/[^/][^/]*/\.\./' |
| 21484 | # Canonicalize the pathname of ld |
| 21485 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 21486 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 21487 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 21488 | done |
| 21489 | test -z "$LD" && LD=$ac_prog |
| 21490 | ;; |
| 21491 | "") |
| 21492 | # If it fails, then pretend we aren't using GCC. |
| 21493 | ac_prog=ld |
| 21494 | ;; |
| 21495 | *) |
| 21496 | # If it is relative, then search for the first ld in PATH. |
| 21497 | with_gnu_ld=unknown |
| 21498 | ;; |
| 21499 | esac |
| 21500 | elif test yes = "$with_gnu_ld"; then |
| 21501 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 21502 | printf %s "checking for GNU ld... " >&6; } |
| 21503 | else |
| 21504 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 21505 | printf %s "checking for non-GNU ld... " >&6; } |
| 21506 | fi |
| 21507 | if test ${lt_cv_path_LD+y} |
| 21508 | then : |
| 21509 | printf %s "(cached) " >&6 |
| 21510 | else case e in #( |
| 21511 | e) if test -z "$LD"; then |
| 21512 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 21513 | for ac_dir in $PATH; do |
| 21514 | IFS=$lt_save_ifs |
| 21515 | test -z "$ac_dir" && ac_dir=. |
| 21516 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 21517 | lt_cv_path_LD=$ac_dir/$ac_prog |
| 21518 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 21519 | # but apparently some variants of GNU ld only accept -v. |
| 21520 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 21521 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 21522 | *GNU* | *'with BFD'*) |
| 21523 | test no != "$with_gnu_ld" && break |
| 21524 | ;; |
| 21525 | *) |
| 21526 | test yes != "$with_gnu_ld" && break |
| 21527 | ;; |
| 21528 | esac |
| 21529 | fi |
| 21530 | done |
| 21531 | IFS=$lt_save_ifs |
| 21532 | else |
| 21533 | lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 21534 | fi ;; |
| 21535 | esac |
| 21536 | fi |
| 21537 | |
| 21538 | LD=$lt_cv_path_LD |
| 21539 | if test -n "$LD"; then |
| 21540 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 21541 | printf "%s\n" "$LD" >&6; } |
| 21542 | else |
| 21543 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21544 | printf "%s\n" "no" >&6; } |
| 21545 | fi |
| 21546 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 21547 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 21548 | printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 21549 | if test ${lt_cv_prog_gnu_ld+y} |
| 21550 | then : |
| 21551 | printf %s "(cached) " >&6 |
| 21552 | else case e in #( |
| 21553 | e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 21554 | case `$LD -v 2>&1 </dev/null` in |
| 21555 | *GNU* | *'with BFD'*) |
| 21556 | lt_cv_prog_gnu_ld=yes |
| 21557 | ;; |
| 21558 | *) |
| 21559 | lt_cv_prog_gnu_ld=no |
| 21560 | ;; |
| 21561 | esac ;; |
| 21562 | esac |
| 21563 | fi |
| 21564 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 21565 | printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 21566 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 21567 | |
| 21568 | |
| 21569 | |
| 21570 | |
| 21571 | |
| 21572 | |
| 21573 | |
| 21574 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 21575 | # archiving commands below assume that GNU ld is being used. |
| 21576 | if test yes = "$with_gnu_ld"; then |
| 21577 | archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 21578 | archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 21579 | |
| 21580 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 21581 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 21582 | |
| 21583 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 21584 | # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
| 21585 | # investigate it a little bit more. (MM) |
| 21586 | wlarc='$wl' |
| 21587 | |
| 21588 | # ancient GNU ld didn't support --whole-archive et. al. |
| 21589 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 21590 | whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 21591 | else |
| 21592 | whole_archive_flag_spec_CXX= |
| 21593 | fi |
| 21594 | else |
| 21595 | with_gnu_ld=no |
| 21596 | wlarc= |
| 21597 | |
| 21598 | # A generic and very simple default shared library creation |
| 21599 | # command for GNU C++ for the case where it uses the native |
| 21600 | # linker, instead of GNU ld. If possible, this setting should |
| 21601 | # overridden to take advantage of the native linker features on |
| 21602 | # the platform it is being used on. |
| 21603 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 21604 | fi |
| 21605 | |
| 21606 | # Commands to make compiler produce verbose output that lists |
| 21607 | # what "hidden" libraries, object files and flags are used when |
| 21608 | # linking a shared library. |
| 21609 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 21610 | |
| 21611 | else |
| 21612 | GXX=no |
| 21613 | with_gnu_ld=no |
| 21614 | wlarc= |
| 21615 | fi |
| 21616 | |
| 21617 | # PORTME: fill in a description of your system's C++ link characteristics |
| 21618 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 21619 | printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 21620 | ld_shlibs_CXX=yes |
| 21621 | case $host_os in |
| 21622 | aix3*) |
| 21623 | # FIXME: insert proper C++ library support |
| 21624 | ld_shlibs_CXX=no |
| 21625 | ;; |
| 21626 | aix[4-9]*) |
| 21627 | if test ia64 = "$host_cpu"; then |
| 21628 | # On IA64, the linker does run time linking by default, so we don't |
| 21629 | # have to do anything special. |
| 21630 | aix_use_runtimelinking=no |
| 21631 | exp_sym_flag='-Bexport' |
| 21632 | no_entry_flag= |
| 21633 | else |
| 21634 | aix_use_runtimelinking=no |
| 21635 | |
| 21636 | # Test if we are trying to use run time linking or normal |
| 21637 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 21638 | # have runtime linking enabled, and use it for executables. |
| 21639 | # For shared libraries, we enable/disable runtime linking |
| 21640 | # depending on the kind of the shared library created - |
| 21641 | # when "with_aix_soname,aix_use_runtimelinking" is: |
| 21642 | # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 21643 | # "aix,yes" lib.so shared, rtl:yes, for executables |
| 21644 | # lib.a static archive |
| 21645 | # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 21646 | # lib.a(lib.so.V) shared, rtl:no, for executables |
| 21647 | # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 21648 | # lib.a(lib.so.V) shared, rtl:no |
| 21649 | # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 21650 | # lib.a static archive |
| 21651 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 21652 | for ld_flag in $LDFLAGS; do |
| 21653 | case $ld_flag in |
| 21654 | *-brtl*) |
| 21655 | aix_use_runtimelinking=yes |
| 21656 | break |
| 21657 | ;; |
| 21658 | esac |
| 21659 | done |
| 21660 | if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 21661 | # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 21662 | # so we don't have lib.a shared libs to link our executables. |
| 21663 | # We have to force runtime linking in this case. |
| 21664 | aix_use_runtimelinking=yes |
| 21665 | LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 21666 | fi |
| 21667 | ;; |
| 21668 | esac |
| 21669 | |
| 21670 | exp_sym_flag='-bexport' |
| 21671 | no_entry_flag='-bnoentry' |
| 21672 | fi |
| 21673 | |
| 21674 | # When large executables or shared objects are built, AIX ld can |
| 21675 | # have problems creating the table of contents. If linking a library |
| 21676 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 21677 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 21678 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 21679 | |
| 21680 | archive_cmds_CXX='' |
| 21681 | hardcode_direct_CXX=yes |
| 21682 | hardcode_direct_absolute_CXX=yes |
| 21683 | hardcode_libdir_separator_CXX=':' |
| 21684 | link_all_deplibs_CXX=yes |
| 21685 | file_list_spec_CXX='$wl-f,' |
| 21686 | case $with_aix_soname,$aix_use_runtimelinking in |
| 21687 | aix,*) ;; # no import file |
| 21688 | svr4,* | *,yes) # use import file |
| 21689 | # The Import File defines what to hardcode. |
| 21690 | hardcode_direct_CXX=no |
| 21691 | hardcode_direct_absolute_CXX=no |
| 21692 | ;; |
| 21693 | esac |
| 21694 | |
| 21695 | if test yes = "$GXX"; then |
| 21696 | case $host_os in aix4.[012]|aix4.[012].*) |
| 21697 | # We only want to do this on AIX 4.2 and lower, the check |
| 21698 | # below for broken collect2 doesn't work under 4.3+ |
| 21699 | collect2name=`$CC -print-prog-name=collect2` |
| 21700 | if test -f "$collect2name" && |
| 21701 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 21702 | then |
| 21703 | # We have reworked collect2 |
| 21704 | : |
| 21705 | else |
| 21706 | # We have old collect2 |
| 21707 | hardcode_direct_CXX=unsupported |
| 21708 | # It fails to find uninstalled libraries when the uninstalled |
| 21709 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 21710 | # to unsupported forces relinking |
| 21711 | hardcode_minus_L_CXX=yes |
| 21712 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 21713 | hardcode_libdir_separator_CXX= |
| 21714 | fi |
| 21715 | esac |
| 21716 | shared_flag='-shared' |
| 21717 | if test yes = "$aix_use_runtimelinking"; then |
| 21718 | shared_flag=$shared_flag' $wl-G' |
| 21719 | fi |
| 21720 | # Need to ensure runtime linking is disabled for the traditional |
| 21721 | # shared library, or the linker may eventually find shared libraries |
| 21722 | # /with/ Import File - we do not want to mix them. |
| 21723 | shared_flag_aix='-shared' |
| 21724 | shared_flag_svr4='-shared $wl-G' |
| 21725 | else |
| 21726 | # not using gcc |
| 21727 | if test ia64 = "$host_cpu"; then |
| 21728 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 21729 | # chokes on -Wl,-G. The following line is correct: |
| 21730 | shared_flag='-G' |
| 21731 | else |
| 21732 | if test yes = "$aix_use_runtimelinking"; then |
| 21733 | shared_flag='$wl-G' |
| 21734 | else |
| 21735 | shared_flag='$wl-bM:SRE' |
| 21736 | fi |
| 21737 | shared_flag_aix='$wl-bM:SRE' |
| 21738 | shared_flag_svr4='$wl-G' |
| 21739 | fi |
| 21740 | fi |
| 21741 | |
| 21742 | export_dynamic_flag_spec_CXX='$wl-bexpall' |
| 21743 | # It seems that -bexpall does not export symbols beginning with |
| 21744 | # underscore (_), so it is better to generate a list of symbols to |
| 21745 | # export. |
| 21746 | always_export_symbols_CXX=yes |
| 21747 | if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 21748 | # Warning - without using the other runtime loading flags (-brtl), |
| 21749 | # -berok will link without error, but may produce a broken library. |
| 21750 | # The "-G" linker flag allows undefined symbols. |
| 21751 | no_undefined_flag_CXX='-bernotok' |
| 21752 | # Determine the default libpath from the value encoded in an empty |
| 21753 | # executable. |
| 21754 | if test set = "${lt_cv_aix_libpath+set}"; then |
| 21755 | aix_libpath=$lt_cv_aix_libpath |
| 21756 | else |
| 21757 | if test ${lt_cv_aix_libpath__CXX+y} |
| 21758 | then : |
| 21759 | printf %s "(cached) " >&6 |
| 21760 | else case e in #( |
| 21761 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21762 | /* end confdefs.h. */ |
| 21763 | |
| 21764 | int |
| 21765 | main (void) |
| 21766 | { |
| 21767 | |
| 21768 | ; |
| 21769 | return 0; |
| 21770 | } |
| 21771 | _ACEOF |
| 21772 | if ac_fn_cxx_try_link "$LINENO" |
| 21773 | then : |
| 21774 | |
| 21775 | lt_aix_libpath_sed=' |
| 21776 | /Import File Strings/,/^$/ { |
| 21777 | /^0/ { |
| 21778 | s/^0 *\([^ ]*\) *$/\1/ |
| 21779 | p |
| 21780 | } |
| 21781 | }' |
| 21782 | lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 21783 | # Check for a 64-bit object if we didn't find anything. |
| 21784 | if test -z "$lt_cv_aix_libpath__CXX"; then |
| 21785 | lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 21786 | fi |
| 21787 | fi |
| 21788 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21789 | conftest$ac_exeext conftest.$ac_ext |
| 21790 | if test -z "$lt_cv_aix_libpath__CXX"; then |
| 21791 | lt_cv_aix_libpath__CXX=/usr/lib:/lib |
| 21792 | fi |
| 21793 | ;; |
| 21794 | esac |
| 21795 | fi |
| 21796 | |
| 21797 | aix_libpath=$lt_cv_aix_libpath__CXX |
| 21798 | fi |
| 21799 | |
| 21800 | hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" |
| 21801 | |
| 21802 | archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
| 21803 | else |
| 21804 | if test ia64 = "$host_cpu"; then |
| 21805 | hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' |
| 21806 | allow_undefined_flag_CXX="-z nodefs" |
| 21807 | archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 21808 | else |
| 21809 | # Determine the default libpath from the value encoded in an |
| 21810 | # empty executable. |
| 21811 | if test set = "${lt_cv_aix_libpath+set}"; then |
| 21812 | aix_libpath=$lt_cv_aix_libpath |
| 21813 | else |
| 21814 | if test ${lt_cv_aix_libpath__CXX+y} |
| 21815 | then : |
| 21816 | printf %s "(cached) " >&6 |
| 21817 | else case e in #( |
| 21818 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21819 | /* end confdefs.h. */ |
| 21820 | |
| 21821 | int |
| 21822 | main (void) |
| 21823 | { |
| 21824 | |
| 21825 | ; |
| 21826 | return 0; |
| 21827 | } |
| 21828 | _ACEOF |
| 21829 | if ac_fn_cxx_try_link "$LINENO" |
| 21830 | then : |
| 21831 | |
| 21832 | lt_aix_libpath_sed=' |
| 21833 | /Import File Strings/,/^$/ { |
| 21834 | /^0/ { |
| 21835 | s/^0 *\([^ ]*\) *$/\1/ |
| 21836 | p |
| 21837 | } |
| 21838 | }' |
| 21839 | lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 21840 | # Check for a 64-bit object if we didn't find anything. |
| 21841 | if test -z "$lt_cv_aix_libpath__CXX"; then |
| 21842 | lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 21843 | fi |
| 21844 | fi |
| 21845 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21846 | conftest$ac_exeext conftest.$ac_ext |
| 21847 | if test -z "$lt_cv_aix_libpath__CXX"; then |
| 21848 | lt_cv_aix_libpath__CXX=/usr/lib:/lib |
| 21849 | fi |
| 21850 | ;; |
| 21851 | esac |
| 21852 | fi |
| 21853 | |
| 21854 | aix_libpath=$lt_cv_aix_libpath__CXX |
| 21855 | fi |
| 21856 | |
| 21857 | hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" |
| 21858 | # Warning - without using the other run time loading flags, |
| 21859 | # -berok will link without error, but may produce a broken library. |
| 21860 | no_undefined_flag_CXX=' $wl-bernotok' |
| 21861 | allow_undefined_flag_CXX=' $wl-berok' |
| 21862 | if test yes = "$with_gnu_ld"; then |
| 21863 | # We only use this code for GNU lds that support --whole-archive. |
| 21864 | whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 21865 | else |
| 21866 | # Exported symbols can be pulled into shared objects from archives |
| 21867 | whole_archive_flag_spec_CXX='$convenience' |
| 21868 | fi |
| 21869 | archive_cmds_need_lc_CXX=yes |
| 21870 | archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 21871 | # -brtl affects multiple linker settings, -berok does not and is overridden later |
| 21872 | compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 21873 | if test svr4 != "$with_aix_soname"; then |
| 21874 | # This is similar to how AIX traditionally builds its shared |
| 21875 | # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. |
| 21876 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
| 21877 | fi |
| 21878 | if test aix != "$with_aix_soname"; then |
| 21879 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
| 21880 | else |
| 21881 | # used by -dlpreopen to get the symbols |
| 21882 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 21883 | fi |
| 21884 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' |
| 21885 | fi |
| 21886 | fi |
| 21887 | ;; |
| 21888 | |
| 21889 | beos*) |
| 21890 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 21891 | allow_undefined_flag_CXX=unsupported |
| 21892 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 21893 | # support --undefined. This deserves some investigation. FIXME |
| 21894 | archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 21895 | else |
| 21896 | ld_shlibs_CXX=no |
| 21897 | fi |
| 21898 | ;; |
| 21899 | |
| 21900 | chorus*) |
| 21901 | case $cc_basename in |
| 21902 | *) |
| 21903 | # FIXME: insert proper C++ library support |
| 21904 | ld_shlibs_CXX=no |
| 21905 | ;; |
| 21906 | esac |
| 21907 | ;; |
| 21908 | |
| 21909 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 21910 | case $GXX,$cc_basename in |
| 21911 | ,cl* | no,cl* | ,icl* | no,icl*) |
| 21912 | # Native MSVC or ICC |
| 21913 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 21914 | # no search path for DLLs. |
| 21915 | hardcode_libdir_flag_spec_CXX=' ' |
| 21916 | allow_undefined_flag_CXX=unsupported |
| 21917 | always_export_symbols_CXX=yes |
| 21918 | file_list_spec_CXX='@' |
| 21919 | # Tell ltmain to make .lib files, not .a files. |
| 21920 | libext=lib |
| 21921 | # Tell ltmain to make .dll files, not .so files. |
| 21922 | shrext_cmds=.dll |
| 21923 | # FIXME: Setting linknames here is a bad hack. |
| 21924 | archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 21925 | archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 21926 | cp "$export_symbols" "$output_objdir/$soname.def"; |
| 21927 | echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 21928 | else |
| 21929 | $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 21930 | fi~ |
| 21931 | $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 21932 | linknames=' |
| 21933 | # The linker will not automatically build a static lib if we build a DLL. |
| 21934 | # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' |
| 21935 | enable_shared_with_static_runtimes_CXX=yes |
| 21936 | # Don't use ranlib |
| 21937 | old_postinstall_cmds_CXX='chmod 644 $oldlib' |
| 21938 | postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ |
| 21939 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 21940 | case $lt_outputfile in |
| 21941 | *.exe|*.EXE) ;; |
| 21942 | *) |
| 21943 | lt_outputfile=$lt_outputfile.exe |
| 21944 | lt_tool_outputfile=$lt_tool_outputfile.exe |
| 21945 | ;; |
| 21946 | esac~ |
| 21947 | func_to_tool_file "$lt_outputfile"~ |
| 21948 | if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 21949 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 21950 | $RM "$lt_outputfile.manifest"; |
| 21951 | fi' |
| 21952 | ;; |
| 21953 | *) |
| 21954 | # g++ |
| 21955 | # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
| 21956 | # as there is no search path for DLLs. |
| 21957 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 21958 | export_dynamic_flag_spec_CXX='$wl--export-all-symbols' |
| 21959 | allow_undefined_flag_CXX=unsupported |
| 21960 | always_export_symbols_CXX=no |
| 21961 | enable_shared_with_static_runtimes_CXX=yes |
| 21962 | file_list_spec_CXX='@' |
| 21963 | |
| 21964 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 21965 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 21966 | # If the export-symbols file already is a .def file, use it as |
| 21967 | # is; otherwise, prepend EXPORTS... |
| 21968 | archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 21969 | cp $export_symbols $output_objdir/$soname.def; |
| 21970 | else |
| 21971 | echo EXPORTS > $output_objdir/$soname.def; |
| 21972 | cat $export_symbols >> $output_objdir/$soname.def; |
| 21973 | fi~ |
| 21974 | $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 21975 | else |
| 21976 | ld_shlibs_CXX=no |
| 21977 | fi |
| 21978 | ;; |
| 21979 | esac |
| 21980 | ;; |
| 21981 | darwin* | rhapsody*) |
| 21982 | |
| 21983 | |
| 21984 | archive_cmds_need_lc_CXX=no |
| 21985 | hardcode_direct_CXX=no |
| 21986 | hardcode_automatic_CXX=yes |
| 21987 | hardcode_shlibpath_var_CXX=unsupported |
| 21988 | if test yes = "$lt_cv_ld_force_load"; then |
| 21989 | whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 21990 | |
| 21991 | else |
| 21992 | whole_archive_flag_spec_CXX='' |
| 21993 | fi |
| 21994 | link_all_deplibs_CXX=yes |
| 21995 | allow_undefined_flag_CXX=$_lt_dar_allow_undefined |
| 21996 | case $cc_basename in |
| 21997 | ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 21998 | *) _lt_dar_can_shared=$GCC ;; |
| 21999 | esac |
| 22000 | if test yes = "$_lt_dar_can_shared"; then |
| 22001 | output_verbose_link_cmd=func_echo_all |
| 22002 | archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 22003 | module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 22004 | archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
| 22005 | module_expsym_cmds_CXX="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
| 22006 | if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then |
| 22007 | archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" |
| 22008 | archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" |
| 22009 | fi |
| 22010 | |
| 22011 | else |
| 22012 | ld_shlibs_CXX=no |
| 22013 | fi |
| 22014 | |
| 22015 | ;; |
| 22016 | |
| 22017 | os2*) |
| 22018 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 22019 | hardcode_minus_L_CXX=yes |
| 22020 | allow_undefined_flag_CXX=unsupported |
| 22021 | shrext_cmds=.dll |
| 22022 | archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 22023 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 22024 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 22025 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 22026 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 22027 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 22028 | emximp -o $lib $output_objdir/$libname.def' |
| 22029 | archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 22030 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 22031 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 22032 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 22033 | prefix_cmds="$SED"~ |
| 22034 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 22035 | prefix_cmds="$prefix_cmds -e 1d"; |
| 22036 | fi~ |
| 22037 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 22038 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 22039 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 22040 | emximp -o $lib $output_objdir/$libname.def' |
| 22041 | old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 22042 | enable_shared_with_static_runtimes_CXX=yes |
| 22043 | file_list_spec_CXX='@' |
| 22044 | ;; |
| 22045 | |
| 22046 | dgux*) |
| 22047 | case $cc_basename in |
| 22048 | ec++*) |
| 22049 | # FIXME: insert proper C++ library support |
| 22050 | ld_shlibs_CXX=no |
| 22051 | ;; |
| 22052 | ghcx*) |
| 22053 | # Green Hills C++ Compiler |
| 22054 | # FIXME: insert proper C++ library support |
| 22055 | ld_shlibs_CXX=no |
| 22056 | ;; |
| 22057 | *) |
| 22058 | # FIXME: insert proper C++ library support |
| 22059 | ld_shlibs_CXX=no |
| 22060 | ;; |
| 22061 | esac |
| 22062 | ;; |
| 22063 | |
| 22064 | freebsd2.*) |
| 22065 | # C++ shared libraries reported to be fairly broken before |
| 22066 | # switch to ELF |
| 22067 | ld_shlibs_CXX=no |
| 22068 | ;; |
| 22069 | |
| 22070 | freebsd-elf*) |
| 22071 | archive_cmds_need_lc_CXX=no |
| 22072 | ;; |
| 22073 | |
| 22074 | freebsd* | dragonfly* | midnightbsd*) |
| 22075 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
| 22076 | # conventions |
| 22077 | ld_shlibs_CXX=yes |
| 22078 | ;; |
| 22079 | |
| 22080 | haiku*) |
| 22081 | archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22082 | link_all_deplibs_CXX=no |
| 22083 | ;; |
| 22084 | |
| 22085 | hpux9*) |
| 22086 | hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' |
| 22087 | hardcode_libdir_separator_CXX=: |
| 22088 | export_dynamic_flag_spec_CXX='$wl-E' |
| 22089 | hardcode_direct_CXX=yes |
| 22090 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 22091 | # but as the default |
| 22092 | # location of the library. |
| 22093 | |
| 22094 | case $cc_basename in |
| 22095 | CC*) |
| 22096 | # FIXME: insert proper C++ library support |
| 22097 | ld_shlibs_CXX=no |
| 22098 | ;; |
| 22099 | aCC*) |
| 22100 | archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 22101 | # Commands to make compiler produce verbose output that lists |
| 22102 | # what "hidden" libraries, object files and flags are used when |
| 22103 | # linking a shared library. |
| 22104 | # |
| 22105 | # There doesn't appear to be a way to prevent this compiler from |
| 22106 | # explicitly linking system object files so we need to strip them |
| 22107 | # from the output so that they don't get included in the library |
| 22108 | # dependencies. |
| 22109 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
| 22110 | ;; |
| 22111 | *) |
| 22112 | if test yes = "$GXX"; then |
| 22113 | archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 22114 | else |
| 22115 | # FIXME: insert proper C++ library support |
| 22116 | ld_shlibs_CXX=no |
| 22117 | fi |
| 22118 | ;; |
| 22119 | esac |
| 22120 | ;; |
| 22121 | |
| 22122 | hpux10*|hpux11*) |
| 22123 | if test no = "$with_gnu_ld"; then |
| 22124 | hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' |
| 22125 | hardcode_libdir_separator_CXX=: |
| 22126 | |
| 22127 | case $host_cpu in |
| 22128 | hppa*64*|ia64*) |
| 22129 | ;; |
| 22130 | *) |
| 22131 | export_dynamic_flag_spec_CXX='$wl-E' |
| 22132 | ;; |
| 22133 | esac |
| 22134 | fi |
| 22135 | case $host_cpu in |
| 22136 | hppa*64*|ia64*) |
| 22137 | hardcode_direct_CXX=no |
| 22138 | hardcode_shlibpath_var_CXX=no |
| 22139 | ;; |
| 22140 | *) |
| 22141 | hardcode_direct_CXX=yes |
| 22142 | hardcode_direct_absolute_CXX=yes |
| 22143 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 22144 | # but as the default |
| 22145 | # location of the library. |
| 22146 | ;; |
| 22147 | esac |
| 22148 | |
| 22149 | case $cc_basename in |
| 22150 | CC*) |
| 22151 | # FIXME: insert proper C++ library support |
| 22152 | ld_shlibs_CXX=no |
| 22153 | ;; |
| 22154 | aCC*) |
| 22155 | case $host_cpu in |
| 22156 | hppa*64*) |
| 22157 | archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22158 | ;; |
| 22159 | ia64*) |
| 22160 | archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22161 | ;; |
| 22162 | *) |
| 22163 | archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22164 | ;; |
| 22165 | esac |
| 22166 | # Commands to make compiler produce verbose output that lists |
| 22167 | # what "hidden" libraries, object files and flags are used when |
| 22168 | # linking a shared library. |
| 22169 | # |
| 22170 | # There doesn't appear to be a way to prevent this compiler from |
| 22171 | # explicitly linking system object files so we need to strip them |
| 22172 | # from the output so that they don't get included in the library |
| 22173 | # dependencies. |
| 22174 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
| 22175 | ;; |
| 22176 | *) |
| 22177 | if test yes = "$GXX"; then |
| 22178 | if test no = "$with_gnu_ld"; then |
| 22179 | case $host_cpu in |
| 22180 | hppa*64*) |
| 22181 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22182 | ;; |
| 22183 | ia64*) |
| 22184 | archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22185 | ;; |
| 22186 | *) |
| 22187 | archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22188 | ;; |
| 22189 | esac |
| 22190 | fi |
| 22191 | else |
| 22192 | # FIXME: insert proper C++ library support |
| 22193 | ld_shlibs_CXX=no |
| 22194 | fi |
| 22195 | ;; |
| 22196 | esac |
| 22197 | ;; |
| 22198 | |
| 22199 | interix[3-9]*) |
| 22200 | hardcode_direct_CXX=no |
| 22201 | hardcode_shlibpath_var_CXX=no |
| 22202 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 22203 | export_dynamic_flag_spec_CXX='$wl-E' |
| 22204 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 22205 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 22206 | # default) and relocated if they conflict, which is a slow very memory |
| 22207 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 22208 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 22209 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 22210 | archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 22211 | archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 22212 | ;; |
| 22213 | irix5* | irix6*) |
| 22214 | case $cc_basename in |
| 22215 | CC*) |
| 22216 | # SGI C++ |
| 22217 | archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 22218 | |
| 22219 | # Archives containing C++ object files must be created using |
| 22220 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
| 22221 | # necessary to make sure instantiated templates are included |
| 22222 | # in the archive. |
| 22223 | old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
| 22224 | ;; |
| 22225 | *) |
| 22226 | if test yes = "$GXX"; then |
| 22227 | if test no = "$with_gnu_ld"; then |
| 22228 | archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 22229 | else |
| 22230 | archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' |
| 22231 | fi |
| 22232 | fi |
| 22233 | link_all_deplibs_CXX=yes |
| 22234 | ;; |
| 22235 | esac |
| 22236 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 22237 | hardcode_libdir_separator_CXX=: |
| 22238 | inherit_rpath_CXX=yes |
| 22239 | ;; |
| 22240 | |
| 22241 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 22242 | case $cc_basename in |
| 22243 | KCC*) |
| 22244 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 22245 | |
| 22246 | # KCC will only create a shared library if the output file |
| 22247 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 22248 | # to its proper name (with version) after linking. |
| 22249 | archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
| 22250 | archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' |
| 22251 | # Commands to make compiler produce verbose output that lists |
| 22252 | # what "hidden" libraries, object files and flags are used when |
| 22253 | # linking a shared library. |
| 22254 | # |
| 22255 | # There doesn't appear to be a way to prevent this compiler from |
| 22256 | # explicitly linking system object files so we need to strip them |
| 22257 | # from the output so that they don't get included in the library |
| 22258 | # dependencies. |
| 22259 | output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
| 22260 | |
| 22261 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 22262 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 22263 | |
| 22264 | # Archives containing C++ object files must be created using |
| 22265 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
| 22266 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
| 22267 | ;; |
| 22268 | icpc* | ecpc* ) |
| 22269 | # Intel C++ |
| 22270 | with_gnu_ld=yes |
| 22271 | # version 8.0 and above of icpc choke on multiply defined symbols |
| 22272 | # if we add $predep_objects and $postdep_objects, however 7.1 and |
| 22273 | # earlier do not add the objects themselves. |
| 22274 | case `$CC -V 2>&1` in |
| 22275 | *"Version 7."*) |
| 22276 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22277 | archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 22278 | ;; |
| 22279 | *) # Version 8.0 or newer |
| 22280 | tmp_idyn= |
| 22281 | case $host_cpu in |
| 22282 | ia64*) tmp_idyn=' -i_dynamic';; |
| 22283 | esac |
| 22284 | archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22285 | archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 22286 | ;; |
| 22287 | esac |
| 22288 | archive_cmds_need_lc_CXX=no |
| 22289 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 22290 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 22291 | whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 22292 | ;; |
| 22293 | pgCC* | pgcpp*) |
| 22294 | # Portland Group C++ compiler |
| 22295 | case `$CC -V` in |
| 22296 | *pgCC\ [1-5].* | *pgcpp\ [1-5].*) |
| 22297 | prelink_cmds_CXX='tpldir=Template.dir~ |
| 22298 | rm -rf $tpldir~ |
| 22299 | $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
| 22300 | compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
| 22301 | old_archive_cmds_CXX='tpldir=Template.dir~ |
| 22302 | rm -rf $tpldir~ |
| 22303 | $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
| 22304 | $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
| 22305 | $RANLIB $oldlib' |
| 22306 | archive_cmds_CXX='tpldir=Template.dir~ |
| 22307 | rm -rf $tpldir~ |
| 22308 | $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 22309 | $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22310 | archive_expsym_cmds_CXX='tpldir=Template.dir~ |
| 22311 | rm -rf $tpldir~ |
| 22312 | $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 22313 | $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 22314 | ;; |
| 22315 | *) # Version 6 and above use weak symbols |
| 22316 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22317 | archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 22318 | ;; |
| 22319 | esac |
| 22320 | |
| 22321 | hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' |
| 22322 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 22323 | whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 22324 | ;; |
| 22325 | cxx*) |
| 22326 | # Compaq C++ |
| 22327 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22328 | archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' |
| 22329 | |
| 22330 | runpath_var=LD_RUN_PATH |
| 22331 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
| 22332 | hardcode_libdir_separator_CXX=: |
| 22333 | |
| 22334 | # Commands to make compiler produce verbose output that lists |
| 22335 | # what "hidden" libraries, object files and flags are used when |
| 22336 | # linking a shared library. |
| 22337 | # |
| 22338 | # There doesn't appear to be a way to prevent this compiler from |
| 22339 | # explicitly linking system object files so we need to strip them |
| 22340 | # from the output so that they don't get included in the library |
| 22341 | # dependencies. |
| 22342 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' |
| 22343 | ;; |
| 22344 | xl* | mpixl* | bgxl*) |
| 22345 | # IBM XL 8.0 on PPC, with GNU ld |
| 22346 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 22347 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 22348 | archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 22349 | if test yes = "$supports_anon_versioning"; then |
| 22350 | archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ |
| 22351 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 22352 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 22353 | $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 22354 | fi |
| 22355 | ;; |
| 22356 | *) |
| 22357 | case `$CC -V 2>&1 | $SED 5q` in |
| 22358 | *Sun\ C*) |
| 22359 | # Sun C++ 5.9 |
| 22360 | no_undefined_flag_CXX=' -zdefs' |
| 22361 | archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22362 | archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' |
| 22363 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 22364 | whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 22365 | compiler_needs_object_CXX=yes |
| 22366 | |
| 22367 | # Not sure whether something based on |
| 22368 | # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
| 22369 | # would be better. |
| 22370 | output_verbose_link_cmd='func_echo_all' |
| 22371 | |
| 22372 | # Archives containing C++ object files must be created using |
| 22373 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 22374 | # necessary to make sure instantiated templates are included |
| 22375 | # in the archive. |
| 22376 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
| 22377 | ;; |
| 22378 | esac |
| 22379 | ;; |
| 22380 | esac |
| 22381 | ;; |
| 22382 | |
| 22383 | lynxos*) |
| 22384 | # FIXME: insert proper C++ library support |
| 22385 | ld_shlibs_CXX=no |
| 22386 | ;; |
| 22387 | |
| 22388 | m88k*) |
| 22389 | # FIXME: insert proper C++ library support |
| 22390 | ld_shlibs_CXX=no |
| 22391 | ;; |
| 22392 | |
| 22393 | mvs*) |
| 22394 | case $cc_basename in |
| 22395 | cxx*) |
| 22396 | # FIXME: insert proper C++ library support |
| 22397 | ld_shlibs_CXX=no |
| 22398 | ;; |
| 22399 | *) |
| 22400 | # FIXME: insert proper C++ library support |
| 22401 | ld_shlibs_CXX=no |
| 22402 | ;; |
| 22403 | esac |
| 22404 | ;; |
| 22405 | |
| 22406 | *-mlibc) |
| 22407 | ld_shlibs_CXX=yes |
| 22408 | ;; |
| 22409 | |
| 22410 | netbsd*) |
| 22411 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 22412 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
| 22413 | wlarc= |
| 22414 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 22415 | hardcode_direct_CXX=yes |
| 22416 | hardcode_shlibpath_var_CXX=no |
| 22417 | fi |
| 22418 | # Workaround some broken pre-1.5 toolchains |
| 22419 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
| 22420 | ;; |
| 22421 | |
| 22422 | *nto* | *qnx*) |
| 22423 | ld_shlibs_CXX=yes |
| 22424 | ;; |
| 22425 | |
| 22426 | openbsd*) |
| 22427 | if test -f /usr/libexec/ld.so; then |
| 22428 | hardcode_direct_CXX=yes |
| 22429 | hardcode_shlibpath_var_CXX=no |
| 22430 | hardcode_direct_absolute_CXX=yes |
| 22431 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 22432 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 22433 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then |
| 22434 | archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' |
| 22435 | export_dynamic_flag_spec_CXX='$wl-E' |
| 22436 | whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 22437 | fi |
| 22438 | output_verbose_link_cmd=func_echo_all |
| 22439 | else |
| 22440 | ld_shlibs_CXX=no |
| 22441 | fi |
| 22442 | ;; |
| 22443 | |
| 22444 | osf3* | osf4* | osf5*) |
| 22445 | case $cc_basename in |
| 22446 | KCC*) |
| 22447 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 22448 | |
| 22449 | # KCC will only create a shared library if the output file |
| 22450 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 22451 | # to its proper name (with version) after linking. |
| 22452 | archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
| 22453 | |
| 22454 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 22455 | hardcode_libdir_separator_CXX=: |
| 22456 | |
| 22457 | # Archives containing C++ object files must be created using |
| 22458 | # the KAI C++ compiler. |
| 22459 | case $host in |
| 22460 | osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; |
| 22461 | *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; |
| 22462 | esac |
| 22463 | ;; |
| 22464 | RCC*) |
| 22465 | # Rational C++ 2.4.1 |
| 22466 | # FIXME: insert proper C++ library support |
| 22467 | ld_shlibs_CXX=no |
| 22468 | ;; |
| 22469 | cxx*) |
| 22470 | case $host in |
| 22471 | osf3*) |
| 22472 | allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' |
| 22473 | archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 22474 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 22475 | ;; |
| 22476 | *) |
| 22477 | allow_undefined_flag_CXX=' -expect_unresolved \*' |
| 22478 | archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 22479 | archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
| 22480 | echo "-hidden">> $lib.exp~ |
| 22481 | $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ |
| 22482 | $RM $lib.exp' |
| 22483 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
| 22484 | ;; |
| 22485 | esac |
| 22486 | |
| 22487 | hardcode_libdir_separator_CXX=: |
| 22488 | |
| 22489 | # Commands to make compiler produce verbose output that lists |
| 22490 | # what "hidden" libraries, object files and flags are used when |
| 22491 | # linking a shared library. |
| 22492 | # |
| 22493 | # There doesn't appear to be a way to prevent this compiler from |
| 22494 | # explicitly linking system object files so we need to strip them |
| 22495 | # from the output so that they don't get included in the library |
| 22496 | # dependencies. |
| 22497 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
| 22498 | ;; |
| 22499 | *) |
| 22500 | if test yes,no = "$GXX,$with_gnu_ld"; then |
| 22501 | allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' |
| 22502 | case $host in |
| 22503 | osf3*) |
| 22504 | archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 22505 | ;; |
| 22506 | *) |
| 22507 | archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 22508 | ;; |
| 22509 | esac |
| 22510 | |
| 22511 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 22512 | hardcode_libdir_separator_CXX=: |
| 22513 | |
| 22514 | # Commands to make compiler produce verbose output that lists |
| 22515 | # what "hidden" libraries, object files and flags are used when |
| 22516 | # linking a shared library. |
| 22517 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 22518 | |
| 22519 | else |
| 22520 | # FIXME: insert proper C++ library support |
| 22521 | ld_shlibs_CXX=no |
| 22522 | fi |
| 22523 | ;; |
| 22524 | esac |
| 22525 | ;; |
| 22526 | |
| 22527 | psos*) |
| 22528 | # FIXME: insert proper C++ library support |
| 22529 | ld_shlibs_CXX=no |
| 22530 | ;; |
| 22531 | |
| 22532 | serenity*) |
| 22533 | ;; |
| 22534 | |
| 22535 | sunos4*) |
| 22536 | case $cc_basename in |
| 22537 | CC*) |
| 22538 | # Sun C++ 4.x |
| 22539 | # FIXME: insert proper C++ library support |
| 22540 | ld_shlibs_CXX=no |
| 22541 | ;; |
| 22542 | lcc*) |
| 22543 | # Lucid |
| 22544 | # FIXME: insert proper C++ library support |
| 22545 | ld_shlibs_CXX=no |
| 22546 | ;; |
| 22547 | *) |
| 22548 | # FIXME: insert proper C++ library support |
| 22549 | ld_shlibs_CXX=no |
| 22550 | ;; |
| 22551 | esac |
| 22552 | ;; |
| 22553 | |
| 22554 | solaris*) |
| 22555 | case $cc_basename in |
| 22556 | CC* | sunCC*) |
| 22557 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 22558 | archive_cmds_need_lc_CXX=yes |
| 22559 | no_undefined_flag_CXX=' -zdefs' |
| 22560 | archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 22561 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 22562 | $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| 22563 | |
| 22564 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 22565 | hardcode_shlibpath_var_CXX=no |
| 22566 | case $host_os in |
| 22567 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 22568 | *) |
| 22569 | # The compiler driver will combine and reorder linker options, |
| 22570 | # but understands '-z linker_flag'. |
| 22571 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 22572 | whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
| 22573 | ;; |
| 22574 | esac |
| 22575 | link_all_deplibs_CXX=yes |
| 22576 | |
| 22577 | output_verbose_link_cmd='func_echo_all' |
| 22578 | |
| 22579 | # Archives containing C++ object files must be created using |
| 22580 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 22581 | # necessary to make sure instantiated templates are included |
| 22582 | # in the archive. |
| 22583 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
| 22584 | ;; |
| 22585 | gcx*) |
| 22586 | # Green Hills C++ Compiler |
| 22587 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 22588 | |
| 22589 | # The C++ compiler must be used to create the archive. |
| 22590 | old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
| 22591 | ;; |
| 22592 | *) |
| 22593 | # GNU C++ compiler with Solaris linker |
| 22594 | if test yes,no = "$GXX,$with_gnu_ld"; then |
| 22595 | no_undefined_flag_CXX=' $wl-z ${wl}defs' |
| 22596 | if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
| 22597 | archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 22598 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 22599 | $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| 22600 | |
| 22601 | # Commands to make compiler produce verbose output that lists |
| 22602 | # what "hidden" libraries, object files and flags are used when |
| 22603 | # linking a shared library. |
| 22604 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 22605 | else |
| 22606 | # g++ 2.7 appears to require '-G' NOT '-shared' on this |
| 22607 | # platform. |
| 22608 | archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 22609 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 22610 | $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| 22611 | |
| 22612 | # Commands to make compiler produce verbose output that lists |
| 22613 | # what "hidden" libraries, object files and flags are used when |
| 22614 | # linking a shared library. |
| 22615 | output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 22616 | fi |
| 22617 | |
| 22618 | hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' |
| 22619 | case $host_os in |
| 22620 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 22621 | *) |
| 22622 | whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 22623 | ;; |
| 22624 | esac |
| 22625 | fi |
| 22626 | ;; |
| 22627 | esac |
| 22628 | ;; |
| 22629 | |
| 22630 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 22631 | no_undefined_flag_CXX='$wl-z,text' |
| 22632 | archive_cmds_need_lc_CXX=no |
| 22633 | hardcode_shlibpath_var_CXX=no |
| 22634 | runpath_var='LD_RUN_PATH' |
| 22635 | |
| 22636 | case $cc_basename in |
| 22637 | CC*) |
| 22638 | archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22639 | archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22640 | ;; |
| 22641 | *) |
| 22642 | archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22643 | archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22644 | ;; |
| 22645 | esac |
| 22646 | ;; |
| 22647 | |
| 22648 | sysv5* | sco3.2v5* | sco5v6*) |
| 22649 | # Note: We CANNOT use -z defs as we might desire, because we do not |
| 22650 | # link with -lc, and that would cause any symbols used from libc to |
| 22651 | # always be unresolved, which means just about no library would |
| 22652 | # ever link correctly. If we're not using GNU ld we use -z text |
| 22653 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 22654 | # as -z defs. |
| 22655 | no_undefined_flag_CXX='$wl-z,text' |
| 22656 | allow_undefined_flag_CXX='$wl-z,nodefs' |
| 22657 | archive_cmds_need_lc_CXX=no |
| 22658 | hardcode_shlibpath_var_CXX=no |
| 22659 | hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' |
| 22660 | hardcode_libdir_separator_CXX=':' |
| 22661 | link_all_deplibs_CXX=yes |
| 22662 | export_dynamic_flag_spec_CXX='$wl-Bexport' |
| 22663 | runpath_var='LD_RUN_PATH' |
| 22664 | |
| 22665 | case $cc_basename in |
| 22666 | CC*) |
| 22667 | archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22668 | archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22669 | old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ |
| 22670 | '"$old_archive_cmds_CXX" |
| 22671 | reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ |
| 22672 | '"$reload_cmds_CXX" |
| 22673 | ;; |
| 22674 | *) |
| 22675 | archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22676 | archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 22677 | ;; |
| 22678 | esac |
| 22679 | ;; |
| 22680 | |
| 22681 | tandem*) |
| 22682 | case $cc_basename in |
| 22683 | NCC*) |
| 22684 | # NonStop-UX NCC 3.20 |
| 22685 | # FIXME: insert proper C++ library support |
| 22686 | ld_shlibs_CXX=no |
| 22687 | ;; |
| 22688 | *) |
| 22689 | # FIXME: insert proper C++ library support |
| 22690 | ld_shlibs_CXX=no |
| 22691 | ;; |
| 22692 | esac |
| 22693 | ;; |
| 22694 | |
| 22695 | vxworks*) |
| 22696 | # FIXME: insert proper C++ library support |
| 22697 | ld_shlibs_CXX=no |
| 22698 | ;; |
| 22699 | |
| 22700 | *) |
| 22701 | # FIXME: insert proper C++ library support |
| 22702 | ld_shlibs_CXX=no |
| 22703 | ;; |
| 22704 | esac |
| 22705 | |
| 22706 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
| 22707 | printf "%s\n" "$ld_shlibs_CXX" >&6; } |
| 22708 | test no = "$ld_shlibs_CXX" && can_build_shared=no |
| 22709 | |
| 22710 | GCC_CXX=$GXX |
| 22711 | LD_CXX=$LD |
| 22712 | |
| 22713 | ## CAVEAT EMPTOR: |
| 22714 | ## There is no encapsulation within the following macros, do not change |
| 22715 | ## the running order or otherwise move them around unless you know exactly |
| 22716 | ## what you are doing... |
| 22717 | # Dependencies to place before and after the object being linked: |
| 22718 | predep_objects_CXX= |
| 22719 | postdep_objects_CXX= |
| 22720 | predeps_CXX= |
| 22721 | postdeps_CXX= |
| 22722 | compiler_lib_search_path_CXX= |
| 22723 | |
| 22724 | cat > conftest.$ac_ext <<_LT_EOF |
| 22725 | class Foo |
| 22726 | { |
| 22727 | public: |
| 22728 | Foo (void) { a = 0; } |
| 22729 | private: |
| 22730 | int a; |
| 22731 | }; |
| 22732 | _LT_EOF |
| 22733 | |
| 22734 | |
| 22735 | _lt_libdeps_save_CFLAGS=$CFLAGS |
| 22736 | case "$CC $CFLAGS " in #( |
| 22737 | *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
| 22738 | *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
| 22739 | *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; |
| 22740 | esac |
| 22741 | |
| 22742 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 22743 | (eval $ac_compile) 2>&5 |
| 22744 | ac_status=$? |
| 22745 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22746 | test $ac_status = 0; }; then |
| 22747 | # Parse the compiler output and extract the necessary |
| 22748 | # objects, libraries and library flags. |
| 22749 | |
| 22750 | # Sentinel used to keep track of whether or not we are before |
| 22751 | # the conftest object file. |
| 22752 | pre_test_object_deps_done=no |
| 22753 | |
| 22754 | for p in `eval "$output_verbose_link_cmd"`; do |
| 22755 | case $prev$p in |
| 22756 | |
| 22757 | -L* | -R* | -l*) |
| 22758 | # Some compilers place space between "-{L,R,l}" and the path. |
| 22759 | # Remove the space. |
| 22760 | if test x-L = x"$p" || |
| 22761 | test x-R = x"$p" || |
| 22762 | test x-l = x"$p"; then |
| 22763 | prev=$p |
| 22764 | continue |
| 22765 | fi |
| 22766 | |
| 22767 | # Expand the sysroot to ease extracting the directories later. |
| 22768 | if test -z "$prev"; then |
| 22769 | case $p in |
| 22770 | -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
| 22771 | -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
| 22772 | -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
| 22773 | esac |
| 22774 | fi |
| 22775 | case $p in |
| 22776 | =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
| 22777 | esac |
| 22778 | if test no = "$pre_test_object_deps_done"; then |
| 22779 | case $prev in |
| 22780 | -L | -R) |
| 22781 | # Internal compiler library paths should come after those |
| 22782 | # provided the user. The postdeps already come after the |
| 22783 | # user supplied libs so there is no need to process them. |
| 22784 | if test -z "$compiler_lib_search_path_CXX"; then |
| 22785 | compiler_lib_search_path_CXX=$prev$p |
| 22786 | else |
| 22787 | compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" |
| 22788 | fi |
| 22789 | ;; |
| 22790 | # The "-l" case would never come before the object being |
| 22791 | # linked, so don't bother handling this case. |
| 22792 | esac |
| 22793 | else |
| 22794 | if test -z "$postdeps_CXX"; then |
| 22795 | postdeps_CXX=$prev$p |
| 22796 | else |
| 22797 | postdeps_CXX="${postdeps_CXX} $prev$p" |
| 22798 | fi |
| 22799 | fi |
| 22800 | prev= |
| 22801 | ;; |
| 22802 | |
| 22803 | *.lto.$objext) ;; # Ignore GCC LTO objects |
| 22804 | *.$objext) |
| 22805 | # This assumes that the test object file only shows up |
| 22806 | # once in the compiler output. |
| 22807 | if test "$p" = "conftest.$objext"; then |
| 22808 | pre_test_object_deps_done=yes |
| 22809 | continue |
| 22810 | fi |
| 22811 | |
| 22812 | if test no = "$pre_test_object_deps_done"; then |
| 22813 | if test -z "$predep_objects_CXX"; then |
| 22814 | predep_objects_CXX=$p |
| 22815 | else |
| 22816 | predep_objects_CXX="$predep_objects_CXX $p" |
| 22817 | fi |
| 22818 | else |
| 22819 | if test -z "$postdep_objects_CXX"; then |
| 22820 | postdep_objects_CXX=$p |
| 22821 | else |
| 22822 | postdep_objects_CXX="$postdep_objects_CXX $p" |
| 22823 | fi |
| 22824 | fi |
| 22825 | ;; |
| 22826 | |
| 22827 | *) ;; # Ignore the rest. |
| 22828 | |
| 22829 | esac |
| 22830 | done |
| 22831 | |
| 22832 | # Clean up. |
| 22833 | rm -f a.out a.exe |
| 22834 | else |
| 22835 | echo "libtool.m4: error: problem compiling CXX test program" |
| 22836 | fi |
| 22837 | |
| 22838 | $RM -f confest.$objext |
| 22839 | CFLAGS=$_lt_libdeps_save_CFLAGS |
| 22840 | |
| 22841 | # PORTME: override above test on systems where it is broken |
| 22842 | case $host_os in |
| 22843 | interix[3-9]*) |
| 22844 | # Interix 3.5 installs completely hosed .la files for C++, so rather than |
| 22845 | # hack all around it, let's just trust "g++" to DTRT. |
| 22846 | predep_objects_CXX= |
| 22847 | postdep_objects_CXX= |
| 22848 | postdeps_CXX= |
| 22849 | ;; |
| 22850 | esac |
| 22851 | |
| 22852 | |
| 22853 | case " $postdeps_CXX " in |
| 22854 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; |
| 22855 | esac |
| 22856 | compiler_lib_search_dirs_CXX= |
| 22857 | if test -n "${compiler_lib_search_path_CXX}"; then |
| 22858 | compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` |
| 22859 | fi |
| 22860 | |
| 22861 | |
| 22862 | |
| 22863 | |
| 22864 | |
| 22865 | |
| 22866 | |
| 22867 | |
| 22868 | |
| 22869 | |
| 22870 | |
| 22871 | |
| 22872 | |
| 22873 | |
| 22874 | |
| 22875 | |
| 22876 | |
| 22877 | |
| 22878 | |
| 22879 | |
| 22880 | |
| 22881 | |
| 22882 | |
| 22883 | |
| 22884 | |
| 22885 | |
| 22886 | |
| 22887 | |
| 22888 | |
| 22889 | |
| 22890 | |
| 22891 | lt_prog_compiler_wl_CXX= |
| 22892 | lt_prog_compiler_pic_CXX= |
| 22893 | lt_prog_compiler_static_CXX= |
| 22894 | |
| 22895 | |
| 22896 | # C++ specific cases for pic, static, wl, etc. |
| 22897 | if test yes = "$GXX"; then |
| 22898 | lt_prog_compiler_wl_CXX='-Wl,' |
| 22899 | lt_prog_compiler_static_CXX='-static' |
| 22900 | |
| 22901 | case $host_os in |
| 22902 | aix*) |
| 22903 | # All AIX code is PIC. |
| 22904 | if test ia64 = "$host_cpu"; then |
| 22905 | # AIX 5 now supports IA64 processor |
| 22906 | lt_prog_compiler_static_CXX='-Bstatic' |
| 22907 | fi |
| 22908 | lt_prog_compiler_pic_CXX='-fPIC' |
| 22909 | ;; |
| 22910 | |
| 22911 | amigaos*) |
| 22912 | case $host_cpu in |
| 22913 | powerpc) |
| 22914 | # see comment about AmigaOS4 .so support |
| 22915 | lt_prog_compiler_pic_CXX='-fPIC' |
| 22916 | ;; |
| 22917 | m68k) |
| 22918 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 22919 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 22920 | # like '-m68040'. |
| 22921 | lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
| 22922 | ;; |
| 22923 | esac |
| 22924 | ;; |
| 22925 | |
| 22926 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 22927 | # PIC is the default for these OSes. |
| 22928 | ;; |
| 22929 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 22930 | # This hack is so that the source file can tell whether it is being |
| 22931 | # built for inclusion in a dll (and should export symbols for example). |
| 22932 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 22933 | # (--disable-auto-import) libraries |
| 22934 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 22935 | case $host_os in |
| 22936 | os2*) |
| 22937 | lt_prog_compiler_static_CXX='$wl-static' |
| 22938 | ;; |
| 22939 | esac |
| 22940 | ;; |
| 22941 | darwin* | rhapsody*) |
| 22942 | # PIC is the default on this platform |
| 22943 | # Common symbols not allowed in MH_DYLIB files |
| 22944 | lt_prog_compiler_pic_CXX='-fno-common' |
| 22945 | ;; |
| 22946 | *djgpp*) |
| 22947 | # DJGPP does not support shared libraries at all |
| 22948 | lt_prog_compiler_pic_CXX= |
| 22949 | ;; |
| 22950 | haiku*) |
| 22951 | # PIC is the default for Haiku. |
| 22952 | # The "-static" flag exists, but is broken. |
| 22953 | lt_prog_compiler_static_CXX= |
| 22954 | ;; |
| 22955 | interix[3-9]*) |
| 22956 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 22957 | # Instead, we relocate shared libraries at runtime. |
| 22958 | ;; |
| 22959 | sysv4*MP*) |
| 22960 | if test -d /usr/nec; then |
| 22961 | lt_prog_compiler_pic_CXX=-Kconform_pic |
| 22962 | fi |
| 22963 | ;; |
| 22964 | hpux*) |
| 22965 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 22966 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 22967 | # sets the default TLS model and affects inlining. |
| 22968 | case $host_cpu in |
| 22969 | hppa*64*) |
| 22970 | ;; |
| 22971 | *) |
| 22972 | lt_prog_compiler_pic_CXX='-fPIC' |
| 22973 | ;; |
| 22974 | esac |
| 22975 | ;; |
| 22976 | *qnx* | *nto*) |
| 22977 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 22978 | # it will coredump. |
| 22979 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 22980 | ;; |
| 22981 | *) |
| 22982 | lt_prog_compiler_pic_CXX='-fPIC' |
| 22983 | ;; |
| 22984 | esac |
| 22985 | else |
| 22986 | case $host_os in |
| 22987 | aix[4-9]*) |
| 22988 | # All AIX code is PIC. |
| 22989 | if test ia64 = "$host_cpu"; then |
| 22990 | # AIX 5 now supports IA64 processor |
| 22991 | lt_prog_compiler_static_CXX='-Bstatic' |
| 22992 | else |
| 22993 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
| 22994 | fi |
| 22995 | ;; |
| 22996 | chorus*) |
| 22997 | case $cc_basename in |
| 22998 | cxch68*) |
| 22999 | # Green Hills C++ Compiler |
| 23000 | # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
| 23001 | ;; |
| 23002 | esac |
| 23003 | ;; |
| 23004 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 23005 | # This hack is so that the source file can tell whether it is being |
| 23006 | # built for inclusion in a dll (and should export symbols for example). |
| 23007 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 23008 | ;; |
| 23009 | dgux*) |
| 23010 | case $cc_basename in |
| 23011 | ec++*) |
| 23012 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23013 | ;; |
| 23014 | ghcx*) |
| 23015 | # Green Hills C++ Compiler |
| 23016 | lt_prog_compiler_pic_CXX='-pic' |
| 23017 | ;; |
| 23018 | *) |
| 23019 | ;; |
| 23020 | esac |
| 23021 | ;; |
| 23022 | freebsd* | dragonfly* | midnightbsd*) |
| 23023 | # FreeBSD uses GNU C++ |
| 23024 | ;; |
| 23025 | hpux9* | hpux10* | hpux11*) |
| 23026 | case $cc_basename in |
| 23027 | CC*) |
| 23028 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23029 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 23030 | if test ia64 != "$host_cpu"; then |
| 23031 | lt_prog_compiler_pic_CXX='+Z' |
| 23032 | fi |
| 23033 | ;; |
| 23034 | aCC*) |
| 23035 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23036 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 23037 | case $host_cpu in |
| 23038 | hppa*64*|ia64*) |
| 23039 | # +Z the default |
| 23040 | ;; |
| 23041 | *) |
| 23042 | lt_prog_compiler_pic_CXX='+Z' |
| 23043 | ;; |
| 23044 | esac |
| 23045 | ;; |
| 23046 | *) |
| 23047 | ;; |
| 23048 | esac |
| 23049 | ;; |
| 23050 | interix*) |
| 23051 | # This is c89, which is MS Visual C++ (no shared libs) |
| 23052 | # Anyone wants to do a port? |
| 23053 | ;; |
| 23054 | irix5* | irix6* | nonstopux*) |
| 23055 | case $cc_basename in |
| 23056 | CC*) |
| 23057 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23058 | lt_prog_compiler_static_CXX='-non_shared' |
| 23059 | # CC pic flag -KPIC is the default. |
| 23060 | ;; |
| 23061 | *) |
| 23062 | ;; |
| 23063 | esac |
| 23064 | ;; |
| 23065 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 23066 | case $cc_basename in |
| 23067 | KCC*) |
| 23068 | # KAI C++ Compiler |
| 23069 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 23070 | lt_prog_compiler_pic_CXX='-fPIC' |
| 23071 | ;; |
| 23072 | ecpc* ) |
| 23073 | # old Intel C++ for x86_64, which still supported -KPIC. |
| 23074 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23075 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23076 | lt_prog_compiler_static_CXX='-static' |
| 23077 | ;; |
| 23078 | icpc* ) |
| 23079 | # Intel C++, used to be incompatible with GCC. |
| 23080 | # ICC 10 doesn't accept -KPIC any more. |
| 23081 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23082 | lt_prog_compiler_pic_CXX='-fPIC' |
| 23083 | lt_prog_compiler_static_CXX='-static' |
| 23084 | ;; |
| 23085 | pgCC* | pgcpp*) |
| 23086 | # Portland Group C++ compiler |
| 23087 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23088 | lt_prog_compiler_pic_CXX='-fpic' |
| 23089 | lt_prog_compiler_static_CXX='-Bstatic' |
| 23090 | ;; |
| 23091 | cxx*) |
| 23092 | # Compaq C++ |
| 23093 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 23094 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 23095 | lt_prog_compiler_pic_CXX= |
| 23096 | lt_prog_compiler_static_CXX='-non_shared' |
| 23097 | ;; |
| 23098 | xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
| 23099 | # IBM XL 8.0, 9.0 on PPC and BlueGene |
| 23100 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23101 | lt_prog_compiler_pic_CXX='-qpic' |
| 23102 | lt_prog_compiler_static_CXX='-qstaticlink' |
| 23103 | ;; |
| 23104 | *) |
| 23105 | case `$CC -V 2>&1 | $SED 5q` in |
| 23106 | *Sun\ C*) |
| 23107 | # Sun C++ 5.9 |
| 23108 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23109 | lt_prog_compiler_static_CXX='-Bstatic' |
| 23110 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 23111 | ;; |
| 23112 | esac |
| 23113 | ;; |
| 23114 | esac |
| 23115 | ;; |
| 23116 | lynxos*) |
| 23117 | ;; |
| 23118 | m88k*) |
| 23119 | ;; |
| 23120 | mvs*) |
| 23121 | case $cc_basename in |
| 23122 | cxx*) |
| 23123 | lt_prog_compiler_pic_CXX='-W c,exportall' |
| 23124 | ;; |
| 23125 | *) |
| 23126 | ;; |
| 23127 | esac |
| 23128 | ;; |
| 23129 | netbsd* | netbsdelf*-gnu) |
| 23130 | ;; |
| 23131 | *-mlibc) |
| 23132 | ;; |
| 23133 | *qnx* | *nto*) |
| 23134 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 23135 | # it will coredump. |
| 23136 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 23137 | ;; |
| 23138 | osf3* | osf4* | osf5*) |
| 23139 | case $cc_basename in |
| 23140 | KCC*) |
| 23141 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 23142 | ;; |
| 23143 | RCC*) |
| 23144 | # Rational C++ 2.4.1 |
| 23145 | lt_prog_compiler_pic_CXX='-pic' |
| 23146 | ;; |
| 23147 | cxx*) |
| 23148 | # Digital/Compaq C++ |
| 23149 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23150 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 23151 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 23152 | lt_prog_compiler_pic_CXX= |
| 23153 | lt_prog_compiler_static_CXX='-non_shared' |
| 23154 | ;; |
| 23155 | *) |
| 23156 | ;; |
| 23157 | esac |
| 23158 | ;; |
| 23159 | psos*) |
| 23160 | ;; |
| 23161 | serenity*) |
| 23162 | ;; |
| 23163 | solaris*) |
| 23164 | case $cc_basename in |
| 23165 | CC* | sunCC*) |
| 23166 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 23167 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23168 | lt_prog_compiler_static_CXX='-Bstatic' |
| 23169 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 23170 | ;; |
| 23171 | gcx*) |
| 23172 | # Green Hills C++ Compiler |
| 23173 | lt_prog_compiler_pic_CXX='-PIC' |
| 23174 | ;; |
| 23175 | *) |
| 23176 | ;; |
| 23177 | esac |
| 23178 | ;; |
| 23179 | sunos4*) |
| 23180 | case $cc_basename in |
| 23181 | CC*) |
| 23182 | # Sun C++ 4.x |
| 23183 | lt_prog_compiler_pic_CXX='-pic' |
| 23184 | lt_prog_compiler_static_CXX='-Bstatic' |
| 23185 | ;; |
| 23186 | lcc*) |
| 23187 | # Lucid |
| 23188 | lt_prog_compiler_pic_CXX='-pic' |
| 23189 | ;; |
| 23190 | *) |
| 23191 | ;; |
| 23192 | esac |
| 23193 | ;; |
| 23194 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 23195 | case $cc_basename in |
| 23196 | CC*) |
| 23197 | lt_prog_compiler_wl_CXX='-Wl,' |
| 23198 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23199 | lt_prog_compiler_static_CXX='-Bstatic' |
| 23200 | ;; |
| 23201 | esac |
| 23202 | ;; |
| 23203 | tandem*) |
| 23204 | case $cc_basename in |
| 23205 | NCC*) |
| 23206 | # NonStop-UX NCC 3.20 |
| 23207 | lt_prog_compiler_pic_CXX='-KPIC' |
| 23208 | ;; |
| 23209 | *) |
| 23210 | ;; |
| 23211 | esac |
| 23212 | ;; |
| 23213 | vxworks*) |
| 23214 | ;; |
| 23215 | *) |
| 23216 | lt_prog_compiler_can_build_shared_CXX=no |
| 23217 | ;; |
| 23218 | esac |
| 23219 | fi |
| 23220 | |
| 23221 | case $host_os in |
| 23222 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 23223 | *djgpp*) |
| 23224 | lt_prog_compiler_pic_CXX= |
| 23225 | ;; |
| 23226 | *) |
| 23227 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
| 23228 | ;; |
| 23229 | esac |
| 23230 | |
| 23231 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 23232 | printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 23233 | if test ${lt_cv_prog_compiler_pic_CXX+y} |
| 23234 | then : |
| 23235 | printf %s "(cached) " >&6 |
| 23236 | else case e in #( |
| 23237 | e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;; |
| 23238 | esac |
| 23239 | fi |
| 23240 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
| 23241 | printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; } |
| 23242 | lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
| 23243 | |
| 23244 | # |
| 23245 | # Check to make sure the PIC flag actually works. |
| 23246 | # |
| 23247 | if test -n "$lt_prog_compiler_pic_CXX"; then |
| 23248 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
| 23249 | printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
| 23250 | if test ${lt_cv_prog_compiler_pic_works_CXX+y} |
| 23251 | then : |
| 23252 | printf %s "(cached) " >&6 |
| 23253 | else case e in #( |
| 23254 | e) lt_cv_prog_compiler_pic_works_CXX=no |
| 23255 | ac_outfile=conftest.$ac_objext |
| 23256 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 23257 | lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 23258 | # Insert the option either (1) after the last *FLAGS variable, or |
| 23259 | # (2) before a word containing "conftest.", or (3) at the end. |
| 23260 | # Note that $ac_compile itself does not contain backslashes and begins |
| 23261 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 23262 | # The option is referenced via a variable to avoid confusing sed. |
| 23263 | lt_compile=`echo "$ac_compile" | $SED \ |
| 23264 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 23265 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 23266 | -e 's:$: $lt_compiler_flag:'` |
| 23267 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 23268 | (eval "$lt_compile" 2>conftest.err) |
| 23269 | ac_status=$? |
| 23270 | cat conftest.err >&5 |
| 23271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23272 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 23273 | # The compiler can only warn and ignore the option if not recognized |
| 23274 | # So say no if there are warnings other than the usual output. |
| 23275 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 23276 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 23277 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 23278 | lt_cv_prog_compiler_pic_works_CXX=yes |
| 23279 | fi |
| 23280 | fi |
| 23281 | $RM conftest* |
| 23282 | ;; |
| 23283 | esac |
| 23284 | fi |
| 23285 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
| 23286 | printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
| 23287 | |
| 23288 | if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then |
| 23289 | case $lt_prog_compiler_pic_CXX in |
| 23290 | "" | " "*) ;; |
| 23291 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
| 23292 | esac |
| 23293 | else |
| 23294 | lt_prog_compiler_pic_CXX= |
| 23295 | lt_prog_compiler_can_build_shared_CXX=no |
| 23296 | fi |
| 23297 | |
| 23298 | fi |
| 23299 | |
| 23300 | |
| 23301 | |
| 23302 | |
| 23303 | |
| 23304 | # |
| 23305 | # Check to make sure the static flag actually works. |
| 23306 | # |
| 23307 | wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
| 23308 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 23309 | printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 23310 | if test ${lt_cv_prog_compiler_static_works_CXX+y} |
| 23311 | then : |
| 23312 | printf %s "(cached) " >&6 |
| 23313 | else case e in #( |
| 23314 | e) lt_cv_prog_compiler_static_works_CXX=no |
| 23315 | save_LDFLAGS=$LDFLAGS |
| 23316 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 23317 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 23318 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 23319 | # The linker can only warn and ignore the option if not recognized |
| 23320 | # So say no if there are warnings |
| 23321 | if test -s conftest.err; then |
| 23322 | # Append any errors to the config.log. |
| 23323 | cat conftest.err 1>&5 |
| 23324 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 23325 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 23326 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 23327 | lt_cv_prog_compiler_static_works_CXX=yes |
| 23328 | fi |
| 23329 | else |
| 23330 | lt_cv_prog_compiler_static_works_CXX=yes |
| 23331 | fi |
| 23332 | fi |
| 23333 | $RM -r conftest* |
| 23334 | LDFLAGS=$save_LDFLAGS |
| 23335 | ;; |
| 23336 | esac |
| 23337 | fi |
| 23338 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
| 23339 | printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
| 23340 | |
| 23341 | if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then |
| 23342 | : |
| 23343 | else |
| 23344 | lt_prog_compiler_static_CXX= |
| 23345 | fi |
| 23346 | |
| 23347 | |
| 23348 | |
| 23349 | |
| 23350 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 23351 | printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 23352 | if test ${lt_cv_prog_compiler_c_o_CXX+y} |
| 23353 | then : |
| 23354 | printf %s "(cached) " >&6 |
| 23355 | else case e in #( |
| 23356 | e) lt_cv_prog_compiler_c_o_CXX=no |
| 23357 | $RM -r conftest 2>/dev/null |
| 23358 | mkdir conftest |
| 23359 | cd conftest |
| 23360 | mkdir out |
| 23361 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 23362 | |
| 23363 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 23364 | # Insert the option either (1) after the last *FLAGS variable, or |
| 23365 | # (2) before a word containing "conftest.", or (3) at the end. |
| 23366 | # Note that $ac_compile itself does not contain backslashes and begins |
| 23367 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 23368 | lt_compile=`echo "$ac_compile" | $SED \ |
| 23369 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 23370 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 23371 | -e 's:$: $lt_compiler_flag:'` |
| 23372 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 23373 | (eval "$lt_compile" 2>out/conftest.err) |
| 23374 | ac_status=$? |
| 23375 | cat out/conftest.err >&5 |
| 23376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23377 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 23378 | then |
| 23379 | # The compiler can only warn and ignore the option if not recognized |
| 23380 | # So say no if there are warnings |
| 23381 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 23382 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 23383 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 23384 | lt_cv_prog_compiler_c_o_CXX=yes |
| 23385 | fi |
| 23386 | fi |
| 23387 | chmod u+w . 2>&5 |
| 23388 | $RM conftest* |
| 23389 | # SGI C++ compiler will create directory out/ii_files/ for |
| 23390 | # template instantiation |
| 23391 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 23392 | $RM out/* && rmdir out |
| 23393 | cd .. |
| 23394 | $RM -r conftest |
| 23395 | $RM conftest* |
| 23396 | ;; |
| 23397 | esac |
| 23398 | fi |
| 23399 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
| 23400 | printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
| 23401 | |
| 23402 | |
| 23403 | |
| 23404 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 23405 | printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 23406 | if test ${lt_cv_prog_compiler_c_o_CXX+y} |
| 23407 | then : |
| 23408 | printf %s "(cached) " >&6 |
| 23409 | else case e in #( |
| 23410 | e) lt_cv_prog_compiler_c_o_CXX=no |
| 23411 | $RM -r conftest 2>/dev/null |
| 23412 | mkdir conftest |
| 23413 | cd conftest |
| 23414 | mkdir out |
| 23415 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 23416 | |
| 23417 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 23418 | # Insert the option either (1) after the last *FLAGS variable, or |
| 23419 | # (2) before a word containing "conftest.", or (3) at the end. |
| 23420 | # Note that $ac_compile itself does not contain backslashes and begins |
| 23421 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 23422 | lt_compile=`echo "$ac_compile" | $SED \ |
| 23423 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 23424 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 23425 | -e 's:$: $lt_compiler_flag:'` |
| 23426 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 23427 | (eval "$lt_compile" 2>out/conftest.err) |
| 23428 | ac_status=$? |
| 23429 | cat out/conftest.err >&5 |
| 23430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 23431 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 23432 | then |
| 23433 | # The compiler can only warn and ignore the option if not recognized |
| 23434 | # So say no if there are warnings |
| 23435 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 23436 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 23437 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 23438 | lt_cv_prog_compiler_c_o_CXX=yes |
| 23439 | fi |
| 23440 | fi |
| 23441 | chmod u+w . 2>&5 |
| 23442 | $RM conftest* |
| 23443 | # SGI C++ compiler will create directory out/ii_files/ for |
| 23444 | # template instantiation |
| 23445 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 23446 | $RM out/* && rmdir out |
| 23447 | cd .. |
| 23448 | $RM -r conftest |
| 23449 | $RM conftest* |
| 23450 | ;; |
| 23451 | esac |
| 23452 | fi |
| 23453 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
| 23454 | printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
| 23455 | |
| 23456 | |
| 23457 | |
| 23458 | |
| 23459 | hard_links=nottested |
| 23460 | if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then |
| 23461 | # do not overwrite the value of need_locks provided by the user |
| 23462 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 23463 | printf %s "checking if we can lock with hard links... " >&6; } |
| 23464 | hard_links=yes |
| 23465 | $RM conftest* |
| 23466 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 23467 | touch conftest.a |
| 23468 | ln conftest.a conftest.b 2>&5 || hard_links=no |
| 23469 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 23470 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 23471 | printf "%s\n" "$hard_links" >&6; } |
| 23472 | if test no = "$hard_links"; then |
| 23473 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 23474 | printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 23475 | need_locks=warn |
| 23476 | fi |
| 23477 | else |
| 23478 | need_locks=no |
| 23479 | fi |
| 23480 | |
| 23481 | |
| 23482 | |
| 23483 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 23484 | printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 23485 | |
| 23486 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 23487 | exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 23488 | case $host_os in |
| 23489 | aix[4-9]*) |
| 23490 | # If we're using GNU nm, then we don't want the "-C" option. |
| 23491 | # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 23492 | # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 23493 | # weak defined symbols like other global defined symbols, whereas |
| 23494 | # GNU nm marks them as "W". |
| 23495 | # While the 'weak' keyword is ignored in the Export File, we need |
| 23496 | # it in the Import File for the 'aix-soname' feature, so we have |
| 23497 | # to replace the "-B" option with "-P" for AIX nm. |
| 23498 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 23499 | export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 23500 | else |
| 23501 | export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
| 23502 | fi |
| 23503 | ;; |
| 23504 | pw32*) |
| 23505 | export_symbols_cmds_CXX=$ltdll_cmds |
| 23506 | ;; |
| 23507 | cygwin* | mingw* | windows* | cegcc*) |
| 23508 | case $cc_basename in |
| 23509 | cl* | icl*) |
| 23510 | exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 23511 | ;; |
| 23512 | *) |
| 23513 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 23514 | exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 23515 | ;; |
| 23516 | esac |
| 23517 | ;; |
| 23518 | *) |
| 23519 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 23520 | ;; |
| 23521 | esac |
| 23522 | |
| 23523 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
| 23524 | printf "%s\n" "$ld_shlibs_CXX" >&6; } |
| 23525 | test no = "$ld_shlibs_CXX" && can_build_shared=no |
| 23526 | |
| 23527 | with_gnu_ld_CXX=$with_gnu_ld |
| 23528 | |
| 23529 | |
| 23530 | |
| 23531 | |
| 23532 | |
| 23533 | |
| 23534 | # |
| 23535 | # Do we need to explicitly link libc? |
| 23536 | # |
| 23537 | case "x$archive_cmds_need_lc_CXX" in |
| 23538 | x|xyes) |
| 23539 | # Assume -lc should be added |
| 23540 | archive_cmds_need_lc_CXX=yes |
| 23541 | |
| 23542 | if test yes,yes = "$GCC,$enable_shared"; then |
| 23543 | case $archive_cmds_CXX in |
| 23544 | *'~'*) |
| 23545 | # FIXME: we may have to deal with multi-command sequences. |
| 23546 | ;; |
| 23547 | '$CC '*) |
| 23548 | # Test whether the compiler implicitly links with -lc since on some |
| 23549 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 23550 | # to ld, don't add -lc before -lgcc. |
| 23551 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 23552 | printf %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 23553 | if test ${lt_cv_archive_cmds_need_lc_CXX+y} |
| 23554 | then : |
| 23555 | printf %s "(cached) " >&6 |
| 23556 | else case e in #( |
| 23557 | e) $RM conftest* |
| 23558 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 23559 | |
| 23560 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 23561 | (eval $ac_compile) 2>&5 |
| 23562 | ac_status=$? |
| 23563 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23564 | test $ac_status = 0; } 2>conftest.err; then |
| 23565 | soname=conftest |
| 23566 | lib=conftest |
| 23567 | libobjs=conftest.$ac_objext |
| 23568 | deplibs= |
| 23569 | wl=$lt_prog_compiler_wl_CXX |
| 23570 | pic_flag=$lt_prog_compiler_pic_CXX |
| 23571 | compiler_flags=-v |
| 23572 | linker_flags=-v |
| 23573 | verstring= |
| 23574 | output_objdir=. |
| 23575 | libname=conftest |
| 23576 | lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
| 23577 | allow_undefined_flag_CXX= |
| 23578 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 23579 | (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 23580 | ac_status=$? |
| 23581 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23582 | test $ac_status = 0; } |
| 23583 | then |
| 23584 | lt_cv_archive_cmds_need_lc_CXX=no |
| 23585 | else |
| 23586 | lt_cv_archive_cmds_need_lc_CXX=yes |
| 23587 | fi |
| 23588 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
| 23589 | else |
| 23590 | cat conftest.err 1>&5 |
| 23591 | fi |
| 23592 | $RM conftest* |
| 23593 | ;; |
| 23594 | esac |
| 23595 | fi |
| 23596 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 |
| 23597 | printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; } |
| 23598 | archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX |
| 23599 | ;; |
| 23600 | esac |
| 23601 | fi |
| 23602 | ;; |
| 23603 | esac |
| 23604 | |
| 23605 | |
| 23606 | |
| 23607 | |
| 23608 | |
| 23609 | |
| 23610 | |
| 23611 | |
| 23612 | |
| 23613 | |
| 23614 | |
| 23615 | |
| 23616 | |
| 23617 | |
| 23618 | |
| 23619 | |
| 23620 | |
| 23621 | |
| 23622 | |
| 23623 | |
| 23624 | |
| 23625 | |
| 23626 | |
| 23627 | |
| 23628 | |
| 23629 | |
| 23630 | |
| 23631 | |
| 23632 | |
| 23633 | |
| 23634 | |
| 23635 | |
| 23636 | |
| 23637 | |
| 23638 | |
| 23639 | |
| 23640 | |
| 23641 | |
| 23642 | |
| 23643 | |
| 23644 | |
| 23645 | |
| 23646 | |
| 23647 | |
| 23648 | |
| 23649 | |
| 23650 | |
| 23651 | |
| 23652 | |
| 23653 | |
| 23654 | |
| 23655 | |
| 23656 | |
| 23657 | |
| 23658 | |
| 23659 | |
| 23660 | |
| 23661 | |
| 23662 | |
| 23663 | |
| 23664 | |
| 23665 | |
| 23666 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 23667 | printf %s "checking dynamic linker characteristics... " >&6; } |
| 23668 | |
| 23669 | library_names_spec= |
| 23670 | libname_spec='lib$name' |
| 23671 | soname_spec= |
| 23672 | shrext_cmds=.so |
| 23673 | postinstall_cmds= |
| 23674 | postuninstall_cmds= |
| 23675 | finish_cmds= |
| 23676 | finish_eval= |
| 23677 | shlibpath_var= |
| 23678 | shlibpath_overrides_runpath=unknown |
| 23679 | version_type=none |
| 23680 | dynamic_linker="$host_os ld.so" |
| 23681 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 23682 | need_lib_prefix=unknown |
| 23683 | hardcode_into_libs=no |
| 23684 | |
| 23685 | # when you set need_version to no, make sure it does not cause -set_version |
| 23686 | # flags to be left without arguments |
| 23687 | need_version=unknown |
| 23688 | |
| 23689 | |
| 23690 | |
| 23691 | case $host_os in |
| 23692 | aix3*) |
| 23693 | version_type=linux # correct to gnu/linux during the next big refactor |
| 23694 | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 23695 | shlibpath_var=LIBPATH |
| 23696 | |
| 23697 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 23698 | soname_spec='$libname$release$shared_ext$major' |
| 23699 | ;; |
| 23700 | |
| 23701 | aix[4-9]*) |
| 23702 | version_type=linux # correct to gnu/linux during the next big refactor |
| 23703 | need_lib_prefix=no |
| 23704 | need_version=no |
| 23705 | hardcode_into_libs=yes |
| 23706 | if test ia64 = "$host_cpu"; then |
| 23707 | # AIX 5 supports IA64 |
| 23708 | library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 23709 | shlibpath_var=LD_LIBRARY_PATH |
| 23710 | else |
| 23711 | # With GCC up to 2.95.x, collect2 would create an import file |
| 23712 | # for dependence libraries. The import file would start with |
| 23713 | # the line '#! .'. This would cause the generated library to |
| 23714 | # depend on '.', always an invalid library. This was fixed in |
| 23715 | # development snapshots of GCC prior to 3.0. |
| 23716 | case $host_os in |
| 23717 | aix4 | aix4.[01] | aix4.[01].*) |
| 23718 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 23719 | echo ' yes ' |
| 23720 | echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
| 23721 | : |
| 23722 | else |
| 23723 | can_build_shared=no |
| 23724 | fi |
| 23725 | ;; |
| 23726 | esac |
| 23727 | # Using Import Files as archive members, it is possible to support |
| 23728 | # filename-based versioning of shared library archives on AIX. While |
| 23729 | # this would work for both with and without runtime linking, it will |
| 23730 | # prevent static linking of such archives. So we do filename-based |
| 23731 | # shared library versioning with .so extension only, which is used |
| 23732 | # when both runtime linking and shared linking is enabled. |
| 23733 | # Unfortunately, runtime linking may impact performance, so we do |
| 23734 | # not want this to be the default eventually. Also, we use the |
| 23735 | # versioned .so libs for executables only if there is the -brtl |
| 23736 | # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. |
| 23737 | # To allow for filename-based versioning support, we need to create |
| 23738 | # libNAME.so.V as an archive file, containing: |
| 23739 | # *) an Import File, referring to the versioned filename of the |
| 23740 | # archive as well as the shared archive member, telling the |
| 23741 | # bitwidth (32 or 64) of that shared object, and providing the |
| 23742 | # list of exported symbols of that shared object, eventually |
| 23743 | # decorated with the 'weak' keyword |
| 23744 | # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 23745 | # it being seen by the linker. |
| 23746 | # At run time we better use the real file rather than another symlink, |
| 23747 | # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 23748 | |
| 23749 | case $with_aix_soname,$aix_use_runtimelinking in |
| 23750 | # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 23751 | # soname into executable. Probably we can add versioning support to |
| 23752 | # collect2, so additional links can be useful in future. |
| 23753 | aix,yes) # traditional libtool |
| 23754 | dynamic_linker='AIX unversionable lib.so' |
| 23755 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 23756 | # instead of lib<name>.a to let people know that these are not |
| 23757 | # typical AIX shared libraries. |
| 23758 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 23759 | ;; |
| 23760 | aix,no) # traditional AIX only |
| 23761 | dynamic_linker='AIX lib.a(lib.so.V)' |
| 23762 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 23763 | # and later when we are not doing run time linking. |
| 23764 | library_names_spec='$libname$release.a $libname.a' |
| 23765 | soname_spec='$libname$release$shared_ext$major' |
| 23766 | ;; |
| 23767 | svr4,*) # full svr4 only |
| 23768 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 23769 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 23770 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 23771 | shlibpath_overrides_runpath=yes |
| 23772 | ;; |
| 23773 | *,yes) # both, prefer svr4 |
| 23774 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 23775 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 23776 | # unpreferred sharedlib libNAME.a needs extra handling |
| 23777 | postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 23778 | postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
| 23779 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 23780 | shlibpath_overrides_runpath=yes |
| 23781 | ;; |
| 23782 | *,no) # both, prefer aix |
| 23783 | dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 23784 | library_names_spec='$libname$release.a $libname.a' |
| 23785 | soname_spec='$libname$release$shared_ext$major' |
| 23786 | # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 23787 | postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 23788 | postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 23789 | ;; |
| 23790 | esac |
| 23791 | shlibpath_var=LIBPATH |
| 23792 | fi |
| 23793 | ;; |
| 23794 | |
| 23795 | amigaos*) |
| 23796 | case $host_cpu in |
| 23797 | powerpc) |
| 23798 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 23799 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 23800 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 23801 | ;; |
| 23802 | m68k) |
| 23803 | library_names_spec='$libname.ixlibrary $libname.a' |
| 23804 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 23805 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 23806 | ;; |
| 23807 | esac |
| 23808 | ;; |
| 23809 | |
| 23810 | beos*) |
| 23811 | library_names_spec='$libname$shared_ext' |
| 23812 | dynamic_linker="$host_os ld.so" |
| 23813 | shlibpath_var=LIBRARY_PATH |
| 23814 | ;; |
| 23815 | |
| 23816 | bsdi[45]*) |
| 23817 | version_type=linux # correct to gnu/linux during the next big refactor |
| 23818 | need_version=no |
| 23819 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 23820 | soname_spec='$libname$release$shared_ext$major' |
| 23821 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 23822 | shlibpath_var=LD_LIBRARY_PATH |
| 23823 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 23824 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 23825 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 23826 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 23827 | # libtool to hard-code these into programs |
| 23828 | ;; |
| 23829 | |
| 23830 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 23831 | version_type=windows |
| 23832 | shrext_cmds=.dll |
| 23833 | need_version=no |
| 23834 | need_lib_prefix=no |
| 23835 | |
| 23836 | case $GCC,$cc_basename in |
| 23837 | yes,*) |
| 23838 | # gcc |
| 23839 | library_names_spec='$libname.dll.a' |
| 23840 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 23841 | # If user builds GCC with multilib enabled, |
| 23842 | # it should just install on $(libdir) |
| 23843 | # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. |
| 23844 | if test xyes = x"$multilib"; then |
| 23845 | postinstall_cmds='base_file=`basename \$file`~ |
| 23846 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 23847 | dldir=$destdir/`dirname \$dlpath`~ |
| 23848 | $install_prog $dir/$dlname $destdir/$dlname~ |
| 23849 | chmod a+x $destdir/$dlname~ |
| 23850 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 23851 | eval '\''$striplib $destdir/$dlname'\'' || exit \$?; |
| 23852 | fi' |
| 23853 | else |
| 23854 | postinstall_cmds='base_file=`basename \$file`~ |
| 23855 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 23856 | dldir=$destdir/`dirname \$dlpath`~ |
| 23857 | test -d \$dldir || mkdir -p \$dldir~ |
| 23858 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 23859 | chmod a+x \$dldir/$dlname~ |
| 23860 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 23861 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 23862 | fi' |
| 23863 | fi |
| 23864 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 23865 | dlpath=$dir/\$dldll~ |
| 23866 | $RM \$dlpath' |
| 23867 | shlibpath_overrides_runpath=yes |
| 23868 | |
| 23869 | case $host_os in |
| 23870 | cygwin*) |
| 23871 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 23872 | soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 23873 | |
| 23874 | ;; |
| 23875 | mingw* | windows* | cegcc*) |
| 23876 | # MinGW DLLs use traditional 'lib' prefix |
| 23877 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 23878 | ;; |
| 23879 | pw32*) |
| 23880 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 23881 | library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 23882 | ;; |
| 23883 | esac |
| 23884 | dynamic_linker='Win32 ld.exe' |
| 23885 | ;; |
| 23886 | |
| 23887 | *,cl* | *,icl*) |
| 23888 | # Native MSVC or ICC |
| 23889 | libname_spec='$name' |
| 23890 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 23891 | library_names_spec='$libname.dll.lib' |
| 23892 | |
| 23893 | case $build_os in |
| 23894 | mingw* | windows*) |
| 23895 | sys_lib_search_path_spec= |
| 23896 | lt_save_ifs=$IFS |
| 23897 | IFS=';' |
| 23898 | for lt_path in $LIB |
| 23899 | do |
| 23900 | IFS=$lt_save_ifs |
| 23901 | # Let DOS variable expansion print the short 8.3 style file name. |
| 23902 | lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 23903 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 23904 | done |
| 23905 | IFS=$lt_save_ifs |
| 23906 | # Convert to MSYS style. |
| 23907 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 23908 | ;; |
| 23909 | cygwin*) |
| 23910 | # Convert to unix form, then to dos form, then back to unix form |
| 23911 | # but this time dos style (no spaces!) so that the unix form looks |
| 23912 | # like /cygdrive/c/PROGRA~1:/cygdr... |
| 23913 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 23914 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 23915 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 23916 | ;; |
| 23917 | *) |
| 23918 | sys_lib_search_path_spec=$LIB |
| 23919 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 23920 | # It is most probably a Windows format PATH. |
| 23921 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 23922 | else |
| 23923 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 23924 | fi |
| 23925 | # FIXME: find the short name or the path components, as spaces are |
| 23926 | # common. (e.g. "Program Files" -> "PROGRA~1") |
| 23927 | ;; |
| 23928 | esac |
| 23929 | |
| 23930 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 23931 | postinstall_cmds='base_file=`basename \$file`~ |
| 23932 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 23933 | dldir=$destdir/`dirname \$dlpath`~ |
| 23934 | test -d \$dldir || mkdir -p \$dldir~ |
| 23935 | $install_prog $dir/$dlname \$dldir/$dlname' |
| 23936 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 23937 | dlpath=$dir/\$dldll~ |
| 23938 | $RM \$dlpath' |
| 23939 | shlibpath_overrides_runpath=yes |
| 23940 | dynamic_linker='Win32 link.exe' |
| 23941 | ;; |
| 23942 | |
| 23943 | *) |
| 23944 | # Assume MSVC and ICC wrapper |
| 23945 | library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 23946 | dynamic_linker='Win32 ld.exe' |
| 23947 | ;; |
| 23948 | esac |
| 23949 | # FIXME: first we should search . and the directory the executable is in |
| 23950 | shlibpath_var=PATH |
| 23951 | ;; |
| 23952 | |
| 23953 | darwin* | rhapsody*) |
| 23954 | dynamic_linker="$host_os dyld" |
| 23955 | version_type=darwin |
| 23956 | need_lib_prefix=no |
| 23957 | need_version=no |
| 23958 | library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 23959 | soname_spec='$libname$release$major$shared_ext' |
| 23960 | shlibpath_overrides_runpath=yes |
| 23961 | shlibpath_var=DYLD_LIBRARY_PATH |
| 23962 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 23963 | |
| 23964 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 23965 | ;; |
| 23966 | |
| 23967 | dgux*) |
| 23968 | version_type=linux # correct to gnu/linux during the next big refactor |
| 23969 | need_lib_prefix=no |
| 23970 | need_version=no |
| 23971 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 23972 | soname_spec='$libname$release$shared_ext$major' |
| 23973 | shlibpath_var=LD_LIBRARY_PATH |
| 23974 | ;; |
| 23975 | |
| 23976 | freebsd* | dragonfly* | midnightbsd*) |
| 23977 | # DragonFly does not have aout. When/if they implement a new |
| 23978 | # versioning mechanism, adjust this. |
| 23979 | if test -x /usr/bin/objformat; then |
| 23980 | objformat=`/usr/bin/objformat` |
| 23981 | else |
| 23982 | case $host_os in |
| 23983 | freebsd[23].*) objformat=aout ;; |
| 23984 | *) objformat=elf ;; |
| 23985 | esac |
| 23986 | fi |
| 23987 | version_type=freebsd-$objformat |
| 23988 | case $version_type in |
| 23989 | freebsd-elf*) |
| 23990 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 23991 | soname_spec='$libname$release$shared_ext$major' |
| 23992 | need_version=no |
| 23993 | need_lib_prefix=no |
| 23994 | ;; |
| 23995 | freebsd-*) |
| 23996 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 23997 | need_version=yes |
| 23998 | ;; |
| 23999 | esac |
| 24000 | case $host_cpu in |
| 24001 | powerpc64) |
| 24002 | # On FreeBSD bi-arch platforms, a different variable is used for 32-bit |
| 24003 | # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. |
| 24004 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24005 | /* end confdefs.h. */ |
| 24006 | int test_pointer_size[sizeof (void *) - 5]; |
| 24007 | |
| 24008 | _ACEOF |
| 24009 | if ac_fn_cxx_try_compile "$LINENO" |
| 24010 | then : |
| 24011 | shlibpath_var=LD_LIBRARY_PATH |
| 24012 | else case e in #( |
| 24013 | e) shlibpath_var=LD_32_LIBRARY_PATH ;; |
| 24014 | esac |
| 24015 | fi |
| 24016 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 24017 | ;; |
| 24018 | *) |
| 24019 | shlibpath_var=LD_LIBRARY_PATH |
| 24020 | ;; |
| 24021 | esac |
| 24022 | case $host_os in |
| 24023 | freebsd2.*) |
| 24024 | shlibpath_overrides_runpath=yes |
| 24025 | ;; |
| 24026 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 24027 | shlibpath_overrides_runpath=yes |
| 24028 | hardcode_into_libs=yes |
| 24029 | ;; |
| 24030 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 24031 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 24032 | shlibpath_overrides_runpath=no |
| 24033 | hardcode_into_libs=yes |
| 24034 | ;; |
| 24035 | *) # from 4.6 on, and DragonFly |
| 24036 | shlibpath_overrides_runpath=yes |
| 24037 | hardcode_into_libs=yes |
| 24038 | ;; |
| 24039 | esac |
| 24040 | ;; |
| 24041 | |
| 24042 | haiku*) |
| 24043 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24044 | need_lib_prefix=no |
| 24045 | need_version=no |
| 24046 | dynamic_linker="$host_os runtime_loader" |
| 24047 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24048 | soname_spec='$libname$release$shared_ext$major' |
| 24049 | shlibpath_var=LIBRARY_PATH |
| 24050 | shlibpath_overrides_runpath=no |
| 24051 | sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' |
| 24052 | sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' |
| 24053 | hardcode_into_libs=no |
| 24054 | ;; |
| 24055 | |
| 24056 | hpux9* | hpux10* | hpux11*) |
| 24057 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 24058 | # link against other versions. |
| 24059 | version_type=sunos |
| 24060 | need_lib_prefix=no |
| 24061 | need_version=no |
| 24062 | case $host_cpu in |
| 24063 | ia64*) |
| 24064 | shrext_cmds='.so' |
| 24065 | hardcode_into_libs=yes |
| 24066 | dynamic_linker="$host_os dld.so" |
| 24067 | shlibpath_var=LD_LIBRARY_PATH |
| 24068 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 24069 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24070 | soname_spec='$libname$release$shared_ext$major' |
| 24071 | if test 32 = "$HPUX_IA64_MODE"; then |
| 24072 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 24073 | sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 24074 | else |
| 24075 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 24076 | sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 24077 | fi |
| 24078 | ;; |
| 24079 | hppa*64*) |
| 24080 | shrext_cmds='.sl' |
| 24081 | hardcode_into_libs=yes |
| 24082 | dynamic_linker="$host_os dld.sl" |
| 24083 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 24084 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 24085 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24086 | soname_spec='$libname$release$shared_ext$major' |
| 24087 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 24088 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 24089 | ;; |
| 24090 | *) |
| 24091 | shrext_cmds='.sl' |
| 24092 | dynamic_linker="$host_os dld.sl" |
| 24093 | shlibpath_var=SHLIB_PATH |
| 24094 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 24095 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24096 | soname_spec='$libname$release$shared_ext$major' |
| 24097 | ;; |
| 24098 | esac |
| 24099 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 24100 | postinstall_cmds='chmod 555 $lib' |
| 24101 | # or fails outright, so override atomically: |
| 24102 | install_override_mode=555 |
| 24103 | ;; |
| 24104 | |
| 24105 | interix[3-9]*) |
| 24106 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24107 | need_lib_prefix=no |
| 24108 | need_version=no |
| 24109 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24110 | soname_spec='$libname$release$shared_ext$major' |
| 24111 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 24112 | shlibpath_var=LD_LIBRARY_PATH |
| 24113 | shlibpath_overrides_runpath=no |
| 24114 | hardcode_into_libs=yes |
| 24115 | ;; |
| 24116 | |
| 24117 | irix5* | irix6* | nonstopux*) |
| 24118 | case $host_os in |
| 24119 | nonstopux*) version_type=nonstopux ;; |
| 24120 | *) |
| 24121 | if test yes = "$lt_cv_prog_gnu_ld"; then |
| 24122 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24123 | else |
| 24124 | version_type=irix |
| 24125 | fi ;; |
| 24126 | esac |
| 24127 | need_lib_prefix=no |
| 24128 | need_version=no |
| 24129 | soname_spec='$libname$release$shared_ext$major' |
| 24130 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 24131 | case $host_os in |
| 24132 | irix5* | nonstopux*) |
| 24133 | libsuff= shlibsuff= |
| 24134 | ;; |
| 24135 | *) |
| 24136 | case $LD in # libtool.m4 will add one of these switches to LD |
| 24137 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 24138 | libsuff= shlibsuff= libmagic=32-bit;; |
| 24139 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 24140 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 24141 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 24142 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 24143 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 24144 | esac |
| 24145 | ;; |
| 24146 | esac |
| 24147 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 24148 | shlibpath_overrides_runpath=no |
| 24149 | sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 24150 | sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 24151 | hardcode_into_libs=yes |
| 24152 | ;; |
| 24153 | |
| 24154 | # No shared lib support for Linux oldld, aout, or coff. |
| 24155 | linux*oldld* | linux*aout* | linux*coff*) |
| 24156 | dynamic_linker=no |
| 24157 | ;; |
| 24158 | |
| 24159 | linux*android*) |
| 24160 | version_type=none # Android doesn't support versioned libraries. |
| 24161 | need_lib_prefix=no |
| 24162 | need_version=no |
| 24163 | library_names_spec='$libname$release$shared_ext $libname$shared_ext' |
| 24164 | soname_spec='$libname$release$shared_ext' |
| 24165 | finish_cmds= |
| 24166 | shlibpath_var=LD_LIBRARY_PATH |
| 24167 | shlibpath_overrides_runpath=yes |
| 24168 | |
| 24169 | # This implies no fast_install, which is unacceptable. |
| 24170 | # Some rework will be needed to allow for fast_install |
| 24171 | # before this can be enabled. |
| 24172 | hardcode_into_libs=yes |
| 24173 | |
| 24174 | dynamic_linker='Android linker' |
| 24175 | # -rpath works at least for libraries that are not overridden by |
| 24176 | # libraries installed in system locations. |
| 24177 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 24178 | ;; |
| 24179 | |
| 24180 | # This must be glibc/ELF. |
| 24181 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 24182 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24183 | need_lib_prefix=no |
| 24184 | need_version=no |
| 24185 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24186 | soname_spec='$libname$release$shared_ext$major' |
| 24187 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 24188 | shlibpath_var=LD_LIBRARY_PATH |
| 24189 | shlibpath_overrides_runpath=no |
| 24190 | |
| 24191 | # Some binutils ld are patched to set DT_RUNPATH |
| 24192 | if test ${lt_cv_shlibpath_overrides_runpath+y} |
| 24193 | then : |
| 24194 | printf %s "(cached) " >&6 |
| 24195 | else case e in #( |
| 24196 | e) lt_cv_shlibpath_overrides_runpath=no |
| 24197 | save_LDFLAGS=$LDFLAGS |
| 24198 | save_libdir=$libdir |
| 24199 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ |
| 24200 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" |
| 24201 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24202 | /* end confdefs.h. */ |
| 24203 | |
| 24204 | int |
| 24205 | main (void) |
| 24206 | { |
| 24207 | |
| 24208 | ; |
| 24209 | return 0; |
| 24210 | } |
| 24211 | _ACEOF |
| 24212 | if ac_fn_cxx_try_link "$LINENO" |
| 24213 | then : |
| 24214 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null |
| 24215 | then : |
| 24216 | lt_cv_shlibpath_overrides_runpath=yes |
| 24217 | fi |
| 24218 | fi |
| 24219 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24220 | conftest$ac_exeext conftest.$ac_ext |
| 24221 | LDFLAGS=$save_LDFLAGS |
| 24222 | libdir=$save_libdir |
| 24223 | ;; |
| 24224 | esac |
| 24225 | fi |
| 24226 | |
| 24227 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 24228 | |
| 24229 | # This implies no fast_install, which is unacceptable. |
| 24230 | # Some rework will be needed to allow for fast_install |
| 24231 | # before this can be enabled. |
| 24232 | hardcode_into_libs=yes |
| 24233 | |
| 24234 | # Ideally, we could use ldconfig to report *all* directories which are |
| 24235 | # searched for libraries, however this is still not possible. Aside from not |
| 24236 | # being certain /sbin/ldconfig is available, command |
| 24237 | # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 24238 | # even though it is searched at run-time. Try to do the best guess by |
| 24239 | # appending ld.so.conf contents (and includes) to the search path. |
| 24240 | if test -f /etc/ld.so.conf; then |
| 24241 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 24242 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 24243 | fi |
| 24244 | |
| 24245 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 24246 | # powerpc, because MkLinux only supported shared libraries with the |
| 24247 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 24248 | # most powerpc-linux boxes support dynamic linking these days and |
| 24249 | # people can always --disable-shared, the test was removed, and we |
| 24250 | # assume the GNU/Linux dynamic linker is in use. |
| 24251 | dynamic_linker='GNU/Linux ld.so' |
| 24252 | ;; |
| 24253 | |
| 24254 | netbsdelf*-gnu) |
| 24255 | version_type=linux |
| 24256 | need_lib_prefix=no |
| 24257 | need_version=no |
| 24258 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24259 | soname_spec='$libname$release$shared_ext$major' |
| 24260 | shlibpath_var=LD_LIBRARY_PATH |
| 24261 | shlibpath_overrides_runpath=no |
| 24262 | hardcode_into_libs=yes |
| 24263 | dynamic_linker='NetBSD ld.elf_so' |
| 24264 | ;; |
| 24265 | |
| 24266 | netbsd*) |
| 24267 | version_type=sunos |
| 24268 | need_lib_prefix=no |
| 24269 | need_version=no |
| 24270 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 24271 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 24272 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 24273 | dynamic_linker='NetBSD (a.out) ld.so' |
| 24274 | else |
| 24275 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24276 | soname_spec='$libname$release$shared_ext$major' |
| 24277 | dynamic_linker='NetBSD ld.elf_so' |
| 24278 | fi |
| 24279 | shlibpath_var=LD_LIBRARY_PATH |
| 24280 | shlibpath_overrides_runpath=yes |
| 24281 | hardcode_into_libs=yes |
| 24282 | ;; |
| 24283 | |
| 24284 | *-mlibc) |
| 24285 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24286 | need_lib_prefix=no |
| 24287 | need_version=no |
| 24288 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24289 | soname_spec='$libname$release$shared_ext$major' |
| 24290 | dynamic_linker='mlibc ld.so' |
| 24291 | shlibpath_var=LD_LIBRARY_PATH |
| 24292 | shlibpath_overrides_runpath=no |
| 24293 | hardcode_into_libs=yes |
| 24294 | ;; |
| 24295 | |
| 24296 | newsos6) |
| 24297 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24298 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24299 | shlibpath_var=LD_LIBRARY_PATH |
| 24300 | shlibpath_overrides_runpath=yes |
| 24301 | ;; |
| 24302 | |
| 24303 | *nto* | *qnx*) |
| 24304 | version_type=qnx |
| 24305 | need_lib_prefix=no |
| 24306 | need_version=no |
| 24307 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24308 | soname_spec='$libname$release$shared_ext$major' |
| 24309 | shlibpath_var=LD_LIBRARY_PATH |
| 24310 | shlibpath_overrides_runpath=no |
| 24311 | hardcode_into_libs=yes |
| 24312 | dynamic_linker='ldqnx.so' |
| 24313 | ;; |
| 24314 | |
| 24315 | openbsd*) |
| 24316 | version_type=sunos |
| 24317 | sys_lib_dlsearch_path_spec=/usr/lib |
| 24318 | need_lib_prefix=no |
| 24319 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 24320 | need_version=no |
| 24321 | else |
| 24322 | need_version=yes |
| 24323 | fi |
| 24324 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 24325 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 24326 | shlibpath_var=LD_LIBRARY_PATH |
| 24327 | shlibpath_overrides_runpath=yes |
| 24328 | ;; |
| 24329 | |
| 24330 | os2*) |
| 24331 | libname_spec='$name' |
| 24332 | version_type=windows |
| 24333 | shrext_cmds=.dll |
| 24334 | need_version=no |
| 24335 | need_lib_prefix=no |
| 24336 | # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 24337 | soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 24338 | v=$($ECHO $release$versuffix | tr -d .-); |
| 24339 | n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 24340 | $ECHO $n$v`$shared_ext' |
| 24341 | library_names_spec='${libname}_dll.$libext' |
| 24342 | dynamic_linker='OS/2 ld.exe' |
| 24343 | shlibpath_var=BEGINLIBPATH |
| 24344 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 24345 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 24346 | postinstall_cmds='base_file=`basename \$file`~ |
| 24347 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 24348 | dldir=$destdir/`dirname \$dlpath`~ |
| 24349 | test -d \$dldir || mkdir -p \$dldir~ |
| 24350 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 24351 | chmod a+x \$dldir/$dlname~ |
| 24352 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 24353 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 24354 | fi' |
| 24355 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 24356 | dlpath=$dir/\$dldll~ |
| 24357 | $RM \$dlpath' |
| 24358 | ;; |
| 24359 | |
| 24360 | osf3* | osf4* | osf5*) |
| 24361 | version_type=osf |
| 24362 | need_lib_prefix=no |
| 24363 | need_version=no |
| 24364 | soname_spec='$libname$release$shared_ext$major' |
| 24365 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24366 | shlibpath_var=LD_LIBRARY_PATH |
| 24367 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 24368 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 24369 | ;; |
| 24370 | |
| 24371 | rdos*) |
| 24372 | dynamic_linker=no |
| 24373 | ;; |
| 24374 | |
| 24375 | serenity*) |
| 24376 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24377 | need_lib_prefix=no |
| 24378 | need_version=no |
| 24379 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24380 | soname_spec='$libname$release$shared_ext$major' |
| 24381 | shlibpath_var=LD_LIBRARY_PATH |
| 24382 | shlibpath_overrides_runpath=no |
| 24383 | dynamic_linker='SerenityOS LibELF' |
| 24384 | ;; |
| 24385 | |
| 24386 | solaris*) |
| 24387 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24388 | need_lib_prefix=no |
| 24389 | need_version=no |
| 24390 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24391 | soname_spec='$libname$release$shared_ext$major' |
| 24392 | shlibpath_var=LD_LIBRARY_PATH |
| 24393 | shlibpath_overrides_runpath=yes |
| 24394 | hardcode_into_libs=yes |
| 24395 | # ldd complains unless libraries are executable |
| 24396 | postinstall_cmds='chmod +x $lib' |
| 24397 | ;; |
| 24398 | |
| 24399 | sunos4*) |
| 24400 | version_type=sunos |
| 24401 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 24402 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 24403 | shlibpath_var=LD_LIBRARY_PATH |
| 24404 | shlibpath_overrides_runpath=yes |
| 24405 | if test yes = "$with_gnu_ld"; then |
| 24406 | need_lib_prefix=no |
| 24407 | fi |
| 24408 | need_version=yes |
| 24409 | ;; |
| 24410 | |
| 24411 | sysv4 | sysv4.3*) |
| 24412 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24413 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24414 | soname_spec='$libname$release$shared_ext$major' |
| 24415 | shlibpath_var=LD_LIBRARY_PATH |
| 24416 | case $host_vendor in |
| 24417 | sni) |
| 24418 | shlibpath_overrides_runpath=no |
| 24419 | need_lib_prefix=no |
| 24420 | runpath_var=LD_RUN_PATH |
| 24421 | ;; |
| 24422 | siemens) |
| 24423 | need_lib_prefix=no |
| 24424 | ;; |
| 24425 | motorola) |
| 24426 | need_lib_prefix=no |
| 24427 | need_version=no |
| 24428 | shlibpath_overrides_runpath=no |
| 24429 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 24430 | ;; |
| 24431 | esac |
| 24432 | ;; |
| 24433 | |
| 24434 | sysv4*MP*) |
| 24435 | if test -d /usr/nec; then |
| 24436 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24437 | library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 24438 | soname_spec='$libname$shared_ext.$major' |
| 24439 | shlibpath_var=LD_LIBRARY_PATH |
| 24440 | fi |
| 24441 | ;; |
| 24442 | |
| 24443 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 24444 | version_type=sco |
| 24445 | need_lib_prefix=no |
| 24446 | need_version=no |
| 24447 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 24448 | soname_spec='$libname$release$shared_ext$major' |
| 24449 | shlibpath_var=LD_LIBRARY_PATH |
| 24450 | shlibpath_overrides_runpath=yes |
| 24451 | hardcode_into_libs=yes |
| 24452 | if test yes = "$with_gnu_ld"; then |
| 24453 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 24454 | else |
| 24455 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 24456 | case $host_os in |
| 24457 | sco3.2v5*) |
| 24458 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 24459 | ;; |
| 24460 | esac |
| 24461 | fi |
| 24462 | sys_lib_dlsearch_path_spec='/usr/lib' |
| 24463 | ;; |
| 24464 | |
| 24465 | tpf*) |
| 24466 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 24467 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24468 | need_lib_prefix=no |
| 24469 | need_version=no |
| 24470 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24471 | shlibpath_var=LD_LIBRARY_PATH |
| 24472 | shlibpath_overrides_runpath=no |
| 24473 | hardcode_into_libs=yes |
| 24474 | ;; |
| 24475 | |
| 24476 | uts4*) |
| 24477 | version_type=linux # correct to gnu/linux during the next big refactor |
| 24478 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 24479 | soname_spec='$libname$release$shared_ext$major' |
| 24480 | shlibpath_var=LD_LIBRARY_PATH |
| 24481 | ;; |
| 24482 | |
| 24483 | emscripten*) |
| 24484 | version_type=none |
| 24485 | need_lib_prefix=no |
| 24486 | need_version=no |
| 24487 | library_names_spec='$libname$release$shared_ext' |
| 24488 | soname_spec='$libname$release$shared_ext' |
| 24489 | finish_cmds= |
| 24490 | dynamic_linker="Emscripten linker" |
| 24491 | lt_prog_compiler_wl_CXX= |
| 24492 | lt_prog_compiler_pic_CXX= |
| 24493 | lt_prog_compiler_static_CXX= |
| 24494 | |
| 24495 | |
| 24496 | # C++ specific cases for pic, static, wl, etc. |
| 24497 | if test yes = "$GXX"; then |
| 24498 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24499 | lt_prog_compiler_static_CXX='-static' |
| 24500 | |
| 24501 | case $host_os in |
| 24502 | aix*) |
| 24503 | # All AIX code is PIC. |
| 24504 | if test ia64 = "$host_cpu"; then |
| 24505 | # AIX 5 now supports IA64 processor |
| 24506 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24507 | fi |
| 24508 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24509 | ;; |
| 24510 | |
| 24511 | amigaos*) |
| 24512 | case $host_cpu in |
| 24513 | powerpc) |
| 24514 | # see comment about AmigaOS4 .so support |
| 24515 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24516 | ;; |
| 24517 | m68k) |
| 24518 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 24519 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 24520 | # like '-m68040'. |
| 24521 | lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
| 24522 | ;; |
| 24523 | esac |
| 24524 | ;; |
| 24525 | |
| 24526 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 24527 | # PIC is the default for these OSes. |
| 24528 | ;; |
| 24529 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 24530 | # This hack is so that the source file can tell whether it is being |
| 24531 | # built for inclusion in a dll (and should export symbols for example). |
| 24532 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 24533 | # (--disable-auto-import) libraries |
| 24534 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 24535 | case $host_os in |
| 24536 | os2*) |
| 24537 | lt_prog_compiler_static_CXX='$wl-static' |
| 24538 | ;; |
| 24539 | esac |
| 24540 | ;; |
| 24541 | darwin* | rhapsody*) |
| 24542 | # PIC is the default on this platform |
| 24543 | # Common symbols not allowed in MH_DYLIB files |
| 24544 | lt_prog_compiler_pic_CXX='-fno-common' |
| 24545 | ;; |
| 24546 | *djgpp*) |
| 24547 | # DJGPP does not support shared libraries at all |
| 24548 | lt_prog_compiler_pic_CXX= |
| 24549 | ;; |
| 24550 | haiku*) |
| 24551 | # PIC is the default for Haiku. |
| 24552 | # The "-static" flag exists, but is broken. |
| 24553 | lt_prog_compiler_static_CXX= |
| 24554 | ;; |
| 24555 | interix[3-9]*) |
| 24556 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 24557 | # Instead, we relocate shared libraries at runtime. |
| 24558 | ;; |
| 24559 | sysv4*MP*) |
| 24560 | if test -d /usr/nec; then |
| 24561 | lt_prog_compiler_pic_CXX=-Kconform_pic |
| 24562 | fi |
| 24563 | ;; |
| 24564 | hpux*) |
| 24565 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 24566 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 24567 | # sets the default TLS model and affects inlining. |
| 24568 | case $host_cpu in |
| 24569 | hppa*64*) |
| 24570 | ;; |
| 24571 | *) |
| 24572 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24573 | ;; |
| 24574 | esac |
| 24575 | ;; |
| 24576 | *qnx* | *nto*) |
| 24577 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 24578 | # it will coredump. |
| 24579 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 24580 | ;; |
| 24581 | *) |
| 24582 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24583 | ;; |
| 24584 | esac |
| 24585 | else |
| 24586 | case $host_os in |
| 24587 | aix[4-9]*) |
| 24588 | # All AIX code is PIC. |
| 24589 | if test ia64 = "$host_cpu"; then |
| 24590 | # AIX 5 now supports IA64 processor |
| 24591 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24592 | else |
| 24593 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
| 24594 | fi |
| 24595 | ;; |
| 24596 | chorus*) |
| 24597 | case $cc_basename in |
| 24598 | cxch68*) |
| 24599 | # Green Hills C++ Compiler |
| 24600 | # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
| 24601 | ;; |
| 24602 | esac |
| 24603 | ;; |
| 24604 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 24605 | # This hack is so that the source file can tell whether it is being |
| 24606 | # built for inclusion in a dll (and should export symbols for example). |
| 24607 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 24608 | ;; |
| 24609 | dgux*) |
| 24610 | case $cc_basename in |
| 24611 | ec++*) |
| 24612 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24613 | ;; |
| 24614 | ghcx*) |
| 24615 | # Green Hills C++ Compiler |
| 24616 | lt_prog_compiler_pic_CXX='-pic' |
| 24617 | ;; |
| 24618 | *) |
| 24619 | ;; |
| 24620 | esac |
| 24621 | ;; |
| 24622 | freebsd* | dragonfly* | midnightbsd*) |
| 24623 | # FreeBSD uses GNU C++ |
| 24624 | ;; |
| 24625 | hpux9* | hpux10* | hpux11*) |
| 24626 | case $cc_basename in |
| 24627 | CC*) |
| 24628 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24629 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 24630 | if test ia64 != "$host_cpu"; then |
| 24631 | lt_prog_compiler_pic_CXX='+Z' |
| 24632 | fi |
| 24633 | ;; |
| 24634 | aCC*) |
| 24635 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24636 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 24637 | case $host_cpu in |
| 24638 | hppa*64*|ia64*) |
| 24639 | # +Z the default |
| 24640 | ;; |
| 24641 | *) |
| 24642 | lt_prog_compiler_pic_CXX='+Z' |
| 24643 | ;; |
| 24644 | esac |
| 24645 | ;; |
| 24646 | *) |
| 24647 | ;; |
| 24648 | esac |
| 24649 | ;; |
| 24650 | interix*) |
| 24651 | # This is c89, which is MS Visual C++ (no shared libs) |
| 24652 | # Anyone wants to do a port? |
| 24653 | ;; |
| 24654 | irix5* | irix6* | nonstopux*) |
| 24655 | case $cc_basename in |
| 24656 | CC*) |
| 24657 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24658 | lt_prog_compiler_static_CXX='-non_shared' |
| 24659 | # CC pic flag -KPIC is the default. |
| 24660 | ;; |
| 24661 | *) |
| 24662 | ;; |
| 24663 | esac |
| 24664 | ;; |
| 24665 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 24666 | case $cc_basename in |
| 24667 | KCC*) |
| 24668 | # KAI C++ Compiler |
| 24669 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 24670 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24671 | ;; |
| 24672 | ecpc* ) |
| 24673 | # old Intel C++ for x86_64, which still supported -KPIC. |
| 24674 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24675 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24676 | lt_prog_compiler_static_CXX='-static' |
| 24677 | ;; |
| 24678 | icpc* ) |
| 24679 | # Intel C++, used to be incompatible with GCC. |
| 24680 | # ICC 10 doesn't accept -KPIC any more. |
| 24681 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24682 | lt_prog_compiler_pic_CXX='-fPIC' |
| 24683 | lt_prog_compiler_static_CXX='-static' |
| 24684 | ;; |
| 24685 | pgCC* | pgcpp*) |
| 24686 | # Portland Group C++ compiler |
| 24687 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24688 | lt_prog_compiler_pic_CXX='-fpic' |
| 24689 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24690 | ;; |
| 24691 | cxx*) |
| 24692 | # Compaq C++ |
| 24693 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 24694 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 24695 | lt_prog_compiler_pic_CXX= |
| 24696 | lt_prog_compiler_static_CXX='-non_shared' |
| 24697 | ;; |
| 24698 | xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
| 24699 | # IBM XL 8.0, 9.0 on PPC and BlueGene |
| 24700 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24701 | lt_prog_compiler_pic_CXX='-qpic' |
| 24702 | lt_prog_compiler_static_CXX='-qstaticlink' |
| 24703 | ;; |
| 24704 | *) |
| 24705 | case `$CC -V 2>&1 | $SED 5q` in |
| 24706 | *Sun\ C*) |
| 24707 | # Sun C++ 5.9 |
| 24708 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24709 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24710 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 24711 | ;; |
| 24712 | esac |
| 24713 | ;; |
| 24714 | esac |
| 24715 | ;; |
| 24716 | lynxos*) |
| 24717 | ;; |
| 24718 | m88k*) |
| 24719 | ;; |
| 24720 | mvs*) |
| 24721 | case $cc_basename in |
| 24722 | cxx*) |
| 24723 | lt_prog_compiler_pic_CXX='-W c,exportall' |
| 24724 | ;; |
| 24725 | *) |
| 24726 | ;; |
| 24727 | esac |
| 24728 | ;; |
| 24729 | netbsd* | netbsdelf*-gnu) |
| 24730 | ;; |
| 24731 | *-mlibc) |
| 24732 | ;; |
| 24733 | *qnx* | *nto*) |
| 24734 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 24735 | # it will coredump. |
| 24736 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 24737 | ;; |
| 24738 | osf3* | osf4* | osf5*) |
| 24739 | case $cc_basename in |
| 24740 | KCC*) |
| 24741 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 24742 | ;; |
| 24743 | RCC*) |
| 24744 | # Rational C++ 2.4.1 |
| 24745 | lt_prog_compiler_pic_CXX='-pic' |
| 24746 | ;; |
| 24747 | cxx*) |
| 24748 | # Digital/Compaq C++ |
| 24749 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24750 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 24751 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 24752 | lt_prog_compiler_pic_CXX= |
| 24753 | lt_prog_compiler_static_CXX='-non_shared' |
| 24754 | ;; |
| 24755 | *) |
| 24756 | ;; |
| 24757 | esac |
| 24758 | ;; |
| 24759 | psos*) |
| 24760 | ;; |
| 24761 | serenity*) |
| 24762 | ;; |
| 24763 | solaris*) |
| 24764 | case $cc_basename in |
| 24765 | CC* | sunCC*) |
| 24766 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 24767 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24768 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24769 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 24770 | ;; |
| 24771 | gcx*) |
| 24772 | # Green Hills C++ Compiler |
| 24773 | lt_prog_compiler_pic_CXX='-PIC' |
| 24774 | ;; |
| 24775 | *) |
| 24776 | ;; |
| 24777 | esac |
| 24778 | ;; |
| 24779 | sunos4*) |
| 24780 | case $cc_basename in |
| 24781 | CC*) |
| 24782 | # Sun C++ 4.x |
| 24783 | lt_prog_compiler_pic_CXX='-pic' |
| 24784 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24785 | ;; |
| 24786 | lcc*) |
| 24787 | # Lucid |
| 24788 | lt_prog_compiler_pic_CXX='-pic' |
| 24789 | ;; |
| 24790 | *) |
| 24791 | ;; |
| 24792 | esac |
| 24793 | ;; |
| 24794 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 24795 | case $cc_basename in |
| 24796 | CC*) |
| 24797 | lt_prog_compiler_wl_CXX='-Wl,' |
| 24798 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24799 | lt_prog_compiler_static_CXX='-Bstatic' |
| 24800 | ;; |
| 24801 | esac |
| 24802 | ;; |
| 24803 | tandem*) |
| 24804 | case $cc_basename in |
| 24805 | NCC*) |
| 24806 | # NonStop-UX NCC 3.20 |
| 24807 | lt_prog_compiler_pic_CXX='-KPIC' |
| 24808 | ;; |
| 24809 | *) |
| 24810 | ;; |
| 24811 | esac |
| 24812 | ;; |
| 24813 | vxworks*) |
| 24814 | ;; |
| 24815 | *) |
| 24816 | lt_prog_compiler_can_build_shared_CXX=no |
| 24817 | ;; |
| 24818 | esac |
| 24819 | fi |
| 24820 | |
| 24821 | case $host_os in |
| 24822 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 24823 | *djgpp*) |
| 24824 | lt_prog_compiler_pic_CXX= |
| 24825 | ;; |
| 24826 | *) |
| 24827 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
| 24828 | ;; |
| 24829 | esac |
| 24830 | |
| 24831 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 24832 | printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 24833 | if test ${lt_cv_prog_compiler_pic_CXX+y} |
| 24834 | then : |
| 24835 | printf %s "(cached) " >&6 |
| 24836 | else case e in #( |
| 24837 | e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;; |
| 24838 | esac |
| 24839 | fi |
| 24840 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
| 24841 | printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; } |
| 24842 | lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
| 24843 | |
| 24844 | # |
| 24845 | # Check to make sure the PIC flag actually works. |
| 24846 | # |
| 24847 | if test -n "$lt_prog_compiler_pic_CXX"; then |
| 24848 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
| 24849 | printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
| 24850 | if test ${lt_cv_prog_compiler_pic_works_CXX+y} |
| 24851 | then : |
| 24852 | printf %s "(cached) " >&6 |
| 24853 | else case e in #( |
| 24854 | e) lt_cv_prog_compiler_pic_works_CXX=no |
| 24855 | ac_outfile=conftest.$ac_objext |
| 24856 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 24857 | lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 24858 | # Insert the option either (1) after the last *FLAGS variable, or |
| 24859 | # (2) before a word containing "conftest.", or (3) at the end. |
| 24860 | # Note that $ac_compile itself does not contain backslashes and begins |
| 24861 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 24862 | # The option is referenced via a variable to avoid confusing sed. |
| 24863 | lt_compile=`echo "$ac_compile" | $SED \ |
| 24864 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 24865 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 24866 | -e 's:$: $lt_compiler_flag:'` |
| 24867 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 24868 | (eval "$lt_compile" 2>conftest.err) |
| 24869 | ac_status=$? |
| 24870 | cat conftest.err >&5 |
| 24871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24872 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 24873 | # The compiler can only warn and ignore the option if not recognized |
| 24874 | # So say no if there are warnings other than the usual output. |
| 24875 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 24876 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 24877 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 24878 | lt_cv_prog_compiler_pic_works_CXX=yes |
| 24879 | fi |
| 24880 | fi |
| 24881 | $RM conftest* |
| 24882 | ;; |
| 24883 | esac |
| 24884 | fi |
| 24885 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
| 24886 | printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
| 24887 | |
| 24888 | if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then |
| 24889 | case $lt_prog_compiler_pic_CXX in |
| 24890 | "" | " "*) ;; |
| 24891 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
| 24892 | esac |
| 24893 | else |
| 24894 | lt_prog_compiler_pic_CXX= |
| 24895 | lt_prog_compiler_can_build_shared_CXX=no |
| 24896 | fi |
| 24897 | |
| 24898 | fi |
| 24899 | |
| 24900 | |
| 24901 | |
| 24902 | |
| 24903 | |
| 24904 | # |
| 24905 | # Check to make sure the static flag actually works. |
| 24906 | # |
| 24907 | wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
| 24908 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 24909 | printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 24910 | if test ${lt_cv_prog_compiler_static_works_CXX+y} |
| 24911 | then : |
| 24912 | printf %s "(cached) " >&6 |
| 24913 | else case e in #( |
| 24914 | e) lt_cv_prog_compiler_static_works_CXX=no |
| 24915 | save_LDFLAGS=$LDFLAGS |
| 24916 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 24917 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 24918 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 24919 | # The linker can only warn and ignore the option if not recognized |
| 24920 | # So say no if there are warnings |
| 24921 | if test -s conftest.err; then |
| 24922 | # Append any errors to the config.log. |
| 24923 | cat conftest.err 1>&5 |
| 24924 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 24925 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 24926 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 24927 | lt_cv_prog_compiler_static_works_CXX=yes |
| 24928 | fi |
| 24929 | else |
| 24930 | lt_cv_prog_compiler_static_works_CXX=yes |
| 24931 | fi |
| 24932 | fi |
| 24933 | $RM -r conftest* |
| 24934 | LDFLAGS=$save_LDFLAGS |
| 24935 | ;; |
| 24936 | esac |
| 24937 | fi |
| 24938 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
| 24939 | printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
| 24940 | |
| 24941 | if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then |
| 24942 | : |
| 24943 | else |
| 24944 | lt_prog_compiler_static_CXX= |
| 24945 | fi |
| 24946 | |
| 24947 | |
| 24948 | |
| 24949 | ='-fPIC' |
| 24950 | archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' |
| 24951 | archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' |
| 24952 | archive_cmds_need_lc_CXX=no |
| 24953 | no_undefined_flag_CXX= |
| 24954 | ;; |
| 24955 | |
| 24956 | *) |
| 24957 | dynamic_linker=no |
| 24958 | ;; |
| 24959 | esac |
| 24960 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 24961 | printf "%s\n" "$dynamic_linker" >&6; } |
| 24962 | test no = "$dynamic_linker" && can_build_shared=no |
| 24963 | |
| 24964 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 24965 | if test yes = "$GCC"; then |
| 24966 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 24967 | fi |
| 24968 | |
| 24969 | if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 24970 | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 24971 | fi |
| 24972 | |
| 24973 | if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 24974 | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 24975 | fi |
| 24976 | |
| 24977 | # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 24978 | configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 24979 | |
| 24980 | # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 24981 | func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 24982 | |
| 24983 | # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 24984 | configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 24985 | |
| 24986 | |
| 24987 | |
| 24988 | |
| 24989 | |
| 24990 | |
| 24991 | |
| 24992 | |
| 24993 | |
| 24994 | |
| 24995 | |
| 24996 | |
| 24997 | |
| 24998 | |
| 24999 | |
| 25000 | |
| 25001 | |
| 25002 | |
| 25003 | |
| 25004 | |
| 25005 | |
| 25006 | |
| 25007 | |
| 25008 | |
| 25009 | |
| 25010 | |
| 25011 | |
| 25012 | |
| 25013 | |
| 25014 | |
| 25015 | |
| 25016 | |
| 25017 | |
| 25018 | |
| 25019 | |
| 25020 | |
| 25021 | |
| 25022 | |
| 25023 | |
| 25024 | |
| 25025 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 25026 | printf %s "checking how to hardcode library paths into programs... " >&6; } |
| 25027 | hardcode_action_CXX= |
| 25028 | if test -n "$hardcode_libdir_flag_spec_CXX" || |
| 25029 | test -n "$runpath_var_CXX" || |
| 25030 | test yes = "$hardcode_automatic_CXX"; then |
| 25031 | |
| 25032 | # We can hardcode non-existent directories. |
| 25033 | if test no != "$hardcode_direct_CXX" && |
| 25034 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 25035 | # have to relink, otherwise we might link with an installed library |
| 25036 | # when we should be linking with a yet-to-be-installed one |
| 25037 | ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && |
| 25038 | test no != "$hardcode_minus_L_CXX"; then |
| 25039 | # Linking always hardcodes the temporary library directory. |
| 25040 | hardcode_action_CXX=relink |
| 25041 | else |
| 25042 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 25043 | hardcode_action_CXX=immediate |
| 25044 | fi |
| 25045 | else |
| 25046 | # We cannot hardcode anything, or else we can only hardcode existing |
| 25047 | # directories. |
| 25048 | hardcode_action_CXX=unsupported |
| 25049 | fi |
| 25050 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 |
| 25051 | printf "%s\n" "$hardcode_action_CXX" >&6; } |
| 25052 | |
| 25053 | if test relink = "$hardcode_action_CXX" || |
| 25054 | test yes = "$inherit_rpath_CXX"; then |
| 25055 | # Fast installation is not supported |
| 25056 | enable_fast_install=no |
| 25057 | elif test yes = "$shlibpath_overrides_runpath" || |
| 25058 | test no = "$enable_shared"; then |
| 25059 | # Fast installation is not necessary |
| 25060 | enable_fast_install=needless |
| 25061 | fi |
| 25062 | |
| 25063 | |
| 25064 | |
| 25065 | |
| 25066 | |
| 25067 | |
| 25068 | |
| 25069 | fi # test -n "$compiler" |
| 25070 | |
| 25071 | CC=$lt_save_CC |
| 25072 | CFLAGS=$lt_save_CFLAGS |
| 25073 | LDCXX=$LD |
| 25074 | LD=$lt_save_LD |
| 25075 | GCC=$lt_save_GCC |
| 25076 | with_gnu_ld=$lt_save_with_gnu_ld |
| 25077 | lt_cv_path_LDCXX=$lt_cv_path_LD |
| 25078 | lt_cv_path_LD=$lt_save_path_LD |
| 25079 | lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
| 25080 | lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
| 25081 | fi # test yes != "$_lt_caught_CXX_error" |
| 25082 | |
| 25083 | ac_ext=c |
| 25084 | ac_cpp='$CPP $CPPFLAGS' |
| 25085 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 25086 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 25087 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 25088 | |
| 25089 | |
| 25090 | |
| 25091 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 25092 | printf %s "checking whether ln -s works... " >&6; } |
| 25093 | LN_S=$as_ln_s |
| 25094 | if test "$LN_S" = "ln -s"; then |
| 25095 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25096 | printf "%s\n" "yes" >&6; } |
| 25097 | else |
| 25098 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 25099 | printf "%s\n" "no, using $LN_S" >&6; } |
| 25100 | fi |
| 25101 | |
| 25102 | |
| 25103 | # Check whether --with-ln-s was given. |
| 25104 | if test ${with_ln_s+y} |
| 25105 | then : |
| 25106 | withval=$with_ln_s; |
| 25107 | fi |
| 25108 | if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno && test "x$with_ln_s" != xno; then |
| 25109 | as_fn_error $? "You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5 |
| 25110 | fi |
| 25111 | |
| 25112 | if test "x$enable_native_texlive_build" = xyes; then |
| 25113 | if test "x$datarootdir" = 'x${prefix}/share'; then |
| 25114 | datarootdir='${prefix}' |
| 25115 | ac_configure_args="$ac_configure_args '--datarootdir=$datarootdir'" |
| 25116 | fi |
| 25117 | if test "x$mandir" = 'x${datarootdir}/man'; then |
| 25118 | mandir='${prefix}/texmf-dist/doc/man' |
| 25119 | ac_configure_args="$ac_configure_args '--mandir=$mandir'" |
| 25120 | fi |
| 25121 | if test "x$infodir" = 'x${datarootdir}/info'; then |
| 25122 | infodir='${prefix}/texmf-dist/doc/info' |
| 25123 | ac_configure_args="$ac_configure_args '--infodir=$infodir'" |
| 25124 | fi |
| 25125 | fi |
| 25126 | |
| 25127 | if test "x$enable_web2c" = xyes && test "x$with_system_kpathsea" = xyes; then |
| 25128 | if test "x$with_kpathsea_includes" = x; then |
| 25129 | list="/usr/include /usr/local/include" |
| 25130 | else |
| 25131 | list=$with_kpathsea_includes |
| 25132 | fi |
| 25133 | found=no |
| 25134 | for ac_dir in $list; do |
| 25135 | if test -r "$ac_dir/kpathsea/paths.h"; then |
| 25136 | found=yes |
| 25137 | break |
| 25138 | fi |
| 25139 | done |
| 25140 | if test "x$found" = xno; then |
| 25141 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5 |
| 25142 | printf "%s\n" "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;} |
| 25143 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5 |
| 25144 | printf "%s\n" "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;} |
| 25145 | as_fn_error $? "Sorry, not found under any of: $list *****" "$LINENO" 5 |
| 25146 | fi |
| 25147 | fi |
| 25148 | |
| 25149 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TeX specific libraries to build" >&5 |
| 25150 | printf %s "checking for TeX specific libraries to build... " >&6; } |
| 25151 | echo 'tldbg:_KPSE_RECURSE called: list=texlibs, text=TeX specific libraries, cond=test "x$with_system_[]Kpse_pkg" != xyes && test "x$need_[]Kpse_pkg" = xyes, prefix=texk/.' >&5 |
| 25152 | MAKE_SUBDIRS= |
| 25153 | CONF_SUBDIRS= |
| 25154 | echo 'tldbg:_KPSE_RECURSE checking: ptexenc' >&5 |
| 25155 | if test -x $srcdir/texk/ptexenc/configure; then |
| 25156 | echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: ptexenc' >&5 |
| 25157 | CONF_SUBDIRS="texk/ptexenc $CONF_SUBDIRS" |
| 25158 | if test "x$with_system_ptexenc" != xyes && test "x$need_ptexenc" = xyes; then |
| 25159 | echo 'tldbg:_KPSE_RECURSE test "x$with_system_ptexenc" != xyes && test "x$need_ptexenc" = xyes true, adding to MAKE_SUBDIRS: ptexenc' >&5 |
| 25160 | MAKE_SUBDIRS="texk/ptexenc $MAKE_SUBDIRS" |
| 25161 | else |
| 25162 | echo 'tldbg:_KPSE_RECURSE test "x$with_system_ptexenc" != xyes && test "x$need_ptexenc" = xyes false, omitting from MAKE_SUBDIRS: ptexenc' >&5 |
| 25163 | fi |
| 25164 | |
| 25165 | else |
| 25166 | echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/texk/ptexenc/configure' >&5 |
| 25167 | fi |
| 25168 | echo 'tldbg:_KPSE_RECURSE checking: kpathsea' >&5 |
| 25169 | if test -x $srcdir/texk/kpathsea/configure; then |
| 25170 | echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: kpathsea' >&5 |
| 25171 | CONF_SUBDIRS="texk/kpathsea $CONF_SUBDIRS" |
| 25172 | if test "x$with_system_kpathsea" != xyes && test "x$need_kpathsea" = xyes; then |
| 25173 | echo 'tldbg:_KPSE_RECURSE test "x$with_system_kpathsea" != xyes && test "x$need_kpathsea" = xyes true, adding to MAKE_SUBDIRS: kpathsea' >&5 |
| 25174 | MAKE_SUBDIRS="texk/kpathsea $MAKE_SUBDIRS" |
| 25175 | else |
| 25176 | echo 'tldbg:_KPSE_RECURSE test "x$with_system_kpathsea" != xyes && test "x$need_kpathsea" = xyes false, omitting from MAKE_SUBDIRS: kpathsea' >&5 |
| 25177 | fi |
| 25178 | |
| 25179 | else |
| 25180 | echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/texk/kpathsea/configure' >&5 |
| 25181 | fi |
| 25182 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5 |
| 25183 | printf "%s\n" "$MAKE_SUBDIRS" >&6; } |
| 25184 | echo 'tldbg:_KPSE_RECURSE done (list=texlibs)' >&5 |
| 25185 | |
| 25186 | |
| 25187 | kpse_save_CPPFLAGS=$CPPFLAGS |
| 25188 | kpse_save_LIBS=$LIBS |
| 25189 | |
| 25190 | syslib_status=yes |
| 25191 | syslib_used=no |
| 25192 | if test -n "$ac_tool_prefix"; then |
| 25193 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 25194 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 25195 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25196 | printf %s "checking for $ac_word... " >&6; } |
| 25197 | if test ${ac_cv_prog_PKG_CONFIG+y} |
| 25198 | then : |
| 25199 | printf %s "(cached) " >&6 |
| 25200 | else case e in #( |
| 25201 | e) if test -n "$PKG_CONFIG"; then |
| 25202 | ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. |
| 25203 | else |
| 25204 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25205 | for as_dir in $PATH |
| 25206 | do |
| 25207 | IFS=$as_save_IFS |
| 25208 | case $as_dir in #((( |
| 25209 | '') as_dir=./ ;; |
| 25210 | */) ;; |
| 25211 | *) as_dir=$as_dir/ ;; |
| 25212 | esac |
| 25213 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25214 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25215 | ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" |
| 25216 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25217 | break 2 |
| 25218 | fi |
| 25219 | done |
| 25220 | done |
| 25221 | IFS=$as_save_IFS |
| 25222 | |
| 25223 | fi ;; |
| 25224 | esac |
| 25225 | fi |
| 25226 | PKG_CONFIG=$ac_cv_prog_PKG_CONFIG |
| 25227 | if test -n "$PKG_CONFIG"; then |
| 25228 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 25229 | printf "%s\n" "$PKG_CONFIG" >&6; } |
| 25230 | else |
| 25231 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25232 | printf "%s\n" "no" >&6; } |
| 25233 | fi |
| 25234 | |
| 25235 | |
| 25236 | fi |
| 25237 | if test -z "$ac_cv_prog_PKG_CONFIG"; then |
| 25238 | ac_ct_PKG_CONFIG=$PKG_CONFIG |
| 25239 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 25240 | set dummy pkg-config; ac_word=$2 |
| 25241 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25242 | printf %s "checking for $ac_word... " >&6; } |
| 25243 | if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y} |
| 25244 | then : |
| 25245 | printf %s "(cached) " >&6 |
| 25246 | else case e in #( |
| 25247 | e) if test -n "$ac_ct_PKG_CONFIG"; then |
| 25248 | ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. |
| 25249 | else |
| 25250 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25251 | for as_dir in $PATH |
| 25252 | do |
| 25253 | IFS=$as_save_IFS |
| 25254 | case $as_dir in #((( |
| 25255 | '') as_dir=./ ;; |
| 25256 | */) ;; |
| 25257 | *) as_dir=$as_dir/ ;; |
| 25258 | esac |
| 25259 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25260 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25261 | ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" |
| 25262 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25263 | break 2 |
| 25264 | fi |
| 25265 | done |
| 25266 | done |
| 25267 | IFS=$as_save_IFS |
| 25268 | |
| 25269 | fi ;; |
| 25270 | esac |
| 25271 | fi |
| 25272 | ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG |
| 25273 | if test -n "$ac_ct_PKG_CONFIG"; then |
| 25274 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 |
| 25275 | printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; } |
| 25276 | else |
| 25277 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25278 | printf "%s\n" "no" >&6; } |
| 25279 | fi |
| 25280 | |
| 25281 | if test "x$ac_ct_PKG_CONFIG" = x; then |
| 25282 | PKG_CONFIG="false" |
| 25283 | else |
| 25284 | case $cross_compiling:$ac_tool_warned in |
| 25285 | yes:) |
| 25286 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 25287 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 25288 | ac_tool_warned=yes ;; |
| 25289 | esac |
| 25290 | PKG_CONFIG=$ac_ct_PKG_CONFIG |
| 25291 | fi |
| 25292 | else |
| 25293 | PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" |
| 25294 | fi |
| 25295 | |
| 25296 | if $PKG_CONFIG kpathsea; then |
| 25297 | KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags` |
| 25298 | KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs` |
| 25299 | elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then |
| 25300 | as_fn_error $? "did not find kpathsea" "$LINENO" 5 |
| 25301 | fi |
| 25302 | |
| 25303 | if $PKG_CONFIG ptexenc; then |
| 25304 | PTEXENC_INCLUDES=`$PKG_CONFIG ptexenc --cflags` |
| 25305 | PTEXENC_LIBS=`$PKG_CONFIG ptexenc --libs` |
| 25306 | elif test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then |
| 25307 | as_fn_error $? "did not find ptexenc" "$LINENO" 5 |
| 25308 | fi |
| 25309 | |
| 25310 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: zlib (z). |
| 25311 | if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then |
| 25312 | ZLIB_INCLUDES="-I$with_zlib_includes" |
| 25313 | fi |
| 25314 | ZLIB_LIBS="-lz" |
| 25315 | if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then |
| 25316 | ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS" |
| 25317 | fi |
| 25318 | |
| 25319 | if $PKG_CONFIG PPLIB; then |
| 25320 | PPLIB_INCLUDES=`$PKG_CONFIG PPLIB --cflags` |
| 25321 | PPLIB_LIBS=`$PKG_CONFIG PPLIB --libs` |
| 25322 | elif test "x$need_PPLIB:$with_system_PPLIB" = xyes:yes; then |
| 25323 | as_fn_error $? "did not find PPLIB" "$LINENO" 5 |
| 25324 | fi |
| 25325 | |
| 25326 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: potrace (potrace). |
| 25327 | if test "x$with_potrace_includes" != x && test "x$with_potrace_includes" != xyes; then |
| 25328 | POTRACE_INCLUDES="-I$with_potrace_includes" |
| 25329 | fi |
| 25330 | POTRACE_LIBS="-lpotrace" |
| 25331 | if test "x$with_potrace_libdir" != x && test "x$with_potrace_libdir" != xyes; then |
| 25332 | POTRACE_LIBS="-L$with_potrace_libdir $POTRACE_LIBS" |
| 25333 | fi |
| 25334 | |
| 25335 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: libpaper (paper). |
| 25336 | if test "x$with_libpaper_includes" != x && test "x$with_libpaper_includes" != xyes; then |
| 25337 | LIBPAPER_INCLUDES="-I$with_libpaper_includes" |
| 25338 | fi |
| 25339 | LIBPAPER_LIBS="-lpaper" |
| 25340 | if test "x$with_libpaper_libdir" != x && test "x$with_libpaper_libdir" != xyes; then |
| 25341 | LIBPAPER_LIBS="-L$with_libpaper_libdir $LIBPAPER_LIBS" |
| 25342 | fi |
| 25343 | |
| 25344 | if $PKG_CONFIG libpng; then |
| 25345 | LIBPNG_INCLUDES=`$PKG_CONFIG libpng --cflags` |
| 25346 | LIBPNG_LIBS=`$PKG_CONFIG libpng --libs` |
| 25347 | elif test "x$need_libpng:$with_system_libpng" = xyes:yes; then |
| 25348 | as_fn_error $? "did not find libpng" "$LINENO" 5 |
| 25349 | fi |
| 25350 | |
| 25351 | if test -n "$ac_tool_prefix"; then |
| 25352 | # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args. |
| 25353 | set dummy ${ac_tool_prefix}freetype-config; ac_word=$2 |
| 25354 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25355 | printf %s "checking for $ac_word... " >&6; } |
| 25356 | if test ${ac_cv_prog_FT2_CONFIG+y} |
| 25357 | then : |
| 25358 | printf %s "(cached) " >&6 |
| 25359 | else case e in #( |
| 25360 | e) if test -n "$FT2_CONFIG"; then |
| 25361 | ac_cv_prog_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test. |
| 25362 | else |
| 25363 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25364 | for as_dir in $PATH |
| 25365 | do |
| 25366 | IFS=$as_save_IFS |
| 25367 | case $as_dir in #((( |
| 25368 | '') as_dir=./ ;; |
| 25369 | */) ;; |
| 25370 | *) as_dir=$as_dir/ ;; |
| 25371 | esac |
| 25372 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25373 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25374 | ac_cv_prog_FT2_CONFIG="${ac_tool_prefix}freetype-config" |
| 25375 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25376 | break 2 |
| 25377 | fi |
| 25378 | done |
| 25379 | done |
| 25380 | IFS=$as_save_IFS |
| 25381 | |
| 25382 | fi ;; |
| 25383 | esac |
| 25384 | fi |
| 25385 | FT2_CONFIG=$ac_cv_prog_FT2_CONFIG |
| 25386 | if test -n "$FT2_CONFIG"; then |
| 25387 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5 |
| 25388 | printf "%s\n" "$FT2_CONFIG" >&6; } |
| 25389 | else |
| 25390 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25391 | printf "%s\n" "no" >&6; } |
| 25392 | fi |
| 25393 | |
| 25394 | |
| 25395 | fi |
| 25396 | if test -z "$ac_cv_prog_FT2_CONFIG"; then |
| 25397 | ac_ct_FT2_CONFIG=$FT2_CONFIG |
| 25398 | # Extract the first word of "freetype-config", so it can be a program name with args. |
| 25399 | set dummy freetype-config; ac_word=$2 |
| 25400 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25401 | printf %s "checking for $ac_word... " >&6; } |
| 25402 | if test ${ac_cv_prog_ac_ct_FT2_CONFIG+y} |
| 25403 | then : |
| 25404 | printf %s "(cached) " >&6 |
| 25405 | else case e in #( |
| 25406 | e) if test -n "$ac_ct_FT2_CONFIG"; then |
| 25407 | ac_cv_prog_ac_ct_FT2_CONFIG="$ac_ct_FT2_CONFIG" # Let the user override the test. |
| 25408 | else |
| 25409 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25410 | for as_dir in $PATH |
| 25411 | do |
| 25412 | IFS=$as_save_IFS |
| 25413 | case $as_dir in #((( |
| 25414 | '') as_dir=./ ;; |
| 25415 | */) ;; |
| 25416 | *) as_dir=$as_dir/ ;; |
| 25417 | esac |
| 25418 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25419 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25420 | ac_cv_prog_ac_ct_FT2_CONFIG="freetype-config" |
| 25421 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25422 | break 2 |
| 25423 | fi |
| 25424 | done |
| 25425 | done |
| 25426 | IFS=$as_save_IFS |
| 25427 | |
| 25428 | fi ;; |
| 25429 | esac |
| 25430 | fi |
| 25431 | ac_ct_FT2_CONFIG=$ac_cv_prog_ac_ct_FT2_CONFIG |
| 25432 | if test -n "$ac_ct_FT2_CONFIG"; then |
| 25433 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5 |
| 25434 | printf "%s\n" "$ac_ct_FT2_CONFIG" >&6; } |
| 25435 | else |
| 25436 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25437 | printf "%s\n" "no" >&6; } |
| 25438 | fi |
| 25439 | |
| 25440 | if test "x$ac_ct_FT2_CONFIG" = x; then |
| 25441 | FT2_CONFIG="false" |
| 25442 | else |
| 25443 | case $cross_compiling:$ac_tool_warned in |
| 25444 | yes:) |
| 25445 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 25446 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 25447 | ac_tool_warned=yes ;; |
| 25448 | esac |
| 25449 | FT2_CONFIG=$ac_ct_FT2_CONFIG |
| 25450 | fi |
| 25451 | else |
| 25452 | FT2_CONFIG="$ac_cv_prog_FT2_CONFIG" |
| 25453 | fi |
| 25454 | if test -n "$ac_tool_prefix"; then |
| 25455 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 25456 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 25457 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25458 | printf %s "checking for $ac_word... " >&6; } |
| 25459 | if test ${ac_cv_prog_PKG_CONFIG+y} |
| 25460 | then : |
| 25461 | printf %s "(cached) " >&6 |
| 25462 | else case e in #( |
| 25463 | e) if test -n "$PKG_CONFIG"; then |
| 25464 | ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. |
| 25465 | else |
| 25466 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25467 | for as_dir in $PATH |
| 25468 | do |
| 25469 | IFS=$as_save_IFS |
| 25470 | case $as_dir in #((( |
| 25471 | '') as_dir=./ ;; |
| 25472 | */) ;; |
| 25473 | *) as_dir=$as_dir/ ;; |
| 25474 | esac |
| 25475 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25476 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25477 | ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" |
| 25478 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25479 | break 2 |
| 25480 | fi |
| 25481 | done |
| 25482 | done |
| 25483 | IFS=$as_save_IFS |
| 25484 | |
| 25485 | fi ;; |
| 25486 | esac |
| 25487 | fi |
| 25488 | PKG_CONFIG=$ac_cv_prog_PKG_CONFIG |
| 25489 | if test -n "$PKG_CONFIG"; then |
| 25490 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 25491 | printf "%s\n" "$PKG_CONFIG" >&6; } |
| 25492 | else |
| 25493 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25494 | printf "%s\n" "no" >&6; } |
| 25495 | fi |
| 25496 | |
| 25497 | |
| 25498 | fi |
| 25499 | if test -z "$ac_cv_prog_PKG_CONFIG"; then |
| 25500 | ac_ct_PKG_CONFIG=$PKG_CONFIG |
| 25501 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 25502 | set dummy pkg-config; ac_word=$2 |
| 25503 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25504 | printf %s "checking for $ac_word... " >&6; } |
| 25505 | if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y} |
| 25506 | then : |
| 25507 | printf %s "(cached) " >&6 |
| 25508 | else case e in #( |
| 25509 | e) if test -n "$ac_ct_PKG_CONFIG"; then |
| 25510 | ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. |
| 25511 | else |
| 25512 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25513 | for as_dir in $PATH |
| 25514 | do |
| 25515 | IFS=$as_save_IFS |
| 25516 | case $as_dir in #((( |
| 25517 | '') as_dir=./ ;; |
| 25518 | */) ;; |
| 25519 | *) as_dir=$as_dir/ ;; |
| 25520 | esac |
| 25521 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25522 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25523 | ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" |
| 25524 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25525 | break 2 |
| 25526 | fi |
| 25527 | done |
| 25528 | done |
| 25529 | IFS=$as_save_IFS |
| 25530 | |
| 25531 | fi ;; |
| 25532 | esac |
| 25533 | fi |
| 25534 | ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG |
| 25535 | if test -n "$ac_ct_PKG_CONFIG"; then |
| 25536 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 |
| 25537 | printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; } |
| 25538 | else |
| 25539 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25540 | printf "%s\n" "no" >&6; } |
| 25541 | fi |
| 25542 | |
| 25543 | if test "x$ac_ct_PKG_CONFIG" = x; then |
| 25544 | PKG_CONFIG="false" |
| 25545 | else |
| 25546 | case $cross_compiling:$ac_tool_warned in |
| 25547 | yes:) |
| 25548 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 25549 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 25550 | ac_tool_warned=yes ;; |
| 25551 | esac |
| 25552 | PKG_CONFIG=$ac_ct_PKG_CONFIG |
| 25553 | fi |
| 25554 | else |
| 25555 | PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" |
| 25556 | fi |
| 25557 | if $FT2_CONFIG --ftversion >/dev/null 2>&1; then |
| 25558 | FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags` |
| 25559 | FREETYPE2_LIBS=`$FT2_CONFIG --libs` |
| 25560 | elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then |
| 25561 | FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2` |
| 25562 | FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2` |
| 25563 | elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then |
| 25564 | as_fn_error $? "did not find freetype-config required for system freetype2 library" "$LINENO" 5 |
| 25565 | fi |
| 25566 | |
| 25567 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: gd (gd). |
| 25568 | if test "x$with_gd_includes" != x && test "x$with_gd_includes" != xyes; then |
| 25569 | GD_INCLUDES="-I$with_gd_includes" |
| 25570 | fi |
| 25571 | GD_LIBS="-lgd" |
| 25572 | if test "x$with_gd_libdir" != x && test "x$with_gd_libdir" != xyes; then |
| 25573 | GD_LIBS="-L$with_gd_libdir $GD_LIBS" |
| 25574 | fi |
| 25575 | |
| 25576 | if $PKG_CONFIG pixman-1 --atleast-version=0.18; then |
| 25577 | PIXMAN_INCLUDES=`$PKG_CONFIG pixman-1 --cflags` |
| 25578 | PIXMAN_LIBS=`$PKG_CONFIG pixman-1 --libs` |
| 25579 | elif test "x$need_pixman:$with_system_pixman" = xyes:yes; then |
| 25580 | as_fn_error $? "did not find pixman-1 0.18 or better" "$LINENO" 5 |
| 25581 | fi |
| 25582 | |
| 25583 | if $PKG_CONFIG cairo --atleast-version=1.12; then |
| 25584 | CAIRO_INCLUDES=`$PKG_CONFIG cairo --cflags` |
| 25585 | CAIRO_LIBS=`$PKG_CONFIG cairo --libs` |
| 25586 | elif test "x$need_cairo:$with_system_cairo" = xyes:yes; then |
| 25587 | as_fn_error $? "did not find cairo 1.12 or better" "$LINENO" 5 |
| 25588 | fi |
| 25589 | |
| 25590 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: gmp (gmp). |
| 25591 | if test "x$with_gmp_includes" != x && test "x$with_gmp_includes" != xyes; then |
| 25592 | GMP_INCLUDES="-I$with_gmp_includes" |
| 25593 | fi |
| 25594 | GMP_LIBS="-lgmp" |
| 25595 | if test "x$with_gmp_libdir" != x && test "x$with_gmp_libdir" != xyes; then |
| 25596 | GMP_LIBS="-L$with_gmp_libdir $GMP_LIBS" |
| 25597 | fi |
| 25598 | |
| 25599 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: mpfr (mpfr). |
| 25600 | if test "x$with_mpfr_includes" != x && test "x$with_mpfr_includes" != xyes; then |
| 25601 | MPFR_INCLUDES="-I$with_mpfr_includes" |
| 25602 | fi |
| 25603 | MPFR_LIBS="-lmpfr" |
| 25604 | if test "x$with_mpfr_libdir" != x && test "x$with_mpfr_libdir" != xyes; then |
| 25605 | MPFR_LIBS="-L$with_mpfr_libdir $MPFR_LIBS" |
| 25606 | fi |
| 25607 | |
| 25608 | ##tldbg _KPSE_LIB_FLAGS_SYSTEM: mpfi (mpfi). |
| 25609 | if test "x$with_mpfi_includes" != x && test "x$with_mpfi_includes" != xyes; then |
| 25610 | MPFI_INCLUDES="-I$with_mpfi_includes" |
| 25611 | fi |
| 25612 | MPFI_LIBS="-lmpfi" |
| 25613 | if test "x$with_mpfi_libdir" != x && test "x$with_mpfi_libdir" != xyes; then |
| 25614 | MPFI_LIBS="-L$with_mpfi_libdir $MPFI_LIBS" |
| 25615 | fi |
| 25616 | |
| 25617 | : "kpse_xpdf_system_flags - no-op" |
| 25618 | |
| 25619 | if $PKG_CONFIG zziplib --atleast-version=0.12; then |
| 25620 | ZZIPLIB_INCLUDES=`$PKG_CONFIG zziplib --cflags` |
| 25621 | ZZIPLIB_LIBS=`$PKG_CONFIG zziplib --libs` |
| 25622 | elif test "x$need_zziplib:$with_system_zziplib" = xyes:yes; then |
| 25623 | as_fn_error $? "did not find zziplib 0.12 or better" "$LINENO" 5 |
| 25624 | fi |
| 25625 | |
| 25626 | if $PKG_CONFIG graphite2; then |
| 25627 | GRAPHITE2_INCLUDES=`$PKG_CONFIG graphite2 --cflags` |
| 25628 | GRAPHITE2_LIBS=`$PKG_CONFIG graphite2 --libs` |
| 25629 | elif test "x$need_graphite2:$with_system_graphite2" = xyes:yes; then |
| 25630 | as_fn_error $? "did not find graphite2" "$LINENO" 5 |
| 25631 | fi |
| 25632 | |
| 25633 | if $PKG_CONFIG teckit; then |
| 25634 | TECKIT_INCLUDES=`$PKG_CONFIG teckit --cflags` |
| 25635 | TECKIT_LIBS=`$PKG_CONFIG teckit --libs` |
| 25636 | elif test "x$need_teckit:$with_system_teckit" = xyes:yes; then |
| 25637 | as_fn_error $? "did not find teckit" "$LINENO" 5 |
| 25638 | fi |
| 25639 | |
| 25640 | echo 'tldbg:KPSE_ICU_SYSTEM_FLAGS called.' >&5 |
| 25641 | if test -n "$ac_tool_prefix"; then |
| 25642 | # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args. |
| 25643 | set dummy ${ac_tool_prefix}icu-config; ac_word=$2 |
| 25644 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25645 | printf %s "checking for $ac_word... " >&6; } |
| 25646 | if test ${ac_cv_prog_ICU_CONFIG+y} |
| 25647 | then : |
| 25648 | printf %s "(cached) " >&6 |
| 25649 | else case e in #( |
| 25650 | e) if test -n "$ICU_CONFIG"; then |
| 25651 | ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test. |
| 25652 | else |
| 25653 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25654 | for as_dir in $PATH |
| 25655 | do |
| 25656 | IFS=$as_save_IFS |
| 25657 | case $as_dir in #((( |
| 25658 | '') as_dir=./ ;; |
| 25659 | */) ;; |
| 25660 | *) as_dir=$as_dir/ ;; |
| 25661 | esac |
| 25662 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25663 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25664 | ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config" |
| 25665 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25666 | break 2 |
| 25667 | fi |
| 25668 | done |
| 25669 | done |
| 25670 | IFS=$as_save_IFS |
| 25671 | |
| 25672 | fi ;; |
| 25673 | esac |
| 25674 | fi |
| 25675 | ICU_CONFIG=$ac_cv_prog_ICU_CONFIG |
| 25676 | if test -n "$ICU_CONFIG"; then |
| 25677 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5 |
| 25678 | printf "%s\n" "$ICU_CONFIG" >&6; } |
| 25679 | else |
| 25680 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25681 | printf "%s\n" "no" >&6; } |
| 25682 | fi |
| 25683 | |
| 25684 | |
| 25685 | fi |
| 25686 | if test -z "$ac_cv_prog_ICU_CONFIG"; then |
| 25687 | ac_ct_ICU_CONFIG=$ICU_CONFIG |
| 25688 | # Extract the first word of "icu-config", so it can be a program name with args. |
| 25689 | set dummy icu-config; ac_word=$2 |
| 25690 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25691 | printf %s "checking for $ac_word... " >&6; } |
| 25692 | if test ${ac_cv_prog_ac_ct_ICU_CONFIG+y} |
| 25693 | then : |
| 25694 | printf %s "(cached) " >&6 |
| 25695 | else case e in #( |
| 25696 | e) if test -n "$ac_ct_ICU_CONFIG"; then |
| 25697 | ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test. |
| 25698 | else |
| 25699 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25700 | for as_dir in $PATH |
| 25701 | do |
| 25702 | IFS=$as_save_IFS |
| 25703 | case $as_dir in #((( |
| 25704 | '') as_dir=./ ;; |
| 25705 | */) ;; |
| 25706 | *) as_dir=$as_dir/ ;; |
| 25707 | esac |
| 25708 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25709 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25710 | ac_cv_prog_ac_ct_ICU_CONFIG="icu-config" |
| 25711 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25712 | break 2 |
| 25713 | fi |
| 25714 | done |
| 25715 | done |
| 25716 | IFS=$as_save_IFS |
| 25717 | |
| 25718 | fi ;; |
| 25719 | esac |
| 25720 | fi |
| 25721 | ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG |
| 25722 | if test -n "$ac_ct_ICU_CONFIG"; then |
| 25723 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5 |
| 25724 | printf "%s\n" "$ac_ct_ICU_CONFIG" >&6; } |
| 25725 | else |
| 25726 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25727 | printf "%s\n" "no" >&6; } |
| 25728 | fi |
| 25729 | |
| 25730 | if test "x$ac_ct_ICU_CONFIG" = x; then |
| 25731 | ICU_CONFIG="false" |
| 25732 | else |
| 25733 | case $cross_compiling:$ac_tool_warned in |
| 25734 | yes:) |
| 25735 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 25736 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 25737 | ac_tool_warned=yes ;; |
| 25738 | esac |
| 25739 | ICU_CONFIG=$ac_ct_ICU_CONFIG |
| 25740 | fi |
| 25741 | else |
| 25742 | ICU_CONFIG="$ac_cv_prog_ICU_CONFIG" |
| 25743 | fi |
| 25744 | if test -n "$ac_tool_prefix"; then |
| 25745 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 25746 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 25747 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25748 | printf %s "checking for $ac_word... " >&6; } |
| 25749 | if test ${ac_cv_prog_PKG_CONFIG+y} |
| 25750 | then : |
| 25751 | printf %s "(cached) " >&6 |
| 25752 | else case e in #( |
| 25753 | e) if test -n "$PKG_CONFIG"; then |
| 25754 | ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. |
| 25755 | else |
| 25756 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25757 | for as_dir in $PATH |
| 25758 | do |
| 25759 | IFS=$as_save_IFS |
| 25760 | case $as_dir in #((( |
| 25761 | '') as_dir=./ ;; |
| 25762 | */) ;; |
| 25763 | *) as_dir=$as_dir/ ;; |
| 25764 | esac |
| 25765 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25766 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25767 | ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" |
| 25768 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25769 | break 2 |
| 25770 | fi |
| 25771 | done |
| 25772 | done |
| 25773 | IFS=$as_save_IFS |
| 25774 | |
| 25775 | fi ;; |
| 25776 | esac |
| 25777 | fi |
| 25778 | PKG_CONFIG=$ac_cv_prog_PKG_CONFIG |
| 25779 | if test -n "$PKG_CONFIG"; then |
| 25780 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 25781 | printf "%s\n" "$PKG_CONFIG" >&6; } |
| 25782 | else |
| 25783 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25784 | printf "%s\n" "no" >&6; } |
| 25785 | fi |
| 25786 | |
| 25787 | |
| 25788 | fi |
| 25789 | if test -z "$ac_cv_prog_PKG_CONFIG"; then |
| 25790 | ac_ct_PKG_CONFIG=$PKG_CONFIG |
| 25791 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 25792 | set dummy pkg-config; ac_word=$2 |
| 25793 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 25794 | printf %s "checking for $ac_word... " >&6; } |
| 25795 | if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y} |
| 25796 | then : |
| 25797 | printf %s "(cached) " >&6 |
| 25798 | else case e in #( |
| 25799 | e) if test -n "$ac_ct_PKG_CONFIG"; then |
| 25800 | ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. |
| 25801 | else |
| 25802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 25803 | for as_dir in $PATH |
| 25804 | do |
| 25805 | IFS=$as_save_IFS |
| 25806 | case $as_dir in #((( |
| 25807 | '') as_dir=./ ;; |
| 25808 | */) ;; |
| 25809 | *) as_dir=$as_dir/ ;; |
| 25810 | esac |
| 25811 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 25812 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 25813 | ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config" |
| 25814 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 25815 | break 2 |
| 25816 | fi |
| 25817 | done |
| 25818 | done |
| 25819 | IFS=$as_save_IFS |
| 25820 | |
| 25821 | fi ;; |
| 25822 | esac |
| 25823 | fi |
| 25824 | ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG |
| 25825 | if test -n "$ac_ct_PKG_CONFIG"; then |
| 25826 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 |
| 25827 | printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; } |
| 25828 | else |
| 25829 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25830 | printf "%s\n" "no" >&6; } |
| 25831 | fi |
| 25832 | |
| 25833 | if test "x$ac_ct_PKG_CONFIG" = x; then |
| 25834 | PKG_CONFIG="false" |
| 25835 | else |
| 25836 | case $cross_compiling:$ac_tool_warned in |
| 25837 | yes:) |
| 25838 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 25839 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 25840 | ac_tool_warned=yes ;; |
| 25841 | esac |
| 25842 | PKG_CONFIG=$ac_ct_PKG_CONFIG |
| 25843 | fi |
| 25844 | else |
| 25845 | PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" |
| 25846 | fi |
| 25847 | if $ICU_CONFIG --version >/dev/null 2>&1; then |
| 25848 | ICU_INCLUDES=`$ICU_CONFIG --cppflags` |
| 25849 | ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-system` |
| 25850 | elif $PKG_CONFIG --libs icu-uc icu-io >/dev/null 2>&1; then |
| 25851 | ICU_INCLUDES=`$PKG_CONFIG --cflags icu-uc icu-io` |
| 25852 | ICU_LIBS=`$PKG_CONFIG --libs icu-uc icu-io` |
| 25853 | elif test "x$need_icu:$with_system_icu" = xyes:yes; then |
| 25854 | as_fn_error $? "did not find either pkg-config or icu-config; one is required for system icu library support" "$LINENO" 5 |
| 25855 | fi |
| 25856 | |
| 25857 | if $PKG_CONFIG harfbuzz-subset; then |
| 25858 | HARFBUZZ_INCLUDES=`$PKG_CONFIG harfbuzz-subset --cflags` |
| 25859 | HARFBUZZ_LIBS=`$PKG_CONFIG harfbuzz-subset --libs` |
| 25860 | elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes:yes; then |
| 25861 | as_fn_error $? "did not find harfbuzz-subset" "$LINENO" 5 |
| 25862 | fi |
| 25863 | |
| 25864 | if $PKG_CONFIG luajit; then |
| 25865 | LUAJIT_INCLUDES=`$PKG_CONFIG luajit --cflags` |
| 25866 | LUAJIT_LIBS=`$PKG_CONFIG luajit --libs` |
| 25867 | elif test "x$need_luajit:$with_system_luajit" = xyes:yes; then |
| 25868 | as_fn_error $? "did not find luajit" "$LINENO" 5 |
| 25869 | fi |
| 25870 | |
| 25871 | |
| 25872 | |
| 25873 | |
| 25874 | |
| 25875 | |
| 25876 | ## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ |
| 25877 | ## basic check of system kpathsea |
| 25878 | if test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then |
| 25879 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`kpathsea' library" >&5 |
| 25880 | printf %s "checking requested system \`kpathsea' library... " >&6; } |
| 25881 | CPPFLAGS="$KPATHSEA_INCLUDES $CPPFLAGS" |
| 25882 | LIBS="$KPATHSEA_LIBS $LIBS" |
| 25883 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25884 | /* end confdefs.h. */ |
| 25885 | #include <kpathsea/kpathsea.h> |
| 25886 | #include <kpathsea/version.h> |
| 25887 | int |
| 25888 | main (void) |
| 25889 | { |
| 25890 | const char *version = kpathsea_version_string; |
| 25891 | kpse_set_program_name("prog", "name"); |
| 25892 | ; |
| 25893 | return 0; |
| 25894 | } |
| 25895 | _ACEOF |
| 25896 | if ac_fn_c_try_link "$LINENO" |
| 25897 | then : |
| 25898 | syslib_used=yes kpse_res=ok |
| 25899 | else case e in #( |
| 25900 | e) syslib_status=no kpse_res=failed ;; |
| 25901 | esac |
| 25902 | fi |
| 25903 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25904 | conftest$ac_exeext conftest.$ac_ext |
| 25905 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 25906 | printf "%s\n" "$kpse_res" >&6; } |
| 25907 | fi |
| 25908 | |
| 25909 | ## texk/ptexenc/ac/ptexenc.ac: configure.ac fragment for the TeX Live subdirectory texk/ptexenc/ |
| 25910 | ## basic check of system ptexenc |
| 25911 | if test "x$need_ptexenc:$with_system_ptexenc" = xyes:yes; then |
| 25912 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`ptexenc' library" >&5 |
| 25913 | printf %s "checking requested system \`ptexenc' library... " >&6; } |
| 25914 | CPPFLAGS="$PTEXENC_INCLUDES $CPPFLAGS" |
| 25915 | LIBS="$PTEXENC_LIBS $LIBS" |
| 25916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25917 | /* end confdefs.h. */ |
| 25918 | #include <ptexenc/ptexenc.h> |
| 25919 | int |
| 25920 | main (void) |
| 25921 | { |
| 25922 | const char *version = ptexenc_version_string; |
| 25923 | set_enc_string("prog", "name"); |
| 25924 | ; |
| 25925 | return 0; |
| 25926 | } |
| 25927 | _ACEOF |
| 25928 | if ac_fn_c_try_link "$LINENO" |
| 25929 | then : |
| 25930 | syslib_used=yes kpse_res=ok |
| 25931 | else case e in #( |
| 25932 | e) syslib_status=no kpse_res=failed ;; |
| 25933 | esac |
| 25934 | fi |
| 25935 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25936 | conftest$ac_exeext conftest.$ac_ext |
| 25937 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 25938 | printf "%s\n" "$kpse_res" >&6; } |
| 25939 | fi |
| 25940 | |
| 25941 | ## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/ |
| 25942 | ## basic check of system zlib |
| 25943 | if test "x$need_zlib:$with_system_zlib" = xyes:yes; then |
| 25944 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`zlib' library" >&5 |
| 25945 | printf %s "checking requested system \`zlib' library... " >&6; } |
| 25946 | CPPFLAGS="$ZLIB_INCLUDES $CPPFLAGS" |
| 25947 | LIBS="$ZLIB_LIBS $LIBS" |
| 25948 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25949 | /* end confdefs.h. */ |
| 25950 | #include <zlib.h> |
| 25951 | int |
| 25952 | main (void) |
| 25953 | { |
| 25954 | z_stream stream; |
| 25955 | const char *version = zlibVersion(); |
| 25956 | deflate(&stream, 0); |
| 25957 | ; |
| 25958 | return 0; |
| 25959 | } |
| 25960 | _ACEOF |
| 25961 | if ac_fn_c_try_link "$LINENO" |
| 25962 | then : |
| 25963 | syslib_used=yes kpse_res=ok |
| 25964 | else case e in #( |
| 25965 | e) syslib_status=no kpse_res=failed ;; |
| 25966 | esac |
| 25967 | fi |
| 25968 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25969 | conftest$ac_exeext conftest.$ac_ext |
| 25970 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 25971 | printf "%s\n" "$kpse_res" >&6; } |
| 25972 | fi |
| 25973 | |
| 25974 | ## libs/luajit/ac/luajit.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/ |
| 25975 | ## basic check of system luajit |
| 25976 | if test "x$need_luajit:$with_system_luajit" = xyes:yes; then |
| 25977 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`luajit' library" >&5 |
| 25978 | printf %s "checking requested system \`luajit' library... " >&6; } |
| 25979 | CPPFLAGS="$LUAJIT_INCLUDES $CPPFLAGS" |
| 25980 | LIBS="$LUAJIT_LIBS $LIBS" |
| 25981 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25982 | /* end confdefs.h. */ |
| 25983 | #include <luajit.h> |
| 25984 | int |
| 25985 | main (void) |
| 25986 | { |
| 25987 | const char *v = LUAJIT_VERSION; |
| 25988 | ; |
| 25989 | return 0; |
| 25990 | } |
| 25991 | _ACEOF |
| 25992 | if ac_fn_c_try_link "$LINENO" |
| 25993 | then : |
| 25994 | syslib_used=yes kpse_res=ok |
| 25995 | else case e in #( |
| 25996 | e) syslib_status=no kpse_res=failed ;; |
| 25997 | esac |
| 25998 | fi |
| 25999 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26000 | conftest$ac_exeext conftest.$ac_ext |
| 26001 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26002 | printf "%s\n" "$kpse_res" >&6; } |
| 26003 | fi |
| 26004 | |
| 26005 | ## libs/libpaper/ac/libpaper.ac: configure.ac fragment for the TeX Live subdirectory libs/libpaper/ |
| 26006 | ## basic check of system libpaper |
| 26007 | if test "x$need_libpaper:$with_system_libpaper" = xyes:yes; then |
| 26008 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`libpaper' library" >&5 |
| 26009 | printf %s "checking requested system \`libpaper' library... " >&6; } |
| 26010 | CPPFLAGS="$LIBPAPER_INCLUDES $CPPFLAGS" |
| 26011 | LIBS="$LIBPAPER_LIBS $LIBS" |
| 26012 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26013 | /* end confdefs.h. */ |
| 26014 | #include <paper.h> |
| 26015 | int |
| 26016 | main (void) |
| 26017 | { |
| 26018 | const char *v = defaultpapername(); |
| 26019 | ; |
| 26020 | return 0; |
| 26021 | } |
| 26022 | _ACEOF |
| 26023 | if ac_fn_c_try_link "$LINENO" |
| 26024 | then : |
| 26025 | syslib_used=yes kpse_res=ok |
| 26026 | else case e in #( |
| 26027 | e) syslib_status=no kpse_res=failed ;; |
| 26028 | esac |
| 26029 | fi |
| 26030 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26031 | conftest$ac_exeext conftest.$ac_ext |
| 26032 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26033 | printf "%s\n" "$kpse_res" >&6; } |
| 26034 | fi |
| 26035 | |
| 26036 | ## libs/libpng/ac/libpng.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/ |
| 26037 | ## basic check of system libpng |
| 26038 | if test "x$need_libpng:$with_system_libpng" = xyes:yes; then |
| 26039 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`libpng' library" >&5 |
| 26040 | printf %s "checking requested system \`libpng' library... " >&6; } |
| 26041 | CPPFLAGS="$LIBPNG_INCLUDES $CPPFLAGS" |
| 26042 | LIBS="$LIBPNG_LIBS $LIBS" |
| 26043 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26044 | /* end confdefs.h. */ |
| 26045 | #include <png.h> |
| 26046 | int |
| 26047 | main (void) |
| 26048 | { |
| 26049 | png_structp png; png_voidp io; png_rw_ptr fn; |
| 26050 | png_set_read_fn(png, io, fn); |
| 26051 | ; |
| 26052 | return 0; |
| 26053 | } |
| 26054 | _ACEOF |
| 26055 | if ac_fn_c_try_link "$LINENO" |
| 26056 | then : |
| 26057 | syslib_used=yes kpse_res=ok |
| 26058 | else case e in #( |
| 26059 | e) syslib_status=no kpse_res=failed ;; |
| 26060 | esac |
| 26061 | fi |
| 26062 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26063 | conftest$ac_exeext conftest.$ac_ext |
| 26064 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26065 | printf "%s\n" "$kpse_res" >&6; } |
| 26066 | fi |
| 26067 | |
| 26068 | ## libs/freetype2/ac/freetype2.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype2/ |
| 26069 | ## basic check of system freetype2 |
| 26070 | if test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then |
| 26071 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`freetype2' library" >&5 |
| 26072 | printf %s "checking requested system \`freetype2' library... " >&6; } |
| 26073 | CPPFLAGS="$FREETYPE2_INCLUDES $CPPFLAGS" |
| 26074 | LIBS="$FREETYPE2_LIBS $LIBS" |
| 26075 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26076 | /* end confdefs.h. */ |
| 26077 | #include <ft2build.h> |
| 26078 | #include FT_FREETYPE_H |
| 26079 | int |
| 26080 | main (void) |
| 26081 | { |
| 26082 | FT_Library library; FT_Init_FreeType(&library); |
| 26083 | ; |
| 26084 | return 0; |
| 26085 | } |
| 26086 | _ACEOF |
| 26087 | if ac_fn_c_try_link "$LINENO" |
| 26088 | then : |
| 26089 | syslib_used=yes kpse_res=ok |
| 26090 | else case e in #( |
| 26091 | e) syslib_status=no kpse_res=failed ;; |
| 26092 | esac |
| 26093 | fi |
| 26094 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26095 | conftest$ac_exeext conftest.$ac_ext |
| 26096 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26097 | printf "%s\n" "$kpse_res" >&6; } |
| 26098 | fi |
| 26099 | |
| 26100 | ## libs/potrace/ac/potrace.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/ |
| 26101 | ## basic check of system potrace |
| 26102 | if test "x$need_potrace:$with_system_potrace" = xyes:yes; then |
| 26103 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`potrace' library" >&5 |
| 26104 | printf %s "checking requested system \`potrace' library... " >&6; } |
| 26105 | CPPFLAGS="$POTRACE_INCLUDES $CPPFLAGS" |
| 26106 | LIBS="$POTRACE_LIBS $LIBS" |
| 26107 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26108 | /* end confdefs.h. */ |
| 26109 | #include <potracelib.h> |
| 26110 | int |
| 26111 | main (void) |
| 26112 | { |
| 26113 | potrace_state_t st; |
| 26114 | const char *version = potrace_version(); |
| 26115 | potrace_state_free(&st); |
| 26116 | ; |
| 26117 | return 0; |
| 26118 | } |
| 26119 | _ACEOF |
| 26120 | if ac_fn_c_try_link "$LINENO" |
| 26121 | then : |
| 26122 | syslib_used=yes kpse_res=ok |
| 26123 | else case e in #( |
| 26124 | e) syslib_status=no kpse_res=failed ;; |
| 26125 | esac |
| 26126 | fi |
| 26127 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26128 | conftest$ac_exeext conftest.$ac_ext |
| 26129 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26130 | printf "%s\n" "$kpse_res" >&6; } |
| 26131 | fi |
| 26132 | |
| 26133 | ## libs/gd/ac/gd.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ |
| 26134 | ## basic check of system gd |
| 26135 | if test "x$need_gd:$with_system_gd" = xyes:yes; then |
| 26136 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`gd' library" >&5 |
| 26137 | printf %s "checking requested system \`gd' library... " >&6; } |
| 26138 | CPPFLAGS="$GD_INCLUDES $CPPFLAGS" |
| 26139 | LIBS="$GD_LIBS $LIBS" |
| 26140 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26141 | /* end confdefs.h. */ |
| 26142 | #include <gd.h> |
| 26143 | int |
| 26144 | main (void) |
| 26145 | { |
| 26146 | gdImageCreate(1, 2); |
| 26147 | ; |
| 26148 | return 0; |
| 26149 | } |
| 26150 | _ACEOF |
| 26151 | if ac_fn_c_try_link "$LINENO" |
| 26152 | then : |
| 26153 | syslib_used=yes kpse_res=ok |
| 26154 | else case e in #( |
| 26155 | e) syslib_status=no kpse_res=failed ;; |
| 26156 | esac |
| 26157 | fi |
| 26158 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26159 | conftest$ac_exeext conftest.$ac_ext |
| 26160 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26161 | printf "%s\n" "$kpse_res" >&6; } |
| 26162 | fi |
| 26163 | |
| 26164 | ## libs/pixman/ac/pixman.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/ |
| 26165 | ## basic check of system pixman |
| 26166 | if test "x$need_pixman:$with_system_pixman" = xyes:yes; then |
| 26167 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`pixman' library" >&5 |
| 26168 | printf %s "checking requested system \`pixman' library... " >&6; } |
| 26169 | CPPFLAGS="$PIXMAN_INCLUDES $CPPFLAGS" |
| 26170 | LIBS="$PIXMAN_LIBS $LIBS" |
| 26171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26172 | /* end confdefs.h. */ |
| 26173 | #include <pixman.h> |
| 26174 | int |
| 26175 | main (void) |
| 26176 | { |
| 26177 | const char *s = pixman_version_string(); |
| 26178 | ; |
| 26179 | return 0; |
| 26180 | } |
| 26181 | _ACEOF |
| 26182 | if ac_fn_c_try_link "$LINENO" |
| 26183 | then : |
| 26184 | syslib_used=yes kpse_res=ok |
| 26185 | else case e in #( |
| 26186 | e) syslib_status=no kpse_res=failed ;; |
| 26187 | esac |
| 26188 | fi |
| 26189 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26190 | conftest$ac_exeext conftest.$ac_ext |
| 26191 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26192 | printf "%s\n" "$kpse_res" >&6; } |
| 26193 | fi |
| 26194 | |
| 26195 | ## libs/cairo/ac/cairo.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/ |
| 26196 | ## basic check of system cairo |
| 26197 | if test "x$need_cairo:$with_system_cairo" = xyes:yes; then |
| 26198 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`cairo' library" >&5 |
| 26199 | printf %s "checking requested system \`cairo' library... " >&6; } |
| 26200 | CPPFLAGS="$CAIRO_INCLUDES $CPPFLAGS" |
| 26201 | LIBS="$CAIRO_LIBS $LIBS" |
| 26202 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26203 | /* end confdefs.h. */ |
| 26204 | #include <cairo.h> |
| 26205 | int |
| 26206 | main (void) |
| 26207 | { |
| 26208 | const char *s = cairo_version_string(); |
| 26209 | ; |
| 26210 | return 0; |
| 26211 | } |
| 26212 | _ACEOF |
| 26213 | if ac_fn_c_try_link "$LINENO" |
| 26214 | then : |
| 26215 | syslib_used=yes kpse_res=ok |
| 26216 | else case e in #( |
| 26217 | e) syslib_status=no kpse_res=failed ;; |
| 26218 | esac |
| 26219 | fi |
| 26220 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26221 | conftest$ac_exeext conftest.$ac_ext |
| 26222 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26223 | printf "%s\n" "$kpse_res" >&6; } |
| 26224 | fi |
| 26225 | |
| 26226 | ## libs/gmp/ac/gmp.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/ |
| 26227 | ## basic check of system gmp |
| 26228 | if test "x$need_gmp:$with_system_gmp" = xyes:yes; then |
| 26229 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`gmp' library" >&5 |
| 26230 | printf %s "checking requested system \`gmp' library... " >&6; } |
| 26231 | CPPFLAGS="$GMP_INCLUDES $CPPFLAGS" |
| 26232 | LIBS="$GMP_LIBS $LIBS" |
| 26233 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26234 | /* end confdefs.h. */ |
| 26235 | #include <gmp.h> |
| 26236 | int |
| 26237 | main (void) |
| 26238 | { |
| 26239 | const char *s = gmp_version; |
| 26240 | ; |
| 26241 | return 0; |
| 26242 | } |
| 26243 | _ACEOF |
| 26244 | if ac_fn_c_try_link "$LINENO" |
| 26245 | then : |
| 26246 | syslib_used=yes kpse_res=ok |
| 26247 | else case e in #( |
| 26248 | e) syslib_status=no kpse_res=failed ;; |
| 26249 | esac |
| 26250 | fi |
| 26251 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26252 | conftest$ac_exeext conftest.$ac_ext |
| 26253 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26254 | printf "%s\n" "$kpse_res" >&6; } |
| 26255 | fi |
| 26256 | |
| 26257 | ## libs/mpfr/ac/mpfr.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/ |
| 26258 | ## basic check of system mpfr |
| 26259 | if test "x$need_mpfr:$with_system_mpfr" = xyes:yes; then |
| 26260 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`mpfr' library" >&5 |
| 26261 | printf %s "checking requested system \`mpfr' library... " >&6; } |
| 26262 | CPPFLAGS="$MPFR_INCLUDES $CPPFLAGS" |
| 26263 | LIBS="$MPFR_LIBS $LIBS" |
| 26264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26265 | /* end confdefs.h. */ |
| 26266 | #include <mpfr.h> |
| 26267 | int |
| 26268 | main (void) |
| 26269 | { |
| 26270 | const char *s = mpfr_get_version(); |
| 26271 | ; |
| 26272 | return 0; |
| 26273 | } |
| 26274 | _ACEOF |
| 26275 | if ac_fn_c_try_link "$LINENO" |
| 26276 | then : |
| 26277 | syslib_used=yes kpse_res=ok |
| 26278 | else case e in #( |
| 26279 | e) syslib_status=no kpse_res=failed ;; |
| 26280 | esac |
| 26281 | fi |
| 26282 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26283 | conftest$ac_exeext conftest.$ac_ext |
| 26284 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26285 | printf "%s\n" "$kpse_res" >&6; } |
| 26286 | fi |
| 26287 | |
| 26288 | ## libs/xpdf/ac/xpdf.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/ |
| 26289 | ## basic check of system xpdf (a.k.a. poppler, no longer supported in |
| 26290 | ## TL sources) |
| 26291 | ac_ext=cpp |
| 26292 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 26293 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26294 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26295 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 26296 | if test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then |
| 26297 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`xpdf' library" >&5 |
| 26298 | printf %s "checking requested system \`xpdf' library... " >&6; } |
| 26299 | CPPFLAGS="$XPDF_INCLUDES $CPPFLAGS" |
| 26300 | LIBS="$XPDF_LIBS $LIBS" |
| 26301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26302 | /* end confdefs.h. */ |
| 26303 | #include <GfxFont.h> |
| 26304 | int |
| 26305 | main (void) |
| 26306 | { |
| 26307 | GfxFont *gfxFont; gfxFont->isOk(); |
| 26308 | ; |
| 26309 | return 0; |
| 26310 | } |
| 26311 | _ACEOF |
| 26312 | if ac_fn_cxx_try_link "$LINENO" |
| 26313 | then : |
| 26314 | syslib_used=yes kpse_res=ok |
| 26315 | else case e in #( |
| 26316 | e) syslib_status=no kpse_res=failed ;; |
| 26317 | esac |
| 26318 | fi |
| 26319 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26320 | conftest$ac_exeext conftest.$ac_ext |
| 26321 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26322 | printf "%s\n" "$kpse_res" >&6; } |
| 26323 | fi |
| 26324 | ac_ext=c |
| 26325 | ac_cpp='$CPP $CPPFLAGS' |
| 26326 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26327 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26328 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 26329 | |
| 26330 | ## libs/zziplib/ac/zziplib.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/ |
| 26331 | ## basic check of system zziplib |
| 26332 | if test "x$need_zziplib:$with_system_zziplib" = xyes:yes; then |
| 26333 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`zziplib' library" >&5 |
| 26334 | printf %s "checking requested system \`zziplib' library... " >&6; } |
| 26335 | CPPFLAGS="$ZZIPLIB_INCLUDES $CPPFLAGS" |
| 26336 | LIBS="$ZZIPLIB_LIBS $LIBS" |
| 26337 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26338 | /* end confdefs.h. */ |
| 26339 | #include <zzip/zzip.h> |
| 26340 | int |
| 26341 | main (void) |
| 26342 | { |
| 26343 | ZZIP_FILE *z_FILE = zzip_open("file_name", 0); |
| 26344 | ; |
| 26345 | return 0; |
| 26346 | } |
| 26347 | _ACEOF |
| 26348 | if ac_fn_c_try_link "$LINENO" |
| 26349 | then : |
| 26350 | syslib_used=yes kpse_res=ok |
| 26351 | else case e in #( |
| 26352 | e) syslib_status=no kpse_res=failed ;; |
| 26353 | esac |
| 26354 | fi |
| 26355 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26356 | conftest$ac_exeext conftest.$ac_ext |
| 26357 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26358 | printf "%s\n" "$kpse_res" >&6; } |
| 26359 | fi |
| 26360 | |
| 26361 | ## libs/graphite2/ac/graphite2.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite2/ |
| 26362 | ## basic check of system graphite2 |
| 26363 | if test "x$need_graphite2:$with_system_graphite2" = xyes:yes; then |
| 26364 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`graphite2' library" >&5 |
| 26365 | printf %s "checking requested system \`graphite2' library... " >&6; } |
| 26366 | CPPFLAGS="$GRAPHITE2_INCLUDES $CPPFLAGS" |
| 26367 | LIBS="$GRAPHITE2_LIBS $LIBS" |
| 26368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26369 | /* end confdefs.h. */ |
| 26370 | #include <graphite2/Font.h> |
| 26371 | int |
| 26372 | main (void) |
| 26373 | { |
| 26374 | int *nMajor, *nMinor, *nBugFix; |
| 26375 | gr_engine_version(nMajor, nMinor, nBugFix); |
| 26376 | ; |
| 26377 | return 0; |
| 26378 | } |
| 26379 | _ACEOF |
| 26380 | if ac_fn_c_try_link "$LINENO" |
| 26381 | then : |
| 26382 | syslib_used=yes kpse_res=ok |
| 26383 | else case e in #( |
| 26384 | e) syslib_status=no kpse_res=failed ;; |
| 26385 | esac |
| 26386 | fi |
| 26387 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26388 | conftest$ac_exeext conftest.$ac_ext |
| 26389 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26390 | printf "%s\n" "$kpse_res" >&6; } |
| 26391 | fi |
| 26392 | |
| 26393 | ## libs/teckit/ac/teckit.ac: configure.ac fragment for the TeX Live subdirectory libs/teckit/ |
| 26394 | ## basic check of system teckit |
| 26395 | ac_ext=cpp |
| 26396 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 26397 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26398 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26399 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 26400 | if test "x$need_teckit:$with_system_teckit" = xyes:yes; then |
| 26401 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`teckit' library" >&5 |
| 26402 | printf %s "checking requested system \`teckit' library... " >&6; } |
| 26403 | CPPFLAGS="$TECKIT_INCLUDES $CPPFLAGS" |
| 26404 | LIBS="$TECKIT_LIBS $LIBS" |
| 26405 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26406 | /* end confdefs.h. */ |
| 26407 | #include <teckit/TECkit_Engine.h> |
| 26408 | int |
| 26409 | main (void) |
| 26410 | { |
| 26411 | TECkit_Converter converter; TECkit_DisposeConverter(converter); |
| 26412 | ; |
| 26413 | return 0; |
| 26414 | } |
| 26415 | _ACEOF |
| 26416 | if ac_fn_cxx_try_link "$LINENO" |
| 26417 | then : |
| 26418 | syslib_used=yes kpse_res=ok |
| 26419 | else case e in #( |
| 26420 | e) syslib_status=no kpse_res=failed ;; |
| 26421 | esac |
| 26422 | fi |
| 26423 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26424 | conftest$ac_exeext conftest.$ac_ext |
| 26425 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26426 | printf "%s\n" "$kpse_res" >&6; } |
| 26427 | fi |
| 26428 | ac_ext=c |
| 26429 | ac_cpp='$CPP $CPPFLAGS' |
| 26430 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26431 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26432 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 26433 | |
| 26434 | ## libs/icu/ac/icu.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ |
| 26435 | ## basic check of system icu |
| 26436 | ac_ext=cpp |
| 26437 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 26438 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26439 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26440 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 26441 | if test "x$need_icu:$with_system_icu" = xyes:yes; then |
| 26442 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`icu' library" >&5 |
| 26443 | printf %s "checking requested system \`icu' library... " >&6; } |
| 26444 | CPPFLAGS="$ICU_INCLUDES $CPPFLAGS" |
| 26445 | LIBS="$ICU_LIBS $LIBS" |
| 26446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26447 | /* end confdefs.h. */ |
| 26448 | #include <unicode/ustring.h> |
| 26449 | int |
| 26450 | main (void) |
| 26451 | { |
| 26452 | UErrorCode code; const UChar *src; UChar *dst; |
| 26453 | u_strToLower(dst, -1, src, -1, NULL, &code); |
| 26454 | ; |
| 26455 | return 0; |
| 26456 | } |
| 26457 | _ACEOF |
| 26458 | if ac_fn_cxx_try_link "$LINENO" |
| 26459 | then : |
| 26460 | syslib_used=yes kpse_res=ok |
| 26461 | else case e in #( |
| 26462 | e) syslib_status=no kpse_res=failed ;; |
| 26463 | esac |
| 26464 | fi |
| 26465 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26466 | conftest$ac_exeext conftest.$ac_ext |
| 26467 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26468 | printf "%s\n" "$kpse_res" >&6; } |
| 26469 | fi |
| 26470 | ac_ext=c |
| 26471 | ac_cpp='$CPP $CPPFLAGS' |
| 26472 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 26473 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 26474 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 26475 | |
| 26476 | ## libs/harfbuzz/ac/harfbuzz.ac: configure.ac fragment for the TeX Live subdirectory libs/harfbuzz/ |
| 26477 | ## basic check of system harfbuzz |
| 26478 | if test "x$need_harfbuzz:$with_system_harfbuzz" = xyes:yes; then |
| 26479 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking requested system \`harfbuzz' library" >&5 |
| 26480 | printf %s "checking requested system \`harfbuzz' library... " >&6; } |
| 26481 | CPPFLAGS="$HARFBUZZ_INCLUDES $CPPFLAGS" |
| 26482 | LIBS="$HARFBUZZ_LIBS $LIBS" |
| 26483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26484 | /* end confdefs.h. */ |
| 26485 | #include <hb.h> |
| 26486 | int |
| 26487 | main (void) |
| 26488 | { |
| 26489 | const char *v = hb_version_string(); |
| 26490 | ; |
| 26491 | return 0; |
| 26492 | } |
| 26493 | _ACEOF |
| 26494 | if ac_fn_c_try_link "$LINENO" |
| 26495 | then : |
| 26496 | syslib_used=yes kpse_res=ok |
| 26497 | else case e in #( |
| 26498 | e) syslib_status=no kpse_res=failed ;; |
| 26499 | esac |
| 26500 | fi |
| 26501 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26502 | conftest$ac_exeext conftest.$ac_ext |
| 26503 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5 |
| 26504 | printf "%s\n" "$kpse_res" >&6; } |
| 26505 | fi |
| 26506 | |
| 26507 | if test "x$syslib_status" = xno; then |
| 26508 | as_fn_error $? "some requested system libraries failed" "$LINENO" 5 |
| 26509 | fi |
| 26510 | if test "x$syslib_used:$enable_native_texlive_build" = xyes:yes; then |
| 26511 | as_fn_error $? "you can not use system libraries for a native TeX Live build" "$LINENO" 5 |
| 26512 | fi |
| 26513 | CPPFLAGS=$kpse_save_CPPFLAGS |
| 26514 | LIBS=$kpse_save_LIBS |
| 26515 | |
| 26516 | |
| 26517 | if test "x$cross_compiling" = xyes; then |
| 26518 | cross_TRUE= |
| 26519 | cross_FALSE='#' |
| 26520 | else |
| 26521 | cross_TRUE='#' |
| 26522 | cross_FALSE= |
| 26523 | fi |
| 26524 | |
| 26525 | |
| 26526 | |
| 26527 | |
| 26528 | subdirs="$subdirs auxdir/auxsub libs utils texk" |
| 26529 | |
| 26530 | |
| 26531 | ac_config_files="$ac_config_files Makefile doc/Makefile" |
| 26532 | |
| 26533 | |
| 26534 | rm -f Makefile |
| 26535 | kpse_GNU_make=`${MAKE-make} -v 2>/dev/null | grep GNU` |
| 26536 | |
| 26537 | cat >confcache <<\_ACEOF |
| 26538 | # This file is a shell script that caches the results of configure |
| 26539 | # tests run on this system so they can be shared between configure |
| 26540 | # scripts and configure runs, see configure's option --config-cache. |
| 26541 | # It is not useful on other systems. If it contains results you don't |
| 26542 | # want to keep, you may remove or edit it. |
| 26543 | # |
| 26544 | # config.status only pays attention to the cache file if you give it |
| 26545 | # the --recheck option to rerun configure. |
| 26546 | # |
| 26547 | # 'ac_cv_env_foo' variables (set or unset) will be overridden when |
| 26548 | # loading this file, other *unset* 'ac_cv_foo' will be assigned the |
| 26549 | # following values. |
| 26550 | |
| 26551 | _ACEOF |
| 26552 | |
| 26553 | # The following way of writing the cache mishandles newlines in values, |
| 26554 | # but we know of no workaround that is simple, portable, and efficient. |
| 26555 | # So, we kill variables containing newlines. |
| 26556 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 26557 | # and sets the high bit in the cache file unless we assign to the vars. |
| 26558 | ( |
| 26559 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 26560 | eval ac_val=\$$ac_var |
| 26561 | case $ac_val in #( |
| 26562 | *${as_nl}*) |
| 26563 | case $ac_var in #( |
| 26564 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 26565 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 26566 | esac |
| 26567 | case $ac_var in #( |
| 26568 | _ | IFS | as_nl) ;; #( |
| 26569 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 26570 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 26571 | esac ;; |
| 26572 | esac |
| 26573 | done |
| 26574 | |
| 26575 | (set) 2>&1 | |
| 26576 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 26577 | *${as_nl}ac_space=\ *) |
| 26578 | # 'set' does not quote correctly, so add quotes: double-quote |
| 26579 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 26580 | sed -n \ |
| 26581 | "s/'/'\\\\''/g; |
| 26582 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 26583 | ;; #( |
| 26584 | *) |
| 26585 | # 'set' quotes correctly as required by POSIX, so do not add quotes. |
| 26586 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 26587 | ;; |
| 26588 | esac | |
| 26589 | sort |
| 26590 | ) | |
| 26591 | sed ' |
| 26592 | /^ac_cv_env_/b end |
| 26593 | t clear |
| 26594 | :clear |
| 26595 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 26596 | t end |
| 26597 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 26598 | :end' >>confcache |
| 26599 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 26600 | if test -w "$cache_file"; then |
| 26601 | if test "x$cache_file" != "x/dev/null"; then |
| 26602 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 26603 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 26604 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 26605 | cat confcache >"$cache_file" |
| 26606 | else |
| 26607 | case $cache_file in #( |
| 26608 | */* | ?:*) |
| 26609 | mv -f confcache "$cache_file"$$ && |
| 26610 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 26611 | *) |
| 26612 | mv -f confcache "$cache_file" ;; |
| 26613 | esac |
| 26614 | fi |
| 26615 | fi |
| 26616 | else |
| 26617 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 26618 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 26619 | fi |
| 26620 | fi |
| 26621 | rm -f confcache |
| 26622 | |
| 26623 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 26624 | # Let make expand exec_prefix. |
| 26625 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 26626 | |
| 26627 | # Transform confdefs.h into DEFS. |
| 26628 | # Protect against shell expansion while executing Makefile rules. |
| 26629 | # Protect against Makefile macro expansion. |
| 26630 | # |
| 26631 | # If the first sed substitution is executed (which looks for macros that |
| 26632 | # take arguments), then branch to the quote section. Otherwise, |
| 26633 | # look for a macro that doesn't take arguments. |
| 26634 | ac_script=' |
| 26635 | :mline |
| 26636 | /\\$/{ |
| 26637 | N |
| 26638 | s,\\\n,, |
| 26639 | b mline |
| 26640 | } |
| 26641 | t clear |
| 26642 | :clear |
| 26643 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 26644 | t quote |
| 26645 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 26646 | t quote |
| 26647 | b any |
| 26648 | :quote |
| 26649 | s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 26650 | s/\$/$$/g |
| 26651 | H |
| 26652 | :any |
| 26653 | ${ |
| 26654 | g |
| 26655 | s/^\n// |
| 26656 | s/\n/ /g |
| 26657 | p |
| 26658 | } |
| 26659 | ' |
| 26660 | DEFS=`sed -n "$ac_script" confdefs.h` |
| 26661 | |
| 26662 | |
| 26663 | ac_libobjs= |
| 26664 | ac_ltlibobjs= |
| 26665 | U= |
| 26666 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 26667 | # 1. Remove the extension, and $U if already installed. |
| 26668 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 26669 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 26670 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 26671 | # will be set to the directory where LIBOBJS objects are built. |
| 26672 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 26673 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 26674 | done |
| 26675 | LIBOBJS=$ac_libobjs |
| 26676 | |
| 26677 | LTLIBOBJS=$ac_ltlibobjs |
| 26678 | |
| 26679 | |
| 26680 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 26681 | printf %s "checking that generated files are newer than configure... " >&6; } |
| 26682 | if test -n "$am_sleep_pid"; then |
| 26683 | # Hide warnings about reused PIDs. |
| 26684 | wait $am_sleep_pid 2>/dev/null |
| 26685 | fi |
| 26686 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 26687 | printf "%s\n" "done" >&6; } |
| 26688 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 26689 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 26690 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26691 | fi |
| 26692 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 26693 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 26694 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26695 | fi |
| 26696 | case $enable_silent_rules in # ((( |
| 26697 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 26698 | no) AM_DEFAULT_VERBOSITY=1;; |
| 26699 | esac |
| 26700 | if test $am_cv_make_support_nested_variables = yes; then |
| 26701 | AM_V='$(V)' |
| 26702 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 26703 | else |
| 26704 | AM_V=$AM_DEFAULT_VERBOSITY |
| 26705 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 26706 | fi |
| 26707 | |
| 26708 | if test -n "$EXEEXT"; then |
| 26709 | am__EXEEXT_TRUE= |
| 26710 | am__EXEEXT_FALSE='#' |
| 26711 | else |
| 26712 | am__EXEEXT_TRUE='#' |
| 26713 | am__EXEEXT_FALSE= |
| 26714 | fi |
| 26715 | |
| 26716 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 26717 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 26718 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26719 | fi |
| 26720 | # Check whether --enable-year2038 was given. |
| 26721 | if test ${enable_year2038+y} |
| 26722 | then : |
| 26723 | enableval=$enable_year2038; |
| 26724 | fi |
| 26725 | |
| 26726 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 26727 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
| 26728 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26729 | fi |
| 26730 | if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then |
| 26731 | as_fn_error $? "conditional \"cross\" was never defined. |
| 26732 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26733 | fi |
| 26734 | |
| 26735 | : "${CONFIG_STATUS=./config.status}" |
| 26736 | ac_write_fail=0 |
| 26737 | ac_clean_files_save=$ac_clean_files |
| 26738 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 26739 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 26740 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 26741 | as_write_fail=0 |
| 26742 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 26743 | #! $SHELL |
| 26744 | # Generated by $as_me. |
| 26745 | # Run this file to recreate the current configuration. |
| 26746 | # Compiler output produced by configure, useful for debugging |
| 26747 | # configure, is in config.log if it exists. |
| 26748 | |
| 26749 | debug=false |
| 26750 | ac_cs_recheck=false |
| 26751 | ac_cs_silent=false |
| 26752 | |
| 26753 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 26754 | export SHELL |
| 26755 | _ASEOF |
| 26756 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 26757 | ## -------------------- ## |
| 26758 | ## M4sh Initialization. ## |
| 26759 | ## -------------------- ## |
| 26760 | |
| 26761 | # Be more Bourne compatible |
| 26762 | DUALCASE=1; export DUALCASE # for MKS sh |
| 26763 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 26764 | then : |
| 26765 | emulate sh |
| 26766 | NULLCMD=: |
| 26767 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 26768 | # is contrary to our usage. Disable this feature. |
| 26769 | alias -g '${1+"$@"}'='"$@"' |
| 26770 | setopt NO_GLOB_SUBST |
| 26771 | else case e in #( |
| 26772 | e) case `(set -o) 2>/dev/null` in #( |
| 26773 | *posix*) : |
| 26774 | set -o posix ;; #( |
| 26775 | *) : |
| 26776 | ;; |
| 26777 | esac ;; |
| 26778 | esac |
| 26779 | fi |
| 26780 | |
| 26781 | |
| 26782 | |
| 26783 | # Reset variables that may have inherited troublesome values from |
| 26784 | # the environment. |
| 26785 | |
| 26786 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 26787 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 26788 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 26789 | # Quoting is to prevent editors from complaining about space-tab. |
| 26790 | as_nl=' |
| 26791 | ' |
| 26792 | export as_nl |
| 26793 | IFS=" "" $as_nl" |
| 26794 | |
| 26795 | PS1='$ ' |
| 26796 | PS2='> ' |
| 26797 | PS4='+ ' |
| 26798 | |
| 26799 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 26800 | LC_ALL=C |
| 26801 | export LC_ALL |
| 26802 | LANGUAGE=C |
| 26803 | export LANGUAGE |
| 26804 | |
| 26805 | # We cannot yet rely on "unset" to work, but we need these variables |
| 26806 | # to be unset--not just set to an empty or harmless value--now, to |
| 26807 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 26808 | # also avoids known problems related to "unset" and subshell syntax |
| 26809 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 26810 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 26811 | do eval test \${$as_var+y} \ |
| 26812 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 26813 | done |
| 26814 | |
| 26815 | # Ensure that fds 0, 1, and 2 are open. |
| 26816 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 26817 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 26818 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 26819 | |
| 26820 | # The user is always right. |
| 26821 | if ${PATH_SEPARATOR+false} :; then |
| 26822 | PATH_SEPARATOR=: |
| 26823 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 26824 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 26825 | PATH_SEPARATOR=';' |
| 26826 | } |
| 26827 | fi |
| 26828 | |
| 26829 | |
| 26830 | # Find who we are. Look in the path if we contain no directory separator. |
| 26831 | as_myself= |
| 26832 | case $0 in #(( |
| 26833 | *[\\/]* ) as_myself=$0 ;; |
| 26834 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26835 | for as_dir in $PATH |
| 26836 | do |
| 26837 | IFS=$as_save_IFS |
| 26838 | case $as_dir in #((( |
| 26839 | '') as_dir=./ ;; |
| 26840 | */) ;; |
| 26841 | *) as_dir=$as_dir/ ;; |
| 26842 | esac |
| 26843 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 26844 | done |
| 26845 | IFS=$as_save_IFS |
| 26846 | |
| 26847 | ;; |
| 26848 | esac |
| 26849 | # We did not find ourselves, most probably we were run as 'sh COMMAND' |
| 26850 | # in which case we are not to be found in the path. |
| 26851 | if test "x$as_myself" = x; then |
| 26852 | as_myself=$0 |
| 26853 | fi |
| 26854 | if test ! -f "$as_myself"; then |
| 26855 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 26856 | exit 1 |
| 26857 | fi |
| 26858 | |
| 26859 | |
| 26860 | |
| 26861 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 26862 | # ---------------------------------------- |
| 26863 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 26864 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 26865 | # script with STATUS, using 1 if that was 0. |
| 26866 | as_fn_error () |
| 26867 | { |
| 26868 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 26869 | if test "$4"; then |
| 26870 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 26871 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 26872 | fi |
| 26873 | printf "%s\n" "$as_me: error: $2" >&2 |
| 26874 | as_fn_exit $as_status |
| 26875 | } # as_fn_error |
| 26876 | |
| 26877 | |
| 26878 | # as_fn_set_status STATUS |
| 26879 | # ----------------------- |
| 26880 | # Set $? to STATUS, without forking. |
| 26881 | as_fn_set_status () |
| 26882 | { |
| 26883 | return $1 |
| 26884 | } # as_fn_set_status |
| 26885 | |
| 26886 | # as_fn_exit STATUS |
| 26887 | # ----------------- |
| 26888 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 26889 | as_fn_exit () |
| 26890 | { |
| 26891 | set +e |
| 26892 | as_fn_set_status $1 |
| 26893 | exit $1 |
| 26894 | } # as_fn_exit |
| 26895 | |
| 26896 | # as_fn_unset VAR |
| 26897 | # --------------- |
| 26898 | # Portably unset VAR. |
| 26899 | as_fn_unset () |
| 26900 | { |
| 26901 | { eval $1=; unset $1;} |
| 26902 | } |
| 26903 | as_unset=as_fn_unset |
| 26904 | |
| 26905 | # as_fn_append VAR VALUE |
| 26906 | # ---------------------- |
| 26907 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 26908 | # advantage of any shell optimizations that allow amortized linear growth over |
| 26909 | # repeated appends, instead of the typical quadratic growth present in naive |
| 26910 | # implementations. |
| 26911 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 26912 | then : |
| 26913 | eval 'as_fn_append () |
| 26914 | { |
| 26915 | eval $1+=\$2 |
| 26916 | }' |
| 26917 | else case e in #( |
| 26918 | e) as_fn_append () |
| 26919 | { |
| 26920 | eval $1=\$$1\$2 |
| 26921 | } ;; |
| 26922 | esac |
| 26923 | fi # as_fn_append |
| 26924 | |
| 26925 | # as_fn_arith ARG... |
| 26926 | # ------------------ |
| 26927 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 26928 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 26929 | # must be portable across $(()) and expr. |
| 26930 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 26931 | then : |
| 26932 | eval 'as_fn_arith () |
| 26933 | { |
| 26934 | as_val=$(( $* )) |
| 26935 | }' |
| 26936 | else case e in #( |
| 26937 | e) as_fn_arith () |
| 26938 | { |
| 26939 | as_val=`expr "$@" || test $? -eq 1` |
| 26940 | } ;; |
| 26941 | esac |
| 26942 | fi # as_fn_arith |
| 26943 | |
| 26944 | |
| 26945 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 26946 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 26947 | as_expr=expr |
| 26948 | else |
| 26949 | as_expr=false |
| 26950 | fi |
| 26951 | |
| 26952 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 26953 | as_basename=basename |
| 26954 | else |
| 26955 | as_basename=false |
| 26956 | fi |
| 26957 | |
| 26958 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 26959 | as_dirname=dirname |
| 26960 | else |
| 26961 | as_dirname=false |
| 26962 | fi |
| 26963 | |
| 26964 | as_me=`$as_basename -- "$0" || |
| 26965 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 26966 | X"$0" : 'X\(//\)$' \| \ |
| 26967 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 26968 | printf "%s\n" X/"$0" | |
| 26969 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 26970 | s//\1/ |
| 26971 | q |
| 26972 | } |
| 26973 | /^X\/\(\/\/\)$/{ |
| 26974 | s//\1/ |
| 26975 | q |
| 26976 | } |
| 26977 | /^X\/\(\/\).*/{ |
| 26978 | s//\1/ |
| 26979 | q |
| 26980 | } |
| 26981 | s/.*/./; q'` |
| 26982 | |
| 26983 | # Avoid depending upon Character Ranges. |
| 26984 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 26985 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 26986 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 26987 | as_cr_digits='0123456789' |
| 26988 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 26989 | |
| 26990 | |
| 26991 | # Determine whether it's possible to make 'echo' print without a newline. |
| 26992 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 26993 | # for compatibility with existing Makefiles. |
| 26994 | ECHO_C= ECHO_N= ECHO_T= |
| 26995 | case `echo -n x` in #((((( |
| 26996 | -n*) |
| 26997 | case `echo 'xy\c'` in |
| 26998 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 26999 | xy) ECHO_C='\c';; |
| 27000 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 27001 | ECHO_T=' ';; |
| 27002 | esac;; |
| 27003 | *) |
| 27004 | ECHO_N='-n';; |
| 27005 | esac |
| 27006 | |
| 27007 | # For backward compatibility with old third-party macros, we provide |
| 27008 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 27009 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 27010 | as_echo='printf %s\n' |
| 27011 | as_echo_n='printf %s' |
| 27012 | |
| 27013 | rm -f conf$$ conf$$.exe conf$$.file |
| 27014 | if test -d conf$$.dir; then |
| 27015 | rm -f conf$$.dir/conf$$.file |
| 27016 | else |
| 27017 | rm -f conf$$.dir |
| 27018 | mkdir conf$$.dir 2>/dev/null |
| 27019 | fi |
| 27020 | if (echo >conf$$.file) 2>/dev/null; then |
| 27021 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 27022 | as_ln_s='ln -s' |
| 27023 | # ... but there are two gotchas: |
| 27024 | # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 27025 | # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 27026 | # In both cases, we have to default to 'cp -pR'. |
| 27027 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 27028 | as_ln_s='cp -pR' |
| 27029 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 27030 | as_ln_s=ln |
| 27031 | else |
| 27032 | as_ln_s='cp -pR' |
| 27033 | fi |
| 27034 | else |
| 27035 | as_ln_s='cp -pR' |
| 27036 | fi |
| 27037 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 27038 | rmdir conf$$.dir 2>/dev/null |
| 27039 | |
| 27040 | |
| 27041 | # as_fn_mkdir_p |
| 27042 | # ------------- |
| 27043 | # Create "$as_dir" as a directory, including parents if necessary. |
| 27044 | as_fn_mkdir_p () |
| 27045 | { |
| 27046 | |
| 27047 | case $as_dir in #( |
| 27048 | -*) as_dir=./$as_dir;; |
| 27049 | esac |
| 27050 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 27051 | as_dirs= |
| 27052 | while :; do |
| 27053 | case $as_dir in #( |
| 27054 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 27055 | *) as_qdir=$as_dir;; |
| 27056 | esac |
| 27057 | as_dirs="'$as_qdir' $as_dirs" |
| 27058 | as_dir=`$as_dirname -- "$as_dir" || |
| 27059 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 27060 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 27061 | X"$as_dir" : 'X\(//\)$' \| \ |
| 27062 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 27063 | printf "%s\n" X"$as_dir" | |
| 27064 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 27065 | s//\1/ |
| 27066 | q |
| 27067 | } |
| 27068 | /^X\(\/\/\)[^/].*/{ |
| 27069 | s//\1/ |
| 27070 | q |
| 27071 | } |
| 27072 | /^X\(\/\/\)$/{ |
| 27073 | s//\1/ |
| 27074 | q |
| 27075 | } |
| 27076 | /^X\(\/\).*/{ |
| 27077 | s//\1/ |
| 27078 | q |
| 27079 | } |
| 27080 | s/.*/./; q'` |
| 27081 | test -d "$as_dir" && break |
| 27082 | done |
| 27083 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 27084 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 27085 | |
| 27086 | |
| 27087 | } # as_fn_mkdir_p |
| 27088 | if mkdir -p . 2>/dev/null; then |
| 27089 | as_mkdir_p='mkdir -p "$as_dir"' |
| 27090 | else |
| 27091 | test -d ./-p && rmdir ./-p |
| 27092 | as_mkdir_p=false |
| 27093 | fi |
| 27094 | |
| 27095 | |
| 27096 | # as_fn_executable_p FILE |
| 27097 | # ----------------------- |
| 27098 | # Test if FILE is an executable regular file. |
| 27099 | as_fn_executable_p () |
| 27100 | { |
| 27101 | test -f "$1" && test -x "$1" |
| 27102 | } # as_fn_executable_p |
| 27103 | as_test_x='test -x' |
| 27104 | as_executable_p=as_fn_executable_p |
| 27105 | |
| 27106 | # Sed expression to map a string onto a valid CPP name. |
| 27107 | as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 27108 | as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 27109 | |
| 27110 | # Sed expression to map a string onto a valid variable name. |
| 27111 | as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 27112 | as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 27113 | |
| 27114 | |
| 27115 | exec 6>&1 |
| 27116 | ## ----------------------------------- ## |
| 27117 | ## Main body of $CONFIG_STATUS script. ## |
| 27118 | ## ----------------------------------- ## |
| 27119 | _ASEOF |
| 27120 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 27121 | |
| 27122 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27123 | # Save the log message, to keep $0 and so on meaningful, and to |
| 27124 | # report actual input values of CONFIG_FILES etc. instead of their |
| 27125 | # values after options handling. |
| 27126 | ac_log=" |
| 27127 | This file was extended by TeX Live $as_me 2026-03-02, which was |
| 27128 | generated by GNU Autoconf 2.72. Invocation command line was |
| 27129 | |
| 27130 | CONFIG_FILES = $CONFIG_FILES |
| 27131 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 27132 | CONFIG_LINKS = $CONFIG_LINKS |
| 27133 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 27134 | $ $0 $@ |
| 27135 | |
| 27136 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 27137 | " |
| 27138 | |
| 27139 | _ACEOF |
| 27140 | |
| 27141 | case $ac_config_files in *" |
| 27142 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 27143 | esac |
| 27144 | |
| 27145 | |
| 27146 | |
| 27147 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27148 | # Files that config.status was made for. |
| 27149 | config_files="$ac_config_files" |
| 27150 | config_commands="$ac_config_commands" |
| 27151 | |
| 27152 | _ACEOF |
| 27153 | |
| 27154 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27155 | ac_cs_usage="\ |
| 27156 | '$as_me' instantiates files and other configuration actions |
| 27157 | from templates according to the current configuration. Unless the files |
| 27158 | and actions are specified as TAGs, all are instantiated by default. |
| 27159 | |
| 27160 | Usage: $0 [OPTION]... [TAG]... |
| 27161 | |
| 27162 | -h, --help print this help, then exit |
| 27163 | -V, --version print version number and configuration settings, then exit |
| 27164 | --config print configuration, then exit |
| 27165 | -q, --quiet, --silent |
| 27166 | do not print progress messages |
| 27167 | -d, --debug don't remove temporary files |
| 27168 | --recheck update $as_me by reconfiguring in the same conditions |
| 27169 | --file=FILE[:TEMPLATE] |
| 27170 | instantiate the configuration file FILE |
| 27171 | |
| 27172 | Configuration files: |
| 27173 | $config_files |
| 27174 | |
| 27175 | Configuration commands: |
| 27176 | $config_commands |
| 27177 | |
| 27178 | Report bugs to <[email protected]>." |
| 27179 | |
| 27180 | _ACEOF |
| 27181 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 27182 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 27183 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27184 | ac_cs_config='$ac_cs_config_escaped' |
| 27185 | ac_cs_version="\\ |
| 27186 | TeX Live config.status 2026-03-02 |
| 27187 | configured by $0, generated by GNU Autoconf 2.72, |
| 27188 | with options \\"\$ac_cs_config\\" |
| 27189 | |
| 27190 | Copyright (C) 2023 Free Software Foundation, Inc. |
| 27191 | This config.status script is free software; the Free Software Foundation |
| 27192 | gives unlimited permission to copy, distribute and modify it." |
| 27193 | |
| 27194 | ac_pwd='$ac_pwd' |
| 27195 | srcdir='$srcdir' |
| 27196 | INSTALL='$INSTALL' |
| 27197 | MKDIR_P='$MKDIR_P' |
| 27198 | AWK='$AWK' |
| 27199 | test -n "\$AWK" || AWK=awk |
| 27200 | _ACEOF |
| 27201 | |
| 27202 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27203 | # The default lists apply if the user does not specify any file. |
| 27204 | ac_need_defaults=: |
| 27205 | while test $# != 0 |
| 27206 | do |
| 27207 | case $1 in |
| 27208 | --*=?*) |
| 27209 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 27210 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 27211 | ac_shift=: |
| 27212 | ;; |
| 27213 | --*=) |
| 27214 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 27215 | ac_optarg= |
| 27216 | ac_shift=: |
| 27217 | ;; |
| 27218 | *) |
| 27219 | ac_option=$1 |
| 27220 | ac_optarg=$2 |
| 27221 | ac_shift=shift |
| 27222 | ;; |
| 27223 | esac |
| 27224 | |
| 27225 | case $ac_option in |
| 27226 | # Handling of the options. |
| 27227 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 27228 | ac_cs_recheck=: ;; |
| 27229 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 27230 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 27231 | --config | --confi | --conf | --con | --co | --c ) |
| 27232 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 27233 | --debug | --debu | --deb | --de | --d | -d ) |
| 27234 | debug=: ;; |
| 27235 | --file | --fil | --fi | --f ) |
| 27236 | $ac_shift |
| 27237 | case $ac_optarg in |
| 27238 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 27239 | '') as_fn_error $? "missing file argument" ;; |
| 27240 | esac |
| 27241 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 27242 | ac_need_defaults=false;; |
| 27243 | --he | --h | --help | --hel | -h ) |
| 27244 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 27245 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 27246 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 27247 | ac_cs_silent=: ;; |
| 27248 | |
| 27249 | # This is an error. |
| 27250 | -*) as_fn_error $? "unrecognized option: '$1' |
| 27251 | Try '$0 --help' for more information." ;; |
| 27252 | |
| 27253 | *) as_fn_append ac_config_targets " $1" |
| 27254 | ac_need_defaults=false ;; |
| 27255 | |
| 27256 | esac |
| 27257 | shift |
| 27258 | done |
| 27259 | |
| 27260 | ac_configure_extra_args= |
| 27261 | |
| 27262 | if $ac_cs_silent; then |
| 27263 | exec 6>/dev/null |
| 27264 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 27265 | fi |
| 27266 | |
| 27267 | _ACEOF |
| 27268 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27269 | if \$ac_cs_recheck; then |
| 27270 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 27271 | shift |
| 27272 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 27273 | CONFIG_SHELL='$SHELL' |
| 27274 | export CONFIG_SHELL |
| 27275 | exec "\$@" |
| 27276 | fi |
| 27277 | |
| 27278 | _ACEOF |
| 27279 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27280 | exec 5>>config.log |
| 27281 | { |
| 27282 | echo |
| 27283 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 27284 | ## Running $as_me. ## |
| 27285 | _ASBOX |
| 27286 | printf "%s\n" "$ac_log" |
| 27287 | } >&5 |
| 27288 | |
| 27289 | _ACEOF |
| 27290 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27291 | # |
| 27292 | # INIT-COMMANDS |
| 27293 | # |
| 27294 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 27295 | |
| 27296 | |
| 27297 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| 27298 | # if CDPATH is set. |
| 27299 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 27300 | |
| 27301 | sed_quote_subst='$sed_quote_subst' |
| 27302 | double_quote_subst='$double_quote_subst' |
| 27303 | delay_variable_subst='$delay_variable_subst' |
| 27304 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 27305 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 27306 | AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' |
| 27307 | DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 27308 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 27309 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 27310 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 27311 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 27312 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 27313 | shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
| 27314 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 27315 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 27316 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 27317 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 27318 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 27319 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 27320 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 27321 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 27322 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 27323 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 27324 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 27325 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 27326 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 27327 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 27328 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 27329 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 27330 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 27331 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 27332 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 27333 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 27334 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 27335 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 27336 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 27337 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 27338 | lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 27339 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 27340 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 27341 | FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 27342 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 27343 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 27344 | file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 27345 | want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 27346 | sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 27347 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 27348 | lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 27349 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 27350 | archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 27351 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 27352 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 27353 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 27354 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 27355 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 27356 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 27357 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 27358 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 27359 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 27360 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 27361 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 27362 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 27363 | lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
| 27364 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 27365 | 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"`' |
| 27366 | lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
| 27367 | nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 27368 | lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 27369 | lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
| 27370 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 27371 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 27372 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 27373 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 27374 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 27375 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 27376 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 27377 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 27378 | MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 27379 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 27380 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 27381 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 27382 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 27383 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 27384 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 27385 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 27386 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 27387 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 27388 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 27389 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 27390 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 27391 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 27392 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 27393 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 27394 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 27395 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 27396 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 27397 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 27398 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 27399 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 27400 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 27401 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 27402 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 27403 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 27404 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 27405 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 27406 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 27407 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 27408 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 27409 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 27410 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 27411 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 27412 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 27413 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 27414 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 27415 | postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 27416 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 27417 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 27418 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 27419 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 27420 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 27421 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 27422 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 27423 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 27424 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 27425 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 27426 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 27427 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 27428 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 27429 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 27430 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 27431 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 27432 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 27433 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 27434 | configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 27435 | configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 27436 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 27437 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 27438 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 27439 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 27440 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 27441 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 27442 | compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' |
| 27443 | predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' |
| 27444 | postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' |
| 27445 | predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' |
| 27446 | postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' |
| 27447 | compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' |
| 27448 | LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' |
| 27449 | reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 27450 | reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27451 | old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27452 | compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' |
| 27453 | GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' |
| 27454 | lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 27455 | lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' |
| 27456 | lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' |
| 27457 | lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' |
| 27458 | lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' |
| 27459 | archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' |
| 27460 | enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' |
| 27461 | export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 27462 | whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 27463 | compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' |
| 27464 | old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27465 | old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27466 | archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27467 | archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27468 | module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27469 | module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27470 | with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' |
| 27471 | allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 27472 | no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 27473 | hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 27474 | hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
| 27475 | hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
| 27476 | hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
| 27477 | hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' |
| 27478 | hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' |
| 27479 | hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' |
| 27480 | inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' |
| 27481 | link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' |
| 27482 | always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' |
| 27483 | export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27484 | exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
| 27485 | include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
| 27486 | prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27487 | postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 27488 | file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 27489 | hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' |
| 27490 | compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' |
| 27491 | predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
| 27492 | postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
| 27493 | predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' |
| 27494 | postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' |
| 27495 | compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' |
| 27496 | |
| 27497 | LTCC='$LTCC' |
| 27498 | LTCFLAGS='$LTCFLAGS' |
| 27499 | compiler='$compiler_DEFAULT' |
| 27500 | |
| 27501 | # A function that is used when there is no print builtin or printf. |
| 27502 | func_fallback_echo () |
| 27503 | { |
| 27504 | eval 'cat <<_LTECHO_EOF |
| 27505 | \$1 |
| 27506 | _LTECHO_EOF' |
| 27507 | } |
| 27508 | |
| 27509 | # Quote evaled strings. |
| 27510 | for var in AS \ |
| 27511 | DLLTOOL \ |
| 27512 | OBJDUMP \ |
| 27513 | SHELL \ |
| 27514 | ECHO \ |
| 27515 | PATH_SEPARATOR \ |
| 27516 | SED \ |
| 27517 | GREP \ |
| 27518 | EGREP \ |
| 27519 | FGREP \ |
| 27520 | LD \ |
| 27521 | NM \ |
| 27522 | LN_S \ |
| 27523 | lt_SP2NL \ |
| 27524 | lt_NL2SP \ |
| 27525 | reload_flag \ |
| 27526 | FILECMD \ |
| 27527 | deplibs_check_method \ |
| 27528 | file_magic_cmd \ |
| 27529 | file_magic_glob \ |
| 27530 | want_nocaseglob \ |
| 27531 | sharedlib_from_linklib_cmd \ |
| 27532 | AR \ |
| 27533 | archiver_list_spec \ |
| 27534 | STRIP \ |
| 27535 | RANLIB \ |
| 27536 | CC \ |
| 27537 | CFLAGS \ |
| 27538 | compiler \ |
| 27539 | lt_cv_sys_global_symbol_pipe \ |
| 27540 | lt_cv_sys_global_symbol_to_cdecl \ |
| 27541 | lt_cv_sys_global_symbol_to_import \ |
| 27542 | lt_cv_sys_global_symbol_to_c_name_address \ |
| 27543 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 27544 | lt_cv_nm_interface \ |
| 27545 | nm_file_list_spec \ |
| 27546 | lt_cv_truncate_bin \ |
| 27547 | lt_prog_compiler_no_builtin_flag \ |
| 27548 | lt_prog_compiler_pic \ |
| 27549 | lt_prog_compiler_wl \ |
| 27550 | lt_prog_compiler_static \ |
| 27551 | lt_cv_prog_compiler_c_o \ |
| 27552 | need_locks \ |
| 27553 | MANIFEST_TOOL \ |
| 27554 | DSYMUTIL \ |
| 27555 | NMEDIT \ |
| 27556 | LIPO \ |
| 27557 | OTOOL \ |
| 27558 | OTOOL64 \ |
| 27559 | shrext_cmds \ |
| 27560 | export_dynamic_flag_spec \ |
| 27561 | whole_archive_flag_spec \ |
| 27562 | compiler_needs_object \ |
| 27563 | with_gnu_ld \ |
| 27564 | allow_undefined_flag \ |
| 27565 | no_undefined_flag \ |
| 27566 | hardcode_libdir_flag_spec \ |
| 27567 | hardcode_libdir_separator \ |
| 27568 | exclude_expsyms \ |
| 27569 | include_expsyms \ |
| 27570 | file_list_spec \ |
| 27571 | variables_saved_for_relink \ |
| 27572 | libname_spec \ |
| 27573 | library_names_spec \ |
| 27574 | soname_spec \ |
| 27575 | install_override_mode \ |
| 27576 | finish_eval \ |
| 27577 | old_striplib \ |
| 27578 | striplib \ |
| 27579 | compiler_lib_search_dirs \ |
| 27580 | predep_objects \ |
| 27581 | postdep_objects \ |
| 27582 | predeps \ |
| 27583 | postdeps \ |
| 27584 | compiler_lib_search_path \ |
| 27585 | LD_CXX \ |
| 27586 | reload_flag_CXX \ |
| 27587 | compiler_CXX \ |
| 27588 | lt_prog_compiler_no_builtin_flag_CXX \ |
| 27589 | lt_prog_compiler_pic_CXX \ |
| 27590 | lt_prog_compiler_wl_CXX \ |
| 27591 | lt_prog_compiler_static_CXX \ |
| 27592 | lt_cv_prog_compiler_c_o_CXX \ |
| 27593 | export_dynamic_flag_spec_CXX \ |
| 27594 | whole_archive_flag_spec_CXX \ |
| 27595 | compiler_needs_object_CXX \ |
| 27596 | with_gnu_ld_CXX \ |
| 27597 | allow_undefined_flag_CXX \ |
| 27598 | no_undefined_flag_CXX \ |
| 27599 | hardcode_libdir_flag_spec_CXX \ |
| 27600 | hardcode_libdir_separator_CXX \ |
| 27601 | exclude_expsyms_CXX \ |
| 27602 | include_expsyms_CXX \ |
| 27603 | file_list_spec_CXX \ |
| 27604 | compiler_lib_search_dirs_CXX \ |
| 27605 | predep_objects_CXX \ |
| 27606 | postdep_objects_CXX \ |
| 27607 | predeps_CXX \ |
| 27608 | postdeps_CXX \ |
| 27609 | compiler_lib_search_path_CXX; do |
| 27610 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 27611 | *[\\\\\\\`\\"\\\$]*) |
| 27612 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 27613 | ;; |
| 27614 | *) |
| 27615 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 27616 | ;; |
| 27617 | esac |
| 27618 | done |
| 27619 | |
| 27620 | # Double-quote double-evaled strings. |
| 27621 | for var in reload_cmds \ |
| 27622 | old_postinstall_cmds \ |
| 27623 | old_postuninstall_cmds \ |
| 27624 | old_archive_cmds \ |
| 27625 | extract_expsyms_cmds \ |
| 27626 | old_archive_from_new_cmds \ |
| 27627 | old_archive_from_expsyms_cmds \ |
| 27628 | archive_cmds \ |
| 27629 | archive_expsym_cmds \ |
| 27630 | module_cmds \ |
| 27631 | module_expsym_cmds \ |
| 27632 | export_symbols_cmds \ |
| 27633 | prelink_cmds \ |
| 27634 | postlink_cmds \ |
| 27635 | postinstall_cmds \ |
| 27636 | postuninstall_cmds \ |
| 27637 | finish_cmds \ |
| 27638 | sys_lib_search_path_spec \ |
| 27639 | configure_time_dlsearch_path \ |
| 27640 | configure_time_lt_sys_library_path \ |
| 27641 | reload_cmds_CXX \ |
| 27642 | old_archive_cmds_CXX \ |
| 27643 | old_archive_from_new_cmds_CXX \ |
| 27644 | old_archive_from_expsyms_cmds_CXX \ |
| 27645 | archive_cmds_CXX \ |
| 27646 | archive_expsym_cmds_CXX \ |
| 27647 | module_cmds_CXX \ |
| 27648 | module_expsym_cmds_CXX \ |
| 27649 | export_symbols_cmds_CXX \ |
| 27650 | prelink_cmds_CXX \ |
| 27651 | postlink_cmds_CXX; do |
| 27652 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 27653 | *[\\\\\\\`\\"\\\$]*) |
| 27654 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 27655 | ;; |
| 27656 | *) |
| 27657 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 27658 | ;; |
| 27659 | esac |
| 27660 | done |
| 27661 | |
| 27662 | ac_aux_dir='$ac_aux_dir' |
| 27663 | |
| 27664 | # See if we are running on zsh, and set the options that allow our |
| 27665 | # commands through without removal of \ escapes INIT. |
| 27666 | if test -n "\${ZSH_VERSION+set}"; then |
| 27667 | setopt NO_GLOB_SUBST |
| 27668 | fi |
| 27669 | |
| 27670 | |
| 27671 | PACKAGE='$PACKAGE' |
| 27672 | VERSION='$VERSION' |
| 27673 | RM='$RM' |
| 27674 | ofile='$ofile' |
| 27675 | |
| 27676 | |
| 27677 | |
| 27678 | enable_libtool_hack='$enable_libtool_hack' |
| 27679 | |
| 27680 | |
| 27681 | |
| 27682 | _ACEOF |
| 27683 | |
| 27684 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27685 | |
| 27686 | # Handling of arguments. |
| 27687 | for ac_config_target in $ac_config_targets |
| 27688 | do |
| 27689 | case $ac_config_target in |
| 27690 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 27691 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 27692 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 27693 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 27694 | |
| 27695 | *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; |
| 27696 | esac |
| 27697 | done |
| 27698 | |
| 27699 | |
| 27700 | # If the user did not use the arguments to specify the items to instantiate, |
| 27701 | # then the envvar interface is used. Set only those that are not. |
| 27702 | # We use the long form for the default assignment because of an extremely |
| 27703 | # bizarre bug on SunOS 4.1.3. |
| 27704 | if $ac_need_defaults; then |
| 27705 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 27706 | test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 27707 | fi |
| 27708 | |
| 27709 | # Have a temporary directory for convenience. Make it in the build tree |
| 27710 | # simply because there is no reason against having it here, and in addition, |
| 27711 | # creating and moving files from /tmp can sometimes cause problems. |
| 27712 | # Hook for its removal unless debugging. |
| 27713 | # Note that there is a small window in which the directory will not be cleaned: |
| 27714 | # after its creation but before its name has been assigned to '$tmp'. |
| 27715 | $debug || |
| 27716 | { |
| 27717 | tmp= ac_tmp= |
| 27718 | trap 'exit_status=$? |
| 27719 | : "${ac_tmp:=$tmp}" |
| 27720 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 27721 | ' 0 |
| 27722 | trap 'as_fn_exit 1' 1 2 13 15 |
| 27723 | } |
| 27724 | # Create a (secure) tmp directory for tmp files. |
| 27725 | |
| 27726 | { |
| 27727 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 27728 | test -d "$tmp" |
| 27729 | } || |
| 27730 | { |
| 27731 | tmp=./conf$$-$RANDOM |
| 27732 | (umask 077 && mkdir "$tmp") |
| 27733 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 27734 | ac_tmp=$tmp |
| 27735 | |
| 27736 | # Set up the scripts for CONFIG_FILES section. |
| 27737 | # No need to generate them if there are no CONFIG_FILES. |
| 27738 | # This happens for instance with './config.status config.h'. |
| 27739 | if test -n "$CONFIG_FILES"; then |
| 27740 | |
| 27741 | |
| 27742 | ac_cr=`echo X | tr X '\015'` |
| 27743 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 27744 | # But we know of no other shell where ac_cr would be empty at this |
| 27745 | # point, so we can use a bashism as a fallback. |
| 27746 | if test "x$ac_cr" = x; then |
| 27747 | eval ac_cr=\$\'\\r\' |
| 27748 | fi |
| 27749 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 27750 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 27751 | ac_cs_awk_cr='\\r' |
| 27752 | else |
| 27753 | ac_cs_awk_cr=$ac_cr |
| 27754 | fi |
| 27755 | |
| 27756 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 27757 | _ACEOF |
| 27758 | |
| 27759 | |
| 27760 | { |
| 27761 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| 27762 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 27763 | echo "_ACEOF" |
| 27764 | } >conf$$subs.sh || |
| 27765 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27766 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 27767 | ac_delim='%!_!# ' |
| 27768 | for ac_last_try in false false false false false :; do |
| 27769 | . ./conf$$subs.sh || |
| 27770 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27771 | |
| 27772 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 27773 | if test $ac_delim_n = $ac_delim_num; then |
| 27774 | break |
| 27775 | elif $ac_last_try; then |
| 27776 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27777 | else |
| 27778 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 27779 | fi |
| 27780 | done |
| 27781 | rm -f conf$$subs.sh |
| 27782 | |
| 27783 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27784 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 27785 | _ACEOF |
| 27786 | sed -n ' |
| 27787 | h |
| 27788 | s/^/S["/; s/!.*/"]=/ |
| 27789 | p |
| 27790 | g |
| 27791 | s/^[^!]*!// |
| 27792 | :repl |
| 27793 | t repl |
| 27794 | s/'"$ac_delim"'$// |
| 27795 | t delim |
| 27796 | :nl |
| 27797 | h |
| 27798 | s/\(.\{148\}\)..*/\1/ |
| 27799 | t more1 |
| 27800 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 27801 | p |
| 27802 | n |
| 27803 | b repl |
| 27804 | :more1 |
| 27805 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 27806 | p |
| 27807 | g |
| 27808 | s/.\{148\}// |
| 27809 | t nl |
| 27810 | :delim |
| 27811 | h |
| 27812 | s/\(.\{148\}\)..*/\1/ |
| 27813 | t more2 |
| 27814 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 27815 | p |
| 27816 | b |
| 27817 | :more2 |
| 27818 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 27819 | p |
| 27820 | g |
| 27821 | s/.\{148\}// |
| 27822 | t delim |
| 27823 | ' <conf$$subs.awk | sed ' |
| 27824 | /^[^""]/{ |
| 27825 | N |
| 27826 | s/\n// |
| 27827 | } |
| 27828 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 27829 | rm -f conf$$subs.awk |
| 27830 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27831 | _ACAWK |
| 27832 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 27833 | for (key in S) S_is_set[key] = 1 |
| 27834 | FS = "" |
| 27835 | |
| 27836 | } |
| 27837 | { |
| 27838 | line = $ 0 |
| 27839 | nfields = split(line, field, "@") |
| 27840 | substed = 0 |
| 27841 | len = length(field[1]) |
| 27842 | for (i = 2; i < nfields; i++) { |
| 27843 | key = field[i] |
| 27844 | keylen = length(key) |
| 27845 | if (S_is_set[key]) { |
| 27846 | value = S[key] |
| 27847 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 27848 | len += length(value) + length(field[++i]) |
| 27849 | substed = 1 |
| 27850 | } else |
| 27851 | len += 1 + keylen |
| 27852 | } |
| 27853 | |
| 27854 | print line |
| 27855 | } |
| 27856 | |
| 27857 | _ACAWK |
| 27858 | _ACEOF |
| 27859 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27860 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 27861 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 27862 | else |
| 27863 | cat |
| 27864 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 27865 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 27866 | _ACEOF |
| 27867 | |
| 27868 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 27869 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 27870 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 27871 | # (actually we leave an empty line to preserve line numbers). |
| 27872 | if test "x$srcdir" = x.; then |
| 27873 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 27874 | h |
| 27875 | s/// |
| 27876 | s/^/:/ |
| 27877 | s/[ ]*$/:/ |
| 27878 | s/:\$(srcdir):/:/g |
| 27879 | s/:\${srcdir}:/:/g |
| 27880 | s/:@srcdir@:/:/g |
| 27881 | s/^:*// |
| 27882 | s/:*$// |
| 27883 | x |
| 27884 | s/\(=[ ]*\).*/\1/ |
| 27885 | G |
| 27886 | s/\n// |
| 27887 | s/^[^=]*=[ ]*$// |
| 27888 | }' |
| 27889 | fi |
| 27890 | |
| 27891 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27892 | fi # test -n "$CONFIG_FILES" |
| 27893 | |
| 27894 | |
| 27895 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
| 27896 | shift |
| 27897 | for ac_tag |
| 27898 | do |
| 27899 | case $ac_tag in |
| 27900 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 27901 | esac |
| 27902 | case $ac_mode$ac_tag in |
| 27903 | :[FHL]*:*);; |
| 27904 | :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; |
| 27905 | :[FH]-) ac_tag=-:-;; |
| 27906 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 27907 | esac |
| 27908 | ac_save_IFS=$IFS |
| 27909 | IFS=: |
| 27910 | set x $ac_tag |
| 27911 | IFS=$ac_save_IFS |
| 27912 | shift |
| 27913 | ac_file=$1 |
| 27914 | shift |
| 27915 | |
| 27916 | case $ac_mode in |
| 27917 | :L) ac_source=$1;; |
| 27918 | :[FH]) |
| 27919 | ac_file_inputs= |
| 27920 | for ac_f |
| 27921 | do |
| 27922 | case $ac_f in |
| 27923 | -) ac_f="$ac_tmp/stdin";; |
| 27924 | *) # Look for the file first in the build tree, then in the source tree |
| 27925 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 27926 | # because $ac_f cannot contain ':'. |
| 27927 | test -f "$ac_f" || |
| 27928 | case $ac_f in |
| 27929 | [\\/$]*) false;; |
| 27930 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 27931 | esac || |
| 27932 | as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; |
| 27933 | esac |
| 27934 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 27935 | as_fn_append ac_file_inputs " '$ac_f'" |
| 27936 | done |
| 27937 | |
| 27938 | # Let's still pretend it is 'configure' which instantiates (i.e., don't |
| 27939 | # use $as_me), people would be surprised to read: |
| 27940 | # /* config.h. Generated by config.status. */ |
| 27941 | configure_input='Generated from '` |
| 27942 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 27943 | `' by configure.' |
| 27944 | if test x"$ac_file" != x-; then |
| 27945 | configure_input="$ac_file. $configure_input" |
| 27946 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 27947 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 27948 | fi |
| 27949 | # Neutralize special characters interpreted by sed in replacement strings. |
| 27950 | case $configure_input in #( |
| 27951 | *\&* | *\|* | *\\* ) |
| 27952 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 27953 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 27954 | *) ac_sed_conf_input=$configure_input;; |
| 27955 | esac |
| 27956 | |
| 27957 | case $ac_tag in |
| 27958 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 27959 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 27960 | esac |
| 27961 | ;; |
| 27962 | esac |
| 27963 | |
| 27964 | ac_dir=`$as_dirname -- "$ac_file" || |
| 27965 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 27966 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 27967 | X"$ac_file" : 'X\(//\)$' \| \ |
| 27968 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 27969 | printf "%s\n" X"$ac_file" | |
| 27970 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 27971 | s//\1/ |
| 27972 | q |
| 27973 | } |
| 27974 | /^X\(\/\/\)[^/].*/{ |
| 27975 | s//\1/ |
| 27976 | q |
| 27977 | } |
| 27978 | /^X\(\/\/\)$/{ |
| 27979 | s//\1/ |
| 27980 | q |
| 27981 | } |
| 27982 | /^X\(\/\).*/{ |
| 27983 | s//\1/ |
| 27984 | q |
| 27985 | } |
| 27986 | s/.*/./; q'` |
| 27987 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 27988 | ac_builddir=. |
| 27989 | |
| 27990 | case "$ac_dir" in |
| 27991 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 27992 | *) |
| 27993 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 27994 | # A ".." for each directory in $ac_dir_suffix. |
| 27995 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 27996 | case $ac_top_builddir_sub in |
| 27997 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 27998 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 27999 | esac ;; |
| 28000 | esac |
| 28001 | ac_abs_top_builddir=$ac_pwd |
| 28002 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 28003 | # for backward compatibility: |
| 28004 | ac_top_builddir=$ac_top_build_prefix |
| 28005 | |
| 28006 | case $srcdir in |
| 28007 | .) # We are building in place. |
| 28008 | ac_srcdir=. |
| 28009 | ac_top_srcdir=$ac_top_builddir_sub |
| 28010 | ac_abs_top_srcdir=$ac_pwd ;; |
| 28011 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 28012 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 28013 | ac_top_srcdir=$srcdir |
| 28014 | ac_abs_top_srcdir=$srcdir ;; |
| 28015 | *) # Relative name. |
| 28016 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 28017 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 28018 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 28019 | esac |
| 28020 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 28021 | |
| 28022 | |
| 28023 | case $ac_mode in |
| 28024 | :F) |
| 28025 | # |
| 28026 | # CONFIG_FILE |
| 28027 | # |
| 28028 | |
| 28029 | case $INSTALL in |
| 28030 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 28031 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 28032 | esac |
| 28033 | ac_MKDIR_P=$MKDIR_P |
| 28034 | case $MKDIR_P in |
| 28035 | [\\/$]* | ?:[\\/]* ) ;; |
| 28036 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 28037 | esac |
| 28038 | _ACEOF |
| 28039 | |
| 28040 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 28041 | # If the template does not know about datarootdir, expand it. |
| 28042 | # FIXME: This hack should be removed a few years after 2.60. |
| 28043 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 28044 | ac_sed_dataroot=' |
| 28045 | /datarootdir/ { |
| 28046 | p |
| 28047 | q |
| 28048 | } |
| 28049 | /@datadir@/p |
| 28050 | /@docdir@/p |
| 28051 | /@infodir@/p |
| 28052 | /@localedir@/p |
| 28053 | /@mandir@/p' |
| 28054 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 28055 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 28056 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 28057 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 28058 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 28059 | _ACEOF |
| 28060 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 28061 | ac_datarootdir_hack=' |
| 28062 | s&@datadir@&$datadir&g |
| 28063 | s&@docdir@&$docdir&g |
| 28064 | s&@infodir@&$infodir&g |
| 28065 | s&@localedir@&$localedir&g |
| 28066 | s&@mandir@&$mandir&g |
| 28067 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 28068 | esac |
| 28069 | _ACEOF |
| 28070 | |
| 28071 | # Neutralize VPATH when '$srcdir' = '.'. |
| 28072 | # Shell code in configure.ac might set extrasub. |
| 28073 | # FIXME: do we really want to maintain this feature? |
| 28074 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 28075 | ac_sed_extra="$ac_vpsub |
| 28076 | $extrasub |
| 28077 | _ACEOF |
| 28078 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 28079 | :t |
| 28080 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 28081 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 28082 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 28083 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 28084 | s&@srcdir@&$ac_srcdir&;t t |
| 28085 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 28086 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 28087 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 28088 | s&@builddir@&$ac_builddir&;t t |
| 28089 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 28090 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 28091 | s&@INSTALL@&$ac_INSTALL&;t t |
| 28092 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 28093 | $ac_datarootdir_hack |
| 28094 | " |
| 28095 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 28096 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 28097 | |
| 28098 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 28099 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 28100 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 28101 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 28102 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 28103 | which seems to be undefined. Please make sure it is defined" >&5 |
| 28104 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 28105 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 28106 | |
| 28107 | rm -f "$ac_tmp/stdin" |
| 28108 | case $ac_file in |
| 28109 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 28110 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 28111 | esac \ |
| 28112 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 28113 | ;; |
| 28114 | |
| 28115 | |
| 28116 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 28117 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 28118 | ;; |
| 28119 | esac |
| 28120 | |
| 28121 | |
| 28122 | case $ac_file$ac_mode in |
| 28123 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 28124 | # Older Autoconf quotes --file arguments for eval, but not when files |
| 28125 | # are listed without --file. Let's play safe and only enable the eval |
| 28126 | # if we detect the quoting. |
| 28127 | # TODO: see whether this extra hack can be removed once we start |
| 28128 | # requiring Autoconf 2.70 or later. |
| 28129 | case $CONFIG_FILES in #( |
| 28130 | *\'*) : |
| 28131 | eval set x "$CONFIG_FILES" ;; #( |
| 28132 | *) : |
| 28133 | set x $CONFIG_FILES ;; #( |
| 28134 | *) : |
| 28135 | ;; |
| 28136 | esac |
| 28137 | shift |
| 28138 | # Used to flag and report bootstrapping failures. |
| 28139 | am_rc=0 |
| 28140 | for am_mf |
| 28141 | do |
| 28142 | # Strip MF so we end up with the name of the file. |
| 28143 | am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 28144 | # Check whether this is an Automake generated Makefile which includes |
| 28145 | # dependency-tracking related rules and includes. |
| 28146 | # Grep'ing the whole file directly is not great: AIX grep has a line |
| 28147 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 28148 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 28149 | || continue |
| 28150 | am_dirpart=`$as_dirname -- "$am_mf" || |
| 28151 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 28152 | X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 28153 | X"$am_mf" : 'X\(//\)$' \| \ |
| 28154 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 28155 | printf "%s\n" X"$am_mf" | |
| 28156 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 28157 | s//\1/ |
| 28158 | q |
| 28159 | } |
| 28160 | /^X\(\/\/\)[^/].*/{ |
| 28161 | s//\1/ |
| 28162 | q |
| 28163 | } |
| 28164 | /^X\(\/\/\)$/{ |
| 28165 | s//\1/ |
| 28166 | q |
| 28167 | } |
| 28168 | /^X\(\/\).*/{ |
| 28169 | s//\1/ |
| 28170 | q |
| 28171 | } |
| 28172 | s/.*/./; q'` |
| 28173 | am_filepart=`$as_basename -- "$am_mf" || |
| 28174 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 28175 | X"$am_mf" : 'X\(//\)$' \| \ |
| 28176 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 28177 | printf "%s\n" X/"$am_mf" | |
| 28178 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 28179 | s//\1/ |
| 28180 | q |
| 28181 | } |
| 28182 | /^X\/\(\/\/\)$/{ |
| 28183 | s//\1/ |
| 28184 | q |
| 28185 | } |
| 28186 | /^X\/\(\/\).*/{ |
| 28187 | s//\1/ |
| 28188 | q |
| 28189 | } |
| 28190 | s/.*/./; q'` |
| 28191 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 28192 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 28193 | | $MAKE -f - am--depfiles" >&5 |
| 28194 | (cd "$am_dirpart" \ |
| 28195 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 28196 | | $MAKE -f - am--depfiles) >&5 2>&5 |
| 28197 | ac_status=$? |
| 28198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 28199 | (exit $ac_status); } || am_rc=$? |
| 28200 | done |
| 28201 | if test $am_rc -ne 0; then |
| 28202 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 28203 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 28204 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 28205 | for automatic dependency tracking. If GNU make was not used, consider |
| 28206 | re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 28207 | necessary). You can also try re-running configure with the |
| 28208 | '--disable-dependency-tracking' option to at least be able to build |
| 28209 | the package (albeit without support for automatic dependency tracking). |
| 28210 | See 'config.log' for more details" "$LINENO" 5; } |
| 28211 | fi |
| 28212 | { am_dirpart=; unset am_dirpart;} |
| 28213 | { am_filepart=; unset am_filepart;} |
| 28214 | { am_mf=; unset am_mf;} |
| 28215 | { am_rc=; unset am_rc;} |
| 28216 | rm -f conftest-deps.mk |
| 28217 | } |
| 28218 | ;; |
| 28219 | "libtool":C) |
| 28220 | |
| 28221 | # See if we are running on zsh, and set the options that allow our |
| 28222 | # commands through without removal of \ escapes. |
| 28223 | if test -n "${ZSH_VERSION+set}"; then |
| 28224 | setopt NO_GLOB_SUBST |
| 28225 | fi |
| 28226 | |
| 28227 | cfgfile=${ofile}T |
| 28228 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 28229 | $RM "$cfgfile" |
| 28230 | |
| 28231 | cat <<_LT_EOF >> "$cfgfile" |
| 28232 | #! $SHELL |
| 28233 | # Generated automatically by $as_me ($PACKAGE) $VERSION |
| 28234 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 28235 | |
| 28236 | # Provide generalized library-building support services. |
| 28237 | # Written by Gordon Matzigkeit, 1996 |
| 28238 | |
| 28239 | # Copyright (C) 2024 Free Software Foundation, Inc. |
| 28240 | # This is free software; see the source for copying conditions. There is NO |
| 28241 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 28242 | |
| 28243 | # GNU Libtool is free software; you can redistribute it and/or modify |
| 28244 | # it under the terms of the GNU General Public License as published by |
| 28245 | # the Free Software Foundation; either version 2 of the License, or |
| 28246 | # (at your option) any later version. |
| 28247 | # |
| 28248 | # As a special exception to the GNU General Public License, if you |
| 28249 | # distribute this file as part of a program or library that is built |
| 28250 | # using GNU Libtool, you may include this file under the same |
| 28251 | # distribution terms that you use for the rest of that program. |
| 28252 | # |
| 28253 | # GNU Libtool is distributed in the hope that it will be useful, but |
| 28254 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 28255 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 28256 | # GNU General Public License for more details. |
| 28257 | # |
| 28258 | # You should have received a copy of the GNU General Public License |
| 28259 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 28260 | |
| 28261 | |
| 28262 | # The names of the tagged configurations supported by this script. |
| 28263 | available_tags='CXX ' |
| 28264 | |
| 28265 | # Configured defaults for sys_lib_dlsearch_path munging. |
| 28266 | : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 28267 | |
| 28268 | # ### BEGIN LIBTOOL CONFIG |
| 28269 | |
| 28270 | # Which release of libtool.m4 was used? |
| 28271 | macro_version=$macro_version |
| 28272 | macro_revision=$macro_revision |
| 28273 | |
| 28274 | # Assembler program. |
| 28275 | AS=$lt_AS |
| 28276 | |
| 28277 | # DLL creation program. |
| 28278 | DLLTOOL=$lt_DLLTOOL |
| 28279 | |
| 28280 | # Object dumper program. |
| 28281 | OBJDUMP=$lt_OBJDUMP |
| 28282 | |
| 28283 | # Whether or not to build shared libraries. |
| 28284 | build_libtool_libs=$enable_shared |
| 28285 | |
| 28286 | # Whether or not to build static libraries. |
| 28287 | build_old_libs=$enable_static |
| 28288 | |
| 28289 | # What type of objects to build. |
| 28290 | pic_mode=$pic_mode |
| 28291 | |
| 28292 | # Whether or not to optimize for fast installation. |
| 28293 | fast_install=$enable_fast_install |
| 28294 | |
| 28295 | # Shared archive member basename,for filename based shared library versioning on AIX. |
| 28296 | shared_archive_member_spec=$shared_archive_member_spec |
| 28297 | |
| 28298 | # Shell to use when invoking shell scripts. |
| 28299 | SHELL=$lt_SHELL |
| 28300 | |
| 28301 | # An echo program that protects backslashes. |
| 28302 | ECHO=$lt_ECHO |
| 28303 | |
| 28304 | # The PATH separator for the build system. |
| 28305 | PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 28306 | |
| 28307 | # The host system. |
| 28308 | host_alias=$host_alias |
| 28309 | host=$host |
| 28310 | host_os=$host_os |
| 28311 | |
| 28312 | # The build system. |
| 28313 | build_alias=$build_alias |
| 28314 | build=$build |
| 28315 | build_os=$build_os |
| 28316 | |
| 28317 | # A sed program that does not truncate output. |
| 28318 | SED=$lt_SED |
| 28319 | |
| 28320 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 28321 | Xsed="\$SED -e 1s/^X//" |
| 28322 | |
| 28323 | # A grep program that handles long lines. |
| 28324 | GREP=$lt_GREP |
| 28325 | |
| 28326 | # An ERE matcher. |
| 28327 | EGREP=$lt_EGREP |
| 28328 | |
| 28329 | # A literal string matcher. |
| 28330 | FGREP=$lt_FGREP |
| 28331 | |
| 28332 | # A BSD- or MS-compatible name lister. |
| 28333 | NM=$lt_NM |
| 28334 | |
| 28335 | # Whether we need soft or hard links. |
| 28336 | LN_S=$lt_LN_S |
| 28337 | |
| 28338 | # What is the maximum length of a command? |
| 28339 | max_cmd_len=$max_cmd_len |
| 28340 | |
| 28341 | # Object file suffix (normally "o"). |
| 28342 | objext=$ac_objext |
| 28343 | |
| 28344 | # Executable file suffix (normally ""). |
| 28345 | exeext=$exeext |
| 28346 | |
| 28347 | # whether the shell understands "unset". |
| 28348 | lt_unset=$lt_unset |
| 28349 | |
| 28350 | # turn spaces into newlines. |
| 28351 | SP2NL=$lt_lt_SP2NL |
| 28352 | |
| 28353 | # turn newlines into spaces. |
| 28354 | NL2SP=$lt_lt_NL2SP |
| 28355 | |
| 28356 | # convert \$build file names to \$host format. |
| 28357 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 28358 | |
| 28359 | # convert \$build files to toolchain format. |
| 28360 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 28361 | |
| 28362 | # A file(cmd) program that detects file types. |
| 28363 | FILECMD=$lt_FILECMD |
| 28364 | |
| 28365 | # Method to check whether dependent libraries are shared objects. |
| 28366 | deplibs_check_method=$lt_deplibs_check_method |
| 28367 | |
| 28368 | # Command to use when deplibs_check_method = "file_magic". |
| 28369 | file_magic_cmd=$lt_file_magic_cmd |
| 28370 | |
| 28371 | # How to find potential files when deplibs_check_method = "file_magic". |
| 28372 | file_magic_glob=$lt_file_magic_glob |
| 28373 | |
| 28374 | # Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 28375 | want_nocaseglob=$lt_want_nocaseglob |
| 28376 | |
| 28377 | # Command to associate shared and link libraries. |
| 28378 | sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 28379 | |
| 28380 | # The archiver. |
| 28381 | AR=$lt_AR |
| 28382 | |
| 28383 | # Flags to create an archive (by configure). |
| 28384 | lt_ar_flags=$lt_ar_flags |
| 28385 | |
| 28386 | # Flags to create an archive. |
| 28387 | AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 28388 | |
| 28389 | # How to feed a file listing to the archiver. |
| 28390 | archiver_list_spec=$lt_archiver_list_spec |
| 28391 | |
| 28392 | # A symbol stripping program. |
| 28393 | STRIP=$lt_STRIP |
| 28394 | |
| 28395 | # Commands used to install an old-style archive. |
| 28396 | RANLIB=$lt_RANLIB |
| 28397 | old_postinstall_cmds=$lt_old_postinstall_cmds |
| 28398 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 28399 | |
| 28400 | # Whether to use a lock for old archive extraction. |
| 28401 | lock_old_archive_extraction=$lock_old_archive_extraction |
| 28402 | |
| 28403 | # A C compiler. |
| 28404 | LTCC=$lt_CC |
| 28405 | |
| 28406 | # LTCC compiler flags. |
| 28407 | LTCFLAGS=$lt_CFLAGS |
| 28408 | |
| 28409 | # Take the output of nm and produce a listing of raw symbols and C names. |
| 28410 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 28411 | |
| 28412 | # Transform the output of nm in a proper C declaration. |
| 28413 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 28414 | |
| 28415 | # Transform the output of nm into a list of symbols to manually relocate. |
| 28416 | global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
| 28417 | |
| 28418 | # Transform the output of nm in a C name address pair. |
| 28419 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 28420 | |
| 28421 | # Transform the output of nm in a C name address pair when lib prefix is needed. |
| 28422 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 28423 | |
| 28424 | # The name lister interface. |
| 28425 | nm_interface=$lt_lt_cv_nm_interface |
| 28426 | |
| 28427 | # Specify filename containing input files for \$NM. |
| 28428 | nm_file_list_spec=$lt_nm_file_list_spec |
| 28429 | |
| 28430 | # The root where to search for dependent libraries,and where our libraries should be installed. |
| 28431 | lt_sysroot=$lt_sysroot |
| 28432 | |
| 28433 | # Command to truncate a binary pipe. |
| 28434 | lt_truncate_bin=$lt_lt_cv_truncate_bin |
| 28435 | |
| 28436 | # The name of the directory that contains temporary libtool files. |
| 28437 | objdir=$objdir |
| 28438 | |
| 28439 | # Used to examine libraries when file_magic_cmd begins with "file". |
| 28440 | MAGIC_CMD=$MAGIC_CMD |
| 28441 | |
| 28442 | # Must we lock files when doing compilation? |
| 28443 | need_locks=$lt_need_locks |
| 28444 | |
| 28445 | # Manifest tool. |
| 28446 | MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 28447 | |
| 28448 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 28449 | DSYMUTIL=$lt_DSYMUTIL |
| 28450 | |
| 28451 | # Tool to change global to local symbols on Mac OS X. |
| 28452 | NMEDIT=$lt_NMEDIT |
| 28453 | |
| 28454 | # Tool to manipulate fat objects and archives on Mac OS X. |
| 28455 | LIPO=$lt_LIPO |
| 28456 | |
| 28457 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. |
| 28458 | OTOOL=$lt_OTOOL |
| 28459 | |
| 28460 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
| 28461 | OTOOL64=$lt_OTOOL64 |
| 28462 | |
| 28463 | # Old archive suffix (normally "a"). |
| 28464 | libext=$libext |
| 28465 | |
| 28466 | # Shared library suffix (normally ".so"). |
| 28467 | shrext_cmds=$lt_shrext_cmds |
| 28468 | |
| 28469 | # The commands to extract the exported symbol list from a shared archive. |
| 28470 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
| 28471 | |
| 28472 | # Variables whose values should be saved in libtool wrapper scripts and |
| 28473 | # restored at link time. |
| 28474 | variables_saved_for_relink=$lt_variables_saved_for_relink |
| 28475 | |
| 28476 | # Do we need the "lib" prefix for modules? |
| 28477 | need_lib_prefix=$need_lib_prefix |
| 28478 | |
| 28479 | # Do we need a version for libraries? |
| 28480 | need_version=$need_version |
| 28481 | |
| 28482 | # Library versioning type. |
| 28483 | version_type=$version_type |
| 28484 | |
| 28485 | # Shared library runtime path variable. |
| 28486 | runpath_var=$runpath_var |
| 28487 | |
| 28488 | # Shared library path variable. |
| 28489 | shlibpath_var=$shlibpath_var |
| 28490 | |
| 28491 | # Is shlibpath searched before the hard-coded library search path? |
| 28492 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
| 28493 | |
| 28494 | # Format of library name prefix. |
| 28495 | libname_spec=$lt_libname_spec |
| 28496 | |
| 28497 | # List of archive names. First name is the real one, the rest are links. |
| 28498 | # The last name is the one that the linker finds with -lNAME |
| 28499 | library_names_spec=$lt_library_names_spec |
| 28500 | |
| 28501 | # The coded name of the library, if different from the real name. |
| 28502 | soname_spec=$lt_soname_spec |
| 28503 | |
| 28504 | # Permission mode override for installation of shared libraries. |
| 28505 | install_override_mode=$lt_install_override_mode |
| 28506 | |
| 28507 | # Command to use after installation of a shared archive. |
| 28508 | postinstall_cmds=$lt_postinstall_cmds |
| 28509 | |
| 28510 | # Command to use after uninstallation of a shared archive. |
| 28511 | postuninstall_cmds=$lt_postuninstall_cmds |
| 28512 | |
| 28513 | # Commands used to finish a libtool library installation in a directory. |
| 28514 | finish_cmds=$lt_finish_cmds |
| 28515 | |
| 28516 | # As "finish_cmds", except a single script fragment to be evaled but |
| 28517 | # not shown. |
| 28518 | finish_eval=$lt_finish_eval |
| 28519 | |
| 28520 | # Whether we should hardcode library paths into libraries. |
| 28521 | hardcode_into_libs=$hardcode_into_libs |
| 28522 | |
| 28523 | # Compile-time system search path for libraries. |
| 28524 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 28525 | |
| 28526 | # Detected run-time system search path for libraries. |
| 28527 | sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 28528 | |
| 28529 | # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 28530 | configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 28531 | |
| 28532 | # Whether dlopen is supported. |
| 28533 | dlopen_support=$enable_dlopen |
| 28534 | |
| 28535 | # Whether dlopen of programs is supported. |
| 28536 | dlopen_self=$enable_dlopen_self |
| 28537 | |
| 28538 | # Whether dlopen of statically linked programs is supported. |
| 28539 | dlopen_self_static=$enable_dlopen_self_static |
| 28540 | |
| 28541 | # Commands to strip libraries. |
| 28542 | old_striplib=$lt_old_striplib |
| 28543 | striplib=$lt_striplib |
| 28544 | |
| 28545 | |
| 28546 | # The linker used to build libraries. |
| 28547 | LD=$lt_LD |
| 28548 | |
| 28549 | # How to create reloadable object files. |
| 28550 | reload_flag=$lt_reload_flag |
| 28551 | reload_cmds=$lt_reload_cmds |
| 28552 | |
| 28553 | # Commands used to build an old-style archive. |
| 28554 | old_archive_cmds=$lt_old_archive_cmds |
| 28555 | |
| 28556 | # A language specific compiler. |
| 28557 | CC=$lt_compiler |
| 28558 | |
| 28559 | # Is the compiler the GNU compiler? |
| 28560 | with_gcc=$GCC |
| 28561 | |
| 28562 | # Compiler flag to turn off builtin functions. |
| 28563 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 28564 | |
| 28565 | # Additional compiler flags for building library objects. |
| 28566 | pic_flag=$lt_lt_prog_compiler_pic |
| 28567 | |
| 28568 | # How to pass a linker flag through the compiler. |
| 28569 | wl=$lt_lt_prog_compiler_wl |
| 28570 | |
| 28571 | # Compiler flag to prevent dynamic linking. |
| 28572 | link_static_flag=$lt_lt_prog_compiler_static |
| 28573 | |
| 28574 | # Does compiler simultaneously support -c and -o options? |
| 28575 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
| 28576 | |
| 28577 | # Whether or not to add -lc for building shared libraries. |
| 28578 | build_libtool_need_lc=$archive_cmds_need_lc |
| 28579 | |
| 28580 | # Whether or not to disallow shared libs when runtime libs are static. |
| 28581 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
| 28582 | |
| 28583 | # Compiler flag to allow reflexive dlopens. |
| 28584 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
| 28585 | |
| 28586 | # Compiler flag to generate shared objects directly from archives. |
| 28587 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
| 28588 | |
| 28589 | # Whether the compiler copes with passing no objects directly. |
| 28590 | compiler_needs_object=$lt_compiler_needs_object |
| 28591 | |
| 28592 | # Create an old-style archive from a shared archive. |
| 28593 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
| 28594 | |
| 28595 | # Create a temporary old-style archive to link instead of a shared archive. |
| 28596 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
| 28597 | |
| 28598 | # Commands used to build a shared archive. |
| 28599 | archive_cmds=$lt_archive_cmds |
| 28600 | archive_expsym_cmds=$lt_archive_expsym_cmds |
| 28601 | |
| 28602 | # Commands used to build a loadable module if different from building |
| 28603 | # a shared archive. |
| 28604 | module_cmds=$lt_module_cmds |
| 28605 | module_expsym_cmds=$lt_module_expsym_cmds |
| 28606 | |
| 28607 | # Whether we are building with GNU ld or not. |
| 28608 | with_gnu_ld=$lt_with_gnu_ld |
| 28609 | |
| 28610 | # Flag that allows shared libraries with undefined symbols to be built. |
| 28611 | allow_undefined_flag=$lt_allow_undefined_flag |
| 28612 | |
| 28613 | # Flag that enforces no undefined symbols. |
| 28614 | no_undefined_flag=$lt_no_undefined_flag |
| 28615 | |
| 28616 | # Flag to hardcode \$libdir into a binary during linking. |
| 28617 | # This must work even if \$libdir does not exist |
| 28618 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 28619 | |
| 28620 | # Whether we need a single "-rpath" flag with a separated argument. |
| 28621 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 28622 | |
| 28623 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28624 | # DIR into the resulting binary. |
| 28625 | hardcode_direct=$hardcode_direct |
| 28626 | |
| 28627 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28628 | # DIR into the resulting binary and the resulting library dependency is |
| 28629 | # "absolute",i.e. impossible to change by setting \$shlibpath_var if the |
| 28630 | # library is relocated. |
| 28631 | hardcode_direct_absolute=$hardcode_direct_absolute |
| 28632 | |
| 28633 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 28634 | # into the resulting binary. |
| 28635 | hardcode_minus_L=$hardcode_minus_L |
| 28636 | |
| 28637 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 28638 | # into the resulting binary. |
| 28639 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
| 28640 | |
| 28641 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 28642 | # into the library and all subsequent libraries and executables linked |
| 28643 | # against it. |
| 28644 | hardcode_automatic=$hardcode_automatic |
| 28645 | |
| 28646 | # Set to yes if linker adds runtime paths of dependent libraries |
| 28647 | # to runtime path list. |
| 28648 | inherit_rpath=$inherit_rpath |
| 28649 | |
| 28650 | # Whether libtool must link a program against all its dependency libraries. |
| 28651 | link_all_deplibs=$link_all_deplibs |
| 28652 | |
| 28653 | # Set to "yes" if exported symbols are required. |
| 28654 | always_export_symbols=$always_export_symbols |
| 28655 | |
| 28656 | # The commands to list exported symbols. |
| 28657 | export_symbols_cmds=$lt_export_symbols_cmds |
| 28658 | |
| 28659 | # Symbols that should not be listed in the preloaded symbols. |
| 28660 | exclude_expsyms=$lt_exclude_expsyms |
| 28661 | |
| 28662 | # Symbols that must always be exported. |
| 28663 | include_expsyms=$lt_include_expsyms |
| 28664 | |
| 28665 | # Commands necessary for linking programs (against libraries) with templates. |
| 28666 | prelink_cmds=$lt_prelink_cmds |
| 28667 | |
| 28668 | # Commands necessary for finishing linking programs. |
| 28669 | postlink_cmds=$lt_postlink_cmds |
| 28670 | |
| 28671 | # Specify filename containing input files. |
| 28672 | file_list_spec=$lt_file_list_spec |
| 28673 | |
| 28674 | # How to hardcode a shared library path into an executable. |
| 28675 | hardcode_action=$hardcode_action |
| 28676 | |
| 28677 | # The directories searched by this compiler when creating a shared library. |
| 28678 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
| 28679 | |
| 28680 | # Dependencies to place before and after the objects being linked to |
| 28681 | # create a shared library. |
| 28682 | predep_objects=$lt_predep_objects |
| 28683 | postdep_objects=$lt_postdep_objects |
| 28684 | predeps=$lt_predeps |
| 28685 | postdeps=$lt_postdeps |
| 28686 | |
| 28687 | # The library search path used internally by the compiler when linking |
| 28688 | # a shared library. |
| 28689 | compiler_lib_search_path=$lt_compiler_lib_search_path |
| 28690 | |
| 28691 | # ### END LIBTOOL CONFIG |
| 28692 | |
| 28693 | _LT_EOF |
| 28694 | |
| 28695 | cat <<'_LT_EOF' >> "$cfgfile" |
| 28696 | |
| 28697 | # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 28698 | |
| 28699 | # func_munge_path_list VARIABLE PATH |
| 28700 | # ----------------------------------- |
| 28701 | # VARIABLE is name of variable containing _space_ separated list of |
| 28702 | # directories to be munged by the contents of PATH, which is string |
| 28703 | # having a format: |
| 28704 | # "DIR[:DIR]:" |
| 28705 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 28706 | # ":DIR[:DIR]" |
| 28707 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 28708 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 28709 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 28710 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 28711 | # "DIR[:DIR]" |
| 28712 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 28713 | func_munge_path_list () |
| 28714 | { |
| 28715 | case x$2 in |
| 28716 | x) |
| 28717 | ;; |
| 28718 | *:) |
| 28719 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 28720 | ;; |
| 28721 | x:*) |
| 28722 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 28723 | ;; |
| 28724 | *::*) |
| 28725 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 28726 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 28727 | ;; |
| 28728 | *) |
| 28729 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 28730 | ;; |
| 28731 | esac |
| 28732 | } |
| 28733 | |
| 28734 | |
| 28735 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 28736 | func_cc_basename () |
| 28737 | { |
| 28738 | for cc_temp in $*""; do |
| 28739 | case $cc_temp in |
| 28740 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 28741 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 28742 | \-*) ;; |
| 28743 | *) break;; |
| 28744 | esac |
| 28745 | done |
| 28746 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 28747 | } |
| 28748 | |
| 28749 | |
| 28750 | # ### END FUNCTIONS SHARED WITH CONFIGURE |
| 28751 | |
| 28752 | _LT_EOF |
| 28753 | |
| 28754 | case $host_os in |
| 28755 | aix3*) |
| 28756 | cat <<\_LT_EOF >> "$cfgfile" |
| 28757 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 28758 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 28759 | # vanish in a puff of smoke. |
| 28760 | if test set != "${COLLECT_NAMES+set}"; then |
| 28761 | COLLECT_NAMES= |
| 28762 | export COLLECT_NAMES |
| 28763 | fi |
| 28764 | _LT_EOF |
| 28765 | ;; |
| 28766 | esac |
| 28767 | |
| 28768 | |
| 28769 | |
| 28770 | ltmain=$ac_aux_dir/ltmain.sh |
| 28771 | |
| 28772 | |
| 28773 | # We use sed instead of cat because bash on DJGPP gets confused if |
| 28774 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 28775 | # text mode, it properly converts lines to CR/LF. This bash problem |
| 28776 | # is reportedly fixed, but why not run on old versions too? |
| 28777 | $SED '$q' "$ltmain" >> "$cfgfile" \ |
| 28778 | || (rm -f "$cfgfile"; exit 1) |
| 28779 | |
| 28780 | mv -f "$cfgfile" "$ofile" || |
| 28781 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 28782 | chmod +x "$ofile" |
| 28783 | |
| 28784 | |
| 28785 | cat <<_LT_EOF >> "$ofile" |
| 28786 | |
| 28787 | # ### BEGIN LIBTOOL TAG CONFIG: CXX |
| 28788 | |
| 28789 | # The linker used to build libraries. |
| 28790 | LD=$lt_LD_CXX |
| 28791 | |
| 28792 | # How to create reloadable object files. |
| 28793 | reload_flag=$lt_reload_flag_CXX |
| 28794 | reload_cmds=$lt_reload_cmds_CXX |
| 28795 | |
| 28796 | # Commands used to build an old-style archive. |
| 28797 | old_archive_cmds=$lt_old_archive_cmds_CXX |
| 28798 | |
| 28799 | # A language specific compiler. |
| 28800 | CC=$lt_compiler_CXX |
| 28801 | |
| 28802 | # Is the compiler the GNU compiler? |
| 28803 | with_gcc=$GCC_CXX |
| 28804 | |
| 28805 | # Compiler flag to turn off builtin functions. |
| 28806 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
| 28807 | |
| 28808 | # Additional compiler flags for building library objects. |
| 28809 | pic_flag=$lt_lt_prog_compiler_pic_CXX |
| 28810 | |
| 28811 | # How to pass a linker flag through the compiler. |
| 28812 | wl=$lt_lt_prog_compiler_wl_CXX |
| 28813 | |
| 28814 | # Compiler flag to prevent dynamic linking. |
| 28815 | link_static_flag=$lt_lt_prog_compiler_static_CXX |
| 28816 | |
| 28817 | # Does compiler simultaneously support -c and -o options? |
| 28818 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
| 28819 | |
| 28820 | # Whether or not to add -lc for building shared libraries. |
| 28821 | build_libtool_need_lc=$archive_cmds_need_lc_CXX |
| 28822 | |
| 28823 | # Whether or not to disallow shared libs when runtime libs are static. |
| 28824 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
| 28825 | |
| 28826 | # Compiler flag to allow reflexive dlopens. |
| 28827 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
| 28828 | |
| 28829 | # Compiler flag to generate shared objects directly from archives. |
| 28830 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
| 28831 | |
| 28832 | # Whether the compiler copes with passing no objects directly. |
| 28833 | compiler_needs_object=$lt_compiler_needs_object_CXX |
| 28834 | |
| 28835 | # Create an old-style archive from a shared archive. |
| 28836 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
| 28837 | |
| 28838 | # Create a temporary old-style archive to link instead of a shared archive. |
| 28839 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
| 28840 | |
| 28841 | # Commands used to build a shared archive. |
| 28842 | archive_cmds=$lt_archive_cmds_CXX |
| 28843 | archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
| 28844 | |
| 28845 | # Commands used to build a loadable module if different from building |
| 28846 | # a shared archive. |
| 28847 | module_cmds=$lt_module_cmds_CXX |
| 28848 | module_expsym_cmds=$lt_module_expsym_cmds_CXX |
| 28849 | |
| 28850 | # Whether we are building with GNU ld or not. |
| 28851 | with_gnu_ld=$lt_with_gnu_ld_CXX |
| 28852 | |
| 28853 | # Flag that allows shared libraries with undefined symbols to be built. |
| 28854 | allow_undefined_flag=$lt_allow_undefined_flag_CXX |
| 28855 | |
| 28856 | # Flag that enforces no undefined symbols. |
| 28857 | no_undefined_flag=$lt_no_undefined_flag_CXX |
| 28858 | |
| 28859 | # Flag to hardcode \$libdir into a binary during linking. |
| 28860 | # This must work even if \$libdir does not exist |
| 28861 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
| 28862 | |
| 28863 | # Whether we need a single "-rpath" flag with a separated argument. |
| 28864 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
| 28865 | |
| 28866 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28867 | # DIR into the resulting binary. |
| 28868 | hardcode_direct=$hardcode_direct_CXX |
| 28869 | |
| 28870 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28871 | # DIR into the resulting binary and the resulting library dependency is |
| 28872 | # "absolute",i.e. impossible to change by setting \$shlibpath_var if the |
| 28873 | # library is relocated. |
| 28874 | hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
| 28875 | |
| 28876 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 28877 | # into the resulting binary. |
| 28878 | hardcode_minus_L=$hardcode_minus_L_CXX |
| 28879 | |
| 28880 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 28881 | # into the resulting binary. |
| 28882 | hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
| 28883 | |
| 28884 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 28885 | # into the library and all subsequent libraries and executables linked |
| 28886 | # against it. |
| 28887 | hardcode_automatic=$hardcode_automatic_CXX |
| 28888 | |
| 28889 | # Set to yes if linker adds runtime paths of dependent libraries |
| 28890 | # to runtime path list. |
| 28891 | inherit_rpath=$inherit_rpath_CXX |
| 28892 | |
| 28893 | # Whether libtool must link a program against all its dependency libraries. |
| 28894 | link_all_deplibs=$link_all_deplibs_CXX |
| 28895 | |
| 28896 | # Set to "yes" if exported symbols are required. |
| 28897 | always_export_symbols=$always_export_symbols_CXX |
| 28898 | |
| 28899 | # The commands to list exported symbols. |
| 28900 | export_symbols_cmds=$lt_export_symbols_cmds_CXX |
| 28901 | |
| 28902 | # Symbols that should not be listed in the preloaded symbols. |
| 28903 | exclude_expsyms=$lt_exclude_expsyms_CXX |
| 28904 | |
| 28905 | # Symbols that must always be exported. |
| 28906 | include_expsyms=$lt_include_expsyms_CXX |
| 28907 | |
| 28908 | # Commands necessary for linking programs (against libraries) with templates. |
| 28909 | prelink_cmds=$lt_prelink_cmds_CXX |
| 28910 | |
| 28911 | # Commands necessary for finishing linking programs. |
| 28912 | postlink_cmds=$lt_postlink_cmds_CXX |
| 28913 | |
| 28914 | # Specify filename containing input files. |
| 28915 | file_list_spec=$lt_file_list_spec_CXX |
| 28916 | |
| 28917 | # How to hardcode a shared library path into an executable. |
| 28918 | hardcode_action=$hardcode_action_CXX |
| 28919 | |
| 28920 | # The directories searched by this compiler when creating a shared library. |
| 28921 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
| 28922 | |
| 28923 | # Dependencies to place before and after the objects being linked to |
| 28924 | # create a shared library. |
| 28925 | predep_objects=$lt_predep_objects_CXX |
| 28926 | postdep_objects=$lt_postdep_objects_CXX |
| 28927 | predeps=$lt_predeps_CXX |
| 28928 | postdeps=$lt_postdeps_CXX |
| 28929 | |
| 28930 | # The library search path used internally by the compiler when linking |
| 28931 | # a shared library. |
| 28932 | compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
| 28933 | |
| 28934 | # ### END LIBTOOL TAG CONFIG: CXX |
| 28935 | _LT_EOF |
| 28936 | |
| 28937 | ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs |
| 28938 | if test "x$enable_libtool_hack" = xyes; then |
| 28939 | $SED '/# Convert "-framework/i\ |
| 28940 | ## KPSE_LT_HACK: ignore dependency_libs\ |
| 28941 | test "X$installed" = Xyes && dependency_libs=\ |
| 28942 | ' "$ofile" >"$cfgfile" |
| 28943 | mv "$cfgfile" "$ofile" || |
| 28944 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 28945 | chmod +x "$ofile" |
| 28946 | fi |
| 28947 | ;; |
| 28948 | |
| 28949 | esac |
| 28950 | done # for ac_tag |
| 28951 | |
| 28952 | |
| 28953 | as_fn_exit 0 |
| 28954 | _ACEOF |
| 28955 | ac_clean_files=$ac_clean_files_save |
| 28956 | |
| 28957 | test $ac_write_fail = 0 || |
| 28958 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 28959 | |
| 28960 | |
| 28961 | # configure is writing to config.log, and then calls config.status. |
| 28962 | # config.status does its own redirection, appending to config.log. |
| 28963 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 28964 | # by configure, so config.status won't be able to write to it; its |
| 28965 | # output is simply discarded. So we exec the FD to /dev/null, |
| 28966 | # effectively closing config.log, so it can be properly (re)opened and |
| 28967 | # appended to by config.status. When coming back to configure, we |
| 28968 | # need to make the FD available again. |
| 28969 | if test "$no_create" != yes; then |
| 28970 | ac_cs_success=: |
| 28971 | ac_config_status_args= |
| 28972 | test "$silent" = yes && |
| 28973 | ac_config_status_args="$ac_config_status_args --quiet" |
| 28974 | exec 5>/dev/null |
| 28975 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 28976 | exec 5>>config.log |
| 28977 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 28978 | # would make configure fail if this is the last instruction. |
| 28979 | $ac_cs_success || as_fn_exit 1 |
| 28980 | fi |
| 28981 | |
| 28982 | # |
| 28983 | # CONFIG_SUBDIRS section. |
| 28984 | # |
| 28985 | if test "$no_recursion" != yes; then |
| 28986 | |
| 28987 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments |
| 28988 | # so they do not pile up. |
| 28989 | ac_sub_configure_args= |
| 28990 | ac_prev= |
| 28991 | eval "set x $ac_configure_args" |
| 28992 | shift |
| 28993 | for ac_arg |
| 28994 | do |
| 28995 | if test -n "$ac_prev"; then |
| 28996 | ac_prev= |
| 28997 | continue |
| 28998 | fi |
| 28999 | case $ac_arg in |
| 29000 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 29001 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 29002 | ac_prev=cache_file ;; |
| 29003 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 29004 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
| 29005 | | --c=*) |
| 29006 | ;; |
| 29007 | --config-cache | -C) |
| 29008 | ;; |
| 29009 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 29010 | ac_prev=srcdir ;; |
| 29011 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 29012 | ;; |
| 29013 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 29014 | ac_prev=prefix ;; |
| 29015 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 29016 | ;; |
| 29017 | --disable-option-checking) |
| 29018 | ;; |
| 29019 | *) |
| 29020 | case $ac_arg in |
| 29021 | *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 29022 | esac |
| 29023 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
| 29024 | esac |
| 29025 | done |
| 29026 | |
| 29027 | # Always prepend --prefix to ensure using the same prefix |
| 29028 | # in subdir configurations. |
| 29029 | ac_arg="--prefix=$prefix" |
| 29030 | case $ac_arg in |
| 29031 | *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 29032 | esac |
| 29033 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
| 29034 | |
| 29035 | # Pass --silent |
| 29036 | if test "$silent" = yes; then |
| 29037 | ac_sub_configure_args="--silent $ac_sub_configure_args" |
| 29038 | fi |
| 29039 | |
| 29040 | # Always prepend --disable-option-checking to silence warnings, since |
| 29041 | # different subdirs can have different --enable and --with options. |
| 29042 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
| 29043 | |
| 29044 | ac_popdir=`pwd` |
| 29045 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
| 29046 | |
| 29047 | # Do not complain, so a configure script can configure whichever |
| 29048 | # parts of a large source tree are present. |
| 29049 | test -d "$srcdir/$ac_dir" || continue |
| 29050 | |
| 29051 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
| 29052 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
| 29053 | printf "%s\n" "$ac_msg" >&6 |
| 29054 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 29055 | ac_builddir=. |
| 29056 | |
| 29057 | case "$ac_dir" in |
| 29058 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 29059 | *) |
| 29060 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 29061 | # A ".." for each directory in $ac_dir_suffix. |
| 29062 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 29063 | case $ac_top_builddir_sub in |
| 29064 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 29065 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 29066 | esac ;; |
| 29067 | esac |
| 29068 | ac_abs_top_builddir=$ac_pwd |
| 29069 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 29070 | # for backward compatibility: |
| 29071 | ac_top_builddir=$ac_top_build_prefix |
| 29072 | |
| 29073 | case $srcdir in |
| 29074 | .) # We are building in place. |
| 29075 | ac_srcdir=. |
| 29076 | ac_top_srcdir=$ac_top_builddir_sub |
| 29077 | ac_abs_top_srcdir=$ac_pwd ;; |
| 29078 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 29079 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 29080 | ac_top_srcdir=$srcdir |
| 29081 | ac_abs_top_srcdir=$srcdir ;; |
| 29082 | *) # Relative name. |
| 29083 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 29084 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 29085 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 29086 | esac |
| 29087 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 29088 | |
| 29089 | |
| 29090 | cd "$ac_dir" |
| 29091 | |
| 29092 | # Check for configure.gnu first; this name is used for a wrapper for |
| 29093 | # Metaconfig's "Configure" on case-insensitive file systems. |
| 29094 | if test -f "$ac_srcdir/configure.gnu"; then |
| 29095 | ac_sub_configure=$ac_srcdir/configure.gnu |
| 29096 | elif test -f "$ac_srcdir/configure"; then |
| 29097 | ac_sub_configure=$ac_srcdir/configure |
| 29098 | else |
| 29099 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
| 29100 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
| 29101 | ac_sub_configure= |
| 29102 | fi |
| 29103 | |
| 29104 | # The recursion is here. |
| 29105 | if test -n "$ac_sub_configure"; then |
| 29106 | # Make the cache file name correct relative to the subdirectory. |
| 29107 | case $cache_file in |
| 29108 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
| 29109 | *) # Relative name. |
| 29110 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
| 29111 | esac |
| 29112 | |
| 29113 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| 29114 | printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| 29115 | # The eval makes quoting arguments work. |
| 29116 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
| 29117 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
| 29118 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
| 29119 | fi |
| 29120 | |
| 29121 | cd "$ac_popdir" |
| 29122 | done |
| 29123 | fi |
| 29124 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 29125 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 29126 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 29127 | fi |
| 29128 | |
| 29129 | |
| 29130 | if test -z "$kpse_GNU_make"; then |
| 29131 | if test "x$enable_native_texlive_build" = xno; then |
| 29132 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Building TeX Live may require GNU make" >&5 |
| 29133 | printf "%s\n" "$as_me: WARNING: Building TeX Live may require GNU make" >&2;} |
| 29134 | else |
| 29135 | as_fn_error $? "Building TeX Live requires GNU make" "$LINENO" 5 |
| 29136 | fi |
| 29137 | fi |
| 29138 | |
| 29139 | if test "x$cross_compiling" = xyes |
| 29140 | then : |
| 29141 | msg_compiling="cross-compiling on $build_alias for $host_alias" |
| 29142 | else case e in #( |
| 29143 | e) msg_compiling="compiling for $kpse_build_alias" ;; |
| 29144 | esac |
| 29145 | fi |
| 29146 | kpse_bld=`pwd` |
| 29147 | kpse_src=`cd "$srcdir" && pwd` |
| 29148 | msg_compiling="$msg_compiling |
| 29149 | in $kpse_bld" |
| 29150 | test "x$srcdir" = x. || msg_compiling="$msg_compiling |
| 29151 | from sources in $kpse_src" |
| 29152 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: |
| 29153 | ** Configuration summary for $PACKAGE_STRING (2026$with_banner_add): |
| 29154 | |
| 29155 | $msg_compiling" >&5 |
| 29156 | printf "%s\n" " |
| 29157 | ** Configuration summary for $PACKAGE_STRING (2026$with_banner_add): |
| 29158 | |
| 29159 | $msg_compiling" >&6; } |
| 29160 | case $kpse_src$kpse_bld in |
| 29161 | *' '*) as_fn_error $? "Absolute source and/or build path with embedded spaces" "$LINENO" 5;; |
| 29162 | esac |
| 29163 | |
| 29164 | cc_version=`$CC --version 2>/dev/null | sed 1q` |
| 29165 | test -n "$cc_version" && cc_version=" ($cc_version)" |
| 29166 | # |
| 29167 | cxx_version=`$CXX --version 2>/dev/null | sed 1q` |
| 29168 | test -n "$cxx_version" && cxx_version=" ($cxx_version)" |
| 29169 | |
| 29170 | # use quotes for the TL values since behavior of Build script may vary |
| 29171 | # even if they contain only whitespace. |
| 29172 | # |
| 29173 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: |
| 29174 | PATH: $PATH |
| 29175 | C compiler (CC): $CC$cc_version |
| 29176 | C++ compiler (CXX): $CXX$cxx_version |
| 29177 | |
| 29178 | CFLAGS: $CFLAGS |
| 29179 | CXXFLAGS: $CXXFLAGS |
| 29180 | |
| 29181 | TL_MAKE: \"$TL_MAKE\" |
| 29182 | TL_MAKE_FLAGS: \"$TL_MAKE_FLAGS\" |
| 29183 | TL_TARGET: \"$TL_TARGET\" |
| 29184 | TL_WORKDIR: \"$TL_WORKDIR\" |
| 29185 | TL_BUILD_ENV: \"$TL_BUILD_ENV\" |
| 29186 | TL_COMPILER_GFLAGS: \"$TL_COMPILER_GFLAGS\" |
| 29187 | TL_CFLAGS: \"$TL_CFLAGS\" |
| 29188 | TL_CXXFLAGS: \"$TL_CXXFLAGS\" |
| 29189 | TL_CONF_BANNER: \"$TL_CONF_BANNER\" |
| 29190 | |
| 29191 | enable_native_texlive_build: $enable_native_texlive_build |
| 29192 | enable_largefile: $enable_largefile |
| 29193 | enable_shared: $enable_shared |
| 29194 | enable_multiplatform: $enable_multiplatform |
| 29195 | enable_cxx_runtime_hack: $enable_cxx_runtime_hack |
| 29196 | enable_libtool_hack: $enable_libtool_hack |
| 29197 | enable_compiler_warnings: $enable_compiler_warnings |
| 29198 | |
| 29199 | prefix: $prefix |
| 29200 | includedir: $includedir |
| 29201 | datarootdir: $datarootdir |
| 29202 | mandir: $mandir |
| 29203 | infodir: $infodir |
| 29204 | exec_prefix: $exec_prefix |
| 29205 | bindir: $bindir |
| 29206 | libdir: $libdir |
| 29207 | |
| 29208 | ** Next run \`make' to configure and build each library and program. |
| 29209 | " >&5 |
| 29210 | printf "%s\n" " |
| 29211 | PATH: $PATH |
| 29212 | C compiler (CC): $CC$cc_version |
| 29213 | C++ compiler (CXX): $CXX$cxx_version |
| 29214 | |
| 29215 | CFLAGS: $CFLAGS |
| 29216 | CXXFLAGS: $CXXFLAGS |
| 29217 | |
| 29218 | TL_MAKE: \"$TL_MAKE\" |
| 29219 | TL_MAKE_FLAGS: \"$TL_MAKE_FLAGS\" |
| 29220 | TL_TARGET: \"$TL_TARGET\" |
| 29221 | TL_WORKDIR: \"$TL_WORKDIR\" |
| 29222 | TL_BUILD_ENV: \"$TL_BUILD_ENV\" |
| 29223 | TL_COMPILER_GFLAGS: \"$TL_COMPILER_GFLAGS\" |
| 29224 | TL_CFLAGS: \"$TL_CFLAGS\" |
| 29225 | TL_CXXFLAGS: \"$TL_CXXFLAGS\" |
| 29226 | TL_CONF_BANNER: \"$TL_CONF_BANNER\" |
| 29227 | |
| 29228 | enable_native_texlive_build: $enable_native_texlive_build |
| 29229 | enable_largefile: $enable_largefile |
| 29230 | enable_shared: $enable_shared |
| 29231 | enable_multiplatform: $enable_multiplatform |
| 29232 | enable_cxx_runtime_hack: $enable_cxx_runtime_hack |
| 29233 | enable_libtool_hack: $enable_libtool_hack |
| 29234 | enable_compiler_warnings: $enable_compiler_warnings |
| 29235 | |
| 29236 | prefix: $prefix |
| 29237 | includedir: $includedir |
| 29238 | datarootdir: $datarootdir |
| 29239 | mandir: $mandir |
| 29240 | infodir: $infodir |
| 29241 | exec_prefix: $exec_prefix |
| 29242 | bindir: $bindir |
| 29243 | libdir: $libdir |
| 29244 | |
| 29245 | ** Next run \`make' to configure and build each library and program. |
| 29246 | " >&6; } |
| 29247 |