| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.72 for libgpiod 2.2.5. |
| 4 | # |
| 5 | # |
| 6 | # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, |
| 7 | # Inc. |
| 8 | # |
| 9 | # |
| 10 | # This configure script is free software; the Free Software Foundation |
| 11 | # gives unlimited permission to copy, distribute and modify it. |
| 12 | ## -------------------- ## |
| 13 | ## M4sh Initialization. ## |
| 14 | ## -------------------- ## |
| 15 | |
| 16 | # Be more Bourne compatible |
| 17 | DUALCASE=1; export DUALCASE # for MKS sh |
| 18 | if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 19 | then : |
| 20 | emulate sh |
| 21 | NULLCMD=: |
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 23 | # is contrary to our usage. Disable this feature. |
| 24 | alias -g '${1+"$@"}'='"$@"' |
| 25 | setopt NO_GLOB_SUBST |
| 26 | else case e in #( |
| 27 | e) case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 28 | *posix*) : |
| 29 | set -o posix ;; #( |
| 30 | *) : |
| 31 | ;; |
| 32 | esac ;; |
| 33 | esac |
| 34 | fi |
| 35 | |
| 36 | |
| 37 | |
| 38 | # Reset variables that may have inherited troublesome values from |
| 39 | # the environment. |
| 40 | |
| 41 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 42 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 43 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 44 | # Quoting is to prevent editors from complaining about space-tab. |
| 45 | as_nl=' |
| 46 | ' |
| 47 | export as_nl |
| 48 | IFS=" "" $as_nl" |
| 49 | |
| 50 | PS1='$ ' |
| 51 | PS2='> ' |
| 52 | PS4='+ ' |
| 53 | |
| 54 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 55 | LC_ALL=C |
| 56 | export LC_ALL |
| 57 | LANGUAGE=C |
| 58 | export LANGUAGE |
| 59 | |
| 60 | # We cannot yet rely on "unset" to work, but we need these variables |
| 61 | # to be unset--not just set to an empty or harmless value--now, to |
| 62 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 63 | # also avoids known problems related to "unset" and subshell syntax |
| 64 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 65 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 66 | do eval test \${$as_var+y} \ |
| 67 | && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || : |
| 68 | done |
| 69 | |
| 70 | # Ensure that fds 0, 1, and 2 are open. |
| 71 | if (exec 3>&0) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 0</dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 72 | if (exec 3>&1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 1>/dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 73 | if (exec 3>&2) ; then :; else exec 2>/dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 74 | |
| 75 | # The user is always right. |
| 76 | if ${PATH_SEPARATOR+false} :; then |
| 77 | PATH_SEPARATOR=: |
| 78 | (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && { |
| 79 | (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 80 | PATH_SEPARATOR=';' |
| 81 | } |
| 82 | fi |
| 83 | |
| 84 | |
| 85 | # Find who we are. Look in the path if we contain no directory separator. |
| 86 | as_myself= |
| 87 | case $0 in #(( |
| 88 | *[\\/]* ) as_myself=$0 ;; |
| 89 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 90 | for as_dir in $PATH |
| 91 | do |
| 92 | IFS=$as_save_IFS |
| 93 | case $as_dir in #((( |
| 94 | '') as_dir=./ ;; |
| 95 | */) ;; |
| 96 | *) as_dir=$as_dir/ ;; |
| 97 | esac |
| 98 | testscip-shell system . . test. -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 99 | done |
| 100 | IFS=$as_save_IFS |
| 101 | |
| 102 | ;; |
| 103 | esac |
| 104 | # We did not find ourselves, most probably we were run as 'sh COMMAND' |
| 105 | # in which case we are not to be found in the path. |
| 106 | if testscip-shell system . . test. "x$as_myself" = x; then |
| 107 | as_myself=$0 |
| 108 | fi |
| 109 | if testscip-shell system . . test. ! -f "$as_myself"; then |
| 110 | printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 111 | exit 1 |
| 112 | fi |
| 113 | |
| 114 | |
| 115 | # Use a proper internal environment variable to ensure we don't fall |
| 116 | # into an infinite loop, continuously re-executing ourselves. |
| 117 | if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then |
| 118 | _as_can_reexec=no; export _as_can_reexec; |
| 119 | # We cannot yet assume a decent shell, so we have to provide a |
| 120 | # neutralization value for shells without unset; and this also |
| 121 | # works around shells that cannot unset nonexistent variables. |
| 122 | # Preserve -v and -x to the replacement shell. |
| 123 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 124 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 125 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 126 | case $- in # (((( |
| 127 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 128 | *v* ) as_opts=-v ;; |
| 129 | *x* ) as_opts=-x ;; |
| 130 | * ) as_opts= ;; |
| 131 | esac |
| 132 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 133 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 134 | # out after a failed 'exec'. |
| 135 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 136 | exit 255 |
| 137 | fi |
| 138 | # We don't want this to propagate to other subprocesses. |
| 139 | { _as_can_reexec=; unset _as_can_reexec;} |
| 140 | if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then |
| 141 | as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 142 | then : |
| 143 | emulate sh |
| 144 | NULLCMD=: |
| 145 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 146 | # is contrary to our usage. Disable this feature. |
| 147 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 148 | setopt NO_GLOB_SUBST |
| 149 | else case e in #( |
| 150 | e) case \`(set -o) 2>/dev/null\` in #( |
| 151 | *posix*) : |
| 152 | set -o posix ;; #( |
| 153 | *) : |
| 154 | ;; |
| 155 | esac ;; |
| 156 | esac |
| 157 | fi |
| 158 | " |
| 159 | as_required="as_fn_return () { (exit \$1); } |
| 160 | as_fn_success () { as_fn_return 0; } |
| 161 | as_fn_failure () { as_fn_return 1; } |
| 162 | as_fn_ret_success () { return 0; } |
| 163 | as_fn_ret_failure () { return 1; } |
| 164 | |
| 165 | exitcode=0 |
| 166 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 167 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 168 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 169 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 170 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 171 | then : |
| 172 | |
| 173 | else case e in #( |
| 174 | e) exitcode=1; echo positional parameters were not saved. ;; |
| 175 | esac |
| 176 | fi |
| 177 | test x\$exitcode = x0 || exit 1 |
| 178 | blah=\$(echo \$(echo blah)) |
| 179 | test x\"\$blah\" = xblah || exit 1 |
| 180 | test -x / || exit 1" |
| 181 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 182 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 183 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 184 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 185 | test \$(( 1 + 1 )) = 2 || exit 1 |
| 186 | |
| 187 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 188 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 189 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 190 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 191 | PATH=/empty FPATH=/empty; export PATH FPATH |
| 192 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 193 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
| 194 | if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 195 | then : |
| 196 | as_have_required=yes |
| 197 | else case e in #( |
| 198 | e) as_have_required=no ;; |
| 199 | esac |
| 200 | fi |
| 201 | if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 202 | then : |
| 203 | |
| 204 | else case e in #( |
| 205 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 206 | as_found=false |
| 207 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 208 | do |
| 209 | IFS=$as_save_IFS |
| 210 | case $as_dir in #((( |
| 211 | '') as_dir=./ ;; |
| 212 | */) ;; |
| 213 | *) as_dir=$as_dir/ ;; |
| 214 | esac |
| 215 | as_found=: |
| 216 | case $as_dir in #( |
| 217 | /*) |
| 218 | for as_base in sh bash ksh sh5; do |
| 219 | # Try only shells that exist, to save several forks. |
| 220 | as_shell=$as_dir$as_base |
| 221 | if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } && |
| 222 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 223 | then : |
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 225 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 226 | then : |
| 227 | break 2 |
| 228 | fi |
| 229 | fi |
| 230 | done;; |
| 231 | esac |
| 232 | as_found=false |
| 233 | done |
| 234 | IFS=$as_save_IFS |
| 235 | if $as_found |
| 236 | then : |
| 237 | |
| 238 | else case e in #( |
| 239 | e) if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } && |
| 240 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 241 | then : |
| 242 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 243 | fi ;; |
| 244 | esac |
| 245 | fi |
| 246 | |
| 247 | |
| 248 | if testscip-shell system . . test. "x$CONFIG_SHELL" != x |
| 249 | then : |
| 250 | export CONFIG_SHELL |
| 251 | # We cannot yet assume a decent shell, so we have to provide a |
| 252 | # neutralization value for shells without unset; and this also |
| 253 | # works around shells that cannot unset nonexistent variables. |
| 254 | # Preserve -v and -x to the replacement shell. |
| 255 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 256 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 257 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 258 | case $- in # (((( |
| 259 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 260 | *v* ) as_opts=-v ;; |
| 261 | *x* ) as_opts=-x ;; |
| 262 | * ) as_opts= ;; |
| 263 | esac |
| 264 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 265 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 266 | # out after a failed 'exec'. |
| 267 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 268 | exit 255 |
| 269 | fi |
| 270 | |
| 271 | if testscip-shell system . . test. x$as_have_required = xno |
| 272 | then : |
| 273 | printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all" |
| 274 | printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system." |
| 275 | if testscip-shell system . . test. ${ZSH_VERSION+y} ; then |
| 276 | printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 277 | printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 278 | else |
| 279 | printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] about your system, |
| 280 | $0: including any error possibly output before this |
| 281 | $0: message. Then install a modern shell, or manually run |
| 282 | $0: the script under such a shell if you do have one." |
| 283 | fi |
| 284 | exit 1 |
| 285 | fi ;; |
| 286 | esac |
| 287 | fi |
| 288 | fi |
| 289 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 290 | export SHELL |
| 291 | # Unset more variables known to interfere with behavior of common tools. |
| 292 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 293 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 294 | |
| 295 | ## --------------------- ## |
| 296 | ## M4sh Shell Functions. ## |
| 297 | ## --------------------- ## |
| 298 | # as_fn_unset VAR |
| 299 | # --------------- |
| 300 | # Portably unset VAR. |
| 301 | as_fn_unsetscip-shell shell shell-project 0.0.0 as_fn_unset(). () |
| 302 | { |
| 303 | { eval $1=; unset $1;} |
| 304 | } |
| 305 | as_unset=as_fn_unset |
| 306 | |
| 307 | |
| 308 | # as_fn_set_status STATUS |
| 309 | # ----------------------- |
| 310 | # Set $? to STATUS, without forking. |
| 311 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). () |
| 312 | { |
| 313 | return $1 |
| 314 | } # as_fn_set_status |
| 315 | |
| 316 | # as_fn_exit STATUS |
| 317 | # ----------------- |
| 318 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 319 | as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). () |
| 320 | { |
| 321 | set +e |
| 322 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $1 |
| 323 | exit $1 |
| 324 | } # as_fn_exit |
| 325 | |
| 326 | # as_fn_mkdir_p |
| 327 | # ------------- |
| 328 | # Create "$as_dir" as a directory, including parents if necessary. |
| 329 | as_fn_mkdir_pscip-shell shell shell-project 0.0.0 as_fn_mkdir_p(). () |
| 330 | { |
| 331 | |
| 332 | case $as_dir in #( |
| 333 | -*) as_dir=./$as_dir;; |
| 334 | esac |
| 335 | testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || { |
| 336 | as_dirs= |
| 337 | while :; do |
| 338 | case $as_dir in #( |
| 339 | *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'( |
| 340 | *) as_qdir=$as_dir;; |
| 341 | esac |
| 342 | as_dirs="'$as_qdir' $as_dirs" |
| 343 | as_dir=`$as_dirname -- "$as_dir" || |
| 344 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 345 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 346 | X"$as_dir" : 'X\(//\)$' \| \ |
| 347 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 348 | printfscip-shell system . . printf. "%s\n" X"$as_dir" | |
| 349 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 350 | s//\1/ |
| 351 | q |
| 352 | } |
| 353 | /^X\(\/\/\)[^/].*/{ |
| 354 | s//\1/ |
| 355 | q |
| 356 | } |
| 357 | /^X\(\/\/\)$/{ |
| 358 | s//\1/ |
| 359 | q |
| 360 | } |
| 361 | /^X\(\/\).*/{ |
| 362 | s//\1/ |
| 363 | q |
| 364 | } |
| 365 | s/.*/./; q'` |
| 366 | testscip-shell system . . test. -d "$as_dir" && break |
| 367 | done |
| 368 | testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs" |
| 369 | } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot create directory $as_dir" |
| 370 | |
| 371 | |
| 372 | } # as_fn_mkdir_p |
| 373 | |
| 374 | # as_fn_executable_p FILE |
| 375 | # ----------------------- |
| 376 | # Test if FILE is an executable regular file. |
| 377 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). () |
| 378 | { |
| 379 | testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1" |
| 380 | } # as_fn_executable_p |
| 381 | # as_fn_append VAR VALUE |
| 382 | # ---------------------- |
| 383 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 384 | # advantage of any shell optimizations that allow amortized linear growth over |
| 385 | # repeated appends, instead of the typical quadratic growth present in naive |
| 386 | # implementations. |
| 387 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 388 | then : |
| 389 | eval 'as_fn_append () |
| 390 | { |
| 391 | eval $1+=\$2 |
| 392 | }' |
| 393 | else case e in #( |
| 394 | e) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). () |
| 395 | { |
| 396 | eval $1=\$$1\$2 |
| 397 | } ;; |
| 398 | esac |
| 399 | fi # as_fn_append |
| 400 | |
| 401 | # as_fn_arith ARG... |
| 402 | # ------------------ |
| 403 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 404 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 405 | # must be portable across $(()) and expr. |
| 406 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 407 | then : |
| 408 | eval 'as_fn_arith () |
| 409 | { |
| 410 | as_val=$(( $* )) |
| 411 | }' |
| 412 | else case e in #( |
| 413 | e) as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). () |
| 414 | { |
| 415 | as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1` |
| 416 | } ;; |
| 417 | esac |
| 418 | fi # as_fn_arith |
| 419 | |
| 420 | |
| 421 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 422 | # ---------------------------------------- |
| 423 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 424 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 425 | # script with STATUS, using 1 if that was 0. |
| 426 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). () |
| 427 | { |
| 428 | as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1 |
| 429 | if testscip-shell system . . test. "$4"; then |
| 430 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 431 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 432 | fi |
| 433 | printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2 |
| 434 | as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). $as_status |
| 435 | } # as_fn_error |
| 436 | |
| 437 | if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 438 | testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then |
| 439 | as_expr=expr |
| 440 | else |
| 441 | as_expr=false |
| 442 | fi |
| 443 | |
| 444 | if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then |
| 445 | as_basename=basename |
| 446 | else |
| 447 | as_basename=false |
| 448 | fi |
| 449 | |
| 450 | if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 451 | as_dirname=dirname |
| 452 | else |
| 453 | as_dirname=false |
| 454 | fi |
| 455 | |
| 456 | as_me=`$as_basename -- "$0" || |
| 457 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 458 | X"$0" : 'X\(//\)$' \| \ |
| 459 | X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 460 | printfscip-shell system . . printf. "%s\n" X/"$0" | |
| 461 | sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{ |
| 462 | s//\1/ |
| 463 | q |
| 464 | } |
| 465 | /^X\/\(\/\/\)$/{ |
| 466 | s//\1/ |
| 467 | q |
| 468 | } |
| 469 | /^X\/\(\/\).*/{ |
| 470 | s//\1/ |
| 471 | q |
| 472 | } |
| 473 | s/.*/./; q'` |
| 474 | |
| 475 | # Avoid depending upon Character Ranges. |
| 476 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 477 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 478 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 479 | as_cr_digits='0123456789' |
| 480 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 481 | |
| 482 | |
| 483 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 484 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 485 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 486 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 487 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 488 | sedscip-shell system . . sed. -n ' |
| 489 | p |
| 490 | /[$]LINENO/= |
| 491 | ' <$as_myself | |
| 492 | sedscip-shell system . . sed. ' |
| 493 | t clear |
| 494 | :clear |
| 495 | s/[$]LINENO.*/&-/ |
| 496 | t lineno |
| 497 | b |
| 498 | :lineno |
| 499 | N |
| 500 | :loop |
| 501 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 502 | t loop |
| 503 | s/-\n.*// |
| 504 | ' >$as_me.lineno && |
| 505 | chmodscip-shell system . . chmod. +x "$as_me.lineno" || |
| 506 | { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1; } |
| 507 | |
| 508 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 509 | # already done that, so ensure we don't try to do so again and fall |
| 510 | # in an infinite loop. This has already happened in practice. |
| 511 | _as_can_reexec=no; export _as_can_reexec |
| 512 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 513 | # (the dirname of $[0] is not the place where we might find the |
| 514 | # original and so on. Autoconf is especially sensitive to this). |
| 515 | . "./$as_me.lineno" |
| 516 | # Exit status is that of the last command. |
| 517 | exit |
| 518 | } |
| 519 | |
| 520 | |
| 521 | # Determine whether it's possible to make 'echo' print without a newline. |
| 522 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 523 | # for compatibility with existing Makefiles. |
| 524 | ECHO_C= ECHO_N= ECHO_T= |
| 525 | case `echoscip-shell system . . echo. -n x` in #((((( |
| 526 | -n*) |
| 527 | case `echoscip-shell system . . echo. 'xy\c'` in |
| 528 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 529 | xy) ECHO_C='\c';; |
| 530 | *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 531 | ECHO_T=' ';; |
| 532 | esac;; |
| 533 | *) |
| 534 | ECHO_N='-n';; |
| 535 | esac |
| 536 | |
| 537 | # For backward compatibility with old third-party macros, we provide |
| 538 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 539 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 540 | as_echo='printf %s\n' |
| 541 | as_echo_n='printf %s' |
| 542 | |
| 543 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file |
| 544 | if testscip-shell system . . test. -d conf$$.dir; then |
| 545 | rmscip-shell system . . rm. -f conf$$.dir/conf$$.file |
| 546 | else |
| 547 | rmscip-shell system . . rm. -f conf$$.dir |
| 548 | mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 549 | fi |
| 550 | if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 551 | if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 552 | as_ln_s='ln -s' |
| 553 | # ... but there are two gotchas: |
| 554 | # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 555 | # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 556 | # In both cases, we have to default to 'cp -pR'. |
| 557 | lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe || |
| 558 | as_ln_s='cp -pR' |
| 559 | elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 560 | as_ln_s=ln |
| 561 | else |
| 562 | as_ln_s='cp -pR' |
| 563 | fi |
| 564 | else |
| 565 | as_ln_s='cp -pR' |
| 566 | fi |
| 567 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 568 | rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 569 | |
| 570 | if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 571 | as_mkdir_p='mkdir -p "$as_dir"' |
| 572 | else |
| 573 | testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p |
| 574 | as_mkdir_p=false |
| 575 | fi |
| 576 | |
| 577 | as_test_x='test -x' |
| 578 | as_executable_p=as_fn_executable_p |
| 579 | |
| 580 | # Sed expression to map a string onto a valid CPP name. |
| 581 | as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 582 | as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 583 | |
| 584 | # Sed expression to map a string onto a valid variable name. |
| 585 | as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 586 | as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 587 | |
| 588 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 589 | |
| 590 | |
| 591 | testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`. |
| 592 | exec 6>&1 |
| 593 | |
| 594 | # Name of the host. |
| 595 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 596 | # so uname gets run too. |
| 597 | ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 598 | |
| 599 | # |
| 600 | # Initializations. |
| 601 | # |
| 602 | ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`. |
| 603 | ac_clean_files= |
| 604 | ac_config_libobj_dir=. |
| 605 | LIBOBJS= |
| 606 | cross_compiling=no |
| 607 | subdirs= |
| 608 | MFLAGS= |
| 609 | MAKEFLAGS= |
| 610 | |
| 611 | # Identity of this package. |
| 612 | PACKAGE_NAME='libgpiod' |
| 613 | PACKAGE_TARNAME='libgpiod' |
| 614 | PACKAGE_VERSION='2.2.5' |
| 615 | PACKAGE_STRING='libgpiod 2.2.5' |
| 616 | PACKAGE_BUGREPORT='' |
| 617 | PACKAGE_URL='https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/' |
| 618 | |
| 619 | ac_unique_file="lib" |
| 620 | # Factoring default headers for most tests. |
| 621 | ac_includes_default="\ |
| 622 | #include <stddef.h> |
| 623 | #ifdef HAVE_STDIO_H |
| 624 | # include <stdio.h> |
| 625 | #endif |
| 626 | #ifdef HAVE_STDLIB_H |
| 627 | # include <stdlib.h> |
| 628 | #endif |
| 629 | #ifdef HAVE_STRING_H |
| 630 | # include <string.h> |
| 631 | #endif |
| 632 | #ifdef HAVE_INTTYPES_H |
| 633 | # include <inttypes.h> |
| 634 | #endif |
| 635 | #ifdef HAVE_STDINT_H |
| 636 | # include <stdint.h> |
| 637 | #endif |
| 638 | #ifdef HAVE_STRINGS_H |
| 639 | # include <strings.h> |
| 640 | #endif |
| 641 | #ifdef HAVE_SYS_TYPES_H |
| 642 | # include <sys/types.h> |
| 643 | #endif |
| 644 | #ifdef HAVE_SYS_STAT_H |
| 645 | # include <sys/stat.h> |
| 646 | #endif |
| 647 | #ifdef HAVE_UNISTD_H |
| 648 | # include <unistd.h> |
| 649 | #endif" |
| 650 | |
| 651 | ac_header_c_list= |
| 652 | ac_subst_vars='am__EXEEXT_FALSE |
| 653 | am__EXEEXT_TRUE |
| 654 | LTLIBOBJS |
| 655 | WITH_DOCS_FALSE |
| 656 | WITH_DOCS_TRUE |
| 657 | has_pandoc |
| 658 | has_sphinx |
| 659 | has_doxygen |
| 660 | WITH_MANPAGES_FALSE |
| 661 | WITH_MANPAGES_TRUE |
| 662 | has_help2man |
| 663 | systemdsystemunitdir |
| 664 | WITH_SYSTEMD_FALSE |
| 665 | WITH_SYSTEMD_TRUE |
| 666 | HAVE_INTROSPECTION_FALSE |
| 667 | HAVE_INTROSPECTION_TRUE |
| 668 | INTROSPECTION_MAKEFILE |
| 669 | INTROSPECTION_LIBS |
| 670 | INTROSPECTION_CFLAGS |
| 671 | INTROSPECTION_TYPELIBDIR |
| 672 | INTROSPECTION_GIRDIR |
| 673 | INTROSPECTION_GENERATE |
| 674 | INTROSPECTION_COMPILER |
| 675 | INTROSPECTION_SCANNER |
| 676 | _GI_EXP_LIBDIR |
| 677 | _GI_EXP_DATADIR |
| 678 | HAS_GI_DOCGEN_FALSE |
| 679 | HAS_GI_DOCGEN_TRUE |
| 680 | has_gi_docgen |
| 681 | has_glib_mkenums |
| 682 | GLIB_MKENUMS |
| 683 | GIO_UNIX_LIBS |
| 684 | GIO_UNIX_CFLAGS |
| 685 | GOBJECT_LIBS |
| 686 | GOBJECT_CFLAGS |
| 687 | WITH_BINDINGS_GLIB_FALSE |
| 688 | WITH_BINDINGS_GLIB_TRUE |
| 689 | has_gdbus_codegen |
| 690 | GUDEV_LIBS |
| 691 | GUDEV_CFLAGS |
| 692 | WITH_DBUS_FALSE |
| 693 | WITH_DBUS_TRUE |
| 694 | has_cargo |
| 695 | WITH_BINDINGS_RUST_FALSE |
| 696 | WITH_BINDINGS_RUST_TRUE |
| 697 | pkgpyexecdir |
| 698 | pyexecdir |
| 699 | pkgpythondir |
| 700 | pythondir |
| 701 | PYTHON_EXEC_PREFIX |
| 702 | PYTHON_PREFIX |
| 703 | PYTHON_PLATFORM |
| 704 | PYTHON_VERSION |
| 705 | PYTHON |
| 706 | WITH_BINDINGS_PYTHON_FALSE |
| 707 | WITH_BINDINGS_PYTHON_TRUE |
| 708 | CATCH2_LIBS |
| 709 | CATCH2_CFLAGS |
| 710 | HAVE_CXX17 |
| 711 | WITH_BINDINGS_CXX_FALSE |
| 712 | WITH_BINDINGS_CXX_TRUE |
| 713 | WITH_EXAMPLES_FALSE |
| 714 | WITH_EXAMPLES_TRUE |
| 715 | has_shunit2 |
| 716 | GIO_LIBS |
| 717 | GIO_CFLAGS |
| 718 | GLIB_LIBS |
| 719 | GLIB_CFLAGS |
| 720 | MOUNT_LIBS |
| 721 | MOUNT_CFLAGS |
| 722 | KMOD_LIBS |
| 723 | KMOD_CFLAGS |
| 724 | PROFILING_LDFLAGS |
| 725 | PROFILING_CFLAGS |
| 726 | WITH_TESTS_FALSE |
| 727 | WITH_TESTS_TRUE |
| 728 | LIBEDIT_LIBS |
| 729 | LIBEDIT_CFLAGS |
| 730 | WITH_GPIOSET_INTERACTIVE_FALSE |
| 731 | WITH_GPIOSET_INTERACTIVE_TRUE |
| 732 | WITH_TOOLS_FALSE |
| 733 | WITH_TOOLS_TRUE |
| 734 | LIBOBJS |
| 735 | PKG_CONFIG_LIBDIR |
| 736 | PKG_CONFIG_PATH |
| 737 | PKG_CONFIG |
| 738 | CXXCPP |
| 739 | LT_SYS_LIBRARY_PATH |
| 740 | OTOOL64 |
| 741 | OTOOL |
| 742 | LIPO |
| 743 | NMEDIT |
| 744 | DSYMUTIL |
| 745 | MANIFEST_TOOL |
| 746 | RANLIB |
| 747 | DLLTOOL |
| 748 | OBJDUMP |
| 749 | FILECMD |
| 750 | LN_S |
| 751 | NM |
| 752 | ac_ct_DUMPBIN |
| 753 | DUMPBIN |
| 754 | LD |
| 755 | FGREP |
| 756 | SED |
| 757 | host_os |
| 758 | host_vendor |
| 759 | host_cpu |
| 760 | host |
| 761 | build_os |
| 762 | build_vendor |
| 763 | build_cpu |
| 764 | build |
| 765 | LIBTOOL |
| 766 | EGREP |
| 767 | GREP |
| 768 | am__fastdepCXX_FALSE |
| 769 | am__fastdepCXX_TRUE |
| 770 | CXXDEPMODE |
| 771 | ac_ct_CXX |
| 772 | CXXFLAGS |
| 773 | CXX |
| 774 | am__fastdepCC_FALSE |
| 775 | am__fastdepCC_TRUE |
| 776 | CCDEPMODE |
| 777 | am__nodep |
| 778 | AMDEPBACKSLASH |
| 779 | AMDEP_FALSE |
| 780 | AMDEP_TRUE |
| 781 | am__include |
| 782 | DEPDIR |
| 783 | OBJEXT |
| 784 | EXEEXT |
| 785 | ac_ct_CC |
| 786 | CPPFLAGS |
| 787 | LDFLAGS |
| 788 | CFLAGS |
| 789 | CC |
| 790 | ac_ct_AR |
| 791 | AR |
| 792 | AR_FLAGS |
| 793 | am__xargs_n |
| 794 | am__rm_f_notfound |
| 795 | AM_BACKSLASH |
| 796 | AM_DEFAULT_VERBOSITY |
| 797 | AM_DEFAULT_V |
| 798 | AM_V |
| 799 | CSCOPE |
| 800 | ETAGS |
| 801 | CTAGS |
| 802 | am__untar |
| 803 | am__tar |
| 804 | AMTAR |
| 805 | am__leading_dot |
| 806 | SET_MAKE |
| 807 | AWK |
| 808 | mkdir_p |
| 809 | MKDIR_P |
| 810 | INSTALL_STRIP_PROGRAM |
| 811 | STRIP |
| 812 | install_sh |
| 813 | MAKEINFO |
| 814 | AUTOHEADER |
| 815 | AUTOMAKE |
| 816 | AUTOCONF |
| 817 | ACLOCAL |
| 818 | VERSION |
| 819 | PACKAGE |
| 820 | CYGPATH_W |
| 821 | am__isrc |
| 822 | INSTALL_DATA |
| 823 | INSTALL_SCRIPT |
| 824 | INSTALL_PROGRAM |
| 825 | ABI_GLIB_VERSION |
| 826 | ABI_GPIOSIM_VERSION |
| 827 | ABI_CXX_VERSION |
| 828 | ABI_VERSION |
| 829 | VERSION_STR |
| 830 | target_alias |
| 831 | host_alias |
| 832 | build_alias |
| 833 | LIBS |
| 834 | ECHO_T |
| 835 | ECHO_N |
| 836 | ECHO_C |
| 837 | DEFS |
| 838 | mandir |
| 839 | localedir |
| 840 | libdir |
| 841 | psdir |
| 842 | pdfdir |
| 843 | dvidir |
| 844 | htmldir |
| 845 | infodir |
| 846 | docdir |
| 847 | oldincludedir |
| 848 | includedir |
| 849 | runstatedir |
| 850 | localstatedir |
| 851 | sharedstatedir |
| 852 | sysconfdir |
| 853 | datadir |
| 854 | datarootdir |
| 855 | libexecdir |
| 856 | sbindir |
| 857 | bindir |
| 858 | program_transform_name |
| 859 | prefix |
| 860 | exec_prefix |
| 861 | PACKAGE_URL |
| 862 | PACKAGE_BUGREPORT |
| 863 | PACKAGE_STRING |
| 864 | PACKAGE_VERSION |
| 865 | PACKAGE_TARNAME |
| 866 | PACKAGE_NAME |
| 867 | PATH_SEPARATOR |
| 868 | SHELL |
| 869 | EXTRA_VERSION |
| 870 | am__quote' |
| 871 | ac_subst_files='' |
| 872 | ac_user_opts=' |
| 873 | enable_option_checking |
| 874 | enable_silent_rules |
| 875 | enable_dependency_tracking |
| 876 | enable_shared |
| 877 | enable_static |
| 878 | enable_pic |
| 879 | with_pic |
| 880 | enable_fast_install |
| 881 | enable_aix_soname |
| 882 | with_aix_soname |
| 883 | with_gnu_ld |
| 884 | with_sysroot |
| 885 | enable_libtool_lock |
| 886 | enable_tools |
| 887 | enable_gpioset_interactive |
| 888 | enable_tests |
| 889 | enable_profiling |
| 890 | enable_examples |
| 891 | enable_bindings_cxx |
| 892 | enable_bindings_python |
| 893 | with_python_sys_prefix |
| 894 | with_python_prefix |
| 895 | with_python_exec_prefix |
| 896 | enable_bindings_rust |
| 897 | enable_dbus |
| 898 | enable_bindings_glib |
| 899 | enable_introspection |
| 900 | enable_systemd |
| 901 | ' |
| 902 | ac_precious_vars='build_alias |
| 903 | host_alias |
| 904 | target_alias |
| 905 | CC |
| 906 | CFLAGS |
| 907 | LDFLAGS |
| 908 | LIBS |
| 909 | CPPFLAGS |
| 910 | CXX |
| 911 | CXXFLAGS |
| 912 | CCC |
| 913 | LT_SYS_LIBRARY_PATH |
| 914 | CXXCPP |
| 915 | PKG_CONFIG |
| 916 | PKG_CONFIG_PATH |
| 917 | PKG_CONFIG_LIBDIR |
| 918 | LIBEDIT_CFLAGS |
| 919 | LIBEDIT_LIBS |
| 920 | KMOD_CFLAGS |
| 921 | KMOD_LIBS |
| 922 | MOUNT_CFLAGS |
| 923 | MOUNT_LIBS |
| 924 | GLIB_CFLAGS |
| 925 | GLIB_LIBS |
| 926 | GIO_CFLAGS |
| 927 | GIO_LIBS |
| 928 | CATCH2_CFLAGS |
| 929 | CATCH2_LIBS |
| 930 | PYTHON |
| 931 | GUDEV_CFLAGS |
| 932 | GUDEV_LIBS |
| 933 | GOBJECT_CFLAGS |
| 934 | GOBJECT_LIBS |
| 935 | GIO_UNIX_CFLAGS |
| 936 | GIO_UNIX_LIBS |
| 937 | GLIB_MKENUMS |
| 938 | systemdsystemunitdir' |
| 939 | |
| 940 | |
| 941 | # Initialize some variables set by options. |
| 942 | ac_init_help= |
| 943 | ac_init_version=false |
| 944 | ac_unrecognized_opts= |
| 945 | ac_unrecognized_sep= |
| 946 | # The variables have the same names as the options, with |
| 947 | # dashes changed to underlines. |
| 948 | cache_file=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 949 | exec_prefix=NONE |
| 950 | no_create= |
| 951 | no_recursion= |
| 952 | prefix=NONE |
| 953 | program_prefix=NONE |
| 954 | program_suffix=NONE |
| 955 | program_transform_name=s,x,x, |
| 956 | silent= |
| 957 | site= |
| 958 | srcdir= |
| 959 | verbose= |
| 960 | x_includes=NONE |
| 961 | x_libraries=NONE |
| 962 | |
| 963 | # Installation directory options. |
| 964 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 965 | # and all the variables that are supposed to be based on exec_prefix |
| 966 | # by default will actually change. |
| 967 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 968 | # (The list follows the same order as the GNU Coding Standards.) |
| 969 | bindir='${exec_prefix}/bin' |
| 970 | sbindir='${exec_prefix}/sbin' |
| 971 | libexecdir='${exec_prefix}/libexec' |
| 972 | datarootdir='${prefix}/share' |
| 973 | datadir='${datarootdir}' |
| 974 | sysconfdir='${prefix}/etc' |
| 975 | sharedstatedir='${prefix}/com' |
| 976 | localstatedir='${prefix}/var' |
| 977 | runstatedir='${localstatedir}/run' |
| 978 | includedir='${prefix}/include' |
| 979 | oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.' |
| 980 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 981 | infodir='${datarootdir}/info' |
| 982 | htmldir='${docdir}' |
| 983 | dvidir='${docdir}' |
| 984 | pdfdir='${docdir}' |
| 985 | psdir='${docdir}' |
| 986 | libdir='${exec_prefix}/lib' |
| 987 | localedir='${datarootdir}/locale' |
| 988 | mandir='${datarootdir}/man' |
| 989 | |
| 990 | ac_prev= |
| 991 | ac_dashdash= |
| 992 | for ac_option |
| 993 | do |
| 994 | # If the previous option needs an argument, assign it. |
| 995 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 996 | eval $ac_prev=\$ac_option |
| 997 | ac_prev= |
| 998 | continue |
| 999 | fi |
| 1000 | |
| 1001 | case $ac_option in |
| 1002 | *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 1003 | *=) ac_optarg= ;; |
| 1004 | *) ac_optarg=yes ;; |
| 1005 | esac |
| 1006 | |
| 1007 | case $ac_dashdash$ac_option in |
| 1008 | --) |
| 1009 | ac_dashdash=yes ;; |
| 1010 | |
| 1011 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 1012 | ac_prev=bindir ;; |
| 1013 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 1014 | bindir=$ac_optarg ;; |
| 1015 | |
| 1016 | -build | --build | --buil | --bui | --bu) |
| 1017 | ac_prev=build_alias ;; |
| 1018 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 1019 | build_alias=$ac_optarg ;; |
| 1020 | |
| 1021 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 1022 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 1023 | ac_prev=cache_file ;; |
| 1024 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 1025 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 1026 | cache_file=$ac_optarg ;; |
| 1027 | |
| 1028 | --config-cache | -C) |
| 1029 | cache_file=config.cache ;; |
| 1030 | |
| 1031 | -datadir | --datadir | --datadi | --datad) |
| 1032 | ac_prev=datadir ;; |
| 1033 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1034 | datadir=$ac_optarg ;; |
| 1035 | |
| 1036 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1037 | | --dataroo | --dataro | --datar) |
| 1038 | ac_prev=datarootdir ;; |
| 1039 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 1040 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 1041 | datarootdir=$ac_optarg ;; |
| 1042 | |
| 1043 | -disable-* | --disable-*) |
| 1044 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1045 | # Reject names that are not valid shell variable names. |
| 1046 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1047 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: '$ac_useropt'" |
| 1048 | ac_useropt_orig=$ac_useropt |
| 1049 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1050 | case $ac_user_opts in |
| 1051 | *" |
| 1052 | "enable_$ac_useropt" |
| 1053 | "*) ;; |
| 1054 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 1055 | ac_unrecognized_sep=', ';; |
| 1056 | esac |
| 1057 | eval enable_$ac_useropt=no ;; |
| 1058 | |
| 1059 | -docdir | --docdir | --docdi | --doc | --do) |
| 1060 | ac_prev=docdir ;; |
| 1061 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 1062 | docdir=$ac_optarg ;; |
| 1063 | |
| 1064 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 1065 | ac_prev=dvidir ;; |
| 1066 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 1067 | dvidir=$ac_optarg ;; |
| 1068 | |
| 1069 | -enable-* | --enable-*) |
| 1070 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1071 | # Reject names that are not valid shell variable names. |
| 1072 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1073 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: '$ac_useropt'" |
| 1074 | ac_useropt_orig=$ac_useropt |
| 1075 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1076 | case $ac_user_opts in |
| 1077 | *" |
| 1078 | "enable_$ac_useropt" |
| 1079 | "*) ;; |
| 1080 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 1081 | ac_unrecognized_sep=', ';; |
| 1082 | esac |
| 1083 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 1084 | |
| 1085 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1086 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1087 | | --exec | --exe | --ex) |
| 1088 | ac_prev=exec_prefix ;; |
| 1089 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 1090 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 1091 | | --exec=* | --exe=* | --ex=*) |
| 1092 | exec_prefix=$ac_optarg ;; |
| 1093 | |
| 1094 | -gas | --gas | --ga | --g) |
| 1095 | # Obsolete; use --with-gas. |
| 1096 | with_gas=yes ;; |
| 1097 | |
| 1098 | -help | --help | --hel | --he | -h) |
| 1099 | ac_init_help=long ;; |
| 1100 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1101 | ac_init_help=recursive ;; |
| 1102 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1103 | ac_init_help=short ;; |
| 1104 | |
| 1105 | -host | --host | --hos | --ho) |
| 1106 | ac_prev=host_alias ;; |
| 1107 | -host=* | --host=* | --hos=* | --ho=*) |
| 1108 | host_alias=$ac_optarg ;; |
| 1109 | |
| 1110 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1111 | ac_prev=htmldir ;; |
| 1112 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1113 | | --ht=*) |
| 1114 | htmldir=$ac_optarg ;; |
| 1115 | |
| 1116 | -includedir | --includedir | --includedi | --included | --include \ |
| 1117 | | --includ | --inclu | --incl | --inc) |
| 1118 | ac_prev=includedir ;; |
| 1119 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1120 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1121 | includedir=$ac_optarg ;; |
| 1122 | |
| 1123 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1124 | ac_prev=infodir ;; |
| 1125 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1126 | infodir=$ac_optarg ;; |
| 1127 | |
| 1128 | -libdir | --libdir | --libdi | --libd) |
| 1129 | ac_prev=libdir ;; |
| 1130 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1131 | libdir=$ac_optarg ;; |
| 1132 | |
| 1133 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1134 | | --libexe | --libex | --libe) |
| 1135 | ac_prev=libexecdir ;; |
| 1136 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1137 | | --libexe=* | --libex=* | --libe=*) |
| 1138 | libexecdir=$ac_optarg ;; |
| 1139 | |
| 1140 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1141 | ac_prev=localedir ;; |
| 1142 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1143 | localedir=$ac_optarg ;; |
| 1144 | |
| 1145 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1146 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1147 | ac_prev=localstatedir ;; |
| 1148 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1149 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1150 | localstatedir=$ac_optarg ;; |
| 1151 | |
| 1152 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1153 | ac_prev=mandir ;; |
| 1154 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1155 | mandir=$ac_optarg ;; |
| 1156 | |
| 1157 | -nfp | --nfp | --nf) |
| 1158 | # Obsolete; use --without-fp. |
| 1159 | with_fp=no ;; |
| 1160 | |
| 1161 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1162 | | --no-cr | --no-c | -n) |
| 1163 | no_create=yes ;; |
| 1164 | |
| 1165 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1166 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1167 | no_recursion=yes ;; |
| 1168 | |
| 1169 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1170 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1171 | | --oldin | --oldi | --old | --ol | --o) |
| 1172 | ac_prev=oldincludedir ;; |
| 1173 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1174 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1175 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1176 | oldincludedir=$ac_optarg ;; |
| 1177 | |
| 1178 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1179 | ac_prev=prefix ;; |
| 1180 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1181 | prefix=$ac_optarg ;; |
| 1182 | |
| 1183 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1184 | | --program-pre | --program-pr | --program-p) |
| 1185 | ac_prev=program_prefix ;; |
| 1186 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1187 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1188 | program_prefix=$ac_optarg ;; |
| 1189 | |
| 1190 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1191 | | --program-suf | --program-su | --program-s) |
| 1192 | ac_prev=program_suffix ;; |
| 1193 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1194 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1195 | program_suffix=$ac_optarg ;; |
| 1196 | |
| 1197 | -program-transform-name | --program-transform-name \ |
| 1198 | | --program-transform-nam | --program-transform-na \ |
| 1199 | | --program-transform-n | --program-transform- \ |
| 1200 | | --program-transform | --program-transfor \ |
| 1201 | | --program-transfo | --program-transf \ |
| 1202 | | --program-trans | --program-tran \ |
| 1203 | | --progr-tra | --program-tr | --program-t) |
| 1204 | ac_prev=program_transform_name ;; |
| 1205 | -program-transform-name=* | --program-transform-name=* \ |
| 1206 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1207 | | --program-transform-n=* | --program-transform-=* \ |
| 1208 | | --program-transform=* | --program-transfor=* \ |
| 1209 | | --program-transfo=* | --program-transf=* \ |
| 1210 | | --program-trans=* | --program-tran=* \ |
| 1211 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1212 | program_transform_name=$ac_optarg ;; |
| 1213 | |
| 1214 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1215 | ac_prev=pdfdir ;; |
| 1216 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1217 | pdfdir=$ac_optarg ;; |
| 1218 | |
| 1219 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1220 | ac_prev=psdir ;; |
| 1221 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1222 | psdir=$ac_optarg ;; |
| 1223 | |
| 1224 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1225 | | -silent | --silent | --silen | --sile | --sil) |
| 1226 | silent=yes ;; |
| 1227 | |
| 1228 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1229 | | --runstate | --runstat | --runsta | --runst | --runs \ |
| 1230 | | --run | --ru | --r) |
| 1231 | ac_prev=runstatedir ;; |
| 1232 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1233 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1234 | | --run=* | --ru=* | --r=*) |
| 1235 | runstatedir=$ac_optarg ;; |
| 1236 | |
| 1237 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1238 | ac_prev=sbindir ;; |
| 1239 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1240 | | --sbi=* | --sb=*) |
| 1241 | sbindir=$ac_optarg ;; |
| 1242 | |
| 1243 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1244 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1245 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1246 | | --sha | --sh) |
| 1247 | ac_prev=sharedstatedir ;; |
| 1248 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1249 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1250 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1251 | | --sha=* | --sh=*) |
| 1252 | sharedstatedir=$ac_optarg ;; |
| 1253 | |
| 1254 | -site | --site | --sit) |
| 1255 | ac_prev=site ;; |
| 1256 | -site=* | --site=* | --sit=*) |
| 1257 | site=$ac_optarg ;; |
| 1258 | |
| 1259 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1260 | ac_prev=srcdir ;; |
| 1261 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1262 | srcdir=$ac_optarg ;; |
| 1263 | |
| 1264 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1265 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1266 | ac_prev=sysconfdir ;; |
| 1267 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1268 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1269 | sysconfdir=$ac_optarg ;; |
| 1270 | |
| 1271 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1272 | ac_prev=target_alias ;; |
| 1273 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1274 | target_alias=$ac_optarg ;; |
| 1275 | |
| 1276 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1277 | verbose=yes ;; |
| 1278 | |
| 1279 | -version | --version | --versio | --versi | --vers | -V) |
| 1280 | ac_init_version=: ;; |
| 1281 | |
| 1282 | -with-* | --with-*) |
| 1283 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1284 | # Reject names that are not valid shell variable names. |
| 1285 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1286 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: '$ac_useropt'" |
| 1287 | ac_useropt_orig=$ac_useropt |
| 1288 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1289 | case $ac_user_opts in |
| 1290 | *" |
| 1291 | "with_$ac_useropt" |
| 1292 | "*) ;; |
| 1293 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1294 | ac_unrecognized_sep=', ';; |
| 1295 | esac |
| 1296 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1297 | |
| 1298 | -without-* | --without-*) |
| 1299 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'` |
| 1300 | # Reject names that are not valid shell variable names. |
| 1301 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1302 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: '$ac_useropt'" |
| 1303 | ac_useropt_orig=$ac_useropt |
| 1304 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1305 | case $ac_user_opts in |
| 1306 | *" |
| 1307 | "with_$ac_useropt" |
| 1308 | "*) ;; |
| 1309 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1310 | ac_unrecognized_sep=', ';; |
| 1311 | esac |
| 1312 | eval with_$ac_useropt=no ;; |
| 1313 | |
| 1314 | --x) |
| 1315 | # Obsolete; use --with-x. |
| 1316 | with_x=yes ;; |
| 1317 | |
| 1318 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1319 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1320 | ac_prev=x_includes ;; |
| 1321 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1322 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1323 | x_includes=$ac_optarg ;; |
| 1324 | |
| 1325 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1326 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1327 | ac_prev=x_libraries ;; |
| 1328 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1329 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1330 | x_libraries=$ac_optarg ;; |
| 1331 | |
| 1332 | -*) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized option: '$ac_option' |
| 1333 | Try '$0 --help' for more information" |
| 1334 | ;; |
| 1335 | |
| 1336 | *=*) |
| 1337 | ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='` |
| 1338 | # Reject names that are not valid shell variable names. |
| 1339 | case $ac_envvar in #( |
| 1340 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1341 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid variable name: '$ac_envvar'" ;; |
| 1342 | esac |
| 1343 | eval $ac_envvar=\$ac_optarg |
| 1344 | export $ac_envvar ;; |
| 1345 | |
| 1346 | *) |
| 1347 | # FIXME: should be removed in autoconf 3.0. |
| 1348 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1349 | exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1350 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1351 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1352 | ;; |
| 1353 | |
| 1354 | esac |
| 1355 | done |
| 1356 | |
| 1357 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1358 | ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'` |
| 1359 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "missing argument to $ac_option" |
| 1360 | fi |
| 1361 | |
| 1362 | if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then |
| 1363 | case $enable_option_checking in |
| 1364 | no) ;; |
| 1365 | fatal) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1366 | *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1367 | esac |
| 1368 | fi |
| 1369 | |
| 1370 | # Check all directory arguments for consistency. |
| 1371 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1372 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1373 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1374 | libdir localedir mandir runstatedir |
| 1375 | do |
| 1376 | eval ac_val=\$$ac_var |
| 1377 | # Remove trailing slashes. |
| 1378 | case $ac_val in |
| 1379 | */ ) |
| 1380 | ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1381 | eval $ac_var=\$ac_val;; |
| 1382 | esac |
| 1383 | # Be sure to have absolute directory names. |
| 1384 | case $ac_val in |
| 1385 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1386 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1387 | esac |
| 1388 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1389 | done |
| 1390 | |
| 1391 | # There might be people who depend on the old broken behavior: '$host' |
| 1392 | # used to hold the argument of --host etc. |
| 1393 | # FIXME: To remove some day. |
| 1394 | build=$build_alias |
| 1395 | host=$host_alias |
| 1396 | target=$target_alias |
| 1397 | |
| 1398 | # FIXME: To remove some day. |
| 1399 | if testscip-shell system . . test. "x$host_alias" != x; then |
| 1400 | if testscip-shell system . . test. "x$build_alias" = x; then |
| 1401 | cross_compiling=maybe |
| 1402 | elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then |
| 1403 | cross_compiling=yes |
| 1404 | fi |
| 1405 | fi |
| 1406 | |
| 1407 | ac_tool_prefix= |
| 1408 | testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1409 | |
| 1410 | testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1411 | |
| 1412 | |
| 1413 | ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" && |
| 1414 | ac_ls_di=`lsscip-shell system . . ls. -di .` && |
| 1415 | ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` || |
| 1416 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "working directory cannot be determined" |
| 1417 | testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1418 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pwd does not report name of working directory" |
| 1419 | |
| 1420 | |
| 1421 | # Find the source files, if location was not specified. |
| 1422 | if testscip-shell system . . test. -z "$srcdir"; then |
| 1423 | ac_srcdir_defaulted=yes |
| 1424 | # Try the directory containing this script, then the parent directory. |
| 1425 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1426 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1427 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1428 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1429 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 1430 | printfscip-shell system . . printf. "%s\n" X"$as_myself" | |
| 1431 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1432 | s//\1/ |
| 1433 | q |
| 1434 | } |
| 1435 | /^X\(\/\/\)[^/].*/{ |
| 1436 | s//\1/ |
| 1437 | q |
| 1438 | } |
| 1439 | /^X\(\/\/\)$/{ |
| 1440 | s//\1/ |
| 1441 | q |
| 1442 | } |
| 1443 | /^X\(\/\).*/{ |
| 1444 | s//\1/ |
| 1445 | q |
| 1446 | } |
| 1447 | s/.*/./; q'` |
| 1448 | srcdir=$ac_confdir |
| 1449 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1450 | srcdir=.. |
| 1451 | fi |
| 1452 | else |
| 1453 | ac_srcdir_defaulted=no |
| 1454 | fi |
| 1455 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1456 | testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1457 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1458 | fi |
| 1459 | ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" |
| 1460 | ac_abs_confdir=`( |
| 1461 | cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$ac_msg" |
| 1462 | pwdscip-shell system . . pwd.)` |
| 1463 | # When building in place, set srcdir=. |
| 1464 | if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then |
| 1465 | srcdir=. |
| 1466 | fi |
| 1467 | # Remove unnecessary trailing slashes from srcdir. |
| 1468 | # Double slashes in file names in object file debugging info |
| 1469 | # mess up M-x gdb in Emacs. |
| 1470 | case $srcdir in |
| 1471 | */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1472 | esac |
| 1473 | for ac_var in $ac_precious_vars; do |
| 1474 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1475 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1476 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1477 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1478 | done |
| 1479 | |
| 1480 | # |
| 1481 | # Report the --help message. |
| 1482 | # |
| 1483 | if testscip-shell system . . test. "$ac_init_help" = "long"; then |
| 1484 | # Omit some internal or obsolete options to make the list less imposing. |
| 1485 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1486 | catscip-shell system . . cat. <<_ACEOF |
| 1487 | 'configure' configures libgpiod 2.2.5 to adapt to many kinds of systems. |
| 1488 | |
| 1489 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1490 | |
| 1491 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1492 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1493 | |
| 1494 | Defaults for the options are specified in brackets. |
| 1495 | |
| 1496 | Configuration: |
| 1497 | -h, --help display this help and exit |
| 1498 | --help=short display options specific to this package |
| 1499 | --help=recursive display the short help of all the included packages |
| 1500 | -V, --version display version information and exit |
| 1501 | -q, --quiet, --silent do not print 'checking ...' messages |
| 1502 | --cache-file=FILE cache test results in FILE [disabled] |
| 1503 | -C, --config-cache alias for '--cache-file=config.cache' |
| 1504 | -n, --no-create do not create output files |
| 1505 | --srcdir=DIR find the sources in DIR [configure dir or '..'] |
| 1506 | |
| 1507 | Installation directories: |
| 1508 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1509 | [$ac_default_prefix] |
| 1510 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1511 | [PREFIX] |
| 1512 | |
| 1513 | By default, 'make install' will install all the files in |
| 1514 | '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify |
| 1515 | an installation prefix other than '$ac_default_prefix' using '--prefix', |
| 1516 | for instance '--prefix=\$HOME'. |
| 1517 | |
| 1518 | For better control, use the options below. |
| 1519 | |
| 1520 | Fine tuning of the installation directories: |
| 1521 | --bindir=DIR user executables [EPREFIX/bin] |
| 1522 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1523 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1524 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1525 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1526 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1527 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1528 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1529 | --includedir=DIR C header files [PREFIX/include] |
| 1530 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1531 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1532 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1533 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1534 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1535 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1536 | --docdir=DIR documentation root [DATAROOTDIR/doc/libgpiod] |
| 1537 | --htmldir=DIR html documentation [DOCDIR] |
| 1538 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1539 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1540 | --psdir=DIR ps documentation [DOCDIR] |
| 1541 | _ACEOF |
| 1542 | |
| 1543 | catscip-shell system . . cat. <<\_ACEOF |
| 1544 | |
| 1545 | Program names: |
| 1546 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1547 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1548 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1549 | |
| 1550 | System types: |
| 1551 | --build=BUILD configure for building on BUILD [guessed] |
| 1552 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1553 | _ACEOF |
| 1554 | fi |
| 1555 | |
| 1556 | if testscip-shell system . . test. -n "$ac_init_help"; then |
| 1557 | case $ac_init_help in |
| 1558 | short | recursive ) echoscip-shell system . . echo. "Configuration of libgpiod 2.2.5:";; |
| 1559 | esac |
| 1560 | catscip-shell system . . cat. <<\_ACEOF |
| 1561 | |
| 1562 | Optional Features: |
| 1563 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1564 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1565 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1566 | --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1567 | --disable-silent-rules verbose build output (undo: "make V=0") |
| 1568 | --enable-dependency-tracking |
| 1569 | do not reject slow dependency extractors |
| 1570 | --disable-dependency-tracking |
| 1571 | speeds up one-time build |
| 1572 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1573 | --enable-static[=PKGS] build static libraries [default=yes] |
| 1574 | --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1575 | both] |
| 1576 | --enable-fast-install[=PKGS] |
| 1577 | optimize for fast installation [default=yes] |
| 1578 | --enable-aix-soname=aix|svr4|both |
| 1579 | shared library versioning (aka "SONAME") variant to |
| 1580 | provide on AIX, [default=aix]. |
| 1581 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1582 | --enable-tools enable libgpiod command-line tools [default=no] |
| 1583 | --enable-gpioset-interactive |
| 1584 | enable gpioset interactive mode [default=no] |
| 1585 | --enable-tests enable libgpiod tests [default=no] |
| 1586 | --enable-profiling enable gcov profiling on the core library and tests |
| 1587 | [default=no] |
| 1588 | --enable-examples enable building code examples[default=no] |
| 1589 | --enable-bindings-cxx enable C++ bindings [default=no] |
| 1590 | --enable-bindings-python |
| 1591 | enable python3 bindings [default=no] |
| 1592 | --enable-bindings-rust enable rust bindings [default=no] |
| 1593 | --enable-dbus build dbus daemon [default=no] |
| 1594 | --enable-bindings-glib enable GLib 2.0 bindings [default=no] |
| 1595 | --enable-introspection=[no/auto/yes] |
| 1596 | Enable introspection for this build |
| 1597 | --enable-systemd enable systemd support [default=no] |
| 1598 | |
| 1599 | Optional Packages: |
| 1600 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1601 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1602 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1603 | --with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 1604 | compiler's sysroot if not specified). |
| 1605 | --with-python-sys-prefix |
| 1606 | use Python's sys.prefix and sys.exec_prefix values |
| 1607 | --with-python_prefix override the default PYTHON_PREFIX |
| 1608 | --with-python_exec_prefix |
| 1609 | override the default PYTHON_EXEC_PREFIX |
| 1610 | |
| 1611 | Some influential environment variables: |
| 1612 | CC C compiler command |
| 1613 | CFLAGS C compiler flags |
| 1614 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1615 | nonstandard directory <lib dir> |
| 1616 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1617 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1618 | you have headers in a nonstandard directory <include dir> |
| 1619 | CXX C++ compiler command |
| 1620 | CXXFLAGS C++ compiler flags |
| 1621 | LT_SYS_LIBRARY_PATH |
| 1622 | User-defined run-time library search path. |
| 1623 | CXXCPP C++ preprocessor |
| 1624 | PKG_CONFIG path to pkg-config utility |
| 1625 | PKG_CONFIG_PATH |
| 1626 | directories to add to pkg-config's search path |
| 1627 | PKG_CONFIG_LIBDIR |
| 1628 | path overriding pkg-config's built-in search path |
| 1629 | LIBEDIT_CFLAGS |
| 1630 | C compiler flags for LIBEDIT, overriding pkg-config |
| 1631 | LIBEDIT_LIBS |
| 1632 | linker flags for LIBEDIT, overriding pkg-config |
| 1633 | KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config |
| 1634 | KMOD_LIBS linker flags for KMOD, overriding pkg-config |
| 1635 | MOUNT_CFLAGS |
| 1636 | C compiler flags for MOUNT, overriding pkg-config |
| 1637 | MOUNT_LIBS linker flags for MOUNT, overriding pkg-config |
| 1638 | GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
| 1639 | GLIB_LIBS linker flags for GLIB, overriding pkg-config |
| 1640 | GIO_CFLAGS C compiler flags for GIO, overriding pkg-config |
| 1641 | GIO_LIBS linker flags for GIO, overriding pkg-config |
| 1642 | CATCH2_CFLAGS |
| 1643 | C compiler flags for CATCH2, overriding pkg-config |
| 1644 | CATCH2_LIBS linker flags for CATCH2, overriding pkg-config |
| 1645 | PYTHON the Python interpreter |
| 1646 | GUDEV_CFLAGS |
| 1647 | C compiler flags for GUDEV, overriding pkg-config |
| 1648 | GUDEV_LIBS linker flags for GUDEV, overriding pkg-config |
| 1649 | GOBJECT_CFLAGS |
| 1650 | C compiler flags for GOBJECT, overriding pkg-config |
| 1651 | GOBJECT_LIBS |
| 1652 | linker flags for GOBJECT, overriding pkg-config |
| 1653 | GIO_UNIX_CFLAGS |
| 1654 | C compiler flags for GIO_UNIX, overriding pkg-config |
| 1655 | GIO_UNIX_LIBS |
| 1656 | linker flags for GIO_UNIX, overriding pkg-config |
| 1657 | GLIB_MKENUMS |
| 1658 | value of glib_mkenums for glib-2.0, overriding pkg-config |
| 1659 | systemdsystemunitdir |
| 1660 | value of systemdsystemunitdir for systemd, overriding pkg-config |
| 1661 | |
| 1662 | Use these variables to override the choices made by 'configure' or to help |
| 1663 | it to find libraries and programs with nonstandard names/locations. |
| 1664 | |
| 1665 | Report bugs to the package provider. |
| 1666 | libgpiod home page: <https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/>. |
| 1667 | _ACEOF |
| 1668 | ac_status=$? |
| 1669 | fi |
| 1670 | |
| 1671 | if testscip-shell system . . test. "$ac_init_help" = "recursive"; then |
| 1672 | # If there are subdirs, report their specific --help. |
| 1673 | for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue |
| 1674 | testscip-shell system . . test. -d "$ac_dir" || |
| 1675 | { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } || |
| 1676 | continue |
| 1677 | ac_builddir=. |
| 1678 | |
| 1679 | case "$ac_dir" in |
| 1680 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1681 | *) |
| 1682 | ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'` |
| 1683 | # A ".." for each directory in $ac_dir_suffix. |
| 1684 | ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'` |
| 1685 | case $ac_top_builddir_sub in |
| 1686 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1687 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1688 | esac ;; |
| 1689 | esac |
| 1690 | ac_abs_top_builddir=$ac_pwd |
| 1691 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1692 | # for backward compatibility: |
| 1693 | ac_top_builddir=$ac_top_build_prefix |
| 1694 | |
| 1695 | case $srcdir in |
| 1696 | .) # We are building in place. |
| 1697 | ac_srcdir=. |
| 1698 | ac_top_srcdir=$ac_top_builddir_sub |
| 1699 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1700 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1701 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1702 | ac_top_srcdir=$srcdir |
| 1703 | ac_abs_top_srcdir=$srcdir ;; |
| 1704 | *) # Relative name. |
| 1705 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1706 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1707 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1708 | esac |
| 1709 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1710 | |
| 1711 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1712 | # Check for configure.gnu first; this name is used for a wrapper for |
| 1713 | # Metaconfig's "Configure" on case-insensitive file systems. |
| 1714 | if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then |
| 1715 | echoscip-shell system . . echo. && |
| 1716 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1717 | elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then |
| 1718 | echoscip-shell system . . echo. && |
| 1719 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1720 | else |
| 1721 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1722 | fi || ac_status=$? |
| 1723 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1724 | done |
| 1725 | fi |
| 1726 | |
| 1727 | testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status |
| 1728 | if $ac_init_version; then |
| 1729 | catscip-shell system . . cat. <<\_ACEOF |
| 1730 | libgpiod configure 2.2.5 |
| 1731 | generated by GNU Autoconf 2.72 |
| 1732 | |
| 1733 | Copyright (C) 2023 Free Software Foundation, Inc. |
| 1734 | This configure script is free software; the Free Software Foundation |
| 1735 | gives unlimited permission to copy, distribute and modify it. |
| 1736 | _ACEOF |
| 1737 | exit |
| 1738 | fi |
| 1739 | |
| 1740 | ## ------------------------ ## |
| 1741 | ## Autoconf initialization. ## |
| 1742 | ## ------------------------ ## |
| 1743 | |
| 1744 | # ac_fn_c_try_compile LINENO |
| 1745 | # -------------------------- |
| 1746 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1747 | ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). () |
| 1748 | { |
| 1749 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1750 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam |
| 1751 | if { { ac_try="$ac_compile" |
| 1752 | case "(($ac_try" in |
| 1753 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1754 | *) ac_try_echo=$ac_try;; |
| 1755 | esac |
| 1756 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1757 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 1758 | (eval "$ac_compile") 2>conftest.err |
| 1759 | ac_status=$? |
| 1760 | if testscip-shell system . . test. -s conftest.err; then |
| 1761 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 1762 | catscip-shell system . . cat. conftest.er1 >&5 |
| 1763 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 1764 | fi |
| 1765 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1766 | testscip-shell system . . test. $ac_status = 0; } && { |
| 1767 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 1768 | testscip-shell system . . test. ! -s conftest.err |
| 1769 | } && testscip-shell system . . test. -s conftest.$ac_objext |
| 1770 | then : |
| 1771 | ac_retval=0 |
| 1772 | else case e in #( |
| 1773 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 1774 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 1775 | |
| 1776 | ac_retval=1 ;; |
| 1777 | esac |
| 1778 | fi |
| 1779 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1780 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 1781 | |
| 1782 | } # ac_fn_c_try_compile |
| 1783 | |
| 1784 | # ac_fn_cxx_try_compile LINENO |
| 1785 | # ---------------------------- |
| 1786 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1787 | ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). () |
| 1788 | { |
| 1789 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1790 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam |
| 1791 | if { { ac_try="$ac_compile" |
| 1792 | case "(($ac_try" in |
| 1793 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1794 | *) ac_try_echo=$ac_try;; |
| 1795 | esac |
| 1796 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1797 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 1798 | (eval "$ac_compile") 2>conftest.err |
| 1799 | ac_status=$? |
| 1800 | if testscip-shell system . . test. -s conftest.err; then |
| 1801 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 1802 | catscip-shell system . . cat. conftest.er1 >&5 |
| 1803 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 1804 | fi |
| 1805 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1806 | testscip-shell system . . test. $ac_status = 0; } && { |
| 1807 | testscip-shell system . . test. -z "$ac_cxx_werror_flag" || |
| 1808 | testscip-shell system . . test. ! -s conftest.err |
| 1809 | } && testscip-shell system . . test. -s conftest.$ac_objext |
| 1810 | then : |
| 1811 | ac_retval=0 |
| 1812 | else case e in #( |
| 1813 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 1814 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 1815 | |
| 1816 | ac_retval=1 ;; |
| 1817 | esac |
| 1818 | fi |
| 1819 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1820 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 1821 | |
| 1822 | } # ac_fn_cxx_try_compile |
| 1823 | |
| 1824 | # ac_fn_c_try_link LINENO |
| 1825 | # ----------------------- |
| 1826 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 1827 | ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). () |
| 1828 | { |
| 1829 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1830 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 1831 | if { { ac_try="$ac_link" |
| 1832 | case "(($ac_try" in |
| 1833 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1834 | *) ac_try_echo=$ac_try;; |
| 1835 | esac |
| 1836 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1837 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 1838 | (eval "$ac_link") 2>conftest.err |
| 1839 | ac_status=$? |
| 1840 | if testscip-shell system . . test. -s conftest.err; then |
| 1841 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 1842 | catscip-shell system . . cat. conftest.er1 >&5 |
| 1843 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 1844 | fi |
| 1845 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1846 | testscip-shell system . . test. $ac_status = 0; } && { |
| 1847 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 1848 | testscip-shell system . . test. ! -s conftest.err |
| 1849 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 1850 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 1851 | testscip-shell system . . test. -x conftest$ac_exeext |
| 1852 | } |
| 1853 | then : |
| 1854 | ac_retval=0 |
| 1855 | else case e in #( |
| 1856 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 1857 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 1858 | |
| 1859 | ac_retval=1 ;; |
| 1860 | esac |
| 1861 | fi |
| 1862 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 1863 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 1864 | # interfere with the next link command; also delete a directory that is |
| 1865 | # left behind by Apple's compiler. We do this before executing the actions. |
| 1866 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1867 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1868 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 1869 | |
| 1870 | } # ac_fn_c_try_link |
| 1871 | |
| 1872 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1873 | # ------------------------------------------------------- |
| 1874 | # Tests whether HEADER exists and can be compiled using the include files in |
| 1875 | # INCLUDES, setting the cache variable VAR accordingly. |
| 1876 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). () |
| 1877 | { |
| 1878 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1879 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1880 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 1881 | if eval test \${$3+y} |
| 1882 | then : |
| 1883 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 1884 | else case e in #( |
| 1885 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1886 | /* end confdefs.h. */ |
| 1887 | $4 |
| 1888 | #include <$2> |
| 1889 | _ACEOF |
| 1890 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 1891 | then : |
| 1892 | eval "$3=yes" |
| 1893 | else case e in #( |
| 1894 | e) eval "$3=no" ;; |
| 1895 | esac |
| 1896 | fi |
| 1897 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 1898 | esac |
| 1899 | fi |
| 1900 | eval ac_res=\$$3 |
| 1901 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1902 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 1903 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1904 | |
| 1905 | } # ac_fn_c_check_header_compile |
| 1906 | |
| 1907 | # ac_fn_c_check_func LINENO FUNC VAR |
| 1908 | # ---------------------------------- |
| 1909 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1910 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). () |
| 1911 | { |
| 1912 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1913 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1914 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 1915 | if eval test \${$3+y} |
| 1916 | then : |
| 1917 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 1918 | else case e in #( |
| 1919 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1920 | /* end confdefs.h. */ |
| 1921 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1922 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 1923 | #define $2 innocuous_$2 |
| 1924 | |
| 1925 | /* System header to define __stub macros and hopefully few prototypes, |
| 1926 | which can conflict with char $2 (void); below. */ |
| 1927 | |
| 1928 | #include <limits.h> |
| 1929 | #undef $2 |
| 1930 | |
| 1931 | /* Override any GCC internal prototype to avoid an error. |
| 1932 | Use char because int might match the return type of a GCC |
| 1933 | builtin and then its argument prototype would still apply. */ |
| 1934 | #ifdef __cplusplus |
| 1935 | extern "C" |
| 1936 | #endif |
| 1937 | char $2 (void); |
| 1938 | /* The GNU C library defines this for functions which it implements |
| 1939 | to always fail with ENOSYS. Some functions are actually named |
| 1940 | something starting with __ and the normal name is an alias. */ |
| 1941 | #if defined __stub_$2 || defined __stub___$2 |
| 1942 | choke me |
| 1943 | #endif |
| 1944 | |
| 1945 | int |
| 1946 | main (void) |
| 1947 | { |
| 1948 | return $2 (); |
| 1949 | ; |
| 1950 | return 0; |
| 1951 | } |
| 1952 | _ACEOF |
| 1953 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 1954 | then : |
| 1955 | eval "$3=yes" |
| 1956 | else case e in #( |
| 1957 | e) eval "$3=no" ;; |
| 1958 | esac |
| 1959 | fi |
| 1960 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 1961 | conftest$ac_exeext conftest.$ac_ext ;; |
| 1962 | esac |
| 1963 | fi |
| 1964 | eval ac_res=\$$3 |
| 1965 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1966 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 1967 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1968 | |
| 1969 | } # ac_fn_c_check_func |
| 1970 | |
| 1971 | # ac_fn_cxx_try_cpp LINENO |
| 1972 | # ------------------------ |
| 1973 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1974 | ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). () |
| 1975 | { |
| 1976 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1977 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1978 | case "(($ac_try" in |
| 1979 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1980 | *) ac_try_echo=$ac_try;; |
| 1981 | esac |
| 1982 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1983 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 1984 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1985 | ac_status=$? |
| 1986 | if testscip-shell system . . test. -s conftest.err; then |
| 1987 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 1988 | catscip-shell system . . cat. conftest.er1 >&5 |
| 1989 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 1990 | fi |
| 1991 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1992 | testscip-shell system . . test. $ac_status = 0; } > conftest.i && { |
| 1993 | testscip-shell system . . test. -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 1994 | testscip-shell system . . test. ! -s conftest.err |
| 1995 | } |
| 1996 | then : |
| 1997 | ac_retval=0 |
| 1998 | else case e in #( |
| 1999 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2000 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2001 | |
| 2002 | ac_retval=1 ;; |
| 2003 | esac |
| 2004 | fi |
| 2005 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2006 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 2007 | |
| 2008 | } # ac_fn_cxx_try_cpp |
| 2009 | |
| 2010 | # ac_fn_cxx_try_link LINENO |
| 2011 | # ------------------------- |
| 2012 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2013 | ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). () |
| 2014 | { |
| 2015 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2016 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 2017 | if { { ac_try="$ac_link" |
| 2018 | case "(($ac_try" in |
| 2019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2020 | *) ac_try_echo=$ac_try;; |
| 2021 | esac |
| 2022 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2023 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2024 | (eval "$ac_link") 2>conftest.err |
| 2025 | ac_status=$? |
| 2026 | if testscip-shell system . . test. -s conftest.err; then |
| 2027 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2028 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2029 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2030 | fi |
| 2031 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2032 | testscip-shell system . . test. $ac_status = 0; } && { |
| 2033 | testscip-shell system . . test. -z "$ac_cxx_werror_flag" || |
| 2034 | testscip-shell system . . test. ! -s conftest.err |
| 2035 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 2036 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 2037 | testscip-shell system . . test. -x conftest$ac_exeext |
| 2038 | } |
| 2039 | then : |
| 2040 | ac_retval=0 |
| 2041 | else case e in #( |
| 2042 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2043 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2044 | |
| 2045 | ac_retval=1 ;; |
| 2046 | esac |
| 2047 | fi |
| 2048 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2049 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2050 | # interfere with the next link command; also delete a directory that is |
| 2051 | # left behind by Apple's compiler. We do this before executing the actions. |
| 2052 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2053 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2054 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 2055 | |
| 2056 | } # ac_fn_cxx_try_link |
| 2057 | |
| 2058 | # ac_fn_c_try_run LINENO |
| 2059 | # ---------------------- |
| 2060 | # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
| 2061 | # executables *can* be run. |
| 2062 | ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). () |
| 2063 | { |
| 2064 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2065 | if { { ac_try="$ac_link" |
| 2066 | case "(($ac_try" in |
| 2067 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2068 | *) ac_try_echo=$ac_try;; |
| 2069 | esac |
| 2070 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2071 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2072 | (eval "$ac_link") 2>&5 |
| 2073 | ac_status=$? |
| 2074 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2075 | testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 2076 | { { case "(($ac_try" in |
| 2077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2078 | *) ac_try_echo=$ac_try;; |
| 2079 | esac |
| 2080 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2081 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2082 | (eval "$ac_try") 2>&5 |
| 2083 | ac_status=$? |
| 2084 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2085 | testscip-shell system . . test. $ac_status = 0; }; } |
| 2086 | then : |
| 2087 | ac_retval=0 |
| 2088 | else case e in #( |
| 2089 | e) printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 2090 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2091 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2092 | |
| 2093 | ac_retval=$ac_status ;; |
| 2094 | esac |
| 2095 | fi |
| 2096 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2097 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2098 | as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval |
| 2099 | |
| 2100 | } # ac_fn_c_try_run |
| 2101 | |
| 2102 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2103 | # ------------------------------------------- |
| 2104 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
| 2105 | # variable VAR accordingly. |
| 2106 | ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). () |
| 2107 | { |
| 2108 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2109 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2110 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2111 | if eval test \${$3+y} |
| 2112 | then : |
| 2113 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2114 | else case e in #( |
| 2115 | e) eval "$3=no" |
| 2116 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2117 | /* end confdefs.h. */ |
| 2118 | $4 |
| 2119 | int |
| 2120 | main (void) |
| 2121 | { |
| 2122 | if (sizeof ($2)) |
| 2123 | return 0; |
| 2124 | ; |
| 2125 | return 0; |
| 2126 | } |
| 2127 | _ACEOF |
| 2128 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 2129 | then : |
| 2130 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2131 | /* end confdefs.h. */ |
| 2132 | $4 |
| 2133 | int |
| 2134 | main (void) |
| 2135 | { |
| 2136 | if (sizeof (($2))) |
| 2137 | return 0; |
| 2138 | ; |
| 2139 | return 0; |
| 2140 | } |
| 2141 | _ACEOF |
| 2142 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 2143 | then : |
| 2144 | |
| 2145 | else case e in #( |
| 2146 | e) eval "$3=yes" ;; |
| 2147 | esac |
| 2148 | fi |
| 2149 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2150 | fi |
| 2151 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2152 | esac |
| 2153 | fi |
| 2154 | eval ac_res=\$$3 |
| 2155 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2156 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2157 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2158 | |
| 2159 | } # ac_fn_c_check_type |
| 2160 | |
| 2161 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
| 2162 | # --------------------------------------------------------- |
| 2163 | # Tests whether HEADER exists and can be compiled using the include files in |
| 2164 | # INCLUDES, setting the cache variable VAR accordingly. |
| 2165 | ac_fn_cxx_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_check_header_compile(). () |
| 2166 | { |
| 2167 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2168 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2169 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2170 | if eval test \${$3+y} |
| 2171 | then : |
| 2172 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2173 | else case e in #( |
| 2174 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2175 | /* end confdefs.h. */ |
| 2176 | $4 |
| 2177 | #include <$2> |
| 2178 | _ACEOF |
| 2179 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 2180 | then : |
| 2181 | eval "$3=yes" |
| 2182 | else case e in #( |
| 2183 | e) eval "$3=no" ;; |
| 2184 | esac |
| 2185 | fi |
| 2186 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2187 | esac |
| 2188 | fi |
| 2189 | eval ac_res=\$$3 |
| 2190 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2191 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2192 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2193 | |
| 2194 | } # ac_fn_cxx_check_header_compile |
| 2195 | ac_configure_args_raw= |
| 2196 | for ac_arg |
| 2197 | do |
| 2198 | case $ac_arg in |
| 2199 | *\'*) |
| 2200 | ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 2201 | esac |
| 2202 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args_raw " '$ac_arg'" |
| 2203 | done |
| 2204 | |
| 2205 | case $ac_configure_args_raw in |
| 2206 | *$as_nl*) |
| 2207 | ac_safe_unquote= ;; |
| 2208 | *) |
| 2209 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 2210 | ac_unsafe_a="$ac_unsafe_z#~" |
| 2211 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 2212 | ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;; |
| 2213 | esac |
| 2214 | |
| 2215 | catscip-shell system . . cat. >config.log <<_ACEOF |
| 2216 | This file contains any messages produced by compilers while |
| 2217 | running configure, to aid debugging if configure makes a mistake. |
| 2218 | |
| 2219 | It was created by libgpiod $as_me 2.2.5, which was |
| 2220 | generated by GNU Autoconf 2.72. Invocation command line was |
| 2221 | |
| 2222 | $ $0$ac_configure_args_raw |
| 2223 | |
| 2224 | _ACEOF |
| 2225 | exec 5>>config.log |
| 2226 | { |
| 2227 | catscip-shell system . . cat. <<_ASUNAME |
| 2228 | ## --------- ## |
| 2229 | ## Platform. ## |
| 2230 | ## --------- ## |
| 2231 | |
| 2232 | hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 2233 | uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2234 | uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2235 | uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2236 | uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2237 | |
| 2238 | /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2239 | /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2240 | |
| 2241 | /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2242 | /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2243 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2244 | /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2245 | /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2246 | /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2247 | /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2248 | |
| 2249 | _ASUNAME |
| 2250 | |
| 2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2252 | for as_dir in $PATH |
| 2253 | do |
| 2254 | IFS=$as_save_IFS |
| 2255 | case $as_dir in #((( |
| 2256 | '') as_dir=./ ;; |
| 2257 | */) ;; |
| 2258 | *) as_dir=$as_dir/ ;; |
| 2259 | esac |
| 2260 | printfscip-shell system . . printf. "%s\n" "PATH: $as_dir" |
| 2261 | done |
| 2262 | IFS=$as_save_IFS |
| 2263 | |
| 2264 | } >&5 |
| 2265 | |
| 2266 | catscip-shell system . . cat. >&5 <<_ACEOF |
| 2267 | |
| 2268 | |
| 2269 | ## ----------- ## |
| 2270 | ## Core tests. ## |
| 2271 | ## ----------- ## |
| 2272 | |
| 2273 | _ACEOF |
| 2274 | |
| 2275 | |
| 2276 | # Keep a trace of the command line. |
| 2277 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 2278 | # Strip out --silent because we don't want to record it for future runs. |
| 2279 | # Also quote any args containing shell meta-characters. |
| 2280 | # Make two passes to allow for proper duplicate-argument suppression. |
| 2281 | ac_configure_args= |
| 2282 | ac_configure_args0= |
| 2283 | ac_configure_args1= |
| 2284 | ac_must_keep_next=false |
| 2285 | for ac_pass in 1 2 |
| 2286 | do |
| 2287 | for ac_arg |
| 2288 | do |
| 2289 | case $ac_arg in |
| 2290 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 2291 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 2292 | | -silent | --silent | --silen | --sile | --sil) |
| 2293 | continue ;; |
| 2294 | *\'*) |
| 2295 | ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 2296 | esac |
| 2297 | case $ac_pass in |
| 2298 | 1) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;; |
| 2299 | 2) |
| 2300 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args1 " '$ac_arg'" |
| 2301 | if testscip-shell system . . test. $ac_must_keep_next = true; then |
| 2302 | ac_must_keep_next=false # Got value, back to normal. |
| 2303 | else |
| 2304 | case $ac_arg in |
| 2305 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 2306 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 2307 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 2308 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 2309 | case "$ac_configure_args0 " in |
| 2310 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 2311 | esac |
| 2312 | ;; |
| 2313 | -* ) ac_must_keep_next=true ;; |
| 2314 | esac |
| 2315 | fi |
| 2316 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" |
| 2317 | ;; |
| 2318 | esac |
| 2319 | done |
| 2320 | done |
| 2321 | { ac_configure_args0=; unset ac_configure_args0;} |
| 2322 | { ac_configure_args1=; unset ac_configure_args1;} |
| 2323 | |
| 2324 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2325 | # config.log. We remove comments because anyway the quotes in there |
| 2326 | # would cause problems or look ugly. |
| 2327 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2328 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2329 | trap 'exit_status=$? |
| 2330 | # Sanitize IFS. |
| 2331 | IFS=" "" $as_nl" |
| 2332 | # Save into config.log some information that might help in debugging. |
| 2333 | { |
| 2334 | echo |
| 2335 | |
| 2336 | printf "%s\n" "## ---------------- ## |
| 2337 | ## Cache variables. ## |
| 2338 | ## ---------------- ##" |
| 2339 | echo |
| 2340 | # The following way of writing the cache mishandles newlines in values, |
| 2341 | ( |
| 2342 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2343 | eval ac_val=\$$ac_var |
| 2344 | case $ac_val in #( |
| 2345 | *${as_nl}*) |
| 2346 | case $ac_var in #( |
| 2347 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2348 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2349 | esac |
| 2350 | case $ac_var in #( |
| 2351 | _ | IFS | as_nl) ;; #( |
| 2352 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2353 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 2354 | esac ;; |
| 2355 | esac |
| 2356 | done |
| 2357 | (set) 2>&1 | |
| 2358 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2359 | *${as_nl}ac_space=\ *) |
| 2360 | sed -n \ |
| 2361 | "s/'\''/'\''\\\\'\'''\''/g; |
| 2362 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2363 | ;; #( |
| 2364 | *) |
| 2365 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2366 | ;; |
| 2367 | esac | |
| 2368 | sort |
| 2369 | ) |
| 2370 | echo |
| 2371 | |
| 2372 | printf "%s\n" "## ----------------- ## |
| 2373 | ## Output variables. ## |
| 2374 | ## ----------------- ##" |
| 2375 | echo |
| 2376 | for ac_var in $ac_subst_vars |
| 2377 | do |
| 2378 | eval ac_val=\$$ac_var |
| 2379 | case $ac_val in |
| 2380 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2381 | esac |
| 2382 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2383 | done | sort |
| 2384 | echo |
| 2385 | |
| 2386 | if test -n "$ac_subst_files"; then |
| 2387 | printf "%s\n" "## ------------------- ## |
| 2388 | ## File substitutions. ## |
| 2389 | ## ------------------- ##" |
| 2390 | echo |
| 2391 | for ac_var in $ac_subst_files |
| 2392 | do |
| 2393 | eval ac_val=\$$ac_var |
| 2394 | case $ac_val in |
| 2395 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2396 | esac |
| 2397 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2398 | done | sort |
| 2399 | echo |
| 2400 | fi |
| 2401 | |
| 2402 | if test -s confdefs.h; then |
| 2403 | printf "%s\n" "## ----------- ## |
| 2404 | ## confdefs.h. ## |
| 2405 | ## ----------- ##" |
| 2406 | echo |
| 2407 | cat confdefs.h |
| 2408 | echo |
| 2409 | fi |
| 2410 | test "$ac_signal" != 0 && |
| 2411 | printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2412 | printf "%s\n" "$as_me: exit $exit_status" |
| 2413 | } >&5 |
| 2414 | rm -f core *.core core.conftest.* && |
| 2415 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2416 | exit $exit_status |
| 2417 | ' 0 |
| 2418 | for ac_signal in 1 2 13 15; do |
| 2419 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2420 | done |
| 2421 | ac_signal=0 |
| 2422 | |
| 2423 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2424 | rmscip-shell system . . rm. -f -r conftest* confdefs.h |
| 2425 | |
| 2426 | printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h |
| 2427 | |
| 2428 | # Predefined preprocessor variables. |
| 2429 | |
| 2430 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 2431 | |
| 2432 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 2433 | |
| 2434 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 2435 | |
| 2436 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 2437 | |
| 2438 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 2439 | |
| 2440 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 2441 | |
| 2442 | |
| 2443 | # Let the site file select an alternate cache file if it wants to. |
| 2444 | # Prefer an explicitly selected file to automatically selected ones. |
| 2445 | if testscip-shell system . . test. -n "$CONFIG_SITE"; then |
| 2446 | ac_site_files="$CONFIG_SITE" |
| 2447 | elif testscip-shell system . . test. "x$prefix" != xNONE; then |
| 2448 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 2449 | else |
| 2450 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 2451 | fi |
| 2452 | |
| 2453 | for ac_site_file in $ac_site_files |
| 2454 | do |
| 2455 | case $ac_site_file in #( |
| 2456 | */*) : |
| 2457 | ;; #( |
| 2458 | *) : |
| 2459 | ac_site_file=./$ac_site_file ;; |
| 2460 | esac |
| 2461 | if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then |
| 2462 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2463 | printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2464 | sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5 |
| 2465 | . "$ac_site_file" \ |
| 2466 | || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 2467 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 2468 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "failed to load site script $ac_site_file |
| 2469 | See 'config.log' for more details" "$LINENO" 5; } |
| 2470 | fi |
| 2471 | done |
| 2472 | |
| 2473 | if testscip-shell system . . test. -r "$cache_file"; then |
| 2474 | # Some versions of bash will fail to source /dev/null (special files |
| 2475 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2476 | if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then |
| 2477 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2478 | printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2479 | case $cache_file in |
| 2480 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2481 | *) . "./$cache_file";; |
| 2482 | esac |
| 2483 | fi |
| 2484 | else |
| 2485 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2486 | printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2487 | >$cache_file |
| 2488 | fi |
| 2489 | |
| 2490 | # Test code for whether the C compiler supports C89 (global declarations) |
| 2491 | ac_c_conftest_c89_globals=' |
| 2492 | /* Does the compiler advertise C89 conformance? |
| 2493 | Do not test the value of __STDC__, because some compilers set it to 0 |
| 2494 | while being otherwise adequately conformant. */ |
| 2495 | #if !defined __STDC__ |
| 2496 | # error "Compiler does not advertise C89 conformance" |
| 2497 | #endif |
| 2498 | |
| 2499 | #include <stddef.h> |
| 2500 | #include <stdarg.h> |
| 2501 | struct stat; |
| 2502 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 2503 | struct buf { int x; }; |
| 2504 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 2505 | static char *e (char **p, int i) |
| 2506 | { |
| 2507 | return p[i]; |
| 2508 | } |
| 2509 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 2510 | { |
| 2511 | char *s; |
| 2512 | va_list v; |
| 2513 | va_start (v,p); |
| 2514 | s = g (p, va_arg (v,int)); |
| 2515 | va_end (v); |
| 2516 | return s; |
| 2517 | } |
| 2518 | |
| 2519 | /* C89 style stringification. */ |
| 2520 | #define noexpand_stringify(a) #a |
| 2521 | const char *stringified = noexpand_stringify(arbitrary+token=sequence); |
| 2522 | |
| 2523 | /* C89 style token pasting. Exercises some of the corner cases that |
| 2524 | e.g. old MSVC gets wrong, but not very hard. */ |
| 2525 | #define noexpand_concat(a,b) a##b |
| 2526 | #define expand_concat(a,b) noexpand_concat(a,b) |
| 2527 | extern int vA; |
| 2528 | extern int vbee; |
| 2529 | #define aye A |
| 2530 | #define bee B |
| 2531 | int *pvA = &expand_concat(v,aye); |
| 2532 | int *pvbee = &noexpand_concat(v,bee); |
| 2533 | |
| 2534 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2535 | function prototypes and stuff, but not \xHH hex character constants. |
| 2536 | These do not provoke an error unfortunately, instead are silently treated |
| 2537 | as an "x". The following induces an error, until -std is added to get |
| 2538 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 2539 | array size at least. It is necessary to write \x00 == 0 to get something |
| 2540 | that is true only with -std. */ |
| 2541 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 2542 | |
| 2543 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2544 | inside strings and character constants. */ |
| 2545 | #define FOO(x) '\''x'\'' |
| 2546 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 2547 | |
| 2548 | int test (int i, double x); |
| 2549 | struct s1 {int (*f) (int a);}; |
| 2550 | struct s2 {int (*f) (double a);}; |
| 2551 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 2552 | int, int);' |
| 2553 | |
| 2554 | # Test code for whether the C compiler supports C89 (body of main). |
| 2555 | ac_c_conftest_c89_main=' |
| 2556 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 2557 | ' |
| 2558 | |
| 2559 | # Test code for whether the C compiler supports C99 (global declarations) |
| 2560 | ac_c_conftest_c99_globals=' |
| 2561 | /* Does the compiler advertise C99 conformance? */ |
| 2562 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 2563 | # error "Compiler does not advertise C99 conformance" |
| 2564 | #endif |
| 2565 | |
| 2566 | // See if C++-style comments work. |
| 2567 | |
| 2568 | #include <stdbool.h> |
| 2569 | extern int puts (const char *); |
| 2570 | extern int printf (const char *, ...); |
| 2571 | extern int dprintf (int, const char *, ...); |
| 2572 | extern void *malloc (size_t); |
| 2573 | extern void free (void *); |
| 2574 | |
| 2575 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 2576 | // dprintf is used instead of fprintf to avoid needing to declare |
| 2577 | // FILE and stderr. |
| 2578 | #define debug(...) dprintf (2, __VA_ARGS__) |
| 2579 | #define showlist(...) puts (#__VA_ARGS__) |
| 2580 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 2581 | static void |
| 2582 | test_varargs_macros (void) |
| 2583 | { |
| 2584 | int x = 1234; |
| 2585 | int y = 5678; |
| 2586 | debug ("Flag"); |
| 2587 | debug ("X = %d\n", x); |
| 2588 | showlist (The first, second, and third items.); |
| 2589 | report (x>y, "x is %d but y is %d", x, y); |
| 2590 | } |
| 2591 | |
| 2592 | // Check long long types. |
| 2593 | #define BIG64 18446744073709551615ull |
| 2594 | #define BIG32 4294967295ul |
| 2595 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 2596 | #if !BIG_OK |
| 2597 | #error "your preprocessor is broken" |
| 2598 | #endif |
| 2599 | #if BIG_OK |
| 2600 | #else |
| 2601 | #error "your preprocessor is broken" |
| 2602 | #endif |
| 2603 | static long long int bignum = -9223372036854775807LL; |
| 2604 | static unsigned long long int ubignum = BIG64; |
| 2605 | |
| 2606 | struct incomplete_array |
| 2607 | { |
| 2608 | int datasize; |
| 2609 | double data[]; |
| 2610 | }; |
| 2611 | |
| 2612 | struct named_init { |
| 2613 | int number; |
| 2614 | const wchar_t *name; |
| 2615 | double average; |
| 2616 | }; |
| 2617 | |
| 2618 | typedef const char *ccp; |
| 2619 | |
| 2620 | static inline int |
| 2621 | test_restrict (ccp restrict text) |
| 2622 | { |
| 2623 | // Iterate through items via the restricted pointer. |
| 2624 | // Also check for declarations in for loops. |
| 2625 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 2626 | continue; |
| 2627 | return 0; |
| 2628 | } |
| 2629 | |
| 2630 | // Check varargs and va_copy. |
| 2631 | static bool |
| 2632 | test_varargs (const char *format, ...) |
| 2633 | { |
| 2634 | va_list args; |
| 2635 | va_start (args, format); |
| 2636 | va_list args_copy; |
| 2637 | va_copy (args_copy, args); |
| 2638 | |
| 2639 | const char *str = ""; |
| 2640 | int number = 0; |
| 2641 | float fnumber = 0; |
| 2642 | |
| 2643 | while (*format) |
| 2644 | { |
| 2645 | switch (*format++) |
| 2646 | { |
| 2647 | case '\''s'\'': // string |
| 2648 | str = va_arg (args_copy, const char *); |
| 2649 | break; |
| 2650 | case '\''d'\'': // int |
| 2651 | number = va_arg (args_copy, int); |
| 2652 | break; |
| 2653 | case '\''f'\'': // float |
| 2654 | fnumber = va_arg (args_copy, double); |
| 2655 | break; |
| 2656 | default: |
| 2657 | break; |
| 2658 | } |
| 2659 | } |
| 2660 | va_end (args_copy); |
| 2661 | va_end (args); |
| 2662 | |
| 2663 | return *str && number && fnumber; |
| 2664 | } |
| 2665 | ' |
| 2666 | |
| 2667 | # Test code for whether the C compiler supports C99 (body of main). |
| 2668 | ac_c_conftest_c99_main=' |
| 2669 | // Check bool. |
| 2670 | _Bool success = false; |
| 2671 | success |= (argc != 0); |
| 2672 | |
| 2673 | // Check restrict. |
| 2674 | if (test_restrict ("String literal") == 0) |
| 2675 | success = true; |
| 2676 | char *restrict newvar = "Another string"; |
| 2677 | |
| 2678 | // Check varargs. |
| 2679 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 2680 | test_varargs_macros (); |
| 2681 | |
| 2682 | // Check flexible array members. |
| 2683 | struct incomplete_array *ia = |
| 2684 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 2685 | ia->datasize = 10; |
| 2686 | for (int i = 0; i < ia->datasize; ++i) |
| 2687 | ia->data[i] = i * 1.234; |
| 2688 | // Work around memory leak warnings. |
| 2689 | free (ia); |
| 2690 | |
| 2691 | // Check named initializers. |
| 2692 | struct named_init ni = { |
| 2693 | .number = 34, |
| 2694 | .name = L"Test wide string", |
| 2695 | .average = 543.34343, |
| 2696 | }; |
| 2697 | |
| 2698 | ni.number = 58; |
| 2699 | |
| 2700 | int dynamic_array[ni.number]; |
| 2701 | dynamic_array[0] = argv[0][0]; |
| 2702 | dynamic_array[ni.number - 1] = 543; |
| 2703 | |
| 2704 | // work around unused variable warnings |
| 2705 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 2706 | || dynamic_array[ni.number - 1] != 543); |
| 2707 | ' |
| 2708 | |
| 2709 | # Test code for whether the C compiler supports C11 (global declarations) |
| 2710 | ac_c_conftest_c11_globals=' |
| 2711 | /* Does the compiler advertise C11 conformance? */ |
| 2712 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 2713 | # error "Compiler does not advertise C11 conformance" |
| 2714 | #endif |
| 2715 | |
| 2716 | // Check _Alignas. |
| 2717 | char _Alignas (double) aligned_as_double; |
| 2718 | char _Alignas (0) no_special_alignment; |
| 2719 | extern char aligned_as_int; |
| 2720 | char _Alignas (0) _Alignas (int) aligned_as_int; |
| 2721 | |
| 2722 | // Check _Alignof. |
| 2723 | enum |
| 2724 | { |
| 2725 | int_alignment = _Alignof (int), |
| 2726 | int_array_alignment = _Alignof (int[100]), |
| 2727 | char_alignment = _Alignof (char) |
| 2728 | }; |
| 2729 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 2730 | |
| 2731 | // Check _Noreturn. |
| 2732 | int _Noreturn does_not_return (void) { for (;;) continue; } |
| 2733 | |
| 2734 | // Check _Static_assert. |
| 2735 | struct test_static_assert |
| 2736 | { |
| 2737 | int x; |
| 2738 | _Static_assert (sizeof (int) <= sizeof (long int), |
| 2739 | "_Static_assert does not work in struct"); |
| 2740 | long int y; |
| 2741 | }; |
| 2742 | |
| 2743 | // Check UTF-8 literals. |
| 2744 | #define u8 syntax error! |
| 2745 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 2746 | |
| 2747 | // Check duplicate typedefs. |
| 2748 | typedef long *long_ptr; |
| 2749 | typedef long int *long_ptr; |
| 2750 | typedef long_ptr long_ptr; |
| 2751 | |
| 2752 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 2753 | struct anonymous |
| 2754 | { |
| 2755 | union { |
| 2756 | struct { int i; int j; }; |
| 2757 | struct { int k; long int l; } w; |
| 2758 | }; |
| 2759 | int m; |
| 2760 | } v1; |
| 2761 | ' |
| 2762 | |
| 2763 | # Test code for whether the C compiler supports C11 (body of main). |
| 2764 | ac_c_conftest_c11_main=' |
| 2765 | _Static_assert ((offsetof (struct anonymous, i) |
| 2766 | == offsetof (struct anonymous, w.k)), |
| 2767 | "Anonymous union alignment botch"); |
| 2768 | v1.i = 2; |
| 2769 | v1.w.k = 5; |
| 2770 | ok |= v1.i != 5; |
| 2771 | ' |
| 2772 | |
| 2773 | # Test code for whether the C compiler supports C11 (complete). |
| 2774 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 2775 | ${ac_c_conftest_c99_globals} |
| 2776 | ${ac_c_conftest_c11_globals} |
| 2777 | |
| 2778 | int |
| 2779 | main (int argc, char **argv) |
| 2780 | { |
| 2781 | int ok = 0; |
| 2782 | ${ac_c_conftest_c89_main} |
| 2783 | ${ac_c_conftest_c99_main} |
| 2784 | ${ac_c_conftest_c11_main} |
| 2785 | return ok; |
| 2786 | } |
| 2787 | " |
| 2788 | |
| 2789 | # Test code for whether the C compiler supports C99 (complete). |
| 2790 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 2791 | ${ac_c_conftest_c99_globals} |
| 2792 | |
| 2793 | int |
| 2794 | main (int argc, char **argv) |
| 2795 | { |
| 2796 | int ok = 0; |
| 2797 | ${ac_c_conftest_c89_main} |
| 2798 | ${ac_c_conftest_c99_main} |
| 2799 | return ok; |
| 2800 | } |
| 2801 | " |
| 2802 | |
| 2803 | # Test code for whether the C compiler supports C89 (complete). |
| 2804 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 2805 | |
| 2806 | int |
| 2807 | main (int argc, char **argv) |
| 2808 | { |
| 2809 | int ok = 0; |
| 2810 | ${ac_c_conftest_c89_main} |
| 2811 | return ok; |
| 2812 | } |
| 2813 | " |
| 2814 | |
| 2815 | # Test code for whether the C++ compiler supports C++98 (global declarations) |
| 2816 | ac_cxx_conftest_cxx98_globals=' |
| 2817 | // Does the compiler advertise C++98 conformance? |
| 2818 | #if !defined __cplusplus || __cplusplus < 199711L |
| 2819 | # error "Compiler does not advertise C++98 conformance" |
| 2820 | #endif |
| 2821 | |
| 2822 | // These inclusions are to reject old compilers that |
| 2823 | // lack the unsuffixed header files. |
| 2824 | #include <cstdlib> |
| 2825 | #include <exception> |
| 2826 | |
| 2827 | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
| 2828 | extern void assert (int); |
| 2829 | namespace std { |
| 2830 | extern int strcmp (const char *, const char *); |
| 2831 | } |
| 2832 | |
| 2833 | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
| 2834 | using std::exception; |
| 2835 | using std::strcmp; |
| 2836 | |
| 2837 | namespace { |
| 2838 | |
| 2839 | void test_exception_syntax() |
| 2840 | { |
| 2841 | try { |
| 2842 | throw "test"; |
| 2843 | } catch (const char *s) { |
| 2844 | // Extra parentheses suppress a warning when building autoconf itself, |
| 2845 | // due to lint rules shared with more typical C programs. |
| 2846 | assert (!(strcmp) (s, "test")); |
| 2847 | } |
| 2848 | } |
| 2849 | |
| 2850 | template <typename T> struct test_template |
| 2851 | { |
| 2852 | T const val; |
| 2853 | explicit test_template(T t) : val(t) {} |
| 2854 | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
| 2855 | }; |
| 2856 | |
| 2857 | } // anonymous namespace |
| 2858 | ' |
| 2859 | |
| 2860 | # Test code for whether the C++ compiler supports C++98 (body of main) |
| 2861 | ac_cxx_conftest_cxx98_main=' |
| 2862 | assert (argc); |
| 2863 | assert (! argv[0]); |
| 2864 | { |
| 2865 | test_exception_syntax (); |
| 2866 | test_template<double> tt (2.0); |
| 2867 | assert (tt.add (4) == 6.0); |
| 2868 | assert (true && !false); |
| 2869 | } |
| 2870 | ' |
| 2871 | |
| 2872 | # Test code for whether the C++ compiler supports C++11 (global declarations) |
| 2873 | ac_cxx_conftest_cxx11_globals=' |
| 2874 | // Does the compiler advertise C++ 2011 conformance? |
| 2875 | #if !defined __cplusplus || __cplusplus < 201103L |
| 2876 | # error "Compiler does not advertise C++11 conformance" |
| 2877 | #endif |
| 2878 | |
| 2879 | namespace cxx11test |
| 2880 | { |
| 2881 | constexpr int get_val() { return 20; } |
| 2882 | |
| 2883 | struct testinit |
| 2884 | { |
| 2885 | int i; |
| 2886 | double d; |
| 2887 | }; |
| 2888 | |
| 2889 | class delegate |
| 2890 | { |
| 2891 | public: |
| 2892 | delegate(int n) : n(n) {} |
| 2893 | delegate(): delegate(2354) {} |
| 2894 | |
| 2895 | virtual int getval() { return this->n; }; |
| 2896 | protected: |
| 2897 | int n; |
| 2898 | }; |
| 2899 | |
| 2900 | class overridden : public delegate |
| 2901 | { |
| 2902 | public: |
| 2903 | overridden(int n): delegate(n) {} |
| 2904 | virtual int getval() override final { return this->n * 2; } |
| 2905 | }; |
| 2906 | |
| 2907 | class nocopy |
| 2908 | { |
| 2909 | public: |
| 2910 | nocopy(int i): i(i) {} |
| 2911 | nocopy() = default; |
| 2912 | nocopy(const nocopy&) = delete; |
| 2913 | nocopy & operator=(const nocopy&) = delete; |
| 2914 | private: |
| 2915 | int i; |
| 2916 | }; |
| 2917 | |
| 2918 | // for testing lambda expressions |
| 2919 | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
| 2920 | { |
| 2921 | return f(v); |
| 2922 | } |
| 2923 | |
| 2924 | // for testing variadic templates and trailing return types |
| 2925 | template <typename V> auto sum(V first) -> V |
| 2926 | { |
| 2927 | return first; |
| 2928 | } |
| 2929 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
| 2930 | { |
| 2931 | return first + sum(rest...); |
| 2932 | } |
| 2933 | } |
| 2934 | ' |
| 2935 | |
| 2936 | # Test code for whether the C++ compiler supports C++11 (body of main) |
| 2937 | ac_cxx_conftest_cxx11_main=' |
| 2938 | { |
| 2939 | // Test auto and decltype |
| 2940 | auto a1 = 6538; |
| 2941 | auto a2 = 48573953.4; |
| 2942 | auto a3 = "String literal"; |
| 2943 | |
| 2944 | int total = 0; |
| 2945 | for (auto i = a3; *i; ++i) { total += *i; } |
| 2946 | |
| 2947 | decltype(a2) a4 = 34895.034; |
| 2948 | } |
| 2949 | { |
| 2950 | // Test constexpr |
| 2951 | short sa[cxx11test::get_val()] = { 0 }; |
| 2952 | } |
| 2953 | { |
| 2954 | // Test initializer lists |
| 2955 | cxx11test::testinit il = { 4323, 435234.23544 }; |
| 2956 | } |
| 2957 | { |
| 2958 | // Test range-based for |
| 2959 | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
| 2960 | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
| 2961 | for (auto &x : array) { x += 23; } |
| 2962 | } |
| 2963 | { |
| 2964 | // Test lambda expressions |
| 2965 | using cxx11test::eval; |
| 2966 | assert (eval ([](int x) { return x*2; }, 21) == 42); |
| 2967 | double d = 2.0; |
| 2968 | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
| 2969 | assert (d == 5.0); |
| 2970 | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
| 2971 | assert (d == 5.0); |
| 2972 | } |
| 2973 | { |
| 2974 | // Test use of variadic templates |
| 2975 | using cxx11test::sum; |
| 2976 | auto a = sum(1); |
| 2977 | auto b = sum(1, 2); |
| 2978 | auto c = sum(1.0, 2.0, 3.0); |
| 2979 | } |
| 2980 | { |
| 2981 | // Test constructor delegation |
| 2982 | cxx11test::delegate d1; |
| 2983 | cxx11test::delegate d2(); |
| 2984 | cxx11test::delegate d3(45); |
| 2985 | } |
| 2986 | { |
| 2987 | // Test override and final |
| 2988 | cxx11test::overridden o1(55464); |
| 2989 | } |
| 2990 | { |
| 2991 | // Test nullptr |
| 2992 | char *c = nullptr; |
| 2993 | } |
| 2994 | { |
| 2995 | // Test template brackets |
| 2996 | test_template<::test_template<int>> v(test_template<int>(12)); |
| 2997 | } |
| 2998 | { |
| 2999 | // Unicode literals |
| 3000 | char const *utf8 = u8"UTF-8 string \u2500"; |
| 3001 | char16_t const *utf16 = u"UTF-8 string \u2500"; |
| 3002 | char32_t const *utf32 = U"UTF-32 string \u2500"; |
| 3003 | } |
| 3004 | ' |
| 3005 | |
| 3006 | # Test code for whether the C compiler supports C++11 (complete). |
| 3007 | ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} |
| 3008 | ${ac_cxx_conftest_cxx11_globals} |
| 3009 | |
| 3010 | int |
| 3011 | main (int argc, char **argv) |
| 3012 | { |
| 3013 | int ok = 0; |
| 3014 | ${ac_cxx_conftest_cxx98_main} |
| 3015 | ${ac_cxx_conftest_cxx11_main} |
| 3016 | return ok; |
| 3017 | } |
| 3018 | " |
| 3019 | |
| 3020 | # Test code for whether the C compiler supports C++98 (complete). |
| 3021 | ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} |
| 3022 | int |
| 3023 | main (int argc, char **argv) |
| 3024 | { |
| 3025 | int ok = 0; |
| 3026 | ${ac_cxx_conftest_cxx98_main} |
| 3027 | return ok; |
| 3028 | } |
| 3029 | " |
| 3030 | |
| 3031 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 3032 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 3033 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 3034 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 3035 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 3036 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 3037 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 3038 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 3039 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 3040 | |
| 3041 | # Auxiliary files required by this configure script. |
| 3042 | ac_aux_files="config.guess config.sub ltmain.sh compile ar-lib missing install-sh" |
| 3043 | |
| 3044 | # Locations in which to look for auxiliary files. |
| 3045 | ac_aux_dir_candidates="${srcdir}/autostuff" |
| 3046 | |
| 3047 | # Search for a directory containing all of the required auxiliary files, |
| 3048 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 3049 | # If we don't find one directory that contains all the files we need, |
| 3050 | # we report the set of missing files from the *first* directory in |
| 3051 | # $ac_aux_dir_candidates and give up. |
| 3052 | ac_missing_aux_files="" |
| 3053 | ac_first_candidate=: |
| 3054 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 3055 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3056 | as_found=false |
| 3057 | for as_dir in $ac_aux_dir_candidates |
| 3058 | do |
| 3059 | IFS=$as_save_IFS |
| 3060 | case $as_dir in #((( |
| 3061 | '') as_dir=./ ;; |
| 3062 | */) ;; |
| 3063 | *) as_dir=$as_dir/ ;; |
| 3064 | esac |
| 3065 | as_found=: |
| 3066 | |
| 3067 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 3068 | ac_aux_dir_found=yes |
| 3069 | ac_install_sh= |
| 3070 | for ac_aux in $ac_aux_files |
| 3071 | do |
| 3072 | # As a special case, if "install-sh" is required, that requirement |
| 3073 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 3074 | # and $ac_install_sh is set appropriately for whichever one is found. |
| 3075 | if testscip-shell system . . test. x"$ac_aux" = x"install-sh" |
| 3076 | then |
| 3077 | if testscip-shell system . . test. -f "${as_dir}install-sh"; then |
| 3078 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 3079 | ac_install_sh="${as_dir}install-sh -c" |
| 3080 | elif testscip-shell system . . test. -f "${as_dir}install.sh"; then |
| 3081 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 3082 | ac_install_sh="${as_dir}install.sh -c" |
| 3083 | elif testscip-shell system . . test. -f "${as_dir}shtool"; then |
| 3084 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 3085 | ac_install_sh="${as_dir}shtool install -c" |
| 3086 | else |
| 3087 | ac_aux_dir_found=no |
| 3088 | if $ac_first_candidate; then |
| 3089 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 3090 | else |
| 3091 | break |
| 3092 | fi |
| 3093 | fi |
| 3094 | else |
| 3095 | if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then |
| 3096 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 3097 | else |
| 3098 | ac_aux_dir_found=no |
| 3099 | if $ac_first_candidate; then |
| 3100 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 3101 | else |
| 3102 | break |
| 3103 | fi |
| 3104 | fi |
| 3105 | fi |
| 3106 | done |
| 3107 | if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then |
| 3108 | ac_aux_dir="$as_dir" |
| 3109 | break |
| 3110 | fi |
| 3111 | ac_first_candidate=false |
| 3112 | |
| 3113 | as_found=false |
| 3114 | done |
| 3115 | IFS=$as_save_IFS |
| 3116 | if $as_found |
| 3117 | then : |
| 3118 | |
| 3119 | else case e in #( |
| 3120 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; |
| 3121 | esac |
| 3122 | fi |
| 3123 | |
| 3124 | |
| 3125 | # These three variables are undocumented and unsupported, |
| 3126 | # and are intended to be withdrawn in a future Autoconf release. |
| 3127 | # They can cause serious problems if a builder's source tree is in a directory |
| 3128 | # whose full name contains unusual characters. |
| 3129 | if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then |
| 3130 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 3131 | fi |
| 3132 | if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then |
| 3133 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 3134 | fi |
| 3135 | if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then |
| 3136 | ac_configure="$SHELL ${ac_aux_dir}configure" |
| 3137 | fi |
| 3138 | |
| 3139 | # Check that the precious variables saved in the cache have kept the same |
| 3140 | # value. |
| 3141 | ac_cache_corrupted=false |
| 3142 | for ac_var in $ac_precious_vars; do |
| 3143 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 3144 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 3145 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 3146 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 3147 | case $ac_old_set,$ac_new_set in |
| 3148 | set,) |
| 3149 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 |
| 3150 | printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} |
| 3151 | ac_cache_corrupted=: ;; |
| 3152 | ,set) |
| 3153 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 |
| 3154 | printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} |
| 3155 | ac_cache_corrupted=: ;; |
| 3156 | ,);; |
| 3157 | *) |
| 3158 | if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then |
| 3159 | # differences in whitespace do not lead to failure. |
| 3160 | ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val` |
| 3161 | ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val` |
| 3162 | if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then |
| 3163 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 |
| 3164 | printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} |
| 3165 | ac_cache_corrupted=: |
| 3166 | else |
| 3167 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 |
| 3168 | printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} |
| 3169 | eval $ac_var=\$ac_old_val |
| 3170 | fi |
| 3171 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 |
| 3172 | printfscip-shell system . . printf. "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} |
| 3173 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 |
| 3174 | printfscip-shell system . . printf. "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} |
| 3175 | fi;; |
| 3176 | esac |
| 3177 | # Pass precious variables to config.status. |
| 3178 | if testscip-shell system . . test. "$ac_new_set" = set; then |
| 3179 | case $ac_new_val in |
| 3180 | *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 3181 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 3182 | esac |
| 3183 | case " $ac_configure_args " in |
| 3184 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 3185 | *) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" ;; |
| 3186 | esac |
| 3187 | fi |
| 3188 | done |
| 3189 | if $ac_cache_corrupted; then |
| 3190 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 3191 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 3192 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 3193 | printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 3194 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' |
| 3195 | and start over" "$LINENO" 5 |
| 3196 | fi |
| 3197 | ## -------------------- ## |
| 3198 | ## Main body of script. ## |
| 3199 | ## -------------------- ## |
| 3200 | |
| 3201 | ac_ext=c |
| 3202 | ac_cpp='$CPP $CPPFLAGS' |
| 3203 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3204 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3205 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3206 | |
| 3207 | |
| 3208 | |
| 3209 | |
| 3210 | printfscip-shell system . . printf. "%s\n" "#define GPIOD_VERSION_STR \"$PACKAGE_VERSION$EXTRA_VERSION\"" >>confdefs.h |
| 3211 | |
| 3212 | VERSION_STR=$PACKAGE_VERSION$EXTRA_VERSION |
| 3213 | |
| 3214 | |
| 3215 | # From the libtool manual: |
| 3216 | # |
| 3217 | # (...) |
| 3218 | # 3. If the library source code has changed at all since the last update, then |
| 3219 | # increment revision ('c:r:a' becomes 'c:r+1:a'). |
| 3220 | # 4. If any interfaces have been added, removed, or changed since the last |
| 3221 | # update, increment current, and set revision to 0. |
| 3222 | # 5. If any interfaces have been added since the last public release, then |
| 3223 | # increment age. |
| 3224 | # 6. If any interfaces have been removed or changed since the last public |
| 3225 | # release, then set age to 0. |
| 3226 | # |
| 3227 | # Define the libtool version as (C.R.A): |
| 3228 | # NOTE: this version only applies to the core C library. |
| 3229 | ABI_VERSION=4.4.1 |
| 3230 | |
| 3231 | # Have a separate ABI version for C++ bindings: |
| 3232 | ABI_CXX_VERSION=3.1.1 |
| 3233 | |
| 3234 | # ABI version for libgpiosim (we need this since it can be installed if we |
| 3235 | # enable tests). |
| 3236 | ABI_GPIOSIM_VERSION=1.3.0 |
| 3237 | |
| 3238 | # ... and another one for GLib bindings: |
| 3239 | ABI_GLIB_VERSION=1.0.0 |
| 3240 | |
| 3241 | |
| 3242 | |
| 3243 | |
| 3244 | am__api_version='1.17' |
| 3245 | |
| 3246 | |
| 3247 | |
| 3248 | # Find a good install program. We prefer a C program (faster), |
| 3249 | # so one script is as good as another. But avoid the broken or |
| 3250 | # incompatible versions: |
| 3251 | # SysV /etc/install, /usr/sbin/install |
| 3252 | # SunOS /usr/etc/install |
| 3253 | # IRIX /sbin/install |
| 3254 | # AIX /bin/install |
| 3255 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3256 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3257 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3258 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3259 | # OS/2's system install, which has a completely different semantic |
| 3260 | # ./install, which can be erroneously created by make from ./install.sh. |
| 3261 | # Reject install programs that cannot install multiple files. |
| 3262 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 3263 | printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; } |
| 3264 | if testscip-shell system . . test. -z "$INSTALL"; then |
| 3265 | if testscip-shell system . . test. ${ac_cv_path_install+y} |
| 3266 | then : |
| 3267 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3268 | else case e in #( |
| 3269 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3270 | for as_dir in $PATH |
| 3271 | do |
| 3272 | IFS=$as_save_IFS |
| 3273 | case $as_dir in #((( |
| 3274 | '') as_dir=./ ;; |
| 3275 | */) ;; |
| 3276 | *) as_dir=$as_dir/ ;; |
| 3277 | esac |
| 3278 | # Account for fact that we put trailing slashes in our PATH walk. |
| 3279 | case $as_dir in #(( |
| 3280 | ./ | /[cC]/* | \ |
| 3281 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3282 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3283 | /usr/ucb/* ) ;; |
| 3284 | *) |
| 3285 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3286 | # Don't use installbsd from OSF since it installs stuff as root |
| 3287 | # by default. |
| 3288 | for ac_prog in ginstall scoinst install; do |
| 3289 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3290 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then |
| 3291 | if testscip-shell system . . test. $ac_prog = install && |
| 3292 | grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3293 | # AIX install. It has an incompatible calling convention. |
| 3294 | : |
| 3295 | elif testscip-shell system . . test. $ac_prog = install && |
| 3296 | grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3297 | # program-specific install script used by HP pwplus--don't use. |
| 3298 | : |
| 3299 | else |
| 3300 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3301 | echoscip-shell system . . echo. one > conftest.one |
| 3302 | echoscip-shell system . . echo. two > conftest.two |
| 3303 | mkdirscip-shell system . . mkdir. conftest.dir |
| 3304 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" && |
| 3305 | testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two && |
| 3306 | testscip-shell system . . test. -s conftest.dir/conftest.one && |
| 3307 | testscip-shell system . . test. -s conftest.dir/conftest.two |
| 3308 | then |
| 3309 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 3310 | break 3 |
| 3311 | fi |
| 3312 | fi |
| 3313 | fi |
| 3314 | done |
| 3315 | done |
| 3316 | ;; |
| 3317 | esac |
| 3318 | |
| 3319 | done |
| 3320 | IFS=$as_save_IFS |
| 3321 | |
| 3322 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3323 | ;; |
| 3324 | esac |
| 3325 | fi |
| 3326 | if testscip-shell system . . test. ${ac_cv_path_install+y}; then |
| 3327 | INSTALL=$ac_cv_path_install |
| 3328 | else |
| 3329 | # As a last resort, use the slow shell script. Don't cache a |
| 3330 | # value for INSTALL within a source directory, because that will |
| 3331 | # break other packages using the cache if that directory is |
| 3332 | # removed, or if the value is a relative name. |
| 3333 | INSTALL=$ac_install_sh |
| 3334 | fi |
| 3335 | fi |
| 3336 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3337 | printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; } |
| 3338 | |
| 3339 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3340 | # It thinks the first close brace ends the variable substitution. |
| 3341 | testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3342 | |
| 3343 | testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3344 | |
| 3345 | testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3346 | |
| 3347 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 |
| 3348 | printfscip-shell system . . printf. %s "checking whether sleep supports fractional seconds... " >&6; } |
| 3349 | if testscip-shell system . . test. ${am_cv_sleep_fractional_seconds+y} |
| 3350 | then : |
| 3351 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3352 | else case e in #( |
| 3353 | e) if sleepscip-shell system . . sleep. 0.001 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3354 | then : |
| 3355 | am_cv_sleep_fractional_seconds=yes |
| 3356 | else case e in #( |
| 3357 | e) am_cv_sleep_fractional_seconds=no ;; |
| 3358 | esac |
| 3359 | fi |
| 3360 | ;; |
| 3361 | esac |
| 3362 | fi |
| 3363 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 |
| 3364 | printfscip-shell system . . printf. "%s\n" "$am_cv_sleep_fractional_seconds" >&6; } |
| 3365 | |
| 3366 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 |
| 3367 | printfscip-shell system . . printf. %s "checking filesystem timestamp resolution... " >&6; } |
| 3368 | if testscip-shell system . . test. ${am_cv_filesystem_timestamp_resolution+y} |
| 3369 | then : |
| 3370 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3371 | else case e in #( |
| 3372 | e) # Default to the worst case. |
| 3373 | am_cv_filesystem_timestamp_resolution=2 |
| 3374 | |
| 3375 | # Only try to go finer than 1 sec if sleep can do it. |
| 3376 | # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, |
| 3377 | # - 1 sec is not much of a win compared to 2 sec, and |
| 3378 | # - it takes 2 seconds to perform the test whether 1 sec works. |
| 3379 | # |
| 3380 | # Instead, just use the default 2s on platforms that have 1s resolution, |
| 3381 | # accept the extra 1s delay when using $sleep in the Automake tests, in |
| 3382 | # exchange for not incurring the 2s delay for running the test for all |
| 3383 | # packages. |
| 3384 | # |
| 3385 | am_try_resolutions= |
| 3386 | if testscip-shell system . . test. "$am_cv_sleep_fractional_seconds" = yes; then |
| 3387 | # Even a millisecond often causes a bunch of false positives, |
| 3388 | # so just try a hundredth of a second. The time saved between .001 and |
| 3389 | # .01 is not terribly consequential. |
| 3390 | am_try_resolutions="0.01 0.1 $am_try_resolutions" |
| 3391 | fi |
| 3392 | |
| 3393 | # In order to catch current-generation FAT out, we must *modify* files |
| 3394 | # that already exist; the *creation* timestamp is finer. Use names |
| 3395 | # that make ls -t sort them differently when they have equal |
| 3396 | # timestamps than when they have distinct timestamps, keeping |
| 3397 | # in mind that ls -t prints the *newest* file first. |
| 3398 | rmscip-shell system . . rm. -f conftest.ts? |
| 3399 | : > conftest.ts1 |
| 3400 | : > conftest.ts2 |
| 3401 | : > conftest.ts3 |
| 3402 | |
| 3403 | # Make sure ls -t actually works. Do 'set' in a subshell so we don't |
| 3404 | # clobber the current shell's arguments. (Outer-level square brackets |
| 3405 | # are removed by m4; they're present so that m4 does not expand |
| 3406 | # <dollar><star>; be careful, easy to get confused.) |
| 3407 | if ( |
| 3408 | set X `lsscip-shell system . . ls. -t conftest.ts[12]` && |
| 3409 | { |
| 3410 | testscip-shell system . . test. "$*" != "X conftest.ts1 conftest.ts2" || |
| 3411 | testscip-shell system . . test. "$*" != "X conftest.ts2 conftest.ts1"; |
| 3412 | } |
| 3413 | ); then :; else |
| 3414 | # If neither matched, then we have a broken ls. This can happen |
| 3415 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 3416 | # broken ls alias from the environment. This has actually |
| 3417 | # happened. Such a system could not be considered "sane". |
| 3418 | printfscip-shell system . . printf. "%s\n" ""Bad output from ls -t: \"`lsscip-shell system . . ls. -t conftest.ts[12]`\""" >&5 |
| 3419 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 3420 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 3421 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "ls -t produces unexpected output. |
| 3422 | Make sure there is not a broken ls alias in your environment. |
| 3423 | See 'config.log' for more details" "$LINENO" 5; } |
| 3424 | fi |
| 3425 | |
| 3426 | for am_try_res in $am_try_resolutions; do |
| 3427 | # Any one fine-grained sleep might happen to cross the boundary |
| 3428 | # between two values of a coarser actual resolution, but if we do |
| 3429 | # two fine-grained sleeps in a row, at least one of them will fall |
| 3430 | # entirely within a coarse interval. |
| 3431 | echoscip-shell system . . echo. alpha > conftest.ts1 |
| 3432 | sleepscip-shell system . . sleep. $am_try_res |
| 3433 | echoscip-shell system . . echo. beta > conftest.ts2 |
| 3434 | sleepscip-shell system . . sleep. $am_try_res |
| 3435 | echoscip-shell system . . echo. gamma > conftest.ts3 |
| 3436 | |
| 3437 | # We assume that 'ls -t' will make use of high-resolution |
| 3438 | # timestamps if the operating system supports them at all. |
| 3439 | if (set X `lsscip-shell system . . ls. -t conftest.ts?` && |
| 3440 | testscip-shell system . . test. "$2" = conftest.ts3 && |
| 3441 | testscip-shell system . . test. "$3" = conftest.ts2 && |
| 3442 | testscip-shell system . . test. "$4" = conftest.ts1); then |
| 3443 | # |
| 3444 | # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, |
| 3445 | # because we don't need to test make. |
| 3446 | make_ok=true |
| 3447 | if testscip-shell system . . test. $am_try_res != 1; then |
| 3448 | # But if we've succeeded so far with a subsecond resolution, we |
| 3449 | # have one more thing to check: make. It can happen that |
| 3450 | # everything else supports the subsecond mtimes, but make doesn't; |
| 3451 | # notably on macOS, which ships make 3.81 from 2006 (the last one |
| 3452 | # released under GPLv2). https://bugs.gnu.org/68808 |
| 3453 | # |
| 3454 | # We test $MAKE if it is defined in the environment, else "make". |
| 3455 | # It might get overridden later, but our hope is that in practice |
| 3456 | # it does not matter: it is the system "make" which is (by far) |
| 3457 | # the most likely to be broken, whereas if the user overrides it, |
| 3458 | # probably they did so with a better, or at least not worse, make. |
| 3459 | # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html |
| 3460 | # |
| 3461 | # Create a Makefile (real tab character here): |
| 3462 | rmscip-shell system . . rm. -f conftest.mk |
| 3463 | echoscip-shell system . . echo. 'conftest.ts1: conftest.ts2' >conftest.mk |
| 3464 | echoscip-shell system . . echo. ' touch conftest.ts2' >>conftest.mk |
| 3465 | # |
| 3466 | # Now, running |
| 3467 | # touch conftest.ts1; touch conftest.ts2; make |
| 3468 | # should touch ts1 because ts2 is newer. This could happen by luck, |
| 3469 | # but most often, it will fail if make's support is insufficient. So |
| 3470 | # test for several consecutive successes. |
| 3471 | # |
| 3472 | # (We reuse conftest.ts[12] because we still want to modify existing |
| 3473 | # files, not create new ones, per above.) |
| 3474 | n=0 |
| 3475 | make=${MAKE-make} |
| 3476 | until testscip-shell system . . test. $n -eq 3; do |
| 3477 | echoscip-shell system . . echo. one > conftest.ts1 |
| 3478 | sleepscip-shell system . . sleep. $am_try_res |
| 3479 | echoscip-shell system . . echo. two > conftest.ts2 # ts2 should now be newer than ts1 |
| 3480 | if $make -f conftest.mk | grepscip-shell system . . grep. 'up to date' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 3481 | make_ok=false |
| 3482 | break # out of $n loop |
| 3483 | fi |
| 3484 | n=`exprscip-shell system . . expr. $n + 1` |
| 3485 | done |
| 3486 | fi |
| 3487 | # |
| 3488 | if $make_ok; then |
| 3489 | # Everything we know to check worked out, so call this resolution good. |
| 3490 | am_cv_filesystem_timestamp_resolution=$am_try_res |
| 3491 | break # out of $am_try_res loop |
| 3492 | fi |
| 3493 | # Otherwise, we'll go on to check the next resolution. |
| 3494 | fi |
| 3495 | done |
| 3496 | rmscip-shell system . . rm. -f conftest.ts? |
| 3497 | # (end _am_filesystem_timestamp_resolution) |
| 3498 | ;; |
| 3499 | esac |
| 3500 | fi |
| 3501 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 |
| 3502 | printfscip-shell system . . printf. "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; } |
| 3503 | |
| 3504 | # This check should not be cached, as it may vary across builds of |
| 3505 | # different projects. |
| 3506 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 3507 | printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; } |
| 3508 | # Reject unsafe characters in $srcdir or the absolute working directory |
| 3509 | # name. Accept space and tab only in the latter. |
| 3510 | am_lf=' |
| 3511 | ' |
| 3512 | case `pwdscip-shell system . . pwd.` in |
| 3513 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 3514 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 3515 | esac |
| 3516 | case $srcdir in |
| 3517 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 3518 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 3519 | esac |
| 3520 | |
| 3521 | # Do 'set' in a subshell so we don't clobber the current shell's |
| 3522 | # arguments. Must try -L first in case configure is actually a |
| 3523 | # symlink; some systems play weird games with the mod time of symlinks |
| 3524 | # (eg FreeBSD returns the mod time of the symlink's containing |
| 3525 | # directory). |
| 3526 | am_build_env_is_sane=no |
| 3527 | am_has_slept=no |
| 3528 | rmscip-shell system . . rm. -f conftest.file |
| 3529 | for am_try in 1 2; do |
| 3530 | echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file |
| 3531 | if ( |
| 3532 | set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 3533 | if testscip-shell system . . test. "$*" = "X"; then |
| 3534 | # -L didn't work. |
| 3535 | set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file` |
| 3536 | fi |
| 3537 | testscip-shell system . . test. "$2" = conftest.file |
| 3538 | ); then |
| 3539 | am_build_env_is_sane=yes |
| 3540 | break |
| 3541 | fi |
| 3542 | # Just in case. |
| 3543 | sleepscip-shell system . . sleep. "$am_cv_filesystem_timestamp_resolution" |
| 3544 | am_has_slept=yes |
| 3545 | done |
| 3546 | |
| 3547 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 |
| 3548 | printfscip-shell system . . printf. "%s\n" "$am_build_env_is_sane" >&6; } |
| 3549 | if testscip-shell system . . test. "$am_build_env_is_sane" = no; then |
| 3550 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "newly created file is older than distributed files! |
| 3551 | Check your system clock" "$LINENO" 5 |
| 3552 | fi |
| 3553 | |
| 3554 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 3555 | # generated files are strictly newer. |
| 3556 | am_sleep_pid= |
| 3557 | if testscip-shell system . . test. -e conftest.file || grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 3558 | then : |
| 3559 | |
| 3560 | else case e in #( |
| 3561 | e) ( sleepscip-shell system . . sleep. "$am_cv_filesystem_timestamp_resolution" ) & |
| 3562 | am_sleep_pid=$! |
| 3563 | ;; |
| 3564 | esac |
| 3565 | fi |
| 3566 | |
| 3567 | rmscip-shell system . . rm. -f conftest.file |
| 3568 | |
| 3569 | testscip-shell system . . test. "$program_prefix" != NONE && |
| 3570 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3571 | # Use a double $ so make ignores it. |
| 3572 | testscip-shell system . . test. "$program_suffix" != NONE && |
| 3573 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3574 | # Double any \ or $. |
| 3575 | # By default was 's,x,x', remove it if useless. |
| 3576 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3577 | program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"` |
| 3578 | |
| 3579 | |
| 3580 | # Expand $ac_aux_dir to an absolute path. |
| 3581 | am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.` |
| 3582 | |
| 3583 | |
| 3584 | if testscip-shell system . . test. x"${MISSING+set}" != xset; then |
| 3585 | MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 3586 | fi |
| 3587 | # Use eval to expand $SHELL |
| 3588 | if eval "$MISSING --is-lightweight"; then |
| 3589 | am_missing_run="$MISSING " |
| 3590 | else |
| 3591 | am_missing_run= |
| 3592 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 3593 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 3594 | fi |
| 3595 | |
| 3596 | if testscip-shell system . . test. x"${install_sh+set}" != xset; then |
| 3597 | case $am_aux_dir in |
| 3598 | *\ * | *\ *) |
| 3599 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3600 | *) |
| 3601 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3602 | esac |
| 3603 | fi |
| 3604 | |
| 3605 | # Installed binaries are usually stripped using 'strip' when the user |
| 3606 | # run "make install-strip". However 'strip' might not be the right |
| 3607 | # tool to use in cross-compilation environments, therefore Automake |
| 3608 | # will honor the 'STRIP' environment variable to overrule this program. |
| 3609 | if testscip-shell system . . test. "$cross_compiling" != no; then |
| 3610 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3611 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 3612 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 3613 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3614 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3615 | if testscip-shell system . . test. ${ac_cv_prog_STRIP+y} |
| 3616 | then : |
| 3617 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3618 | else case e in #( |
| 3619 | e) if testscip-shell system . . test. -n "$STRIP"; then |
| 3620 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 3621 | else |
| 3622 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3623 | for as_dir in $PATH |
| 3624 | do |
| 3625 | IFS=$as_save_IFS |
| 3626 | case $as_dir in #((( |
| 3627 | '') as_dir=./ ;; |
| 3628 | */) ;; |
| 3629 | *) as_dir=$as_dir/ ;; |
| 3630 | esac |
| 3631 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3632 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3633 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 3634 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3635 | break 2 |
| 3636 | fi |
| 3637 | done |
| 3638 | done |
| 3639 | IFS=$as_save_IFS |
| 3640 | |
| 3641 | fi ;; |
| 3642 | esac |
| 3643 | fi |
| 3644 | STRIP=$ac_cv_prog_STRIP |
| 3645 | if testscip-shell system . . test. -n "$STRIP"; then |
| 3646 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 3647 | printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; } |
| 3648 | else |
| 3649 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3650 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3651 | fi |
| 3652 | |
| 3653 | |
| 3654 | fi |
| 3655 | if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then |
| 3656 | ac_ct_STRIP=$STRIP |
| 3657 | # Extract the first word of "strip", so it can be a program name with args. |
| 3658 | set dummy strip; ac_word=$2 |
| 3659 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3660 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3661 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y} |
| 3662 | then : |
| 3663 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3664 | else case e in #( |
| 3665 | e) if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 3666 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3667 | else |
| 3668 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3669 | for as_dir in $PATH |
| 3670 | do |
| 3671 | IFS=$as_save_IFS |
| 3672 | case $as_dir in #((( |
| 3673 | '') as_dir=./ ;; |
| 3674 | */) ;; |
| 3675 | *) as_dir=$as_dir/ ;; |
| 3676 | esac |
| 3677 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3678 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3679 | ac_cv_prog_ac_ct_STRIP="strip" |
| 3680 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3681 | break 2 |
| 3682 | fi |
| 3683 | done |
| 3684 | done |
| 3685 | IFS=$as_save_IFS |
| 3686 | |
| 3687 | fi ;; |
| 3688 | esac |
| 3689 | fi |
| 3690 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3691 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 3692 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3693 | printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; } |
| 3694 | else |
| 3695 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3696 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3697 | fi |
| 3698 | |
| 3699 | if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then |
| 3700 | STRIP=":" |
| 3701 | else |
| 3702 | case $cross_compiling:$ac_tool_warned in |
| 3703 | yes:) |
| 3704 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3705 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3706 | ac_tool_warned=yes ;; |
| 3707 | esac |
| 3708 | STRIP=$ac_ct_STRIP |
| 3709 | fi |
| 3710 | else |
| 3711 | STRIP="$ac_cv_prog_STRIP" |
| 3712 | fi |
| 3713 | |
| 3714 | fi |
| 3715 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3716 | |
| 3717 | |
| 3718 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 3719 | printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; } |
| 3720 | if testscip-shell system . . test. -z "$MKDIR_P"; then |
| 3721 | if testscip-shell system . . test. ${ac_cv_path_mkdir+y} |
| 3722 | then : |
| 3723 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3724 | else case e in #( |
| 3725 | e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3726 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 3727 | do |
| 3728 | IFS=$as_save_IFS |
| 3729 | case $as_dir in #((( |
| 3730 | '') as_dir=./ ;; |
| 3731 | */) ;; |
| 3732 | *) as_dir=$as_dir/ ;; |
| 3733 | esac |
| 3734 | for ac_prog in mkdir gmkdir; do |
| 3735 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3736 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue |
| 3737 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3738 | 'mkdir ('*'coreutils) '* | \ |
| 3739 | *'BusyBox '* | \ |
| 3740 | 'mkdir (fileutils) '4.1*) |
| 3741 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 3742 | break 3;; |
| 3743 | esac |
| 3744 | done |
| 3745 | done |
| 3746 | done |
| 3747 | IFS=$as_save_IFS |
| 3748 | ;; |
| 3749 | esac |
| 3750 | fi |
| 3751 | |
| 3752 | testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version |
| 3753 | if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then |
| 3754 | MKDIR_P="$ac_cv_path_mkdir -p" |
| 3755 | else |
| 3756 | # As a last resort, use plain mkdir -p, |
| 3757 | # in the hope it doesn't have the bugs of ancient mkdir. |
| 3758 | MKDIR_P='mkdir -p' |
| 3759 | fi |
| 3760 | fi |
| 3761 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3762 | printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; } |
| 3763 | |
| 3764 | for ac_prog in gawk mawk nawk awk |
| 3765 | do |
| 3766 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3767 | set dummy $ac_prog; ac_word=$2 |
| 3768 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3769 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3770 | if testscip-shell system . . test. ${ac_cv_prog_AWK+y} |
| 3771 | then : |
| 3772 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3773 | else case e in #( |
| 3774 | e) if testscip-shell system . . test. -n "$AWK"; then |
| 3775 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 3776 | else |
| 3777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3778 | for as_dir in $PATH |
| 3779 | do |
| 3780 | IFS=$as_save_IFS |
| 3781 | case $as_dir in #((( |
| 3782 | '') as_dir=./ ;; |
| 3783 | */) ;; |
| 3784 | *) as_dir=$as_dir/ ;; |
| 3785 | esac |
| 3786 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3787 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3788 | ac_cv_prog_AWK="$ac_prog" |
| 3789 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3790 | break 2 |
| 3791 | fi |
| 3792 | done |
| 3793 | done |
| 3794 | IFS=$as_save_IFS |
| 3795 | |
| 3796 | fi ;; |
| 3797 | esac |
| 3798 | fi |
| 3799 | AWK=$ac_cv_prog_AWK |
| 3800 | if testscip-shell system . . test. -n "$AWK"; then |
| 3801 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3802 | printfscip-shell system . . printf. "%s\n" "$AWK" >&6; } |
| 3803 | else |
| 3804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3805 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3806 | fi |
| 3807 | |
| 3808 | |
| 3809 | testscip-shell system . . test. -n "$AWK" && break |
| 3810 | done |
| 3811 | |
| 3812 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3813 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3814 | set x ${MAKE-make} |
| 3815 | ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3816 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 3817 | then : |
| 3818 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3819 | else case e in #( |
| 3820 | e) catscip-shell system . . cat. >conftest.make <<\_ACEOF |
| 3821 | SHELL = /bin/sh |
| 3822 | all: |
| 3823 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3824 | _ACEOF |
| 3825 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 3826 | case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 3827 | *@@@%%%=?*=@@@%%%*) |
| 3828 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3829 | *) |
| 3830 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3831 | esac |
| 3832 | rmscip-shell system . . rm. -f conftest.make ;; |
| 3833 | esac |
| 3834 | fi |
| 3835 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3836 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3837 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 3838 | SET_MAKE= |
| 3839 | else |
| 3840 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3841 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3842 | SET_MAKE="MAKE=${MAKE-make}" |
| 3843 | fi |
| 3844 | |
| 3845 | rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3846 | mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3847 | if testscip-shell system . . test. -d .tst; then |
| 3848 | am__leading_dot=. |
| 3849 | else |
| 3850 | am__leading_dot=_ |
| 3851 | fi |
| 3852 | rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3853 | |
| 3854 | AM_DEFAULT_VERBOSITY=1 |
| 3855 | # Check whether --enable-silent-rules was given. |
| 3856 | if testscip-shell system . . test. ${enable_silent_rules+y} |
| 3857 | then : |
| 3858 | enableval=$enable_silent_rules; |
| 3859 | fi |
| 3860 | |
| 3861 | am_make=${MAKE-make} |
| 3862 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3863 | printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; } |
| 3864 | if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y} |
| 3865 | then : |
| 3866 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3867 | else case e in #( |
| 3868 | e) if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V)) |
| 3869 | BAR0=false |
| 3870 | BAR1=true |
| 3871 | V=1 |
| 3872 | am__doit: |
| 3873 | @$(TRUE) |
| 3874 | .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3875 | am_cv_make_support_nested_variables=yes |
| 3876 | else |
| 3877 | am_cv_make_support_nested_variables=no |
| 3878 | fi ;; |
| 3879 | esac |
| 3880 | fi |
| 3881 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3882 | printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3883 | AM_BACKSLASH='\' |
| 3884 | |
| 3885 | am__rm_f_notfound= |
| 3886 | if (rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf) 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 3887 | then : |
| 3888 | |
| 3889 | else case e in #( |
| 3890 | e) am__rm_f_notfound='""' ;; |
| 3891 | esac |
| 3892 | fi |
| 3893 | |
| 3894 | |
| 3895 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 |
| 3896 | printfscip-shell system . . printf. %s "checking xargs -n works... " >&6; } |
| 3897 | if testscip-shell system . . test. ${am_cv_xargs_n_works+y} |
| 3898 | then : |
| 3899 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3900 | else case e in #( |
| 3901 | e) if testscip-shell system . . test. "`echoscip-shell system . . echo. 1 2 3 | xargsscip-shell system . . xargs. -n2 echo`" = "1 2 |
| 3902 | 3" |
| 3903 | then : |
| 3904 | am_cv_xargs_n_works=yes |
| 3905 | else case e in #( |
| 3906 | e) am_cv_xargs_n_works=no ;; |
| 3907 | esac |
| 3908 | fi ;; |
| 3909 | esac |
| 3910 | fi |
| 3911 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 |
| 3912 | printfscip-shell system . . printf. "%s\n" "$am_cv_xargs_n_works" >&6; } |
| 3913 | if testscip-shell system . . test. "$am_cv_xargs_n_works" = yes |
| 3914 | then : |
| 3915 | am__xargs_n='xargs -n' |
| 3916 | else case e in #( |
| 3917 | e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' |
| 3918 | ;; |
| 3919 | esac |
| 3920 | fi |
| 3921 | |
| 3922 | if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then |
| 3923 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3924 | # is not polluted with repeated "-I." |
| 3925 | am__isrc=' -I$(srcdir)' |
| 3926 | # test to see if srcdir already configured |
| 3927 | if testscip-shell system . . test. -f $srcdir/config.status; then |
| 3928 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 3929 | fi |
| 3930 | fi |
| 3931 | |
| 3932 | # test whether we have cygpath |
| 3933 | if testscip-shell system . . test. -z "$CYGPATH_W"; then |
| 3934 | if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 3935 | CYGPATH_W='cygpath -w' |
| 3936 | else |
| 3937 | CYGPATH_W=echo |
| 3938 | fi |
| 3939 | fi |
| 3940 | |
| 3941 | |
| 3942 | # Define the identity of the package. |
| 3943 | PACKAGE='libgpiod' |
| 3944 | VERSION='2.2.5' |
| 3945 | |
| 3946 | |
| 3947 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 3948 | |
| 3949 | |
| 3950 | printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 3951 | |
| 3952 | # Some tools Automake needs. |
| 3953 | |
| 3954 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 3955 | |
| 3956 | |
| 3957 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 3958 | |
| 3959 | |
| 3960 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 3961 | |
| 3962 | |
| 3963 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 3964 | |
| 3965 | |
| 3966 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3967 | |
| 3968 | # For better backward compatibility. To be removed once Automake 1.9.x |
| 3969 | # dies out for good. For more background, see: |
| 3970 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3971 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3972 | mkdir_p='$(MKDIR_P)' |
| 3973 | |
| 3974 | # We need awk for the "check" target (and possibly the TAP driver). The |
| 3975 | # system "awk" is bad on some platforms. |
| 3976 | # Always define AMTAR for backward compatibility. Yes, it's still used |
| 3977 | # in the wild :-( We should find a proper way to deprecate it ... |
| 3978 | AMTAR='$${TAR-tar}' |
| 3979 | |
| 3980 | |
| 3981 | # We'll loop over all known methods to create a tar archive until one works. |
| 3982 | _am_tools='gnutar pax cpio none' |
| 3983 | |
| 3984 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3985 | |
| 3986 | |
| 3987 | |
| 3988 | |
| 3989 | |
| 3990 | # Variables for tags utilities; see am/tags.am |
| 3991 | if testscip-shell system . . test. -z "$CTAGS"; then |
| 3992 | CTAGS=ctags |
| 3993 | fi |
| 3994 | |
| 3995 | if testscip-shell system . . test. -z "$ETAGS"; then |
| 3996 | ETAGS=etags |
| 3997 | fi |
| 3998 | |
| 3999 | if testscip-shell system . . test. -z "$CSCOPE"; then |
| 4000 | CSCOPE=cscope |
| 4001 | fi |
| 4002 | |
| 4003 | |
| 4004 | |
| 4005 | |
| 4006 | |
| 4007 | |
| 4008 | |
| 4009 | |
| 4010 | |
| 4011 | AM_DEFAULT_VERBOSITY=0 |
| 4012 | |
| 4013 | |
| 4014 | |
| 4015 | ac_config_headers="$ac_config_headers config.h" |
| 4016 | |
| 4017 | |
| 4018 | |
| 4019 | printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE /**/" >>confdefs.h |
| 4020 | |
| 4021 | |
| 4022 | # Silence warning: ar: 'u' modifier ignored since 'D' is the default |
| 4023 | AR_FLAGS=cr |
| 4024 | |
| 4025 | |
| 4026 | |
| 4027 | |
| 4028 | |
| 4029 | |
| 4030 | |
| 4031 | |
| 4032 | |
| 4033 | |
| 4034 | |
| 4035 | DEPDIR="${am__leading_dot}deps" |
| 4036 | |
| 4037 | ac_config_commands="$ac_config_commands depfiles" |
| 4038 | |
| 4039 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 4040 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 4041 | catscip-shell system . . cat. > confinc.mk << 'END' |
| 4042 | am__doit: |
| 4043 | @echo this is the am__doit target >confinc.out |
| 4044 | .PHONY: am__doit |
| 4045 | END |
| 4046 | am__include="#" |
| 4047 | am__quote= |
| 4048 | # BSD make does it like this. |
| 4049 | echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD |
| 4050 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 4051 | echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU |
| 4052 | _am_result=no |
| 4053 | for s in GNU BSD; do |
| 4054 | { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 4055 | (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5 |
| 4056 | ac_status=$? |
| 4057 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4058 | (exit $ac_status); } |
| 4059 | case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 4060 | '0:this is the am__doit target') : |
| 4061 | case $s in #( |
| 4062 | BSD) : |
| 4063 | am__include='.include' am__quote='"' ;; #( |
| 4064 | *) : |
| 4065 | am__include='include' am__quote='' ;; |
| 4066 | esac ;; #( |
| 4067 | *) : |
| 4068 | ;; |
| 4069 | esac |
| 4070 | if testscip-shell system . . test. "$am__include" != "#"; then |
| 4071 | _am_result="yes ($s style)" |
| 4072 | break |
| 4073 | fi |
| 4074 | done |
| 4075 | rmscip-shell system . . rm. -f confinc.* confmf.* |
| 4076 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 4077 | printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; } |
| 4078 | |
| 4079 | # Check whether --enable-dependency-tracking was given. |
| 4080 | if testscip-shell system . . test. ${enable_dependency_tracking+y} |
| 4081 | then : |
| 4082 | enableval=$enable_dependency_tracking; |
| 4083 | fi |
| 4084 | |
| 4085 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 4086 | am_depcomp="$ac_aux_dir/depcomp" |
| 4087 | AMDEPBACKSLASH='\' |
| 4088 | am__nodep='_no' |
| 4089 | fi |
| 4090 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 4091 | AMDEP_TRUE= |
| 4092 | AMDEP_FALSE='#' |
| 4093 | else |
| 4094 | AMDEP_TRUE='#' |
| 4095 | AMDEP_FALSE= |
| 4096 | fi |
| 4097 | |
| 4098 | |
| 4099 | ac_ext=c |
| 4100 | ac_cpp='$CPP $CPPFLAGS' |
| 4101 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4102 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4103 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4104 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4105 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 4106 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 4107 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4108 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4109 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4110 | then : |
| 4111 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4112 | else case e in #( |
| 4113 | e) if testscip-shell system . . test. -n "$CC"; then |
| 4114 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4115 | else |
| 4116 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4117 | for as_dir in $PATH |
| 4118 | do |
| 4119 | IFS=$as_save_IFS |
| 4120 | case $as_dir in #((( |
| 4121 | '') as_dir=./ ;; |
| 4122 | */) ;; |
| 4123 | *) as_dir=$as_dir/ ;; |
| 4124 | esac |
| 4125 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4126 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4127 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 4128 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4129 | break 2 |
| 4130 | fi |
| 4131 | done |
| 4132 | done |
| 4133 | IFS=$as_save_IFS |
| 4134 | |
| 4135 | fi ;; |
| 4136 | esac |
| 4137 | fi |
| 4138 | CC=$ac_cv_prog_CC |
| 4139 | if testscip-shell system . . test. -n "$CC"; then |
| 4140 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4141 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4142 | else |
| 4143 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4144 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4145 | fi |
| 4146 | |
| 4147 | |
| 4148 | fi |
| 4149 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 4150 | ac_ct_CC=$CC |
| 4151 | # Extract the first word of "gcc", so it can be a program name with args. |
| 4152 | set dummy gcc; ac_word=$2 |
| 4153 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4154 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4155 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 4156 | then : |
| 4157 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4158 | else case e in #( |
| 4159 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4160 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4161 | else |
| 4162 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4163 | for as_dir in $PATH |
| 4164 | do |
| 4165 | IFS=$as_save_IFS |
| 4166 | case $as_dir in #((( |
| 4167 | '') as_dir=./ ;; |
| 4168 | */) ;; |
| 4169 | *) as_dir=$as_dir/ ;; |
| 4170 | esac |
| 4171 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4172 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4173 | ac_cv_prog_ac_ct_CC="gcc" |
| 4174 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4175 | break 2 |
| 4176 | fi |
| 4177 | done |
| 4178 | done |
| 4179 | IFS=$as_save_IFS |
| 4180 | |
| 4181 | fi ;; |
| 4182 | esac |
| 4183 | fi |
| 4184 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4185 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4186 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4187 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 4188 | else |
| 4189 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4190 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4191 | fi |
| 4192 | |
| 4193 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 4194 | CC="" |
| 4195 | else |
| 4196 | case $cross_compiling:$ac_tool_warned in |
| 4197 | yes:) |
| 4198 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4199 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4200 | ac_tool_warned=yes ;; |
| 4201 | esac |
| 4202 | CC=$ac_ct_CC |
| 4203 | fi |
| 4204 | else |
| 4205 | CC="$ac_cv_prog_CC" |
| 4206 | fi |
| 4207 | |
| 4208 | if testscip-shell system . . test. -z "$CC"; then |
| 4209 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4210 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 4211 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 4212 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4213 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4214 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4215 | then : |
| 4216 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4217 | else case e in #( |
| 4218 | e) if testscip-shell system . . test. -n "$CC"; then |
| 4219 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4220 | else |
| 4221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4222 | for as_dir in $PATH |
| 4223 | do |
| 4224 | IFS=$as_save_IFS |
| 4225 | case $as_dir in #((( |
| 4226 | '') as_dir=./ ;; |
| 4227 | */) ;; |
| 4228 | *) as_dir=$as_dir/ ;; |
| 4229 | esac |
| 4230 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4231 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4232 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 4233 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4234 | break 2 |
| 4235 | fi |
| 4236 | done |
| 4237 | done |
| 4238 | IFS=$as_save_IFS |
| 4239 | |
| 4240 | fi ;; |
| 4241 | esac |
| 4242 | fi |
| 4243 | CC=$ac_cv_prog_CC |
| 4244 | if testscip-shell system . . test. -n "$CC"; then |
| 4245 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4246 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4247 | else |
| 4248 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4249 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4250 | fi |
| 4251 | |
| 4252 | |
| 4253 | fi |
| 4254 | fi |
| 4255 | if testscip-shell system . . test. -z "$CC"; then |
| 4256 | # Extract the first word of "cc", so it can be a program name with args. |
| 4257 | set dummy cc; ac_word=$2 |
| 4258 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4259 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4260 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4261 | then : |
| 4262 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4263 | else case e in #( |
| 4264 | e) if testscip-shell system . . test. -n "$CC"; then |
| 4265 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4266 | else |
| 4267 | ac_prog_rejected=no |
| 4268 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4269 | for as_dir in $PATH |
| 4270 | do |
| 4271 | IFS=$as_save_IFS |
| 4272 | case $as_dir in #((( |
| 4273 | '') as_dir=./ ;; |
| 4274 | */) ;; |
| 4275 | *) as_dir=$as_dir/ ;; |
| 4276 | esac |
| 4277 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4278 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4279 | if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 4280 | ac_prog_rejected=yes |
| 4281 | continue |
| 4282 | fi |
| 4283 | ac_cv_prog_CC="cc" |
| 4284 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4285 | break 2 |
| 4286 | fi |
| 4287 | done |
| 4288 | done |
| 4289 | IFS=$as_save_IFS |
| 4290 | |
| 4291 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 4292 | # We found a bogon in the path, so make sure we never use it. |
| 4293 | set dummy $ac_cv_prog_CC |
| 4294 | shift |
| 4295 | if testscip-shell system . . test. $# != 0; then |
| 4296 | # We chose a different compiler from the bogus one. |
| 4297 | # However, it has the same basename, so the bogon will be chosen |
| 4298 | # first if we set CC to just the basename; use the full file name. |
| 4299 | shift |
| 4300 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 4301 | fi |
| 4302 | fi |
| 4303 | fi ;; |
| 4304 | esac |
| 4305 | fi |
| 4306 | CC=$ac_cv_prog_CC |
| 4307 | if testscip-shell system . . test. -n "$CC"; then |
| 4308 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4309 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4310 | else |
| 4311 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4312 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4313 | fi |
| 4314 | |
| 4315 | |
| 4316 | fi |
| 4317 | if testscip-shell system . . test. -z "$CC"; then |
| 4318 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4319 | for ac_prog in cl.exe |
| 4320 | do |
| 4321 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 4322 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 4323 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4324 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4325 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4326 | then : |
| 4327 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4328 | else case e in #( |
| 4329 | e) if testscip-shell system . . test. -n "$CC"; then |
| 4330 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4331 | else |
| 4332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4333 | for as_dir in $PATH |
| 4334 | do |
| 4335 | IFS=$as_save_IFS |
| 4336 | case $as_dir in #((( |
| 4337 | '') as_dir=./ ;; |
| 4338 | */) ;; |
| 4339 | *) as_dir=$as_dir/ ;; |
| 4340 | esac |
| 4341 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4342 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4343 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 4344 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4345 | break 2 |
| 4346 | fi |
| 4347 | done |
| 4348 | done |
| 4349 | IFS=$as_save_IFS |
| 4350 | |
| 4351 | fi ;; |
| 4352 | esac |
| 4353 | fi |
| 4354 | CC=$ac_cv_prog_CC |
| 4355 | if testscip-shell system . . test. -n "$CC"; then |
| 4356 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4357 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4358 | else |
| 4359 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4360 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4361 | fi |
| 4362 | |
| 4363 | |
| 4364 | testscip-shell system . . test. -n "$CC" && break |
| 4365 | done |
| 4366 | fi |
| 4367 | if testscip-shell system . . test. -z "$CC"; then |
| 4368 | ac_ct_CC=$CC |
| 4369 | for ac_prog in cl.exe |
| 4370 | do |
| 4371 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4372 | set dummy $ac_prog; ac_word=$2 |
| 4373 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4374 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4375 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 4376 | then : |
| 4377 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4378 | else case e in #( |
| 4379 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4380 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4381 | else |
| 4382 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4383 | for as_dir in $PATH |
| 4384 | do |
| 4385 | IFS=$as_save_IFS |
| 4386 | case $as_dir in #((( |
| 4387 | '') as_dir=./ ;; |
| 4388 | */) ;; |
| 4389 | *) as_dir=$as_dir/ ;; |
| 4390 | esac |
| 4391 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4392 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4393 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 4394 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4395 | break 2 |
| 4396 | fi |
| 4397 | done |
| 4398 | done |
| 4399 | IFS=$as_save_IFS |
| 4400 | |
| 4401 | fi ;; |
| 4402 | esac |
| 4403 | fi |
| 4404 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4405 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4406 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4407 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 4408 | else |
| 4409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4410 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4411 | fi |
| 4412 | |
| 4413 | |
| 4414 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 4415 | done |
| 4416 | |
| 4417 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 4418 | CC="" |
| 4419 | else |
| 4420 | case $cross_compiling:$ac_tool_warned in |
| 4421 | yes:) |
| 4422 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4423 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4424 | ac_tool_warned=yes ;; |
| 4425 | esac |
| 4426 | CC=$ac_ct_CC |
| 4427 | fi |
| 4428 | fi |
| 4429 | |
| 4430 | fi |
| 4431 | if testscip-shell system . . test. -z "$CC"; then |
| 4432 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4433 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 4434 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 4435 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4436 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4437 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4438 | then : |
| 4439 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4440 | else case e in #( |
| 4441 | e) if testscip-shell system . . test. -n "$CC"; then |
| 4442 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4443 | else |
| 4444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4445 | for as_dir in $PATH |
| 4446 | do |
| 4447 | IFS=$as_save_IFS |
| 4448 | case $as_dir in #((( |
| 4449 | '') as_dir=./ ;; |
| 4450 | */) ;; |
| 4451 | *) as_dir=$as_dir/ ;; |
| 4452 | esac |
| 4453 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4454 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4455 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 4456 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4457 | break 2 |
| 4458 | fi |
| 4459 | done |
| 4460 | done |
| 4461 | IFS=$as_save_IFS |
| 4462 | |
| 4463 | fi ;; |
| 4464 | esac |
| 4465 | fi |
| 4466 | CC=$ac_cv_prog_CC |
| 4467 | if testscip-shell system . . test. -n "$CC"; then |
| 4468 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4469 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4470 | else |
| 4471 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4472 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4473 | fi |
| 4474 | |
| 4475 | |
| 4476 | fi |
| 4477 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 4478 | ac_ct_CC=$CC |
| 4479 | # Extract the first word of "clang", so it can be a program name with args. |
| 4480 | set dummy clang; ac_word=$2 |
| 4481 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4482 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4483 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 4484 | then : |
| 4485 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4486 | else case e in #( |
| 4487 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4488 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4489 | else |
| 4490 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4491 | for as_dir in $PATH |
| 4492 | do |
| 4493 | IFS=$as_save_IFS |
| 4494 | case $as_dir in #((( |
| 4495 | '') as_dir=./ ;; |
| 4496 | */) ;; |
| 4497 | *) as_dir=$as_dir/ ;; |
| 4498 | esac |
| 4499 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4500 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4501 | ac_cv_prog_ac_ct_CC="clang" |
| 4502 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4503 | break 2 |
| 4504 | fi |
| 4505 | done |
| 4506 | done |
| 4507 | IFS=$as_save_IFS |
| 4508 | |
| 4509 | fi ;; |
| 4510 | esac |
| 4511 | fi |
| 4512 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4513 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4514 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4515 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 4516 | else |
| 4517 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4518 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4519 | fi |
| 4520 | |
| 4521 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 4522 | CC="" |
| 4523 | else |
| 4524 | case $cross_compiling:$ac_tool_warned in |
| 4525 | yes:) |
| 4526 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4527 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4528 | ac_tool_warned=yes ;; |
| 4529 | esac |
| 4530 | CC=$ac_ct_CC |
| 4531 | fi |
| 4532 | else |
| 4533 | CC="$ac_cv_prog_CC" |
| 4534 | fi |
| 4535 | |
| 4536 | fi |
| 4537 | |
| 4538 | |
| 4539 | testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4540 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4541 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH |
| 4542 | See 'config.log' for more details" "$LINENO" 5; } |
| 4543 | |
| 4544 | # Provide some information about the compiler. |
| 4545 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 4546 | set X $ac_compile |
| 4547 | ac_compiler=$2 |
| 4548 | for ac_option in --version -v -V -qversion -version; do |
| 4549 | { { ac_try="$ac_compiler $ac_option >&5" |
| 4550 | case "(($ac_try" in |
| 4551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4552 | *) ac_try_echo=$ac_try;; |
| 4553 | esac |
| 4554 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4555 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4556 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4557 | ac_status=$? |
| 4558 | if testscip-shell system . . test. -s conftest.err; then |
| 4559 | sedscip-shell system . . sed. '10a\ |
| 4560 | ... rest of stderr output deleted ... |
| 4561 | 10q' conftest.err >conftest.er1 |
| 4562 | catscip-shell system . . cat. conftest.er1 >&5 |
| 4563 | fi |
| 4564 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 4565 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4566 | testscip-shell system . . test. $ac_status = 0; } |
| 4567 | done |
| 4568 | |
| 4569 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4570 | /* end confdefs.h. */ |
| 4571 | |
| 4572 | int |
| 4573 | main (void) |
| 4574 | { |
| 4575 | |
| 4576 | ; |
| 4577 | return 0; |
| 4578 | } |
| 4579 | _ACEOF |
| 4580 | ac_clean_files_save=$ac_clean_files |
| 4581 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 4582 | # Try to create an executable without -o first, disregard a.out. |
| 4583 | # It will help us diagnose broken compilers, and finding out an intuition |
| 4584 | # of exeext. |
| 4585 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 4586 | printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; } |
| 4587 | ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'` |
| 4588 | |
| 4589 | # The possible output files: |
| 4590 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 4591 | |
| 4592 | ac_rmfiles= |
| 4593 | for ac_file in $ac_files |
| 4594 | do |
| 4595 | case $ac_file in |
| 4596 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4597 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 4598 | esac |
| 4599 | done |
| 4600 | rmscip-shell system . . rm. -f $ac_rmfiles |
| 4601 | |
| 4602 | if { { ac_try="$ac_link_default" |
| 4603 | case "(($ac_try" in |
| 4604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4605 | *) ac_try_echo=$ac_try;; |
| 4606 | esac |
| 4607 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4608 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4609 | (eval "$ac_link_default") 2>&5 |
| 4610 | ac_status=$? |
| 4611 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4612 | testscip-shell system . . test. $ac_status = 0; } |
| 4613 | then : |
| 4614 | # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. |
| 4615 | # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' |
| 4616 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 4617 | # so that the user can short-circuit this test for compilers unknown to |
| 4618 | # Autoconf. |
| 4619 | for ac_file in $ac_files '' |
| 4620 | do |
| 4621 | testscip-shell system . . test. -f "$ac_file" || continue |
| 4622 | case $ac_file in |
| 4623 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 4624 | ;; |
| 4625 | [ab].out ) |
| 4626 | # We found the default executable, but exeext='' is most |
| 4627 | # certainly right. |
| 4628 | break;; |
| 4629 | *.* ) |
| 4630 | if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no; |
| 4631 | then :; else |
| 4632 | ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 4633 | fi |
| 4634 | # We set ac_cv_exeext here because the later test for it is not |
| 4635 | # safe: cross compilers may not add the suffix if given an '-o' |
| 4636 | # argument, so we may need to know it at that point already. |
| 4637 | # Even if this section looks crufty: it has the advantage of |
| 4638 | # actually working. |
| 4639 | break;; |
| 4640 | * ) |
| 4641 | break;; |
| 4642 | esac |
| 4643 | done |
| 4644 | testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext= |
| 4645 | |
| 4646 | else case e in #( |
| 4647 | e) ac_file='' ;; |
| 4648 | esac |
| 4649 | fi |
| 4650 | if testscip-shell system . . test. -z "$ac_file" |
| 4651 | then : |
| 4652 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4653 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4654 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 4655 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4656 | |
| 4657 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4658 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4659 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "C compiler cannot create executables |
| 4660 | See 'config.log' for more details" "$LINENO" 5; } |
| 4661 | else case e in #( |
| 4662 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4663 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } ;; |
| 4664 | esac |
| 4665 | fi |
| 4666 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 4667 | printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; } |
| 4668 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 4669 | printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; } |
| 4670 | ac_exeext=$ac_cv_exeext |
| 4671 | |
| 4672 | rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 4673 | ac_clean_files=$ac_clean_files_save |
| 4674 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 4675 | printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; } |
| 4676 | if { { ac_try="$ac_link" |
| 4677 | case "(($ac_try" in |
| 4678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4679 | *) ac_try_echo=$ac_try;; |
| 4680 | esac |
| 4681 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4682 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4683 | (eval "$ac_link") 2>&5 |
| 4684 | ac_status=$? |
| 4685 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4686 | testscip-shell system . . test. $ac_status = 0; } |
| 4687 | then : |
| 4688 | # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) |
| 4689 | # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will |
| 4690 | # work properly (i.e., refer to 'conftest.exe'), while it won't with |
| 4691 | # 'rm'. |
| 4692 | for ac_file in conftest.exe conftest conftest.*; do |
| 4693 | testscip-shell system . . test. -f "$ac_file" || continue |
| 4694 | case $ac_file in |
| 4695 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4696 | *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 4697 | break;; |
| 4698 | * ) break;; |
| 4699 | esac |
| 4700 | done |
| 4701 | else case e in #( |
| 4702 | e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4703 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4704 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link |
| 4705 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4706 | esac |
| 4707 | fi |
| 4708 | rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext |
| 4709 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 4710 | printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; } |
| 4711 | |
| 4712 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4713 | EXEEXT=$ac_cv_exeext |
| 4714 | ac_exeext=$EXEEXT |
| 4715 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4716 | /* end confdefs.h. */ |
| 4717 | #include <stdio.h> |
| 4718 | int |
| 4719 | main (void) |
| 4720 | { |
| 4721 | FILE *f = fopen ("conftest.out", "w"); |
| 4722 | if (!f) |
| 4723 | return 1; |
| 4724 | return ferror (f) || fclose (f) != 0; |
| 4725 | |
| 4726 | ; |
| 4727 | return 0; |
| 4728 | } |
| 4729 | _ACEOF |
| 4730 | ac_clean_files="$ac_clean_files conftest.out" |
| 4731 | # Check that the compiler produces executables we can run. If not, either |
| 4732 | # the compiler is broken, or we cross compile. |
| 4733 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4734 | printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; } |
| 4735 | if testscip-shell system . . test. "$cross_compiling" != yes; then |
| 4736 | { { ac_try="$ac_link" |
| 4737 | case "(($ac_try" in |
| 4738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4739 | *) ac_try_echo=$ac_try;; |
| 4740 | esac |
| 4741 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4742 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4743 | (eval "$ac_link") 2>&5 |
| 4744 | ac_status=$? |
| 4745 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4746 | testscip-shell system . . test. $ac_status = 0; } |
| 4747 | if { ac_try='./conftest$ac_cv_exeext' |
| 4748 | { { case "(($ac_try" in |
| 4749 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4750 | *) ac_try_echo=$ac_try;; |
| 4751 | esac |
| 4752 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4753 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4754 | (eval "$ac_try") 2>&5 |
| 4755 | ac_status=$? |
| 4756 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4757 | testscip-shell system . . test. $ac_status = 0; }; }; then |
| 4758 | cross_compiling=no |
| 4759 | else |
| 4760 | if testscip-shell system . . test. "$cross_compiling" = maybe; then |
| 4761 | cross_compiling=yes |
| 4762 | else |
| 4763 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4764 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4765 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "cannot run C compiled programs. |
| 4766 | If you meant to cross compile, use '--host'. |
| 4767 | See 'config.log' for more details" "$LINENO" 5; } |
| 4768 | fi |
| 4769 | fi |
| 4770 | fi |
| 4771 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4772 | printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; } |
| 4773 | |
| 4774 | rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext \ |
| 4775 | conftest.o conftest.obj conftest.out |
| 4776 | ac_clean_files=$ac_clean_files_save |
| 4777 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4778 | printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; } |
| 4779 | if testscip-shell system . . test. ${ac_cv_objext+y} |
| 4780 | then : |
| 4781 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4782 | else case e in #( |
| 4783 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4784 | /* end confdefs.h. */ |
| 4785 | |
| 4786 | int |
| 4787 | main (void) |
| 4788 | { |
| 4789 | |
| 4790 | ; |
| 4791 | return 0; |
| 4792 | } |
| 4793 | _ACEOF |
| 4794 | rmscip-shell system . . rm. -f conftest.o conftest.obj |
| 4795 | if { { ac_try="$ac_compile" |
| 4796 | case "(($ac_try" in |
| 4797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4798 | *) ac_try_echo=$ac_try;; |
| 4799 | esac |
| 4800 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4801 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4802 | (eval "$ac_compile") 2>&5 |
| 4803 | ac_status=$? |
| 4804 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4805 | testscip-shell system . . test. $ac_status = 0; } |
| 4806 | then : |
| 4807 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 4808 | testscip-shell system . . test. -f "$ac_file" || continue; |
| 4809 | case $ac_file in |
| 4810 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 4811 | *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'` |
| 4812 | break;; |
| 4813 | esac |
| 4814 | done |
| 4815 | else case e in #( |
| 4816 | e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 4817 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4818 | |
| 4819 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4820 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4821 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of object files: cannot compile |
| 4822 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4823 | esac |
| 4824 | fi |
| 4825 | rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext ;; |
| 4826 | esac |
| 4827 | fi |
| 4828 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4829 | printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; } |
| 4830 | OBJEXT=$ac_cv_objext |
| 4831 | ac_objext=$OBJEXT |
| 4832 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 4833 | printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; } |
| 4834 | if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y} |
| 4835 | then : |
| 4836 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4837 | else case e in #( |
| 4838 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4839 | /* end confdefs.h. */ |
| 4840 | |
| 4841 | int |
| 4842 | main (void) |
| 4843 | { |
| 4844 | #ifndef __GNUC__ |
| 4845 | choke me |
| 4846 | #endif |
| 4847 | |
| 4848 | ; |
| 4849 | return 0; |
| 4850 | } |
| 4851 | _ACEOF |
| 4852 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 4853 | then : |
| 4854 | ac_compiler_gnu=yes |
| 4855 | else case e in #( |
| 4856 | e) ac_compiler_gnu=no ;; |
| 4857 | esac |
| 4858 | fi |
| 4859 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4860 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4861 | ;; |
| 4862 | esac |
| 4863 | fi |
| 4864 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4865 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 4866 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4867 | |
| 4868 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 4869 | GCC=yes |
| 4870 | else |
| 4871 | GCC= |
| 4872 | fi |
| 4873 | ac_test_CFLAGS=${CFLAGS+y} |
| 4874 | ac_save_CFLAGS=$CFLAGS |
| 4875 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4876 | printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; } |
| 4877 | if testscip-shell system . . test. ${ac_cv_prog_cc_g+y} |
| 4878 | then : |
| 4879 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4880 | else case e in #( |
| 4881 | e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 4882 | ac_c_werror_flag=yes |
| 4883 | ac_cv_prog_cc_g=no |
| 4884 | CFLAGS="-g" |
| 4885 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4886 | /* end confdefs.h. */ |
| 4887 | |
| 4888 | int |
| 4889 | main (void) |
| 4890 | { |
| 4891 | |
| 4892 | ; |
| 4893 | return 0; |
| 4894 | } |
| 4895 | _ACEOF |
| 4896 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 4897 | then : |
| 4898 | ac_cv_prog_cc_g=yes |
| 4899 | else case e in #( |
| 4900 | e) CFLAGS="" |
| 4901 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4902 | /* end confdefs.h. */ |
| 4903 | |
| 4904 | int |
| 4905 | main (void) |
| 4906 | { |
| 4907 | |
| 4908 | ; |
| 4909 | return 0; |
| 4910 | } |
| 4911 | _ACEOF |
| 4912 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 4913 | then : |
| 4914 | |
| 4915 | else case e in #( |
| 4916 | e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 4917 | CFLAGS="-g" |
| 4918 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4919 | /* end confdefs.h. */ |
| 4920 | |
| 4921 | int |
| 4922 | main (void) |
| 4923 | { |
| 4924 | |
| 4925 | ; |
| 4926 | return 0; |
| 4927 | } |
| 4928 | _ACEOF |
| 4929 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 4930 | then : |
| 4931 | ac_cv_prog_cc_g=yes |
| 4932 | fi |
| 4933 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4934 | esac |
| 4935 | fi |
| 4936 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 4937 | esac |
| 4938 | fi |
| 4939 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4940 | ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 4941 | esac |
| 4942 | fi |
| 4943 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4944 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 4945 | if testscip-shell system . . test. $ac_test_CFLAGS; then |
| 4946 | CFLAGS=$ac_save_CFLAGS |
| 4947 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 4948 | if testscip-shell system . . test. "$GCC" = yes; then |
| 4949 | CFLAGS="-g -O2" |
| 4950 | else |
| 4951 | CFLAGS="-g" |
| 4952 | fi |
| 4953 | else |
| 4954 | if testscip-shell system . . test. "$GCC" = yes; then |
| 4955 | CFLAGS="-O2" |
| 4956 | else |
| 4957 | CFLAGS= |
| 4958 | fi |
| 4959 | fi |
| 4960 | ac_prog_cc_stdc=no |
| 4961 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 4962 | then : |
| 4963 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 4964 | printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; } |
| 4965 | if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y} |
| 4966 | then : |
| 4967 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4968 | else case e in #( |
| 4969 | e) ac_cv_prog_cc_c11=no |
| 4970 | ac_save_CC=$CC |
| 4971 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4972 | /* end confdefs.h. */ |
| 4973 | $ac_c_conftest_c11_program |
| 4974 | _ACEOF |
| 4975 | for ac_arg in '' -std=gnu11 |
| 4976 | do |
| 4977 | CC="$ac_save_CC $ac_arg" |
| 4978 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 4979 | then : |
| 4980 | ac_cv_prog_cc_c11=$ac_arg |
| 4981 | fi |
| 4982 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 4983 | testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break |
| 4984 | done |
| 4985 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4986 | CC=$ac_save_CC ;; |
| 4987 | esac |
| 4988 | fi |
| 4989 | |
| 4990 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno |
| 4991 | then : |
| 4992 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4993 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 4994 | else case e in #( |
| 4995 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x |
| 4996 | then : |
| 4997 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4998 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 4999 | else case e in #( |
| 5000 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 5001 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 5002 | CC="$CC $ac_cv_prog_cc_c11" ;; |
| 5003 | esac |
| 5004 | fi |
| 5005 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 5006 | ac_prog_cc_stdc=c11 ;; |
| 5007 | esac |
| 5008 | fi |
| 5009 | fi |
| 5010 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 5011 | then : |
| 5012 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 5013 | printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; } |
| 5014 | if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y} |
| 5015 | then : |
| 5016 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5017 | else case e in #( |
| 5018 | e) ac_cv_prog_cc_c99=no |
| 5019 | ac_save_CC=$CC |
| 5020 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5021 | /* end confdefs.h. */ |
| 5022 | $ac_c_conftest_c99_program |
| 5023 | _ACEOF |
| 5024 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 5025 | do |
| 5026 | CC="$ac_save_CC $ac_arg" |
| 5027 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 5028 | then : |
| 5029 | ac_cv_prog_cc_c99=$ac_arg |
| 5030 | fi |
| 5031 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 5032 | testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break |
| 5033 | done |
| 5034 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5035 | CC=$ac_save_CC ;; |
| 5036 | esac |
| 5037 | fi |
| 5038 | |
| 5039 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno |
| 5040 | then : |
| 5041 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5042 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 5043 | else case e in #( |
| 5044 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x |
| 5045 | then : |
| 5046 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5047 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 5048 | else case e in #( |
| 5049 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 5050 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 5051 | CC="$CC $ac_cv_prog_cc_c99" ;; |
| 5052 | esac |
| 5053 | fi |
| 5054 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 5055 | ac_prog_cc_stdc=c99 ;; |
| 5056 | esac |
| 5057 | fi |
| 5058 | fi |
| 5059 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 5060 | then : |
| 5061 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 5062 | printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; } |
| 5063 | if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y} |
| 5064 | then : |
| 5065 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5066 | else case e in #( |
| 5067 | e) ac_cv_prog_cc_c89=no |
| 5068 | ac_save_CC=$CC |
| 5069 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5070 | /* end confdefs.h. */ |
| 5071 | $ac_c_conftest_c89_program |
| 5072 | _ACEOF |
| 5073 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 5074 | do |
| 5075 | CC="$ac_save_CC $ac_arg" |
| 5076 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 5077 | then : |
| 5078 | ac_cv_prog_cc_c89=$ac_arg |
| 5079 | fi |
| 5080 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 5081 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 5082 | done |
| 5083 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5084 | CC=$ac_save_CC ;; |
| 5085 | esac |
| 5086 | fi |
| 5087 | |
| 5088 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno |
| 5089 | then : |
| 5090 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5091 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 5092 | else case e in #( |
| 5093 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x |
| 5094 | then : |
| 5095 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5096 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 5097 | else case e in #( |
| 5098 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 5099 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 5100 | CC="$CC $ac_cv_prog_cc_c89" ;; |
| 5101 | esac |
| 5102 | fi |
| 5103 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 5104 | ac_prog_cc_stdc=c89 ;; |
| 5105 | esac |
| 5106 | fi |
| 5107 | fi |
| 5108 | |
| 5109 | ac_ext=c |
| 5110 | ac_cpp='$CPP $CPPFLAGS' |
| 5111 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5112 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5113 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5114 | |
| 5115 | |
| 5116 | ac_ext=c |
| 5117 | ac_cpp='$CPP $CPPFLAGS' |
| 5118 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5119 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5120 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5121 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 5122 | printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; } |
| 5123 | if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y} |
| 5124 | then : |
| 5125 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5126 | else case e in #( |
| 5127 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5128 | /* end confdefs.h. */ |
| 5129 | |
| 5130 | int |
| 5131 | main (void) |
| 5132 | { |
| 5133 | |
| 5134 | ; |
| 5135 | return 0; |
| 5136 | } |
| 5137 | _ACEOF |
| 5138 | # Make sure it works both with $CC and with simple cc. |
| 5139 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 5140 | # compilers refuse to overwrite an existing .o file with -o, |
| 5141 | # though they will create one. |
| 5142 | am_cv_prog_cc_c_o=yes |
| 5143 | for am_i in 1 2; do |
| 5144 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 5145 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 5146 | ac_status=$? |
| 5147 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5148 | (exit $ac_status); } \ |
| 5149 | && testscip-shell system . . test. -f conftest2.$ac_objext; then |
| 5150 | : OK |
| 5151 | else |
| 5152 | am_cv_prog_cc_c_o=no |
| 5153 | break |
| 5154 | fi |
| 5155 | done |
| 5156 | rmscip-shell system . . rm. -f core conftest* |
| 5157 | unset am_i ;; |
| 5158 | esac |
| 5159 | fi |
| 5160 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 5161 | printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 5162 | if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then |
| 5163 | # Losing compiler, so override with the script. |
| 5164 | # FIXME: It is wrong to rewrite CC. |
| 5165 | # But if we don't then we get into trouble of one sort or another. |
| 5166 | # A longer-term fix would be to have automake use am__CC in this case, |
| 5167 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 5168 | CC="$am_aux_dir/compile $CC" |
| 5169 | fi |
| 5170 | ac_ext=c |
| 5171 | ac_cpp='$CPP $CPPFLAGS' |
| 5172 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5173 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5174 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5175 | |
| 5176 | |
| 5177 | depcc="$CC" am_compiler_list= |
| 5178 | |
| 5179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 5180 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 5181 | if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y} |
| 5182 | then : |
| 5183 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5184 | else case e in #( |
| 5185 | e) if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 5186 | # We make a subdir and do the tests there. Otherwise we can end up |
| 5187 | # making bogus files that we don't know about and never remove. For |
| 5188 | # instance it was reported that on HP-UX the gcc test will end up |
| 5189 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 5190 | # in D". |
| 5191 | rmscip-shell system . . rm. -rf conftest.dir |
| 5192 | mkdirscip-shell system . . mkdir. conftest.dir |
| 5193 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 5194 | # using a relative directory. |
| 5195 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 5196 | cd conftest.dir |
| 5197 | # We will build objects and dependencies in a subdirectory because |
| 5198 | # it helps to detect inapplicable dependency modes. For instance |
| 5199 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 5200 | # side effect of compilation, but ICC will put the dependencies in |
| 5201 | # the current directory while Tru64 will put them in the object |
| 5202 | # directory. |
| 5203 | mkdirscip-shell system . . mkdir. sub |
| 5204 | |
| 5205 | am_cv_CC_dependencies_compiler_type=none |
| 5206 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 5207 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 5208 | fi |
| 5209 | am__universal=false |
| 5210 | case " $depcc " in #( |
| 5211 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 5212 | esac |
| 5213 | |
| 5214 | for depmode in $am_compiler_list; do |
| 5215 | # Setup a source with many dependencies, because some compilers |
| 5216 | # like to wrap large dependency lists on column 80 (with \), and |
| 5217 | # we should not choose a depcomp mode which is confused by this. |
| 5218 | # |
| 5219 | # We need to recreate these files for each test, as the compiler may |
| 5220 | # overwrite some of them when testing with obscure command lines. |
| 5221 | # This happens at least with the AIX C compiler. |
| 5222 | : > sub/conftest.c |
| 5223 | for i in 1 2 3 4 5 6; do |
| 5224 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 5225 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 5226 | # Solaris 10 /bin/sh. |
| 5227 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 5228 | done |
| 5229 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 5230 | |
| 5231 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 5232 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 5233 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 5234 | # versions had trouble with output in subdirs. |
| 5235 | am__obj=sub/conftest.${OBJEXT-o} |
| 5236 | am__minus_obj="-o $am__obj" |
| 5237 | case $depmode in |
| 5238 | gcc) |
| 5239 | # This depmode causes a compiler race in universal mode. |
| 5240 | testscip-shell system . . test. "$am__universal" = false || continue |
| 5241 | ;; |
| 5242 | nosideeffect) |
| 5243 | # After this tag, mechanisms are not by side-effect, so they'll |
| 5244 | # only be used when explicitly requested. |
| 5245 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 5246 | continue |
| 5247 | else |
| 5248 | break |
| 5249 | fi |
| 5250 | ;; |
| 5251 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 5252 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 5253 | # not run yet. These depmodes are late enough in the game, and |
| 5254 | # so weak that their functioning should not be impacted. |
| 5255 | am__obj=conftest.${OBJEXT-o} |
| 5256 | am__minus_obj= |
| 5257 | ;; |
| 5258 | none) break ;; |
| 5259 | esac |
| 5260 | if depmode=$depmode \ |
| 5261 | source=sub/conftest.c object=$am__obj \ |
| 5262 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 5263 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 5264 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 5265 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5266 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5267 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5268 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 5269 | # icc doesn't choke on unknown options, it will just issue warnings |
| 5270 | # or remarks (even with -Werror). So we grep stderr for any message |
| 5271 | # that says an option was ignored or not supported. |
| 5272 | # When given -MP, icc 7.0 and 7.1 complain thus: |
| 5273 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 5274 | # The diagnosis changed in icc 8.0: |
| 5275 | # icc: Command line remark: option '-MP' not supported |
| 5276 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 5277 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 5278 | am_cv_CC_dependencies_compiler_type=$depmode |
| 5279 | break |
| 5280 | fi |
| 5281 | fi |
| 5282 | done |
| 5283 | |
| 5284 | cd .. |
| 5285 | rmscip-shell system . . rm. -rf conftest.dir |
| 5286 | else |
| 5287 | am_cv_CC_dependencies_compiler_type=none |
| 5288 | fi |
| 5289 | ;; |
| 5290 | esac |
| 5291 | fi |
| 5292 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 5293 | printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 5294 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 5295 | |
| 5296 | if |
| 5297 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 5298 | && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 5299 | am__fastdepCC_TRUE= |
| 5300 | am__fastdepCC_FALSE='#' |
| 5301 | else |
| 5302 | am__fastdepCC_TRUE='#' |
| 5303 | am__fastdepCC_FALSE= |
| 5304 | fi |
| 5305 | |
| 5306 | |
| 5307 | |
| 5308 | |
| 5309 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5310 | for ac_prog in ar lib "link -lib" |
| 5311 | do |
| 5312 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5313 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5314 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5315 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5316 | if testscip-shell system . . test. ${ac_cv_prog_AR+y} |
| 5317 | then : |
| 5318 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5319 | else case e in #( |
| 5320 | e) if testscip-shell system . . test. -n "$AR"; then |
| 5321 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 5322 | else |
| 5323 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5324 | for as_dir in $PATH |
| 5325 | do |
| 5326 | IFS=$as_save_IFS |
| 5327 | case $as_dir in #((( |
| 5328 | '') as_dir=./ ;; |
| 5329 | */) ;; |
| 5330 | *) as_dir=$as_dir/ ;; |
| 5331 | esac |
| 5332 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5333 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5334 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 5335 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5336 | break 2 |
| 5337 | fi |
| 5338 | done |
| 5339 | done |
| 5340 | IFS=$as_save_IFS |
| 5341 | |
| 5342 | fi ;; |
| 5343 | esac |
| 5344 | fi |
| 5345 | AR=$ac_cv_prog_AR |
| 5346 | if testscip-shell system . . test. -n "$AR"; then |
| 5347 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 5348 | printfscip-shell system . . printf. "%s\n" "$AR" >&6; } |
| 5349 | else |
| 5350 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5351 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5352 | fi |
| 5353 | |
| 5354 | |
| 5355 | testscip-shell system . . test. -n "$AR" && break |
| 5356 | done |
| 5357 | fi |
| 5358 | if testscip-shell system . . test. -z "$AR"; then |
| 5359 | ac_ct_AR=$AR |
| 5360 | for ac_prog in ar lib "link -lib" |
| 5361 | do |
| 5362 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5363 | set dummy $ac_prog; ac_word=$2 |
| 5364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5365 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5366 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y} |
| 5367 | then : |
| 5368 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5369 | else case e in #( |
| 5370 | e) if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 5371 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 5372 | else |
| 5373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5374 | for as_dir in $PATH |
| 5375 | do |
| 5376 | IFS=$as_save_IFS |
| 5377 | case $as_dir in #((( |
| 5378 | '') as_dir=./ ;; |
| 5379 | */) ;; |
| 5380 | *) as_dir=$as_dir/ ;; |
| 5381 | esac |
| 5382 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5383 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5384 | ac_cv_prog_ac_ct_AR="$ac_prog" |
| 5385 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5386 | break 2 |
| 5387 | fi |
| 5388 | done |
| 5389 | done |
| 5390 | IFS=$as_save_IFS |
| 5391 | |
| 5392 | fi ;; |
| 5393 | esac |
| 5394 | fi |
| 5395 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 5396 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 5397 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 5398 | printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; } |
| 5399 | else |
| 5400 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5401 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5402 | fi |
| 5403 | |
| 5404 | |
| 5405 | testscip-shell system . . test. -n "$ac_ct_AR" && break |
| 5406 | done |
| 5407 | |
| 5408 | if testscip-shell system . . test. "x$ac_ct_AR" = x; then |
| 5409 | AR="false" |
| 5410 | else |
| 5411 | case $cross_compiling:$ac_tool_warned in |
| 5412 | yes:) |
| 5413 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5414 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5415 | ac_tool_warned=yes ;; |
| 5416 | esac |
| 5417 | AR=$ac_ct_AR |
| 5418 | fi |
| 5419 | fi |
| 5420 | |
| 5421 | : ${AR=ar} |
| 5422 | : ${ARFLAGS=cr} |
| 5423 | |
| 5424 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 |
| 5425 | printfscip-shell system . . printf. %s "checking the archiver ($AR) interface... " >&6; } |
| 5426 | if testscip-shell system . . test. ${am_cv_ar_interface+y} |
| 5427 | then : |
| 5428 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5429 | else case e in #( |
| 5430 | e) ac_ext=c |
| 5431 | ac_cpp='$CPP $CPPFLAGS' |
| 5432 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5433 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5434 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5435 | |
| 5436 | am_cv_ar_interface=ar |
| 5437 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5438 | /* end confdefs.h. */ |
| 5439 | int some_variable = 0; |
| 5440 | _ACEOF |
| 5441 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 5442 | then : |
| 5443 | am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5' |
| 5444 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| 5445 | (eval $am_ar_try) 2>&5 |
| 5446 | ac_status=$? |
| 5447 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5448 | testscip-shell system . . test. $ac_status = 0; } |
| 5449 | if testscip-shell system . . test. "$ac_status" -eq 0; then |
| 5450 | am_cv_ar_interface=ar |
| 5451 | else |
| 5452 | am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' |
| 5453 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| 5454 | (eval $am_ar_try) 2>&5 |
| 5455 | ac_status=$? |
| 5456 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5457 | testscip-shell system . . test. $ac_status = 0; } |
| 5458 | if testscip-shell system . . test. "$ac_status" -eq 0; then |
| 5459 | am_cv_ar_interface=lib |
| 5460 | else |
| 5461 | am_cv_ar_interface=unknown |
| 5462 | fi |
| 5463 | fi |
| 5464 | rmscip-shell system . . rm. -f conftest.lib libconftest.a |
| 5465 | |
| 5466 | fi |
| 5467 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5468 | ac_ext=c |
| 5469 | ac_cpp='$CPP $CPPFLAGS' |
| 5470 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5471 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5472 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5473 | ;; |
| 5474 | esac |
| 5475 | fi |
| 5476 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 |
| 5477 | printfscip-shell system . . printf. "%s\n" "$am_cv_ar_interface" >&6; } |
| 5478 | |
| 5479 | case $am_cv_ar_interface in |
| 5480 | ar) |
| 5481 | ;; |
| 5482 | lib) |
| 5483 | # Microsoft lib, so override with the ar-lib wrapper script. |
| 5484 | # FIXME: It is wrong to rewrite AR. |
| 5485 | # But if we don't then we get into trouble of one sort or another. |
| 5486 | # A longer-term fix would be to have automake use am__AR in this case, |
| 5487 | # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something |
| 5488 | # similar. |
| 5489 | AR="$am_aux_dir/ar-lib $AR" |
| 5490 | ;; |
| 5491 | unknown) |
| 5492 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not determine $AR interface" "$LINENO" 5 |
| 5493 | ;; |
| 5494 | esac |
| 5495 | |
| 5496 | ac_ext=c |
| 5497 | ac_cpp='$CPP $CPPFLAGS' |
| 5498 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5499 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5500 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5501 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5502 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 5503 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 5504 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5505 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5506 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5507 | then : |
| 5508 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5509 | else case e in #( |
| 5510 | e) if testscip-shell system . . test. -n "$CC"; then |
| 5511 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5512 | else |
| 5513 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5514 | for as_dir in $PATH |
| 5515 | do |
| 5516 | IFS=$as_save_IFS |
| 5517 | case $as_dir in #((( |
| 5518 | '') as_dir=./ ;; |
| 5519 | */) ;; |
| 5520 | *) as_dir=$as_dir/ ;; |
| 5521 | esac |
| 5522 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5523 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5524 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 5525 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5526 | break 2 |
| 5527 | fi |
| 5528 | done |
| 5529 | done |
| 5530 | IFS=$as_save_IFS |
| 5531 | |
| 5532 | fi ;; |
| 5533 | esac |
| 5534 | fi |
| 5535 | CC=$ac_cv_prog_CC |
| 5536 | if testscip-shell system . . test. -n "$CC"; then |
| 5537 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5538 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5539 | else |
| 5540 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5541 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5542 | fi |
| 5543 | |
| 5544 | |
| 5545 | fi |
| 5546 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 5547 | ac_ct_CC=$CC |
| 5548 | # Extract the first word of "gcc", so it can be a program name with args. |
| 5549 | set dummy gcc; ac_word=$2 |
| 5550 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5551 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5552 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 5553 | then : |
| 5554 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5555 | else case e in #( |
| 5556 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5557 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5558 | else |
| 5559 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5560 | for as_dir in $PATH |
| 5561 | do |
| 5562 | IFS=$as_save_IFS |
| 5563 | case $as_dir in #((( |
| 5564 | '') as_dir=./ ;; |
| 5565 | */) ;; |
| 5566 | *) as_dir=$as_dir/ ;; |
| 5567 | esac |
| 5568 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5569 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5570 | ac_cv_prog_ac_ct_CC="gcc" |
| 5571 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5572 | break 2 |
| 5573 | fi |
| 5574 | done |
| 5575 | done |
| 5576 | IFS=$as_save_IFS |
| 5577 | |
| 5578 | fi ;; |
| 5579 | esac |
| 5580 | fi |
| 5581 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5582 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5583 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5584 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 5585 | else |
| 5586 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5587 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5588 | fi |
| 5589 | |
| 5590 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 5591 | CC="" |
| 5592 | else |
| 5593 | case $cross_compiling:$ac_tool_warned in |
| 5594 | yes:) |
| 5595 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5596 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5597 | ac_tool_warned=yes ;; |
| 5598 | esac |
| 5599 | CC=$ac_ct_CC |
| 5600 | fi |
| 5601 | else |
| 5602 | CC="$ac_cv_prog_CC" |
| 5603 | fi |
| 5604 | |
| 5605 | if testscip-shell system . . test. -z "$CC"; then |
| 5606 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5607 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 5608 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 5609 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5610 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5611 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5612 | then : |
| 5613 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5614 | else case e in #( |
| 5615 | e) if testscip-shell system . . test. -n "$CC"; then |
| 5616 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5617 | else |
| 5618 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5619 | for as_dir in $PATH |
| 5620 | do |
| 5621 | IFS=$as_save_IFS |
| 5622 | case $as_dir in #((( |
| 5623 | '') as_dir=./ ;; |
| 5624 | */) ;; |
| 5625 | *) as_dir=$as_dir/ ;; |
| 5626 | esac |
| 5627 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5628 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5629 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 5630 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5631 | break 2 |
| 5632 | fi |
| 5633 | done |
| 5634 | done |
| 5635 | IFS=$as_save_IFS |
| 5636 | |
| 5637 | fi ;; |
| 5638 | esac |
| 5639 | fi |
| 5640 | CC=$ac_cv_prog_CC |
| 5641 | if testscip-shell system . . test. -n "$CC"; then |
| 5642 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5643 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5644 | else |
| 5645 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5646 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5647 | fi |
| 5648 | |
| 5649 | |
| 5650 | fi |
| 5651 | fi |
| 5652 | if testscip-shell system . . test. -z "$CC"; then |
| 5653 | # Extract the first word of "cc", so it can be a program name with args. |
| 5654 | set dummy cc; ac_word=$2 |
| 5655 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5656 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5657 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5658 | then : |
| 5659 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5660 | else case e in #( |
| 5661 | e) if testscip-shell system . . test. -n "$CC"; then |
| 5662 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5663 | else |
| 5664 | ac_prog_rejected=no |
| 5665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5666 | for as_dir in $PATH |
| 5667 | do |
| 5668 | IFS=$as_save_IFS |
| 5669 | case $as_dir in #((( |
| 5670 | '') as_dir=./ ;; |
| 5671 | */) ;; |
| 5672 | *) as_dir=$as_dir/ ;; |
| 5673 | esac |
| 5674 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5675 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5676 | if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 5677 | ac_prog_rejected=yes |
| 5678 | continue |
| 5679 | fi |
| 5680 | ac_cv_prog_CC="cc" |
| 5681 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5682 | break 2 |
| 5683 | fi |
| 5684 | done |
| 5685 | done |
| 5686 | IFS=$as_save_IFS |
| 5687 | |
| 5688 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 5689 | # We found a bogon in the path, so make sure we never use it. |
| 5690 | set dummy $ac_cv_prog_CC |
| 5691 | shift |
| 5692 | if testscip-shell system . . test. $# != 0; then |
| 5693 | # We chose a different compiler from the bogus one. |
| 5694 | # However, it has the same basename, so the bogon will be chosen |
| 5695 | # first if we set CC to just the basename; use the full file name. |
| 5696 | shift |
| 5697 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 5698 | fi |
| 5699 | fi |
| 5700 | fi ;; |
| 5701 | esac |
| 5702 | fi |
| 5703 | CC=$ac_cv_prog_CC |
| 5704 | if testscip-shell system . . test. -n "$CC"; then |
| 5705 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5706 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5707 | else |
| 5708 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5709 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5710 | fi |
| 5711 | |
| 5712 | |
| 5713 | fi |
| 5714 | if testscip-shell system . . test. -z "$CC"; then |
| 5715 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5716 | for ac_prog in cl.exe |
| 5717 | do |
| 5718 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5719 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5720 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5721 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5722 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5723 | then : |
| 5724 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5725 | else case e in #( |
| 5726 | e) if testscip-shell system . . test. -n "$CC"; then |
| 5727 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5728 | else |
| 5729 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5730 | for as_dir in $PATH |
| 5731 | do |
| 5732 | IFS=$as_save_IFS |
| 5733 | case $as_dir in #((( |
| 5734 | '') as_dir=./ ;; |
| 5735 | */) ;; |
| 5736 | *) as_dir=$as_dir/ ;; |
| 5737 | esac |
| 5738 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5739 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5740 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 5741 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5742 | break 2 |
| 5743 | fi |
| 5744 | done |
| 5745 | done |
| 5746 | IFS=$as_save_IFS |
| 5747 | |
| 5748 | fi ;; |
| 5749 | esac |
| 5750 | fi |
| 5751 | CC=$ac_cv_prog_CC |
| 5752 | if testscip-shell system . . test. -n "$CC"; then |
| 5753 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5754 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5755 | else |
| 5756 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5757 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5758 | fi |
| 5759 | |
| 5760 | |
| 5761 | testscip-shell system . . test. -n "$CC" && break |
| 5762 | done |
| 5763 | fi |
| 5764 | if testscip-shell system . . test. -z "$CC"; then |
| 5765 | ac_ct_CC=$CC |
| 5766 | for ac_prog in cl.exe |
| 5767 | do |
| 5768 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5769 | set dummy $ac_prog; ac_word=$2 |
| 5770 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5771 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5772 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 5773 | then : |
| 5774 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5775 | else case e in #( |
| 5776 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5777 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5778 | else |
| 5779 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5780 | for as_dir in $PATH |
| 5781 | do |
| 5782 | IFS=$as_save_IFS |
| 5783 | case $as_dir in #((( |
| 5784 | '') as_dir=./ ;; |
| 5785 | */) ;; |
| 5786 | *) as_dir=$as_dir/ ;; |
| 5787 | esac |
| 5788 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5789 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5790 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 5791 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5792 | break 2 |
| 5793 | fi |
| 5794 | done |
| 5795 | done |
| 5796 | IFS=$as_save_IFS |
| 5797 | |
| 5798 | fi ;; |
| 5799 | esac |
| 5800 | fi |
| 5801 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5802 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5803 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5804 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 5805 | else |
| 5806 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5807 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5808 | fi |
| 5809 | |
| 5810 | |
| 5811 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 5812 | done |
| 5813 | |
| 5814 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 5815 | CC="" |
| 5816 | else |
| 5817 | case $cross_compiling:$ac_tool_warned in |
| 5818 | yes:) |
| 5819 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5820 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5821 | ac_tool_warned=yes ;; |
| 5822 | esac |
| 5823 | CC=$ac_ct_CC |
| 5824 | fi |
| 5825 | fi |
| 5826 | |
| 5827 | fi |
| 5828 | if testscip-shell system . . test. -z "$CC"; then |
| 5829 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5830 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 5831 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 5832 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5833 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5834 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5835 | then : |
| 5836 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5837 | else case e in #( |
| 5838 | e) if testscip-shell system . . test. -n "$CC"; then |
| 5839 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5840 | else |
| 5841 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5842 | for as_dir in $PATH |
| 5843 | do |
| 5844 | IFS=$as_save_IFS |
| 5845 | case $as_dir in #((( |
| 5846 | '') as_dir=./ ;; |
| 5847 | */) ;; |
| 5848 | *) as_dir=$as_dir/ ;; |
| 5849 | esac |
| 5850 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5851 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5852 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 5853 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5854 | break 2 |
| 5855 | fi |
| 5856 | done |
| 5857 | done |
| 5858 | IFS=$as_save_IFS |
| 5859 | |
| 5860 | fi ;; |
| 5861 | esac |
| 5862 | fi |
| 5863 | CC=$ac_cv_prog_CC |
| 5864 | if testscip-shell system . . test. -n "$CC"; then |
| 5865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5866 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5867 | else |
| 5868 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5869 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5870 | fi |
| 5871 | |
| 5872 | |
| 5873 | fi |
| 5874 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 5875 | ac_ct_CC=$CC |
| 5876 | # Extract the first word of "clang", so it can be a program name with args. |
| 5877 | set dummy clang; ac_word=$2 |
| 5878 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5879 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5880 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 5881 | then : |
| 5882 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5883 | else case e in #( |
| 5884 | e) if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5885 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5886 | else |
| 5887 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5888 | for as_dir in $PATH |
| 5889 | do |
| 5890 | IFS=$as_save_IFS |
| 5891 | case $as_dir in #((( |
| 5892 | '') as_dir=./ ;; |
| 5893 | */) ;; |
| 5894 | *) as_dir=$as_dir/ ;; |
| 5895 | esac |
| 5896 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5897 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5898 | ac_cv_prog_ac_ct_CC="clang" |
| 5899 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5900 | break 2 |
| 5901 | fi |
| 5902 | done |
| 5903 | done |
| 5904 | IFS=$as_save_IFS |
| 5905 | |
| 5906 | fi ;; |
| 5907 | esac |
| 5908 | fi |
| 5909 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5910 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5911 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5912 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 5913 | else |
| 5914 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5915 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5916 | fi |
| 5917 | |
| 5918 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 5919 | CC="" |
| 5920 | else |
| 5921 | case $cross_compiling:$ac_tool_warned in |
| 5922 | yes:) |
| 5923 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5924 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5925 | ac_tool_warned=yes ;; |
| 5926 | esac |
| 5927 | CC=$ac_ct_CC |
| 5928 | fi |
| 5929 | else |
| 5930 | CC="$ac_cv_prog_CC" |
| 5931 | fi |
| 5932 | |
| 5933 | fi |
| 5934 | |
| 5935 | |
| 5936 | testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 5937 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 5938 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH |
| 5939 | See 'config.log' for more details" "$LINENO" 5; } |
| 5940 | |
| 5941 | # Provide some information about the compiler. |
| 5942 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 5943 | set X $ac_compile |
| 5944 | ac_compiler=$2 |
| 5945 | for ac_option in --version -v -V -qversion -version; do |
| 5946 | { { ac_try="$ac_compiler $ac_option >&5" |
| 5947 | case "(($ac_try" in |
| 5948 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5949 | *) ac_try_echo=$ac_try;; |
| 5950 | esac |
| 5951 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5952 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5953 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 5954 | ac_status=$? |
| 5955 | if testscip-shell system . . test. -s conftest.err; then |
| 5956 | sedscip-shell system . . sed. '10a\ |
| 5957 | ... rest of stderr output deleted ... |
| 5958 | 10q' conftest.err >conftest.er1 |
| 5959 | catscip-shell system . . cat. conftest.er1 >&5 |
| 5960 | fi |
| 5961 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 5962 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5963 | testscip-shell system . . test. $ac_status = 0; } |
| 5964 | done |
| 5965 | |
| 5966 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 5967 | printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; } |
| 5968 | if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y} |
| 5969 | then : |
| 5970 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5971 | else case e in #( |
| 5972 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5973 | /* end confdefs.h. */ |
| 5974 | |
| 5975 | int |
| 5976 | main (void) |
| 5977 | { |
| 5978 | #ifndef __GNUC__ |
| 5979 | choke me |
| 5980 | #endif |
| 5981 | |
| 5982 | ; |
| 5983 | return 0; |
| 5984 | } |
| 5985 | _ACEOF |
| 5986 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 5987 | then : |
| 5988 | ac_compiler_gnu=yes |
| 5989 | else case e in #( |
| 5990 | e) ac_compiler_gnu=no ;; |
| 5991 | esac |
| 5992 | fi |
| 5993 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5994 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 5995 | ;; |
| 5996 | esac |
| 5997 | fi |
| 5998 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 5999 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 6000 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6001 | |
| 6002 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 6003 | GCC=yes |
| 6004 | else |
| 6005 | GCC= |
| 6006 | fi |
| 6007 | ac_test_CFLAGS=${CFLAGS+y} |
| 6008 | ac_save_CFLAGS=$CFLAGS |
| 6009 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 6010 | printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; } |
| 6011 | if testscip-shell system . . test. ${ac_cv_prog_cc_g+y} |
| 6012 | then : |
| 6013 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6014 | else case e in #( |
| 6015 | e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 6016 | ac_c_werror_flag=yes |
| 6017 | ac_cv_prog_cc_g=no |
| 6018 | CFLAGS="-g" |
| 6019 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6020 | /* end confdefs.h. */ |
| 6021 | |
| 6022 | int |
| 6023 | main (void) |
| 6024 | { |
| 6025 | |
| 6026 | ; |
| 6027 | return 0; |
| 6028 | } |
| 6029 | _ACEOF |
| 6030 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6031 | then : |
| 6032 | ac_cv_prog_cc_g=yes |
| 6033 | else case e in #( |
| 6034 | e) CFLAGS="" |
| 6035 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6036 | /* end confdefs.h. */ |
| 6037 | |
| 6038 | int |
| 6039 | main (void) |
| 6040 | { |
| 6041 | |
| 6042 | ; |
| 6043 | return 0; |
| 6044 | } |
| 6045 | _ACEOF |
| 6046 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6047 | then : |
| 6048 | |
| 6049 | else case e in #( |
| 6050 | e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 6051 | CFLAGS="-g" |
| 6052 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6053 | /* end confdefs.h. */ |
| 6054 | |
| 6055 | int |
| 6056 | main (void) |
| 6057 | { |
| 6058 | |
| 6059 | ; |
| 6060 | return 0; |
| 6061 | } |
| 6062 | _ACEOF |
| 6063 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6064 | then : |
| 6065 | ac_cv_prog_cc_g=yes |
| 6066 | fi |
| 6067 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6068 | esac |
| 6069 | fi |
| 6070 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6071 | esac |
| 6072 | fi |
| 6073 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6074 | ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 6075 | esac |
| 6076 | fi |
| 6077 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 6078 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 6079 | if testscip-shell system . . test. $ac_test_CFLAGS; then |
| 6080 | CFLAGS=$ac_save_CFLAGS |
| 6081 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 6082 | if testscip-shell system . . test. "$GCC" = yes; then |
| 6083 | CFLAGS="-g -O2" |
| 6084 | else |
| 6085 | CFLAGS="-g" |
| 6086 | fi |
| 6087 | else |
| 6088 | if testscip-shell system . . test. "$GCC" = yes; then |
| 6089 | CFLAGS="-O2" |
| 6090 | else |
| 6091 | CFLAGS= |
| 6092 | fi |
| 6093 | fi |
| 6094 | ac_prog_cc_stdc=no |
| 6095 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 6096 | then : |
| 6097 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 6098 | printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; } |
| 6099 | if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y} |
| 6100 | then : |
| 6101 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6102 | else case e in #( |
| 6103 | e) ac_cv_prog_cc_c11=no |
| 6104 | ac_save_CC=$CC |
| 6105 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6106 | /* end confdefs.h. */ |
| 6107 | $ac_c_conftest_c11_program |
| 6108 | _ACEOF |
| 6109 | for ac_arg in '' -std=gnu11 |
| 6110 | do |
| 6111 | CC="$ac_save_CC $ac_arg" |
| 6112 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6113 | then : |
| 6114 | ac_cv_prog_cc_c11=$ac_arg |
| 6115 | fi |
| 6116 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 6117 | testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break |
| 6118 | done |
| 6119 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 6120 | CC=$ac_save_CC ;; |
| 6121 | esac |
| 6122 | fi |
| 6123 | |
| 6124 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno |
| 6125 | then : |
| 6126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6127 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 6128 | else case e in #( |
| 6129 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x |
| 6130 | then : |
| 6131 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6132 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 6133 | else case e in #( |
| 6134 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 6135 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 6136 | CC="$CC $ac_cv_prog_cc_c11" ;; |
| 6137 | esac |
| 6138 | fi |
| 6139 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 6140 | ac_prog_cc_stdc=c11 ;; |
| 6141 | esac |
| 6142 | fi |
| 6143 | fi |
| 6144 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 6145 | then : |
| 6146 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 6147 | printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; } |
| 6148 | if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y} |
| 6149 | then : |
| 6150 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6151 | else case e in #( |
| 6152 | e) ac_cv_prog_cc_c99=no |
| 6153 | ac_save_CC=$CC |
| 6154 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6155 | /* end confdefs.h. */ |
| 6156 | $ac_c_conftest_c99_program |
| 6157 | _ACEOF |
| 6158 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 6159 | do |
| 6160 | CC="$ac_save_CC $ac_arg" |
| 6161 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6162 | then : |
| 6163 | ac_cv_prog_cc_c99=$ac_arg |
| 6164 | fi |
| 6165 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 6166 | testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break |
| 6167 | done |
| 6168 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 6169 | CC=$ac_save_CC ;; |
| 6170 | esac |
| 6171 | fi |
| 6172 | |
| 6173 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno |
| 6174 | then : |
| 6175 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6176 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 6177 | else case e in #( |
| 6178 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x |
| 6179 | then : |
| 6180 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6181 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 6182 | else case e in #( |
| 6183 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 6184 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 6185 | CC="$CC $ac_cv_prog_cc_c99" ;; |
| 6186 | esac |
| 6187 | fi |
| 6188 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 6189 | ac_prog_cc_stdc=c99 ;; |
| 6190 | esac |
| 6191 | fi |
| 6192 | fi |
| 6193 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 6194 | then : |
| 6195 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 6196 | printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; } |
| 6197 | if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y} |
| 6198 | then : |
| 6199 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6200 | else case e in #( |
| 6201 | e) ac_cv_prog_cc_c89=no |
| 6202 | ac_save_CC=$CC |
| 6203 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6204 | /* end confdefs.h. */ |
| 6205 | $ac_c_conftest_c89_program |
| 6206 | _ACEOF |
| 6207 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 6208 | do |
| 6209 | CC="$ac_save_CC $ac_arg" |
| 6210 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 6211 | then : |
| 6212 | ac_cv_prog_cc_c89=$ac_arg |
| 6213 | fi |
| 6214 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 6215 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 6216 | done |
| 6217 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 6218 | CC=$ac_save_CC ;; |
| 6219 | esac |
| 6220 | fi |
| 6221 | |
| 6222 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno |
| 6223 | then : |
| 6224 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6225 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 6226 | else case e in #( |
| 6227 | e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x |
| 6228 | then : |
| 6229 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6230 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 6231 | else case e in #( |
| 6232 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 6233 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 6234 | CC="$CC $ac_cv_prog_cc_c89" ;; |
| 6235 | esac |
| 6236 | fi |
| 6237 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 6238 | ac_prog_cc_stdc=c89 ;; |
| 6239 | esac |
| 6240 | fi |
| 6241 | fi |
| 6242 | |
| 6243 | ac_ext=c |
| 6244 | ac_cpp='$CPP $CPPFLAGS' |
| 6245 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6246 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6247 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6248 | |
| 6249 | |
| 6250 | ac_ext=c |
| 6251 | ac_cpp='$CPP $CPPFLAGS' |
| 6252 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6253 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6254 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6255 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 6256 | printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; } |
| 6257 | if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y} |
| 6258 | then : |
| 6259 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6260 | else case e in #( |
| 6261 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6262 | /* end confdefs.h. */ |
| 6263 | |
| 6264 | int |
| 6265 | main (void) |
| 6266 | { |
| 6267 | |
| 6268 | ; |
| 6269 | return 0; |
| 6270 | } |
| 6271 | _ACEOF |
| 6272 | # Make sure it works both with $CC and with simple cc. |
| 6273 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 6274 | # compilers refuse to overwrite an existing .o file with -o, |
| 6275 | # though they will create one. |
| 6276 | am_cv_prog_cc_c_o=yes |
| 6277 | for am_i in 1 2; do |
| 6278 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 6279 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 6280 | ac_status=$? |
| 6281 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6282 | (exit $ac_status); } \ |
| 6283 | && testscip-shell system . . test. -f conftest2.$ac_objext; then |
| 6284 | : OK |
| 6285 | else |
| 6286 | am_cv_prog_cc_c_o=no |
| 6287 | break |
| 6288 | fi |
| 6289 | done |
| 6290 | rmscip-shell system . . rm. -f core conftest* |
| 6291 | unset am_i ;; |
| 6292 | esac |
| 6293 | fi |
| 6294 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 6295 | printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 6296 | if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then |
| 6297 | # Losing compiler, so override with the script. |
| 6298 | # FIXME: It is wrong to rewrite CC. |
| 6299 | # But if we don't then we get into trouble of one sort or another. |
| 6300 | # A longer-term fix would be to have automake use am__CC in this case, |
| 6301 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 6302 | CC="$am_aux_dir/compile $CC" |
| 6303 | fi |
| 6304 | ac_ext=c |
| 6305 | ac_cpp='$CPP $CPPFLAGS' |
| 6306 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6307 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6308 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6309 | |
| 6310 | |
| 6311 | depcc="$CC" am_compiler_list= |
| 6312 | |
| 6313 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 6314 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 6315 | if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y} |
| 6316 | then : |
| 6317 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6318 | else case e in #( |
| 6319 | e) if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 6320 | # We make a subdir and do the tests there. Otherwise we can end up |
| 6321 | # making bogus files that we don't know about and never remove. For |
| 6322 | # instance it was reported that on HP-UX the gcc test will end up |
| 6323 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 6324 | # in D". |
| 6325 | rmscip-shell system . . rm. -rf conftest.dir |
| 6326 | mkdirscip-shell system . . mkdir. conftest.dir |
| 6327 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 6328 | # using a relative directory. |
| 6329 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 6330 | cd conftest.dir |
| 6331 | # We will build objects and dependencies in a subdirectory because |
| 6332 | # it helps to detect inapplicable dependency modes. For instance |
| 6333 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 6334 | # side effect of compilation, but ICC will put the dependencies in |
| 6335 | # the current directory while Tru64 will put them in the object |
| 6336 | # directory. |
| 6337 | mkdirscip-shell system . . mkdir. sub |
| 6338 | |
| 6339 | am_cv_CC_dependencies_compiler_type=none |
| 6340 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 6341 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 6342 | fi |
| 6343 | am__universal=false |
| 6344 | case " $depcc " in #( |
| 6345 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 6346 | esac |
| 6347 | |
| 6348 | for depmode in $am_compiler_list; do |
| 6349 | # Setup a source with many dependencies, because some compilers |
| 6350 | # like to wrap large dependency lists on column 80 (with \), and |
| 6351 | # we should not choose a depcomp mode which is confused by this. |
| 6352 | # |
| 6353 | # We need to recreate these files for each test, as the compiler may |
| 6354 | # overwrite some of them when testing with obscure command lines. |
| 6355 | # This happens at least with the AIX C compiler. |
| 6356 | : > sub/conftest.c |
| 6357 | for i in 1 2 3 4 5 6; do |
| 6358 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 6359 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 6360 | # Solaris 10 /bin/sh. |
| 6361 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 6362 | done |
| 6363 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 6364 | |
| 6365 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 6366 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 6367 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 6368 | # versions had trouble with output in subdirs. |
| 6369 | am__obj=sub/conftest.${OBJEXT-o} |
| 6370 | am__minus_obj="-o $am__obj" |
| 6371 | case $depmode in |
| 6372 | gcc) |
| 6373 | # This depmode causes a compiler race in universal mode. |
| 6374 | testscip-shell system . . test. "$am__universal" = false || continue |
| 6375 | ;; |
| 6376 | nosideeffect) |
| 6377 | # After this tag, mechanisms are not by side-effect, so they'll |
| 6378 | # only be used when explicitly requested. |
| 6379 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 6380 | continue |
| 6381 | else |
| 6382 | break |
| 6383 | fi |
| 6384 | ;; |
| 6385 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 6386 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 6387 | # not run yet. These depmodes are late enough in the game, and |
| 6388 | # so weak that their functioning should not be impacted. |
| 6389 | am__obj=conftest.${OBJEXT-o} |
| 6390 | am__minus_obj= |
| 6391 | ;; |
| 6392 | none) break ;; |
| 6393 | esac |
| 6394 | if depmode=$depmode \ |
| 6395 | source=sub/conftest.c object=$am__obj \ |
| 6396 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 6397 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 6398 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 6399 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6400 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6401 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6402 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 6403 | # icc doesn't choke on unknown options, it will just issue warnings |
| 6404 | # or remarks (even with -Werror). So we grep stderr for any message |
| 6405 | # that says an option was ignored or not supported. |
| 6406 | # When given -MP, icc 7.0 and 7.1 complain thus: |
| 6407 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 6408 | # The diagnosis changed in icc 8.0: |
| 6409 | # icc: Command line remark: option '-MP' not supported |
| 6410 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 6411 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 6412 | am_cv_CC_dependencies_compiler_type=$depmode |
| 6413 | break |
| 6414 | fi |
| 6415 | fi |
| 6416 | done |
| 6417 | |
| 6418 | cd .. |
| 6419 | rmscip-shell system . . rm. -rf conftest.dir |
| 6420 | else |
| 6421 | am_cv_CC_dependencies_compiler_type=none |
| 6422 | fi |
| 6423 | ;; |
| 6424 | esac |
| 6425 | fi |
| 6426 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 6427 | printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 6428 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 6429 | |
| 6430 | if |
| 6431 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 6432 | && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 6433 | am__fastdepCC_TRUE= |
| 6434 | am__fastdepCC_FALSE='#' |
| 6435 | else |
| 6436 | am__fastdepCC_TRUE='#' |
| 6437 | am__fastdepCC_FALSE= |
| 6438 | fi |
| 6439 | |
| 6440 | |
| 6441 | |
| 6442 | |
| 6443 | |
| 6444 | |
| 6445 | |
| 6446 | |
| 6447 | ac_ext=cpp |
| 6448 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 6449 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6450 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6451 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6452 | if testscip-shell system . . test. -z "$CXX"; then |
| 6453 | if testscip-shell system . . test. -n "$CCC"; then |
| 6454 | CXX=$CCC |
| 6455 | else |
| 6456 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6457 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
| 6458 | do |
| 6459 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 6460 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6461 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6462 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6463 | if testscip-shell system . . test. ${ac_cv_prog_CXX+y} |
| 6464 | then : |
| 6465 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6466 | else case e in #( |
| 6467 | e) if testscip-shell system . . test. -n "$CXX"; then |
| 6468 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 6469 | else |
| 6470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6471 | for as_dir in $PATH |
| 6472 | do |
| 6473 | IFS=$as_save_IFS |
| 6474 | case $as_dir in #((( |
| 6475 | '') as_dir=./ ;; |
| 6476 | */) ;; |
| 6477 | *) as_dir=$as_dir/ ;; |
| 6478 | esac |
| 6479 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6480 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6481 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 6482 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6483 | break 2 |
| 6484 | fi |
| 6485 | done |
| 6486 | done |
| 6487 | IFS=$as_save_IFS |
| 6488 | |
| 6489 | fi ;; |
| 6490 | esac |
| 6491 | fi |
| 6492 | CXX=$ac_cv_prog_CXX |
| 6493 | if testscip-shell system . . test. -n "$CXX"; then |
| 6494 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
| 6495 | printfscip-shell system . . printf. "%s\n" "$CXX" >&6; } |
| 6496 | else |
| 6497 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6498 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6499 | fi |
| 6500 | |
| 6501 | |
| 6502 | testscip-shell system . . test. -n "$CXX" && break |
| 6503 | done |
| 6504 | fi |
| 6505 | if testscip-shell system . . test. -z "$CXX"; then |
| 6506 | ac_ct_CXX=$CXX |
| 6507 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
| 6508 | do |
| 6509 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6510 | set dummy $ac_prog; ac_word=$2 |
| 6511 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6512 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6513 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y} |
| 6514 | then : |
| 6515 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6516 | else case e in #( |
| 6517 | e) if testscip-shell system . . test. -n "$ac_ct_CXX"; then |
| 6518 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 6519 | else |
| 6520 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6521 | for as_dir in $PATH |
| 6522 | do |
| 6523 | IFS=$as_save_IFS |
| 6524 | case $as_dir in #((( |
| 6525 | '') as_dir=./ ;; |
| 6526 | */) ;; |
| 6527 | *) as_dir=$as_dir/ ;; |
| 6528 | esac |
| 6529 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6530 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6531 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 6532 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6533 | break 2 |
| 6534 | fi |
| 6535 | done |
| 6536 | done |
| 6537 | IFS=$as_save_IFS |
| 6538 | |
| 6539 | fi ;; |
| 6540 | esac |
| 6541 | fi |
| 6542 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 6543 | if testscip-shell system . . test. -n "$ac_ct_CXX"; then |
| 6544 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
| 6545 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; } |
| 6546 | else |
| 6547 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6548 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6549 | fi |
| 6550 | |
| 6551 | |
| 6552 | testscip-shell system . . test. -n "$ac_ct_CXX" && break |
| 6553 | done |
| 6554 | |
| 6555 | if testscip-shell system . . test. "x$ac_ct_CXX" = x; then |
| 6556 | CXX="g++" |
| 6557 | else |
| 6558 | case $cross_compiling:$ac_tool_warned in |
| 6559 | yes:) |
| 6560 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6561 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6562 | ac_tool_warned=yes ;; |
| 6563 | esac |
| 6564 | CXX=$ac_ct_CXX |
| 6565 | fi |
| 6566 | fi |
| 6567 | |
| 6568 | fi |
| 6569 | fi |
| 6570 | # Provide some information about the compiler. |
| 6571 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
| 6572 | set X $ac_compile |
| 6573 | ac_compiler=$2 |
| 6574 | for ac_option in --version -v -V -qversion; do |
| 6575 | { { ac_try="$ac_compiler $ac_option >&5" |
| 6576 | case "(($ac_try" in |
| 6577 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6578 | *) ac_try_echo=$ac_try;; |
| 6579 | esac |
| 6580 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 6581 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 6582 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 6583 | ac_status=$? |
| 6584 | if testscip-shell system . . test. -s conftest.err; then |
| 6585 | sedscip-shell system . . sed. '10a\ |
| 6586 | ... rest of stderr output deleted ... |
| 6587 | 10q' conftest.err >conftest.er1 |
| 6588 | catscip-shell system . . cat. conftest.er1 >&5 |
| 6589 | fi |
| 6590 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 6591 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6592 | testscip-shell system . . test. $ac_status = 0; } |
| 6593 | done |
| 6594 | |
| 6595 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 |
| 6596 | printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; } |
| 6597 | if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y} |
| 6598 | then : |
| 6599 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6600 | else case e in #( |
| 6601 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6602 | /* end confdefs.h. */ |
| 6603 | |
| 6604 | int |
| 6605 | main (void) |
| 6606 | { |
| 6607 | #ifndef __GNUC__ |
| 6608 | choke me |
| 6609 | #endif |
| 6610 | |
| 6611 | ; |
| 6612 | return 0; |
| 6613 | } |
| 6614 | _ACEOF |
| 6615 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6616 | then : |
| 6617 | ac_compiler_gnu=yes |
| 6618 | else case e in #( |
| 6619 | e) ac_compiler_gnu=no ;; |
| 6620 | esac |
| 6621 | fi |
| 6622 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6623 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 6624 | ;; |
| 6625 | esac |
| 6626 | fi |
| 6627 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 6628 | printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } |
| 6629 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6630 | |
| 6631 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 6632 | GXX=yes |
| 6633 | else |
| 6634 | GXX= |
| 6635 | fi |
| 6636 | ac_test_CXXFLAGS=${CXXFLAGS+y} |
| 6637 | ac_save_CXXFLAGS=$CXXFLAGS |
| 6638 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| 6639 | printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; } |
| 6640 | if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y} |
| 6641 | then : |
| 6642 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6643 | else case e in #( |
| 6644 | e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 6645 | ac_cxx_werror_flag=yes |
| 6646 | ac_cv_prog_cxx_g=no |
| 6647 | CXXFLAGS="-g" |
| 6648 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6649 | /* end confdefs.h. */ |
| 6650 | |
| 6651 | int |
| 6652 | main (void) |
| 6653 | { |
| 6654 | |
| 6655 | ; |
| 6656 | return 0; |
| 6657 | } |
| 6658 | _ACEOF |
| 6659 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6660 | then : |
| 6661 | ac_cv_prog_cxx_g=yes |
| 6662 | else case e in #( |
| 6663 | e) CXXFLAGS="" |
| 6664 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6665 | /* end confdefs.h. */ |
| 6666 | |
| 6667 | int |
| 6668 | main (void) |
| 6669 | { |
| 6670 | |
| 6671 | ; |
| 6672 | return 0; |
| 6673 | } |
| 6674 | _ACEOF |
| 6675 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6676 | then : |
| 6677 | |
| 6678 | else case e in #( |
| 6679 | e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 6680 | CXXFLAGS="-g" |
| 6681 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6682 | /* end confdefs.h. */ |
| 6683 | |
| 6684 | int |
| 6685 | main (void) |
| 6686 | { |
| 6687 | |
| 6688 | ; |
| 6689 | return 0; |
| 6690 | } |
| 6691 | _ACEOF |
| 6692 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6693 | then : |
| 6694 | ac_cv_prog_cxx_g=yes |
| 6695 | fi |
| 6696 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6697 | esac |
| 6698 | fi |
| 6699 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6700 | esac |
| 6701 | fi |
| 6702 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6703 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; |
| 6704 | esac |
| 6705 | fi |
| 6706 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
| 6707 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; } |
| 6708 | if testscip-shell system . . test. $ac_test_CXXFLAGS; then |
| 6709 | CXXFLAGS=$ac_save_CXXFLAGS |
| 6710 | elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then |
| 6711 | if testscip-shell system . . test. "$GXX" = yes; then |
| 6712 | CXXFLAGS="-g -O2" |
| 6713 | else |
| 6714 | CXXFLAGS="-g" |
| 6715 | fi |
| 6716 | else |
| 6717 | if testscip-shell system . . test. "$GXX" = yes; then |
| 6718 | CXXFLAGS="-O2" |
| 6719 | else |
| 6720 | CXXFLAGS= |
| 6721 | fi |
| 6722 | fi |
| 6723 | ac_prog_cxx_stdcxx=no |
| 6724 | if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno |
| 6725 | then : |
| 6726 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
| 6727 | printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; } |
| 6728 | if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y} |
| 6729 | then : |
| 6730 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6731 | else case e in #( |
| 6732 | e) ac_cv_prog_cxx_cxx11=no |
| 6733 | ac_save_CXX=$CXX |
| 6734 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6735 | /* end confdefs.h. */ |
| 6736 | $ac_cxx_conftest_cxx11_program |
| 6737 | _ACEOF |
| 6738 | for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA |
| 6739 | do |
| 6740 | CXX="$ac_save_CXX $ac_arg" |
| 6741 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6742 | then : |
| 6743 | ac_cv_prog_cxx_cxx11=$ac_arg |
| 6744 | fi |
| 6745 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 6746 | testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break |
| 6747 | done |
| 6748 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 6749 | CXX=$ac_save_CXX ;; |
| 6750 | esac |
| 6751 | fi |
| 6752 | |
| 6753 | if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno |
| 6754 | then : |
| 6755 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6756 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 6757 | else case e in #( |
| 6758 | e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x |
| 6759 | then : |
| 6760 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6761 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 6762 | else case e in #( |
| 6763 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 |
| 6764 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } |
| 6765 | CXX="$CXX $ac_cv_prog_cxx_cxx11" ;; |
| 6766 | esac |
| 6767 | fi |
| 6768 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 |
| 6769 | ac_prog_cxx_stdcxx=cxx11 ;; |
| 6770 | esac |
| 6771 | fi |
| 6772 | fi |
| 6773 | if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno |
| 6774 | then : |
| 6775 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
| 6776 | printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; } |
| 6777 | if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y} |
| 6778 | then : |
| 6779 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6780 | else case e in #( |
| 6781 | e) ac_cv_prog_cxx_cxx98=no |
| 6782 | ac_save_CXX=$CXX |
| 6783 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6784 | /* end confdefs.h. */ |
| 6785 | $ac_cxx_conftest_cxx98_program |
| 6786 | _ACEOF |
| 6787 | for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA |
| 6788 | do |
| 6789 | CXX="$ac_save_CXX $ac_arg" |
| 6790 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 6791 | then : |
| 6792 | ac_cv_prog_cxx_cxx98=$ac_arg |
| 6793 | fi |
| 6794 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 6795 | testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break |
| 6796 | done |
| 6797 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 6798 | CXX=$ac_save_CXX ;; |
| 6799 | esac |
| 6800 | fi |
| 6801 | |
| 6802 | if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno |
| 6803 | then : |
| 6804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6805 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 6806 | else case e in #( |
| 6807 | e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x |
| 6808 | then : |
| 6809 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6810 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 6811 | else case e in #( |
| 6812 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 |
| 6813 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } |
| 6814 | CXX="$CXX $ac_cv_prog_cxx_cxx98" ;; |
| 6815 | esac |
| 6816 | fi |
| 6817 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 |
| 6818 | ac_prog_cxx_stdcxx=cxx98 ;; |
| 6819 | esac |
| 6820 | fi |
| 6821 | fi |
| 6822 | |
| 6823 | ac_ext=c |
| 6824 | ac_cpp='$CPP $CPPFLAGS' |
| 6825 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6826 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6827 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6828 | |
| 6829 | depcc="$CXX" am_compiler_list= |
| 6830 | |
| 6831 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 6832 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 6833 | if testscip-shell system . . test. ${am_cv_CXX_dependencies_compiler_type+y} |
| 6834 | then : |
| 6835 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6836 | else case e in #( |
| 6837 | e) if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 6838 | # We make a subdir and do the tests there. Otherwise we can end up |
| 6839 | # making bogus files that we don't know about and never remove. For |
| 6840 | # instance it was reported that on HP-UX the gcc test will end up |
| 6841 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 6842 | # in D". |
| 6843 | rmscip-shell system . . rm. -rf conftest.dir |
| 6844 | mkdirscip-shell system . . mkdir. conftest.dir |
| 6845 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 6846 | # using a relative directory. |
| 6847 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 6848 | cd conftest.dir |
| 6849 | # We will build objects and dependencies in a subdirectory because |
| 6850 | # it helps to detect inapplicable dependency modes. For instance |
| 6851 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 6852 | # side effect of compilation, but ICC will put the dependencies in |
| 6853 | # the current directory while Tru64 will put them in the object |
| 6854 | # directory. |
| 6855 | mkdirscip-shell system . . mkdir. sub |
| 6856 | |
| 6857 | am_cv_CXX_dependencies_compiler_type=none |
| 6858 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 6859 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 6860 | fi |
| 6861 | am__universal=false |
| 6862 | case " $depcc " in #( |
| 6863 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 6864 | esac |
| 6865 | |
| 6866 | for depmode in $am_compiler_list; do |
| 6867 | # Setup a source with many dependencies, because some compilers |
| 6868 | # like to wrap large dependency lists on column 80 (with \), and |
| 6869 | # we should not choose a depcomp mode which is confused by this. |
| 6870 | # |
| 6871 | # We need to recreate these files for each test, as the compiler may |
| 6872 | # overwrite some of them when testing with obscure command lines. |
| 6873 | # This happens at least with the AIX C compiler. |
| 6874 | : > sub/conftest.c |
| 6875 | for i in 1 2 3 4 5 6; do |
| 6876 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 6877 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 6878 | # Solaris 10 /bin/sh. |
| 6879 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 6880 | done |
| 6881 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 6882 | |
| 6883 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 6884 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 6885 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 6886 | # versions had trouble with output in subdirs. |
| 6887 | am__obj=sub/conftest.${OBJEXT-o} |
| 6888 | am__minus_obj="-o $am__obj" |
| 6889 | case $depmode in |
| 6890 | gcc) |
| 6891 | # This depmode causes a compiler race in universal mode. |
| 6892 | testscip-shell system . . test. "$am__universal" = false || continue |
| 6893 | ;; |
| 6894 | nosideeffect) |
| 6895 | # After this tag, mechanisms are not by side-effect, so they'll |
| 6896 | # only be used when explicitly requested. |
| 6897 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 6898 | continue |
| 6899 | else |
| 6900 | break |
| 6901 | fi |
| 6902 | ;; |
| 6903 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 6904 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 6905 | # not run yet. These depmodes are late enough in the game, and |
| 6906 | # so weak that their functioning should not be impacted. |
| 6907 | am__obj=conftest.${OBJEXT-o} |
| 6908 | am__minus_obj= |
| 6909 | ;; |
| 6910 | none) break ;; |
| 6911 | esac |
| 6912 | if depmode=$depmode \ |
| 6913 | source=sub/conftest.c object=$am__obj \ |
| 6914 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 6915 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 6916 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 6917 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6918 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6919 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 6920 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 6921 | # icc doesn't choke on unknown options, it will just issue warnings |
| 6922 | # or remarks (even with -Werror). So we grep stderr for any message |
| 6923 | # that says an option was ignored or not supported. |
| 6924 | # When given -MP, icc 7.0 and 7.1 complain thus: |
| 6925 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 6926 | # The diagnosis changed in icc 8.0: |
| 6927 | # icc: Command line remark: option '-MP' not supported |
| 6928 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 6929 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 6930 | am_cv_CXX_dependencies_compiler_type=$depmode |
| 6931 | break |
| 6932 | fi |
| 6933 | fi |
| 6934 | done |
| 6935 | |
| 6936 | cd .. |
| 6937 | rmscip-shell system . . rm. -rf conftest.dir |
| 6938 | else |
| 6939 | am_cv_CXX_dependencies_compiler_type=none |
| 6940 | fi |
| 6941 | ;; |
| 6942 | esac |
| 6943 | fi |
| 6944 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 6945 | printfscip-shell system . . printf. "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; } |
| 6946 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 6947 | |
| 6948 | if |
| 6949 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 6950 | && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| 6951 | am__fastdepCXX_TRUE= |
| 6952 | am__fastdepCXX_FALSE='#' |
| 6953 | else |
| 6954 | am__fastdepCXX_TRUE='#' |
| 6955 | am__fastdepCXX_FALSE= |
| 6956 | fi |
| 6957 | |
| 6958 | |
| 6959 | |
| 6960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 6961 | printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; } |
| 6962 | if testscip-shell system . . test. ${ac_cv_path_GREP+y} |
| 6963 | then : |
| 6964 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6965 | else case e in #( |
| 6966 | e) if testscip-shell system . . test. -z "$GREP"; then |
| 6967 | ac_path_GREP_found=false |
| 6968 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 6969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6970 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 6971 | do |
| 6972 | IFS=$as_save_IFS |
| 6973 | case $as_dir in #((( |
| 6974 | '') as_dir=./ ;; |
| 6975 | */) ;; |
| 6976 | *) as_dir=$as_dir/ ;; |
| 6977 | esac |
| 6978 | for ac_prog in grep ggrep |
| 6979 | do |
| 6980 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6981 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 6982 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_GREP" || continue |
| 6983 | # Check for GNU ac_path_GREP and select it if it is found. |
| 6984 | # Check for GNU $ac_path_GREP |
| 6985 | case `"$ac_path_GREP" --version 2>&1` in #( |
| 6986 | *GNU*) |
| 6987 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 6988 | #( |
| 6989 | *) |
| 6990 | ac_count=0 |
| 6991 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 6992 | while : |
| 6993 | do |
| 6994 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 6995 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 6996 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 6997 | printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl" |
| 6998 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 6999 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7000 | as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7001 | if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then |
| 7002 | # Best one so far, save it but keep looking for a better one |
| 7003 | ac_cv_path_GREP="$ac_path_GREP" |
| 7004 | ac_path_GREP_max=$ac_count |
| 7005 | fi |
| 7006 | # 10*(2^10) chars as input seems more than enough |
| 7007 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7008 | done |
| 7009 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7010 | esac |
| 7011 | |
| 7012 | $ac_path_GREP_found && break 3 |
| 7013 | done |
| 7014 | done |
| 7015 | done |
| 7016 | IFS=$as_save_IFS |
| 7017 | if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then |
| 7018 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7019 | fi |
| 7020 | else |
| 7021 | ac_cv_path_GREP=$GREP |
| 7022 | fi |
| 7023 | ;; |
| 7024 | esac |
| 7025 | fi |
| 7026 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 7027 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; } |
| 7028 | GREP="$ac_cv_path_GREP" |
| 7029 | |
| 7030 | |
| 7031 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 7032 | printfscip-shell system . . printf. %s "checking for egrep... " >&6; } |
| 7033 | if testscip-shell system . . test. ${ac_cv_path_EGREP+y} |
| 7034 | then : |
| 7035 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7036 | else case e in #( |
| 7037 | e) if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 7038 | then ac_cv_path_EGREP="$GREP -E" |
| 7039 | else |
| 7040 | if testscip-shell system . . test. -z "$EGREP"; then |
| 7041 | ac_path_EGREP_found=false |
| 7042 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7043 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7044 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 7045 | do |
| 7046 | IFS=$as_save_IFS |
| 7047 | case $as_dir in #((( |
| 7048 | '') as_dir=./ ;; |
| 7049 | */) ;; |
| 7050 | *) as_dir=$as_dir/ ;; |
| 7051 | esac |
| 7052 | for ac_prog in egrep |
| 7053 | do |
| 7054 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7055 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 7056 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue |
| 7057 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 7058 | # Check for GNU $ac_path_EGREP |
| 7059 | case `"$ac_path_EGREP" --version 2>&1` in #( |
| 7060 | *GNU*) |
| 7061 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 7062 | #( |
| 7063 | *) |
| 7064 | ac_count=0 |
| 7065 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7066 | while : |
| 7067 | do |
| 7068 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7069 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7070 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7071 | printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl" |
| 7072 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7073 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7074 | as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7075 | if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 7076 | # Best one so far, save it but keep looking for a better one |
| 7077 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 7078 | ac_path_EGREP_max=$ac_count |
| 7079 | fi |
| 7080 | # 10*(2^10) chars as input seems more than enough |
| 7081 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7082 | done |
| 7083 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7084 | esac |
| 7085 | |
| 7086 | $ac_path_EGREP_found && break 3 |
| 7087 | done |
| 7088 | done |
| 7089 | done |
| 7090 | IFS=$as_save_IFS |
| 7091 | if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then |
| 7092 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7093 | fi |
| 7094 | else |
| 7095 | ac_cv_path_EGREP=$EGREP |
| 7096 | fi |
| 7097 | |
| 7098 | fi ;; |
| 7099 | esac |
| 7100 | fi |
| 7101 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 7102 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 7103 | EGREP="$ac_cv_path_EGREP" |
| 7104 | |
| 7105 | EGREP_TRADITIONAL=$EGREP |
| 7106 | ac_cv_path_EGREP_TRADITIONAL=$EGREP |
| 7107 | |
| 7108 | |
| 7109 | case `pwdscip-shell system . . pwd.` in |
| 7110 | *\ * | *\ *) |
| 7111 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 7112 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 7113 | esac |
| 7114 | |
| 7115 | |
| 7116 | |
| 7117 | macro_version='2.5.4' |
| 7118 | macro_revision='2.5.4' |
| 7119 | |
| 7120 | |
| 7121 | |
| 7122 | |
| 7123 | |
| 7124 | |
| 7125 | |
| 7126 | |
| 7127 | |
| 7128 | |
| 7129 | |
| 7130 | |
| 7131 | |
| 7132 | |
| 7133 | ltmain=$ac_aux_dir/ltmain.sh |
| 7134 | |
| 7135 | |
| 7136 | |
| 7137 | # Make sure we can run config.sub. |
| 7138 | $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 7139 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 7140 | |
| 7141 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 7142 | printfscip-shell system . . printf. %s "checking build system type... " >&6; } |
| 7143 | if testscip-shell system . . test. ${ac_cv_build+y} |
| 7144 | then : |
| 7145 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7146 | else case e in #( |
| 7147 | e) ac_build_alias=$build_alias |
| 7148 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 7149 | ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 7150 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 7151 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 7152 | ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 7153 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 7154 | ;; |
| 7155 | esac |
| 7156 | fi |
| 7157 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 7158 | printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; } |
| 7159 | case $ac_cv_build in |
| 7160 | *-*-*) ;; |
| 7161 | *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;; |
| 7162 | esac |
| 7163 | build=$ac_cv_build |
| 7164 | ac_save_IFS=$IFS; IFS='-' |
| 7165 | set x $ac_cv_build |
| 7166 | shift |
| 7167 | build_cpu=$1 |
| 7168 | build_vendor=$2 |
| 7169 | shift; shift |
| 7170 | # Remember, the first character of IFS is used to create $*, |
| 7171 | # except with old shells: |
| 7172 | build_os=$* |
| 7173 | IFS=$ac_save_IFS |
| 7174 | case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 7175 | |
| 7176 | |
| 7177 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 7178 | printfscip-shell system . . printf. %s "checking host system type... " >&6; } |
| 7179 | if testscip-shell system . . test. ${ac_cv_host+y} |
| 7180 | then : |
| 7181 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7182 | else case e in #( |
| 7183 | e) if testscip-shell system . . test. "x$host_alias" = x; then |
| 7184 | ac_cv_host=$ac_cv_build |
| 7185 | else |
| 7186 | ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 7187 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 7188 | fi |
| 7189 | ;; |
| 7190 | esac |
| 7191 | fi |
| 7192 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 7193 | printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; } |
| 7194 | case $ac_cv_host in |
| 7195 | *-*-*) ;; |
| 7196 | *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;; |
| 7197 | esac |
| 7198 | host=$ac_cv_host |
| 7199 | ac_save_IFS=$IFS; IFS='-' |
| 7200 | set x $ac_cv_host |
| 7201 | shift |
| 7202 | host_cpu=$1 |
| 7203 | host_vendor=$2 |
| 7204 | shift; shift |
| 7205 | # Remember, the first character of IFS is used to create $*, |
| 7206 | # except with old shells: |
| 7207 | host_os=$* |
| 7208 | IFS=$ac_save_IFS |
| 7209 | case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 7210 | |
| 7211 | |
| 7212 | # Backslashify metacharacters that are still active within |
| 7213 | # double-quoted strings. |
| 7214 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 7215 | |
| 7216 | # Same as above, but do not quote variable references. |
| 7217 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 7218 | |
| 7219 | # Sed substitution to delay expansion of an escaped shell variable in a |
| 7220 | # double_quote_subst'ed string. |
| 7221 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 7222 | |
| 7223 | # Sed substitution to delay expansion of an escaped single quote. |
| 7224 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 7225 | |
| 7226 | # Sed substitution to avoid accidental globbing in evaled expressions |
| 7227 | no_glob_subst='s/\*/\\\*/g' |
| 7228 | |
| 7229 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 7230 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 7231 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 7232 | |
| 7233 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 7234 | printfscip-shell system . . printf. %s "checking how to print strings... " >&6; } |
| 7235 | # Test print first, because it will be a builtin if present. |
| 7236 | if testscip-shell system . . test. "X`( print -r -- -n ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = X-n && \ |
| 7237 | test "X`print -r -- $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then |
| 7238 | ECHO='print -r --' |
| 7239 | elif testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then |
| 7240 | ECHO='printf %s\n' |
| 7241 | else |
| 7242 | # Use this function as a fallback that always works. |
| 7243 | func_fallback_echoscip-shell shell shell-project 0.0.0 func_fallback_echo(). () |
| 7244 | { |
| 7245 | eval 'cat <<_LTECHO_EOF |
| 7246 | $1 |
| 7247 | _LTECHO_EOF' |
| 7248 | } |
| 7249 | ECHO='func_fallback_echo' |
| 7250 | fi |
| 7251 | |
| 7252 | # func_echo_all arg... |
| 7253 | # Invoke $ECHO with all args, space-separated. |
| 7254 | func_echo_allscip-shell shell shell-project 0.0.0 func_echo_all(). () |
| 7255 | { |
| 7256 | $ECHO "" |
| 7257 | } |
| 7258 | |
| 7259 | case $ECHO in |
| 7260 | printf*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 7261 | printfscip-shell system . . printf. "%s\n" "printf" >&6; } ;; |
| 7262 | print*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 7263 | printfscip-shell system . . printf. "%s\n" "print -r" >&6; } ;; |
| 7264 | *) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 7265 | printfscip-shell system . . printf. "%s\n" "cat" >&6; } ;; |
| 7266 | esac |
| 7267 | |
| 7268 | |
| 7269 | |
| 7270 | |
| 7271 | |
| 7272 | |
| 7273 | |
| 7274 | |
| 7275 | |
| 7276 | |
| 7277 | |
| 7278 | |
| 7279 | |
| 7280 | |
| 7281 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 7282 | printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; } |
| 7283 | if testscip-shell system . . test. ${ac_cv_path_SED+y} |
| 7284 | then : |
| 7285 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7286 | else case e in #( |
| 7287 | e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 7288 | for ac_i in 1 2 3 4 5 6 7; do |
| 7289 | ac_script="$ac_script$as_nl$ac_script" |
| 7290 | done |
| 7291 | echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed |
| 7292 | { ac_script=; unset ac_script;} |
| 7293 | if testscip-shell system . . test. -z "$SED"; then |
| 7294 | ac_path_SED_found=false |
| 7295 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7296 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7297 | for as_dir in $PATH |
| 7298 | do |
| 7299 | IFS=$as_save_IFS |
| 7300 | case $as_dir in #((( |
| 7301 | '') as_dir=./ ;; |
| 7302 | */) ;; |
| 7303 | *) as_dir=$as_dir/ ;; |
| 7304 | esac |
| 7305 | for ac_prog in sed gsed |
| 7306 | do |
| 7307 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7308 | ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 7309 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_SED" || continue |
| 7310 | # Check for GNU ac_path_SED and select it if it is found. |
| 7311 | # Check for GNU $ac_path_SED |
| 7312 | case `"$ac_path_SED" --version 2>&1` in #( |
| 7313 | *GNU*) |
| 7314 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 7315 | #( |
| 7316 | *) |
| 7317 | ac_count=0 |
| 7318 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7319 | while : |
| 7320 | do |
| 7321 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7322 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7323 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7324 | printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl" |
| 7325 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7326 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7327 | as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7328 | if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then |
| 7329 | # Best one so far, save it but keep looking for a better one |
| 7330 | ac_cv_path_SED="$ac_path_SED" |
| 7331 | ac_path_SED_max=$ac_count |
| 7332 | fi |
| 7333 | # 10*(2^10) chars as input seems more than enough |
| 7334 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7335 | done |
| 7336 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7337 | esac |
| 7338 | |
| 7339 | $ac_path_SED_found && break 3 |
| 7340 | done |
| 7341 | done |
| 7342 | done |
| 7343 | IFS=$as_save_IFS |
| 7344 | if testscip-shell system . . test. -z "$ac_cv_path_SED"; then |
| 7345 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 7346 | fi |
| 7347 | else |
| 7348 | ac_cv_path_SED=$SED |
| 7349 | fi |
| 7350 | ;; |
| 7351 | esac |
| 7352 | fi |
| 7353 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 7354 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; } |
| 7355 | SED="$ac_cv_path_SED" |
| 7356 | rmscip-shell system . . rm. -f conftest.sed |
| 7357 | |
| 7358 | testscip-shell system . . test. -z "$SED" && SED=sed |
| 7359 | Xsed="$SED -e 1s/^X//" |
| 7360 | |
| 7361 | |
| 7362 | |
| 7363 | |
| 7364 | |
| 7365 | |
| 7366 | |
| 7367 | |
| 7368 | |
| 7369 | |
| 7370 | |
| 7371 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 7372 | printfscip-shell system . . printf. %s "checking for fgrep... " >&6; } |
| 7373 | if testscip-shell system . . test. ${ac_cv_path_FGREP+y} |
| 7374 | then : |
| 7375 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7376 | else case e in #( |
| 7377 | e) if echoscip-shell system . . echo. 'ab*c' | $GREP -F 'ab*c' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 7378 | then ac_cv_path_FGREP="$GREP -F" |
| 7379 | else |
| 7380 | if testscip-shell system . . test. -z "$FGREP"; then |
| 7381 | ac_path_FGREP_found=false |
| 7382 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7383 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7384 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 7385 | do |
| 7386 | IFS=$as_save_IFS |
| 7387 | case $as_dir in #((( |
| 7388 | '') as_dir=./ ;; |
| 7389 | */) ;; |
| 7390 | *) as_dir=$as_dir/ ;; |
| 7391 | esac |
| 7392 | for ac_prog in fgrep |
| 7393 | do |
| 7394 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7395 | ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 7396 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_FGREP" || continue |
| 7397 | # Check for GNU ac_path_FGREP and select it if it is found. |
| 7398 | # Check for GNU $ac_path_FGREP |
| 7399 | case `"$ac_path_FGREP" --version 2>&1` in #( |
| 7400 | *GNU*) |
| 7401 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 7402 | #( |
| 7403 | *) |
| 7404 | ac_count=0 |
| 7405 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7406 | while : |
| 7407 | do |
| 7408 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7409 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7410 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7411 | printfscip-shell system . . printf. "%s\n" 'FGREP' >> "conftest.nl" |
| 7412 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7413 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7414 | as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7415 | if testscip-shell system . . test. $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 7416 | # Best one so far, save it but keep looking for a better one |
| 7417 | ac_cv_path_FGREP="$ac_path_FGREP" |
| 7418 | ac_path_FGREP_max=$ac_count |
| 7419 | fi |
| 7420 | # 10*(2^10) chars as input seems more than enough |
| 7421 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7422 | done |
| 7423 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7424 | esac |
| 7425 | |
| 7426 | $ac_path_FGREP_found && break 3 |
| 7427 | done |
| 7428 | done |
| 7429 | done |
| 7430 | IFS=$as_save_IFS |
| 7431 | if testscip-shell system . . test. -z "$ac_cv_path_FGREP"; then |
| 7432 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7433 | fi |
| 7434 | else |
| 7435 | ac_cv_path_FGREP=$FGREP |
| 7436 | fi |
| 7437 | |
| 7438 | fi ;; |
| 7439 | esac |
| 7440 | fi |
| 7441 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 7442 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 7443 | FGREP="$ac_cv_path_FGREP" |
| 7444 | |
| 7445 | |
| 7446 | testscip-shell system . . test. -z "$GREP" && GREP=grep |
| 7447 | |
| 7448 | |
| 7449 | |
| 7450 | |
| 7451 | |
| 7452 | |
| 7453 | |
| 7454 | |
| 7455 | |
| 7456 | |
| 7457 | |
| 7458 | |
| 7459 | |
| 7460 | |
| 7461 | |
| 7462 | |
| 7463 | |
| 7464 | |
| 7465 | |
| 7466 | # Check whether --with-gnu-ld was given. |
| 7467 | if testscip-shell system . . test. ${with_gnu_ld+y} |
| 7468 | then : |
| 7469 | withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes |
| 7470 | else case e in #( |
| 7471 | e) with_gnu_ld=no ;; |
| 7472 | esac |
| 7473 | fi |
| 7474 | |
| 7475 | ac_prog=ld |
| 7476 | if testscip-shell system . . test. yes = "$GCC"; then |
| 7477 | # Check if gcc -print-prog-name=ld gives a path. |
| 7478 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 7479 | printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; } |
| 7480 | case $host in |
| 7481 | *-*-mingw* | *-*-windows*) |
| 7482 | # gcc leaves a trailing carriage return, which upsets mingw |
| 7483 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;; |
| 7484 | *) |
| 7485 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 7486 | esac |
| 7487 | case $ac_prog in |
| 7488 | # Accept absolute paths. |
| 7489 | [\\/]* | ?:[\\/]*) |
| 7490 | re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.' |
| 7491 | # Canonicalize the pathname of ld |
| 7492 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 7493 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do |
| 7494 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 7495 | done |
| 7496 | testscip-shell system . . test. -z "$LD" && LD=$ac_prog |
| 7497 | ;; |
| 7498 | "") |
| 7499 | # If it fails, then pretend we aren't using GCC. |
| 7500 | ac_prog=ld |
| 7501 | ;; |
| 7502 | *) |
| 7503 | # If it is relative, then search for the first ld in PATH. |
| 7504 | with_gnu_ld=unknown |
| 7505 | ;; |
| 7506 | esac |
| 7507 | elif testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 7508 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 7509 | printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; } |
| 7510 | else |
| 7511 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 7512 | printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; } |
| 7513 | fi |
| 7514 | if testscip-shell system . . test. ${lt_cv_path_LD+y} |
| 7515 | then : |
| 7516 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7517 | else case e in #( |
| 7518 | e) if testscip-shell system . . test. -z "$LD"; then |
| 7519 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 7520 | for ac_dir in $PATH; do |
| 7521 | IFS=$lt_save_ifs |
| 7522 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 7523 | if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 7524 | lt_cv_path_LD=$ac_dir/$ac_prog |
| 7525 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 7526 | # but apparently some variants of GNU ld only accept -v. |
| 7527 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 7528 | case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 7529 | *GNU* | *'with BFD'*) |
| 7530 | testscip-shell system . . test. no != "$with_gnu_ld" && break |
| 7531 | ;; |
| 7532 | *) |
| 7533 | testscip-shell system . . test. yes != "$with_gnu_ld" && break |
| 7534 | ;; |
| 7535 | esac |
| 7536 | fi |
| 7537 | done |
| 7538 | IFS=$lt_save_ifs |
| 7539 | else |
| 7540 | lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 7541 | fi ;; |
| 7542 | esac |
| 7543 | fi |
| 7544 | |
| 7545 | LD=$lt_cv_path_LD |
| 7546 | if testscip-shell system . . test. -n "$LD"; then |
| 7547 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 7548 | printfscip-shell system . . printf. "%s\n" "$LD" >&6; } |
| 7549 | else |
| 7550 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7551 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 7552 | fi |
| 7553 | testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 7554 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 7555 | printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 7556 | if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y} |
| 7557 | then : |
| 7558 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7559 | else case e in #( |
| 7560 | e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 7561 | case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 7562 | *GNU* | *'with BFD'*) |
| 7563 | lt_cv_prog_gnu_ld=yes |
| 7564 | ;; |
| 7565 | *) |
| 7566 | lt_cv_prog_gnu_ld=no |
| 7567 | ;; |
| 7568 | esac ;; |
| 7569 | esac |
| 7570 | fi |
| 7571 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 7572 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 7573 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 7574 | |
| 7575 | |
| 7576 | |
| 7577 | |
| 7578 | |
| 7579 | |
| 7580 | |
| 7581 | |
| 7582 | |
| 7583 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 7584 | printfscip-shell system . . printf. %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 7585 | if testscip-shell system . . test. ${lt_cv_path_NM+y} |
| 7586 | then : |
| 7587 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7588 | else case e in #( |
| 7589 | e) if testscip-shell system . . test. -n "$NM"; then |
| 7590 | # Let the user override the test. |
| 7591 | lt_cv_path_NM=$NM |
| 7592 | else |
| 7593 | lt_nm_to_check=${ac_tool_prefix}nm |
| 7594 | if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then |
| 7595 | lt_nm_to_check="$lt_nm_to_check nm" |
| 7596 | fi |
| 7597 | for lt_tmp_nm in $lt_nm_to_check; do |
| 7598 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 7599 | for ac_dir in $PATH /usr/ccs/bin/elfscip-shell filesystem . . `/usr/ccs/bin/elf`. /usr/ccs/binscip-shell filesystem . . `/usr/ccs/bin`. /usr/ucbscip-shell filesystem . . `/usr/ucb`. /binscip-shell filesystem . . `/bin`.; do |
| 7600 | IFS=$lt_save_ifs |
| 7601 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 7602 | tmp_nm=$ac_dir/$lt_tmp_nm |
| 7603 | if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext"; then |
| 7604 | # Check to see if the nm accepts a BSD-compat flag. |
| 7605 | # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 7606 | # nm: unknown option "B" ignored |
| 7607 | # Tru64's nm complains that /dev/null is an invalid object file |
| 7608 | # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 7609 | case $build_os in |
| 7610 | mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; |
| 7611 | *) lt_bad_file=/dev/nullscip-shell filesystem . . `/dev/null`. ;; |
| 7612 | esac |
| 7613 | case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 7614 | *$lt_bad_file* | *'Invalid file or object type'*) |
| 7615 | lt_cv_path_NM="$tmp_nm -B" |
| 7616 | break 2 |
| 7617 | ;; |
| 7618 | *) |
| 7619 | case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in |
| 7620 | */dev/null*) |
| 7621 | lt_cv_path_NM="$tmp_nm -p" |
| 7622 | break 2 |
| 7623 | ;; |
| 7624 | *) |
| 7625 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 7626 | continue # so that we can try to find one that supports BSD flags |
| 7627 | ;; |
| 7628 | esac |
| 7629 | ;; |
| 7630 | esac |
| 7631 | fi |
| 7632 | done |
| 7633 | IFS=$lt_save_ifs |
| 7634 | done |
| 7635 | : ${lt_cv_path_NM=no} |
| 7636 | fi ;; |
| 7637 | esac |
| 7638 | fi |
| 7639 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 7640 | printfscip-shell system . . printf. "%s\n" "$lt_cv_path_NM" >&6; } |
| 7641 | if testscip-shell system . . test. no != "$lt_cv_path_NM"; then |
| 7642 | NM=$lt_cv_path_NM |
| 7643 | else |
| 7644 | # Didn't find any BSD compatible name lister, look for dumpbin. |
| 7645 | if testscip-shell system . . test. -n "$DUMPBIN"; then : |
| 7646 | # Let the user override the test. |
| 7647 | else |
| 7648 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 7649 | for ac_prog in dumpbin "link -dump" |
| 7650 | do |
| 7651 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 7652 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 7653 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7654 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 7655 | if testscip-shell system . . test. ${ac_cv_prog_DUMPBIN+y} |
| 7656 | then : |
| 7657 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7658 | else case e in #( |
| 7659 | e) if testscip-shell system . . test. -n "$DUMPBIN"; then |
| 7660 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 7661 | else |
| 7662 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7663 | for as_dir in $PATH |
| 7664 | do |
| 7665 | IFS=$as_save_IFS |
| 7666 | case $as_dir in #((( |
| 7667 | '') as_dir=./ ;; |
| 7668 | */) ;; |
| 7669 | *) as_dir=$as_dir/ ;; |
| 7670 | esac |
| 7671 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7672 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 7673 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 7674 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7675 | break 2 |
| 7676 | fi |
| 7677 | done |
| 7678 | done |
| 7679 | IFS=$as_save_IFS |
| 7680 | |
| 7681 | fi ;; |
| 7682 | esac |
| 7683 | fi |
| 7684 | DUMPBIN=$ac_cv_prog_DUMPBIN |
| 7685 | if testscip-shell system . . test. -n "$DUMPBIN"; then |
| 7686 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 7687 | printfscip-shell system . . printf. "%s\n" "$DUMPBIN" >&6; } |
| 7688 | else |
| 7689 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7690 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 7691 | fi |
| 7692 | |
| 7693 | |
| 7694 | testscip-shell system . . test. -n "$DUMPBIN" && break |
| 7695 | done |
| 7696 | fi |
| 7697 | if testscip-shell system . . test. -z "$DUMPBIN"; then |
| 7698 | ac_ct_DUMPBIN=$DUMPBIN |
| 7699 | for ac_prog in dumpbin "link -dump" |
| 7700 | do |
| 7701 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 7702 | set dummy $ac_prog; ac_word=$2 |
| 7703 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7704 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 7705 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 7706 | then : |
| 7707 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7708 | else case e in #( |
| 7709 | e) if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then |
| 7710 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 7711 | else |
| 7712 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7713 | for as_dir in $PATH |
| 7714 | do |
| 7715 | IFS=$as_save_IFS |
| 7716 | case $as_dir in #((( |
| 7717 | '') as_dir=./ ;; |
| 7718 | */) ;; |
| 7719 | *) as_dir=$as_dir/ ;; |
| 7720 | esac |
| 7721 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7722 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 7723 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 7724 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7725 | break 2 |
| 7726 | fi |
| 7727 | done |
| 7728 | done |
| 7729 | IFS=$as_save_IFS |
| 7730 | |
| 7731 | fi ;; |
| 7732 | esac |
| 7733 | fi |
| 7734 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 7735 | if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then |
| 7736 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 7737 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 7738 | else |
| 7739 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7740 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 7741 | fi |
| 7742 | |
| 7743 | |
| 7744 | testscip-shell system . . test. -n "$ac_ct_DUMPBIN" && break |
| 7745 | done |
| 7746 | |
| 7747 | if testscip-shell system . . test. "x$ac_ct_DUMPBIN" = x; then |
| 7748 | DUMPBIN=":" |
| 7749 | else |
| 7750 | case $cross_compiling:$ac_tool_warned in |
| 7751 | yes:) |
| 7752 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7753 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7754 | ac_tool_warned=yes ;; |
| 7755 | esac |
| 7756 | DUMPBIN=$ac_ct_DUMPBIN |
| 7757 | fi |
| 7758 | fi |
| 7759 | |
| 7760 | case `$DUMPBIN -symbols -headers /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in |
| 7761 | *COFF*) |
| 7762 | DUMPBIN="$DUMPBIN -symbols -headers" |
| 7763 | ;; |
| 7764 | *) |
| 7765 | DUMPBIN=: |
| 7766 | ;; |
| 7767 | esac |
| 7768 | fi |
| 7769 | |
| 7770 | if testscip-shell system . . test. : != "$DUMPBIN"; then |
| 7771 | NM=$DUMPBIN |
| 7772 | fi |
| 7773 | fi |
| 7774 | testscip-shell system . . test. -z "$NM" && NM=nm |
| 7775 | |
| 7776 | |
| 7777 | |
| 7778 | |
| 7779 | |
| 7780 | |
| 7781 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 7782 | printfscip-shell system . . printf. %s "checking the name lister ($NM) interface... " >&6; } |
| 7783 | if testscip-shell system . . test. ${lt_cv_nm_interface+y} |
| 7784 | then : |
| 7785 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7786 | else case e in #( |
| 7787 | e) lt_cv_nm_interface="BSD nm" |
| 7788 | echoscip-shell system . . echo. "int some_variable = 0;" > conftest.$ac_ext |
| 7789 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 7790 | (eval "$ac_compile" 2>conftest.err) |
| 7791 | catscip-shell system . . cat. conftest.err >&5 |
| 7792 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 7793 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 7794 | catscip-shell system . . cat. conftest.err >&5 |
| 7795 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 7796 | catscip-shell system . . cat. conftest.out >&5 |
| 7797 | if $GREP 'External.*some_variable' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 7798 | lt_cv_nm_interface="MS dumpbin" |
| 7799 | fi |
| 7800 | rmscip-shell system . . rm. -f conftest* ;; |
| 7801 | esac |
| 7802 | fi |
| 7803 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 7804 | printfscip-shell system . . printf. "%s\n" "$lt_cv_nm_interface" >&6; } |
| 7805 | |
| 7806 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 7807 | printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; } |
| 7808 | LN_S=$as_ln_s |
| 7809 | if testscip-shell system . . test. "$LN_S" = "ln -s"; then |
| 7810 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 7811 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 7812 | else |
| 7813 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 7814 | printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; } |
| 7815 | fi |
| 7816 | |
| 7817 | # find the maximum length of command line arguments |
| 7818 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 7819 | printfscip-shell system . . printf. %s "checking the maximum length of command line arguments... " >&6; } |
| 7820 | if testscip-shell system . . test. ${lt_cv_sys_max_cmd_len+y} |
| 7821 | then : |
| 7822 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7823 | else case e in #( |
| 7824 | e) i=0 |
| 7825 | teststring=ABCD |
| 7826 | |
| 7827 | case $build_os in |
| 7828 | msdosdjgpp*) |
| 7829 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 7830 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 7831 | # during glob expansion). Even if it were fixed, the result of this |
| 7832 | # check would be larger than it should be. |
| 7833 | lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 7834 | ;; |
| 7835 | |
| 7836 | gnu* | ironclad*) |
| 7837 | # Under GNU Hurd and Ironclad, this test is not required because there |
| 7838 | # is no limit to the length of command line arguments. |
| 7839 | # Libtool will interpret -1 as no limit whatsoever |
| 7840 | lt_cv_sys_max_cmd_len=-1; |
| 7841 | ;; |
| 7842 | |
| 7843 | cygwin* | mingw* | windows* | cegcc*) |
| 7844 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 7845 | # about 5 minutes as the teststring grows exponentially. |
| 7846 | # Worse, since 9x/ME are not pre-emptively multitasking, |
| 7847 | # you end up with a "frozen" computer, even though with patience |
| 7848 | # the test eventually succeeds (with a max line length of 256k). |
| 7849 | # Instead, let's just punt: use the minimum linelength reported by |
| 7850 | # all of the supported platforms: 8192 (on NT/2K/XP). |
| 7851 | lt_cv_sys_max_cmd_len=8192; |
| 7852 | ;; |
| 7853 | |
| 7854 | mint*) |
| 7855 | # On MiNT this can take a long time and run out of memory. |
| 7856 | lt_cv_sys_max_cmd_len=8192; |
| 7857 | ;; |
| 7858 | |
| 7859 | amigaos*) |
| 7860 | # On AmigaOS with pdksh, this test takes hours, literally. |
| 7861 | # So we just punt and use a minimum line length of 8192. |
| 7862 | lt_cv_sys_max_cmd_len=8192; |
| 7863 | ;; |
| 7864 | |
| 7865 | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 7866 | # This has been around since 386BSD, at least. Likely further. |
| 7867 | if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then |
| 7868 | lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax` |
| 7869 | elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then |
| 7870 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax` |
| 7871 | else |
| 7872 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 7873 | fi |
| 7874 | # And add a safety zone |
| 7875 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4` |
| 7876 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3` |
| 7877 | ;; |
| 7878 | |
| 7879 | interix*) |
| 7880 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 7881 | lt_cv_sys_max_cmd_len=196608 |
| 7882 | ;; |
| 7883 | |
| 7884 | os2*) |
| 7885 | # The test takes a long time on OS/2. |
| 7886 | lt_cv_sys_max_cmd_len=8192 |
| 7887 | ;; |
| 7888 | |
| 7889 | osf*) |
| 7890 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 7891 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 7892 | # nice to cause kernel panics so lets avoid the loop below. |
| 7893 | # First set a reasonable default. |
| 7894 | lt_cv_sys_max_cmd_len=16384 |
| 7895 | # |
| 7896 | if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then |
| 7897 | case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in |
| 7898 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 7899 | esac |
| 7900 | fi |
| 7901 | ;; |
| 7902 | sco3.2v5*) |
| 7903 | lt_cv_sys_max_cmd_len=102400 |
| 7904 | ;; |
| 7905 | sysv5* | sco5v6* | sysv4.2uw2*) |
| 7906 | kargmax=`grepscip-shell system . . grep. ARG_MAX /etc/conf/cf.d/stunescip-shell filesystem . . `/etc/conf/cf.d/stune`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 7907 | if testscip-shell system . . test. -n "$kargmax"; then |
| 7908 | lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | $SED 's/.*[ ]//'` |
| 7909 | else |
| 7910 | lt_cv_sys_max_cmd_len=32768 |
| 7911 | fi |
| 7912 | ;; |
| 7913 | *) |
| 7914 | lt_cv_sys_max_cmd_len=`(getconfscip-shell system . . getconf. ARG_MAX) 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 7915 | if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len" && \ |
| 7916 | test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 7917 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4` |
| 7918 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3` |
| 7919 | else |
| 7920 | # Make teststring a little bigger before we do anything with it. |
| 7921 | # a 1K string should be a reasonable start. |
| 7922 | for i in 1 2 3 4 5 6 7 8; do |
| 7923 | teststring=$teststring$teststring |
| 7924 | done |
| 7925 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 7926 | # If test is not a shell built-in, we'll probably end up computing a |
| 7927 | # maximum length that is only half of the actual maximum length, but |
| 7928 | # we can't tell. |
| 7929 | while { testscip-shell system . . test. X`envscip-shell system . . env. echo "$teststring$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 7930 | = "X$teststring$teststring"; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 7931 | testscip-shell system . . test. 17 != "$i" # 1/2 MB should be enough |
| 7932 | do |
| 7933 | i=`exprscip-shell system . . expr. $i + 1` |
| 7934 | teststring=$teststring$teststring |
| 7935 | done |
| 7936 | # Only check the string length outside the loop. |
| 7937 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1` |
| 7938 | teststring= |
| 7939 | # Add a significant safety factor because C++ compilers can tack on |
| 7940 | # massive amounts of additional arguments before passing them to the |
| 7941 | # linker. It appears as though 1/2 is a usable value. |
| 7942 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2` |
| 7943 | fi |
| 7944 | ;; |
| 7945 | esac |
| 7946 | ;; |
| 7947 | esac |
| 7948 | fi |
| 7949 | |
| 7950 | if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len"; then |
| 7951 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 7952 | printfscip-shell system . . printf. "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 7953 | else |
| 7954 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 7955 | printfscip-shell system . . printf. "%s\n" "none" >&6; } |
| 7956 | fi |
| 7957 | max_cmd_len=$lt_cv_sys_max_cmd_len |
| 7958 | |
| 7959 | |
| 7960 | |
| 7961 | |
| 7962 | |
| 7963 | |
| 7964 | : ${CP="cp -f"} |
| 7965 | : ${MV="mv -f"} |
| 7966 | : ${RM="rm -f"} |
| 7967 | |
| 7968 | if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 7969 | lt_unset=unset |
| 7970 | else |
| 7971 | lt_unset=false |
| 7972 | fi |
| 7973 | |
| 7974 | |
| 7975 | |
| 7976 | |
| 7977 | |
| 7978 | # test EBCDIC or ASCII |
| 7979 | case `echoscip-shell system . . echo. X|trscip-shell system . . tr. X '\101'` in |
| 7980 | A) # ASCII based system |
| 7981 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 7982 | lt_SP2NL='tr \040 \012' |
| 7983 | lt_NL2SP='tr \015\012 \040\040' |
| 7984 | ;; |
| 7985 | *) # EBCDIC based system |
| 7986 | lt_SP2NL='tr \100 \n' |
| 7987 | lt_NL2SP='tr \r\n \100\100' |
| 7988 | ;; |
| 7989 | esac |
| 7990 | |
| 7991 | |
| 7992 | |
| 7993 | |
| 7994 | |
| 7995 | |
| 7996 | |
| 7997 | |
| 7998 | |
| 7999 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 8000 | printfscip-shell system . . printf. %s "checking how to convert $build file names to $host format... " >&6; } |
| 8001 | if testscip-shell system . . test. ${lt_cv_to_host_file_cmd+y} |
| 8002 | then : |
| 8003 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8004 | else case e in #( |
| 8005 | e) case $host in |
| 8006 | *-*-mingw* ) |
| 8007 | case $build in |
| 8008 | *-*-mingw* | *-*-windows* ) # actually msys |
| 8009 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 8010 | ;; |
| 8011 | *-*-cygwin* ) |
| 8012 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 8013 | ;; |
| 8014 | * ) # otherwise, assume *nix |
| 8015 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 8016 | ;; |
| 8017 | esac |
| 8018 | ;; |
| 8019 | *-*-cygwin* ) |
| 8020 | case $build in |
| 8021 | *-*-mingw* | *-*-windows* ) # actually msys |
| 8022 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 8023 | ;; |
| 8024 | *-*-cygwin* ) |
| 8025 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 8026 | ;; |
| 8027 | * ) # otherwise, assume *nix |
| 8028 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 8029 | ;; |
| 8030 | esac |
| 8031 | ;; |
| 8032 | * ) # unhandled hosts (and "normal" native builds) |
| 8033 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 8034 | ;; |
| 8035 | esac |
| 8036 | ;; |
| 8037 | esac |
| 8038 | fi |
| 8039 | |
| 8040 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 8041 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 8042 | printfscip-shell system . . printf. "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 8043 | |
| 8044 | |
| 8045 | |
| 8046 | |
| 8047 | |
| 8048 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 8049 | printfscip-shell system . . printf. %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 8050 | if testscip-shell system . . test. ${lt_cv_to_tool_file_cmd+y} |
| 8051 | then : |
| 8052 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8053 | else case e in #( |
| 8054 | e) #assume ordinary cross tools, or native build. |
| 8055 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 8056 | case $host in |
| 8057 | *-*-mingw* | *-*-windows* ) |
| 8058 | case $build in |
| 8059 | *-*-mingw* | *-*-windows* ) # actually msys |
| 8060 | lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 8061 | ;; |
| 8062 | esac |
| 8063 | ;; |
| 8064 | esac |
| 8065 | ;; |
| 8066 | esac |
| 8067 | fi |
| 8068 | |
| 8069 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 8070 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 8071 | printfscip-shell system . . printf. "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 8072 | |
| 8073 | |
| 8074 | |
| 8075 | |
| 8076 | |
| 8077 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 8078 | printfscip-shell system . . printf. %s "checking for $LD option to reload object files... " >&6; } |
| 8079 | if testscip-shell system . . test. ${lt_cv_ld_reload_flag+y} |
| 8080 | then : |
| 8081 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8082 | else case e in #( |
| 8083 | e) lt_cv_ld_reload_flag='-r' ;; |
| 8084 | esac |
| 8085 | fi |
| 8086 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 8087 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 8088 | reload_flag=$lt_cv_ld_reload_flag |
| 8089 | case $reload_flag in |
| 8090 | "" | " "*) ;; |
| 8091 | *) reload_flag=" $reload_flag" ;; |
| 8092 | esac |
| 8093 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 8094 | case $host_os in |
| 8095 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 8096 | if testscip-shell system . . test. yes != "$GCC"; then |
| 8097 | reload_cmds=false |
| 8098 | fi |
| 8099 | ;; |
| 8100 | darwin*) |
| 8101 | if testscip-shell system . . test. yes = "$GCC"; then |
| 8102 | reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 8103 | else |
| 8104 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 8105 | fi |
| 8106 | ;; |
| 8107 | esac |
| 8108 | |
| 8109 | |
| 8110 | |
| 8111 | |
| 8112 | |
| 8113 | |
| 8114 | |
| 8115 | |
| 8116 | |
| 8117 | # Extract the first word of "file", so it can be a program name with args. |
| 8118 | set dummy file; ac_word=$2 |
| 8119 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8120 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8121 | if testscip-shell system . . test. ${ac_cv_prog_FILECMD+y} |
| 8122 | then : |
| 8123 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8124 | else case e in #( |
| 8125 | e) if testscip-shell system . . test. -n "$FILECMD"; then |
| 8126 | ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 8127 | else |
| 8128 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8129 | for as_dir in $PATH |
| 8130 | do |
| 8131 | IFS=$as_save_IFS |
| 8132 | case $as_dir in #((( |
| 8133 | '') as_dir=./ ;; |
| 8134 | */) ;; |
| 8135 | *) as_dir=$as_dir/ ;; |
| 8136 | esac |
| 8137 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8138 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8139 | ac_cv_prog_FILECMD="file" |
| 8140 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8141 | break 2 |
| 8142 | fi |
| 8143 | done |
| 8144 | done |
| 8145 | IFS=$as_save_IFS |
| 8146 | |
| 8147 | testscip-shell system . . test. -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" |
| 8148 | fi ;; |
| 8149 | esac |
| 8150 | fi |
| 8151 | FILECMD=$ac_cv_prog_FILECMD |
| 8152 | if testscip-shell system . . test. -n "$FILECMD"; then |
| 8153 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 8154 | printfscip-shell system . . printf. "%s\n" "$FILECMD" >&6; } |
| 8155 | else |
| 8156 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8157 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8158 | fi |
| 8159 | |
| 8160 | |
| 8161 | |
| 8162 | |
| 8163 | |
| 8164 | |
| 8165 | |
| 8166 | |
| 8167 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8168 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 8169 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 8170 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8171 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8172 | if testscip-shell system . . test. ${ac_cv_prog_OBJDUMP+y} |
| 8173 | then : |
| 8174 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8175 | else case e in #( |
| 8176 | e) if testscip-shell system . . test. -n "$OBJDUMP"; then |
| 8177 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 8178 | else |
| 8179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8180 | for as_dir in $PATH |
| 8181 | do |
| 8182 | IFS=$as_save_IFS |
| 8183 | case $as_dir in #((( |
| 8184 | '') as_dir=./ ;; |
| 8185 | */) ;; |
| 8186 | *) as_dir=$as_dir/ ;; |
| 8187 | esac |
| 8188 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8189 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8190 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 8191 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8192 | break 2 |
| 8193 | fi |
| 8194 | done |
| 8195 | done |
| 8196 | IFS=$as_save_IFS |
| 8197 | |
| 8198 | fi ;; |
| 8199 | esac |
| 8200 | fi |
| 8201 | OBJDUMP=$ac_cv_prog_OBJDUMP |
| 8202 | if testscip-shell system . . test. -n "$OBJDUMP"; then |
| 8203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 8204 | printfscip-shell system . . printf. "%s\n" "$OBJDUMP" >&6; } |
| 8205 | else |
| 8206 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8207 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8208 | fi |
| 8209 | |
| 8210 | |
| 8211 | fi |
| 8212 | if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then |
| 8213 | ac_ct_OBJDUMP=$OBJDUMP |
| 8214 | # Extract the first word of "objdump", so it can be a program name with args. |
| 8215 | set dummy objdump; ac_word=$2 |
| 8216 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8217 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8218 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 8219 | then : |
| 8220 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8221 | else case e in #( |
| 8222 | e) if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then |
| 8223 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 8224 | else |
| 8225 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8226 | for as_dir in $PATH |
| 8227 | do |
| 8228 | IFS=$as_save_IFS |
| 8229 | case $as_dir in #((( |
| 8230 | '') as_dir=./ ;; |
| 8231 | */) ;; |
| 8232 | *) as_dir=$as_dir/ ;; |
| 8233 | esac |
| 8234 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8235 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8236 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 8237 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8238 | break 2 |
| 8239 | fi |
| 8240 | done |
| 8241 | done |
| 8242 | IFS=$as_save_IFS |
| 8243 | |
| 8244 | fi ;; |
| 8245 | esac |
| 8246 | fi |
| 8247 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 8248 | if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then |
| 8249 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 8250 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 8251 | else |
| 8252 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8253 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8254 | fi |
| 8255 | |
| 8256 | if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then |
| 8257 | OBJDUMP="false" |
| 8258 | else |
| 8259 | case $cross_compiling:$ac_tool_warned in |
| 8260 | yes:) |
| 8261 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8262 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8263 | ac_tool_warned=yes ;; |
| 8264 | esac |
| 8265 | OBJDUMP=$ac_ct_OBJDUMP |
| 8266 | fi |
| 8267 | else |
| 8268 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 8269 | fi |
| 8270 | |
| 8271 | testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump |
| 8272 | |
| 8273 | |
| 8274 | |
| 8275 | |
| 8276 | |
| 8277 | |
| 8278 | |
| 8279 | |
| 8280 | |
| 8281 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 8282 | printfscip-shell system . . printf. %s "checking how to recognize dependent libraries... " >&6; } |
| 8283 | if testscip-shell system . . test. ${lt_cv_deplibs_check_method+y} |
| 8284 | then : |
| 8285 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8286 | else case e in #( |
| 8287 | e) lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 8288 | lt_cv_file_magic_test_file= |
| 8289 | lt_cv_deplibs_check_method='unknown' |
| 8290 | # Need to set the preceding variable on all platforms that support |
| 8291 | # interlibrary dependencies. |
| 8292 | # 'none' -- dependencies not supported. |
| 8293 | # 'unknown' -- same as none, but documents that we really don't know. |
| 8294 | # 'pass_all' -- all dependencies passed with no checks. |
| 8295 | # 'file_magic [[regex]]' -- check by looking for files in library path |
| 8296 | # that responds to the $file_magic_cmd with a given extended regex. |
| 8297 | # If you have 'file' or equivalent on your system and you're not sure |
| 8298 | # whether 'pass_all' will *always* work, you probably want this one. |
| 8299 | |
| 8300 | case $host_os in |
| 8301 | aix[4-9]*) |
| 8302 | lt_cv_deplibs_check_method=pass_all |
| 8303 | ;; |
| 8304 | |
| 8305 | beos*) |
| 8306 | lt_cv_deplibs_check_method=pass_all |
| 8307 | ;; |
| 8308 | |
| 8309 | bsdi[45]*) |
| 8310 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 8311 | lt_cv_file_magic_cmd='$FILECMD -L' |
| 8312 | lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`. |
| 8313 | ;; |
| 8314 | |
| 8315 | cygwin*) |
| 8316 | # func_win32_libid is a shell function defined in ltmain.sh |
| 8317 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 8318 | lt_cv_file_magic_cmd='func_win32_libid' |
| 8319 | ;; |
| 8320 | |
| 8321 | mingw* | windows* | pw32*) |
| 8322 | # Base MSYS/MinGW do not provide the 'file' command needed by |
| 8323 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 8324 | # unless we find 'file', for example because we are cross-compiling. |
| 8325 | if ( filescip-shell system . . file. /scip-shell filesystem . . `/`. ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 8326 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 8327 | lt_cv_file_magic_cmd='func_win32_libid' |
| 8328 | else |
| 8329 | # Keep this pattern in sync with the one in func_win32_libid. |
| 8330 | lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' |
| 8331 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 8332 | fi |
| 8333 | ;; |
| 8334 | |
| 8335 | cegcc*) |
| 8336 | # use the weaker test based on 'objdump'. See mingw*. |
| 8337 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 8338 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 8339 | ;; |
| 8340 | |
| 8341 | darwin* | rhapsody*) |
| 8342 | lt_cv_deplibs_check_method=pass_all |
| 8343 | ;; |
| 8344 | |
| 8345 | freebsd* | dragonfly* | midnightbsd*) |
| 8346 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 8347 | case $host_cpu in |
| 8348 | i*86 ) |
| 8349 | # Not sure whether the presence of OpenBSD here was a mistake. |
| 8350 | # Let's accept both of them until this is cleared up. |
| 8351 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 8352 | lt_cv_file_magic_cmd=$FILECMD |
| 8353 | lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*` |
| 8354 | ;; |
| 8355 | esac |
| 8356 | else |
| 8357 | lt_cv_deplibs_check_method=pass_all |
| 8358 | fi |
| 8359 | ;; |
| 8360 | |
| 8361 | haiku*) |
| 8362 | lt_cv_deplibs_check_method=pass_all |
| 8363 | ;; |
| 8364 | |
| 8365 | hpux10.20* | hpux11*) |
| 8366 | lt_cv_file_magic_cmd=$FILECMD |
| 8367 | case $host_cpu in |
| 8368 | ia64*) |
| 8369 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 8370 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`. |
| 8371 | ;; |
| 8372 | hppa*64*) |
| 8373 | 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]' |
| 8374 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`. |
| 8375 | ;; |
| 8376 | *) |
| 8377 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 8378 | lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`. |
| 8379 | ;; |
| 8380 | esac |
| 8381 | ;; |
| 8382 | |
| 8383 | interix[3-9]*) |
| 8384 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 8385 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 8386 | ;; |
| 8387 | |
| 8388 | irix5* | irix6* | nonstopux*) |
| 8389 | case $LD in |
| 8390 | *-32|*"-32 ") libmagic=32-bit;; |
| 8391 | *-n32|*"-n32 ") libmagic=N32;; |
| 8392 | *-64|*"-64 ") libmagic=64-bit;; |
| 8393 | *) libmagic=never-match;; |
| 8394 | esac |
| 8395 | lt_cv_deplibs_check_method=pass_all |
| 8396 | ;; |
| 8397 | |
| 8398 | # This must be glibc/ELF. |
| 8399 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 8400 | lt_cv_deplibs_check_method=pass_all |
| 8401 | ;; |
| 8402 | |
| 8403 | *-mlibc) |
| 8404 | lt_cv_deplibs_check_method=pass_all |
| 8405 | ;; |
| 8406 | |
| 8407 | netbsd* | netbsdelf*-gnu) |
| 8408 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 8409 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 8410 | else |
| 8411 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 8412 | fi |
| 8413 | ;; |
| 8414 | |
| 8415 | newos6*) |
| 8416 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 8417 | lt_cv_file_magic_cmd=$FILECMD |
| 8418 | lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`. |
| 8419 | ;; |
| 8420 | |
| 8421 | *nto* | *qnx*) |
| 8422 | lt_cv_deplibs_check_method=pass_all |
| 8423 | ;; |
| 8424 | |
| 8425 | openbsd*) |
| 8426 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 8427 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 8428 | else |
| 8429 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 8430 | fi |
| 8431 | ;; |
| 8432 | |
| 8433 | osf3* | osf4* | osf5*) |
| 8434 | lt_cv_deplibs_check_method=pass_all |
| 8435 | ;; |
| 8436 | |
| 8437 | rdos*) |
| 8438 | lt_cv_deplibs_check_method=pass_all |
| 8439 | ;; |
| 8440 | |
| 8441 | serenity*) |
| 8442 | lt_cv_deplibs_check_method=pass_all |
| 8443 | ;; |
| 8444 | |
| 8445 | solaris*) |
| 8446 | lt_cv_deplibs_check_method=pass_all |
| 8447 | ;; |
| 8448 | |
| 8449 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 8450 | lt_cv_deplibs_check_method=pass_all |
| 8451 | ;; |
| 8452 | |
| 8453 | sysv4 | sysv4.3*) |
| 8454 | case $host_vendor in |
| 8455 | motorola) |
| 8456 | 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]' |
| 8457 | lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*` |
| 8458 | ;; |
| 8459 | ncr) |
| 8460 | lt_cv_deplibs_check_method=pass_all |
| 8461 | ;; |
| 8462 | sequent) |
| 8463 | lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.' |
| 8464 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
| 8465 | ;; |
| 8466 | sni) |
| 8467 | lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.' |
| 8468 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
| 8469 | lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`. |
| 8470 | ;; |
| 8471 | siemens) |
| 8472 | lt_cv_deplibs_check_method=pass_all |
| 8473 | ;; |
| 8474 | pc) |
| 8475 | lt_cv_deplibs_check_method=pass_all |
| 8476 | ;; |
| 8477 | esac |
| 8478 | ;; |
| 8479 | |
| 8480 | tpf*) |
| 8481 | lt_cv_deplibs_check_method=pass_all |
| 8482 | ;; |
| 8483 | os2*) |
| 8484 | lt_cv_deplibs_check_method=pass_all |
| 8485 | ;; |
| 8486 | esac |
| 8487 | ;; |
| 8488 | esac |
| 8489 | fi |
| 8490 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 8491 | printfscip-shell system . . printf. "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 8492 | |
| 8493 | file_magic_glob= |
| 8494 | want_nocaseglob=no |
| 8495 | if testscip-shell system . . test. "$build" = "$host"; then |
| 8496 | case $host_os in |
| 8497 | mingw* | windows* | pw32*) |
| 8498 | if ( shopt | grepscip-shell system . . grep. nocaseglob ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 8499 | want_nocaseglob=yes |
| 8500 | else |
| 8501 | file_magic_glob=`echoscip-shell system . . echo. aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 8502 | fi |
| 8503 | ;; |
| 8504 | esac |
| 8505 | fi |
| 8506 | |
| 8507 | file_magic_cmd=$lt_cv_file_magic_cmd |
| 8508 | deplibs_check_method=$lt_cv_deplibs_check_method |
| 8509 | testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 8510 | |
| 8511 | |
| 8512 | |
| 8513 | |
| 8514 | |
| 8515 | |
| 8516 | |
| 8517 | |
| 8518 | |
| 8519 | |
| 8520 | |
| 8521 | |
| 8522 | |
| 8523 | |
| 8524 | |
| 8525 | |
| 8526 | |
| 8527 | |
| 8528 | |
| 8529 | |
| 8530 | |
| 8531 | |
| 8532 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8533 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 8534 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 8535 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8536 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8537 | if testscip-shell system . . test. ${ac_cv_prog_DLLTOOL+y} |
| 8538 | then : |
| 8539 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8540 | else case e in #( |
| 8541 | e) if testscip-shell system . . test. -n "$DLLTOOL"; then |
| 8542 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 8543 | else |
| 8544 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8545 | for as_dir in $PATH |
| 8546 | do |
| 8547 | IFS=$as_save_IFS |
| 8548 | case $as_dir in #((( |
| 8549 | '') as_dir=./ ;; |
| 8550 | */) ;; |
| 8551 | *) as_dir=$as_dir/ ;; |
| 8552 | esac |
| 8553 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8554 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8555 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 8556 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8557 | break 2 |
| 8558 | fi |
| 8559 | done |
| 8560 | done |
| 8561 | IFS=$as_save_IFS |
| 8562 | |
| 8563 | fi ;; |
| 8564 | esac |
| 8565 | fi |
| 8566 | DLLTOOL=$ac_cv_prog_DLLTOOL |
| 8567 | if testscip-shell system . . test. -n "$DLLTOOL"; then |
| 8568 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 8569 | printfscip-shell system . . printf. "%s\n" "$DLLTOOL" >&6; } |
| 8570 | else |
| 8571 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8572 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8573 | fi |
| 8574 | |
| 8575 | |
| 8576 | fi |
| 8577 | if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then |
| 8578 | ac_ct_DLLTOOL=$DLLTOOL |
| 8579 | # Extract the first word of "dlltool", so it can be a program name with args. |
| 8580 | set dummy dlltool; ac_word=$2 |
| 8581 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8582 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8583 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 8584 | then : |
| 8585 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8586 | else case e in #( |
| 8587 | e) if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then |
| 8588 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 8589 | else |
| 8590 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8591 | for as_dir in $PATH |
| 8592 | do |
| 8593 | IFS=$as_save_IFS |
| 8594 | case $as_dir in #((( |
| 8595 | '') as_dir=./ ;; |
| 8596 | */) ;; |
| 8597 | *) as_dir=$as_dir/ ;; |
| 8598 | esac |
| 8599 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8600 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8601 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 8602 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8603 | break 2 |
| 8604 | fi |
| 8605 | done |
| 8606 | done |
| 8607 | IFS=$as_save_IFS |
| 8608 | |
| 8609 | fi ;; |
| 8610 | esac |
| 8611 | fi |
| 8612 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 8613 | if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then |
| 8614 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 8615 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 8616 | else |
| 8617 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8618 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8619 | fi |
| 8620 | |
| 8621 | if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then |
| 8622 | DLLTOOL="false" |
| 8623 | else |
| 8624 | case $cross_compiling:$ac_tool_warned in |
| 8625 | yes:) |
| 8626 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8627 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8628 | ac_tool_warned=yes ;; |
| 8629 | esac |
| 8630 | DLLTOOL=$ac_ct_DLLTOOL |
| 8631 | fi |
| 8632 | else |
| 8633 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 8634 | fi |
| 8635 | |
| 8636 | testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool |
| 8637 | |
| 8638 | |
| 8639 | |
| 8640 | |
| 8641 | |
| 8642 | |
| 8643 | |
| 8644 | |
| 8645 | |
| 8646 | |
| 8647 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 8648 | printfscip-shell system . . printf. %s "checking how to associate runtime and link libraries... " >&6; } |
| 8649 | if testscip-shell system . . test. ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 8650 | then : |
| 8651 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8652 | else case e in #( |
| 8653 | e) lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 8654 | |
| 8655 | case $host_os in |
| 8656 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 8657 | # two different shell functions defined in ltmain.sh; |
| 8658 | # decide which one to use based on capabilities of $DLLTOOL |
| 8659 | case `$DLLTOOL --help 2>&1` in |
| 8660 | *--identify-strict*) |
| 8661 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 8662 | ;; |
| 8663 | *) |
| 8664 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 8665 | ;; |
| 8666 | esac |
| 8667 | ;; |
| 8668 | *) |
| 8669 | # fallback: assume linklib IS sharedlib |
| 8670 | lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 8671 | ;; |
| 8672 | esac |
| 8673 | ;; |
| 8674 | esac |
| 8675 | fi |
| 8676 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 8677 | printfscip-shell system . . printf. "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 8678 | sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 8679 | testscip-shell system . . test. -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 8680 | |
| 8681 | |
| 8682 | |
| 8683 | |
| 8684 | |
| 8685 | |
| 8686 | |
| 8687 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8688 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 8689 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 8690 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8691 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8692 | if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y} |
| 8693 | then : |
| 8694 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8695 | else case e in #( |
| 8696 | e) if testscip-shell system . . test. -n "$RANLIB"; then |
| 8697 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 8698 | else |
| 8699 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8700 | for as_dir in $PATH |
| 8701 | do |
| 8702 | IFS=$as_save_IFS |
| 8703 | case $as_dir in #((( |
| 8704 | '') as_dir=./ ;; |
| 8705 | */) ;; |
| 8706 | *) as_dir=$as_dir/ ;; |
| 8707 | esac |
| 8708 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8709 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8710 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 8711 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8712 | break 2 |
| 8713 | fi |
| 8714 | done |
| 8715 | done |
| 8716 | IFS=$as_save_IFS |
| 8717 | |
| 8718 | fi ;; |
| 8719 | esac |
| 8720 | fi |
| 8721 | RANLIB=$ac_cv_prog_RANLIB |
| 8722 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 8723 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 8724 | printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; } |
| 8725 | else |
| 8726 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8727 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8728 | fi |
| 8729 | |
| 8730 | |
| 8731 | fi |
| 8732 | if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then |
| 8733 | ac_ct_RANLIB=$RANLIB |
| 8734 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 8735 | set dummy ranlib; ac_word=$2 |
| 8736 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8737 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8738 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y} |
| 8739 | then : |
| 8740 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8741 | else case e in #( |
| 8742 | e) if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 8743 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 8744 | else |
| 8745 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8746 | for as_dir in $PATH |
| 8747 | do |
| 8748 | IFS=$as_save_IFS |
| 8749 | case $as_dir in #((( |
| 8750 | '') as_dir=./ ;; |
| 8751 | */) ;; |
| 8752 | *) as_dir=$as_dir/ ;; |
| 8753 | esac |
| 8754 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8755 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8756 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 8757 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8758 | break 2 |
| 8759 | fi |
| 8760 | done |
| 8761 | done |
| 8762 | IFS=$as_save_IFS |
| 8763 | |
| 8764 | fi ;; |
| 8765 | esac |
| 8766 | fi |
| 8767 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 8768 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 8769 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 8770 | printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; } |
| 8771 | else |
| 8772 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8773 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8774 | fi |
| 8775 | |
| 8776 | if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then |
| 8777 | RANLIB=":" |
| 8778 | else |
| 8779 | case $cross_compiling:$ac_tool_warned in |
| 8780 | yes:) |
| 8781 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8782 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8783 | ac_tool_warned=yes ;; |
| 8784 | esac |
| 8785 | RANLIB=$ac_ct_RANLIB |
| 8786 | fi |
| 8787 | else |
| 8788 | RANLIB="$ac_cv_prog_RANLIB" |
| 8789 | fi |
| 8790 | |
| 8791 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8792 | for ac_prog in ar |
| 8793 | do |
| 8794 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 8795 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 8796 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8797 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8798 | if testscip-shell system . . test. ${ac_cv_prog_AR+y} |
| 8799 | then : |
| 8800 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8801 | else case e in #( |
| 8802 | e) if testscip-shell system . . test. -n "$AR"; then |
| 8803 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 8804 | else |
| 8805 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8806 | for as_dir in $PATH |
| 8807 | do |
| 8808 | IFS=$as_save_IFS |
| 8809 | case $as_dir in #((( |
| 8810 | '') as_dir=./ ;; |
| 8811 | */) ;; |
| 8812 | *) as_dir=$as_dir/ ;; |
| 8813 | esac |
| 8814 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8815 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8816 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 8817 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8818 | break 2 |
| 8819 | fi |
| 8820 | done |
| 8821 | done |
| 8822 | IFS=$as_save_IFS |
| 8823 | |
| 8824 | fi ;; |
| 8825 | esac |
| 8826 | fi |
| 8827 | AR=$ac_cv_prog_AR |
| 8828 | if testscip-shell system . . test. -n "$AR"; then |
| 8829 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 8830 | printfscip-shell system . . printf. "%s\n" "$AR" >&6; } |
| 8831 | else |
| 8832 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8833 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8834 | fi |
| 8835 | |
| 8836 | |
| 8837 | testscip-shell system . . test. -n "$AR" && break |
| 8838 | done |
| 8839 | fi |
| 8840 | if testscip-shell system . . test. -z "$AR"; then |
| 8841 | ac_ct_AR=$AR |
| 8842 | for ac_prog in ar |
| 8843 | do |
| 8844 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 8845 | set dummy $ac_prog; ac_word=$2 |
| 8846 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8847 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8848 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y} |
| 8849 | then : |
| 8850 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8851 | else case e in #( |
| 8852 | e) if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 8853 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 8854 | else |
| 8855 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8856 | for as_dir in $PATH |
| 8857 | do |
| 8858 | IFS=$as_save_IFS |
| 8859 | case $as_dir in #((( |
| 8860 | '') as_dir=./ ;; |
| 8861 | */) ;; |
| 8862 | *) as_dir=$as_dir/ ;; |
| 8863 | esac |
| 8864 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8865 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8866 | ac_cv_prog_ac_ct_AR="$ac_prog" |
| 8867 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8868 | break 2 |
| 8869 | fi |
| 8870 | done |
| 8871 | done |
| 8872 | IFS=$as_save_IFS |
| 8873 | |
| 8874 | fi ;; |
| 8875 | esac |
| 8876 | fi |
| 8877 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 8878 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 8879 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 8880 | printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; } |
| 8881 | else |
| 8882 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8883 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8884 | fi |
| 8885 | |
| 8886 | |
| 8887 | testscip-shell system . . test. -n "$ac_ct_AR" && break |
| 8888 | done |
| 8889 | |
| 8890 | if testscip-shell system . . test. "x$ac_ct_AR" = x; then |
| 8891 | AR="false" |
| 8892 | else |
| 8893 | case $cross_compiling:$ac_tool_warned in |
| 8894 | yes:) |
| 8895 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8896 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8897 | ac_tool_warned=yes ;; |
| 8898 | esac |
| 8899 | AR=$ac_ct_AR |
| 8900 | fi |
| 8901 | fi |
| 8902 | |
| 8903 | : ${AR=ar} |
| 8904 | |
| 8905 | |
| 8906 | |
| 8907 | |
| 8908 | |
| 8909 | |
| 8910 | # Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 8911 | # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 8912 | # higher priority because that's what people were doing historically (setting |
| 8913 | # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 8914 | # variable obsoleted/removed. |
| 8915 | |
| 8916 | testscip-shell system . . test. ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 8917 | lt_ar_flags=$AR_FLAGS |
| 8918 | |
| 8919 | |
| 8920 | |
| 8921 | |
| 8922 | |
| 8923 | |
| 8924 | # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 8925 | # by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 8926 | |
| 8927 | |
| 8928 | |
| 8929 | |
| 8930 | |
| 8931 | |
| 8932 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 8933 | printfscip-shell system . . printf. %s "checking for archiver @FILE support... " >&6; } |
| 8934 | if testscip-shell system . . test. ${lt_cv_ar_at_file+y} |
| 8935 | then : |
| 8936 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8937 | else case e in #( |
| 8938 | e) lt_cv_ar_at_file=no |
| 8939 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8940 | /* end confdefs.h. */ |
| 8941 | |
| 8942 | int |
| 8943 | main (void) |
| 8944 | { |
| 8945 | |
| 8946 | ; |
| 8947 | return 0; |
| 8948 | } |
| 8949 | _ACEOF |
| 8950 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 8951 | then : |
| 8952 | echoscip-shell system . . echo. conftest.$ac_objext > conftest.lst |
| 8953 | lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 8954 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 8955 | (eval $lt_ar_try) 2>&5 |
| 8956 | ac_status=$? |
| 8957 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8958 | testscip-shell system . . test. $ac_status = 0; } |
| 8959 | if testscip-shell system . . test. 0 -eq "$ac_status"; then |
| 8960 | # Ensure the archiver fails upon bogus file names. |
| 8961 | rmscip-shell system . . rm. -f conftest.$ac_objext libconftest.a |
| 8962 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 8963 | (eval $lt_ar_try) 2>&5 |
| 8964 | ac_status=$? |
| 8965 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8966 | testscip-shell system . . test. $ac_status = 0; } |
| 8967 | if testscip-shell system . . test. 0 -ne "$ac_status"; then |
| 8968 | lt_cv_ar_at_file=@ |
| 8969 | fi |
| 8970 | fi |
| 8971 | rmscip-shell system . . rm. -f conftest.* libconftest.a |
| 8972 | |
| 8973 | fi |
| 8974 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 8975 | ;; |
| 8976 | esac |
| 8977 | fi |
| 8978 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 8979 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 8980 | |
| 8981 | if testscip-shell system . . test. no = "$lt_cv_ar_at_file"; then |
| 8982 | archiver_list_spec= |
| 8983 | else |
| 8984 | archiver_list_spec=$lt_cv_ar_at_file |
| 8985 | fi |
| 8986 | |
| 8987 | |
| 8988 | |
| 8989 | |
| 8990 | |
| 8991 | |
| 8992 | |
| 8993 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8994 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 8995 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 8996 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8997 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8998 | if testscip-shell system . . test. ${ac_cv_prog_STRIP+y} |
| 8999 | then : |
| 9000 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9001 | else case e in #( |
| 9002 | e) if testscip-shell system . . test. -n "$STRIP"; then |
| 9003 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 9004 | else |
| 9005 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9006 | for as_dir in $PATH |
| 9007 | do |
| 9008 | IFS=$as_save_IFS |
| 9009 | case $as_dir in #((( |
| 9010 | '') as_dir=./ ;; |
| 9011 | */) ;; |
| 9012 | *) as_dir=$as_dir/ ;; |
| 9013 | esac |
| 9014 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9015 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9016 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 9017 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9018 | break 2 |
| 9019 | fi |
| 9020 | done |
| 9021 | done |
| 9022 | IFS=$as_save_IFS |
| 9023 | |
| 9024 | fi ;; |
| 9025 | esac |
| 9026 | fi |
| 9027 | STRIP=$ac_cv_prog_STRIP |
| 9028 | if testscip-shell system . . test. -n "$STRIP"; then |
| 9029 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 9030 | printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; } |
| 9031 | else |
| 9032 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9033 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9034 | fi |
| 9035 | |
| 9036 | |
| 9037 | fi |
| 9038 | if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then |
| 9039 | ac_ct_STRIP=$STRIP |
| 9040 | # Extract the first word of "strip", so it can be a program name with args. |
| 9041 | set dummy strip; ac_word=$2 |
| 9042 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9043 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9044 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y} |
| 9045 | then : |
| 9046 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9047 | else case e in #( |
| 9048 | e) if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 9049 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 9050 | else |
| 9051 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9052 | for as_dir in $PATH |
| 9053 | do |
| 9054 | IFS=$as_save_IFS |
| 9055 | case $as_dir in #((( |
| 9056 | '') as_dir=./ ;; |
| 9057 | */) ;; |
| 9058 | *) as_dir=$as_dir/ ;; |
| 9059 | esac |
| 9060 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9061 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9062 | ac_cv_prog_ac_ct_STRIP="strip" |
| 9063 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9064 | break 2 |
| 9065 | fi |
| 9066 | done |
| 9067 | done |
| 9068 | IFS=$as_save_IFS |
| 9069 | |
| 9070 | fi ;; |
| 9071 | esac |
| 9072 | fi |
| 9073 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 9074 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 9075 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 9076 | printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; } |
| 9077 | else |
| 9078 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9079 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9080 | fi |
| 9081 | |
| 9082 | if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then |
| 9083 | STRIP=":" |
| 9084 | else |
| 9085 | case $cross_compiling:$ac_tool_warned in |
| 9086 | yes:) |
| 9087 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9088 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9089 | ac_tool_warned=yes ;; |
| 9090 | esac |
| 9091 | STRIP=$ac_ct_STRIP |
| 9092 | fi |
| 9093 | else |
| 9094 | STRIP="$ac_cv_prog_STRIP" |
| 9095 | fi |
| 9096 | |
| 9097 | testscip-shell system . . test. -z "$STRIP" && STRIP=: |
| 9098 | |
| 9099 | |
| 9100 | |
| 9101 | |
| 9102 | |
| 9103 | |
| 9104 | |
| 9105 | testscip-shell system . . test. -z "$RANLIB" && RANLIB=: |
| 9106 | |
| 9107 | |
| 9108 | |
| 9109 | |
| 9110 | |
| 9111 | |
| 9112 | # Determine commands to create old-style static archives. |
| 9113 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 9114 | old_postinstall_cmds='chmod 644 $oldlib' |
| 9115 | old_postuninstall_cmds= |
| 9116 | |
| 9117 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 9118 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 9119 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 9120 | fi |
| 9121 | |
| 9122 | case $host_os in |
| 9123 | darwin*) |
| 9124 | lock_old_archive_extraction=yes ;; |
| 9125 | *) |
| 9126 | lock_old_archive_extraction=no ;; |
| 9127 | esac |
| 9128 | |
| 9129 | |
| 9130 | |
| 9131 | |
| 9132 | |
| 9133 | |
| 9134 | |
| 9135 | |
| 9136 | |
| 9137 | |
| 9138 | |
| 9139 | |
| 9140 | |
| 9141 | |
| 9142 | |
| 9143 | |
| 9144 | |
| 9145 | |
| 9146 | |
| 9147 | |
| 9148 | |
| 9149 | |
| 9150 | |
| 9151 | |
| 9152 | |
| 9153 | |
| 9154 | |
| 9155 | |
| 9156 | |
| 9157 | |
| 9158 | |
| 9159 | |
| 9160 | |
| 9161 | |
| 9162 | |
| 9163 | |
| 9164 | |
| 9165 | |
| 9166 | |
| 9167 | # If no C compiler was specified, use CC. |
| 9168 | LTCC=${LTCC-"$CC"} |
| 9169 | |
| 9170 | # If no C compiler flags were specified, use CFLAGS. |
| 9171 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 9172 | |
| 9173 | # Allow CC to be a program name with arguments. |
| 9174 | compiler=$CC |
| 9175 | |
| 9176 | |
| 9177 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
| 9178 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 9179 | printfscip-shell system . . printf. %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 9180 | if testscip-shell system . . test. ${lt_cv_sys_global_symbol_pipe+y} |
| 9181 | then : |
| 9182 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9183 | else case e in #( |
| 9184 | e) |
| 9185 | # These are sane defaults that work on at least a few old systems. |
| 9186 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 9187 | |
| 9188 | # Character class describing NM global symbol codes. |
| 9189 | symcode='[BCDEGRST]' |
| 9190 | |
| 9191 | # Regexp to match symbols that can be accessed directly from C. |
| 9192 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 9193 | |
| 9194 | # Define system-specific variables. |
| 9195 | case $host_os in |
| 9196 | aix*) |
| 9197 | symcode='[BCDT]' |
| 9198 | ;; |
| 9199 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 9200 | symcode='[ABCDGISTW]' |
| 9201 | ;; |
| 9202 | hpux*) |
| 9203 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 9204 | symcode='[ABCDEGRST]' |
| 9205 | fi |
| 9206 | ;; |
| 9207 | irix* | nonstopux*) |
| 9208 | symcode='[BCDEGRST]' |
| 9209 | ;; |
| 9210 | osf*) |
| 9211 | symcode='[BCDEGQRST]' |
| 9212 | ;; |
| 9213 | solaris*) |
| 9214 | symcode='[BCDRT]' |
| 9215 | ;; |
| 9216 | sco3.2v5*) |
| 9217 | symcode='[DT]' |
| 9218 | ;; |
| 9219 | sysv4.2uw2*) |
| 9220 | symcode='[DT]' |
| 9221 | ;; |
| 9222 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 9223 | symcode='[ABDT]' |
| 9224 | ;; |
| 9225 | sysv4) |
| 9226 | symcode='[DFNSTU]' |
| 9227 | ;; |
| 9228 | esac |
| 9229 | |
| 9230 | # If we're using GNU nm, then use its standard symbol codes. |
| 9231 | case `$NM -V 2>&1` in |
| 9232 | *GNU* | *'with BFD'*) |
| 9233 | symcode='[ABCDGIRSTW]' ;; |
| 9234 | esac |
| 9235 | |
| 9236 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9237 | # Gets list of data symbols to import. |
| 9238 | lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 9239 | # Adjust the below global symbol transforms to fixup imported variables. |
| 9240 | lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 9241 | lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 9242 | lt_c_name_lib_hook="\ |
| 9243 | -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 9244 | -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 9245 | else |
| 9246 | # Disable hooks by default. |
| 9247 | lt_cv_sys_global_symbol_to_import= |
| 9248 | lt_cdecl_hook= |
| 9249 | lt_c_name_hook= |
| 9250 | lt_c_name_lib_hook= |
| 9251 | fi |
| 9252 | |
| 9253 | # Transform an extracted symbol line into a proper C declaration. |
| 9254 | # Some systems (esp. on ia64) link data and code symbols differently, |
| 9255 | # so use this general approach. |
| 9256 | lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 9257 | $lt_cdecl_hook\ |
| 9258 | " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 9259 | " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 9260 | |
| 9261 | # Transform an extracted symbol line into symbol name and symbol address |
| 9262 | lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 9263 | $lt_c_name_hook\ |
| 9264 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 9265 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 9266 | |
| 9267 | # Transform an extracted symbol line into symbol name with lib prefix and |
| 9268 | # symbol address. |
| 9269 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 9270 | $lt_c_name_lib_hook\ |
| 9271 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 9272 | " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 9273 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 9274 | |
| 9275 | # Handle CRLF in mingw tool chain |
| 9276 | opt_cr= |
| 9277 | case $build_os in |
| 9278 | mingw* | windows*) |
| 9279 | opt_cr=`$ECHO 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp |
| 9280 | ;; |
| 9281 | esac |
| 9282 | |
| 9283 | # Try without a prefix underscore, then with it. |
| 9284 | for ac_symprfx in "" "_"; do |
| 9285 | |
| 9286 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 9287 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 9288 | |
| 9289 | # Write the raw and C identifiers. |
| 9290 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9291 | # Fake it for dumpbin and say T for any non-static function, |
| 9292 | # D for any global variable and I for any imported variable. |
| 9293 | # Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 9294 | # which start with @ or ?. |
| 9295 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 9296 | " {last_section=section; section=\$ 3};"\ |
| 9297 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 9298 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 9299 | " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 9300 | " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 9301 | " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 9302 | " \$ 0!~/External *\|/{next};"\ |
| 9303 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 9304 | " {if(hide[section]) next};"\ |
| 9305 | " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 9306 | " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 9307 | " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 9308 | " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 9309 | " ' prfx=^$ac_symprfx" |
| 9310 | else |
| 9311 | lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 9312 | fi |
| 9313 | lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 9314 | |
| 9315 | # Check to see that the pipe works correctly. |
| 9316 | pipe_works=no |
| 9317 | |
| 9318 | rmscip-shell system . . rm. -f conftest* |
| 9319 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 9320 | #ifdef __cplusplus |
| 9321 | extern "C" { |
| 9322 | #endif |
| 9323 | char nm_test_var; |
| 9324 | void nm_test_func(void); |
| 9325 | void nm_test_func(void){} |
| 9326 | #ifdef __cplusplus |
| 9327 | } |
| 9328 | #endif |
| 9329 | int main(void){nm_test_var='a';nm_test_func();return(0);} |
| 9330 | _LT_EOF |
| 9331 | |
| 9332 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9333 | (eval $ac_compile) 2>&5 |
| 9334 | ac_status=$? |
| 9335 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9336 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9337 | # Now try to grab the symbols. |
| 9338 | nlist=conftest.nm |
| 9339 | $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 9340 | if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && testscip-shell system . . test. -s "$nlist"; then |
| 9341 | # Try sorting and uniquifying the output. |
| 9342 | if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then |
| 9343 | mvscip-shell system . . mv. -f "$nlist"T "$nlist" |
| 9344 | else |
| 9345 | rmscip-shell system . . rm. -f "$nlist"T |
| 9346 | fi |
| 9347 | |
| 9348 | # Make sure that we snagged all the symbols we need. |
| 9349 | if $GREP ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9350 | if $GREP ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9351 | catscip-shell system . . cat. <<_LT_EOF > conftest.$ac_ext |
| 9352 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 9353 | #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 9354 | /* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 9355 | relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 9356 | # define LT_DLSYM_CONST |
| 9357 | #elif defined __osf__ |
| 9358 | /* This system does not cope well with relocations in const data. */ |
| 9359 | # define LT_DLSYM_CONST |
| 9360 | #else |
| 9361 | # define LT_DLSYM_CONST const |
| 9362 | #endif |
| 9363 | |
| 9364 | #ifdef __cplusplus |
| 9365 | extern "C" { |
| 9366 | #endif |
| 9367 | |
| 9368 | _LT_EOF |
| 9369 | # Now generate the symbol file. |
| 9370 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
| 9371 | |
| 9372 | catscip-shell system . . cat. <<_LT_EOF >> conftest.$ac_ext |
| 9373 | |
| 9374 | /* The mapping between symbol names and symbols. */ |
| 9375 | LT_DLSYM_CONST struct { |
| 9376 | const char *name; |
| 9377 | void *address; |
| 9378 | } |
| 9379 | lt__PROGRAM__LTX_preloaded_symbols[] = |
| 9380 | { |
| 9381 | { "@PROGRAM@", (void *) 0 }, |
| 9382 | _LT_EOF |
| 9383 | $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 9384 | catscip-shell system . . cat. <<\_LT_EOF >> conftest.$ac_ext |
| 9385 | {0, (void *) 0} |
| 9386 | }; |
| 9387 | |
| 9388 | /* This works around a problem in FreeBSD linker */ |
| 9389 | #ifdef FREEBSD_WORKAROUND |
| 9390 | static const void *lt_preloaded_setup() { |
| 9391 | return lt__PROGRAM__LTX_preloaded_symbols; |
| 9392 | } |
| 9393 | #endif |
| 9394 | |
| 9395 | #ifdef __cplusplus |
| 9396 | } |
| 9397 | #endif |
| 9398 | _LT_EOF |
| 9399 | # Now try linking the two files. |
| 9400 | mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext |
| 9401 | lt_globsym_save_LIBS=$LIBS |
| 9402 | lt_globsym_save_CFLAGS=$CFLAGS |
| 9403 | LIBS=conftstm.$ac_objext |
| 9404 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 9405 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 9406 | (eval $ac_link) 2>&5 |
| 9407 | ac_status=$? |
| 9408 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9409 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 9410 | pipe_works=yes |
| 9411 | fi |
| 9412 | LIBS=$lt_globsym_save_LIBS |
| 9413 | CFLAGS=$lt_globsym_save_CFLAGS |
| 9414 | else |
| 9415 | echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5 |
| 9416 | fi |
| 9417 | else |
| 9418 | echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5 |
| 9419 | fi |
| 9420 | else |
| 9421 | echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 9422 | fi |
| 9423 | else |
| 9424 | echoscip-shell system . . echo. "$progname: failed program was:" >&5 |
| 9425 | catscip-shell system . . cat. conftest.$ac_ext >&5 |
| 9426 | fi |
| 9427 | rmscip-shell system . . rm. -rf conftest* conftst* |
| 9428 | |
| 9429 | # Do not use the global_symbol_pipe unless it works. |
| 9430 | if testscip-shell system . . test. yes = "$pipe_works"; then |
| 9431 | break |
| 9432 | else |
| 9433 | lt_cv_sys_global_symbol_pipe= |
| 9434 | fi |
| 9435 | done |
| 9436 | ;; |
| 9437 | esac |
| 9438 | fi |
| 9439 | |
| 9440 | if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then |
| 9441 | lt_cv_sys_global_symbol_to_cdecl= |
| 9442 | fi |
| 9443 | if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 9444 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 9445 | printfscip-shell system . . printf. "%s\n" "failed" >&6; } |
| 9446 | else |
| 9447 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 9448 | printfscip-shell system . . printf. "%s\n" "ok" >&6; } |
| 9449 | fi |
| 9450 | |
| 9451 | # Response file support. |
| 9452 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9453 | nm_file_list_spec='@' |
| 9454 | elif $NM --help 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. '[@]FILE' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9455 | nm_file_list_spec='@' |
| 9456 | fi |
| 9457 | |
| 9458 | |
| 9459 | |
| 9460 | |
| 9461 | |
| 9462 | |
| 9463 | |
| 9464 | |
| 9465 | |
| 9466 | |
| 9467 | |
| 9468 | |
| 9469 | |
| 9470 | |
| 9471 | |
| 9472 | |
| 9473 | |
| 9474 | |
| 9475 | |
| 9476 | |
| 9477 | |
| 9478 | |
| 9479 | |
| 9480 | |
| 9481 | |
| 9482 | |
| 9483 | |
| 9484 | |
| 9485 | |
| 9486 | |
| 9487 | |
| 9488 | |
| 9489 | |
| 9490 | |
| 9491 | |
| 9492 | |
| 9493 | |
| 9494 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 9495 | printfscip-shell system . . printf. %s "checking for sysroot... " >&6; } |
| 9496 | |
| 9497 | # Check whether --with-sysroot was given. |
| 9498 | if testscip-shell system . . test. ${with_sysroot+y} |
| 9499 | then : |
| 9500 | withval=$with_sysroot; |
| 9501 | else case e in #( |
| 9502 | e) with_sysroot=no ;; |
| 9503 | esac |
| 9504 | fi |
| 9505 | |
| 9506 | |
| 9507 | lt_sysroot= |
| 9508 | case $with_sysroot in #( |
| 9509 | yes) |
| 9510 | if testscip-shell system . . test. yes = "$GCC"; then |
| 9511 | # Trim trailing / since we'll always append absolute paths and we want |
| 9512 | # to avoid //, if only for less confusing output for the user. |
| 9513 | lt_sysroot=`$CC --print-sysroot 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED 's:/\+$::'` |
| 9514 | fi |
| 9515 | ;; #( |
| 9516 | /*) |
| 9517 | lt_sysroot=`echoscip-shell system . . echo. "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 9518 | ;; #( |
| 9519 | no|'') |
| 9520 | ;; #( |
| 9521 | *) |
| 9522 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 9523 | printfscip-shell system . . printf. "%s\n" "$with_sysroot" >&6; } |
| 9524 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 9525 | ;; |
| 9526 | esac |
| 9527 | |
| 9528 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 9529 | printfscip-shell system . . printf. "%s\n" "${lt_sysroot:-no}" >&6; } |
| 9530 | |
| 9531 | |
| 9532 | |
| 9533 | |
| 9534 | |
| 9535 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 9536 | printfscip-shell system . . printf. %s "checking for a working dd... " >&6; } |
| 9537 | if testscip-shell system . . test. ${ac_cv_path_lt_DD+y} |
| 9538 | then : |
| 9539 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9540 | else case e in #( |
| 9541 | e) printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i |
| 9542 | catscip-shell system . . cat. conftest.i conftest.i >conftest2.i |
| 9543 | : ${lt_DD:=$DD} |
| 9544 | if testscip-shell system . . test. -z "$lt_DD"; then |
| 9545 | ac_path_lt_DD_found=false |
| 9546 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9547 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9548 | for as_dir in $PATH |
| 9549 | do |
| 9550 | IFS=$as_save_IFS |
| 9551 | case $as_dir in #((( |
| 9552 | '') as_dir=./ ;; |
| 9553 | */) ;; |
| 9554 | *) as_dir=$as_dir/ ;; |
| 9555 | esac |
| 9556 | for ac_prog in dd |
| 9557 | do |
| 9558 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9559 | ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 9560 | as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_lt_DD" || continue |
| 9561 | if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9562 | cmpscip-shell system . . cmp. -s conftest.i conftest.out \ |
| 9563 | && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 9564 | fi |
| 9565 | $ac_path_lt_DD_found && break 3 |
| 9566 | done |
| 9567 | done |
| 9568 | done |
| 9569 | IFS=$as_save_IFS |
| 9570 | if testscip-shell system . . test. -z "$ac_cv_path_lt_DD"; then |
| 9571 | : |
| 9572 | fi |
| 9573 | else |
| 9574 | ac_cv_path_lt_DD=$lt_DD |
| 9575 | fi |
| 9576 | |
| 9577 | rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out ;; |
| 9578 | esac |
| 9579 | fi |
| 9580 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 9581 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 9582 | |
| 9583 | |
| 9584 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 9585 | printfscip-shell system . . printf. %s "checking how to truncate binary pipes... " >&6; } |
| 9586 | if testscip-shell system . . test. ${lt_cv_truncate_bin+y} |
| 9587 | then : |
| 9588 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9589 | else case e in #( |
| 9590 | e) printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i |
| 9591 | catscip-shell system . . cat. conftest.i conftest.i >conftest2.i |
| 9592 | lt_cv_truncate_bin= |
| 9593 | if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9594 | cmpscip-shell system . . cmp. -s conftest.i conftest.out \ |
| 9595 | && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 9596 | fi |
| 9597 | rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out |
| 9598 | testscip-shell system . . test. -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;; |
| 9599 | esac |
| 9600 | fi |
| 9601 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 9602 | printfscip-shell system . . printf. "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 9603 | |
| 9604 | |
| 9605 | |
| 9606 | |
| 9607 | |
| 9608 | |
| 9609 | |
| 9610 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 9611 | func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). () |
| 9612 | { |
| 9613 | for cc_temp in $*""; do |
| 9614 | case $cc_temp in |
| 9615 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 9616 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 9617 | \-*) ;; |
| 9618 | *) break;; |
| 9619 | esac |
| 9620 | done |
| 9621 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 9622 | } |
| 9623 | |
| 9624 | # Check whether --enable-libtool-lock was given. |
| 9625 | if testscip-shell system . . test. ${enable_libtool_lock+y} |
| 9626 | then : |
| 9627 | enableval=$enable_libtool_lock; |
| 9628 | fi |
| 9629 | |
| 9630 | testscip-shell system . . test. no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 9631 | |
| 9632 | # Some flags need to be propagated to the compiler or linker for good |
| 9633 | # libtool support. |
| 9634 | case $host in |
| 9635 | ia64-*-hpux*) |
| 9636 | # Find out what ABI is being produced by ac_compile, and set mode |
| 9637 | # options accordingly. |
| 9638 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 9639 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9640 | (eval $ac_compile) 2>&5 |
| 9641 | ac_status=$? |
| 9642 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9643 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9644 | case `$FILECMD conftest.$ac_objext` in |
| 9645 | *ELF-32*) |
| 9646 | HPUX_IA64_MODE=32 |
| 9647 | ;; |
| 9648 | *ELF-64*) |
| 9649 | HPUX_IA64_MODE=64 |
| 9650 | ;; |
| 9651 | esac |
| 9652 | fi |
| 9653 | rmscip-shell system . . rm. -rf conftest* |
| 9654 | ;; |
| 9655 | *-*-irix6*) |
| 9656 | # Find out what ABI is being produced by ac_compile, and set linker |
| 9657 | # options accordingly. |
| 9658 | echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 9659 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9660 | (eval $ac_compile) 2>&5 |
| 9661 | ac_status=$? |
| 9662 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9663 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9664 | if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then |
| 9665 | case `$FILECMD conftest.$ac_objext` in |
| 9666 | *32-bit*) |
| 9667 | LD="${LD-ld} -melf32bsmip" |
| 9668 | ;; |
| 9669 | *N32*) |
| 9670 | LD="${LD-ld} -melf32bmipn32" |
| 9671 | ;; |
| 9672 | *64-bit*) |
| 9673 | LD="${LD-ld} -melf64bmip" |
| 9674 | ;; |
| 9675 | esac |
| 9676 | else |
| 9677 | case `$FILECMD conftest.$ac_objext` in |
| 9678 | *32-bit*) |
| 9679 | LD="${LD-ld} -32" |
| 9680 | ;; |
| 9681 | *N32*) |
| 9682 | LD="${LD-ld} -n32" |
| 9683 | ;; |
| 9684 | *64-bit*) |
| 9685 | LD="${LD-ld} -64" |
| 9686 | ;; |
| 9687 | esac |
| 9688 | fi |
| 9689 | fi |
| 9690 | rmscip-shell system . . rm. -rf conftest* |
| 9691 | ;; |
| 9692 | |
| 9693 | mips64*-*linux*) |
| 9694 | # Find out what ABI is being produced by ac_compile, and set linker |
| 9695 | # options accordingly. |
| 9696 | echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 9697 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9698 | (eval $ac_compile) 2>&5 |
| 9699 | ac_status=$? |
| 9700 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9701 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9702 | emul=elf |
| 9703 | case `$FILECMD conftest.$ac_objext` in |
| 9704 | *32-bit*) |
| 9705 | emul="${emul}32" |
| 9706 | ;; |
| 9707 | *64-bit*) |
| 9708 | emul="${emul}64" |
| 9709 | ;; |
| 9710 | esac |
| 9711 | case `$FILECMD conftest.$ac_objext` in |
| 9712 | *MSB*) |
| 9713 | emul="${emul}btsmip" |
| 9714 | ;; |
| 9715 | *LSB*) |
| 9716 | emul="${emul}ltsmip" |
| 9717 | ;; |
| 9718 | esac |
| 9719 | case `$FILECMD conftest.$ac_objext` in |
| 9720 | *N32*) |
| 9721 | emul="${emul}n32" |
| 9722 | ;; |
| 9723 | esac |
| 9724 | LD="${LD-ld} -m $emul" |
| 9725 | fi |
| 9726 | rmscip-shell system . . rm. -rf conftest* |
| 9727 | ;; |
| 9728 | |
| 9729 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 9730 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*) |
| 9731 | # Find out what ABI is being produced by ac_compile, and set linker |
| 9732 | # options accordingly. Note that the listed cases only cover the |
| 9733 | # situations where additional linker options are needed (such as when |
| 9734 | # doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 9735 | # vice versa); the common cases where no linker options are needed do |
| 9736 | # not appear in the list. |
| 9737 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 9738 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9739 | (eval $ac_compile) 2>&5 |
| 9740 | ac_status=$? |
| 9741 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9742 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9743 | case `$FILECMD conftest.o` in |
| 9744 | *32-bit*) |
| 9745 | case $host in |
| 9746 | x86_64-*kfreebsd*-gnu) |
| 9747 | LD="${LD-ld} -m elf_i386_fbsd" |
| 9748 | ;; |
| 9749 | x86_64-*linux*|x86_64-gnu*) |
| 9750 | case `$FILECMD conftest.o` in |
| 9751 | *x86-64*) |
| 9752 | LD="${LD-ld} -m elf32_x86_64" |
| 9753 | ;; |
| 9754 | *) |
| 9755 | LD="${LD-ld} -m elf_i386" |
| 9756 | ;; |
| 9757 | esac |
| 9758 | ;; |
| 9759 | powerpc64le-*linux*) |
| 9760 | LD="${LD-ld} -m elf32lppclinux" |
| 9761 | ;; |
| 9762 | powerpc64-*linux*) |
| 9763 | LD="${LD-ld} -m elf32ppclinux" |
| 9764 | ;; |
| 9765 | s390x-*linux*) |
| 9766 | LD="${LD-ld} -m elf_s390" |
| 9767 | ;; |
| 9768 | sparc64-*linux*) |
| 9769 | LD="${LD-ld} -m elf32_sparc" |
| 9770 | ;; |
| 9771 | esac |
| 9772 | ;; |
| 9773 | *64-bit*) |
| 9774 | case $host in |
| 9775 | x86_64-*kfreebsd*-gnu) |
| 9776 | LD="${LD-ld} -m elf_x86_64_fbsd" |
| 9777 | ;; |
| 9778 | x86_64-*linux*|x86_64-gnu*) |
| 9779 | LD="${LD-ld} -m elf_x86_64" |
| 9780 | ;; |
| 9781 | powerpcle-*linux*) |
| 9782 | LD="${LD-ld} -m elf64lppc" |
| 9783 | ;; |
| 9784 | powerpc-*linux*) |
| 9785 | LD="${LD-ld} -m elf64ppc" |
| 9786 | ;; |
| 9787 | s390*-*linux*|s390*-*tpf*) |
| 9788 | LD="${LD-ld} -m elf64_s390" |
| 9789 | ;; |
| 9790 | sparc*-*linux*) |
| 9791 | LD="${LD-ld} -m elf64_sparc" |
| 9792 | ;; |
| 9793 | esac |
| 9794 | ;; |
| 9795 | esac |
| 9796 | fi |
| 9797 | rmscip-shell system . . rm. -rf conftest* |
| 9798 | ;; |
| 9799 | |
| 9800 | *-*-sco3.2v5*) |
| 9801 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 9802 | SAVE_CFLAGS=$CFLAGS |
| 9803 | CFLAGS="$CFLAGS -belf" |
| 9804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 9805 | printfscip-shell system . . printf. %s "checking whether the C compiler needs -belf... " >&6; } |
| 9806 | if testscip-shell system . . test. ${lt_cv_cc_needs_belf+y} |
| 9807 | then : |
| 9808 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9809 | else case e in #( |
| 9810 | e) ac_ext=c |
| 9811 | ac_cpp='$CPP $CPPFLAGS' |
| 9812 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9813 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9814 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9815 | |
| 9816 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9817 | /* end confdefs.h. */ |
| 9818 | |
| 9819 | int |
| 9820 | main (void) |
| 9821 | { |
| 9822 | |
| 9823 | ; |
| 9824 | return 0; |
| 9825 | } |
| 9826 | _ACEOF |
| 9827 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 9828 | then : |
| 9829 | lt_cv_cc_needs_belf=yes |
| 9830 | else case e in #( |
| 9831 | e) lt_cv_cc_needs_belf=no ;; |
| 9832 | esac |
| 9833 | fi |
| 9834 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9835 | conftest$ac_exeext conftest.$ac_ext |
| 9836 | ac_ext=c |
| 9837 | ac_cpp='$CPP $CPPFLAGS' |
| 9838 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9839 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9840 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9841 | ;; |
| 9842 | esac |
| 9843 | fi |
| 9844 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 9845 | printfscip-shell system . . printf. "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 9846 | if testscip-shell system . . test. yes != "$lt_cv_cc_needs_belf"; then |
| 9847 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 9848 | CFLAGS=$SAVE_CFLAGS |
| 9849 | fi |
| 9850 | ;; |
| 9851 | *-*solaris*) |
| 9852 | # Find out what ABI is being produced by ac_compile, and set linker |
| 9853 | # options accordingly. |
| 9854 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 9855 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9856 | (eval $ac_compile) 2>&5 |
| 9857 | ac_status=$? |
| 9858 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9859 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9860 | case `$FILECMD conftest.o` in |
| 9861 | *64-bit*) |
| 9862 | case $lt_cv_prog_gnu_ld in |
| 9863 | yes*) |
| 9864 | case $host in |
| 9865 | i?86-*-solaris*|x86_64-*-solaris*) |
| 9866 | LD="${LD-ld} -m elf_x86_64" |
| 9867 | ;; |
| 9868 | sparc*-*-solaris*) |
| 9869 | LD="${LD-ld} -m elf64_sparc" |
| 9870 | ;; |
| 9871 | esac |
| 9872 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 9873 | if ${LD-ld} -V | grepscip-shell system . . grep. _sol2 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 9874 | LD=${LD-ld}_sol2 |
| 9875 | fi |
| 9876 | ;; |
| 9877 | *) |
| 9878 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 9879 | LD="${LD-ld} -64" |
| 9880 | fi |
| 9881 | ;; |
| 9882 | esac |
| 9883 | ;; |
| 9884 | esac |
| 9885 | fi |
| 9886 | rmscip-shell system . . rm. -rf conftest* |
| 9887 | ;; |
| 9888 | esac |
| 9889 | |
| 9890 | need_locks=$enable_libtool_lock |
| 9891 | |
| 9892 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 9893 | # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 9894 | set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 9895 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9896 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9897 | if testscip-shell system . . test. ${ac_cv_prog_MANIFEST_TOOL+y} |
| 9898 | then : |
| 9899 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9900 | else case e in #( |
| 9901 | e) if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then |
| 9902 | ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 9903 | else |
| 9904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9905 | for as_dir in $PATH |
| 9906 | do |
| 9907 | IFS=$as_save_IFS |
| 9908 | case $as_dir in #((( |
| 9909 | '') as_dir=./ ;; |
| 9910 | */) ;; |
| 9911 | *) as_dir=$as_dir/ ;; |
| 9912 | esac |
| 9913 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9914 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9915 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 9916 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9917 | break 2 |
| 9918 | fi |
| 9919 | done |
| 9920 | done |
| 9921 | IFS=$as_save_IFS |
| 9922 | |
| 9923 | fi ;; |
| 9924 | esac |
| 9925 | fi |
| 9926 | MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 9927 | if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then |
| 9928 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 9929 | printfscip-shell system . . printf. "%s\n" "$MANIFEST_TOOL" >&6; } |
| 9930 | else |
| 9931 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9932 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9933 | fi |
| 9934 | |
| 9935 | |
| 9936 | fi |
| 9937 | if testscip-shell system . . test. -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 9938 | ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 9939 | # Extract the first word of "mt", so it can be a program name with args. |
| 9940 | set dummy mt; ac_word=$2 |
| 9941 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9942 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9943 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 9944 | then : |
| 9945 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9946 | else case e in #( |
| 9947 | e) if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then |
| 9948 | ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 9949 | else |
| 9950 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9951 | for as_dir in $PATH |
| 9952 | do |
| 9953 | IFS=$as_save_IFS |
| 9954 | case $as_dir in #((( |
| 9955 | '') as_dir=./ ;; |
| 9956 | */) ;; |
| 9957 | *) as_dir=$as_dir/ ;; |
| 9958 | esac |
| 9959 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9960 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9961 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 9962 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9963 | break 2 |
| 9964 | fi |
| 9965 | done |
| 9966 | done |
| 9967 | IFS=$as_save_IFS |
| 9968 | |
| 9969 | fi ;; |
| 9970 | esac |
| 9971 | fi |
| 9972 | ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 9973 | if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then |
| 9974 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 9975 | printfscip-shell system . . printf. "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 9976 | else |
| 9977 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9978 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9979 | fi |
| 9980 | |
| 9981 | if testscip-shell system . . test. "x$ac_ct_MANIFEST_TOOL" = x; then |
| 9982 | MANIFEST_TOOL=":" |
| 9983 | else |
| 9984 | case $cross_compiling:$ac_tool_warned in |
| 9985 | yes:) |
| 9986 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9987 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9988 | ac_tool_warned=yes ;; |
| 9989 | esac |
| 9990 | MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 9991 | fi |
| 9992 | else |
| 9993 | MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 9994 | fi |
| 9995 | |
| 9996 | testscip-shell system . . test. -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 9997 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 9998 | printfscip-shell system . . printf. %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 9999 | if testscip-shell system . . test. ${lt_cv_path_manifest_tool+y} |
| 10000 | then : |
| 10001 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10002 | else case e in #( |
| 10003 | e) lt_cv_path_manifest_tool=no |
| 10004 | echoscip-shell system . . echo. "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 10005 | $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 10006 | catscip-shell system . . cat. conftest.err >&5 |
| 10007 | if $GREP 'Manifest Tool' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 10008 | lt_cv_path_manifest_tool=yes |
| 10009 | fi |
| 10010 | rmscip-shell system . . rm. -f conftest* ;; |
| 10011 | esac |
| 10012 | fi |
| 10013 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5 |
| 10014 | printfscip-shell system . . printf. "%s\n" "$lt_cv_path_manifest_tool" >&6; } |
| 10015 | if testscip-shell system . . test. yes != "$lt_cv_path_manifest_tool"; then |
| 10016 | MANIFEST_TOOL=: |
| 10017 | fi |
| 10018 | |
| 10019 | |
| 10020 | |
| 10021 | |
| 10022 | |
| 10023 | |
| 10024 | case $host_os in |
| 10025 | rhapsody* | darwin*) |
| 10026 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10027 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 10028 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 10029 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10030 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10031 | if testscip-shell system . . test. ${ac_cv_prog_DSYMUTIL+y} |
| 10032 | then : |
| 10033 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10034 | else case e in #( |
| 10035 | e) if testscip-shell system . . test. -n "$DSYMUTIL"; then |
| 10036 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 10037 | else |
| 10038 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10039 | for as_dir in $PATH |
| 10040 | do |
| 10041 | IFS=$as_save_IFS |
| 10042 | case $as_dir in #((( |
| 10043 | '') as_dir=./ ;; |
| 10044 | */) ;; |
| 10045 | *) as_dir=$as_dir/ ;; |
| 10046 | esac |
| 10047 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10048 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10049 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 10050 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10051 | break 2 |
| 10052 | fi |
| 10053 | done |
| 10054 | done |
| 10055 | IFS=$as_save_IFS |
| 10056 | |
| 10057 | fi ;; |
| 10058 | esac |
| 10059 | fi |
| 10060 | DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 10061 | if testscip-shell system . . test. -n "$DSYMUTIL"; then |
| 10062 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 10063 | printfscip-shell system . . printf. "%s\n" "$DSYMUTIL" >&6; } |
| 10064 | else |
| 10065 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10066 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10067 | fi |
| 10068 | |
| 10069 | |
| 10070 | fi |
| 10071 | if testscip-shell system . . test. -z "$ac_cv_prog_DSYMUTIL"; then |
| 10072 | ac_ct_DSYMUTIL=$DSYMUTIL |
| 10073 | # Extract the first word of "dsymutil", so it can be a program name with args. |
| 10074 | set dummy dsymutil; ac_word=$2 |
| 10075 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10076 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10077 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 10078 | then : |
| 10079 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10080 | else case e in #( |
| 10081 | e) if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then |
| 10082 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 10083 | else |
| 10084 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10085 | for as_dir in $PATH |
| 10086 | do |
| 10087 | IFS=$as_save_IFS |
| 10088 | case $as_dir in #((( |
| 10089 | '') as_dir=./ ;; |
| 10090 | */) ;; |
| 10091 | *) as_dir=$as_dir/ ;; |
| 10092 | esac |
| 10093 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10094 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10095 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 10096 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10097 | break 2 |
| 10098 | fi |
| 10099 | done |
| 10100 | done |
| 10101 | IFS=$as_save_IFS |
| 10102 | |
| 10103 | fi ;; |
| 10104 | esac |
| 10105 | fi |
| 10106 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 10107 | if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then |
| 10108 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 10109 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 10110 | else |
| 10111 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10112 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10113 | fi |
| 10114 | |
| 10115 | if testscip-shell system . . test. "x$ac_ct_DSYMUTIL" = x; then |
| 10116 | DSYMUTIL=":" |
| 10117 | else |
| 10118 | case $cross_compiling:$ac_tool_warned in |
| 10119 | yes:) |
| 10120 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10121 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10122 | ac_tool_warned=yes ;; |
| 10123 | esac |
| 10124 | DSYMUTIL=$ac_ct_DSYMUTIL |
| 10125 | fi |
| 10126 | else |
| 10127 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 10128 | fi |
| 10129 | |
| 10130 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10131 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 10132 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 10133 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10134 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10135 | if testscip-shell system . . test. ${ac_cv_prog_NMEDIT+y} |
| 10136 | then : |
| 10137 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10138 | else case e in #( |
| 10139 | e) if testscip-shell system . . test. -n "$NMEDIT"; then |
| 10140 | ac_cv_prog_NMEDIT="$NMEDIT" # 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_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10153 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 10154 | printfscip-shell system . . 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 | fi ;; |
| 10162 | esac |
| 10163 | fi |
| 10164 | NMEDIT=$ac_cv_prog_NMEDIT |
| 10165 | if testscip-shell system . . test. -n "$NMEDIT"; then |
| 10166 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 10167 | printfscip-shell system . . printf. "%s\n" "$NMEDIT" >&6; } |
| 10168 | else |
| 10169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10170 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10171 | fi |
| 10172 | |
| 10173 | |
| 10174 | fi |
| 10175 | if testscip-shell system . . test. -z "$ac_cv_prog_NMEDIT"; then |
| 10176 | ac_ct_NMEDIT=$NMEDIT |
| 10177 | # Extract the first word of "nmedit", so it can be a program name with args. |
| 10178 | set dummy nmedit; ac_word=$2 |
| 10179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10180 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10181 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 10182 | then : |
| 10183 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10184 | else case e in #( |
| 10185 | e) if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then |
| 10186 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 10187 | else |
| 10188 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10189 | for as_dir in $PATH |
| 10190 | do |
| 10191 | IFS=$as_save_IFS |
| 10192 | case $as_dir in #((( |
| 10193 | '') as_dir=./ ;; |
| 10194 | */) ;; |
| 10195 | *) as_dir=$as_dir/ ;; |
| 10196 | esac |
| 10197 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10198 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10199 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 10200 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10201 | break 2 |
| 10202 | fi |
| 10203 | done |
| 10204 | done |
| 10205 | IFS=$as_save_IFS |
| 10206 | |
| 10207 | fi ;; |
| 10208 | esac |
| 10209 | fi |
| 10210 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 10211 | if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then |
| 10212 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 10213 | printfscip-shell system . . printf. "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 10214 | else |
| 10215 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10216 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10217 | fi |
| 10218 | |
| 10219 | if testscip-shell system . . test. "x$ac_ct_NMEDIT" = x; then |
| 10220 | NMEDIT=":" |
| 10221 | else |
| 10222 | case $cross_compiling:$ac_tool_warned in |
| 10223 | yes:) |
| 10224 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10225 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10226 | ac_tool_warned=yes ;; |
| 10227 | esac |
| 10228 | NMEDIT=$ac_ct_NMEDIT |
| 10229 | fi |
| 10230 | else |
| 10231 | NMEDIT="$ac_cv_prog_NMEDIT" |
| 10232 | fi |
| 10233 | |
| 10234 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10235 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 10236 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 10237 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10238 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10239 | if testscip-shell system . . test. ${ac_cv_prog_LIPO+y} |
| 10240 | then : |
| 10241 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10242 | else case e in #( |
| 10243 | e) if testscip-shell system . . test. -n "$LIPO"; then |
| 10244 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 10245 | else |
| 10246 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10247 | for as_dir in $PATH |
| 10248 | do |
| 10249 | IFS=$as_save_IFS |
| 10250 | case $as_dir in #((( |
| 10251 | '') as_dir=./ ;; |
| 10252 | */) ;; |
| 10253 | *) as_dir=$as_dir/ ;; |
| 10254 | esac |
| 10255 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10256 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10257 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 10258 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10259 | break 2 |
| 10260 | fi |
| 10261 | done |
| 10262 | done |
| 10263 | IFS=$as_save_IFS |
| 10264 | |
| 10265 | fi ;; |
| 10266 | esac |
| 10267 | fi |
| 10268 | LIPO=$ac_cv_prog_LIPO |
| 10269 | if testscip-shell system . . test. -n "$LIPO"; then |
| 10270 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 10271 | printfscip-shell system . . printf. "%s\n" "$LIPO" >&6; } |
| 10272 | else |
| 10273 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10274 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10275 | fi |
| 10276 | |
| 10277 | |
| 10278 | fi |
| 10279 | if testscip-shell system . . test. -z "$ac_cv_prog_LIPO"; then |
| 10280 | ac_ct_LIPO=$LIPO |
| 10281 | # Extract the first word of "lipo", so it can be a program name with args. |
| 10282 | set dummy lipo; ac_word=$2 |
| 10283 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10284 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10285 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_LIPO+y} |
| 10286 | then : |
| 10287 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10288 | else case e in #( |
| 10289 | e) if testscip-shell system . . test. -n "$ac_ct_LIPO"; then |
| 10290 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 10291 | else |
| 10292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10293 | for as_dir in $PATH |
| 10294 | do |
| 10295 | IFS=$as_save_IFS |
| 10296 | case $as_dir in #((( |
| 10297 | '') as_dir=./ ;; |
| 10298 | */) ;; |
| 10299 | *) as_dir=$as_dir/ ;; |
| 10300 | esac |
| 10301 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10302 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10303 | ac_cv_prog_ac_ct_LIPO="lipo" |
| 10304 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10305 | break 2 |
| 10306 | fi |
| 10307 | done |
| 10308 | done |
| 10309 | IFS=$as_save_IFS |
| 10310 | |
| 10311 | fi ;; |
| 10312 | esac |
| 10313 | fi |
| 10314 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 10315 | if testscip-shell system . . test. -n "$ac_ct_LIPO"; then |
| 10316 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 10317 | printfscip-shell system . . printf. "%s\n" "$ac_ct_LIPO" >&6; } |
| 10318 | else |
| 10319 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10320 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10321 | fi |
| 10322 | |
| 10323 | if testscip-shell system . . test. "x$ac_ct_LIPO" = x; then |
| 10324 | LIPO=":" |
| 10325 | else |
| 10326 | case $cross_compiling:$ac_tool_warned in |
| 10327 | yes:) |
| 10328 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10329 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10330 | ac_tool_warned=yes ;; |
| 10331 | esac |
| 10332 | LIPO=$ac_ct_LIPO |
| 10333 | fi |
| 10334 | else |
| 10335 | LIPO="$ac_cv_prog_LIPO" |
| 10336 | fi |
| 10337 | |
| 10338 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10339 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 10340 | set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 10341 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10342 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10343 | if testscip-shell system . . test. ${ac_cv_prog_OTOOL+y} |
| 10344 | then : |
| 10345 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10346 | else case e in #( |
| 10347 | e) if testscip-shell system . . test. -n "$OTOOL"; then |
| 10348 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 10349 | else |
| 10350 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10351 | for as_dir in $PATH |
| 10352 | do |
| 10353 | IFS=$as_save_IFS |
| 10354 | case $as_dir in #((( |
| 10355 | '') as_dir=./ ;; |
| 10356 | */) ;; |
| 10357 | *) as_dir=$as_dir/ ;; |
| 10358 | esac |
| 10359 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10360 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10361 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 10362 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10363 | break 2 |
| 10364 | fi |
| 10365 | done |
| 10366 | done |
| 10367 | IFS=$as_save_IFS |
| 10368 | |
| 10369 | fi ;; |
| 10370 | esac |
| 10371 | fi |
| 10372 | OTOOL=$ac_cv_prog_OTOOL |
| 10373 | if testscip-shell system . . test. -n "$OTOOL"; then |
| 10374 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 10375 | printfscip-shell system . . printf. "%s\n" "$OTOOL" >&6; } |
| 10376 | else |
| 10377 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10378 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10379 | fi |
| 10380 | |
| 10381 | |
| 10382 | fi |
| 10383 | if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL"; then |
| 10384 | ac_ct_OTOOL=$OTOOL |
| 10385 | # Extract the first word of "otool", so it can be a program name with args. |
| 10386 | set dummy otool; ac_word=$2 |
| 10387 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10388 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10389 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL+y} |
| 10390 | then : |
| 10391 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10392 | else case e in #( |
| 10393 | e) if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then |
| 10394 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 10395 | else |
| 10396 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10397 | for as_dir in $PATH |
| 10398 | do |
| 10399 | IFS=$as_save_IFS |
| 10400 | case $as_dir in #((( |
| 10401 | '') as_dir=./ ;; |
| 10402 | */) ;; |
| 10403 | *) as_dir=$as_dir/ ;; |
| 10404 | esac |
| 10405 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10406 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10407 | ac_cv_prog_ac_ct_OTOOL="otool" |
| 10408 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10409 | break 2 |
| 10410 | fi |
| 10411 | done |
| 10412 | done |
| 10413 | IFS=$as_save_IFS |
| 10414 | |
| 10415 | fi ;; |
| 10416 | esac |
| 10417 | fi |
| 10418 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 10419 | if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then |
| 10420 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 10421 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL" >&6; } |
| 10422 | else |
| 10423 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10424 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10425 | fi |
| 10426 | |
| 10427 | if testscip-shell system . . test. "x$ac_ct_OTOOL" = x; then |
| 10428 | OTOOL=":" |
| 10429 | else |
| 10430 | case $cross_compiling:$ac_tool_warned in |
| 10431 | yes:) |
| 10432 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10433 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10434 | ac_tool_warned=yes ;; |
| 10435 | esac |
| 10436 | OTOOL=$ac_ct_OTOOL |
| 10437 | fi |
| 10438 | else |
| 10439 | OTOOL="$ac_cv_prog_OTOOL" |
| 10440 | fi |
| 10441 | |
| 10442 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10443 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 10444 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 10445 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10446 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10447 | if testscip-shell system . . test. ${ac_cv_prog_OTOOL64+y} |
| 10448 | then : |
| 10449 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10450 | else case e in #( |
| 10451 | e) if testscip-shell system . . test. -n "$OTOOL64"; then |
| 10452 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 10453 | else |
| 10454 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10455 | for as_dir in $PATH |
| 10456 | do |
| 10457 | IFS=$as_save_IFS |
| 10458 | case $as_dir in #((( |
| 10459 | '') as_dir=./ ;; |
| 10460 | */) ;; |
| 10461 | *) as_dir=$as_dir/ ;; |
| 10462 | esac |
| 10463 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10464 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10465 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 10466 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10467 | break 2 |
| 10468 | fi |
| 10469 | done |
| 10470 | done |
| 10471 | IFS=$as_save_IFS |
| 10472 | |
| 10473 | fi ;; |
| 10474 | esac |
| 10475 | fi |
| 10476 | OTOOL64=$ac_cv_prog_OTOOL64 |
| 10477 | if testscip-shell system . . test. -n "$OTOOL64"; then |
| 10478 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 10479 | printfscip-shell system . . printf. "%s\n" "$OTOOL64" >&6; } |
| 10480 | else |
| 10481 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10482 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10483 | fi |
| 10484 | |
| 10485 | |
| 10486 | fi |
| 10487 | if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL64"; then |
| 10488 | ac_ct_OTOOL64=$OTOOL64 |
| 10489 | # Extract the first word of "otool64", so it can be a program name with args. |
| 10490 | set dummy otool64; ac_word=$2 |
| 10491 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10492 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10493 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 10494 | then : |
| 10495 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10496 | else case e in #( |
| 10497 | e) if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then |
| 10498 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 10499 | else |
| 10500 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10501 | for as_dir in $PATH |
| 10502 | do |
| 10503 | IFS=$as_save_IFS |
| 10504 | case $as_dir in #((( |
| 10505 | '') as_dir=./ ;; |
| 10506 | */) ;; |
| 10507 | *) as_dir=$as_dir/ ;; |
| 10508 | esac |
| 10509 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10510 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10511 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 10512 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10513 | break 2 |
| 10514 | fi |
| 10515 | done |
| 10516 | done |
| 10517 | IFS=$as_save_IFS |
| 10518 | |
| 10519 | fi ;; |
| 10520 | esac |
| 10521 | fi |
| 10522 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 10523 | if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then |
| 10524 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 10525 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 10526 | else |
| 10527 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10528 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10529 | fi |
| 10530 | |
| 10531 | if testscip-shell system . . test. "x$ac_ct_OTOOL64" = x; then |
| 10532 | OTOOL64=":" |
| 10533 | else |
| 10534 | case $cross_compiling:$ac_tool_warned in |
| 10535 | yes:) |
| 10536 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10537 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10538 | ac_tool_warned=yes ;; |
| 10539 | esac |
| 10540 | OTOOL64=$ac_ct_OTOOL64 |
| 10541 | fi |
| 10542 | else |
| 10543 | OTOOL64="$ac_cv_prog_OTOOL64" |
| 10544 | fi |
| 10545 | |
| 10546 | |
| 10547 | |
| 10548 | |
| 10549 | |
| 10550 | |
| 10551 | |
| 10552 | |
| 10553 | |
| 10554 | |
| 10555 | |
| 10556 | |
| 10557 | |
| 10558 | |
| 10559 | |
| 10560 | |
| 10561 | |
| 10562 | |
| 10563 | |
| 10564 | |
| 10565 | |
| 10566 | |
| 10567 | |
| 10568 | |
| 10569 | |
| 10570 | |
| 10571 | |
| 10572 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 10573 | printfscip-shell system . . printf. %s "checking for -single_module linker flag... " >&6; } |
| 10574 | if testscip-shell system . . test. ${lt_cv_apple_cc_single_mod+y} |
| 10575 | then : |
| 10576 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10577 | else case e in #( |
| 10578 | e) lt_cv_apple_cc_single_mod=no |
| 10579 | if testscip-shell system . . test. -z "$LT_MULTI_MODULE"; then |
| 10580 | # By default we will add the -single_module flag. You can override |
| 10581 | # by either setting the environment variable LT_MULTI_MODULE |
| 10582 | # non-empty at configure time, or by adding -multi_module to the |
| 10583 | # link flags. |
| 10584 | rmscip-shell system . . rm. -rf libconftest.dylib* |
| 10585 | echoscip-shell system . . echo. "int foo(void){return 1;}" > conftest.c |
| 10586 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 10587 | -dynamiclib -Wl,-single_module conftest.c" >&5 |
| 10588 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 10589 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 10590 | _lt_result=$? |
| 10591 | # If there is a non-empty error log, and "single_module" |
| 10592 | # appears in it, assume the flag caused a linker warning |
| 10593 | if testscip-shell system . . test. -s conftest.err && $GREP single_module conftest.err; then |
| 10594 | catscip-shell system . . cat. conftest.err >&5 |
| 10595 | # Otherwise, if the output was created with a 0 exit code from |
| 10596 | # the compiler, it worked. |
| 10597 | elif testscip-shell system . . test. -f libconftest.dylib && testscip-shell system . . test. 0 = "$_lt_result"; then |
| 10598 | lt_cv_apple_cc_single_mod=yes |
| 10599 | else |
| 10600 | catscip-shell system . . cat. conftest.err >&5 |
| 10601 | fi |
| 10602 | rmscip-shell system . . rm. -rf libconftest.dylib* |
| 10603 | rmscip-shell system . . rm. -f conftest.* |
| 10604 | fi ;; |
| 10605 | esac |
| 10606 | fi |
| 10607 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 10608 | printfscip-shell system . . printf. "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 10609 | |
| 10610 | # Feature test to disable chained fixups since it is not |
| 10611 | # compatible with '-undefined dynamic_lookup' |
| 10612 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5 |
| 10613 | printfscip-shell system . . printf. %s "checking for -no_fixup_chains linker flag... " >&6; } |
| 10614 | if testscip-shell system . . test. ${lt_cv_support_no_fixup_chains+y} |
| 10615 | then : |
| 10616 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10617 | else case e in #( |
| 10618 | e) save_LDFLAGS=$LDFLAGS |
| 10619 | LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" |
| 10620 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10621 | /* end confdefs.h. */ |
| 10622 | |
| 10623 | int |
| 10624 | main (void) |
| 10625 | { |
| 10626 | |
| 10627 | ; |
| 10628 | return 0; |
| 10629 | } |
| 10630 | _ACEOF |
| 10631 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 10632 | then : |
| 10633 | lt_cv_support_no_fixup_chains=yes |
| 10634 | else case e in #( |
| 10635 | e) lt_cv_support_no_fixup_chains=no |
| 10636 | ;; |
| 10637 | esac |
| 10638 | fi |
| 10639 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10640 | conftest$ac_exeext conftest.$ac_ext |
| 10641 | LDFLAGS=$save_LDFLAGS |
| 10642 | |
| 10643 | ;; |
| 10644 | esac |
| 10645 | fi |
| 10646 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5 |
| 10647 | printfscip-shell system . . printf. "%s\n" "$lt_cv_support_no_fixup_chains" >&6; } |
| 10648 | |
| 10649 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 10650 | printfscip-shell system . . printf. %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 10651 | if testscip-shell system . . test. ${lt_cv_ld_exported_symbols_list+y} |
| 10652 | then : |
| 10653 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10654 | else case e in #( |
| 10655 | e) lt_cv_ld_exported_symbols_list=no |
| 10656 | save_LDFLAGS=$LDFLAGS |
| 10657 | echoscip-shell system . . echo. "_main" > conftest.sym |
| 10658 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 10659 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10660 | /* end confdefs.h. */ |
| 10661 | |
| 10662 | int |
| 10663 | main (void) |
| 10664 | { |
| 10665 | |
| 10666 | ; |
| 10667 | return 0; |
| 10668 | } |
| 10669 | _ACEOF |
| 10670 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 10671 | then : |
| 10672 | lt_cv_ld_exported_symbols_list=yes |
| 10673 | else case e in #( |
| 10674 | e) lt_cv_ld_exported_symbols_list=no ;; |
| 10675 | esac |
| 10676 | fi |
| 10677 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10678 | conftest$ac_exeext conftest.$ac_ext |
| 10679 | LDFLAGS=$save_LDFLAGS |
| 10680 | ;; |
| 10681 | esac |
| 10682 | fi |
| 10683 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 10684 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 10685 | |
| 10686 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 10687 | printfscip-shell system . . printf. %s "checking for -force_load linker flag... " >&6; } |
| 10688 | if testscip-shell system . . test. ${lt_cv_ld_force_load+y} |
| 10689 | then : |
| 10690 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10691 | else case e in #( |
| 10692 | e) lt_cv_ld_force_load=no |
| 10693 | catscip-shell system . . cat. > conftest.c << _LT_EOF |
| 10694 | int forced_loaded() { return 2;} |
| 10695 | _LT_EOF |
| 10696 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 10697 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 10698 | echoscip-shell system . . echo. "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 10699 | $AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 10700 | echoscip-shell system . . echo. "$RANLIB libconftest.a" >&5 |
| 10701 | $RANLIB libconftest.a 2>&5 |
| 10702 | catscip-shell system . . cat. > conftest.c << _LT_EOF |
| 10703 | int main(void) { return 0;} |
| 10704 | _LT_EOF |
| 10705 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 10706 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 10707 | _lt_result=$? |
| 10708 | if testscip-shell system . . test. -s conftest.err && $GREP force_load conftest.err; then |
| 10709 | catscip-shell system . . cat. conftest.err >&5 |
| 10710 | elif testscip-shell system . . test. -f conftest && testscip-shell system . . test. 0 = "$_lt_result" && $GREP forced_load conftest >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 10711 | lt_cv_ld_force_load=yes |
| 10712 | else |
| 10713 | catscip-shell system . . cat. conftest.err >&5 |
| 10714 | fi |
| 10715 | rmscip-shell system . . rm. -f conftest.err libconftest.a conftest conftest.c |
| 10716 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 10717 | ;; |
| 10718 | esac |
| 10719 | fi |
| 10720 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 10721 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 10722 | case $host_os in |
| 10723 | rhapsody* | darwin1.[012]) |
| 10724 | _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 10725 | darwin1.*) |
| 10726 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 10727 | darwin*) |
| 10728 | case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 10729 | 10.[012],*|,*powerpc*-darwin[5-8]*) |
| 10730 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 10731 | *) |
| 10732 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' |
| 10733 | if testscip-shell system . . test. yes = "$lt_cv_support_no_fixup_chains"; then |
| 10734 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). _lt_dar_allow_undefined ' $wl-no_fixup_chains' |
| 10735 | fi |
| 10736 | ;; |
| 10737 | esac |
| 10738 | ;; |
| 10739 | esac |
| 10740 | if testscip-shell system . . test. yes = "$lt_cv_apple_cc_single_mod"; then |
| 10741 | _lt_dar_single_mod='$single_module' |
| 10742 | fi |
| 10743 | _lt_dar_needs_single_mod=no |
| 10744 | case $host_os in |
| 10745 | rhapsody* | darwin1.*) |
| 10746 | _lt_dar_needs_single_mod=yes ;; |
| 10747 | darwin*) |
| 10748 | # When targeting Mac OS X 10.4 (darwin 8) or later, |
| 10749 | # -single_module is the default and -multi_module is unsupported. |
| 10750 | # The toolchain on macOS 10.14 (darwin 18) and later cannot |
| 10751 | # target any OS version that needs -single_module. |
| 10752 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 10753 | 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*) |
| 10754 | _lt_dar_needs_single_mod=yes ;; |
| 10755 | esac |
| 10756 | ;; |
| 10757 | esac |
| 10758 | if testscip-shell system . . test. yes = "$lt_cv_ld_exported_symbols_list"; then |
| 10759 | _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
| 10760 | else |
| 10761 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
| 10762 | fi |
| 10763 | if testscip-shell system . . test. : != "$DSYMUTIL" && testscip-shell system . . test. no = "$lt_cv_ld_force_load"; then |
| 10764 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 10765 | else |
| 10766 | _lt_dsymutil= |
| 10767 | fi |
| 10768 | ;; |
| 10769 | esac |
| 10770 | |
| 10771 | # func_munge_path_list VARIABLE PATH |
| 10772 | # ----------------------------------- |
| 10773 | # VARIABLE is name of variable containing _space_ separated list of |
| 10774 | # directories to be munged by the contents of PATH, which is string |
| 10775 | # having a format: |
| 10776 | # "DIR[:DIR]:" |
| 10777 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 10778 | # ":DIR[:DIR]" |
| 10779 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 10780 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 10781 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 10782 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 10783 | # "DIR[:DIR]" |
| 10784 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 10785 | func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). () |
| 10786 | { |
| 10787 | case x$2 in |
| 10788 | x) |
| 10789 | ;; |
| 10790 | *:) |
| 10791 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 10792 | ;; |
| 10793 | x:*) |
| 10794 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 10795 | ;; |
| 10796 | *::*) |
| 10797 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 10798 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 10799 | ;; |
| 10800 | *) |
| 10801 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 10802 | ;; |
| 10803 | esac |
| 10804 | } |
| 10805 | |
| 10806 | ac_header= ac_cache= |
| 10807 | for ac_item in $ac_header_c_list |
| 10808 | do |
| 10809 | if testscip-shell system . . test. $ac_cache; then |
| 10810 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 10811 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 10812 | printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h |
| 10813 | fi |
| 10814 | ac_header= ac_cache= |
| 10815 | elif testscip-shell system . . test. $ac_header; then |
| 10816 | ac_cache=$ac_item |
| 10817 | else |
| 10818 | ac_header=$ac_item |
| 10819 | fi |
| 10820 | done |
| 10821 | |
| 10822 | |
| 10823 | |
| 10824 | |
| 10825 | |
| 10826 | |
| 10827 | |
| 10828 | |
| 10829 | if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes |
| 10830 | then : |
| 10831 | |
| 10832 | printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 10833 | |
| 10834 | fi |
| 10835 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 10836 | " |
| 10837 | if testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes |
| 10838 | then : |
| 10839 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 10840 | |
| 10841 | fi |
| 10842 | |
| 10843 | |
| 10844 | |
| 10845 | |
| 10846 | func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). () |
| 10847 | { |
| 10848 | case $2 in |
| 10849 | .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; |
| 10850 | *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; |
| 10851 | esac |
| 10852 | } # func_stripname_cnf |
| 10853 | |
| 10854 | |
| 10855 | |
| 10856 | |
| 10857 | |
| 10858 | # Set options |
| 10859 | |
| 10860 | |
| 10861 | |
| 10862 | enable_dlopen=no |
| 10863 | |
| 10864 | |
| 10865 | enable_win32_dll=no |
| 10866 | |
| 10867 | |
| 10868 | # Check whether --enable-shared was given. |
| 10869 | if testscip-shell system . . test. ${enable_shared+y} |
| 10870 | then : |
| 10871 | enableval=$enable_shared; p=${PACKAGE-default} |
| 10872 | case $enableval in |
| 10873 | yes) enable_shared=yes ;; |
| 10874 | no) enable_shared=no ;; |
| 10875 | *) |
| 10876 | enable_shared=no |
| 10877 | # Look at the argument we got. We use all the common list separators. |
| 10878 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 10879 | for pkg in $enableval; do |
| 10880 | IFS=$lt_save_ifs |
| 10881 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 10882 | enable_shared=yes |
| 10883 | fi |
| 10884 | done |
| 10885 | IFS=$lt_save_ifs |
| 10886 | ;; |
| 10887 | esac |
| 10888 | else case e in #( |
| 10889 | e) enable_shared=yes ;; |
| 10890 | esac |
| 10891 | fi |
| 10892 | |
| 10893 | |
| 10894 | |
| 10895 | |
| 10896 | |
| 10897 | |
| 10898 | |
| 10899 | |
| 10900 | |
| 10901 | # Check whether --enable-static was given. |
| 10902 | if testscip-shell system . . test. ${enable_static+y} |
| 10903 | then : |
| 10904 | enableval=$enable_static; p=${PACKAGE-default} |
| 10905 | case $enableval in |
| 10906 | yes) enable_static=yes ;; |
| 10907 | no) enable_static=no ;; |
| 10908 | *) |
| 10909 | enable_static=no |
| 10910 | # Look at the argument we got. We use all the common list separators. |
| 10911 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 10912 | for pkg in $enableval; do |
| 10913 | IFS=$lt_save_ifs |
| 10914 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 10915 | enable_static=yes |
| 10916 | fi |
| 10917 | done |
| 10918 | IFS=$lt_save_ifs |
| 10919 | ;; |
| 10920 | esac |
| 10921 | else case e in #( |
| 10922 | e) enable_static=yes ;; |
| 10923 | esac |
| 10924 | fi |
| 10925 | |
| 10926 | |
| 10927 | |
| 10928 | |
| 10929 | |
| 10930 | |
| 10931 | |
| 10932 | |
| 10933 | |
| 10934 | # Check whether --enable-pic was given. |
| 10935 | if testscip-shell system . . test. ${enable_pic+y} |
| 10936 | then : |
| 10937 | enableval=$enable_pic; lt_p=${PACKAGE-default} |
| 10938 | case $enableval in |
| 10939 | yes|no) pic_mode=$enableval ;; |
| 10940 | *) |
| 10941 | pic_mode=default |
| 10942 | # Look at the argument we got. We use all the common list separators. |
| 10943 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 10944 | for lt_pkg in $enableval; do |
| 10945 | IFS=$lt_save_ifs |
| 10946 | if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then |
| 10947 | pic_mode=yes |
| 10948 | fi |
| 10949 | done |
| 10950 | IFS=$lt_save_ifs |
| 10951 | ;; |
| 10952 | esac |
| 10953 | else case e in #( |
| 10954 | e) # Check whether --with-pic was given. |
| 10955 | if testscip-shell system . . test. ${with_pic+y} |
| 10956 | then : |
| 10957 | withval=$with_pic; lt_p=${PACKAGE-default} |
| 10958 | case $withval in |
| 10959 | yes|no) pic_mode=$withval ;; |
| 10960 | *) |
| 10961 | pic_mode=default |
| 10962 | # Look at the argument we got. We use all the common list separators. |
| 10963 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 10964 | for lt_pkg in $withval; do |
| 10965 | IFS=$lt_save_ifs |
| 10966 | if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then |
| 10967 | pic_mode=yes |
| 10968 | fi |
| 10969 | done |
| 10970 | IFS=$lt_save_ifs |
| 10971 | ;; |
| 10972 | esac |
| 10973 | else case e in #( |
| 10974 | e) pic_mode=default ;; |
| 10975 | esac |
| 10976 | fi |
| 10977 | |
| 10978 | ;; |
| 10979 | esac |
| 10980 | fi |
| 10981 | |
| 10982 | |
| 10983 | |
| 10984 | |
| 10985 | |
| 10986 | |
| 10987 | |
| 10988 | |
| 10989 | # Check whether --enable-fast-install was given. |
| 10990 | if testscip-shell system . . test. ${enable_fast_install+y} |
| 10991 | then : |
| 10992 | enableval=$enable_fast_install; p=${PACKAGE-default} |
| 10993 | case $enableval in |
| 10994 | yes) enable_fast_install=yes ;; |
| 10995 | no) enable_fast_install=no ;; |
| 10996 | *) |
| 10997 | enable_fast_install=no |
| 10998 | # Look at the argument we got. We use all the common list separators. |
| 10999 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 11000 | for pkg in $enableval; do |
| 11001 | IFS=$lt_save_ifs |
| 11002 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 11003 | enable_fast_install=yes |
| 11004 | fi |
| 11005 | done |
| 11006 | IFS=$lt_save_ifs |
| 11007 | ;; |
| 11008 | esac |
| 11009 | else case e in #( |
| 11010 | e) enable_fast_install=yes ;; |
| 11011 | esac |
| 11012 | fi |
| 11013 | |
| 11014 | |
| 11015 | |
| 11016 | |
| 11017 | |
| 11018 | |
| 11019 | |
| 11020 | |
| 11021 | shared_archive_member_spec= |
| 11022 | case $host,$enable_shared in |
| 11023 | power*-*-aix[5-9]*,yes) |
| 11024 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 11025 | printfscip-shell system . . printf. %s "checking which variant of shared library versioning to provide... " >&6; } |
| 11026 | # Check whether --enable-aix-soname was given. |
| 11027 | if testscip-shell system . . test. ${enable_aix_soname+y} |
| 11028 | then : |
| 11029 | enableval=$enable_aix_soname; case $enableval in |
| 11030 | aix|svr4|both) |
| 11031 | ;; |
| 11032 | *) |
| 11033 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unknown argument to --enable-aix-soname" "$LINENO" 5 |
| 11034 | ;; |
| 11035 | esac |
| 11036 | lt_cv_with_aix_soname=$enable_aix_soname |
| 11037 | else case e in #( |
| 11038 | e) # Check whether --with-aix-soname was given. |
| 11039 | if testscip-shell system . . test. ${with_aix_soname+y} |
| 11040 | then : |
| 11041 | withval=$with_aix_soname; case $withval in |
| 11042 | aix|svr4|both) |
| 11043 | ;; |
| 11044 | *) |
| 11045 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
| 11046 | ;; |
| 11047 | esac |
| 11048 | lt_cv_with_aix_soname=$with_aix_soname |
| 11049 | else case e in #( |
| 11050 | e) if testscip-shell system . . test. ${lt_cv_with_aix_soname+y} |
| 11051 | then : |
| 11052 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11053 | else case e in #( |
| 11054 | e) lt_cv_with_aix_soname=aix ;; |
| 11055 | esac |
| 11056 | fi |
| 11057 | ;; |
| 11058 | esac |
| 11059 | fi |
| 11060 | |
| 11061 | enable_aix_soname=$lt_cv_with_aix_soname ;; |
| 11062 | esac |
| 11063 | fi |
| 11064 | |
| 11065 | with_aix_soname=$enable_aix_soname |
| 11066 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 11067 | printfscip-shell system . . printf. "%s\n" "$with_aix_soname" >&6; } |
| 11068 | if testscip-shell system . . test. aix != "$with_aix_soname"; then |
| 11069 | # For the AIX way of multilib, we name the shared archive member |
| 11070 | # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 11071 | # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 11072 | # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 11073 | # the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 11074 | if testscip-shell system . . test. 64 = "${OBJECT_MODE-32}"; then |
| 11075 | shared_archive_member_spec=shr_64 |
| 11076 | else |
| 11077 | shared_archive_member_spec=shr |
| 11078 | fi |
| 11079 | fi |
| 11080 | ;; |
| 11081 | *) |
| 11082 | with_aix_soname=aix |
| 11083 | ;; |
| 11084 | esac |
| 11085 | |
| 11086 | |
| 11087 | |
| 11088 | |
| 11089 | |
| 11090 | |
| 11091 | |
| 11092 | |
| 11093 | |
| 11094 | |
| 11095 | # This can be used to rebuild libtool when needed |
| 11096 | LIBTOOL_DEPS=$ltmain |
| 11097 | |
| 11098 | # Always use our own libtool. |
| 11099 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 11100 | |
| 11101 | |
| 11102 | |
| 11103 | |
| 11104 | |
| 11105 | |
| 11106 | |
| 11107 | |
| 11108 | |
| 11109 | |
| 11110 | |
| 11111 | |
| 11112 | |
| 11113 | |
| 11114 | |
| 11115 | |
| 11116 | |
| 11117 | |
| 11118 | |
| 11119 | |
| 11120 | |
| 11121 | |
| 11122 | |
| 11123 | |
| 11124 | |
| 11125 | |
| 11126 | |
| 11127 | |
| 11128 | |
| 11129 | |
| 11130 | testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s" |
| 11131 | |
| 11132 | |
| 11133 | |
| 11134 | |
| 11135 | |
| 11136 | |
| 11137 | |
| 11138 | |
| 11139 | |
| 11140 | |
| 11141 | |
| 11142 | |
| 11143 | |
| 11144 | |
| 11145 | if testscip-shell system . . test. -n "${ZSH_VERSION+set}"; then |
| 11146 | setopt NO_GLOB_SUBST |
| 11147 | fi |
| 11148 | |
| 11149 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 11150 | printfscip-shell system . . printf. %s "checking for objdir... " >&6; } |
| 11151 | if testscip-shell system . . test. ${lt_cv_objdir+y} |
| 11152 | then : |
| 11153 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11154 | else case e in #( |
| 11155 | e) rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11156 | mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11157 | if testscip-shell system . . test. -d .libs; then |
| 11158 | lt_cv_objdir=.libs |
| 11159 | else |
| 11160 | # MS-DOS does not allow filenames that begin with a dot. |
| 11161 | lt_cv_objdir=_libs |
| 11162 | fi |
| 11163 | rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. ;; |
| 11164 | esac |
| 11165 | fi |
| 11166 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 11167 | printfscip-shell system . . printf. "%s\n" "$lt_cv_objdir" >&6; } |
| 11168 | objdir=$lt_cv_objdir |
| 11169 | |
| 11170 | |
| 11171 | |
| 11172 | |
| 11173 | |
| 11174 | printfscip-shell system . . printf. "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 11175 | |
| 11176 | |
| 11177 | |
| 11178 | |
| 11179 | case $host_os in |
| 11180 | aix3*) |
| 11181 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 11182 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 11183 | # vanish in a puff of smoke. |
| 11184 | if testscip-shell system . . test. set != "${COLLECT_NAMES+set}"; then |
| 11185 | COLLECT_NAMES= |
| 11186 | export COLLECT_NAMES |
| 11187 | fi |
| 11188 | ;; |
| 11189 | esac |
| 11190 | |
| 11191 | # Global variables: |
| 11192 | ofile=libtool |
| 11193 | can_build_shared=yes |
| 11194 | |
| 11195 | # All known linkers require a '.a' archive for static linking (except MSVC and |
| 11196 | # ICC, which need '.lib'). |
| 11197 | libext=a |
| 11198 | |
| 11199 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 11200 | |
| 11201 | old_CC=$CC |
| 11202 | old_CFLAGS=$CFLAGS |
| 11203 | |
| 11204 | # Set sane defaults for various variables |
| 11205 | testscip-shell system . . test. -z "$CC" && CC=cc |
| 11206 | testscip-shell system . . test. -z "$LTCC" && LTCC=$CC |
| 11207 | testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 11208 | testscip-shell system . . test. -z "$LD" && LD=ld |
| 11209 | testscip-shell system . . test. -z "$ac_objext" && ac_objext=o |
| 11210 | |
| 11211 | func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler |
| 11212 | cc_basename=$func_cc_basename_result |
| 11213 | |
| 11214 | |
| 11215 | # Only perform the check for file, if the check method requires it |
| 11216 | testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 11217 | case $deplibs_check_method in |
| 11218 | file_magic*) |
| 11219 | if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 11220 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 11221 | printfscip-shell system . . printf. %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 11222 | if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y} |
| 11223 | then : |
| 11224 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11225 | else case e in #( |
| 11226 | e) case $MAGIC_CMD in |
| 11227 | [\\/*] | ?:[\\/]*) |
| 11228 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 11229 | ;; |
| 11230 | *) |
| 11231 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 11232 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11233 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 11234 | for ac_dir in $ac_dummy; do |
| 11235 | IFS=$lt_save_ifs |
| 11236 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 11237 | if testscip-shell system . . test. -f "$ac_dir/${ac_tool_prefix}file"; then |
| 11238 | lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
| 11239 | if testscip-shell system . . test. -n "$file_magic_test_file"; then |
| 11240 | case $deplibs_check_method in |
| 11241 | "file_magic "*) |
| 11242 | file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"` |
| 11243 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11244 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. | |
| 11245 | $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11246 | : |
| 11247 | else |
| 11248 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 11249 | |
| 11250 | *** Warning: the command libtool uses to detect shared libraries, |
| 11251 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 11252 | *** The result is that libtool may fail to recognize shared libraries |
| 11253 | *** as such. This will affect the creation of libtool libraries that |
| 11254 | *** depend on shared libraries, but programs linked with such libtool |
| 11255 | *** libraries will work regardless of this problem. Nevertheless, you |
| 11256 | *** may want to report the problem to your system manager and/or to |
| 11257 | *** [email protected] |
| 11258 | |
| 11259 | _LT_EOF |
| 11260 | fi ;; |
| 11261 | esac |
| 11262 | fi |
| 11263 | break |
| 11264 | fi |
| 11265 | done |
| 11266 | IFS=$lt_save_ifs |
| 11267 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 11268 | ;; |
| 11269 | esac ;; |
| 11270 | esac |
| 11271 | fi |
| 11272 | |
| 11273 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11274 | if testscip-shell system . . test. -n "$MAGIC_CMD"; then |
| 11275 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 11276 | printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; } |
| 11277 | else |
| 11278 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11279 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 11280 | fi |
| 11281 | |
| 11282 | |
| 11283 | |
| 11284 | |
| 11285 | |
| 11286 | if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then |
| 11287 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 11288 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 11289 | printfscip-shell system . . printf. %s "checking for file... " >&6; } |
| 11290 | if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y} |
| 11291 | then : |
| 11292 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11293 | else case e in #( |
| 11294 | e) case $MAGIC_CMD in |
| 11295 | [\\/*] | ?:[\\/]*) |
| 11296 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 11297 | ;; |
| 11298 | *) |
| 11299 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 11300 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11301 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 11302 | for ac_dir in $ac_dummy; do |
| 11303 | IFS=$lt_save_ifs |
| 11304 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 11305 | if testscip-shell system . . test. -f "$ac_dir/file"; then |
| 11306 | lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
| 11307 | if testscip-shell system . . test. -n "$file_magic_test_file"; then |
| 11308 | case $deplibs_check_method in |
| 11309 | "file_magic "*) |
| 11310 | file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"` |
| 11311 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11312 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. | |
| 11313 | $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11314 | : |
| 11315 | else |
| 11316 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 11317 | |
| 11318 | *** Warning: the command libtool uses to detect shared libraries, |
| 11319 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 11320 | *** The result is that libtool may fail to recognize shared libraries |
| 11321 | *** as such. This will affect the creation of libtool libraries that |
| 11322 | *** depend on shared libraries, but programs linked with such libtool |
| 11323 | *** libraries will work regardless of this problem. Nevertheless, you |
| 11324 | *** may want to report the problem to your system manager and/or to |
| 11325 | *** [email protected] |
| 11326 | |
| 11327 | _LT_EOF |
| 11328 | fi ;; |
| 11329 | esac |
| 11330 | fi |
| 11331 | break |
| 11332 | fi |
| 11333 | done |
| 11334 | IFS=$lt_save_ifs |
| 11335 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 11336 | ;; |
| 11337 | esac ;; |
| 11338 | esac |
| 11339 | fi |
| 11340 | |
| 11341 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11342 | if testscip-shell system . . test. -n "$MAGIC_CMD"; then |
| 11343 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 11344 | printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; } |
| 11345 | else |
| 11346 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11347 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 11348 | fi |
| 11349 | |
| 11350 | |
| 11351 | else |
| 11352 | MAGIC_CMD=: |
| 11353 | fi |
| 11354 | fi |
| 11355 | |
| 11356 | fi |
| 11357 | ;; |
| 11358 | esac |
| 11359 | |
| 11360 | # Use C for the default configuration in the libtool script |
| 11361 | |
| 11362 | lt_save_CC=$CC |
| 11363 | ac_ext=c |
| 11364 | ac_cpp='$CPP $CPPFLAGS' |
| 11365 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11366 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11367 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 11368 | |
| 11369 | |
| 11370 | # Source file extension for C test sources. |
| 11371 | ac_ext=c |
| 11372 | |
| 11373 | # Object file extension for compiled C test sources. |
| 11374 | objext=o |
| 11375 | objext=$objext |
| 11376 | |
| 11377 | # Code to be used in simple compile tests |
| 11378 | lt_simple_compile_test_code="int some_variable = 0;" |
| 11379 | |
| 11380 | # Code to be used in simple link tests |
| 11381 | lt_simple_link_test_code='int main(void){return(0);}' |
| 11382 | |
| 11383 | |
| 11384 | |
| 11385 | |
| 11386 | |
| 11387 | |
| 11388 | |
| 11389 | # If no C compiler was specified, use CC. |
| 11390 | LTCC=${LTCC-"$CC"} |
| 11391 | |
| 11392 | # If no C compiler flags were specified, use CFLAGS. |
| 11393 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 11394 | |
| 11395 | # Allow CC to be a program name with arguments. |
| 11396 | compiler=$CC |
| 11397 | |
| 11398 | # Save the default compiler, since it gets overwritten when the other |
| 11399 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
| 11400 | compiler_DEFAULT=$CC |
| 11401 | |
| 11402 | # save warnings/boilerplate of simple test code |
| 11403 | ac_outfile=conftest.$ac_objext |
| 11404 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 11405 | eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 11406 | _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 11407 | $RM conftest* |
| 11408 | |
| 11409 | ac_outfile=conftest.$ac_objext |
| 11410 | echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext |
| 11411 | eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 11412 | _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 11413 | $RM -r conftest* |
| 11414 | |
| 11415 | |
| 11416 | ## CAVEAT EMPTOR: |
| 11417 | ## There is no encapsulation within the following macros, do not change |
| 11418 | ## the running order or otherwise move them around unless you know exactly |
| 11419 | ## what you are doing... |
| 11420 | if testscip-shell system . . test. -n "$compiler"; then |
| 11421 | |
| 11422 | lt_prog_compiler_no_builtin_flag= |
| 11423 | |
| 11424 | if testscip-shell system . . test. yes = "$GCC"; then |
| 11425 | case $cc_basename in |
| 11426 | nvcc*) |
| 11427 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 11428 | *) |
| 11429 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 11430 | esac |
| 11431 | |
| 11432 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 11433 | printfscip-shell system . . printf. %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 11434 | if testscip-shell system . . test. ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 11435 | then : |
| 11436 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11437 | else case e in #( |
| 11438 | e) lt_cv_prog_compiler_rtti_exceptions=no |
| 11439 | ac_outfile=conftest.$ac_objext |
| 11440 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11441 | lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
| 11442 | # Insert the option either (1) after the last *FLAGS variable, or |
| 11443 | # (2) before a word containing "conftest.", or (3) at the end. |
| 11444 | # Note that $ac_compile itself does not contain backslashes and begins |
| 11445 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 11446 | # The option is referenced via a variable to avoid confusing sed. |
| 11447 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 11448 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11449 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11450 | -e 's:$: $lt_compiler_flag:'` |
| 11451 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 11452 | (eval "$lt_compile" 2>conftest.err) |
| 11453 | ac_status=$? |
| 11454 | catscip-shell system . . cat. conftest.err >&5 |
| 11455 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11456 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 11457 | # The compiler can only warn and ignore the option if not recognized |
| 11458 | # So say no if there are warnings other than the usual output. |
| 11459 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 11460 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 11461 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11462 | lt_cv_prog_compiler_rtti_exceptions=yes |
| 11463 | fi |
| 11464 | fi |
| 11465 | $RM conftest* |
| 11466 | ;; |
| 11467 | esac |
| 11468 | fi |
| 11469 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 11470 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 11471 | |
| 11472 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 11473 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 11474 | else |
| 11475 | : |
| 11476 | fi |
| 11477 | |
| 11478 | fi |
| 11479 | |
| 11480 | |
| 11481 | |
| 11482 | |
| 11483 | |
| 11484 | |
| 11485 | lt_prog_compiler_wl= |
| 11486 | lt_prog_compiler_pic= |
| 11487 | lt_prog_compiler_static= |
| 11488 | |
| 11489 | |
| 11490 | if testscip-shell system . . test. yes = "$GCC"; then |
| 11491 | lt_prog_compiler_wl='-Wl,' |
| 11492 | lt_prog_compiler_static='-static' |
| 11493 | |
| 11494 | case $host_os in |
| 11495 | aix*) |
| 11496 | # All AIX code is PIC. |
| 11497 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 11498 | # AIX 5 now supports IA64 processor |
| 11499 | lt_prog_compiler_static='-Bstatic' |
| 11500 | fi |
| 11501 | lt_prog_compiler_pic='-fPIC' |
| 11502 | ;; |
| 11503 | |
| 11504 | amigaos*) |
| 11505 | case $host_cpu in |
| 11506 | powerpc) |
| 11507 | # see comment about AmigaOS4 .so support |
| 11508 | lt_prog_compiler_pic='-fPIC' |
| 11509 | ;; |
| 11510 | m68k) |
| 11511 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 11512 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 11513 | # like '-m68040'. |
| 11514 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 11515 | ;; |
| 11516 | esac |
| 11517 | ;; |
| 11518 | |
| 11519 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 11520 | # PIC is the default for these OSes. |
| 11521 | ;; |
| 11522 | |
| 11523 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 11524 | # This hack is so that the source file can tell whether it is being |
| 11525 | # built for inclusion in a dll (and should export symbols for example). |
| 11526 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 11527 | # (--disable-auto-import) libraries |
| 11528 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 11529 | case $host_os in |
| 11530 | os2*) |
| 11531 | lt_prog_compiler_static='$wl-static' |
| 11532 | ;; |
| 11533 | esac |
| 11534 | ;; |
| 11535 | |
| 11536 | darwin* | rhapsody*) |
| 11537 | # PIC is the default on this platform |
| 11538 | # Common symbols not allowed in MH_DYLIB files |
| 11539 | lt_prog_compiler_pic='-fno-common' |
| 11540 | ;; |
| 11541 | |
| 11542 | haiku*) |
| 11543 | # PIC is the default for Haiku. |
| 11544 | # The "-static" flag exists, but is broken. |
| 11545 | lt_prog_compiler_static= |
| 11546 | ;; |
| 11547 | |
| 11548 | hpux*) |
| 11549 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 11550 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 11551 | # sets the default TLS model and affects inlining. |
| 11552 | case $host_cpu in |
| 11553 | hppa*64*) |
| 11554 | # +Z the default |
| 11555 | ;; |
| 11556 | *) |
| 11557 | lt_prog_compiler_pic='-fPIC' |
| 11558 | ;; |
| 11559 | esac |
| 11560 | ;; |
| 11561 | |
| 11562 | interix[3-9]*) |
| 11563 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 11564 | # Instead, we relocate shared libraries at runtime. |
| 11565 | ;; |
| 11566 | |
| 11567 | msdosdjgpp*) |
| 11568 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 11569 | # on systems that don't support them. |
| 11570 | lt_prog_compiler_can_build_shared=no |
| 11571 | enable_shared=no |
| 11572 | ;; |
| 11573 | |
| 11574 | *nto* | *qnx*) |
| 11575 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 11576 | # it will coredump. |
| 11577 | lt_prog_compiler_pic='-fPIC -shared' |
| 11578 | ;; |
| 11579 | |
| 11580 | sysv4*MP*) |
| 11581 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 11582 | lt_prog_compiler_pic=-Kconform_pic |
| 11583 | fi |
| 11584 | ;; |
| 11585 | |
| 11586 | *) |
| 11587 | lt_prog_compiler_pic='-fPIC' |
| 11588 | ;; |
| 11589 | esac |
| 11590 | |
| 11591 | case $cc_basename in |
| 11592 | nvcc*) # Cuda Compiler Driver 2.2 |
| 11593 | lt_prog_compiler_wl='-Xlinker ' |
| 11594 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 11595 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 11596 | fi |
| 11597 | ;; |
| 11598 | esac |
| 11599 | else |
| 11600 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 11601 | case $host_os in |
| 11602 | aix*) |
| 11603 | lt_prog_compiler_wl='-Wl,' |
| 11604 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 11605 | # AIX 5 now supports IA64 processor |
| 11606 | lt_prog_compiler_static='-Bstatic' |
| 11607 | else |
| 11608 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 11609 | fi |
| 11610 | ;; |
| 11611 | |
| 11612 | darwin* | rhapsody*) |
| 11613 | # PIC is the default on this platform |
| 11614 | # Common symbols not allowed in MH_DYLIB files |
| 11615 | lt_prog_compiler_pic='-fno-common' |
| 11616 | case $cc_basename in |
| 11617 | nagfor*) |
| 11618 | # NAG Fortran compiler |
| 11619 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 11620 | lt_prog_compiler_pic='-PIC' |
| 11621 | lt_prog_compiler_static='-Bstatic' |
| 11622 | ;; |
| 11623 | esac |
| 11624 | ;; |
| 11625 | |
| 11626 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 11627 | # This hack is so that the source file can tell whether it is being |
| 11628 | # built for inclusion in a dll (and should export symbols for example). |
| 11629 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 11630 | case $host_os in |
| 11631 | os2*) |
| 11632 | lt_prog_compiler_static='$wl-static' |
| 11633 | ;; |
| 11634 | esac |
| 11635 | ;; |
| 11636 | |
| 11637 | hpux9* | hpux10* | hpux11*) |
| 11638 | lt_prog_compiler_wl='-Wl,' |
| 11639 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 11640 | # not for PA HP-UX. |
| 11641 | case $host_cpu in |
| 11642 | hppa*64*|ia64*) |
| 11643 | # +Z the default |
| 11644 | ;; |
| 11645 | *) |
| 11646 | lt_prog_compiler_pic='+Z' |
| 11647 | ;; |
| 11648 | esac |
| 11649 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 11650 | lt_prog_compiler_static='$wl-a ${wl}archive' |
| 11651 | ;; |
| 11652 | |
| 11653 | irix5* | irix6* | nonstopux*) |
| 11654 | lt_prog_compiler_wl='-Wl,' |
| 11655 | # PIC (with -KPIC) is the default. |
| 11656 | lt_prog_compiler_static='-non_shared' |
| 11657 | ;; |
| 11658 | |
| 11659 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 11660 | case $cc_basename in |
| 11661 | # old Intel for x86_64, which still supported -KPIC. |
| 11662 | ecc*) |
| 11663 | lt_prog_compiler_wl='-Wl,' |
| 11664 | lt_prog_compiler_pic='-KPIC' |
| 11665 | lt_prog_compiler_static='-static' |
| 11666 | ;; |
| 11667 | *flang* | ftn | f18* | f95*) |
| 11668 | # Flang compiler. |
| 11669 | lt_prog_compiler_wl='-Wl,' |
| 11670 | lt_prog_compiler_pic='-fPIC' |
| 11671 | lt_prog_compiler_static='-static' |
| 11672 | ;; |
| 11673 | # flang / f18. f95 an alias for gfortran or flang on Debian |
| 11674 | flang* | f18* | f95*) |
| 11675 | lt_prog_compiler_wl='-Wl,' |
| 11676 | lt_prog_compiler_pic='-fPIC' |
| 11677 | lt_prog_compiler_static='-static' |
| 11678 | ;; |
| 11679 | # icc used to be incompatible with GCC. |
| 11680 | # ICC 10 doesn't accept -KPIC any more. |
| 11681 | icc* | ifort*) |
| 11682 | lt_prog_compiler_wl='-Wl,' |
| 11683 | lt_prog_compiler_pic='-fPIC' |
| 11684 | lt_prog_compiler_static='-static' |
| 11685 | ;; |
| 11686 | # Lahey Fortran 8.1. |
| 11687 | lf95*) |
| 11688 | lt_prog_compiler_wl='-Wl,' |
| 11689 | lt_prog_compiler_pic='--shared' |
| 11690 | lt_prog_compiler_static='--static' |
| 11691 | ;; |
| 11692 | nagfor*) |
| 11693 | # NAG Fortran compiler |
| 11694 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 11695 | lt_prog_compiler_pic='-PIC' |
| 11696 | lt_prog_compiler_static='-Bstatic' |
| 11697 | ;; |
| 11698 | tcc*) |
| 11699 | # Fabrice Bellard et al's Tiny C Compiler |
| 11700 | lt_prog_compiler_wl='-Wl,' |
| 11701 | lt_prog_compiler_pic='-fPIC' |
| 11702 | lt_prog_compiler_static='-static' |
| 11703 | ;; |
| 11704 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 11705 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 11706 | # which looks to be a dead project) |
| 11707 | lt_prog_compiler_wl='-Wl,' |
| 11708 | lt_prog_compiler_pic='-fpic' |
| 11709 | lt_prog_compiler_static='-Bstatic' |
| 11710 | ;; |
| 11711 | ccc*) |
| 11712 | lt_prog_compiler_wl='-Wl,' |
| 11713 | # All Alpha code is PIC. |
| 11714 | lt_prog_compiler_static='-non_shared' |
| 11715 | ;; |
| 11716 | xl* | bgxl* | bgf* | mpixl*) |
| 11717 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 11718 | lt_prog_compiler_wl='-Wl,' |
| 11719 | lt_prog_compiler_pic='-qpic' |
| 11720 | lt_prog_compiler_static='-qstaticlink' |
| 11721 | ;; |
| 11722 | *) |
| 11723 | case `$CC -V 2>&1 | $SED 5q` in |
| 11724 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 11725 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 11726 | lt_prog_compiler_pic='-KPIC' |
| 11727 | lt_prog_compiler_static='-Bstatic' |
| 11728 | lt_prog_compiler_wl='' |
| 11729 | ;; |
| 11730 | *Sun\ F* | *Sun*Fortran*) |
| 11731 | lt_prog_compiler_pic='-KPIC' |
| 11732 | lt_prog_compiler_static='-Bstatic' |
| 11733 | lt_prog_compiler_wl='-Qoption ld ' |
| 11734 | ;; |
| 11735 | *Sun\ C*) |
| 11736 | # Sun C 5.9 |
| 11737 | lt_prog_compiler_pic='-KPIC' |
| 11738 | lt_prog_compiler_static='-Bstatic' |
| 11739 | lt_prog_compiler_wl='-Wl,' |
| 11740 | ;; |
| 11741 | *Intel*\ [CF]*Compiler*) |
| 11742 | lt_prog_compiler_wl='-Wl,' |
| 11743 | lt_prog_compiler_pic='-fPIC' |
| 11744 | lt_prog_compiler_static='-static' |
| 11745 | ;; |
| 11746 | *Portland\ Group*) |
| 11747 | lt_prog_compiler_wl='-Wl,' |
| 11748 | lt_prog_compiler_pic='-fpic' |
| 11749 | lt_prog_compiler_static='-Bstatic' |
| 11750 | ;; |
| 11751 | esac |
| 11752 | ;; |
| 11753 | esac |
| 11754 | ;; |
| 11755 | |
| 11756 | newsos6) |
| 11757 | lt_prog_compiler_pic='-KPIC' |
| 11758 | lt_prog_compiler_static='-Bstatic' |
| 11759 | ;; |
| 11760 | |
| 11761 | *-mlibc) |
| 11762 | lt_prog_compiler_wl='-Wl,' |
| 11763 | lt_prog_compiler_pic='-fPIC' |
| 11764 | lt_prog_compiler_static='-static' |
| 11765 | ;; |
| 11766 | |
| 11767 | *nto* | *qnx*) |
| 11768 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 11769 | # it will coredump. |
| 11770 | lt_prog_compiler_pic='-fPIC -shared' |
| 11771 | ;; |
| 11772 | |
| 11773 | osf3* | osf4* | osf5*) |
| 11774 | lt_prog_compiler_wl='-Wl,' |
| 11775 | # All OSF/1 code is PIC. |
| 11776 | lt_prog_compiler_static='-non_shared' |
| 11777 | ;; |
| 11778 | |
| 11779 | rdos*) |
| 11780 | lt_prog_compiler_static='-non_shared' |
| 11781 | ;; |
| 11782 | |
| 11783 | serenity*) |
| 11784 | ;; |
| 11785 | |
| 11786 | solaris*) |
| 11787 | lt_prog_compiler_pic='-KPIC' |
| 11788 | lt_prog_compiler_static='-Bstatic' |
| 11789 | case $cc_basename in |
| 11790 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 11791 | lt_prog_compiler_wl='-Qoption ld ';; |
| 11792 | *) |
| 11793 | lt_prog_compiler_wl='-Wl,';; |
| 11794 | esac |
| 11795 | ;; |
| 11796 | |
| 11797 | sunos4*) |
| 11798 | lt_prog_compiler_wl='-Qoption ld ' |
| 11799 | lt_prog_compiler_pic='-PIC' |
| 11800 | lt_prog_compiler_static='-Bstatic' |
| 11801 | ;; |
| 11802 | |
| 11803 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 11804 | lt_prog_compiler_wl='-Wl,' |
| 11805 | lt_prog_compiler_pic='-KPIC' |
| 11806 | lt_prog_compiler_static='-Bstatic' |
| 11807 | ;; |
| 11808 | |
| 11809 | sysv4*MP*) |
| 11810 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 11811 | lt_prog_compiler_pic='-Kconform_pic' |
| 11812 | lt_prog_compiler_static='-Bstatic' |
| 11813 | fi |
| 11814 | ;; |
| 11815 | |
| 11816 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 11817 | lt_prog_compiler_wl='-Wl,' |
| 11818 | lt_prog_compiler_pic='-KPIC' |
| 11819 | lt_prog_compiler_static='-Bstatic' |
| 11820 | ;; |
| 11821 | |
| 11822 | unicos*) |
| 11823 | lt_prog_compiler_wl='-Wl,' |
| 11824 | lt_prog_compiler_can_build_shared=no |
| 11825 | ;; |
| 11826 | |
| 11827 | uts4*) |
| 11828 | lt_prog_compiler_pic='-pic' |
| 11829 | lt_prog_compiler_static='-Bstatic' |
| 11830 | ;; |
| 11831 | |
| 11832 | *) |
| 11833 | lt_prog_compiler_can_build_shared=no |
| 11834 | ;; |
| 11835 | esac |
| 11836 | fi |
| 11837 | |
| 11838 | case $host_os in |
| 11839 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 11840 | *djgpp*) |
| 11841 | lt_prog_compiler_pic= |
| 11842 | ;; |
| 11843 | *) |
| 11844 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 11845 | ;; |
| 11846 | esac |
| 11847 | |
| 11848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 11849 | printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; } |
| 11850 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y} |
| 11851 | then : |
| 11852 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11853 | else case e in #( |
| 11854 | e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 11855 | esac |
| 11856 | fi |
| 11857 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 11858 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 11859 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 11860 | |
| 11861 | # |
| 11862 | # Check to make sure the PIC flag actually works. |
| 11863 | # |
| 11864 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 11865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 11866 | printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 11867 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y} |
| 11868 | then : |
| 11869 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11870 | else case e in #( |
| 11871 | e) lt_cv_prog_compiler_pic_works=no |
| 11872 | ac_outfile=conftest.$ac_objext |
| 11873 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11874 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 11875 | # Insert the option either (1) after the last *FLAGS variable, or |
| 11876 | # (2) before a word containing "conftest.", or (3) at the end. |
| 11877 | # Note that $ac_compile itself does not contain backslashes and begins |
| 11878 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 11879 | # The option is referenced via a variable to avoid confusing sed. |
| 11880 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 11881 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11882 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11883 | -e 's:$: $lt_compiler_flag:'` |
| 11884 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 11885 | (eval "$lt_compile" 2>conftest.err) |
| 11886 | ac_status=$? |
| 11887 | catscip-shell system . . cat. conftest.err >&5 |
| 11888 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11889 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 11890 | # The compiler can only warn and ignore the option if not recognized |
| 11891 | # So say no if there are warnings other than the usual output. |
| 11892 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 11893 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 11894 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11895 | lt_cv_prog_compiler_pic_works=yes |
| 11896 | fi |
| 11897 | fi |
| 11898 | $RM conftest* |
| 11899 | ;; |
| 11900 | esac |
| 11901 | fi |
| 11902 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 11903 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 11904 | |
| 11905 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then |
| 11906 | case $lt_prog_compiler_pic in |
| 11907 | "" | " "*) ;; |
| 11908 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 11909 | esac |
| 11910 | else |
| 11911 | lt_prog_compiler_pic= |
| 11912 | lt_prog_compiler_can_build_shared=no |
| 11913 | fi |
| 11914 | |
| 11915 | fi |
| 11916 | |
| 11917 | |
| 11918 | |
| 11919 | |
| 11920 | |
| 11921 | |
| 11922 | |
| 11923 | |
| 11924 | |
| 11925 | |
| 11926 | |
| 11927 | # |
| 11928 | # Check to make sure the static flag actually works. |
| 11929 | # |
| 11930 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 11931 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 11932 | printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 11933 | if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y} |
| 11934 | then : |
| 11935 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11936 | else case e in #( |
| 11937 | e) lt_cv_prog_compiler_static_works=no |
| 11938 | save_LDFLAGS=$LDFLAGS |
| 11939 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 11940 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 11941 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 11942 | # The linker can only warn and ignore the option if not recognized |
| 11943 | # So say no if there are warnings |
| 11944 | if testscip-shell system . . test. -s conftest.err; then |
| 11945 | # Append any errors to the config.log. |
| 11946 | catscip-shell system . . cat. conftest.err 1>&5 |
| 11947 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 11948 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 11949 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11950 | lt_cv_prog_compiler_static_works=yes |
| 11951 | fi |
| 11952 | else |
| 11953 | lt_cv_prog_compiler_static_works=yes |
| 11954 | fi |
| 11955 | fi |
| 11956 | $RM -r conftest* |
| 11957 | LDFLAGS=$save_LDFLAGS |
| 11958 | ;; |
| 11959 | esac |
| 11960 | fi |
| 11961 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 11962 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 11963 | |
| 11964 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then |
| 11965 | : |
| 11966 | else |
| 11967 | lt_prog_compiler_static= |
| 11968 | fi |
| 11969 | |
| 11970 | |
| 11971 | |
| 11972 | |
| 11973 | |
| 11974 | |
| 11975 | |
| 11976 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 11977 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 11978 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y} |
| 11979 | then : |
| 11980 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11981 | else case e in #( |
| 11982 | e) lt_cv_prog_compiler_c_o=no |
| 11983 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11984 | mkdirscip-shell system . . mkdir. conftest |
| 11985 | cd conftest |
| 11986 | mkdirscip-shell system . . mkdir. out |
| 11987 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11988 | |
| 11989 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 11990 | # Insert the option either (1) after the last *FLAGS variable, or |
| 11991 | # (2) before a word containing "conftest.", or (3) at the end. |
| 11992 | # Note that $ac_compile itself does not contain backslashes and begins |
| 11993 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 11994 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 11995 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11996 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11997 | -e 's:$: $lt_compiler_flag:'` |
| 11998 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 11999 | (eval "$lt_compile" 2>out/conftest.err) |
| 12000 | ac_status=$? |
| 12001 | catscip-shell system . . cat. out/conftest.err >&5 |
| 12002 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12003 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 12004 | then |
| 12005 | # The compiler can only warn and ignore the option if not recognized |
| 12006 | # So say no if there are warnings |
| 12007 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 12008 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 12009 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12010 | lt_cv_prog_compiler_c_o=yes |
| 12011 | fi |
| 12012 | fi |
| 12013 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 12014 | $RM conftest* |
| 12015 | # SGI C++ compiler will create directory out/ii_files/ for |
| 12016 | # template instantiation |
| 12017 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 12018 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 12019 | cd .. |
| 12020 | $RM -r conftest |
| 12021 | $RM conftest* |
| 12022 | ;; |
| 12023 | esac |
| 12024 | fi |
| 12025 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 12026 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 12027 | |
| 12028 | |
| 12029 | |
| 12030 | |
| 12031 | |
| 12032 | |
| 12033 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 12034 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 12035 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y} |
| 12036 | then : |
| 12037 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12038 | else case e in #( |
| 12039 | e) lt_cv_prog_compiler_c_o=no |
| 12040 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12041 | mkdirscip-shell system . . mkdir. conftest |
| 12042 | cd conftest |
| 12043 | mkdirscip-shell system . . mkdir. out |
| 12044 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 12045 | |
| 12046 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 12047 | # Insert the option either (1) after the last *FLAGS variable, or |
| 12048 | # (2) before a word containing "conftest.", or (3) at the end. |
| 12049 | # Note that $ac_compile itself does not contain backslashes and begins |
| 12050 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 12051 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 12052 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12053 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12054 | -e 's:$: $lt_compiler_flag:'` |
| 12055 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 12056 | (eval "$lt_compile" 2>out/conftest.err) |
| 12057 | ac_status=$? |
| 12058 | catscip-shell system . . cat. out/conftest.err >&5 |
| 12059 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12060 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 12061 | then |
| 12062 | # The compiler can only warn and ignore the option if not recognized |
| 12063 | # So say no if there are warnings |
| 12064 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 12065 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 12066 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12067 | lt_cv_prog_compiler_c_o=yes |
| 12068 | fi |
| 12069 | fi |
| 12070 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 12071 | $RM conftest* |
| 12072 | # SGI C++ compiler will create directory out/ii_files/ for |
| 12073 | # template instantiation |
| 12074 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 12075 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 12076 | cd .. |
| 12077 | $RM -r conftest |
| 12078 | $RM conftest* |
| 12079 | ;; |
| 12080 | esac |
| 12081 | fi |
| 12082 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 12083 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 12084 | |
| 12085 | |
| 12086 | |
| 12087 | |
| 12088 | hard_links=nottested |
| 12089 | if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o" && testscip-shell system . . test. no != "$need_locks"; then |
| 12090 | # do not overwrite the value of need_locks provided by the user |
| 12091 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 12092 | printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; } |
| 12093 | hard_links=yes |
| 12094 | $RM conftest* |
| 12095 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 12096 | touchscip-shell system . . touch. conftest.a |
| 12097 | lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no |
| 12098 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 12099 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 12100 | printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; } |
| 12101 | if testscip-shell system . . test. no = "$hard_links"; then |
| 12102 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 12103 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 12104 | need_locks=warn |
| 12105 | fi |
| 12106 | else |
| 12107 | need_locks=no |
| 12108 | fi |
| 12109 | |
| 12110 | |
| 12111 | |
| 12112 | |
| 12113 | |
| 12114 | |
| 12115 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 12116 | printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 12117 | |
| 12118 | runpath_var= |
| 12119 | allow_undefined_flag= |
| 12120 | always_export_symbols=no |
| 12121 | archive_cmds= |
| 12122 | archive_expsym_cmds= |
| 12123 | compiler_needs_object=no |
| 12124 | enable_shared_with_static_runtimes=no |
| 12125 | export_dynamic_flag_spec= |
| 12126 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 12127 | hardcode_automatic=no |
| 12128 | hardcode_direct=no |
| 12129 | hardcode_direct_absolute=no |
| 12130 | hardcode_libdir_flag_spec= |
| 12131 | hardcode_libdir_separator= |
| 12132 | hardcode_minus_L=no |
| 12133 | hardcode_shlibpath_var=unsupported |
| 12134 | inherit_rpath=no |
| 12135 | link_all_deplibs=unknown |
| 12136 | module_cmds= |
| 12137 | module_expsym_cmds= |
| 12138 | old_archive_from_new_cmds= |
| 12139 | old_archive_from_expsyms_cmds= |
| 12140 | thread_safe_flag_spec= |
| 12141 | whole_archive_flag_spec= |
| 12142 | # include_expsyms should be a list of space-separated symbols to be *always* |
| 12143 | # included in the symbol list |
| 12144 | include_expsyms= |
| 12145 | # exclude_expsyms can be an extended regexp of symbols to exclude |
| 12146 | # it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 12147 | # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 12148 | # as well as any symbol that contains 'd'. |
| 12149 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 12150 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 12151 | # platforms (ab)use it in PIC code, but their linkers get confused if |
| 12152 | # the symbol is explicitly referenced. Since portable code cannot |
| 12153 | # rely on this symbol name, it's probably fine to never include it in |
| 12154 | # preloaded symbol tables. |
| 12155 | # Exclude shared library initialization/finalization symbols. |
| 12156 | extract_expsyms_cmds= |
| 12157 | |
| 12158 | case $host_os in |
| 12159 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 12160 | # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 12161 | # When not using gcc, we currently assume that we are using |
| 12162 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 12163 | if testscip-shell system . . test. yes != "$GCC"; then |
| 12164 | with_gnu_ld=no |
| 12165 | fi |
| 12166 | ;; |
| 12167 | interix*) |
| 12168 | # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 12169 | with_gnu_ld=yes |
| 12170 | ;; |
| 12171 | linux* | k*bsd*-gnu | gnu*) |
| 12172 | link_all_deplibs=no |
| 12173 | ;; |
| 12174 | esac |
| 12175 | |
| 12176 | ld_shlibs=yes |
| 12177 | |
| 12178 | # On some targets, GNU ld is compatible enough with the native linker |
| 12179 | # that we're better off using the native interface for both. |
| 12180 | lt_use_gnu_ld_interface=no |
| 12181 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 12182 | case $host_os in |
| 12183 | aix*) |
| 12184 | # The AIX port of GNU ld has always aspired to compatibility |
| 12185 | # with the native linker. However, as the warning in the GNU ld |
| 12186 | # block says, versions before 2.19.5* couldn't really create working |
| 12187 | # shared libraries, regardless of the interface used. |
| 12188 | case `$LD -v 2>&1` in |
| 12189 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 12190 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 12191 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 12192 | *) |
| 12193 | lt_use_gnu_ld_interface=yes |
| 12194 | ;; |
| 12195 | esac |
| 12196 | ;; |
| 12197 | *) |
| 12198 | lt_use_gnu_ld_interface=yes |
| 12199 | ;; |
| 12200 | esac |
| 12201 | fi |
| 12202 | |
| 12203 | if testscip-shell system . . test. yes = "$lt_use_gnu_ld_interface"; then |
| 12204 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 12205 | wlarc='$wl' |
| 12206 | |
| 12207 | # Set some defaults for GNU ld with shared library support. These |
| 12208 | # are reset later if shared libraries are not supported. Putting them |
| 12209 | # here allows them to be overridden if necessary. |
| 12210 | runpath_var=LD_RUN_PATH |
| 12211 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12212 | export_dynamic_flag_spec='$wl--export-dynamic' |
| 12213 | # ancient GNU ld didn't support --whole-archive et. al. |
| 12214 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12215 | whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 12216 | else |
| 12217 | whole_archive_flag_spec= |
| 12218 | fi |
| 12219 | supports_anon_versioning=no |
| 12220 | case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 12221 | *GNU\ gold*) supports_anon_versioning=yes ;; |
| 12222 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 12223 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 12224 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 12225 | *\ 2.11.*) ;; # other 2.11 versions |
| 12226 | *) supports_anon_versioning=yes ;; |
| 12227 | esac |
| 12228 | |
| 12229 | # See if GNU ld supports shared libraries. |
| 12230 | case $host_os in |
| 12231 | aix[3-9]*) |
| 12232 | # On AIX/PPC, the GNU linker is very broken |
| 12233 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 12234 | ld_shlibs=no |
| 12235 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12236 | |
| 12237 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 12238 | *** to be unable to reliably create shared libraries on AIX. |
| 12239 | *** Therefore, libtool is disabling shared libraries support. If you |
| 12240 | *** really care for shared libraries, you may want to install binutils |
| 12241 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 12242 | *** You will then need to restart the configuration process. |
| 12243 | |
| 12244 | _LT_EOF |
| 12245 | fi |
| 12246 | ;; |
| 12247 | |
| 12248 | amigaos*) |
| 12249 | case $host_cpu in |
| 12250 | powerpc) |
| 12251 | # see comment about AmigaOS4 .so support |
| 12252 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12253 | archive_expsym_cmds='' |
| 12254 | ;; |
| 12255 | m68k) |
| 12256 | 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)' |
| 12257 | hardcode_libdir_flag_spec='-L$libdir' |
| 12258 | hardcode_minus_L=yes |
| 12259 | ;; |
| 12260 | esac |
| 12261 | ;; |
| 12262 | |
| 12263 | beos*) |
| 12264 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12265 | allow_undefined_flag=unsupported |
| 12266 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 12267 | # support --undefined. This deserves some investigation. FIXME |
| 12268 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12269 | else |
| 12270 | ld_shlibs=no |
| 12271 | fi |
| 12272 | ;; |
| 12273 | |
| 12274 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 12275 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 12276 | # as there is no search path for DLLs. |
| 12277 | hardcode_libdir_flag_spec='-L$libdir' |
| 12278 | export_dynamic_flag_spec='$wl--export-all-symbols' |
| 12279 | allow_undefined_flag=unsupported |
| 12280 | always_export_symbols=no |
| 12281 | enable_shared_with_static_runtimes=yes |
| 12282 | 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' |
| 12283 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 12284 | file_list_spec='@' |
| 12285 | |
| 12286 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12287 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 12288 | # If the export-symbols file already is a .def file, use it as |
| 12289 | # is; otherwise, prepend EXPORTS... |
| 12290 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 12291 | cp $export_symbols $output_objdir/$soname.def; |
| 12292 | else |
| 12293 | echo EXPORTS > $output_objdir/$soname.def; |
| 12294 | cat $export_symbols >> $output_objdir/$soname.def; |
| 12295 | fi~ |
| 12296 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 12297 | else |
| 12298 | ld_shlibs=no |
| 12299 | fi |
| 12300 | ;; |
| 12301 | |
| 12302 | haiku*) |
| 12303 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12304 | link_all_deplibs=no |
| 12305 | ;; |
| 12306 | |
| 12307 | os2*) |
| 12308 | hardcode_libdir_flag_spec='-L$libdir' |
| 12309 | hardcode_minus_L=yes |
| 12310 | allow_undefined_flag=unsupported |
| 12311 | shrext_cmds=.dll |
| 12312 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 12313 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 12314 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 12315 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 12316 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 12317 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 12318 | emximp -o $lib $output_objdir/$libname.def' |
| 12319 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 12320 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 12321 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 12322 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 12323 | prefix_cmds="$SED"~ |
| 12324 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 12325 | prefix_cmds="$prefix_cmds -e 1d"; |
| 12326 | fi~ |
| 12327 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 12328 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 12329 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 12330 | emximp -o $lib $output_objdir/$libname.def' |
| 12331 | old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 12332 | enable_shared_with_static_runtimes=yes |
| 12333 | file_list_spec='@' |
| 12334 | ;; |
| 12335 | |
| 12336 | interix[3-9]*) |
| 12337 | hardcode_direct=no |
| 12338 | hardcode_shlibpath_var=no |
| 12339 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 12340 | export_dynamic_flag_spec='$wl-E' |
| 12341 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 12342 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 12343 | # default) and relocated if they conflict, which is a slow very memory |
| 12344 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 12345 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 12346 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 12347 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 12348 | 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' |
| 12349 | ;; |
| 12350 | |
| 12351 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 12352 | tmp_diet=no |
| 12353 | if testscip-shell system . . test. linux-dietlibc = "$host_os"; then |
| 12354 | case $cc_basename in |
| 12355 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 12356 | esac |
| 12357 | fi |
| 12358 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 12359 | && testscip-shell system . . test. no = "$tmp_diet" |
| 12360 | then |
| 12361 | tmp_addflag=' $pic_flag' |
| 12362 | tmp_sharedflag='-shared' |
| 12363 | case $cc_basename,$host_cpu in |
| 12364 | pgcc*) # Portland Group C compiler |
| 12365 | 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' |
| 12366 | tmp_addflag=' $pic_flag' |
| 12367 | ;; |
| 12368 | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 12369 | # Portland Group f77 and f90 compilers |
| 12370 | 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' |
| 12371 | tmp_addflag=' $pic_flag -Mnomain' ;; |
| 12372 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 12373 | tmp_addflag=' -i_dynamic' ;; |
| 12374 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 12375 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 12376 | ifc* | ifort*) # Intel Fortran compiler |
| 12377 | tmp_addflag=' -nofor_main' ;; |
| 12378 | lf95*) # Lahey Fortran 8.1 |
| 12379 | whole_archive_flag_spec= |
| 12380 | tmp_sharedflag='--shared' ;; |
| 12381 | nagfor*) # NAGFOR 5.3 |
| 12382 | tmp_sharedflag='-Wl,-shared' ;; |
| 12383 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 12384 | tmp_sharedflag='-qmkshrobj' |
| 12385 | tmp_addflag= ;; |
| 12386 | nvcc*) # Cuda Compiler Driver 2.2 |
| 12387 | 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' |
| 12388 | compiler_needs_object=yes |
| 12389 | ;; |
| 12390 | esac |
| 12391 | case `$CC -V 2>&1 | $SED 5q` in |
| 12392 | *Sun\ C*) # Sun C 5.9 |
| 12393 | 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' |
| 12394 | compiler_needs_object=yes |
| 12395 | tmp_sharedflag='-G' ;; |
| 12396 | *Sun\ F*) # Sun Fortran 8.3 |
| 12397 | tmp_sharedflag='-G' ;; |
| 12398 | esac |
| 12399 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12400 | |
| 12401 | if testscip-shell system . . test. yes = "$supports_anon_versioning"; then |
| 12402 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 12403 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 12404 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 12405 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 12406 | fi |
| 12407 | |
| 12408 | case $cc_basename in |
| 12409 | tcc*) |
| 12410 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12411 | export_dynamic_flag_spec='-rdynamic' |
| 12412 | ;; |
| 12413 | xlf* | bgf* | bgxlf* | mpixlf*) |
| 12414 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 12415 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 12416 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12417 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 12418 | if testscip-shell system . . test. yes = "$supports_anon_versioning"; then |
| 12419 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 12420 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 12421 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 12422 | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 12423 | fi |
| 12424 | ;; |
| 12425 | esac |
| 12426 | else |
| 12427 | ld_shlibs=no |
| 12428 | fi |
| 12429 | ;; |
| 12430 | |
| 12431 | *-mlibc) |
| 12432 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12433 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12434 | ;; |
| 12435 | |
| 12436 | netbsd* | netbsdelf*-gnu) |
| 12437 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12438 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 12439 | wlarc= |
| 12440 | else |
| 12441 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12442 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12443 | fi |
| 12444 | ;; |
| 12445 | |
| 12446 | solaris*) |
| 12447 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12448 | ld_shlibs=no |
| 12449 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12450 | |
| 12451 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 12452 | *** create shared libraries on Solaris systems. Therefore, libtool |
| 12453 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 12454 | *** binutils to release 2.9.1 or newer. Another option is to modify |
| 12455 | *** your PATH or compiler configuration so that the native linker is |
| 12456 | *** used, and then restart. |
| 12457 | |
| 12458 | _LT_EOF |
| 12459 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12460 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12461 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12462 | else |
| 12463 | ld_shlibs=no |
| 12464 | fi |
| 12465 | ;; |
| 12466 | |
| 12467 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 12468 | case `$LD -v 2>&1` in |
| 12469 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 12470 | ld_shlibs=no |
| 12471 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12472 | |
| 12473 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 12474 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 12475 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 12476 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 12477 | *** your PATH or compiler configuration so that the native linker is |
| 12478 | *** used, and then restart. |
| 12479 | |
| 12480 | _LT_EOF |
| 12481 | ;; |
| 12482 | *) |
| 12483 | # For security reasons, it is highly recommended that you always |
| 12484 | # use absolute paths for naming shared libraries, and exclude the |
| 12485 | # DT_RUNPATH tag from executables and libraries. But doing so |
| 12486 | # requires that you compile everything twice, which is a pain. |
| 12487 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12488 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12489 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12490 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12491 | else |
| 12492 | ld_shlibs=no |
| 12493 | fi |
| 12494 | ;; |
| 12495 | esac |
| 12496 | ;; |
| 12497 | |
| 12498 | sunos4*) |
| 12499 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 12500 | wlarc= |
| 12501 | hardcode_direct=yes |
| 12502 | hardcode_shlibpath_var=no |
| 12503 | ;; |
| 12504 | |
| 12505 | *) |
| 12506 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12507 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12508 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12509 | else |
| 12510 | ld_shlibs=no |
| 12511 | fi |
| 12512 | ;; |
| 12513 | esac |
| 12514 | |
| 12515 | if testscip-shell system . . test. no = "$ld_shlibs"; then |
| 12516 | runpath_var= |
| 12517 | hardcode_libdir_flag_spec= |
| 12518 | export_dynamic_flag_spec= |
| 12519 | whole_archive_flag_spec= |
| 12520 | fi |
| 12521 | else |
| 12522 | # PORTME fill in a description of your system's linker (not GNU ld) |
| 12523 | case $host_os in |
| 12524 | aix3*) |
| 12525 | allow_undefined_flag=unsupported |
| 12526 | always_export_symbols=yes |
| 12527 | 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' |
| 12528 | # Note: this linker hardcodes the directories in LIBPATH if there |
| 12529 | # are no directories specified by -L. |
| 12530 | hardcode_minus_L=yes |
| 12531 | if testscip-shell system . . test. yes = "$GCC" && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then |
| 12532 | # Neither direct hardcoding nor static linking is supported with a |
| 12533 | # broken collect2. |
| 12534 | hardcode_direct=unsupported |
| 12535 | fi |
| 12536 | ;; |
| 12537 | |
| 12538 | aix[4-9]*) |
| 12539 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12540 | # On IA64, the linker does run time linking by default, so we don't |
| 12541 | # have to do anything special. |
| 12542 | aix_use_runtimelinking=no |
| 12543 | exp_sym_flag='-Bexport' |
| 12544 | no_entry_flag= |
| 12545 | else |
| 12546 | # If we're using GNU nm, then we don't want the "-C" option. |
| 12547 | # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 12548 | # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 12549 | # weak defined symbols like other global defined symbols, whereas |
| 12550 | # GNU nm marks them as "W". |
| 12551 | # While the 'weak' keyword is ignored in the Export File, we need |
| 12552 | # it in the Import File for the 'aix-soname' feature, so we have |
| 12553 | # to replace the "-B" option with "-P" for AIX nm. |
| 12554 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12555 | 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' |
| 12556 | else |
| 12557 | 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' |
| 12558 | fi |
| 12559 | aix_use_runtimelinking=no |
| 12560 | |
| 12561 | # Test if we are trying to use run time linking or normal |
| 12562 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 12563 | # have runtime linking enabled, and use it for executables. |
| 12564 | # For shared libraries, we enable/disable runtime linking |
| 12565 | # depending on the kind of the shared library created - |
| 12566 | # when "with_aix_soname,aix_use_runtimelinking" is: |
| 12567 | # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 12568 | # "aix,yes" lib.so shared, rtl:yes, for executables |
| 12569 | # lib.a static archive |
| 12570 | # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 12571 | # lib.a(lib.so.V) shared, rtl:no, for executables |
| 12572 | # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 12573 | # lib.a(lib.so.V) shared, rtl:no |
| 12574 | # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 12575 | # lib.a static archive |
| 12576 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 12577 | for ld_flag in $LDFLAGS; do |
| 12578 | if (testscip-shell system . . test. x-brtl = "x$ld_flag" || testscip-shell system . . test. x-Wl,-brtl = "x$ld_flag"); then |
| 12579 | aix_use_runtimelinking=yes |
| 12580 | break |
| 12581 | fi |
| 12582 | done |
| 12583 | if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 12584 | # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 12585 | # so we don't have lib.a shared libs to link our executables. |
| 12586 | # We have to force runtime linking in this case. |
| 12587 | aix_use_runtimelinking=yes |
| 12588 | LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 12589 | fi |
| 12590 | ;; |
| 12591 | esac |
| 12592 | |
| 12593 | exp_sym_flag='-bexport' |
| 12594 | no_entry_flag='-bnoentry' |
| 12595 | fi |
| 12596 | |
| 12597 | # When large executables or shared objects are built, AIX ld can |
| 12598 | # have problems creating the table of contents. If linking a library |
| 12599 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 12600 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 12601 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 12602 | |
| 12603 | archive_cmds='' |
| 12604 | hardcode_direct=yes |
| 12605 | hardcode_direct_absolute=yes |
| 12606 | hardcode_libdir_separator=':' |
| 12607 | link_all_deplibs=yes |
| 12608 | file_list_spec='$wl-f,' |
| 12609 | case $with_aix_soname,$aix_use_runtimelinking in |
| 12610 | aix,*) ;; # traditional, no import file |
| 12611 | svr4,* | *,yes) # use import file |
| 12612 | # The Import File defines what to hardcode. |
| 12613 | hardcode_direct=no |
| 12614 | hardcode_direct_absolute=no |
| 12615 | ;; |
| 12616 | esac |
| 12617 | |
| 12618 | if testscip-shell system . . test. yes = "$GCC"; then |
| 12619 | case $host_os in aix4.[012]|aix4.[012].*) |
| 12620 | # We only want to do this on AIX 4.2 and lower, the check |
| 12621 | # below for broken collect2 doesn't work under 4.3+ |
| 12622 | collect2name=`$CC -print-prog-name=collect2` |
| 12623 | if testscip-shell system . . test. -f "$collect2name" && |
| 12624 | stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12625 | then |
| 12626 | # We have reworked collect2 |
| 12627 | : |
| 12628 | else |
| 12629 | # We have old collect2 |
| 12630 | hardcode_direct=unsupported |
| 12631 | # It fails to find uninstalled libraries when the uninstalled |
| 12632 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 12633 | # to unsupported forces relinking |
| 12634 | hardcode_minus_L=yes |
| 12635 | hardcode_libdir_flag_spec='-L$libdir' |
| 12636 | hardcode_libdir_separator= |
| 12637 | fi |
| 12638 | ;; |
| 12639 | esac |
| 12640 | shared_flag='-shared' |
| 12641 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 12642 | shared_flag="$shared_flag "'$wl-G' |
| 12643 | fi |
| 12644 | # Need to ensure runtime linking is disabled for the traditional |
| 12645 | # shared library, or the linker may eventually find shared libraries |
| 12646 | # /with/ Import File - we do not want to mix them. |
| 12647 | shared_flag_aix='-shared' |
| 12648 | shared_flag_svr4='-shared $wl-G' |
| 12649 | else |
| 12650 | # not using gcc |
| 12651 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12652 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 12653 | # chokes on -Wl,-G. The following line is correct: |
| 12654 | shared_flag='-G' |
| 12655 | else |
| 12656 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 12657 | shared_flag='$wl-G' |
| 12658 | else |
| 12659 | shared_flag='$wl-bM:SRE' |
| 12660 | fi |
| 12661 | shared_flag_aix='$wl-bM:SRE' |
| 12662 | shared_flag_svr4='$wl-G' |
| 12663 | fi |
| 12664 | fi |
| 12665 | |
| 12666 | export_dynamic_flag_spec='$wl-bexpall' |
| 12667 | # It seems that -bexpall does not export symbols beginning with |
| 12668 | # underscore (_), so it is better to generate a list of symbols to export. |
| 12669 | always_export_symbols=yes |
| 12670 | if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 12671 | # Warning - without using the other runtime loading flags (-brtl), |
| 12672 | # -berok will link without error, but may produce a broken library. |
| 12673 | allow_undefined_flag='-berok' |
| 12674 | # Determine the default libpath from the value encoded in an |
| 12675 | # empty executable. |
| 12676 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 12677 | aix_libpath=$lt_cv_aix_libpath |
| 12678 | else |
| 12679 | if testscip-shell system . . test. ${lt_cv_aix_libpath_+y} |
| 12680 | then : |
| 12681 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12682 | else case e in #( |
| 12683 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12684 | /* end confdefs.h. */ |
| 12685 | |
| 12686 | int |
| 12687 | main (void) |
| 12688 | { |
| 12689 | |
| 12690 | ; |
| 12691 | return 0; |
| 12692 | } |
| 12693 | _ACEOF |
| 12694 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 12695 | then : |
| 12696 | |
| 12697 | lt_aix_libpath_sed=' |
| 12698 | /Import File Strings/,/^$/ { |
| 12699 | /^0/ { |
| 12700 | s/^0 *\([^ ]*\) *$/\1/ |
| 12701 | p |
| 12702 | } |
| 12703 | }' |
| 12704 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12705 | # Check for a 64-bit object if we didn't find anything. |
| 12706 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12707 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12708 | fi |
| 12709 | fi |
| 12710 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12711 | conftest$ac_exeext conftest.$ac_ext |
| 12712 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12713 | lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 12714 | fi |
| 12715 | ;; |
| 12716 | esac |
| 12717 | fi |
| 12718 | |
| 12719 | aix_libpath=$lt_cv_aix_libpath_ |
| 12720 | fi |
| 12721 | |
| 12722 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 12723 | 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 |
| 12724 | else |
| 12725 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12726 | hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
| 12727 | allow_undefined_flag="-z nodefs" |
| 12728 | 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" |
| 12729 | else |
| 12730 | # Determine the default libpath from the value encoded in an |
| 12731 | # empty executable. |
| 12732 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 12733 | aix_libpath=$lt_cv_aix_libpath |
| 12734 | else |
| 12735 | if testscip-shell system . . test. ${lt_cv_aix_libpath_+y} |
| 12736 | then : |
| 12737 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12738 | else case e in #( |
| 12739 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12740 | /* end confdefs.h. */ |
| 12741 | |
| 12742 | int |
| 12743 | main (void) |
| 12744 | { |
| 12745 | |
| 12746 | ; |
| 12747 | return 0; |
| 12748 | } |
| 12749 | _ACEOF |
| 12750 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 12751 | then : |
| 12752 | |
| 12753 | lt_aix_libpath_sed=' |
| 12754 | /Import File Strings/,/^$/ { |
| 12755 | /^0/ { |
| 12756 | s/^0 *\([^ ]*\) *$/\1/ |
| 12757 | p |
| 12758 | } |
| 12759 | }' |
| 12760 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12761 | # Check for a 64-bit object if we didn't find anything. |
| 12762 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12763 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12764 | fi |
| 12765 | fi |
| 12766 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12767 | conftest$ac_exeext conftest.$ac_ext |
| 12768 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12769 | lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 12770 | fi |
| 12771 | ;; |
| 12772 | esac |
| 12773 | fi |
| 12774 | |
| 12775 | aix_libpath=$lt_cv_aix_libpath_ |
| 12776 | fi |
| 12777 | |
| 12778 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 12779 | # Warning - without using the other run time loading flags, |
| 12780 | # -berok will link without error, but may produce a broken library. |
| 12781 | no_undefined_flag=' $wl-bernotok' |
| 12782 | allow_undefined_flag=' $wl-berok' |
| 12783 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 12784 | # We only use this code for GNU lds that support --whole-archive. |
| 12785 | whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 12786 | else |
| 12787 | # Exported symbols can be pulled into shared objects from archives |
| 12788 | whole_archive_flag_spec='$convenience' |
| 12789 | fi |
| 12790 | archive_cmds_need_lc=yes |
| 12791 | archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 12792 | # -brtl affects multiple linker settings, -berok does not and is overridden later |
| 12793 | compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 12794 | if testscip-shell system . . test. svr4 != "$with_aix_soname"; then |
| 12795 | # This is similar to how AIX traditionally builds its shared libraries. |
| 12796 | 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' |
| 12797 | fi |
| 12798 | if testscip-shell system . . test. aix != "$with_aix_soname"; then |
| 12799 | 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' |
| 12800 | else |
| 12801 | # used by -dlpreopen to get the symbols |
| 12802 | archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 12803 | fi |
| 12804 | archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
| 12805 | fi |
| 12806 | fi |
| 12807 | ;; |
| 12808 | |
| 12809 | amigaos*) |
| 12810 | case $host_cpu in |
| 12811 | powerpc) |
| 12812 | # see comment about AmigaOS4 .so support |
| 12813 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12814 | archive_expsym_cmds='' |
| 12815 | ;; |
| 12816 | m68k) |
| 12817 | 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)' |
| 12818 | hardcode_libdir_flag_spec='-L$libdir' |
| 12819 | hardcode_minus_L=yes |
| 12820 | ;; |
| 12821 | esac |
| 12822 | ;; |
| 12823 | |
| 12824 | bsdi[45]*) |
| 12825 | export_dynamic_flag_spec=-rdynamic |
| 12826 | ;; |
| 12827 | |
| 12828 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 12829 | # When not using gcc, we currently assume that we are using |
| 12830 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 12831 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 12832 | # no search path for DLLs. |
| 12833 | case $cc_basename in |
| 12834 | cl* | icl*) |
| 12835 | # Native MSVC or ICC |
| 12836 | hardcode_libdir_flag_spec=' ' |
| 12837 | allow_undefined_flag=unsupported |
| 12838 | always_export_symbols=yes |
| 12839 | file_list_spec='@' |
| 12840 | # Tell ltmain to make .lib files, not .a files. |
| 12841 | libext=lib |
| 12842 | # Tell ltmain to make .dll files, not .so files. |
| 12843 | shrext_cmds=.dll |
| 12844 | # FIXME: Setting linknames here is a bad hack. |
| 12845 | archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 12846 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 12847 | cp "$export_symbols" "$output_objdir/$soname.def"; |
| 12848 | echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 12849 | else |
| 12850 | $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 12851 | fi~ |
| 12852 | $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 12853 | linknames=' |
| 12854 | # The linker will not automatically build a static lib if we build a DLL. |
| 12855 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 12856 | enable_shared_with_static_runtimes=yes |
| 12857 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 12858 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 12859 | # Don't use ranlib |
| 12860 | old_postinstall_cmds='chmod 644 $oldlib' |
| 12861 | postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 12862 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 12863 | case $lt_outputfile in |
| 12864 | *.exe|*.EXE) ;; |
| 12865 | *) |
| 12866 | lt_outputfile=$lt_outputfile.exe |
| 12867 | lt_tool_outputfile=$lt_tool_outputfile.exe |
| 12868 | ;; |
| 12869 | esac~ |
| 12870 | if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 12871 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 12872 | $RM "$lt_outputfile.manifest"; |
| 12873 | fi' |
| 12874 | ;; |
| 12875 | *) |
| 12876 | # Assume MSVC and ICC wrapper |
| 12877 | hardcode_libdir_flag_spec=' ' |
| 12878 | allow_undefined_flag=unsupported |
| 12879 | # Tell ltmain to make .lib files, not .a files. |
| 12880 | libext=lib |
| 12881 | # Tell ltmain to make .dll files, not .so files. |
| 12882 | shrext_cmds=.dll |
| 12883 | # FIXME: Setting linknames here is a bad hack. |
| 12884 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 12885 | # The linker will automatically build a .lib file if we build a DLL. |
| 12886 | old_archive_from_new_cmds='true' |
| 12887 | # FIXME: Should let the user specify the lib program. |
| 12888 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 12889 | enable_shared_with_static_runtimes=yes |
| 12890 | ;; |
| 12891 | esac |
| 12892 | ;; |
| 12893 | |
| 12894 | darwin* | rhapsody*) |
| 12895 | |
| 12896 | |
| 12897 | archive_cmds_need_lc=no |
| 12898 | hardcode_direct=no |
| 12899 | hardcode_automatic=yes |
| 12900 | hardcode_shlibpath_var=unsupported |
| 12901 | if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then |
| 12902 | 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\"`' |
| 12903 | |
| 12904 | else |
| 12905 | whole_archive_flag_spec='' |
| 12906 | fi |
| 12907 | link_all_deplibs=yes |
| 12908 | allow_undefined_flag=$_lt_dar_allow_undefined |
| 12909 | case $cc_basename in |
| 12910 | ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 12911 | *) _lt_dar_can_shared=$GCC ;; |
| 12912 | esac |
| 12913 | if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then |
| 12914 | output_verbose_link_cmd=func_echo_all |
| 12915 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 12916 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 12917 | 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" |
| 12918 | 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" |
| 12919 | |
| 12920 | else |
| 12921 | ld_shlibs=no |
| 12922 | fi |
| 12923 | |
| 12924 | ;; |
| 12925 | |
| 12926 | dgux*) |
| 12927 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 12928 | hardcode_libdir_flag_spec='-L$libdir' |
| 12929 | hardcode_shlibpath_var=no |
| 12930 | ;; |
| 12931 | |
| 12932 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 12933 | # support. Future versions do this automatically, but an explicit c++rt0.o |
| 12934 | # does not break anything, and helps significantly (at the cost of a little |
| 12935 | # extra space). |
| 12936 | freebsd2.2*) |
| 12937 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 12938 | hardcode_libdir_flag_spec='-R$libdir' |
| 12939 | hardcode_direct=yes |
| 12940 | hardcode_shlibpath_var=no |
| 12941 | ;; |
| 12942 | |
| 12943 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 12944 | freebsd2.*) |
| 12945 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 12946 | hardcode_direct=yes |
| 12947 | hardcode_minus_L=yes |
| 12948 | hardcode_shlibpath_var=no |
| 12949 | ;; |
| 12950 | |
| 12951 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 12952 | freebsd* | dragonfly* | midnightbsd*) |
| 12953 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 12954 | hardcode_libdir_flag_spec='-R$libdir' |
| 12955 | hardcode_direct=yes |
| 12956 | hardcode_shlibpath_var=no |
| 12957 | ;; |
| 12958 | |
| 12959 | hpux9*) |
| 12960 | if testscip-shell system . . test. yes = "$GCC"; then |
| 12961 | 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' |
| 12962 | else |
| 12963 | 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' |
| 12964 | fi |
| 12965 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 12966 | hardcode_libdir_separator=: |
| 12967 | hardcode_direct=yes |
| 12968 | |
| 12969 | # hardcode_minus_L: Not really in the search PATH, |
| 12970 | # but as the default location of the library. |
| 12971 | hardcode_minus_L=yes |
| 12972 | export_dynamic_flag_spec='$wl-E' |
| 12973 | ;; |
| 12974 | |
| 12975 | hpux10*) |
| 12976 | if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then |
| 12977 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 12978 | else |
| 12979 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 12980 | fi |
| 12981 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 12982 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 12983 | hardcode_libdir_separator=: |
| 12984 | hardcode_direct=yes |
| 12985 | hardcode_direct_absolute=yes |
| 12986 | export_dynamic_flag_spec='$wl-E' |
| 12987 | # hardcode_minus_L: Not really in the search PATH, |
| 12988 | # but as the default location of the library. |
| 12989 | hardcode_minus_L=yes |
| 12990 | fi |
| 12991 | ;; |
| 12992 | |
| 12993 | hpux11*) |
| 12994 | if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then |
| 12995 | case $host_cpu in |
| 12996 | hppa*64*) |
| 12997 | archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 12998 | ;; |
| 12999 | ia64*) |
| 13000 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 13001 | ;; |
| 13002 | *) |
| 13003 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 13004 | ;; |
| 13005 | esac |
| 13006 | else |
| 13007 | case $host_cpu in |
| 13008 | hppa*64*) |
| 13009 | archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13010 | ;; |
| 13011 | ia64*) |
| 13012 | archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 13013 | ;; |
| 13014 | *) |
| 13015 | |
| 13016 | # Older versions of the 11.00 compiler do not understand -b yet |
| 13017 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 13018 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 13019 | printfscip-shell system . . printf. %s "checking if $CC understands -b... " >&6; } |
| 13020 | if testscip-shell system . . test. ${lt_cv_prog_compiler__b+y} |
| 13021 | then : |
| 13022 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13023 | else case e in #( |
| 13024 | e) lt_cv_prog_compiler__b=no |
| 13025 | save_LDFLAGS=$LDFLAGS |
| 13026 | LDFLAGS="$LDFLAGS -b" |
| 13027 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 13028 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 13029 | # The linker can only warn and ignore the option if not recognized |
| 13030 | # So say no if there are warnings |
| 13031 | if testscip-shell system . . test. -s conftest.err; then |
| 13032 | # Append any errors to the config.log. |
| 13033 | catscip-shell system . . cat. conftest.err 1>&5 |
| 13034 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 13035 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 13036 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13037 | lt_cv_prog_compiler__b=yes |
| 13038 | fi |
| 13039 | else |
| 13040 | lt_cv_prog_compiler__b=yes |
| 13041 | fi |
| 13042 | fi |
| 13043 | $RM -r conftest* |
| 13044 | LDFLAGS=$save_LDFLAGS |
| 13045 | ;; |
| 13046 | esac |
| 13047 | fi |
| 13048 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 13049 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 13050 | |
| 13051 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler__b"; then |
| 13052 | archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 13053 | else |
| 13054 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 13055 | fi |
| 13056 | |
| 13057 | ;; |
| 13058 | esac |
| 13059 | fi |
| 13060 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 13061 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 13062 | hardcode_libdir_separator=: |
| 13063 | |
| 13064 | case $host_cpu in |
| 13065 | hppa*64*|ia64*) |
| 13066 | hardcode_direct=no |
| 13067 | hardcode_shlibpath_var=no |
| 13068 | ;; |
| 13069 | *) |
| 13070 | hardcode_direct=yes |
| 13071 | hardcode_direct_absolute=yes |
| 13072 | export_dynamic_flag_spec='$wl-E' |
| 13073 | |
| 13074 | # hardcode_minus_L: Not really in the search PATH, |
| 13075 | # but as the default location of the library. |
| 13076 | hardcode_minus_L=yes |
| 13077 | ;; |
| 13078 | esac |
| 13079 | fi |
| 13080 | ;; |
| 13081 | |
| 13082 | irix5* | irix6* | nonstopux*) |
| 13083 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13084 | 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' |
| 13085 | # Try to use the -exported_symbol ld option, if it does not |
| 13086 | # work, assume that -exports_file does not work either and |
| 13087 | # implicitly export all symbols. |
| 13088 | # This should be the same for all languages, so no per-tag cache variable. |
| 13089 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 13090 | printfscip-shell system . . printf. %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 13091 | if testscip-shell system . . test. ${lt_cv_irix_exported_symbol+y} |
| 13092 | then : |
| 13093 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13094 | else case e in #( |
| 13095 | e) save_LDFLAGS=$LDFLAGS |
| 13096 | LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 13097 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13098 | /* end confdefs.h. */ |
| 13099 | int foo (void) { return 0; } |
| 13100 | _ACEOF |
| 13101 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 13102 | then : |
| 13103 | lt_cv_irix_exported_symbol=yes |
| 13104 | else case e in #( |
| 13105 | e) lt_cv_irix_exported_symbol=no ;; |
| 13106 | esac |
| 13107 | fi |
| 13108 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13109 | conftest$ac_exeext conftest.$ac_ext |
| 13110 | LDFLAGS=$save_LDFLAGS ;; |
| 13111 | esac |
| 13112 | fi |
| 13113 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 13114 | printfscip-shell system . . printf. "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 13115 | if testscip-shell system . . test. yes = "$lt_cv_irix_exported_symbol"; then |
| 13116 | 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' |
| 13117 | fi |
| 13118 | link_all_deplibs=no |
| 13119 | else |
| 13120 | 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' |
| 13121 | 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' |
| 13122 | fi |
| 13123 | archive_cmds_need_lc='no' |
| 13124 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13125 | hardcode_libdir_separator=: |
| 13126 | inherit_rpath=yes |
| 13127 | link_all_deplibs=yes |
| 13128 | ;; |
| 13129 | |
| 13130 | linux*) |
| 13131 | case $cc_basename in |
| 13132 | tcc*) |
| 13133 | # Fabrice Bellard et al's Tiny C Compiler |
| 13134 | ld_shlibs=yes |
| 13135 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13136 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13137 | ;; |
| 13138 | esac |
| 13139 | ;; |
| 13140 | |
| 13141 | *-mlibc) |
| 13142 | ;; |
| 13143 | |
| 13144 | netbsd* | netbsdelf*-gnu) |
| 13145 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13146 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 13147 | else |
| 13148 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 13149 | fi |
| 13150 | hardcode_libdir_flag_spec='-R$libdir' |
| 13151 | hardcode_direct=yes |
| 13152 | hardcode_shlibpath_var=no |
| 13153 | ;; |
| 13154 | |
| 13155 | newsos6) |
| 13156 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13157 | hardcode_direct=yes |
| 13158 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13159 | hardcode_libdir_separator=: |
| 13160 | hardcode_shlibpath_var=no |
| 13161 | ;; |
| 13162 | |
| 13163 | *nto* | *qnx*) |
| 13164 | ;; |
| 13165 | |
| 13166 | openbsd*) |
| 13167 | if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then |
| 13168 | hardcode_direct=yes |
| 13169 | hardcode_shlibpath_var=no |
| 13170 | hardcode_direct_absolute=yes |
| 13171 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 13172 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13173 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 13174 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 13175 | export_dynamic_flag_spec='$wl-E' |
| 13176 | else |
| 13177 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13178 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 13179 | fi |
| 13180 | else |
| 13181 | ld_shlibs=no |
| 13182 | fi |
| 13183 | ;; |
| 13184 | |
| 13185 | os2*) |
| 13186 | hardcode_libdir_flag_spec='-L$libdir' |
| 13187 | hardcode_minus_L=yes |
| 13188 | allow_undefined_flag=unsupported |
| 13189 | shrext_cmds=.dll |
| 13190 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 13191 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 13192 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 13193 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 13194 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 13195 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 13196 | emximp -o $lib $output_objdir/$libname.def' |
| 13197 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 13198 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 13199 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 13200 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 13201 | prefix_cmds="$SED"~ |
| 13202 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 13203 | prefix_cmds="$prefix_cmds -e 1d"; |
| 13204 | fi~ |
| 13205 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 13206 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 13207 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 13208 | emximp -o $lib $output_objdir/$libname.def' |
| 13209 | old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 13210 | enable_shared_with_static_runtimes=yes |
| 13211 | file_list_spec='@' |
| 13212 | ;; |
| 13213 | |
| 13214 | osf3*) |
| 13215 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13216 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 13217 | 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' |
| 13218 | else |
| 13219 | allow_undefined_flag=' -expect_unresolved \*' |
| 13220 | 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' |
| 13221 | fi |
| 13222 | archive_cmds_need_lc='no' |
| 13223 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13224 | hardcode_libdir_separator=: |
| 13225 | ;; |
| 13226 | |
| 13227 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 13228 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13229 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 13230 | 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' |
| 13231 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13232 | else |
| 13233 | allow_undefined_flag=' -expect_unresolved \*' |
| 13234 | 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' |
| 13235 | 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~ |
| 13236 | $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' |
| 13237 | |
| 13238 | # Both c and cxx compiler support -rpath directly |
| 13239 | hardcode_libdir_flag_spec='-rpath $libdir' |
| 13240 | fi |
| 13241 | archive_cmds_need_lc='no' |
| 13242 | hardcode_libdir_separator=: |
| 13243 | ;; |
| 13244 | |
| 13245 | serenity*) |
| 13246 | ;; |
| 13247 | |
| 13248 | solaris*) |
| 13249 | no_undefined_flag=' -z defs' |
| 13250 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13251 | wlarc='$wl' |
| 13252 | archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13253 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13254 | $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' |
| 13255 | else |
| 13256 | case `$CC -V 2>&1` in |
| 13257 | *"Compilers 5.0"*) |
| 13258 | wlarc='' |
| 13259 | archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13260 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13261 | $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 13262 | ;; |
| 13263 | *) |
| 13264 | wlarc='$wl' |
| 13265 | archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13266 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13267 | $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 13268 | ;; |
| 13269 | esac |
| 13270 | fi |
| 13271 | hardcode_libdir_flag_spec='-R$libdir' |
| 13272 | hardcode_shlibpath_var=no |
| 13273 | case $host_os in |
| 13274 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 13275 | *) |
| 13276 | # The compiler driver will combine and reorder linker options, |
| 13277 | # but understands '-z linker_flag'. GCC discards it without '$wl', |
| 13278 | # but is careful enough not to reorder. |
| 13279 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 13280 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13281 | whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 13282 | else |
| 13283 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 13284 | fi |
| 13285 | ;; |
| 13286 | esac |
| 13287 | link_all_deplibs=yes |
| 13288 | ;; |
| 13289 | |
| 13290 | sunos4*) |
| 13291 | if testscip-shell system . . test. sequent = "$host_vendor"; then |
| 13292 | # Use $CC to link under sequent, because it throws in some extra .o |
| 13293 | # files that make .init and .fini sections work. |
| 13294 | archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13295 | else |
| 13296 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 13297 | fi |
| 13298 | hardcode_libdir_flag_spec='-L$libdir' |
| 13299 | hardcode_direct=yes |
| 13300 | hardcode_minus_L=yes |
| 13301 | hardcode_shlibpath_var=no |
| 13302 | ;; |
| 13303 | |
| 13304 | sysv4) |
| 13305 | case $host_vendor in |
| 13306 | sni) |
| 13307 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13308 | hardcode_direct=yes # is this really true??? |
| 13309 | ;; |
| 13310 | siemens) |
| 13311 | ## LD is ld it makes a PLAMLIB |
| 13312 | ## CC just makes a GrossModule. |
| 13313 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 13314 | reload_cmds='$CC -r -o $output$reload_objs' |
| 13315 | hardcode_direct=no |
| 13316 | ;; |
| 13317 | motorola) |
| 13318 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13319 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
| 13320 | ;; |
| 13321 | esac |
| 13322 | runpath_var='LD_RUN_PATH' |
| 13323 | hardcode_shlibpath_var=no |
| 13324 | ;; |
| 13325 | |
| 13326 | sysv4.3*) |
| 13327 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13328 | hardcode_shlibpath_var=no |
| 13329 | export_dynamic_flag_spec='-Bexport' |
| 13330 | ;; |
| 13331 | |
| 13332 | sysv4*MP*) |
| 13333 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 13334 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13335 | hardcode_shlibpath_var=no |
| 13336 | runpath_var=LD_RUN_PATH |
| 13337 | hardcode_runpath_var=yes |
| 13338 | ld_shlibs=yes |
| 13339 | fi |
| 13340 | ;; |
| 13341 | |
| 13342 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 13343 | no_undefined_flag='$wl-z,text' |
| 13344 | archive_cmds_need_lc=no |
| 13345 | hardcode_shlibpath_var=no |
| 13346 | runpath_var='LD_RUN_PATH' |
| 13347 | |
| 13348 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13349 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13350 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13351 | else |
| 13352 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13353 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13354 | fi |
| 13355 | ;; |
| 13356 | |
| 13357 | sysv5* | sco3.2v5* | sco5v6*) |
| 13358 | # Note: We CANNOT use -z defs as we might desire, because we do not |
| 13359 | # link with -lc, and that would cause any symbols used from libc to |
| 13360 | # always be unresolved, which means just about no library would |
| 13361 | # ever link correctly. If we're not using GNU ld we use -z text |
| 13362 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 13363 | # as -z defs. |
| 13364 | no_undefined_flag='$wl-z,text' |
| 13365 | allow_undefined_flag='$wl-z,nodefs' |
| 13366 | archive_cmds_need_lc=no |
| 13367 | hardcode_shlibpath_var=no |
| 13368 | hardcode_libdir_flag_spec='$wl-R,$libdir' |
| 13369 | hardcode_libdir_separator=':' |
| 13370 | link_all_deplibs=yes |
| 13371 | export_dynamic_flag_spec='$wl-Bexport' |
| 13372 | runpath_var='LD_RUN_PATH' |
| 13373 | |
| 13374 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13375 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13376 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13377 | else |
| 13378 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13379 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13380 | fi |
| 13381 | ;; |
| 13382 | |
| 13383 | uts4*) |
| 13384 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13385 | hardcode_libdir_flag_spec='-L$libdir' |
| 13386 | hardcode_shlibpath_var=no |
| 13387 | ;; |
| 13388 | |
| 13389 | *) |
| 13390 | ld_shlibs=no |
| 13391 | ;; |
| 13392 | esac |
| 13393 | |
| 13394 | if testscip-shell system . . test. sni = "$host_vendor"; then |
| 13395 | case $host in |
| 13396 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 13397 | export_dynamic_flag_spec='$wl-Blargedynsym' |
| 13398 | ;; |
| 13399 | esac |
| 13400 | fi |
| 13401 | fi |
| 13402 | |
| 13403 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 13404 | printfscip-shell system . . printf. "%s\n" "$ld_shlibs" >&6; } |
| 13405 | testscip-shell system . . test. no = "$ld_shlibs" && can_build_shared=no |
| 13406 | |
| 13407 | with_gnu_ld=$with_gnu_ld |
| 13408 | |
| 13409 | |
| 13410 | |
| 13411 | |
| 13412 | |
| 13413 | |
| 13414 | |
| 13415 | |
| 13416 | |
| 13417 | |
| 13418 | |
| 13419 | |
| 13420 | |
| 13421 | |
| 13422 | |
| 13423 | # |
| 13424 | # Do we need to explicitly link libc? |
| 13425 | # |
| 13426 | case "x$archive_cmds_need_lc" in |
| 13427 | x|xyes) |
| 13428 | # Assume -lc should be added |
| 13429 | archive_cmds_need_lc=yes |
| 13430 | |
| 13431 | if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then |
| 13432 | case $archive_cmds in |
| 13433 | *'~'*) |
| 13434 | # FIXME: we may have to deal with multi-command sequences. |
| 13435 | ;; |
| 13436 | '$CC '*) |
| 13437 | # Test whether the compiler implicitly links with -lc since on some |
| 13438 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 13439 | # to ld, don't add -lc before -lgcc. |
| 13440 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 13441 | printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 13442 | if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc+y} |
| 13443 | then : |
| 13444 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13445 | else case e in #( |
| 13446 | e) $RM conftest* |
| 13447 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 13448 | |
| 13449 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13450 | (eval $ac_compile) 2>&5 |
| 13451 | ac_status=$? |
| 13452 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13453 | testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then |
| 13454 | soname=conftest |
| 13455 | lib=conftest |
| 13456 | libobjs=conftest.$ac_objext |
| 13457 | deplibs= |
| 13458 | wl=$lt_prog_compiler_wl |
| 13459 | pic_flag=$lt_prog_compiler_pic |
| 13460 | compiler_flags=-v |
| 13461 | linker_flags=-v |
| 13462 | verstring= |
| 13463 | output_objdir=. |
| 13464 | libname=conftest |
| 13465 | lt_save_allow_undefined_flag=$allow_undefined_flag |
| 13466 | allow_undefined_flag= |
| 13467 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 13468 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 13469 | ac_status=$? |
| 13470 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13471 | testscip-shell system . . test. $ac_status = 0; } |
| 13472 | then |
| 13473 | lt_cv_archive_cmds_need_lc=no |
| 13474 | else |
| 13475 | lt_cv_archive_cmds_need_lc=yes |
| 13476 | fi |
| 13477 | allow_undefined_flag=$lt_save_allow_undefined_flag |
| 13478 | else |
| 13479 | catscip-shell system . . cat. conftest.err 1>&5 |
| 13480 | fi |
| 13481 | $RM conftest* |
| 13482 | ;; |
| 13483 | esac |
| 13484 | fi |
| 13485 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 13486 | printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 13487 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 13488 | ;; |
| 13489 | esac |
| 13490 | fi |
| 13491 | ;; |
| 13492 | esac |
| 13493 | |
| 13494 | |
| 13495 | |
| 13496 | |
| 13497 | |
| 13498 | |
| 13499 | |
| 13500 | |
| 13501 | |
| 13502 | |
| 13503 | |
| 13504 | |
| 13505 | |
| 13506 | |
| 13507 | |
| 13508 | |
| 13509 | |
| 13510 | |
| 13511 | |
| 13512 | |
| 13513 | |
| 13514 | |
| 13515 | |
| 13516 | |
| 13517 | |
| 13518 | |
| 13519 | |
| 13520 | |
| 13521 | |
| 13522 | |
| 13523 | |
| 13524 | |
| 13525 | |
| 13526 | |
| 13527 | |
| 13528 | |
| 13529 | |
| 13530 | |
| 13531 | |
| 13532 | |
| 13533 | |
| 13534 | |
| 13535 | |
| 13536 | |
| 13537 | |
| 13538 | |
| 13539 | |
| 13540 | |
| 13541 | |
| 13542 | |
| 13543 | |
| 13544 | |
| 13545 | |
| 13546 | |
| 13547 | |
| 13548 | |
| 13549 | |
| 13550 | |
| 13551 | |
| 13552 | |
| 13553 | |
| 13554 | |
| 13555 | |
| 13556 | |
| 13557 | |
| 13558 | |
| 13559 | |
| 13560 | |
| 13561 | |
| 13562 | |
| 13563 | |
| 13564 | |
| 13565 | |
| 13566 | |
| 13567 | |
| 13568 | |
| 13569 | |
| 13570 | |
| 13571 | |
| 13572 | |
| 13573 | |
| 13574 | |
| 13575 | |
| 13576 | |
| 13577 | |
| 13578 | |
| 13579 | |
| 13580 | |
| 13581 | |
| 13582 | |
| 13583 | |
| 13584 | |
| 13585 | |
| 13586 | |
| 13587 | |
| 13588 | |
| 13589 | |
| 13590 | |
| 13591 | |
| 13592 | |
| 13593 | |
| 13594 | |
| 13595 | |
| 13596 | |
| 13597 | |
| 13598 | |
| 13599 | |
| 13600 | |
| 13601 | |
| 13602 | |
| 13603 | |
| 13604 | |
| 13605 | |
| 13606 | |
| 13607 | |
| 13608 | |
| 13609 | |
| 13610 | |
| 13611 | |
| 13612 | |
| 13613 | |
| 13614 | |
| 13615 | |
| 13616 | |
| 13617 | |
| 13618 | |
| 13619 | |
| 13620 | |
| 13621 | |
| 13622 | |
| 13623 | |
| 13624 | |
| 13625 | |
| 13626 | |
| 13627 | |
| 13628 | |
| 13629 | |
| 13630 | |
| 13631 | |
| 13632 | |
| 13633 | |
| 13634 | |
| 13635 | |
| 13636 | |
| 13637 | |
| 13638 | |
| 13639 | |
| 13640 | |
| 13641 | |
| 13642 | |
| 13643 | |
| 13644 | |
| 13645 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 13646 | printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; } |
| 13647 | |
| 13648 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13649 | case $host_os in |
| 13650 | darwin*) lt_awk_arg='/^libraries:/,/LR/scip-shell filesystem . . `/^libraries:/,/LR/`.' ;; |
| 13651 | *) lt_awk_arg='/^libraries:/scip-shell filesystem . . `/^libraries:/`.' ;; |
| 13652 | esac |
| 13653 | case $host_os in |
| 13654 | mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
| 13655 | *) lt_sed_strip_eq='s|=/|/|g' ;; |
| 13656 | esac |
| 13657 | lt_search_path_spec=`$CC -print-search-dirs | awkscip-shell system . . awk. $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 13658 | case $lt_search_path_spec in |
| 13659 | *\;*) |
| 13660 | # if the path contains ";" then we assume it to be the separator |
| 13661 | # otherwise default to the standard path separator (i.e. ":") - it is |
| 13662 | # assumed that no part of a normal pathname contains ";" but that should |
| 13663 | # okay in the real world where ";" in dirpaths is itself problematic. |
| 13664 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 13665 | ;; |
| 13666 | *) |
| 13667 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 13668 | ;; |
| 13669 | esac |
| 13670 | # Ok, now we have the path, separated by spaces, we can step through it |
| 13671 | # and add multilib dir if necessary... |
| 13672 | lt_tmp_lt_search_path_spec= |
| 13673 | lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 13674 | # ...but if some path component already ends with the multilib dir we assume |
| 13675 | # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 13676 | case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 13677 | "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 13678 | lt_multi_os_dir= |
| 13679 | ;; |
| 13680 | esac |
| 13681 | for lt_sys_path in $lt_search_path_spec; do |
| 13682 | if testscip-shell system . . test. -d "$lt_sys_path$lt_multi_os_dir"; then |
| 13683 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
| 13684 | elif testscip-shell system . . test. -n "$lt_multi_os_dir"; then |
| 13685 | testscip-shell system . . test. -d "$lt_sys_path" && \ |
| 13686 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 13687 | fi |
| 13688 | done |
| 13689 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awkscip-shell system . . awk. ' |
| 13690 | BEGIN {RS = " "; FS = "/|\n";} { |
| 13691 | lt_foo = ""; |
| 13692 | lt_count = 0; |
| 13693 | for (lt_i = NF; lt_i > 0; lt_i--) { |
| 13694 | if ($lt_i != "" && $lt_i != ".") { |
| 13695 | if ($lt_i == "..") { |
| 13696 | lt_count++; |
| 13697 | } else { |
| 13698 | if (lt_count == 0) { |
| 13699 | lt_foo = "/" $lt_i lt_foo; |
| 13700 | } else { |
| 13701 | lt_count--; |
| 13702 | } |
| 13703 | } |
| 13704 | } |
| 13705 | } |
| 13706 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 13707 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 13708 | }'` |
| 13709 | # AWK program above erroneously prepends '/' to C:/dos/paths |
| 13710 | # for these hosts. |
| 13711 | case $host_os in |
| 13712 | mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 13713 | $SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
| 13714 | esac |
| 13715 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 13716 | else |
| 13717 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`." |
| 13718 | fi |
| 13719 | library_names_spec= |
| 13720 | libname_spec='lib$name' |
| 13721 | soname_spec= |
| 13722 | shrext_cmds=.so |
| 13723 | postinstall_cmds= |
| 13724 | postuninstall_cmds= |
| 13725 | finish_cmds= |
| 13726 | finish_eval= |
| 13727 | shlibpath_var= |
| 13728 | shlibpath_overrides_runpath=unknown |
| 13729 | version_type=none |
| 13730 | dynamic_linker="$host_os ld.so" |
| 13731 | sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`." |
| 13732 | need_lib_prefix=unknown |
| 13733 | hardcode_into_libs=no |
| 13734 | |
| 13735 | # when you set need_version to no, make sure it does not cause -set_version |
| 13736 | # flags to be left without arguments |
| 13737 | need_version=unknown |
| 13738 | |
| 13739 | |
| 13740 | |
| 13741 | case $host_os in |
| 13742 | aix3*) |
| 13743 | version_type=linux # correct to gnu/linux during the next big refactor |
| 13744 | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 13745 | shlibpath_var=LIBPATH |
| 13746 | |
| 13747 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 13748 | soname_spec='$libname$release$shared_ext$major' |
| 13749 | ;; |
| 13750 | |
| 13751 | aix[4-9]*) |
| 13752 | version_type=linux # correct to gnu/linux during the next big refactor |
| 13753 | need_lib_prefix=no |
| 13754 | need_version=no |
| 13755 | hardcode_into_libs=yes |
| 13756 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 13757 | # AIX 5 supports IA64 |
| 13758 | library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 13759 | shlibpath_var=LD_LIBRARY_PATH |
| 13760 | else |
| 13761 | # With GCC up to 2.95.x, collect2 would create an import file |
| 13762 | # for dependence libraries. The import file would start with |
| 13763 | # the line '#! .'. This would cause the generated library to |
| 13764 | # depend on '.', always an invalid library. This was fixed in |
| 13765 | # development snapshots of GCC prior to 3.0. |
| 13766 | case $host_os in |
| 13767 | aix4 | aix4.[01] | aix4.[01].*) |
| 13768 | if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 13769 | echoscip-shell system . . echo. ' yes ' |
| 13770 | echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13771 | : |
| 13772 | else |
| 13773 | can_build_shared=no |
| 13774 | fi |
| 13775 | ;; |
| 13776 | esac |
| 13777 | # Using Import Files as archive members, it is possible to support |
| 13778 | # filename-based versioning of shared library archives on AIX. While |
| 13779 | # this would work for both with and without runtime linking, it will |
| 13780 | # prevent static linking of such archives. So we do filename-based |
| 13781 | # shared library versioning with .so extension only, which is used |
| 13782 | # when both runtime linking and shared linking is enabled. |
| 13783 | # Unfortunately, runtime linking may impact performance, so we do |
| 13784 | # not want this to be the default eventually. Also, we use the |
| 13785 | # versioned .so libs for executables only if there is the -brtl |
| 13786 | # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. |
| 13787 | # To allow for filename-based versioning support, we need to create |
| 13788 | # libNAME.so.V as an archive file, containing: |
| 13789 | # *) an Import File, referring to the versioned filename of the |
| 13790 | # archive as well as the shared archive member, telling the |
| 13791 | # bitwidth (32 or 64) of that shared object, and providing the |
| 13792 | # list of exported symbols of that shared object, eventually |
| 13793 | # decorated with the 'weak' keyword |
| 13794 | # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 13795 | # it being seen by the linker. |
| 13796 | # At run time we better use the real file rather than another symlink, |
| 13797 | # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 13798 | |
| 13799 | case $with_aix_soname,$aix_use_runtimelinking in |
| 13800 | # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 13801 | # soname into executable. Probably we can add versioning support to |
| 13802 | # collect2, so additional links can be useful in future. |
| 13803 | aix,yes) # traditional libtool |
| 13804 | dynamic_linker='AIX unversionable lib.so' |
| 13805 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 13806 | # instead of lib<name>.a to let people know that these are not |
| 13807 | # typical AIX shared libraries. |
| 13808 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 13809 | ;; |
| 13810 | aix,no) # traditional AIX only |
| 13811 | dynamic_linker='AIX lib.a(lib.so.V)' |
| 13812 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 13813 | # and later when we are not doing run time linking. |
| 13814 | library_names_spec='$libname$release.a $libname.a' |
| 13815 | soname_spec='$libname$release$shared_ext$major' |
| 13816 | ;; |
| 13817 | svr4,*) # full svr4 only |
| 13818 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 13819 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 13820 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 13821 | shlibpath_overrides_runpath=yes |
| 13822 | ;; |
| 13823 | *,yes) # both, prefer svr4 |
| 13824 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 13825 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 13826 | # unpreferred sharedlib libNAME.a needs extra handling |
| 13827 | 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"' |
| 13828 | 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"' |
| 13829 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 13830 | shlibpath_overrides_runpath=yes |
| 13831 | ;; |
| 13832 | *,no) # both, prefer aix |
| 13833 | dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 13834 | library_names_spec='$libname$release.a $libname.a' |
| 13835 | soname_spec='$libname$release$shared_ext$major' |
| 13836 | # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 13837 | 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)' |
| 13838 | 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"' |
| 13839 | ;; |
| 13840 | esac |
| 13841 | shlibpath_var=LIBPATH |
| 13842 | fi |
| 13843 | ;; |
| 13844 | |
| 13845 | amigaos*) |
| 13846 | case $host_cpu in |
| 13847 | powerpc) |
| 13848 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 13849 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 13850 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 13851 | ;; |
| 13852 | m68k) |
| 13853 | library_names_spec='$libname.ixlibrary $libname.a' |
| 13854 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 13855 | 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' |
| 13856 | ;; |
| 13857 | esac |
| 13858 | ;; |
| 13859 | |
| 13860 | beos*) |
| 13861 | library_names_spec='$libname$shared_ext' |
| 13862 | dynamic_linker="$host_os ld.so" |
| 13863 | shlibpath_var=LIBRARY_PATH |
| 13864 | ;; |
| 13865 | |
| 13866 | bsdi[45]*) |
| 13867 | version_type=linux # correct to gnu/linux during the next big refactor |
| 13868 | need_version=no |
| 13869 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 13870 | soname_spec='$libname$release$shared_ext$major' |
| 13871 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 13872 | shlibpath_var=LD_LIBRARY_PATH |
| 13873 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib`." |
| 13874 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`." |
| 13875 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 13876 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 13877 | # libtool to hard-code these into programs |
| 13878 | ;; |
| 13879 | |
| 13880 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 13881 | version_type=windows |
| 13882 | shrext_cmds=.dll |
| 13883 | need_version=no |
| 13884 | need_lib_prefix=no |
| 13885 | |
| 13886 | case $GCC,$cc_basename in |
| 13887 | yes,*) |
| 13888 | # gcc |
| 13889 | library_names_spec='$libname.dll.a' |
| 13890 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 13891 | # If user builds GCC with multilib enabled, |
| 13892 | # it should just install on $(libdir) |
| 13893 | # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. |
| 13894 | if testscip-shell system . . test. xyes = x"$multilib"; then |
| 13895 | postinstall_cmds='base_file=`basename \$file`~ |
| 13896 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 13897 | dldir=$destdir/`dirname \$dlpath`~ |
| 13898 | $install_prog $dir/$dlname $destdir/$dlname~ |
| 13899 | chmod a+x $destdir/$dlname~ |
| 13900 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 13901 | eval '\''$striplib $destdir/$dlname'\'' || exit \$?; |
| 13902 | fi' |
| 13903 | else |
| 13904 | postinstall_cmds='base_file=`basename \$file`~ |
| 13905 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 13906 | dldir=$destdir/`dirname \$dlpath`~ |
| 13907 | test -d \$dldir || mkdir -p \$dldir~ |
| 13908 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 13909 | chmod a+x \$dldir/$dlname~ |
| 13910 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 13911 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 13912 | fi' |
| 13913 | fi |
| 13914 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 13915 | dlpath=$dir/\$dldll~ |
| 13916 | $RM \$dlpath' |
| 13917 | shlibpath_overrides_runpath=yes |
| 13918 | |
| 13919 | case $host_os in |
| 13920 | cygwin*) |
| 13921 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 13922 | soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 13923 | |
| 13924 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 13925 | ;; |
| 13926 | mingw* | windows* | cegcc*) |
| 13927 | # MinGW DLLs use traditional 'lib' prefix |
| 13928 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 13929 | ;; |
| 13930 | pw32*) |
| 13931 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 13932 | library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 13933 | ;; |
| 13934 | esac |
| 13935 | dynamic_linker='Win32 ld.exe' |
| 13936 | ;; |
| 13937 | |
| 13938 | *,cl* | *,icl*) |
| 13939 | # Native MSVC or ICC |
| 13940 | libname_spec='$name' |
| 13941 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 13942 | library_names_spec='$libname.dll.lib' |
| 13943 | |
| 13944 | case $build_os in |
| 13945 | mingw* | windows*) |
| 13946 | sys_lib_search_path_spec= |
| 13947 | lt_save_ifs=$IFS |
| 13948 | IFS=';' |
| 13949 | for lt_path in $LIB |
| 13950 | do |
| 13951 | IFS=$lt_save_ifs |
| 13952 | # Let DOS variable expansion print the short 8.3 style file name. |
| 13953 | lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"` |
| 13954 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 13955 | done |
| 13956 | IFS=$lt_save_ifs |
| 13957 | # Convert to MSYS style. |
| 13958 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 13959 | ;; |
| 13960 | cygwin*) |
| 13961 | # Convert to unix form, then to dos form, then back to unix form |
| 13962 | # but this time dos style (no spaces!) so that the unix form looks |
| 13963 | # like /cygdrive/c/PROGRA~1:/cygdr... |
| 13964 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 13965 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 13966 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 13967 | ;; |
| 13968 | *) |
| 13969 | sys_lib_search_path_spec=$LIB |
| 13970 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13971 | # It is most probably a Windows format PATH. |
| 13972 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 13973 | else |
| 13974 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 13975 | fi |
| 13976 | # FIXME: find the short name or the path components, as spaces are |
| 13977 | # common. (e.g. "Program Files" -> "PROGRA~1") |
| 13978 | ;; |
| 13979 | esac |
| 13980 | |
| 13981 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 13982 | postinstall_cmds='base_file=`basename \$file`~ |
| 13983 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 13984 | dldir=$destdir/`dirname \$dlpath`~ |
| 13985 | test -d \$dldir || mkdir -p \$dldir~ |
| 13986 | $install_prog $dir/$dlname \$dldir/$dlname' |
| 13987 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 13988 | dlpath=$dir/\$dldll~ |
| 13989 | $RM \$dlpath' |
| 13990 | shlibpath_overrides_runpath=yes |
| 13991 | dynamic_linker='Win32 link.exe' |
| 13992 | ;; |
| 13993 | |
| 13994 | *) |
| 13995 | # Assume MSVC and ICC wrapper |
| 13996 | library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 13997 | dynamic_linker='Win32 ld.exe' |
| 13998 | ;; |
| 13999 | esac |
| 14000 | # FIXME: first we should search . and the directory the executable is in |
| 14001 | shlibpath_var=PATH |
| 14002 | ;; |
| 14003 | |
| 14004 | darwin* | rhapsody*) |
| 14005 | dynamic_linker="$host_os dyld" |
| 14006 | version_type=darwin |
| 14007 | need_lib_prefix=no |
| 14008 | need_version=no |
| 14009 | library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 14010 | soname_spec='$libname$release$major$shared_ext' |
| 14011 | shlibpath_overrides_runpath=yes |
| 14012 | shlibpath_var=DYLD_LIBRARY_PATH |
| 14013 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 14014 | |
| 14015 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 14016 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.' |
| 14017 | ;; |
| 14018 | |
| 14019 | dgux*) |
| 14020 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14021 | need_lib_prefix=no |
| 14022 | need_version=no |
| 14023 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14024 | soname_spec='$libname$release$shared_ext$major' |
| 14025 | shlibpath_var=LD_LIBRARY_PATH |
| 14026 | ;; |
| 14027 | |
| 14028 | freebsd* | dragonfly* | midnightbsd*) |
| 14029 | # DragonFly does not have aout. When/if they implement a new |
| 14030 | # versioning mechanism, adjust this. |
| 14031 | if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then |
| 14032 | objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.` |
| 14033 | else |
| 14034 | case $host_os in |
| 14035 | freebsd[23].*) objformat=aout ;; |
| 14036 | *) objformat=elf ;; |
| 14037 | esac |
| 14038 | fi |
| 14039 | version_type=freebsd-$objformat |
| 14040 | case $version_type in |
| 14041 | freebsd-elf*) |
| 14042 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14043 | soname_spec='$libname$release$shared_ext$major' |
| 14044 | need_version=no |
| 14045 | need_lib_prefix=no |
| 14046 | ;; |
| 14047 | freebsd-*) |
| 14048 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14049 | need_version=yes |
| 14050 | ;; |
| 14051 | esac |
| 14052 | case $host_cpu in |
| 14053 | powerpc64) |
| 14054 | # On FreeBSD bi-arch platforms, a different variable is used for 32-bit |
| 14055 | # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. |
| 14056 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14057 | /* end confdefs.h. */ |
| 14058 | int test_pointer_size[sizeof (void *) - 5]; |
| 14059 | |
| 14060 | _ACEOF |
| 14061 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 14062 | then : |
| 14063 | shlibpath_var=LD_LIBRARY_PATH |
| 14064 | else case e in #( |
| 14065 | e) shlibpath_var=LD_32_LIBRARY_PATH ;; |
| 14066 | esac |
| 14067 | fi |
| 14068 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14069 | ;; |
| 14070 | *) |
| 14071 | shlibpath_var=LD_LIBRARY_PATH |
| 14072 | ;; |
| 14073 | esac |
| 14074 | case $host_os in |
| 14075 | freebsd2.*) |
| 14076 | shlibpath_overrides_runpath=yes |
| 14077 | ;; |
| 14078 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 14079 | shlibpath_overrides_runpath=yes |
| 14080 | hardcode_into_libs=yes |
| 14081 | ;; |
| 14082 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 14083 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 14084 | shlibpath_overrides_runpath=no |
| 14085 | hardcode_into_libs=yes |
| 14086 | ;; |
| 14087 | *) # from 4.6 on, and DragonFly |
| 14088 | shlibpath_overrides_runpath=yes |
| 14089 | hardcode_into_libs=yes |
| 14090 | ;; |
| 14091 | esac |
| 14092 | ;; |
| 14093 | |
| 14094 | haiku*) |
| 14095 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14096 | need_lib_prefix=no |
| 14097 | need_version=no |
| 14098 | dynamic_linker="$host_os runtime_loader" |
| 14099 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14100 | soname_spec='$libname$release$shared_ext$major' |
| 14101 | shlibpath_var=LIBRARY_PATH |
| 14102 | shlibpath_overrides_runpath=no |
| 14103 | sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/libscip-shell filesystem . . `/boot/system/non-packaged/develop/lib /boot/system/develop/lib`.' |
| 14104 | sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib`.' |
| 14105 | hardcode_into_libs=no |
| 14106 | ;; |
| 14107 | |
| 14108 | hpux9* | hpux10* | hpux11*) |
| 14109 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 14110 | # link against other versions. |
| 14111 | version_type=sunos |
| 14112 | need_lib_prefix=no |
| 14113 | need_version=no |
| 14114 | case $host_cpu in |
| 14115 | ia64*) |
| 14116 | shrext_cmds='.so' |
| 14117 | hardcode_into_libs=yes |
| 14118 | dynamic_linker="$host_os dld.so" |
| 14119 | shlibpath_var=LD_LIBRARY_PATH |
| 14120 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 14121 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14122 | soname_spec='$libname$release$shared_ext$major' |
| 14123 | if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then |
| 14124 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/libscip-shell filesystem . . `/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib`." |
| 14125 | sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`. |
| 14126 | else |
| 14127 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`." |
| 14128 | sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`. |
| 14129 | fi |
| 14130 | ;; |
| 14131 | hppa*64*) |
| 14132 | shrext_cmds='.sl' |
| 14133 | hardcode_into_libs=yes |
| 14134 | dynamic_linker="$host_os dld.sl" |
| 14135 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 14136 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 14137 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14138 | soname_spec='$libname$release$shared_ext$major' |
| 14139 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64scip-shell filesystem . . `/usr/lib/pa20_64 /usr/ccs/lib/pa20_64`." |
| 14140 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14141 | ;; |
| 14142 | *) |
| 14143 | shrext_cmds='.sl' |
| 14144 | dynamic_linker="$host_os dld.sl" |
| 14145 | shlibpath_var=SHLIB_PATH |
| 14146 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 14147 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14148 | soname_spec='$libname$release$shared_ext$major' |
| 14149 | ;; |
| 14150 | esac |
| 14151 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 14152 | postinstall_cmds='chmod 555 $lib' |
| 14153 | # or fails outright, so override atomically: |
| 14154 | install_override_mode=555 |
| 14155 | ;; |
| 14156 | |
| 14157 | interix[3-9]*) |
| 14158 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14159 | need_lib_prefix=no |
| 14160 | need_version=no |
| 14161 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14162 | soname_spec='$libname$release$shared_ext$major' |
| 14163 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 14164 | shlibpath_var=LD_LIBRARY_PATH |
| 14165 | shlibpath_overrides_runpath=no |
| 14166 | hardcode_into_libs=yes |
| 14167 | ;; |
| 14168 | |
| 14169 | irix5* | irix6* | nonstopux*) |
| 14170 | case $host_os in |
| 14171 | nonstopux*) version_type=nonstopux ;; |
| 14172 | *) |
| 14173 | if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then |
| 14174 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14175 | else |
| 14176 | version_type=irix |
| 14177 | fi ;; |
| 14178 | esac |
| 14179 | need_lib_prefix=no |
| 14180 | need_version=no |
| 14181 | soname_spec='$libname$release$shared_ext$major' |
| 14182 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 14183 | case $host_os in |
| 14184 | irix5* | nonstopux*) |
| 14185 | libsuff= shlibsuff= |
| 14186 | ;; |
| 14187 | *) |
| 14188 | case $LD in # libtool.m4 will add one of these switches to LD |
| 14189 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 14190 | libsuff= shlibsuff= libmagic=32-bit;; |
| 14191 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 14192 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 14193 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 14194 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 14195 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 14196 | esac |
| 14197 | ;; |
| 14198 | esac |
| 14199 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 14200 | shlibpath_overrides_runpath=no |
| 14201 | sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 14202 | sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 14203 | hardcode_into_libs=yes |
| 14204 | ;; |
| 14205 | |
| 14206 | # No shared lib support for Linux oldld, aout, or coff. |
| 14207 | linux*oldld* | linux*aout* | linux*coff*) |
| 14208 | dynamic_linker=no |
| 14209 | ;; |
| 14210 | |
| 14211 | linux*android*) |
| 14212 | version_type=none # Android doesn't support versioned libraries. |
| 14213 | need_lib_prefix=no |
| 14214 | need_version=no |
| 14215 | library_names_spec='$libname$release$shared_ext $libname$shared_ext' |
| 14216 | soname_spec='$libname$release$shared_ext' |
| 14217 | finish_cmds= |
| 14218 | shlibpath_var=LD_LIBRARY_PATH |
| 14219 | shlibpath_overrides_runpath=yes |
| 14220 | |
| 14221 | # This implies no fast_install, which is unacceptable. |
| 14222 | # Some rework will be needed to allow for fast_install |
| 14223 | # before this can be enabled. |
| 14224 | hardcode_into_libs=yes |
| 14225 | |
| 14226 | dynamic_linker='Android linker' |
| 14227 | # -rpath works at least for libraries that are not overridden by |
| 14228 | # libraries installed in system locations. |
| 14229 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 14230 | ;; |
| 14231 | |
| 14232 | # This must be glibc/ELF. |
| 14233 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 14234 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14235 | need_lib_prefix=no |
| 14236 | need_version=no |
| 14237 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14238 | soname_spec='$libname$release$shared_ext$major' |
| 14239 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 14240 | shlibpath_var=LD_LIBRARY_PATH |
| 14241 | shlibpath_overrides_runpath=no |
| 14242 | |
| 14243 | # Some binutils ld are patched to set DT_RUNPATH |
| 14244 | if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y} |
| 14245 | then : |
| 14246 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14247 | else case e in #( |
| 14248 | e) lt_cv_shlibpath_overrides_runpath=no |
| 14249 | save_LDFLAGS=$LDFLAGS |
| 14250 | save_libdir=$libdir |
| 14251 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 14252 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 14253 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14254 | /* end confdefs.h. */ |
| 14255 | |
| 14256 | int |
| 14257 | main (void) |
| 14258 | { |
| 14259 | |
| 14260 | ; |
| 14261 | return 0; |
| 14262 | } |
| 14263 | _ACEOF |
| 14264 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 14265 | then : |
| 14266 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "RUNPATH.*$libdir" >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 14267 | then : |
| 14268 | lt_cv_shlibpath_overrides_runpath=yes |
| 14269 | fi |
| 14270 | fi |
| 14271 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14272 | conftest$ac_exeext conftest.$ac_ext |
| 14273 | LDFLAGS=$save_LDFLAGS |
| 14274 | libdir=$save_libdir |
| 14275 | ;; |
| 14276 | esac |
| 14277 | fi |
| 14278 | |
| 14279 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 14280 | |
| 14281 | # This implies no fast_install, which is unacceptable. |
| 14282 | # Some rework will be needed to allow for fast_install |
| 14283 | # before this can be enabled. |
| 14284 | hardcode_into_libs=yes |
| 14285 | |
| 14286 | # Ideally, we could use ldconfig to report *all* directories which are |
| 14287 | # searched for libraries, however this is still not possible. Aside from not |
| 14288 | # being certain /sbin/ldconfig is available, command |
| 14289 | # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 14290 | # even though it is searched at run-time. Try to do the best guess by |
| 14291 | # appending ld.so.conf contents (and includes) to the search path. |
| 14292 | if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then |
| 14293 | lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | trscip-shell system . . tr. '\n' ' '` |
| 14294 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 14295 | fi |
| 14296 | |
| 14297 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 14298 | # powerpc, because MkLinux only supported shared libraries with the |
| 14299 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 14300 | # most powerpc-linux boxes support dynamic linking these days and |
| 14301 | # people can always --disable-shared, the test was removed, and we |
| 14302 | # assume the GNU/Linux dynamic linker is in use. |
| 14303 | dynamic_linker='GNU/Linux ld.so' |
| 14304 | ;; |
| 14305 | |
| 14306 | netbsdelf*-gnu) |
| 14307 | version_type=linux |
| 14308 | need_lib_prefix=no |
| 14309 | need_version=no |
| 14310 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14311 | soname_spec='$libname$release$shared_ext$major' |
| 14312 | shlibpath_var=LD_LIBRARY_PATH |
| 14313 | shlibpath_overrides_runpath=no |
| 14314 | hardcode_into_libs=yes |
| 14315 | dynamic_linker='NetBSD ld.elf_so' |
| 14316 | ;; |
| 14317 | |
| 14318 | netbsdelf*-gnu) |
| 14319 | version_type=linux |
| 14320 | need_lib_prefix=no |
| 14321 | need_version=no |
| 14322 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 14323 | soname_spec='${libname}${release}${shared_ext}$major' |
| 14324 | shlibpath_var=LD_LIBRARY_PATH |
| 14325 | shlibpath_overrides_runpath=no |
| 14326 | hardcode_into_libs=yes |
| 14327 | dynamic_linker='NetBSD ld.elf_so' |
| 14328 | ;; |
| 14329 | |
| 14330 | netbsd*) |
| 14331 | version_type=sunos |
| 14332 | need_lib_prefix=no |
| 14333 | need_version=no |
| 14334 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 14335 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14336 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 14337 | dynamic_linker='NetBSD (a.out) ld.so' |
| 14338 | else |
| 14339 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14340 | soname_spec='$libname$release$shared_ext$major' |
| 14341 | dynamic_linker='NetBSD ld.elf_so' |
| 14342 | fi |
| 14343 | shlibpath_var=LD_LIBRARY_PATH |
| 14344 | shlibpath_overrides_runpath=yes |
| 14345 | hardcode_into_libs=yes |
| 14346 | ;; |
| 14347 | |
| 14348 | *-mlibc) |
| 14349 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14350 | need_lib_prefix=no |
| 14351 | need_version=no |
| 14352 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14353 | soname_spec='$libname$release$shared_ext$major' |
| 14354 | dynamic_linker='mlibc ld.so' |
| 14355 | shlibpath_var=LD_LIBRARY_PATH |
| 14356 | shlibpath_overrides_runpath=no |
| 14357 | hardcode_into_libs=yes |
| 14358 | ;; |
| 14359 | |
| 14360 | newsos6) |
| 14361 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14362 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14363 | shlibpath_var=LD_LIBRARY_PATH |
| 14364 | shlibpath_overrides_runpath=yes |
| 14365 | ;; |
| 14366 | |
| 14367 | *nto* | *qnx*) |
| 14368 | version_type=qnx |
| 14369 | need_lib_prefix=no |
| 14370 | need_version=no |
| 14371 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14372 | soname_spec='$libname$release$shared_ext$major' |
| 14373 | shlibpath_var=LD_LIBRARY_PATH |
| 14374 | shlibpath_overrides_runpath=no |
| 14375 | hardcode_into_libs=yes |
| 14376 | dynamic_linker='ldqnx.so' |
| 14377 | ;; |
| 14378 | |
| 14379 | openbsd*) |
| 14380 | version_type=sunos |
| 14381 | sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`. |
| 14382 | need_lib_prefix=no |
| 14383 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 14384 | need_version=no |
| 14385 | else |
| 14386 | need_version=yes |
| 14387 | fi |
| 14388 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14389 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 14390 | shlibpath_var=LD_LIBRARY_PATH |
| 14391 | shlibpath_overrides_runpath=yes |
| 14392 | ;; |
| 14393 | |
| 14394 | os2*) |
| 14395 | libname_spec='$name' |
| 14396 | version_type=windows |
| 14397 | shrext_cmds=.dll |
| 14398 | need_version=no |
| 14399 | need_lib_prefix=no |
| 14400 | # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 14401 | soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 14402 | v=$($ECHO $release$versuffix | tr -d .-); |
| 14403 | n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 14404 | $ECHO $n$v`$shared_ext' |
| 14405 | library_names_spec='${libname}_dll.$libext' |
| 14406 | dynamic_linker='OS/2 ld.exe' |
| 14407 | shlibpath_var=BEGINLIBPATH |
| 14408 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`." |
| 14409 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14410 | postinstall_cmds='base_file=`basename \$file`~ |
| 14411 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 14412 | dldir=$destdir/`dirname \$dlpath`~ |
| 14413 | test -d \$dldir || mkdir -p \$dldir~ |
| 14414 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 14415 | chmod a+x \$dldir/$dlname~ |
| 14416 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 14417 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 14418 | fi' |
| 14419 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 14420 | dlpath=$dir/\$dldll~ |
| 14421 | $RM \$dlpath' |
| 14422 | ;; |
| 14423 | |
| 14424 | osf3* | osf4* | osf5*) |
| 14425 | version_type=osf |
| 14426 | need_lib_prefix=no |
| 14427 | need_version=no |
| 14428 | soname_spec='$libname$release$shared_ext$major' |
| 14429 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14430 | shlibpath_var=LD_LIBRARY_PATH |
| 14431 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlibscip-shell filesystem . . `/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib`." |
| 14432 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14433 | ;; |
| 14434 | |
| 14435 | rdos*) |
| 14436 | dynamic_linker=no |
| 14437 | ;; |
| 14438 | |
| 14439 | serenity*) |
| 14440 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14441 | need_lib_prefix=no |
| 14442 | need_version=no |
| 14443 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14444 | soname_spec='$libname$release$shared_ext$major' |
| 14445 | shlibpath_var=LD_LIBRARY_PATH |
| 14446 | shlibpath_overrides_runpath=no |
| 14447 | dynamic_linker='SerenityOS LibELF' |
| 14448 | ;; |
| 14449 | |
| 14450 | solaris*) |
| 14451 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14452 | need_lib_prefix=no |
| 14453 | need_version=no |
| 14454 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14455 | soname_spec='$libname$release$shared_ext$major' |
| 14456 | shlibpath_var=LD_LIBRARY_PATH |
| 14457 | shlibpath_overrides_runpath=yes |
| 14458 | hardcode_into_libs=yes |
| 14459 | # ldd complains unless libraries are executable |
| 14460 | postinstall_cmds='chmod +x $lib' |
| 14461 | ;; |
| 14462 | |
| 14463 | sunos4*) |
| 14464 | version_type=sunos |
| 14465 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14466 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 14467 | shlibpath_var=LD_LIBRARY_PATH |
| 14468 | shlibpath_overrides_runpath=yes |
| 14469 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 14470 | need_lib_prefix=no |
| 14471 | fi |
| 14472 | need_version=yes |
| 14473 | ;; |
| 14474 | |
| 14475 | sysv4 | sysv4.3*) |
| 14476 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14477 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14478 | soname_spec='$libname$release$shared_ext$major' |
| 14479 | shlibpath_var=LD_LIBRARY_PATH |
| 14480 | case $host_vendor in |
| 14481 | sni) |
| 14482 | shlibpath_overrides_runpath=no |
| 14483 | need_lib_prefix=no |
| 14484 | runpath_var=LD_RUN_PATH |
| 14485 | ;; |
| 14486 | siemens) |
| 14487 | need_lib_prefix=no |
| 14488 | ;; |
| 14489 | motorola) |
| 14490 | need_lib_prefix=no |
| 14491 | need_version=no |
| 14492 | shlibpath_overrides_runpath=no |
| 14493 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.' |
| 14494 | ;; |
| 14495 | esac |
| 14496 | ;; |
| 14497 | |
| 14498 | sysv4*MP*) |
| 14499 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 14500 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14501 | library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 14502 | soname_spec='$libname$shared_ext.$major' |
| 14503 | shlibpath_var=LD_LIBRARY_PATH |
| 14504 | fi |
| 14505 | ;; |
| 14506 | |
| 14507 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 14508 | version_type=sco |
| 14509 | need_lib_prefix=no |
| 14510 | need_version=no |
| 14511 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 14512 | soname_spec='$libname$release$shared_ext$major' |
| 14513 | shlibpath_var=LD_LIBRARY_PATH |
| 14514 | shlibpath_overrides_runpath=yes |
| 14515 | hardcode_into_libs=yes |
| 14516 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 14517 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /libscip-shell filesystem . . `/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib`.' |
| 14518 | else |
| 14519 | sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.' |
| 14520 | case $host_os in |
| 14521 | sco3.2v5*) |
| 14522 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 14523 | ;; |
| 14524 | esac |
| 14525 | fi |
| 14526 | sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.' |
| 14527 | ;; |
| 14528 | |
| 14529 | tpf*) |
| 14530 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 14531 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14532 | need_lib_prefix=no |
| 14533 | need_version=no |
| 14534 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14535 | shlibpath_var=LD_LIBRARY_PATH |
| 14536 | shlibpath_overrides_runpath=no |
| 14537 | hardcode_into_libs=yes |
| 14538 | ;; |
| 14539 | |
| 14540 | uts4*) |
| 14541 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14542 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14543 | soname_spec='$libname$release$shared_ext$major' |
| 14544 | shlibpath_var=LD_LIBRARY_PATH |
| 14545 | ;; |
| 14546 | |
| 14547 | emscripten*) |
| 14548 | version_type=none |
| 14549 | need_lib_prefix=no |
| 14550 | need_version=no |
| 14551 | library_names_spec='$libname$release$shared_ext' |
| 14552 | soname_spec='$libname$release$shared_ext' |
| 14553 | finish_cmds= |
| 14554 | dynamic_linker="Emscripten linker" |
| 14555 | lt_prog_compiler_wl= |
| 14556 | lt_prog_compiler_pic= |
| 14557 | lt_prog_compiler_static= |
| 14558 | |
| 14559 | |
| 14560 | if testscip-shell system . . test. yes = "$GCC"; then |
| 14561 | lt_prog_compiler_wl='-Wl,' |
| 14562 | lt_prog_compiler_static='-static' |
| 14563 | |
| 14564 | case $host_os in |
| 14565 | aix*) |
| 14566 | # All AIX code is PIC. |
| 14567 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 14568 | # AIX 5 now supports IA64 processor |
| 14569 | lt_prog_compiler_static='-Bstatic' |
| 14570 | fi |
| 14571 | lt_prog_compiler_pic='-fPIC' |
| 14572 | ;; |
| 14573 | |
| 14574 | amigaos*) |
| 14575 | case $host_cpu in |
| 14576 | powerpc) |
| 14577 | # see comment about AmigaOS4 .so support |
| 14578 | lt_prog_compiler_pic='-fPIC' |
| 14579 | ;; |
| 14580 | m68k) |
| 14581 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 14582 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 14583 | # like '-m68040'. |
| 14584 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 14585 | ;; |
| 14586 | esac |
| 14587 | ;; |
| 14588 | |
| 14589 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 14590 | # PIC is the default for these OSes. |
| 14591 | ;; |
| 14592 | |
| 14593 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 14594 | # This hack is so that the source file can tell whether it is being |
| 14595 | # built for inclusion in a dll (and should export symbols for example). |
| 14596 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 14597 | # (--disable-auto-import) libraries |
| 14598 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 14599 | case $host_os in |
| 14600 | os2*) |
| 14601 | lt_prog_compiler_static='$wl-static' |
| 14602 | ;; |
| 14603 | esac |
| 14604 | ;; |
| 14605 | |
| 14606 | darwin* | rhapsody*) |
| 14607 | # PIC is the default on this platform |
| 14608 | # Common symbols not allowed in MH_DYLIB files |
| 14609 | lt_prog_compiler_pic='-fno-common' |
| 14610 | ;; |
| 14611 | |
| 14612 | haiku*) |
| 14613 | # PIC is the default for Haiku. |
| 14614 | # The "-static" flag exists, but is broken. |
| 14615 | lt_prog_compiler_static= |
| 14616 | ;; |
| 14617 | |
| 14618 | hpux*) |
| 14619 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 14620 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 14621 | # sets the default TLS model and affects inlining. |
| 14622 | case $host_cpu in |
| 14623 | hppa*64*) |
| 14624 | # +Z the default |
| 14625 | ;; |
| 14626 | *) |
| 14627 | lt_prog_compiler_pic='-fPIC' |
| 14628 | ;; |
| 14629 | esac |
| 14630 | ;; |
| 14631 | |
| 14632 | interix[3-9]*) |
| 14633 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 14634 | # Instead, we relocate shared libraries at runtime. |
| 14635 | ;; |
| 14636 | |
| 14637 | msdosdjgpp*) |
| 14638 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 14639 | # on systems that don't support them. |
| 14640 | lt_prog_compiler_can_build_shared=no |
| 14641 | enable_shared=no |
| 14642 | ;; |
| 14643 | |
| 14644 | *nto* | *qnx*) |
| 14645 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 14646 | # it will coredump. |
| 14647 | lt_prog_compiler_pic='-fPIC -shared' |
| 14648 | ;; |
| 14649 | |
| 14650 | sysv4*MP*) |
| 14651 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 14652 | lt_prog_compiler_pic=-Kconform_pic |
| 14653 | fi |
| 14654 | ;; |
| 14655 | |
| 14656 | *) |
| 14657 | lt_prog_compiler_pic='-fPIC' |
| 14658 | ;; |
| 14659 | esac |
| 14660 | |
| 14661 | case $cc_basename in |
| 14662 | nvcc*) # Cuda Compiler Driver 2.2 |
| 14663 | lt_prog_compiler_wl='-Xlinker ' |
| 14664 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 14665 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 14666 | fi |
| 14667 | ;; |
| 14668 | esac |
| 14669 | else |
| 14670 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 14671 | case $host_os in |
| 14672 | aix*) |
| 14673 | lt_prog_compiler_wl='-Wl,' |
| 14674 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 14675 | # AIX 5 now supports IA64 processor |
| 14676 | lt_prog_compiler_static='-Bstatic' |
| 14677 | else |
| 14678 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 14679 | fi |
| 14680 | ;; |
| 14681 | |
| 14682 | darwin* | rhapsody*) |
| 14683 | # PIC is the default on this platform |
| 14684 | # Common symbols not allowed in MH_DYLIB files |
| 14685 | lt_prog_compiler_pic='-fno-common' |
| 14686 | case $cc_basename in |
| 14687 | nagfor*) |
| 14688 | # NAG Fortran compiler |
| 14689 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 14690 | lt_prog_compiler_pic='-PIC' |
| 14691 | lt_prog_compiler_static='-Bstatic' |
| 14692 | ;; |
| 14693 | esac |
| 14694 | ;; |
| 14695 | |
| 14696 | mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 14697 | # This hack is so that the source file can tell whether it is being |
| 14698 | # built for inclusion in a dll (and should export symbols for example). |
| 14699 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 14700 | case $host_os in |
| 14701 | os2*) |
| 14702 | lt_prog_compiler_static='$wl-static' |
| 14703 | ;; |
| 14704 | esac |
| 14705 | ;; |
| 14706 | |
| 14707 | hpux9* | hpux10* | hpux11*) |
| 14708 | lt_prog_compiler_wl='-Wl,' |
| 14709 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 14710 | # not for PA HP-UX. |
| 14711 | case $host_cpu in |
| 14712 | hppa*64*|ia64*) |
| 14713 | # +Z the default |
| 14714 | ;; |
| 14715 | *) |
| 14716 | lt_prog_compiler_pic='+Z' |
| 14717 | ;; |
| 14718 | esac |
| 14719 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 14720 | lt_prog_compiler_static='$wl-a ${wl}archive' |
| 14721 | ;; |
| 14722 | |
| 14723 | irix5* | irix6* | nonstopux*) |
| 14724 | lt_prog_compiler_wl='-Wl,' |
| 14725 | # PIC (with -KPIC) is the default. |
| 14726 | lt_prog_compiler_static='-non_shared' |
| 14727 | ;; |
| 14728 | |
| 14729 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 14730 | case $cc_basename in |
| 14731 | # old Intel for x86_64, which still supported -KPIC. |
| 14732 | ecc*) |
| 14733 | lt_prog_compiler_wl='-Wl,' |
| 14734 | lt_prog_compiler_pic='-KPIC' |
| 14735 | lt_prog_compiler_static='-static' |
| 14736 | ;; |
| 14737 | *flang* | ftn | f18* | f95*) |
| 14738 | # Flang compiler. |
| 14739 | lt_prog_compiler_wl='-Wl,' |
| 14740 | lt_prog_compiler_pic='-fPIC' |
| 14741 | lt_prog_compiler_static='-static' |
| 14742 | ;; |
| 14743 | # flang / f18. f95 an alias for gfortran or flang on Debian |
| 14744 | flang* | f18* | f95*) |
| 14745 | lt_prog_compiler_wl='-Wl,' |
| 14746 | lt_prog_compiler_pic='-fPIC' |
| 14747 | lt_prog_compiler_static='-static' |
| 14748 | ;; |
| 14749 | # icc used to be incompatible with GCC. |
| 14750 | # ICC 10 doesn't accept -KPIC any more. |
| 14751 | icc* | ifort*) |
| 14752 | lt_prog_compiler_wl='-Wl,' |
| 14753 | lt_prog_compiler_pic='-fPIC' |
| 14754 | lt_prog_compiler_static='-static' |
| 14755 | ;; |
| 14756 | # Lahey Fortran 8.1. |
| 14757 | lf95*) |
| 14758 | lt_prog_compiler_wl='-Wl,' |
| 14759 | lt_prog_compiler_pic='--shared' |
| 14760 | lt_prog_compiler_static='--static' |
| 14761 | ;; |
| 14762 | nagfor*) |
| 14763 | # NAG Fortran compiler |
| 14764 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 14765 | lt_prog_compiler_pic='-PIC' |
| 14766 | lt_prog_compiler_static='-Bstatic' |
| 14767 | ;; |
| 14768 | tcc*) |
| 14769 | # Fabrice Bellard et al's Tiny C Compiler |
| 14770 | lt_prog_compiler_wl='-Wl,' |
| 14771 | lt_prog_compiler_pic='-fPIC' |
| 14772 | lt_prog_compiler_static='-static' |
| 14773 | ;; |
| 14774 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 14775 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 14776 | # which looks to be a dead project) |
| 14777 | lt_prog_compiler_wl='-Wl,' |
| 14778 | lt_prog_compiler_pic='-fpic' |
| 14779 | lt_prog_compiler_static='-Bstatic' |
| 14780 | ;; |
| 14781 | ccc*) |
| 14782 | lt_prog_compiler_wl='-Wl,' |
| 14783 | # All Alpha code is PIC. |
| 14784 | lt_prog_compiler_static='-non_shared' |
| 14785 | ;; |
| 14786 | xl* | bgxl* | bgf* | mpixl*) |
| 14787 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 14788 | lt_prog_compiler_wl='-Wl,' |
| 14789 | lt_prog_compiler_pic='-qpic' |
| 14790 | lt_prog_compiler_static='-qstaticlink' |
| 14791 | ;; |
| 14792 | *) |
| 14793 | case `$CC -V 2>&1 | $SED 5q` in |
| 14794 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 14795 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 14796 | lt_prog_compiler_pic='-KPIC' |
| 14797 | lt_prog_compiler_static='-Bstatic' |
| 14798 | lt_prog_compiler_wl='' |
| 14799 | ;; |
| 14800 | *Sun\ F* | *Sun*Fortran*) |
| 14801 | lt_prog_compiler_pic='-KPIC' |
| 14802 | lt_prog_compiler_static='-Bstatic' |
| 14803 | lt_prog_compiler_wl='-Qoption ld ' |
| 14804 | ;; |
| 14805 | *Sun\ C*) |
| 14806 | # Sun C 5.9 |
| 14807 | lt_prog_compiler_pic='-KPIC' |
| 14808 | lt_prog_compiler_static='-Bstatic' |
| 14809 | lt_prog_compiler_wl='-Wl,' |
| 14810 | ;; |
| 14811 | *Intel*\ [CF]*Compiler*) |
| 14812 | lt_prog_compiler_wl='-Wl,' |
| 14813 | lt_prog_compiler_pic='-fPIC' |
| 14814 | lt_prog_compiler_static='-static' |
| 14815 | ;; |
| 14816 | *Portland\ Group*) |
| 14817 | lt_prog_compiler_wl='-Wl,' |
| 14818 | lt_prog_compiler_pic='-fpic' |
| 14819 | lt_prog_compiler_static='-Bstatic' |
| 14820 | ;; |
| 14821 | esac |
| 14822 | ;; |
| 14823 | esac |
| 14824 | ;; |
| 14825 | |
| 14826 | newsos6) |
| 14827 | lt_prog_compiler_pic='-KPIC' |
| 14828 | lt_prog_compiler_static='-Bstatic' |
| 14829 | ;; |
| 14830 | |
| 14831 | *-mlibc) |
| 14832 | lt_prog_compiler_wl='-Wl,' |
| 14833 | lt_prog_compiler_pic='-fPIC' |
| 14834 | lt_prog_compiler_static='-static' |
| 14835 | ;; |
| 14836 | |
| 14837 | *nto* | *qnx*) |
| 14838 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 14839 | # it will coredump. |
| 14840 | lt_prog_compiler_pic='-fPIC -shared' |
| 14841 | ;; |
| 14842 | |
| 14843 | osf3* | osf4* | osf5*) |
| 14844 | lt_prog_compiler_wl='-Wl,' |
| 14845 | # All OSF/1 code is PIC. |
| 14846 | lt_prog_compiler_static='-non_shared' |
| 14847 | ;; |
| 14848 | |
| 14849 | rdos*) |
| 14850 | lt_prog_compiler_static='-non_shared' |
| 14851 | ;; |
| 14852 | |
| 14853 | serenity*) |
| 14854 | ;; |
| 14855 | |
| 14856 | solaris*) |
| 14857 | lt_prog_compiler_pic='-KPIC' |
| 14858 | lt_prog_compiler_static='-Bstatic' |
| 14859 | case $cc_basename in |
| 14860 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 14861 | lt_prog_compiler_wl='-Qoption ld ';; |
| 14862 | *) |
| 14863 | lt_prog_compiler_wl='-Wl,';; |
| 14864 | esac |
| 14865 | ;; |
| 14866 | |
| 14867 | sunos4*) |
| 14868 | lt_prog_compiler_wl='-Qoption ld ' |
| 14869 | lt_prog_compiler_pic='-PIC' |
| 14870 | lt_prog_compiler_static='-Bstatic' |
| 14871 | ;; |
| 14872 | |
| 14873 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 14874 | lt_prog_compiler_wl='-Wl,' |
| 14875 | lt_prog_compiler_pic='-KPIC' |
| 14876 | lt_prog_compiler_static='-Bstatic' |
| 14877 | ;; |
| 14878 | |
| 14879 | sysv4*MP*) |
| 14880 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 14881 | lt_prog_compiler_pic='-Kconform_pic' |
| 14882 | lt_prog_compiler_static='-Bstatic' |
| 14883 | fi |
| 14884 | ;; |
| 14885 | |
| 14886 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 14887 | lt_prog_compiler_wl='-Wl,' |
| 14888 | lt_prog_compiler_pic='-KPIC' |
| 14889 | lt_prog_compiler_static='-Bstatic' |
| 14890 | ;; |
| 14891 | |
| 14892 | unicos*) |
| 14893 | lt_prog_compiler_wl='-Wl,' |
| 14894 | lt_prog_compiler_can_build_shared=no |
| 14895 | ;; |
| 14896 | |
| 14897 | uts4*) |
| 14898 | lt_prog_compiler_pic='-pic' |
| 14899 | lt_prog_compiler_static='-Bstatic' |
| 14900 | ;; |
| 14901 | |
| 14902 | *) |
| 14903 | lt_prog_compiler_can_build_shared=no |
| 14904 | ;; |
| 14905 | esac |
| 14906 | fi |
| 14907 | |
| 14908 | case $host_os in |
| 14909 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 14910 | *djgpp*) |
| 14911 | lt_prog_compiler_pic= |
| 14912 | ;; |
| 14913 | *) |
| 14914 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 14915 | ;; |
| 14916 | esac |
| 14917 | |
| 14918 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 14919 | printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; } |
| 14920 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y} |
| 14921 | then : |
| 14922 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14923 | else case e in #( |
| 14924 | e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 14925 | esac |
| 14926 | fi |
| 14927 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 14928 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 14929 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 14930 | |
| 14931 | # |
| 14932 | # Check to make sure the PIC flag actually works. |
| 14933 | # |
| 14934 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 14935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 14936 | printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 14937 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y} |
| 14938 | then : |
| 14939 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14940 | else case e in #( |
| 14941 | e) lt_cv_prog_compiler_pic_works=no |
| 14942 | ac_outfile=conftest.$ac_objext |
| 14943 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14944 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 14945 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14946 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14947 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14948 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14949 | # The option is referenced via a variable to avoid confusing sed. |
| 14950 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 14951 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14952 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14953 | -e 's:$: $lt_compiler_flag:'` |
| 14954 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14955 | (eval "$lt_compile" 2>conftest.err) |
| 14956 | ac_status=$? |
| 14957 | catscip-shell system . . cat. conftest.err >&5 |
| 14958 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14959 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 14960 | # The compiler can only warn and ignore the option if not recognized |
| 14961 | # So say no if there are warnings other than the usual output. |
| 14962 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 14963 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 14964 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 14965 | lt_cv_prog_compiler_pic_works=yes |
| 14966 | fi |
| 14967 | fi |
| 14968 | $RM conftest* |
| 14969 | ;; |
| 14970 | esac |
| 14971 | fi |
| 14972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 14973 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 14974 | |
| 14975 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then |
| 14976 | case $lt_prog_compiler_pic in |
| 14977 | "" | " "*) ;; |
| 14978 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 14979 | esac |
| 14980 | else |
| 14981 | lt_prog_compiler_pic= |
| 14982 | lt_prog_compiler_can_build_shared=no |
| 14983 | fi |
| 14984 | |
| 14985 | fi |
| 14986 | |
| 14987 | |
| 14988 | |
| 14989 | |
| 14990 | |
| 14991 | # |
| 14992 | # Check to make sure the static flag actually works. |
| 14993 | # |
| 14994 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 14995 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 14996 | printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 14997 | if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y} |
| 14998 | then : |
| 14999 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15000 | else case e in #( |
| 15001 | e) lt_cv_prog_compiler_static_works=no |
| 15002 | save_LDFLAGS=$LDFLAGS |
| 15003 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 15004 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 15005 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 15006 | # The linker can only warn and ignore the option if not recognized |
| 15007 | # So say no if there are warnings |
| 15008 | if testscip-shell system . . test. -s conftest.err; then |
| 15009 | # Append any errors to the config.log. |
| 15010 | catscip-shell system . . cat. conftest.err 1>&5 |
| 15011 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 15012 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 15013 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15014 | lt_cv_prog_compiler_static_works=yes |
| 15015 | fi |
| 15016 | else |
| 15017 | lt_cv_prog_compiler_static_works=yes |
| 15018 | fi |
| 15019 | fi |
| 15020 | $RM -r conftest* |
| 15021 | LDFLAGS=$save_LDFLAGS |
| 15022 | ;; |
| 15023 | esac |
| 15024 | fi |
| 15025 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 15026 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 15027 | |
| 15028 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then |
| 15029 | : |
| 15030 | else |
| 15031 | lt_prog_compiler_static= |
| 15032 | fi |
| 15033 | |
| 15034 | |
| 15035 | |
| 15036 | ='-fPIC' |
| 15037 | archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' |
| 15038 | 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' |
| 15039 | archive_cmds_need_lc=no |
| 15040 | no_undefined_flag= |
| 15041 | ;; |
| 15042 | |
| 15043 | *) |
| 15044 | dynamic_linker=no |
| 15045 | ;; |
| 15046 | esac |
| 15047 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 15048 | printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; } |
| 15049 | testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no |
| 15050 | |
| 15051 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 15052 | if testscip-shell system . . test. yes = "$GCC"; then |
| 15053 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 15054 | fi |
| 15055 | |
| 15056 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 15057 | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 15058 | fi |
| 15059 | |
| 15060 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 15061 | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 15062 | fi |
| 15063 | |
| 15064 | # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 15065 | configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 15066 | |
| 15067 | # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 15068 | func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 15069 | |
| 15070 | # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 15071 | configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 15072 | |
| 15073 | |
| 15074 | |
| 15075 | |
| 15076 | |
| 15077 | |
| 15078 | |
| 15079 | |
| 15080 | |
| 15081 | |
| 15082 | |
| 15083 | |
| 15084 | |
| 15085 | |
| 15086 | |
| 15087 | |
| 15088 | |
| 15089 | |
| 15090 | |
| 15091 | |
| 15092 | |
| 15093 | |
| 15094 | |
| 15095 | |
| 15096 | |
| 15097 | |
| 15098 | |
| 15099 | |
| 15100 | |
| 15101 | |
| 15102 | |
| 15103 | |
| 15104 | |
| 15105 | |
| 15106 | |
| 15107 | |
| 15108 | |
| 15109 | |
| 15110 | |
| 15111 | |
| 15112 | |
| 15113 | |
| 15114 | |
| 15115 | |
| 15116 | |
| 15117 | |
| 15118 | |
| 15119 | |
| 15120 | |
| 15121 | |
| 15122 | |
| 15123 | |
| 15124 | |
| 15125 | |
| 15126 | |
| 15127 | |
| 15128 | |
| 15129 | |
| 15130 | |
| 15131 | |
| 15132 | |
| 15133 | |
| 15134 | |
| 15135 | |
| 15136 | |
| 15137 | |
| 15138 | |
| 15139 | |
| 15140 | |
| 15141 | |
| 15142 | |
| 15143 | |
| 15144 | |
| 15145 | |
| 15146 | |
| 15147 | |
| 15148 | |
| 15149 | |
| 15150 | |
| 15151 | |
| 15152 | |
| 15153 | |
| 15154 | |
| 15155 | |
| 15156 | |
| 15157 | |
| 15158 | |
| 15159 | |
| 15160 | |
| 15161 | |
| 15162 | |
| 15163 | |
| 15164 | |
| 15165 | |
| 15166 | |
| 15167 | |
| 15168 | |
| 15169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 15170 | printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; } |
| 15171 | hardcode_action= |
| 15172 | if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" || |
| 15173 | testscip-shell system . . test. -n "$runpath_var" || |
| 15174 | testscip-shell system . . test. yes = "$hardcode_automatic"; then |
| 15175 | |
| 15176 | # We can hardcode non-existent directories. |
| 15177 | if testscip-shell system . . test. no != "$hardcode_direct" && |
| 15178 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 15179 | # have to relink, otherwise we might link with an installed library |
| 15180 | # when we should be linking with a yet-to-be-installed one |
| 15181 | ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
| 15182 | testscip-shell system . . test. no != "$hardcode_minus_L"; then |
| 15183 | # Linking always hardcodes the temporary library directory. |
| 15184 | hardcode_action=relink |
| 15185 | else |
| 15186 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 15187 | hardcode_action=immediate |
| 15188 | fi |
| 15189 | else |
| 15190 | # We cannot hardcode anything, or else we can only hardcode existing |
| 15191 | # directories. |
| 15192 | hardcode_action=unsupported |
| 15193 | fi |
| 15194 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 15195 | printfscip-shell system . . printf. "%s\n" "$hardcode_action" >&6; } |
| 15196 | |
| 15197 | if testscip-shell system . . test. relink = "$hardcode_action" || |
| 15198 | testscip-shell system . . test. yes = "$inherit_rpath"; then |
| 15199 | # Fast installation is not supported |
| 15200 | enable_fast_install=no |
| 15201 | elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" || |
| 15202 | testscip-shell system . . test. no = "$enable_shared"; then |
| 15203 | # Fast installation is not necessary |
| 15204 | enable_fast_install=needless |
| 15205 | fi |
| 15206 | |
| 15207 | |
| 15208 | |
| 15209 | |
| 15210 | |
| 15211 | |
| 15212 | if testscip-shell system . . test. yes != "$enable_dlopen"; then |
| 15213 | enable_dlopen=unknown |
| 15214 | enable_dlopen_self=unknown |
| 15215 | enable_dlopen_self_static=unknown |
| 15216 | else |
| 15217 | lt_cv_dlopen=no |
| 15218 | lt_cv_dlopen_libs= |
| 15219 | |
| 15220 | case $host_os in |
| 15221 | beos*) |
| 15222 | lt_cv_dlopen=load_add_on |
| 15223 | lt_cv_dlopen_libs= |
| 15224 | lt_cv_dlopen_self=yes |
| 15225 | ;; |
| 15226 | |
| 15227 | mingw* | windows* | pw32* | cegcc*) |
| 15228 | lt_cv_dlopen=LoadLibrary |
| 15229 | lt_cv_dlopen_libs= |
| 15230 | ;; |
| 15231 | |
| 15232 | cygwin*) |
| 15233 | lt_cv_dlopen=dlopen |
| 15234 | lt_cv_dlopen_libs= |
| 15235 | ;; |
| 15236 | |
| 15237 | darwin*) |
| 15238 | # if libdl is installed we need to link against it |
| 15239 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 15240 | printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; } |
| 15241 | if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y} |
| 15242 | then : |
| 15243 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15244 | else case e in #( |
| 15245 | e) ac_check_lib_save_LIBS=$LIBS |
| 15246 | LIBS="-ldl $LIBS" |
| 15247 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15248 | /* end confdefs.h. */ |
| 15249 | |
| 15250 | /* Override any GCC internal prototype to avoid an error. |
| 15251 | Use char because int might match the return type of a GCC |
| 15252 | builtin and then its argument prototype would still apply. |
| 15253 | The 'extern "C"' is for builds by C++ compilers; |
| 15254 | although this is not generally supported in C code supporting it here |
| 15255 | has little cost and some practical benefit (sr 110532). */ |
| 15256 | #ifdef __cplusplus |
| 15257 | extern "C" |
| 15258 | #endif |
| 15259 | char dlopen (void); |
| 15260 | int |
| 15261 | main (void) |
| 15262 | { |
| 15263 | return dlopen (); |
| 15264 | ; |
| 15265 | return 0; |
| 15266 | } |
| 15267 | _ACEOF |
| 15268 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 15269 | then : |
| 15270 | ac_cv_lib_dl_dlopen=yes |
| 15271 | else case e in #( |
| 15272 | e) ac_cv_lib_dl_dlopen=no ;; |
| 15273 | esac |
| 15274 | fi |
| 15275 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15276 | conftest$ac_exeext conftest.$ac_ext |
| 15277 | LIBS=$ac_check_lib_save_LIBS ;; |
| 15278 | esac |
| 15279 | fi |
| 15280 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 15281 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 15282 | if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes |
| 15283 | then : |
| 15284 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 15285 | else case e in #( |
| 15286 | e) |
| 15287 | lt_cv_dlopen=dyld |
| 15288 | lt_cv_dlopen_libs= |
| 15289 | lt_cv_dlopen_self=yes |
| 15290 | ;; |
| 15291 | esac |
| 15292 | fi |
| 15293 | |
| 15294 | ;; |
| 15295 | |
| 15296 | tpf*) |
| 15297 | # Don't try to run any link tests for TPF. We know it's impossible |
| 15298 | # because TPF is a cross-compiler, and we know how we open DSOs. |
| 15299 | lt_cv_dlopen=dlopen |
| 15300 | lt_cv_dlopen_libs= |
| 15301 | lt_cv_dlopen_self=no |
| 15302 | ;; |
| 15303 | |
| 15304 | *) |
| 15305 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 15306 | if testscip-shell system . . test. "x$ac_cv_func_shl_load" = xyes |
| 15307 | then : |
| 15308 | lt_cv_dlopen=shl_load |
| 15309 | else case e in #( |
| 15310 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 15311 | printfscip-shell system . . printf. %s "checking for shl_load in -ldld... " >&6; } |
| 15312 | if testscip-shell system . . test. ${ac_cv_lib_dld_shl_load+y} |
| 15313 | then : |
| 15314 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15315 | else case e in #( |
| 15316 | e) ac_check_lib_save_LIBS=$LIBS |
| 15317 | LIBS="-ldld $LIBS" |
| 15318 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15319 | /* end confdefs.h. */ |
| 15320 | |
| 15321 | /* Override any GCC internal prototype to avoid an error. |
| 15322 | Use char because int might match the return type of a GCC |
| 15323 | builtin and then its argument prototype would still apply. |
| 15324 | The 'extern "C"' is for builds by C++ compilers; |
| 15325 | although this is not generally supported in C code supporting it here |
| 15326 | has little cost and some practical benefit (sr 110532). */ |
| 15327 | #ifdef __cplusplus |
| 15328 | extern "C" |
| 15329 | #endif |
| 15330 | char shl_load (void); |
| 15331 | int |
| 15332 | main (void) |
| 15333 | { |
| 15334 | return shl_load (); |
| 15335 | ; |
| 15336 | return 0; |
| 15337 | } |
| 15338 | _ACEOF |
| 15339 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 15340 | then : |
| 15341 | ac_cv_lib_dld_shl_load=yes |
| 15342 | else case e in #( |
| 15343 | e) ac_cv_lib_dld_shl_load=no ;; |
| 15344 | esac |
| 15345 | fi |
| 15346 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15347 | conftest$ac_exeext conftest.$ac_ext |
| 15348 | LIBS=$ac_check_lib_save_LIBS ;; |
| 15349 | esac |
| 15350 | fi |
| 15351 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 15352 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 15353 | if testscip-shell system . . test. "x$ac_cv_lib_dld_shl_load" = xyes |
| 15354 | then : |
| 15355 | lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 15356 | else case e in #( |
| 15357 | e) ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 15358 | if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes |
| 15359 | then : |
| 15360 | lt_cv_dlopen=dlopen |
| 15361 | else case e in #( |
| 15362 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 15363 | printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; } |
| 15364 | if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y} |
| 15365 | then : |
| 15366 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15367 | else case e in #( |
| 15368 | e) ac_check_lib_save_LIBS=$LIBS |
| 15369 | LIBS="-ldl $LIBS" |
| 15370 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15371 | /* end confdefs.h. */ |
| 15372 | |
| 15373 | /* Override any GCC internal prototype to avoid an error. |
| 15374 | Use char because int might match the return type of a GCC |
| 15375 | builtin and then its argument prototype would still apply. |
| 15376 | The 'extern "C"' is for builds by C++ compilers; |
| 15377 | although this is not generally supported in C code supporting it here |
| 15378 | has little cost and some practical benefit (sr 110532). */ |
| 15379 | #ifdef __cplusplus |
| 15380 | extern "C" |
| 15381 | #endif |
| 15382 | char dlopen (void); |
| 15383 | int |
| 15384 | main (void) |
| 15385 | { |
| 15386 | return dlopen (); |
| 15387 | ; |
| 15388 | return 0; |
| 15389 | } |
| 15390 | _ACEOF |
| 15391 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 15392 | then : |
| 15393 | ac_cv_lib_dl_dlopen=yes |
| 15394 | else case e in #( |
| 15395 | e) ac_cv_lib_dl_dlopen=no ;; |
| 15396 | esac |
| 15397 | fi |
| 15398 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15399 | conftest$ac_exeext conftest.$ac_ext |
| 15400 | LIBS=$ac_check_lib_save_LIBS ;; |
| 15401 | esac |
| 15402 | fi |
| 15403 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 15404 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 15405 | if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes |
| 15406 | then : |
| 15407 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 15408 | else case e in #( |
| 15409 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 15410 | printfscip-shell system . . printf. %s "checking for dlopen in -lsvld... " >&6; } |
| 15411 | if testscip-shell system . . test. ${ac_cv_lib_svld_dlopen+y} |
| 15412 | then : |
| 15413 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15414 | else case e in #( |
| 15415 | e) ac_check_lib_save_LIBS=$LIBS |
| 15416 | LIBS="-lsvld $LIBS" |
| 15417 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15418 | /* end confdefs.h. */ |
| 15419 | |
| 15420 | /* Override any GCC internal prototype to avoid an error. |
| 15421 | Use char because int might match the return type of a GCC |
| 15422 | builtin and then its argument prototype would still apply. |
| 15423 | The 'extern "C"' is for builds by C++ compilers; |
| 15424 | although this is not generally supported in C code supporting it here |
| 15425 | has little cost and some practical benefit (sr 110532). */ |
| 15426 | #ifdef __cplusplus |
| 15427 | extern "C" |
| 15428 | #endif |
| 15429 | char dlopen (void); |
| 15430 | int |
| 15431 | main (void) |
| 15432 | { |
| 15433 | return dlopen (); |
| 15434 | ; |
| 15435 | return 0; |
| 15436 | } |
| 15437 | _ACEOF |
| 15438 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 15439 | then : |
| 15440 | ac_cv_lib_svld_dlopen=yes |
| 15441 | else case e in #( |
| 15442 | e) ac_cv_lib_svld_dlopen=no ;; |
| 15443 | esac |
| 15444 | fi |
| 15445 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15446 | conftest$ac_exeext conftest.$ac_ext |
| 15447 | LIBS=$ac_check_lib_save_LIBS ;; |
| 15448 | esac |
| 15449 | fi |
| 15450 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 15451 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 15452 | if testscip-shell system . . test. "x$ac_cv_lib_svld_dlopen" = xyes |
| 15453 | then : |
| 15454 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 15455 | else case e in #( |
| 15456 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 15457 | printfscip-shell system . . printf. %s "checking for dld_link in -ldld... " >&6; } |
| 15458 | if testscip-shell system . . test. ${ac_cv_lib_dld_dld_link+y} |
| 15459 | then : |
| 15460 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15461 | else case e in #( |
| 15462 | e) ac_check_lib_save_LIBS=$LIBS |
| 15463 | LIBS="-ldld $LIBS" |
| 15464 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15465 | /* end confdefs.h. */ |
| 15466 | |
| 15467 | /* Override any GCC internal prototype to avoid an error. |
| 15468 | Use char because int might match the return type of a GCC |
| 15469 | builtin and then its argument prototype would still apply. |
| 15470 | The 'extern "C"' is for builds by C++ compilers; |
| 15471 | although this is not generally supported in C code supporting it here |
| 15472 | has little cost and some practical benefit (sr 110532). */ |
| 15473 | #ifdef __cplusplus |
| 15474 | extern "C" |
| 15475 | #endif |
| 15476 | char dld_link (void); |
| 15477 | int |
| 15478 | main (void) |
| 15479 | { |
| 15480 | return dld_link (); |
| 15481 | ; |
| 15482 | return 0; |
| 15483 | } |
| 15484 | _ACEOF |
| 15485 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 15486 | then : |
| 15487 | ac_cv_lib_dld_dld_link=yes |
| 15488 | else case e in #( |
| 15489 | e) ac_cv_lib_dld_dld_link=no ;; |
| 15490 | esac |
| 15491 | fi |
| 15492 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15493 | conftest$ac_exeext conftest.$ac_ext |
| 15494 | LIBS=$ac_check_lib_save_LIBS ;; |
| 15495 | esac |
| 15496 | fi |
| 15497 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 15498 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 15499 | if testscip-shell system . . test. "x$ac_cv_lib_dld_dld_link" = xyes |
| 15500 | then : |
| 15501 | lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 15502 | fi |
| 15503 | |
| 15504 | ;; |
| 15505 | esac |
| 15506 | fi |
| 15507 | |
| 15508 | ;; |
| 15509 | esac |
| 15510 | fi |
| 15511 | |
| 15512 | ;; |
| 15513 | esac |
| 15514 | fi |
| 15515 | |
| 15516 | ;; |
| 15517 | esac |
| 15518 | fi |
| 15519 | |
| 15520 | ;; |
| 15521 | esac |
| 15522 | fi |
| 15523 | |
| 15524 | ;; |
| 15525 | esac |
| 15526 | |
| 15527 | if testscip-shell system . . test. no = "$lt_cv_dlopen"; then |
| 15528 | enable_dlopen=no |
| 15529 | else |
| 15530 | enable_dlopen=yes |
| 15531 | fi |
| 15532 | |
| 15533 | case $lt_cv_dlopen in |
| 15534 | dlopen) |
| 15535 | save_CPPFLAGS=$CPPFLAGS |
| 15536 | testscip-shell system . . test. yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 15537 | |
| 15538 | save_LDFLAGS=$LDFLAGS |
| 15539 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 15540 | |
| 15541 | save_LIBS=$LIBS |
| 15542 | LIBS="$lt_cv_dlopen_libs $LIBS" |
| 15543 | |
| 15544 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 15545 | printfscip-shell system . . printf. %s "checking whether a program can dlopen itself... " >&6; } |
| 15546 | if testscip-shell system . . test. ${lt_cv_dlopen_self+y} |
| 15547 | then : |
| 15548 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15549 | else case e in #( |
| 15550 | e) if testscip-shell system . . test. yes = "$cross_compiling"; then : |
| 15551 | lt_cv_dlopen_self=cross |
| 15552 | else |
| 15553 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 15554 | lt_status=$lt_dlunknown |
| 15555 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 15556 | #line $LINENO "configure" |
| 15557 | #include "confdefs.h" |
| 15558 | |
| 15559 | #if HAVE_DLFCN_H |
| 15560 | #include <dlfcn.h> |
| 15561 | #endif |
| 15562 | |
| 15563 | #include <stdio.h> |
| 15564 | |
| 15565 | #ifdef RTLD_GLOBAL |
| 15566 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 15567 | #else |
| 15568 | # ifdef DL_GLOBAL |
| 15569 | # define LT_DLGLOBAL DL_GLOBAL |
| 15570 | # else |
| 15571 | # define LT_DLGLOBAL 0 |
| 15572 | # endif |
| 15573 | #endif |
| 15574 | |
| 15575 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 15576 | find out it does not work in some platform. */ |
| 15577 | #ifndef LT_DLLAZY_OR_NOW |
| 15578 | # ifdef RTLD_LAZY |
| 15579 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 15580 | # else |
| 15581 | # ifdef DL_LAZY |
| 15582 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 15583 | # else |
| 15584 | # ifdef RTLD_NOW |
| 15585 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 15586 | # else |
| 15587 | # ifdef DL_NOW |
| 15588 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 15589 | # else |
| 15590 | # define LT_DLLAZY_OR_NOW 0 |
| 15591 | # endif |
| 15592 | # endif |
| 15593 | # endif |
| 15594 | # endif |
| 15595 | #endif |
| 15596 | |
| 15597 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 15598 | correspondingly for the symbols needed. */ |
| 15599 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 15600 | int fnord (void) __attribute__((visibility("default"))); |
| 15601 | #endif |
| 15602 | |
| 15603 | int fnord (void) { return 42; } |
| 15604 | int main (void) |
| 15605 | { |
| 15606 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 15607 | int status = $lt_dlunknown; |
| 15608 | |
| 15609 | if (self) |
| 15610 | { |
| 15611 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 15612 | else |
| 15613 | { |
| 15614 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 15615 | else puts (dlerror ()); |
| 15616 | } |
| 15617 | /* dlclose (self); */ |
| 15618 | } |
| 15619 | else |
| 15620 | puts (dlerror ()); |
| 15621 | |
| 15622 | return status; |
| 15623 | } |
| 15624 | _LT_EOF |
| 15625 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 15626 | (eval $ac_link) 2>&5 |
| 15627 | ac_status=$? |
| 15628 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15629 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15630 | (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 15631 | lt_status=$? |
| 15632 | case x$lt_status in |
| 15633 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 15634 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 15635 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 15636 | esac |
| 15637 | else : |
| 15638 | # compilation failed |
| 15639 | lt_cv_dlopen_self=no |
| 15640 | fi |
| 15641 | fi |
| 15642 | rmscip-shell system . . rm. -fr conftest* |
| 15643 | |
| 15644 | ;; |
| 15645 | esac |
| 15646 | fi |
| 15647 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 15648 | printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 15649 | |
| 15650 | if testscip-shell system . . test. yes = "$lt_cv_dlopen_self"; then |
| 15651 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 15652 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 15653 | printfscip-shell system . . printf. %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 15654 | if testscip-shell system . . test. ${lt_cv_dlopen_self_static+y} |
| 15655 | then : |
| 15656 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15657 | else case e in #( |
| 15658 | e) if testscip-shell system . . test. yes = "$cross_compiling"; then : |
| 15659 | lt_cv_dlopen_self_static=cross |
| 15660 | else |
| 15661 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 15662 | lt_status=$lt_dlunknown |
| 15663 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 15664 | #line $LINENO "configure" |
| 15665 | #include "confdefs.h" |
| 15666 | |
| 15667 | #if HAVE_DLFCN_H |
| 15668 | #include <dlfcn.h> |
| 15669 | #endif |
| 15670 | |
| 15671 | #include <stdio.h> |
| 15672 | |
| 15673 | #ifdef RTLD_GLOBAL |
| 15674 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 15675 | #else |
| 15676 | # ifdef DL_GLOBAL |
| 15677 | # define LT_DLGLOBAL DL_GLOBAL |
| 15678 | # else |
| 15679 | # define LT_DLGLOBAL 0 |
| 15680 | # endif |
| 15681 | #endif |
| 15682 | |
| 15683 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 15684 | find out it does not work in some platform. */ |
| 15685 | #ifndef LT_DLLAZY_OR_NOW |
| 15686 | # ifdef RTLD_LAZY |
| 15687 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 15688 | # else |
| 15689 | # ifdef DL_LAZY |
| 15690 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 15691 | # else |
| 15692 | # ifdef RTLD_NOW |
| 15693 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 15694 | # else |
| 15695 | # ifdef DL_NOW |
| 15696 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 15697 | # else |
| 15698 | # define LT_DLLAZY_OR_NOW 0 |
| 15699 | # endif |
| 15700 | # endif |
| 15701 | # endif |
| 15702 | # endif |
| 15703 | #endif |
| 15704 | |
| 15705 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 15706 | correspondingly for the symbols needed. */ |
| 15707 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 15708 | int fnord (void) __attribute__((visibility("default"))); |
| 15709 | #endif |
| 15710 | |
| 15711 | int fnord (void) { return 42; } |
| 15712 | int main (void) |
| 15713 | { |
| 15714 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 15715 | int status = $lt_dlunknown; |
| 15716 | |
| 15717 | if (self) |
| 15718 | { |
| 15719 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 15720 | else |
| 15721 | { |
| 15722 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 15723 | else puts (dlerror ()); |
| 15724 | } |
| 15725 | /* dlclose (self); */ |
| 15726 | } |
| 15727 | else |
| 15728 | puts (dlerror ()); |
| 15729 | |
| 15730 | return status; |
| 15731 | } |
| 15732 | _LT_EOF |
| 15733 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 15734 | (eval $ac_link) 2>&5 |
| 15735 | ac_status=$? |
| 15736 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15737 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15738 | (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 15739 | lt_status=$? |
| 15740 | case x$lt_status in |
| 15741 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 15742 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 15743 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 15744 | esac |
| 15745 | else : |
| 15746 | # compilation failed |
| 15747 | lt_cv_dlopen_self_static=no |
| 15748 | fi |
| 15749 | fi |
| 15750 | rmscip-shell system . . rm. -fr conftest* |
| 15751 | |
| 15752 | ;; |
| 15753 | esac |
| 15754 | fi |
| 15755 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 15756 | printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 15757 | fi |
| 15758 | |
| 15759 | CPPFLAGS=$save_CPPFLAGS |
| 15760 | LDFLAGS=$save_LDFLAGS |
| 15761 | LIBS=$save_LIBS |
| 15762 | ;; |
| 15763 | esac |
| 15764 | |
| 15765 | case $lt_cv_dlopen_self in |
| 15766 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 15767 | *) enable_dlopen_self=unknown ;; |
| 15768 | esac |
| 15769 | |
| 15770 | case $lt_cv_dlopen_self_static in |
| 15771 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 15772 | *) enable_dlopen_self_static=unknown ;; |
| 15773 | esac |
| 15774 | fi |
| 15775 | |
| 15776 | |
| 15777 | |
| 15778 | |
| 15779 | |
| 15780 | |
| 15781 | |
| 15782 | |
| 15783 | |
| 15784 | |
| 15785 | |
| 15786 | |
| 15787 | |
| 15788 | |
| 15789 | |
| 15790 | |
| 15791 | |
| 15792 | striplib= |
| 15793 | old_striplib= |
| 15794 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 15795 | printfscip-shell system . . printf. %s "checking whether stripping libraries is possible... " >&6; } |
| 15796 | if testscip-shell system . . test. -z "$STRIP"; then |
| 15797 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15798 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15799 | else |
| 15800 | if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15801 | old_striplib="$STRIP --strip-debug" |
| 15802 | striplib="$STRIP --strip-unneeded" |
| 15803 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15804 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15805 | else |
| 15806 | case $host_os in |
| 15807 | darwin*) |
| 15808 | # FIXME - insert some real tests, host_os isn't really good enough |
| 15809 | striplib="$STRIP -x" |
| 15810 | old_striplib="$STRIP -S" |
| 15811 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15812 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15813 | ;; |
| 15814 | freebsd*) |
| 15815 | if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15816 | old_striplib="$STRIP --strip-debug" |
| 15817 | striplib="$STRIP --strip-unneeded" |
| 15818 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15819 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15820 | else |
| 15821 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15822 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15823 | fi |
| 15824 | ;; |
| 15825 | *) |
| 15826 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15827 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15828 | ;; |
| 15829 | esac |
| 15830 | fi |
| 15831 | fi |
| 15832 | |
| 15833 | |
| 15834 | |
| 15835 | |
| 15836 | |
| 15837 | |
| 15838 | |
| 15839 | |
| 15840 | |
| 15841 | |
| 15842 | |
| 15843 | |
| 15844 | # Report what library types will actually be built |
| 15845 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 15846 | printfscip-shell system . . printf. %s "checking if libtool supports shared libraries... " >&6; } |
| 15847 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 15848 | printfscip-shell system . . printf. "%s\n" "$can_build_shared" >&6; } |
| 15849 | |
| 15850 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 15851 | printfscip-shell system . . printf. %s "checking whether to build shared libraries... " >&6; } |
| 15852 | testscip-shell system . . test. no = "$can_build_shared" && enable_shared=no |
| 15853 | |
| 15854 | # On AIX, shared libraries and static libraries use the same namespace, and |
| 15855 | # are all built from PIC. |
| 15856 | case $host_os in |
| 15857 | aix3*) |
| 15858 | testscip-shell system . . test. yes = "$enable_shared" && enable_static=no |
| 15859 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 15860 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 15861 | postinstall_cmds='$RANLIB $lib' |
| 15862 | fi |
| 15863 | ;; |
| 15864 | |
| 15865 | aix[4-9]*) |
| 15866 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 15867 | case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 15868 | yes,aix,yes) ;; # shared object as lib.so file only |
| 15869 | yes,svr4,*) ;; # shared object as lib.so archive member only |
| 15870 | yes,*) enable_static=no ;; # shared object in lib.a archive as well |
| 15871 | esac |
| 15872 | fi |
| 15873 | ;; |
| 15874 | esac |
| 15875 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 15876 | printfscip-shell system . . printf. "%s\n" "$enable_shared" >&6; } |
| 15877 | |
| 15878 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 15879 | printfscip-shell system . . printf. %s "checking whether to build static libraries... " >&6; } |
| 15880 | # Make sure either enable_shared or enable_static is yes. |
| 15881 | testscip-shell system . . test. yes = "$enable_shared" || enable_static=yes |
| 15882 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 15883 | printfscip-shell system . . printf. "%s\n" "$enable_static" >&6; } |
| 15884 | |
| 15885 | |
| 15886 | |
| 15887 | |
| 15888 | fi |
| 15889 | ac_ext=c |
| 15890 | ac_cpp='$CPP $CPPFLAGS' |
| 15891 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15892 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15893 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15894 | |
| 15895 | CC=$lt_save_CC |
| 15896 | |
| 15897 | if testscip-shell system . . test. -n "$CXX" && ( testscip-shell system . . test. no != "$CXX" && |
| 15898 | ( (testscip-shell system . . test. g++ = "$CXX" && `g++ -v >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1` ) || |
| 15899 | (testscip-shell system . . test. g++ != "$CXX"))); then |
| 15900 | ac_ext=cpp |
| 15901 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 15902 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15903 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15904 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 15905 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
| 15906 | printfscip-shell system . . printf. %s "checking how to run the C++ preprocessor... " >&6; } |
| 15907 | if testscip-shell system . . test. -z "$CXXCPP"; then |
| 15908 | if testscip-shell system . . test. ${ac_cv_prog_CXXCPP+y} |
| 15909 | then : |
| 15910 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15911 | else case e in #( |
| 15912 | e) # Double quotes because $CXX needs to be expanded |
| 15913 | for CXXCPP in "$CXX -E" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`. |
| 15914 | do |
| 15915 | ac_preproc_ok=false |
| 15916 | for ac_cxx_preproc_warn_flag in '' yes |
| 15917 | do |
| 15918 | # Use a header file that comes with gcc, so configuring glibc |
| 15919 | # with a fresh cross-compiler works. |
| 15920 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 15921 | # not just through cpp. "Syntax error" is here to catch this case. |
| 15922 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15923 | /* end confdefs.h. */ |
| 15924 | #include <limits.h> |
| 15925 | Syntax error |
| 15926 | _ACEOF |
| 15927 | if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO" |
| 15928 | then : |
| 15929 | |
| 15930 | else case e in #( |
| 15931 | e) # Broken: fails on valid input. |
| 15932 | continue ;; |
| 15933 | esac |
| 15934 | fi |
| 15935 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 15936 | |
| 15937 | # OK, works on sane cases. Now check whether nonexistent headers |
| 15938 | # can be detected and how. |
| 15939 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15940 | /* end confdefs.h. */ |
| 15941 | #include <ac_nonexistent.h> |
| 15942 | _ACEOF |
| 15943 | if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO" |
| 15944 | then : |
| 15945 | # Broken: success on invalid input. |
| 15946 | continue |
| 15947 | else case e in #( |
| 15948 | e) # Passes both tests. |
| 15949 | ac_preproc_ok=: |
| 15950 | break ;; |
| 15951 | esac |
| 15952 | fi |
| 15953 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 15954 | |
| 15955 | done |
| 15956 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 15957 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 15958 | if $ac_preproc_ok |
| 15959 | then : |
| 15960 | break |
| 15961 | fi |
| 15962 | |
| 15963 | done |
| 15964 | ac_cv_prog_CXXCPP=$CXXCPP |
| 15965 | ;; |
| 15966 | esac |
| 15967 | fi |
| 15968 | CXXCPP=$ac_cv_prog_CXXCPP |
| 15969 | else |
| 15970 | ac_cv_prog_CXXCPP=$CXXCPP |
| 15971 | fi |
| 15972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
| 15973 | printfscip-shell system . . printf. "%s\n" "$CXXCPP" >&6; } |
| 15974 | ac_preproc_ok=false |
| 15975 | for ac_cxx_preproc_warn_flag in '' yes |
| 15976 | do |
| 15977 | # Use a header file that comes with gcc, so configuring glibc |
| 15978 | # with a fresh cross-compiler works. |
| 15979 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 15980 | # not just through cpp. "Syntax error" is here to catch this case. |
| 15981 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15982 | /* end confdefs.h. */ |
| 15983 | #include <limits.h> |
| 15984 | Syntax error |
| 15985 | _ACEOF |
| 15986 | if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO" |
| 15987 | then : |
| 15988 | |
| 15989 | else case e in #( |
| 15990 | e) # Broken: fails on valid input. |
| 15991 | continue ;; |
| 15992 | esac |
| 15993 | fi |
| 15994 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 15995 | |
| 15996 | # OK, works on sane cases. Now check whether nonexistent headers |
| 15997 | # can be detected and how. |
| 15998 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15999 | /* end confdefs.h. */ |
| 16000 | #include <ac_nonexistent.h> |
| 16001 | _ACEOF |
| 16002 | if ac_fn_cxx_try_cppscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_cpp(). "$LINENO" |
| 16003 | then : |
| 16004 | # Broken: success on invalid input. |
| 16005 | continue |
| 16006 | else case e in #( |
| 16007 | e) # Passes both tests. |
| 16008 | ac_preproc_ok=: |
| 16009 | break ;; |
| 16010 | esac |
| 16011 | fi |
| 16012 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 16013 | |
| 16014 | done |
| 16015 | # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 16016 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 16017 | if $ac_preproc_ok |
| 16018 | then : |
| 16019 | |
| 16020 | else case e in #( |
| 16021 | e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 16022 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 16023 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 16024 | See 'config.log' for more details" "$LINENO" 5; } ;; |
| 16025 | esac |
| 16026 | fi |
| 16027 | |
| 16028 | ac_ext=c |
| 16029 | ac_cpp='$CPP $CPPFLAGS' |
| 16030 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 16031 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 16032 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 16033 | |
| 16034 | else |
| 16035 | _lt_caught_CXX_error=yes |
| 16036 | fi |
| 16037 | |
| 16038 | ac_ext=cpp |
| 16039 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 16040 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 16041 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 16042 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 16043 | |
| 16044 | archive_cmds_need_lc_CXX=no |
| 16045 | allow_undefined_flag_CXX= |
| 16046 | always_export_symbols_CXX=no |
| 16047 | archive_expsym_cmds_CXX= |
| 16048 | compiler_needs_object_CXX=no |
| 16049 | export_dynamic_flag_spec_CXX= |
| 16050 | hardcode_direct_CXX=no |
| 16051 | hardcode_direct_absolute_CXX=no |
| 16052 | hardcode_libdir_flag_spec_CXX= |
| 16053 | hardcode_libdir_separator_CXX= |
| 16054 | hardcode_minus_L_CXX=no |
| 16055 | hardcode_shlibpath_var_CXX=unsupported |
| 16056 | hardcode_automatic_CXX=no |
| 16057 | inherit_rpath_CXX=no |
| 16058 | module_cmds_CXX= |
| 16059 | module_expsym_cmds_CXX= |
| 16060 | link_all_deplibs_CXX=unknown |
| 16061 | old_archive_cmds_CXX=$old_archive_cmds |
| 16062 | reload_flag_CXX=$reload_flag |
| 16063 | reload_cmds_CXX=$reload_cmds |
| 16064 | no_undefined_flag_CXX= |
| 16065 | whole_archive_flag_spec_CXX= |
| 16066 | enable_shared_with_static_runtimes_CXX=no |
| 16067 | |
| 16068 | # Source file extension for C++ test sources. |
| 16069 | ac_ext=cpp |
| 16070 | |
| 16071 | # Object file extension for compiled C++ test sources. |
| 16072 | objext=o |
| 16073 | objext_CXX=$objext |
| 16074 | |
| 16075 | # No sense in running all these tests if we already determined that |
| 16076 | # the CXX compiler isn't working. Some variables (like enable_shared) |
| 16077 | # are currently assumed to apply to all compilers on this platform, |
| 16078 | # and will be corrupted by setting them based on a non-working compiler. |
| 16079 | if testscip-shell system . . test. yes != "$_lt_caught_CXX_error"; then |
| 16080 | # Code to be used in simple compile tests |
| 16081 | lt_simple_compile_test_code="int some_variable = 0;" |
| 16082 | |
| 16083 | # Code to be used in simple link tests |
| 16084 | lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
| 16085 | |
| 16086 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 16087 | |
| 16088 | |
| 16089 | |
| 16090 | |
| 16091 | |
| 16092 | |
| 16093 | # If no C compiler was specified, use CC. |
| 16094 | LTCC=${LTCC-"$CC"} |
| 16095 | |
| 16096 | # If no C compiler flags were specified, use CFLAGS. |
| 16097 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 16098 | |
| 16099 | # Allow CC to be a program name with arguments. |
| 16100 | compiler=$CC |
| 16101 | |
| 16102 | |
| 16103 | # save warnings/boilerplate of simple test code |
| 16104 | ac_outfile=conftest.$ac_objext |
| 16105 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 16106 | eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 16107 | _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 16108 | $RM conftest* |
| 16109 | |
| 16110 | ac_outfile=conftest.$ac_objext |
| 16111 | echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext |
| 16112 | eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 16113 | _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 16114 | $RM -r conftest* |
| 16115 | |
| 16116 | |
| 16117 | # Allow CC to be a program name with arguments. |
| 16118 | lt_save_CC=$CC |
| 16119 | lt_save_CFLAGS=$CFLAGS |
| 16120 | lt_save_LD=$LD |
| 16121 | lt_save_GCC=$GCC |
| 16122 | GCC=$GXX |
| 16123 | lt_save_with_gnu_ld=$with_gnu_ld |
| 16124 | lt_save_path_LD=$lt_cv_path_LD |
| 16125 | if testscip-shell system . . test. -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
| 16126 | lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
| 16127 | else |
| 16128 | $as_unset lt_cv_prog_gnu_ld |
| 16129 | fi |
| 16130 | if testscip-shell system . . test. -n "${lt_cv_path_LDCXX+set}"; then |
| 16131 | lt_cv_path_LD=$lt_cv_path_LDCXX |
| 16132 | else |
| 16133 | $as_unset lt_cv_path_LD |
| 16134 | fi |
| 16135 | testscip-shell system . . test. -z "${LDCXX+set}" || LD=$LDCXX |
| 16136 | CC=${CXX-"c++"} |
| 16137 | CFLAGS=$CXXFLAGS |
| 16138 | compiler=$CC |
| 16139 | compiler_CXX=$CC |
| 16140 | func_cc_basenamescip-shell shell shell-project 0.0.0 func_cc_basename(). $compiler |
| 16141 | cc_basename=$func_cc_basename_result |
| 16142 | |
| 16143 | |
| 16144 | if testscip-shell system . . test. -n "$compiler"; then |
| 16145 | # We don't want -fno-exception when compiling C++ code, so set the |
| 16146 | # no_builtin_flag separately |
| 16147 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16148 | lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
| 16149 | else |
| 16150 | lt_prog_compiler_no_builtin_flag_CXX= |
| 16151 | fi |
| 16152 | |
| 16153 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16154 | # Set up default GNU C++ configuration |
| 16155 | |
| 16156 | |
| 16157 | |
| 16158 | # Check whether --with-gnu-ld was given. |
| 16159 | if testscip-shell system . . test. ${with_gnu_ld+y} |
| 16160 | then : |
| 16161 | withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes |
| 16162 | else case e in #( |
| 16163 | e) with_gnu_ld=no ;; |
| 16164 | esac |
| 16165 | fi |
| 16166 | |
| 16167 | ac_prog=ld |
| 16168 | if testscip-shell system . . test. yes = "$GCC"; then |
| 16169 | # Check if gcc -print-prog-name=ld gives a path. |
| 16170 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 16171 | printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; } |
| 16172 | case $host in |
| 16173 | *-*-mingw* | *-*-windows*) |
| 16174 | # gcc leaves a trailing carriage return, which upsets mingw |
| 16175 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;; |
| 16176 | *) |
| 16177 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 16178 | esac |
| 16179 | case $ac_prog in |
| 16180 | # Accept absolute paths. |
| 16181 | [\\/]* | ?:[\\/]*) |
| 16182 | re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.' |
| 16183 | # Canonicalize the pathname of ld |
| 16184 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 16185 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do |
| 16186 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 16187 | done |
| 16188 | testscip-shell system . . test. -z "$LD" && LD=$ac_prog |
| 16189 | ;; |
| 16190 | "") |
| 16191 | # If it fails, then pretend we aren't using GCC. |
| 16192 | ac_prog=ld |
| 16193 | ;; |
| 16194 | *) |
| 16195 | # If it is relative, then search for the first ld in PATH. |
| 16196 | with_gnu_ld=unknown |
| 16197 | ;; |
| 16198 | esac |
| 16199 | elif testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 16200 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 16201 | printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; } |
| 16202 | else |
| 16203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 16204 | printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; } |
| 16205 | fi |
| 16206 | if testscip-shell system . . test. ${lt_cv_path_LD+y} |
| 16207 | then : |
| 16208 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16209 | else case e in #( |
| 16210 | e) if testscip-shell system . . test. -z "$LD"; then |
| 16211 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 16212 | for ac_dir in $PATH; do |
| 16213 | IFS=$lt_save_ifs |
| 16214 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 16215 | if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 16216 | lt_cv_path_LD=$ac_dir/$ac_prog |
| 16217 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 16218 | # but apparently some variants of GNU ld only accept -v. |
| 16219 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 16220 | case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 16221 | *GNU* | *'with BFD'*) |
| 16222 | testscip-shell system . . test. no != "$with_gnu_ld" && break |
| 16223 | ;; |
| 16224 | *) |
| 16225 | testscip-shell system . . test. yes != "$with_gnu_ld" && break |
| 16226 | ;; |
| 16227 | esac |
| 16228 | fi |
| 16229 | done |
| 16230 | IFS=$lt_save_ifs |
| 16231 | else |
| 16232 | lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 16233 | fi ;; |
| 16234 | esac |
| 16235 | fi |
| 16236 | |
| 16237 | LD=$lt_cv_path_LD |
| 16238 | if testscip-shell system . . test. -n "$LD"; then |
| 16239 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 16240 | printfscip-shell system . . printf. "%s\n" "$LD" >&6; } |
| 16241 | else |
| 16242 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16243 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 16244 | fi |
| 16245 | testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 16246 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 16247 | printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 16248 | if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y} |
| 16249 | then : |
| 16250 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16251 | else case e in #( |
| 16252 | e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 16253 | case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 16254 | *GNU* | *'with BFD'*) |
| 16255 | lt_cv_prog_gnu_ld=yes |
| 16256 | ;; |
| 16257 | *) |
| 16258 | lt_cv_prog_gnu_ld=no |
| 16259 | ;; |
| 16260 | esac ;; |
| 16261 | esac |
| 16262 | fi |
| 16263 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 16264 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 16265 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 16266 | |
| 16267 | |
| 16268 | |
| 16269 | |
| 16270 | |
| 16271 | |
| 16272 | |
| 16273 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 16274 | # archiving commands below assume that GNU ld is being used. |
| 16275 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 16276 | archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16277 | 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' |
| 16278 | |
| 16279 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 16280 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 16281 | |
| 16282 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 16283 | # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
| 16284 | # investigate it a little bit more. (MM) |
| 16285 | wlarc='$wl' |
| 16286 | |
| 16287 | # ancient GNU ld didn't support --whole-archive et. al. |
| 16288 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 16289 | whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 16290 | else |
| 16291 | whole_archive_flag_spec_CXX= |
| 16292 | fi |
| 16293 | else |
| 16294 | with_gnu_ld=no |
| 16295 | wlarc= |
| 16296 | |
| 16297 | # A generic and very simple default shared library creation |
| 16298 | # command for GNU C++ for the case where it uses the native |
| 16299 | # linker, instead of GNU ld. If possible, this setting should |
| 16300 | # overridden to take advantage of the native linker features on |
| 16301 | # the platform it is being used on. |
| 16302 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 16303 | fi |
| 16304 | |
| 16305 | # Commands to make compiler produce verbose output that lists |
| 16306 | # what "hidden" libraries, object files and flags are used when |
| 16307 | # linking a shared library. |
| 16308 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 16309 | |
| 16310 | else |
| 16311 | GXX=no |
| 16312 | with_gnu_ld=no |
| 16313 | wlarc= |
| 16314 | fi |
| 16315 | |
| 16316 | # PORTME: fill in a description of your system's C++ link characteristics |
| 16317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 16318 | printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 16319 | ld_shlibs_CXX=yes |
| 16320 | case $host_os in |
| 16321 | aix3*) |
| 16322 | # FIXME: insert proper C++ library support |
| 16323 | ld_shlibs_CXX=no |
| 16324 | ;; |
| 16325 | aix[4-9]*) |
| 16326 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 16327 | # On IA64, the linker does run time linking by default, so we don't |
| 16328 | # have to do anything special. |
| 16329 | aix_use_runtimelinking=no |
| 16330 | exp_sym_flag='-Bexport' |
| 16331 | no_entry_flag= |
| 16332 | else |
| 16333 | aix_use_runtimelinking=no |
| 16334 | |
| 16335 | # Test if we are trying to use run time linking or normal |
| 16336 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 16337 | # have runtime linking enabled, and use it for executables. |
| 16338 | # For shared libraries, we enable/disable runtime linking |
| 16339 | # depending on the kind of the shared library created - |
| 16340 | # when "with_aix_soname,aix_use_runtimelinking" is: |
| 16341 | # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 16342 | # "aix,yes" lib.so shared, rtl:yes, for executables |
| 16343 | # lib.a static archive |
| 16344 | # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 16345 | # lib.a(lib.so.V) shared, rtl:no, for executables |
| 16346 | # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 16347 | # lib.a(lib.so.V) shared, rtl:no |
| 16348 | # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 16349 | # lib.a static archive |
| 16350 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 16351 | for ld_flag in $LDFLAGS; do |
| 16352 | case $ld_flag in |
| 16353 | *-brtl*) |
| 16354 | aix_use_runtimelinking=yes |
| 16355 | break |
| 16356 | ;; |
| 16357 | esac |
| 16358 | done |
| 16359 | if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 16360 | # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 16361 | # so we don't have lib.a shared libs to link our executables. |
| 16362 | # We have to force runtime linking in this case. |
| 16363 | aix_use_runtimelinking=yes |
| 16364 | LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 16365 | fi |
| 16366 | ;; |
| 16367 | esac |
| 16368 | |
| 16369 | exp_sym_flag='-bexport' |
| 16370 | no_entry_flag='-bnoentry' |
| 16371 | fi |
| 16372 | |
| 16373 | # When large executables or shared objects are built, AIX ld can |
| 16374 | # have problems creating the table of contents. If linking a library |
| 16375 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 16376 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 16377 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 16378 | |
| 16379 | archive_cmds_CXX='' |
| 16380 | hardcode_direct_CXX=yes |
| 16381 | hardcode_direct_absolute_CXX=yes |
| 16382 | hardcode_libdir_separator_CXX=':' |
| 16383 | link_all_deplibs_CXX=yes |
| 16384 | file_list_spec_CXX='$wl-f,' |
| 16385 | case $with_aix_soname,$aix_use_runtimelinking in |
| 16386 | aix,*) ;; # no import file |
| 16387 | svr4,* | *,yes) # use import file |
| 16388 | # The Import File defines what to hardcode. |
| 16389 | hardcode_direct_CXX=no |
| 16390 | hardcode_direct_absolute_CXX=no |
| 16391 | ;; |
| 16392 | esac |
| 16393 | |
| 16394 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16395 | case $host_os in aix4.[012]|aix4.[012].*) |
| 16396 | # We only want to do this on AIX 4.2 and lower, the check |
| 16397 | # below for broken collect2 doesn't work under 4.3+ |
| 16398 | collect2name=`$CC -print-prog-name=collect2` |
| 16399 | if testscip-shell system . . test. -f "$collect2name" && |
| 16400 | stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 16401 | then |
| 16402 | # We have reworked collect2 |
| 16403 | : |
| 16404 | else |
| 16405 | # We have old collect2 |
| 16406 | hardcode_direct_CXX=unsupported |
| 16407 | # It fails to find uninstalled libraries when the uninstalled |
| 16408 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 16409 | # to unsupported forces relinking |
| 16410 | hardcode_minus_L_CXX=yes |
| 16411 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 16412 | hardcode_libdir_separator_CXX= |
| 16413 | fi |
| 16414 | esac |
| 16415 | shared_flag='-shared' |
| 16416 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 16417 | shared_flag=$shared_flag' $wl-G' |
| 16418 | fi |
| 16419 | # Need to ensure runtime linking is disabled for the traditional |
| 16420 | # shared library, or the linker may eventually find shared libraries |
| 16421 | # /with/ Import File - we do not want to mix them. |
| 16422 | shared_flag_aix='-shared' |
| 16423 | shared_flag_svr4='-shared $wl-G' |
| 16424 | else |
| 16425 | # not using gcc |
| 16426 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 16427 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 16428 | # chokes on -Wl,-G. The following line is correct: |
| 16429 | shared_flag='-G' |
| 16430 | else |
| 16431 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 16432 | shared_flag='$wl-G' |
| 16433 | else |
| 16434 | shared_flag='$wl-bM:SRE' |
| 16435 | fi |
| 16436 | shared_flag_aix='$wl-bM:SRE' |
| 16437 | shared_flag_svr4='$wl-G' |
| 16438 | fi |
| 16439 | fi |
| 16440 | |
| 16441 | export_dynamic_flag_spec_CXX='$wl-bexpall' |
| 16442 | # It seems that -bexpall does not export symbols beginning with |
| 16443 | # underscore (_), so it is better to generate a list of symbols to |
| 16444 | # export. |
| 16445 | always_export_symbols_CXX=yes |
| 16446 | if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 16447 | # Warning - without using the other runtime loading flags (-brtl), |
| 16448 | # -berok will link without error, but may produce a broken library. |
| 16449 | # The "-G" linker flag allows undefined symbols. |
| 16450 | no_undefined_flag_CXX='-bernotok' |
| 16451 | # Determine the default libpath from the value encoded in an empty |
| 16452 | # executable. |
| 16453 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 16454 | aix_libpath=$lt_cv_aix_libpath |
| 16455 | else |
| 16456 | if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y} |
| 16457 | then : |
| 16458 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16459 | else case e in #( |
| 16460 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16461 | /* end confdefs.h. */ |
| 16462 | |
| 16463 | int |
| 16464 | main (void) |
| 16465 | { |
| 16466 | |
| 16467 | ; |
| 16468 | return 0; |
| 16469 | } |
| 16470 | _ACEOF |
| 16471 | if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO" |
| 16472 | then : |
| 16473 | |
| 16474 | lt_aix_libpath_sed=' |
| 16475 | /Import File Strings/,/^$/ { |
| 16476 | /^0/ { |
| 16477 | s/^0 *\([^ ]*\) *$/\1/ |
| 16478 | p |
| 16479 | } |
| 16480 | }' |
| 16481 | lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 16482 | # Check for a 64-bit object if we didn't find anything. |
| 16483 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then |
| 16484 | lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 16485 | fi |
| 16486 | fi |
| 16487 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16488 | conftest$ac_exeext conftest.$ac_ext |
| 16489 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then |
| 16490 | lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 16491 | fi |
| 16492 | ;; |
| 16493 | esac |
| 16494 | fi |
| 16495 | |
| 16496 | aix_libpath=$lt_cv_aix_libpath__CXX |
| 16497 | fi |
| 16498 | |
| 16499 | hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" |
| 16500 | |
| 16501 | 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 |
| 16502 | else |
| 16503 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 16504 | hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' |
| 16505 | allow_undefined_flag_CXX="-z nodefs" |
| 16506 | 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" |
| 16507 | else |
| 16508 | # Determine the default libpath from the value encoded in an |
| 16509 | # empty executable. |
| 16510 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 16511 | aix_libpath=$lt_cv_aix_libpath |
| 16512 | else |
| 16513 | if testscip-shell system . . test. ${lt_cv_aix_libpath__CXX+y} |
| 16514 | then : |
| 16515 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16516 | else case e in #( |
| 16517 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16518 | /* end confdefs.h. */ |
| 16519 | |
| 16520 | int |
| 16521 | main (void) |
| 16522 | { |
| 16523 | |
| 16524 | ; |
| 16525 | return 0; |
| 16526 | } |
| 16527 | _ACEOF |
| 16528 | if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO" |
| 16529 | then : |
| 16530 | |
| 16531 | lt_aix_libpath_sed=' |
| 16532 | /Import File Strings/,/^$/ { |
| 16533 | /^0/ { |
| 16534 | s/^0 *\([^ ]*\) *$/\1/ |
| 16535 | p |
| 16536 | } |
| 16537 | }' |
| 16538 | lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 16539 | # Check for a 64-bit object if we didn't find anything. |
| 16540 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then |
| 16541 | lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 16542 | fi |
| 16543 | fi |
| 16544 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16545 | conftest$ac_exeext conftest.$ac_ext |
| 16546 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath__CXX"; then |
| 16547 | lt_cv_aix_libpath__CXX=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 16548 | fi |
| 16549 | ;; |
| 16550 | esac |
| 16551 | fi |
| 16552 | |
| 16553 | aix_libpath=$lt_cv_aix_libpath__CXX |
| 16554 | fi |
| 16555 | |
| 16556 | hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" |
| 16557 | # Warning - without using the other run time loading flags, |
| 16558 | # -berok will link without error, but may produce a broken library. |
| 16559 | no_undefined_flag_CXX=' $wl-bernotok' |
| 16560 | allow_undefined_flag_CXX=' $wl-berok' |
| 16561 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 16562 | # We only use this code for GNU lds that support --whole-archive. |
| 16563 | whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 16564 | else |
| 16565 | # Exported symbols can be pulled into shared objects from archives |
| 16566 | whole_archive_flag_spec_CXX='$convenience' |
| 16567 | fi |
| 16568 | archive_cmds_need_lc_CXX=yes |
| 16569 | archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 16570 | # -brtl affects multiple linker settings, -berok does not and is overridden later |
| 16571 | compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 16572 | if testscip-shell system . . test. svr4 != "$with_aix_soname"; then |
| 16573 | # This is similar to how AIX traditionally builds its shared |
| 16574 | # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. |
| 16575 | 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' |
| 16576 | fi |
| 16577 | if testscip-shell system . . test. aix != "$with_aix_soname"; then |
| 16578 | 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' |
| 16579 | else |
| 16580 | # used by -dlpreopen to get the symbols |
| 16581 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 16582 | fi |
| 16583 | archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' |
| 16584 | fi |
| 16585 | fi |
| 16586 | ;; |
| 16587 | |
| 16588 | beos*) |
| 16589 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 16590 | allow_undefined_flag_CXX=unsupported |
| 16591 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 16592 | # support --undefined. This deserves some investigation. FIXME |
| 16593 | archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16594 | else |
| 16595 | ld_shlibs_CXX=no |
| 16596 | fi |
| 16597 | ;; |
| 16598 | |
| 16599 | chorus*) |
| 16600 | case $cc_basename in |
| 16601 | *) |
| 16602 | # FIXME: insert proper C++ library support |
| 16603 | ld_shlibs_CXX=no |
| 16604 | ;; |
| 16605 | esac |
| 16606 | ;; |
| 16607 | |
| 16608 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 16609 | case $GXX,$cc_basename in |
| 16610 | ,cl* | no,cl* | ,icl* | no,icl*) |
| 16611 | # Native MSVC or ICC |
| 16612 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 16613 | # no search path for DLLs. |
| 16614 | hardcode_libdir_flag_spec_CXX=' ' |
| 16615 | allow_undefined_flag_CXX=unsupported |
| 16616 | always_export_symbols_CXX=yes |
| 16617 | file_list_spec_CXX='@' |
| 16618 | # Tell ltmain to make .lib files, not .a files. |
| 16619 | libext=lib |
| 16620 | # Tell ltmain to make .dll files, not .so files. |
| 16621 | shrext_cmds=.dll |
| 16622 | # FIXME: Setting linknames here is a bad hack. |
| 16623 | archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 16624 | archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 16625 | cp "$export_symbols" "$output_objdir/$soname.def"; |
| 16626 | echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 16627 | else |
| 16628 | $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 16629 | fi~ |
| 16630 | $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 16631 | linknames=' |
| 16632 | # The linker will not automatically build a static lib if we build a DLL. |
| 16633 | # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' |
| 16634 | enable_shared_with_static_runtimes_CXX=yes |
| 16635 | # Don't use ranlib |
| 16636 | old_postinstall_cmds_CXX='chmod 644 $oldlib' |
| 16637 | postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ |
| 16638 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 16639 | case $lt_outputfile in |
| 16640 | *.exe|*.EXE) ;; |
| 16641 | *) |
| 16642 | lt_outputfile=$lt_outputfile.exe |
| 16643 | lt_tool_outputfile=$lt_tool_outputfile.exe |
| 16644 | ;; |
| 16645 | esac~ |
| 16646 | func_to_tool_file "$lt_outputfile"~ |
| 16647 | if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 16648 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 16649 | $RM "$lt_outputfile.manifest"; |
| 16650 | fi' |
| 16651 | ;; |
| 16652 | *) |
| 16653 | # g++ |
| 16654 | # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
| 16655 | # as there is no search path for DLLs. |
| 16656 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 16657 | export_dynamic_flag_spec_CXX='$wl--export-all-symbols' |
| 16658 | allow_undefined_flag_CXX=unsupported |
| 16659 | always_export_symbols_CXX=no |
| 16660 | enable_shared_with_static_runtimes_CXX=yes |
| 16661 | file_list_spec_CXX='@' |
| 16662 | |
| 16663 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 16664 | 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' |
| 16665 | # If the export-symbols file already is a .def file, use it as |
| 16666 | # is; otherwise, prepend EXPORTS... |
| 16667 | archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 16668 | cp $export_symbols $output_objdir/$soname.def; |
| 16669 | else |
| 16670 | echo EXPORTS > $output_objdir/$soname.def; |
| 16671 | cat $export_symbols >> $output_objdir/$soname.def; |
| 16672 | fi~ |
| 16673 | $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' |
| 16674 | else |
| 16675 | ld_shlibs_CXX=no |
| 16676 | fi |
| 16677 | ;; |
| 16678 | esac |
| 16679 | ;; |
| 16680 | darwin* | rhapsody*) |
| 16681 | |
| 16682 | |
| 16683 | archive_cmds_need_lc_CXX=no |
| 16684 | hardcode_direct_CXX=no |
| 16685 | hardcode_automatic_CXX=yes |
| 16686 | hardcode_shlibpath_var_CXX=unsupported |
| 16687 | if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then |
| 16688 | 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\"`' |
| 16689 | |
| 16690 | else |
| 16691 | whole_archive_flag_spec_CXX='' |
| 16692 | fi |
| 16693 | link_all_deplibs_CXX=yes |
| 16694 | allow_undefined_flag_CXX=$_lt_dar_allow_undefined |
| 16695 | case $cc_basename in |
| 16696 | ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 16697 | *) _lt_dar_can_shared=$GCC ;; |
| 16698 | esac |
| 16699 | if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then |
| 16700 | output_verbose_link_cmd=func_echo_all |
| 16701 | 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" |
| 16702 | module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 16703 | 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" |
| 16704 | 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" |
| 16705 | if testscip-shell system . . test. yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then |
| 16706 | 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" |
| 16707 | 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" |
| 16708 | fi |
| 16709 | |
| 16710 | else |
| 16711 | ld_shlibs_CXX=no |
| 16712 | fi |
| 16713 | |
| 16714 | ;; |
| 16715 | |
| 16716 | os2*) |
| 16717 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 16718 | hardcode_minus_L_CXX=yes |
| 16719 | allow_undefined_flag_CXX=unsupported |
| 16720 | shrext_cmds=.dll |
| 16721 | archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16722 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16723 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16724 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16725 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 16726 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16727 | emximp -o $lib $output_objdir/$libname.def' |
| 16728 | archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16729 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16730 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16731 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16732 | prefix_cmds="$SED"~ |
| 16733 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 16734 | prefix_cmds="$prefix_cmds -e 1d"; |
| 16735 | fi~ |
| 16736 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 16737 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 16738 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16739 | emximp -o $lib $output_objdir/$libname.def' |
| 16740 | old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 16741 | enable_shared_with_static_runtimes_CXX=yes |
| 16742 | file_list_spec_CXX='@' |
| 16743 | ;; |
| 16744 | |
| 16745 | dgux*) |
| 16746 | case $cc_basename in |
| 16747 | ec++*) |
| 16748 | # FIXME: insert proper C++ library support |
| 16749 | ld_shlibs_CXX=no |
| 16750 | ;; |
| 16751 | ghcx*) |
| 16752 | # Green Hills C++ Compiler |
| 16753 | # FIXME: insert proper C++ library support |
| 16754 | ld_shlibs_CXX=no |
| 16755 | ;; |
| 16756 | *) |
| 16757 | # FIXME: insert proper C++ library support |
| 16758 | ld_shlibs_CXX=no |
| 16759 | ;; |
| 16760 | esac |
| 16761 | ;; |
| 16762 | |
| 16763 | freebsd2.*) |
| 16764 | # C++ shared libraries reported to be fairly broken before |
| 16765 | # switch to ELF |
| 16766 | ld_shlibs_CXX=no |
| 16767 | ;; |
| 16768 | |
| 16769 | freebsd-elf*) |
| 16770 | archive_cmds_need_lc_CXX=no |
| 16771 | ;; |
| 16772 | |
| 16773 | freebsd* | dragonfly* | midnightbsd*) |
| 16774 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
| 16775 | # conventions |
| 16776 | ld_shlibs_CXX=yes |
| 16777 | ;; |
| 16778 | |
| 16779 | haiku*) |
| 16780 | archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16781 | link_all_deplibs_CXX=no |
| 16782 | ;; |
| 16783 | |
| 16784 | hpux9*) |
| 16785 | hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' |
| 16786 | hardcode_libdir_separator_CXX=: |
| 16787 | export_dynamic_flag_spec_CXX='$wl-E' |
| 16788 | hardcode_direct_CXX=yes |
| 16789 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 16790 | # but as the default |
| 16791 | # location of the library. |
| 16792 | |
| 16793 | case $cc_basename in |
| 16794 | CC*) |
| 16795 | # FIXME: insert proper C++ library support |
| 16796 | ld_shlibs_CXX=no |
| 16797 | ;; |
| 16798 | aCC*) |
| 16799 | 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' |
| 16800 | # Commands to make compiler produce verbose output that lists |
| 16801 | # what "hidden" libraries, object files and flags are used when |
| 16802 | # linking a shared library. |
| 16803 | # |
| 16804 | # There doesn't appear to be a way to prevent this compiler from |
| 16805 | # explicitly linking system object files so we need to strip them |
| 16806 | # from the output so that they don't get included in the library |
| 16807 | # dependencies. |
| 16808 | 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"' |
| 16809 | ;; |
| 16810 | *) |
| 16811 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16812 | 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' |
| 16813 | else |
| 16814 | # FIXME: insert proper C++ library support |
| 16815 | ld_shlibs_CXX=no |
| 16816 | fi |
| 16817 | ;; |
| 16818 | esac |
| 16819 | ;; |
| 16820 | |
| 16821 | hpux10*|hpux11*) |
| 16822 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 16823 | hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' |
| 16824 | hardcode_libdir_separator_CXX=: |
| 16825 | |
| 16826 | case $host_cpu in |
| 16827 | hppa*64*|ia64*) |
| 16828 | ;; |
| 16829 | *) |
| 16830 | export_dynamic_flag_spec_CXX='$wl-E' |
| 16831 | ;; |
| 16832 | esac |
| 16833 | fi |
| 16834 | case $host_cpu in |
| 16835 | hppa*64*|ia64*) |
| 16836 | hardcode_direct_CXX=no |
| 16837 | hardcode_shlibpath_var_CXX=no |
| 16838 | ;; |
| 16839 | *) |
| 16840 | hardcode_direct_CXX=yes |
| 16841 | hardcode_direct_absolute_CXX=yes |
| 16842 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 16843 | # but as the default |
| 16844 | # location of the library. |
| 16845 | ;; |
| 16846 | esac |
| 16847 | |
| 16848 | case $cc_basename in |
| 16849 | CC*) |
| 16850 | # FIXME: insert proper C++ library support |
| 16851 | ld_shlibs_CXX=no |
| 16852 | ;; |
| 16853 | aCC*) |
| 16854 | case $host_cpu in |
| 16855 | hppa*64*) |
| 16856 | archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 16857 | ;; |
| 16858 | ia64*) |
| 16859 | archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 16860 | ;; |
| 16861 | *) |
| 16862 | archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 16863 | ;; |
| 16864 | esac |
| 16865 | # Commands to make compiler produce verbose output that lists |
| 16866 | # what "hidden" libraries, object files and flags are used when |
| 16867 | # linking a shared library. |
| 16868 | # |
| 16869 | # There doesn't appear to be a way to prevent this compiler from |
| 16870 | # explicitly linking system object files so we need to strip them |
| 16871 | # from the output so that they don't get included in the library |
| 16872 | # dependencies. |
| 16873 | 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"' |
| 16874 | ;; |
| 16875 | *) |
| 16876 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16877 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 16878 | case $host_cpu in |
| 16879 | hppa*64*) |
| 16880 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 16881 | ;; |
| 16882 | ia64*) |
| 16883 | archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 16884 | ;; |
| 16885 | *) |
| 16886 | 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' |
| 16887 | ;; |
| 16888 | esac |
| 16889 | fi |
| 16890 | else |
| 16891 | # FIXME: insert proper C++ library support |
| 16892 | ld_shlibs_CXX=no |
| 16893 | fi |
| 16894 | ;; |
| 16895 | esac |
| 16896 | ;; |
| 16897 | |
| 16898 | interix[3-9]*) |
| 16899 | hardcode_direct_CXX=no |
| 16900 | hardcode_shlibpath_var_CXX=no |
| 16901 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 16902 | export_dynamic_flag_spec_CXX='$wl-E' |
| 16903 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 16904 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 16905 | # default) and relocated if they conflict, which is a slow very memory |
| 16906 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 16907 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 16908 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 16909 | 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' |
| 16910 | 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' |
| 16911 | ;; |
| 16912 | irix5* | irix6*) |
| 16913 | case $cc_basename in |
| 16914 | CC*) |
| 16915 | # SGI C++ |
| 16916 | 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' |
| 16917 | |
| 16918 | # Archives containing C++ object files must be created using |
| 16919 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
| 16920 | # necessary to make sure instantiated templates are included |
| 16921 | # in the archive. |
| 16922 | old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
| 16923 | ;; |
| 16924 | *) |
| 16925 | if testscip-shell system . . test. yes = "$GXX"; then |
| 16926 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 16927 | 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' |
| 16928 | else |
| 16929 | 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' |
| 16930 | fi |
| 16931 | fi |
| 16932 | link_all_deplibs_CXX=yes |
| 16933 | ;; |
| 16934 | esac |
| 16935 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 16936 | hardcode_libdir_separator_CXX=: |
| 16937 | inherit_rpath_CXX=yes |
| 16938 | ;; |
| 16939 | |
| 16940 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 16941 | case $cc_basename in |
| 16942 | KCC*) |
| 16943 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 16944 | |
| 16945 | # KCC will only create a shared library if the output file |
| 16946 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 16947 | # to its proper name (with version) after linking. |
| 16948 | 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' |
| 16949 | 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' |
| 16950 | # Commands to make compiler produce verbose output that lists |
| 16951 | # what "hidden" libraries, object files and flags are used when |
| 16952 | # linking a shared library. |
| 16953 | # |
| 16954 | # There doesn't appear to be a way to prevent this compiler from |
| 16955 | # explicitly linking system object files so we need to strip them |
| 16956 | # from the output so that they don't get included in the library |
| 16957 | # dependencies. |
| 16958 | 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"' |
| 16959 | |
| 16960 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 16961 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 16962 | |
| 16963 | # Archives containing C++ object files must be created using |
| 16964 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
| 16965 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
| 16966 | ;; |
| 16967 | icpc* | ecpc* ) |
| 16968 | # Intel C++ |
| 16969 | with_gnu_ld=yes |
| 16970 | # version 8.0 and above of icpc choke on multiply defined symbols |
| 16971 | # if we add $predep_objects and $postdep_objects, however 7.1 and |
| 16972 | # earlier do not add the objects themselves. |
| 16973 | case `$CC -V 2>&1` in |
| 16974 | *"Version 7."*) |
| 16975 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16976 | 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' |
| 16977 | ;; |
| 16978 | *) # Version 8.0 or newer |
| 16979 | tmp_idyn= |
| 16980 | case $host_cpu in |
| 16981 | ia64*) tmp_idyn=' -i_dynamic';; |
| 16982 | esac |
| 16983 | archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16984 | 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' |
| 16985 | ;; |
| 16986 | esac |
| 16987 | archive_cmds_need_lc_CXX=no |
| 16988 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 16989 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 16990 | whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 16991 | ;; |
| 16992 | pgCC* | pgcpp*) |
| 16993 | # Portland Group C++ compiler |
| 16994 | case `$CC -V` in |
| 16995 | *pgCC\ [1-5].* | *pgcpp\ [1-5].*) |
| 16996 | prelink_cmds_CXX='tpldir=Template.dir~ |
| 16997 | rm -rf $tpldir~ |
| 16998 | $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
| 16999 | compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
| 17000 | old_archive_cmds_CXX='tpldir=Template.dir~ |
| 17001 | rm -rf $tpldir~ |
| 17002 | $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
| 17003 | $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
| 17004 | $RANLIB $oldlib' |
| 17005 | archive_cmds_CXX='tpldir=Template.dir~ |
| 17006 | rm -rf $tpldir~ |
| 17007 | $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 17008 | $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 17009 | archive_expsym_cmds_CXX='tpldir=Template.dir~ |
| 17010 | rm -rf $tpldir~ |
| 17011 | $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 17012 | $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' |
| 17013 | ;; |
| 17014 | *) # Version 6 and above use weak symbols |
| 17015 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 17016 | 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' |
| 17017 | ;; |
| 17018 | esac |
| 17019 | |
| 17020 | hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' |
| 17021 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 17022 | 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' |
| 17023 | ;; |
| 17024 | cxx*) |
| 17025 | # Compaq C++ |
| 17026 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 17027 | 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' |
| 17028 | |
| 17029 | runpath_var=LD_RUN_PATH |
| 17030 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
| 17031 | hardcode_libdir_separator_CXX=: |
| 17032 | |
| 17033 | # Commands to make compiler produce verbose output that lists |
| 17034 | # what "hidden" libraries, object files and flags are used when |
| 17035 | # linking a shared library. |
| 17036 | # |
| 17037 | # There doesn't appear to be a way to prevent this compiler from |
| 17038 | # explicitly linking system object files so we need to strip them |
| 17039 | # from the output so that they don't get included in the library |
| 17040 | # dependencies. |
| 17041 | 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' |
| 17042 | ;; |
| 17043 | xl* | mpixl* | bgxl*) |
| 17044 | # IBM XL 8.0 on PPC, with GNU ld |
| 17045 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 17046 | export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
| 17047 | archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 17048 | if testscip-shell system . . test. yes = "$supports_anon_versioning"; then |
| 17049 | archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ |
| 17050 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 17051 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 17052 | $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 17053 | fi |
| 17054 | ;; |
| 17055 | *) |
| 17056 | case `$CC -V 2>&1 | $SED 5q` in |
| 17057 | *Sun\ C*) |
| 17058 | # Sun C++ 5.9 |
| 17059 | no_undefined_flag_CXX=' -zdefs' |
| 17060 | archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 17061 | 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' |
| 17062 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 17063 | 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' |
| 17064 | compiler_needs_object_CXX=yes |
| 17065 | |
| 17066 | # Not sure whether something based on |
| 17067 | # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
| 17068 | # would be better. |
| 17069 | output_verbose_link_cmd='func_echo_all' |
| 17070 | |
| 17071 | # Archives containing C++ object files must be created using |
| 17072 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 17073 | # necessary to make sure instantiated templates are included |
| 17074 | # in the archive. |
| 17075 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
| 17076 | ;; |
| 17077 | esac |
| 17078 | ;; |
| 17079 | esac |
| 17080 | ;; |
| 17081 | |
| 17082 | lynxos*) |
| 17083 | # FIXME: insert proper C++ library support |
| 17084 | ld_shlibs_CXX=no |
| 17085 | ;; |
| 17086 | |
| 17087 | m88k*) |
| 17088 | # FIXME: insert proper C++ library support |
| 17089 | ld_shlibs_CXX=no |
| 17090 | ;; |
| 17091 | |
| 17092 | mvs*) |
| 17093 | case $cc_basename in |
| 17094 | cxx*) |
| 17095 | # FIXME: insert proper C++ library support |
| 17096 | ld_shlibs_CXX=no |
| 17097 | ;; |
| 17098 | *) |
| 17099 | # FIXME: insert proper C++ library support |
| 17100 | ld_shlibs_CXX=no |
| 17101 | ;; |
| 17102 | esac |
| 17103 | ;; |
| 17104 | |
| 17105 | *-mlibc) |
| 17106 | ld_shlibs_CXX=yes |
| 17107 | ;; |
| 17108 | |
| 17109 | netbsd*) |
| 17110 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 17111 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
| 17112 | wlarc= |
| 17113 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 17114 | hardcode_direct_CXX=yes |
| 17115 | hardcode_shlibpath_var_CXX=no |
| 17116 | fi |
| 17117 | # Workaround some broken pre-1.5 toolchains |
| 17118 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
| 17119 | ;; |
| 17120 | |
| 17121 | *nto* | *qnx*) |
| 17122 | ld_shlibs_CXX=yes |
| 17123 | ;; |
| 17124 | |
| 17125 | openbsd*) |
| 17126 | if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then |
| 17127 | hardcode_direct_CXX=yes |
| 17128 | hardcode_shlibpath_var_CXX=no |
| 17129 | hardcode_direct_absolute_CXX=yes |
| 17130 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 17131 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 17132 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | grepscip-shell system . . grep. __ELF__`"; then |
| 17133 | archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' |
| 17134 | export_dynamic_flag_spec_CXX='$wl-E' |
| 17135 | whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 17136 | fi |
| 17137 | output_verbose_link_cmd=func_echo_all |
| 17138 | else |
| 17139 | ld_shlibs_CXX=no |
| 17140 | fi |
| 17141 | ;; |
| 17142 | |
| 17143 | osf3* | osf4* | osf5*) |
| 17144 | case $cc_basename in |
| 17145 | KCC*) |
| 17146 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 17147 | |
| 17148 | # KCC will only create a shared library if the output file |
| 17149 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 17150 | # to its proper name (with version) after linking. |
| 17151 | 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' |
| 17152 | |
| 17153 | hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
| 17154 | hardcode_libdir_separator_CXX=: |
| 17155 | |
| 17156 | # Archives containing C++ object files must be created using |
| 17157 | # the KAI C++ compiler. |
| 17158 | case $host in |
| 17159 | osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; |
| 17160 | *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; |
| 17161 | esac |
| 17162 | ;; |
| 17163 | RCC*) |
| 17164 | # Rational C++ 2.4.1 |
| 17165 | # FIXME: insert proper C++ library support |
| 17166 | ld_shlibs_CXX=no |
| 17167 | ;; |
| 17168 | cxx*) |
| 17169 | case $host in |
| 17170 | osf3*) |
| 17171 | allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' |
| 17172 | 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' |
| 17173 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 17174 | ;; |
| 17175 | *) |
| 17176 | allow_undefined_flag_CXX=' -expect_unresolved \*' |
| 17177 | 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' |
| 17178 | archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
| 17179 | echo "-hidden">> $lib.exp~ |
| 17180 | $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~ |
| 17181 | $RM $lib.exp' |
| 17182 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
| 17183 | ;; |
| 17184 | esac |
| 17185 | |
| 17186 | hardcode_libdir_separator_CXX=: |
| 17187 | |
| 17188 | # Commands to make compiler produce verbose output that lists |
| 17189 | # what "hidden" libraries, object files and flags are used when |
| 17190 | # linking a shared library. |
| 17191 | # |
| 17192 | # There doesn't appear to be a way to prevent this compiler from |
| 17193 | # explicitly linking system object files so we need to strip them |
| 17194 | # from the output so that they don't get included in the library |
| 17195 | # dependencies. |
| 17196 | 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"' |
| 17197 | ;; |
| 17198 | *) |
| 17199 | if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then |
| 17200 | allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' |
| 17201 | case $host in |
| 17202 | osf3*) |
| 17203 | 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' |
| 17204 | ;; |
| 17205 | *) |
| 17206 | 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' |
| 17207 | ;; |
| 17208 | esac |
| 17209 | |
| 17210 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 17211 | hardcode_libdir_separator_CXX=: |
| 17212 | |
| 17213 | # Commands to make compiler produce verbose output that lists |
| 17214 | # what "hidden" libraries, object files and flags are used when |
| 17215 | # linking a shared library. |
| 17216 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 17217 | |
| 17218 | else |
| 17219 | # FIXME: insert proper C++ library support |
| 17220 | ld_shlibs_CXX=no |
| 17221 | fi |
| 17222 | ;; |
| 17223 | esac |
| 17224 | ;; |
| 17225 | |
| 17226 | psos*) |
| 17227 | # FIXME: insert proper C++ library support |
| 17228 | ld_shlibs_CXX=no |
| 17229 | ;; |
| 17230 | |
| 17231 | serenity*) |
| 17232 | ;; |
| 17233 | |
| 17234 | sunos4*) |
| 17235 | case $cc_basename in |
| 17236 | CC*) |
| 17237 | # Sun C++ 4.x |
| 17238 | # FIXME: insert proper C++ library support |
| 17239 | ld_shlibs_CXX=no |
| 17240 | ;; |
| 17241 | lcc*) |
| 17242 | # Lucid |
| 17243 | # FIXME: insert proper C++ library support |
| 17244 | ld_shlibs_CXX=no |
| 17245 | ;; |
| 17246 | *) |
| 17247 | # FIXME: insert proper C++ library support |
| 17248 | ld_shlibs_CXX=no |
| 17249 | ;; |
| 17250 | esac |
| 17251 | ;; |
| 17252 | |
| 17253 | solaris*) |
| 17254 | case $cc_basename in |
| 17255 | CC* | sunCC*) |
| 17256 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 17257 | archive_cmds_need_lc_CXX=yes |
| 17258 | no_undefined_flag_CXX=' -zdefs' |
| 17259 | archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 17260 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 17261 | $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' |
| 17262 | |
| 17263 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
| 17264 | hardcode_shlibpath_var_CXX=no |
| 17265 | case $host_os in |
| 17266 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 17267 | *) |
| 17268 | # The compiler driver will combine and reorder linker options, |
| 17269 | # but understands '-z linker_flag'. |
| 17270 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 17271 | whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
| 17272 | ;; |
| 17273 | esac |
| 17274 | link_all_deplibs_CXX=yes |
| 17275 | |
| 17276 | output_verbose_link_cmd='func_echo_all' |
| 17277 | |
| 17278 | # Archives containing C++ object files must be created using |
| 17279 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 17280 | # necessary to make sure instantiated templates are included |
| 17281 | # in the archive. |
| 17282 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
| 17283 | ;; |
| 17284 | gcx*) |
| 17285 | # Green Hills C++ Compiler |
| 17286 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 17287 | |
| 17288 | # The C++ compiler must be used to create the archive. |
| 17289 | old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
| 17290 | ;; |
| 17291 | *) |
| 17292 | # GNU C++ compiler with Solaris linker |
| 17293 | if testscip-shell system . . test. yes,no = "$GXX,$with_gnu_ld"; then |
| 17294 | no_undefined_flag_CXX=' $wl-z ${wl}defs' |
| 17295 | if $CC --version | $GREP -v '^2\.7' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 17296 | archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 17297 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 17298 | $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' |
| 17299 | |
| 17300 | # Commands to make compiler produce verbose output that lists |
| 17301 | # what "hidden" libraries, object files and flags are used when |
| 17302 | # linking a shared library. |
| 17303 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 17304 | else |
| 17305 | # g++ 2.7 appears to require '-G' NOT '-shared' on this |
| 17306 | # platform. |
| 17307 | archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 17308 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 17309 | $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' |
| 17310 | |
| 17311 | # Commands to make compiler produce verbose output that lists |
| 17312 | # what "hidden" libraries, object files and flags are used when |
| 17313 | # linking a shared library. |
| 17314 | output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"' |
| 17315 | fi |
| 17316 | |
| 17317 | hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' |
| 17318 | case $host_os in |
| 17319 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 17320 | *) |
| 17321 | whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 17322 | ;; |
| 17323 | esac |
| 17324 | fi |
| 17325 | ;; |
| 17326 | esac |
| 17327 | ;; |
| 17328 | |
| 17329 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 17330 | no_undefined_flag_CXX='$wl-z,text' |
| 17331 | archive_cmds_need_lc_CXX=no |
| 17332 | hardcode_shlibpath_var_CXX=no |
| 17333 | runpath_var='LD_RUN_PATH' |
| 17334 | |
| 17335 | case $cc_basename in |
| 17336 | CC*) |
| 17337 | archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17338 | archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17339 | ;; |
| 17340 | *) |
| 17341 | archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17342 | archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17343 | ;; |
| 17344 | esac |
| 17345 | ;; |
| 17346 | |
| 17347 | sysv5* | sco3.2v5* | sco5v6*) |
| 17348 | # Note: We CANNOT use -z defs as we might desire, because we do not |
| 17349 | # link with -lc, and that would cause any symbols used from libc to |
| 17350 | # always be unresolved, which means just about no library would |
| 17351 | # ever link correctly. If we're not using GNU ld we use -z text |
| 17352 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 17353 | # as -z defs. |
| 17354 | no_undefined_flag_CXX='$wl-z,text' |
| 17355 | allow_undefined_flag_CXX='$wl-z,nodefs' |
| 17356 | archive_cmds_need_lc_CXX=no |
| 17357 | hardcode_shlibpath_var_CXX=no |
| 17358 | hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' |
| 17359 | hardcode_libdir_separator_CXX=':' |
| 17360 | link_all_deplibs_CXX=yes |
| 17361 | export_dynamic_flag_spec_CXX='$wl-Bexport' |
| 17362 | runpath_var='LD_RUN_PATH' |
| 17363 | |
| 17364 | case $cc_basename in |
| 17365 | CC*) |
| 17366 | archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17367 | archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17368 | old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ |
| 17369 | '"$old_archive_cmds_CXX" |
| 17370 | reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ |
| 17371 | '"$reload_cmds_CXX" |
| 17372 | ;; |
| 17373 | *) |
| 17374 | archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17375 | archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17376 | ;; |
| 17377 | esac |
| 17378 | ;; |
| 17379 | |
| 17380 | tandem*) |
| 17381 | case $cc_basename in |
| 17382 | NCC*) |
| 17383 | # NonStop-UX NCC 3.20 |
| 17384 | # FIXME: insert proper C++ library support |
| 17385 | ld_shlibs_CXX=no |
| 17386 | ;; |
| 17387 | *) |
| 17388 | # FIXME: insert proper C++ library support |
| 17389 | ld_shlibs_CXX=no |
| 17390 | ;; |
| 17391 | esac |
| 17392 | ;; |
| 17393 | |
| 17394 | vxworks*) |
| 17395 | # FIXME: insert proper C++ library support |
| 17396 | ld_shlibs_CXX=no |
| 17397 | ;; |
| 17398 | |
| 17399 | *) |
| 17400 | # FIXME: insert proper C++ library support |
| 17401 | ld_shlibs_CXX=no |
| 17402 | ;; |
| 17403 | esac |
| 17404 | |
| 17405 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
| 17406 | printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; } |
| 17407 | testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no |
| 17408 | |
| 17409 | GCC_CXX=$GXX |
| 17410 | LD_CXX=$LD |
| 17411 | |
| 17412 | ## CAVEAT EMPTOR: |
| 17413 | ## There is no encapsulation within the following macros, do not change |
| 17414 | ## the running order or otherwise move them around unless you know exactly |
| 17415 | ## what you are doing... |
| 17416 | # Dependencies to place before and after the object being linked: |
| 17417 | predep_objects_CXX= |
| 17418 | postdep_objects_CXX= |
| 17419 | predeps_CXX= |
| 17420 | postdeps_CXX= |
| 17421 | compiler_lib_search_path_CXX= |
| 17422 | |
| 17423 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 17424 | class Foo |
| 17425 | { |
| 17426 | public: |
| 17427 | Foo (void) { a = 0; } |
| 17428 | private: |
| 17429 | int a; |
| 17430 | }; |
| 17431 | _LT_EOF |
| 17432 | |
| 17433 | |
| 17434 | _lt_libdeps_save_CFLAGS=$CFLAGS |
| 17435 | case "$CC $CFLAGS " in #( |
| 17436 | *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
| 17437 | *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
| 17438 | *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; |
| 17439 | esac |
| 17440 | |
| 17441 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 17442 | (eval $ac_compile) 2>&5 |
| 17443 | ac_status=$? |
| 17444 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17445 | testscip-shell system . . test. $ac_status = 0; }; then |
| 17446 | # Parse the compiler output and extract the necessary |
| 17447 | # objects, libraries and library flags. |
| 17448 | |
| 17449 | # Sentinel used to keep track of whether or not we are before |
| 17450 | # the conftest object file. |
| 17451 | pre_test_object_deps_done=no |
| 17452 | |
| 17453 | for p in `eval "$output_verbose_link_cmd"`; do |
| 17454 | case $prev$p in |
| 17455 | |
| 17456 | -L* | -R* | -l*) |
| 17457 | # Some compilers place space between "-{L,R,l}" and the path. |
| 17458 | # Remove the space. |
| 17459 | if testscip-shell system . . test. x-L = x"$p" || |
| 17460 | testscip-shell system . . test. x-R = x"$p" || |
| 17461 | testscip-shell system . . test. x-l = x"$p"; then |
| 17462 | prev=$p |
| 17463 | continue |
| 17464 | fi |
| 17465 | |
| 17466 | # Expand the sysroot to ease extracting the directories later. |
| 17467 | if testscip-shell system . . test. -z "$prev"; then |
| 17468 | case $p in |
| 17469 | -L*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
| 17470 | -R*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
| 17471 | -l*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
| 17472 | esac |
| 17473 | fi |
| 17474 | case $p in |
| 17475 | =*) func_stripname_cnfscip-shell shell shell-project 0.0.0 func_stripname_cnf(). '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
| 17476 | esac |
| 17477 | if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then |
| 17478 | case $prev in |
| 17479 | -L | -R) |
| 17480 | # Internal compiler library paths should come after those |
| 17481 | # provided the user. The postdeps already come after the |
| 17482 | # user supplied libs so there is no need to process them. |
| 17483 | if testscip-shell system . . test. -z "$compiler_lib_search_path_CXX"; then |
| 17484 | compiler_lib_search_path_CXX=$prev$p |
| 17485 | else |
| 17486 | compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" |
| 17487 | fi |
| 17488 | ;; |
| 17489 | # The "-l" case would never come before the object being |
| 17490 | # linked, so don't bother handling this case. |
| 17491 | esac |
| 17492 | else |
| 17493 | if testscip-shell system . . test. -z "$postdeps_CXX"; then |
| 17494 | postdeps_CXX=$prev$p |
| 17495 | else |
| 17496 | postdeps_CXX="${postdeps_CXX} $prev$p" |
| 17497 | fi |
| 17498 | fi |
| 17499 | prev= |
| 17500 | ;; |
| 17501 | |
| 17502 | *.lto.$objext) ;; # Ignore GCC LTO objects |
| 17503 | *.$objext) |
| 17504 | # This assumes that the test object file only shows up |
| 17505 | # once in the compiler output. |
| 17506 | if testscip-shell system . . test. "$p" = "conftest.$objext"; then |
| 17507 | pre_test_object_deps_done=yes |
| 17508 | continue |
| 17509 | fi |
| 17510 | |
| 17511 | if testscip-shell system . . test. no = "$pre_test_object_deps_done"; then |
| 17512 | if testscip-shell system . . test. -z "$predep_objects_CXX"; then |
| 17513 | predep_objects_CXX=$p |
| 17514 | else |
| 17515 | predep_objects_CXX="$predep_objects_CXX $p" |
| 17516 | fi |
| 17517 | else |
| 17518 | if testscip-shell system . . test. -z "$postdep_objects_CXX"; then |
| 17519 | postdep_objects_CXX=$p |
| 17520 | else |
| 17521 | postdep_objects_CXX="$postdep_objects_CXX $p" |
| 17522 | fi |
| 17523 | fi |
| 17524 | ;; |
| 17525 | |
| 17526 | *) ;; # Ignore the rest. |
| 17527 | |
| 17528 | esac |
| 17529 | done |
| 17530 | |
| 17531 | # Clean up. |
| 17532 | rmscip-shell system . . rm. -f a.out a.exe |
| 17533 | else |
| 17534 | echoscip-shell system . . echo. "libtool.m4: error: problem compiling CXX test program" |
| 17535 | fi |
| 17536 | |
| 17537 | $RM -f confest.$objext |
| 17538 | CFLAGS=$_lt_libdeps_save_CFLAGS |
| 17539 | |
| 17540 | # PORTME: override above test on systems where it is broken |
| 17541 | case $host_os in |
| 17542 | interix[3-9]*) |
| 17543 | # Interix 3.5 installs completely hosed .la files for C++, so rather than |
| 17544 | # hack all around it, let's just trust "g++" to DTRT. |
| 17545 | predep_objects_CXX= |
| 17546 | postdep_objects_CXX= |
| 17547 | postdeps_CXX= |
| 17548 | ;; |
| 17549 | esac |
| 17550 | |
| 17551 | |
| 17552 | case " $postdeps_CXX " in |
| 17553 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; |
| 17554 | esac |
| 17555 | compiler_lib_search_dirs_CXX= |
| 17556 | if testscip-shell system . . test. -n "${compiler_lib_search_path_CXX}"; then |
| 17557 | compiler_lib_search_dirs_CXX=`echoscip-shell system . . echo. " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` |
| 17558 | fi |
| 17559 | |
| 17560 | |
| 17561 | |
| 17562 | |
| 17563 | |
| 17564 | |
| 17565 | |
| 17566 | |
| 17567 | |
| 17568 | |
| 17569 | |
| 17570 | |
| 17571 | |
| 17572 | |
| 17573 | |
| 17574 | |
| 17575 | |
| 17576 | |
| 17577 | |
| 17578 | |
| 17579 | |
| 17580 | |
| 17581 | |
| 17582 | |
| 17583 | |
| 17584 | |
| 17585 | |
| 17586 | |
| 17587 | |
| 17588 | |
| 17589 | |
| 17590 | lt_prog_compiler_wl_CXX= |
| 17591 | lt_prog_compiler_pic_CXX= |
| 17592 | lt_prog_compiler_static_CXX= |
| 17593 | |
| 17594 | |
| 17595 | # C++ specific cases for pic, static, wl, etc. |
| 17596 | if testscip-shell system . . test. yes = "$GXX"; then |
| 17597 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17598 | lt_prog_compiler_static_CXX='-static' |
| 17599 | |
| 17600 | case $host_os in |
| 17601 | aix*) |
| 17602 | # All AIX code is PIC. |
| 17603 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 17604 | # AIX 5 now supports IA64 processor |
| 17605 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17606 | fi |
| 17607 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17608 | ;; |
| 17609 | |
| 17610 | amigaos*) |
| 17611 | case $host_cpu in |
| 17612 | powerpc) |
| 17613 | # see comment about AmigaOS4 .so support |
| 17614 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17615 | ;; |
| 17616 | m68k) |
| 17617 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 17618 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 17619 | # like '-m68040'. |
| 17620 | lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
| 17621 | ;; |
| 17622 | esac |
| 17623 | ;; |
| 17624 | |
| 17625 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 17626 | # PIC is the default for these OSes. |
| 17627 | ;; |
| 17628 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 17629 | # This hack is so that the source file can tell whether it is being |
| 17630 | # built for inclusion in a dll (and should export symbols for example). |
| 17631 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 17632 | # (--disable-auto-import) libraries |
| 17633 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 17634 | case $host_os in |
| 17635 | os2*) |
| 17636 | lt_prog_compiler_static_CXX='$wl-static' |
| 17637 | ;; |
| 17638 | esac |
| 17639 | ;; |
| 17640 | darwin* | rhapsody*) |
| 17641 | # PIC is the default on this platform |
| 17642 | # Common symbols not allowed in MH_DYLIB files |
| 17643 | lt_prog_compiler_pic_CXX='-fno-common' |
| 17644 | ;; |
| 17645 | *djgpp*) |
| 17646 | # DJGPP does not support shared libraries at all |
| 17647 | lt_prog_compiler_pic_CXX= |
| 17648 | ;; |
| 17649 | haiku*) |
| 17650 | # PIC is the default for Haiku. |
| 17651 | # The "-static" flag exists, but is broken. |
| 17652 | lt_prog_compiler_static_CXX= |
| 17653 | ;; |
| 17654 | interix[3-9]*) |
| 17655 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 17656 | # Instead, we relocate shared libraries at runtime. |
| 17657 | ;; |
| 17658 | sysv4*MP*) |
| 17659 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 17660 | lt_prog_compiler_pic_CXX=-Kconform_pic |
| 17661 | fi |
| 17662 | ;; |
| 17663 | hpux*) |
| 17664 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 17665 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 17666 | # sets the default TLS model and affects inlining. |
| 17667 | case $host_cpu in |
| 17668 | hppa*64*) |
| 17669 | ;; |
| 17670 | *) |
| 17671 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17672 | ;; |
| 17673 | esac |
| 17674 | ;; |
| 17675 | *qnx* | *nto*) |
| 17676 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 17677 | # it will coredump. |
| 17678 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 17679 | ;; |
| 17680 | *) |
| 17681 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17682 | ;; |
| 17683 | esac |
| 17684 | else |
| 17685 | case $host_os in |
| 17686 | aix[4-9]*) |
| 17687 | # All AIX code is PIC. |
| 17688 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 17689 | # AIX 5 now supports IA64 processor |
| 17690 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17691 | else |
| 17692 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
| 17693 | fi |
| 17694 | ;; |
| 17695 | chorus*) |
| 17696 | case $cc_basename in |
| 17697 | cxch68*) |
| 17698 | # Green Hills C++ Compiler |
| 17699 | # _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" |
| 17700 | ;; |
| 17701 | esac |
| 17702 | ;; |
| 17703 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 17704 | # This hack is so that the source file can tell whether it is being |
| 17705 | # built for inclusion in a dll (and should export symbols for example). |
| 17706 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 17707 | ;; |
| 17708 | dgux*) |
| 17709 | case $cc_basename in |
| 17710 | ec++*) |
| 17711 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17712 | ;; |
| 17713 | ghcx*) |
| 17714 | # Green Hills C++ Compiler |
| 17715 | lt_prog_compiler_pic_CXX='-pic' |
| 17716 | ;; |
| 17717 | *) |
| 17718 | ;; |
| 17719 | esac |
| 17720 | ;; |
| 17721 | freebsd* | dragonfly* | midnightbsd*) |
| 17722 | # FreeBSD uses GNU C++ |
| 17723 | ;; |
| 17724 | hpux9* | hpux10* | hpux11*) |
| 17725 | case $cc_basename in |
| 17726 | CC*) |
| 17727 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17728 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 17729 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 17730 | lt_prog_compiler_pic_CXX='+Z' |
| 17731 | fi |
| 17732 | ;; |
| 17733 | aCC*) |
| 17734 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17735 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 17736 | case $host_cpu in |
| 17737 | hppa*64*|ia64*) |
| 17738 | # +Z the default |
| 17739 | ;; |
| 17740 | *) |
| 17741 | lt_prog_compiler_pic_CXX='+Z' |
| 17742 | ;; |
| 17743 | esac |
| 17744 | ;; |
| 17745 | *) |
| 17746 | ;; |
| 17747 | esac |
| 17748 | ;; |
| 17749 | interix*) |
| 17750 | # This is c89, which is MS Visual C++ (no shared libs) |
| 17751 | # Anyone wants to do a port? |
| 17752 | ;; |
| 17753 | irix5* | irix6* | nonstopux*) |
| 17754 | case $cc_basename in |
| 17755 | CC*) |
| 17756 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17757 | lt_prog_compiler_static_CXX='-non_shared' |
| 17758 | # CC pic flag -KPIC is the default. |
| 17759 | ;; |
| 17760 | *) |
| 17761 | ;; |
| 17762 | esac |
| 17763 | ;; |
| 17764 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 17765 | case $cc_basename in |
| 17766 | KCC*) |
| 17767 | # KAI C++ Compiler |
| 17768 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 17769 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17770 | ;; |
| 17771 | ecpc* ) |
| 17772 | # old Intel C++ for x86_64, which still supported -KPIC. |
| 17773 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17774 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17775 | lt_prog_compiler_static_CXX='-static' |
| 17776 | ;; |
| 17777 | icpc* ) |
| 17778 | # Intel C++, used to be incompatible with GCC. |
| 17779 | # ICC 10 doesn't accept -KPIC any more. |
| 17780 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17781 | lt_prog_compiler_pic_CXX='-fPIC' |
| 17782 | lt_prog_compiler_static_CXX='-static' |
| 17783 | ;; |
| 17784 | pgCC* | pgcpp*) |
| 17785 | # Portland Group C++ compiler |
| 17786 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17787 | lt_prog_compiler_pic_CXX='-fpic' |
| 17788 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17789 | ;; |
| 17790 | cxx*) |
| 17791 | # Compaq C++ |
| 17792 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 17793 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 17794 | lt_prog_compiler_pic_CXX= |
| 17795 | lt_prog_compiler_static_CXX='-non_shared' |
| 17796 | ;; |
| 17797 | xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
| 17798 | # IBM XL 8.0, 9.0 on PPC and BlueGene |
| 17799 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17800 | lt_prog_compiler_pic_CXX='-qpic' |
| 17801 | lt_prog_compiler_static_CXX='-qstaticlink' |
| 17802 | ;; |
| 17803 | *) |
| 17804 | case `$CC -V 2>&1 | $SED 5q` in |
| 17805 | *Sun\ C*) |
| 17806 | # Sun C++ 5.9 |
| 17807 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17808 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17809 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 17810 | ;; |
| 17811 | esac |
| 17812 | ;; |
| 17813 | esac |
| 17814 | ;; |
| 17815 | lynxos*) |
| 17816 | ;; |
| 17817 | m88k*) |
| 17818 | ;; |
| 17819 | mvs*) |
| 17820 | case $cc_basename in |
| 17821 | cxx*) |
| 17822 | lt_prog_compiler_pic_CXX='-W c,exportall' |
| 17823 | ;; |
| 17824 | *) |
| 17825 | ;; |
| 17826 | esac |
| 17827 | ;; |
| 17828 | netbsd* | netbsdelf*-gnu) |
| 17829 | ;; |
| 17830 | *-mlibc) |
| 17831 | ;; |
| 17832 | *qnx* | *nto*) |
| 17833 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 17834 | # it will coredump. |
| 17835 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 17836 | ;; |
| 17837 | osf3* | osf4* | osf5*) |
| 17838 | case $cc_basename in |
| 17839 | KCC*) |
| 17840 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 17841 | ;; |
| 17842 | RCC*) |
| 17843 | # Rational C++ 2.4.1 |
| 17844 | lt_prog_compiler_pic_CXX='-pic' |
| 17845 | ;; |
| 17846 | cxx*) |
| 17847 | # Digital/Compaq C++ |
| 17848 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17849 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 17850 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 17851 | lt_prog_compiler_pic_CXX= |
| 17852 | lt_prog_compiler_static_CXX='-non_shared' |
| 17853 | ;; |
| 17854 | *) |
| 17855 | ;; |
| 17856 | esac |
| 17857 | ;; |
| 17858 | psos*) |
| 17859 | ;; |
| 17860 | serenity*) |
| 17861 | ;; |
| 17862 | solaris*) |
| 17863 | case $cc_basename in |
| 17864 | CC* | sunCC*) |
| 17865 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 17866 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17867 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17868 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 17869 | ;; |
| 17870 | gcx*) |
| 17871 | # Green Hills C++ Compiler |
| 17872 | lt_prog_compiler_pic_CXX='-PIC' |
| 17873 | ;; |
| 17874 | *) |
| 17875 | ;; |
| 17876 | esac |
| 17877 | ;; |
| 17878 | sunos4*) |
| 17879 | case $cc_basename in |
| 17880 | CC*) |
| 17881 | # Sun C++ 4.x |
| 17882 | lt_prog_compiler_pic_CXX='-pic' |
| 17883 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17884 | ;; |
| 17885 | lcc*) |
| 17886 | # Lucid |
| 17887 | lt_prog_compiler_pic_CXX='-pic' |
| 17888 | ;; |
| 17889 | *) |
| 17890 | ;; |
| 17891 | esac |
| 17892 | ;; |
| 17893 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 17894 | case $cc_basename in |
| 17895 | CC*) |
| 17896 | lt_prog_compiler_wl_CXX='-Wl,' |
| 17897 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17898 | lt_prog_compiler_static_CXX='-Bstatic' |
| 17899 | ;; |
| 17900 | esac |
| 17901 | ;; |
| 17902 | tandem*) |
| 17903 | case $cc_basename in |
| 17904 | NCC*) |
| 17905 | # NonStop-UX NCC 3.20 |
| 17906 | lt_prog_compiler_pic_CXX='-KPIC' |
| 17907 | ;; |
| 17908 | *) |
| 17909 | ;; |
| 17910 | esac |
| 17911 | ;; |
| 17912 | vxworks*) |
| 17913 | ;; |
| 17914 | *) |
| 17915 | lt_prog_compiler_can_build_shared_CXX=no |
| 17916 | ;; |
| 17917 | esac |
| 17918 | fi |
| 17919 | |
| 17920 | case $host_os in |
| 17921 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 17922 | *djgpp*) |
| 17923 | lt_prog_compiler_pic_CXX= |
| 17924 | ;; |
| 17925 | *) |
| 17926 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
| 17927 | ;; |
| 17928 | esac |
| 17929 | |
| 17930 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 17931 | printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; } |
| 17932 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_CXX+y} |
| 17933 | then : |
| 17934 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17935 | else case e in #( |
| 17936 | e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;; |
| 17937 | esac |
| 17938 | fi |
| 17939 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
| 17940 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; } |
| 17941 | lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
| 17942 | |
| 17943 | # |
| 17944 | # Check to make sure the PIC flag actually works. |
| 17945 | # |
| 17946 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then |
| 17947 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
| 17948 | printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
| 17949 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works_CXX+y} |
| 17950 | then : |
| 17951 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17952 | else case e in #( |
| 17953 | e) lt_cv_prog_compiler_pic_works_CXX=no |
| 17954 | ac_outfile=conftest.$ac_objext |
| 17955 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 17956 | lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 17957 | # Insert the option either (1) after the last *FLAGS variable, or |
| 17958 | # (2) before a word containing "conftest.", or (3) at the end. |
| 17959 | # Note that $ac_compile itself does not contain backslashes and begins |
| 17960 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 17961 | # The option is referenced via a variable to avoid confusing sed. |
| 17962 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 17963 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 17964 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 17965 | -e 's:$: $lt_compiler_flag:'` |
| 17966 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 17967 | (eval "$lt_compile" 2>conftest.err) |
| 17968 | ac_status=$? |
| 17969 | catscip-shell system . . cat. conftest.err >&5 |
| 17970 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17971 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 17972 | # The compiler can only warn and ignore the option if not recognized |
| 17973 | # So say no if there are warnings other than the usual output. |
| 17974 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 17975 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 17976 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 17977 | lt_cv_prog_compiler_pic_works_CXX=yes |
| 17978 | fi |
| 17979 | fi |
| 17980 | $RM conftest* |
| 17981 | ;; |
| 17982 | esac |
| 17983 | fi |
| 17984 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
| 17985 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
| 17986 | |
| 17987 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then |
| 17988 | case $lt_prog_compiler_pic_CXX in |
| 17989 | "" | " "*) ;; |
| 17990 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
| 17991 | esac |
| 17992 | else |
| 17993 | lt_prog_compiler_pic_CXX= |
| 17994 | lt_prog_compiler_can_build_shared_CXX=no |
| 17995 | fi |
| 17996 | |
| 17997 | fi |
| 17998 | |
| 17999 | |
| 18000 | |
| 18001 | |
| 18002 | |
| 18003 | # |
| 18004 | # Check to make sure the static flag actually works. |
| 18005 | # |
| 18006 | wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
| 18007 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 18008 | printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 18009 | if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works_CXX+y} |
| 18010 | then : |
| 18011 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18012 | else case e in #( |
| 18013 | e) lt_cv_prog_compiler_static_works_CXX=no |
| 18014 | save_LDFLAGS=$LDFLAGS |
| 18015 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 18016 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 18017 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 18018 | # The linker can only warn and ignore the option if not recognized |
| 18019 | # So say no if there are warnings |
| 18020 | if testscip-shell system . . test. -s conftest.err; then |
| 18021 | # Append any errors to the config.log. |
| 18022 | catscip-shell system . . cat. conftest.err 1>&5 |
| 18023 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 18024 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 18025 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18026 | lt_cv_prog_compiler_static_works_CXX=yes |
| 18027 | fi |
| 18028 | else |
| 18029 | lt_cv_prog_compiler_static_works_CXX=yes |
| 18030 | fi |
| 18031 | fi |
| 18032 | $RM -r conftest* |
| 18033 | LDFLAGS=$save_LDFLAGS |
| 18034 | ;; |
| 18035 | esac |
| 18036 | fi |
| 18037 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
| 18038 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
| 18039 | |
| 18040 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then |
| 18041 | : |
| 18042 | else |
| 18043 | lt_prog_compiler_static_CXX= |
| 18044 | fi |
| 18045 | |
| 18046 | |
| 18047 | |
| 18048 | |
| 18049 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 18050 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 18051 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y} |
| 18052 | then : |
| 18053 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18054 | else case e in #( |
| 18055 | e) lt_cv_prog_compiler_c_o_CXX=no |
| 18056 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 18057 | mkdirscip-shell system . . mkdir. conftest |
| 18058 | cd conftest |
| 18059 | mkdirscip-shell system . . mkdir. out |
| 18060 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 18061 | |
| 18062 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 18063 | # Insert the option either (1) after the last *FLAGS variable, or |
| 18064 | # (2) before a word containing "conftest.", or (3) at the end. |
| 18065 | # Note that $ac_compile itself does not contain backslashes and begins |
| 18066 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 18067 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 18068 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 18069 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 18070 | -e 's:$: $lt_compiler_flag:'` |
| 18071 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 18072 | (eval "$lt_compile" 2>out/conftest.err) |
| 18073 | ac_status=$? |
| 18074 | catscip-shell system . . cat. out/conftest.err >&5 |
| 18075 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18076 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 18077 | then |
| 18078 | # The compiler can only warn and ignore the option if not recognized |
| 18079 | # So say no if there are warnings |
| 18080 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 18081 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 18082 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18083 | lt_cv_prog_compiler_c_o_CXX=yes |
| 18084 | fi |
| 18085 | fi |
| 18086 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 18087 | $RM conftest* |
| 18088 | # SGI C++ compiler will create directory out/ii_files/ for |
| 18089 | # template instantiation |
| 18090 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 18091 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 18092 | cd .. |
| 18093 | $RM -r conftest |
| 18094 | $RM conftest* |
| 18095 | ;; |
| 18096 | esac |
| 18097 | fi |
| 18098 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
| 18099 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
| 18100 | |
| 18101 | |
| 18102 | |
| 18103 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 18104 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 18105 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o_CXX+y} |
| 18106 | then : |
| 18107 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18108 | else case e in #( |
| 18109 | e) lt_cv_prog_compiler_c_o_CXX=no |
| 18110 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 18111 | mkdirscip-shell system . . mkdir. conftest |
| 18112 | cd conftest |
| 18113 | mkdirscip-shell system . . mkdir. out |
| 18114 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 18115 | |
| 18116 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 18117 | # Insert the option either (1) after the last *FLAGS variable, or |
| 18118 | # (2) before a word containing "conftest.", or (3) at the end. |
| 18119 | # Note that $ac_compile itself does not contain backslashes and begins |
| 18120 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 18121 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 18122 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 18123 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 18124 | -e 's:$: $lt_compiler_flag:'` |
| 18125 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 18126 | (eval "$lt_compile" 2>out/conftest.err) |
| 18127 | ac_status=$? |
| 18128 | catscip-shell system . . cat. out/conftest.err >&5 |
| 18129 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18130 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 18131 | then |
| 18132 | # The compiler can only warn and ignore the option if not recognized |
| 18133 | # So say no if there are warnings |
| 18134 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 18135 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 18136 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18137 | lt_cv_prog_compiler_c_o_CXX=yes |
| 18138 | fi |
| 18139 | fi |
| 18140 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 18141 | $RM conftest* |
| 18142 | # SGI C++ compiler will create directory out/ii_files/ for |
| 18143 | # template instantiation |
| 18144 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 18145 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 18146 | cd .. |
| 18147 | $RM -r conftest |
| 18148 | $RM conftest* |
| 18149 | ;; |
| 18150 | esac |
| 18151 | fi |
| 18152 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
| 18153 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
| 18154 | |
| 18155 | |
| 18156 | |
| 18157 | |
| 18158 | hard_links=nottested |
| 18159 | if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o_CXX" && testscip-shell system . . test. no != "$need_locks"; then |
| 18160 | # do not overwrite the value of need_locks provided by the user |
| 18161 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 18162 | printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; } |
| 18163 | hard_links=yes |
| 18164 | $RM conftest* |
| 18165 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 18166 | touchscip-shell system . . touch. conftest.a |
| 18167 | lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no |
| 18168 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 18169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 18170 | printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; } |
| 18171 | if testscip-shell system . . test. no = "$hard_links"; then |
| 18172 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 18173 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 18174 | need_locks=warn |
| 18175 | fi |
| 18176 | else |
| 18177 | need_locks=no |
| 18178 | fi |
| 18179 | |
| 18180 | |
| 18181 | |
| 18182 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 18183 | printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 18184 | |
| 18185 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 18186 | exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 18187 | case $host_os in |
| 18188 | aix[4-9]*) |
| 18189 | # If we're using GNU nm, then we don't want the "-C" option. |
| 18190 | # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 18191 | # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 18192 | # weak defined symbols like other global defined symbols, whereas |
| 18193 | # GNU nm marks them as "W". |
| 18194 | # While the 'weak' keyword is ignored in the Export File, we need |
| 18195 | # it in the Import File for the 'aix-soname' feature, so we have |
| 18196 | # to replace the "-B" option with "-P" for AIX nm. |
| 18197 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18198 | 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' |
| 18199 | else |
| 18200 | 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' |
| 18201 | fi |
| 18202 | ;; |
| 18203 | pw32*) |
| 18204 | export_symbols_cmds_CXX=$ltdll_cmds |
| 18205 | ;; |
| 18206 | cygwin* | mingw* | windows* | cegcc*) |
| 18207 | case $cc_basename in |
| 18208 | cl* | icl*) |
| 18209 | exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 18210 | ;; |
| 18211 | *) |
| 18212 | 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' |
| 18213 | exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 18214 | ;; |
| 18215 | esac |
| 18216 | ;; |
| 18217 | linux* | k*bsd*-gnu | gnu*) |
| 18218 | link_all_deplibs_CXX=no |
| 18219 | ;; |
| 18220 | *) |
| 18221 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 18222 | ;; |
| 18223 | esac |
| 18224 | |
| 18225 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 |
| 18226 | printfscip-shell system . . printf. "%s\n" "$ld_shlibs_CXX" >&6; } |
| 18227 | testscip-shell system . . test. no = "$ld_shlibs_CXX" && can_build_shared=no |
| 18228 | |
| 18229 | with_gnu_ld_CXX=$with_gnu_ld |
| 18230 | |
| 18231 | |
| 18232 | |
| 18233 | |
| 18234 | |
| 18235 | |
| 18236 | # |
| 18237 | # Do we need to explicitly link libc? |
| 18238 | # |
| 18239 | case "x$archive_cmds_need_lc_CXX" in |
| 18240 | x|xyes) |
| 18241 | # Assume -lc should be added |
| 18242 | archive_cmds_need_lc_CXX=yes |
| 18243 | |
| 18244 | if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then |
| 18245 | case $archive_cmds_CXX in |
| 18246 | *'~'*) |
| 18247 | # FIXME: we may have to deal with multi-command sequences. |
| 18248 | ;; |
| 18249 | '$CC '*) |
| 18250 | # Test whether the compiler implicitly links with -lc since on some |
| 18251 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 18252 | # to ld, don't add -lc before -lgcc. |
| 18253 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 18254 | printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 18255 | if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc_CXX+y} |
| 18256 | then : |
| 18257 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18258 | else case e in #( |
| 18259 | e) $RM conftest* |
| 18260 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 18261 | |
| 18262 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 18263 | (eval $ac_compile) 2>&5 |
| 18264 | ac_status=$? |
| 18265 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18266 | testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then |
| 18267 | soname=conftest |
| 18268 | lib=conftest |
| 18269 | libobjs=conftest.$ac_objext |
| 18270 | deplibs= |
| 18271 | wl=$lt_prog_compiler_wl_CXX |
| 18272 | pic_flag=$lt_prog_compiler_pic_CXX |
| 18273 | compiler_flags=-v |
| 18274 | linker_flags=-v |
| 18275 | verstring= |
| 18276 | output_objdir=. |
| 18277 | libname=conftest |
| 18278 | lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
| 18279 | allow_undefined_flag_CXX= |
| 18280 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 18281 | (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 18282 | ac_status=$? |
| 18283 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18284 | testscip-shell system . . test. $ac_status = 0; } |
| 18285 | then |
| 18286 | lt_cv_archive_cmds_need_lc_CXX=no |
| 18287 | else |
| 18288 | lt_cv_archive_cmds_need_lc_CXX=yes |
| 18289 | fi |
| 18290 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
| 18291 | else |
| 18292 | catscip-shell system . . cat. conftest.err 1>&5 |
| 18293 | fi |
| 18294 | $RM conftest* |
| 18295 | ;; |
| 18296 | esac |
| 18297 | fi |
| 18298 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 |
| 18299 | printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; } |
| 18300 | archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX |
| 18301 | ;; |
| 18302 | esac |
| 18303 | fi |
| 18304 | ;; |
| 18305 | esac |
| 18306 | |
| 18307 | |
| 18308 | |
| 18309 | |
| 18310 | |
| 18311 | |
| 18312 | |
| 18313 | |
| 18314 | |
| 18315 | |
| 18316 | |
| 18317 | |
| 18318 | |
| 18319 | |
| 18320 | |
| 18321 | |
| 18322 | |
| 18323 | |
| 18324 | |
| 18325 | |
| 18326 | |
| 18327 | |
| 18328 | |
| 18329 | |
| 18330 | |
| 18331 | |
| 18332 | |
| 18333 | |
| 18334 | |
| 18335 | |
| 18336 | |
| 18337 | |
| 18338 | |
| 18339 | |
| 18340 | |
| 18341 | |
| 18342 | |
| 18343 | |
| 18344 | |
| 18345 | |
| 18346 | |
| 18347 | |
| 18348 | |
| 18349 | |
| 18350 | |
| 18351 | |
| 18352 | |
| 18353 | |
| 18354 | |
| 18355 | |
| 18356 | |
| 18357 | |
| 18358 | |
| 18359 | |
| 18360 | |
| 18361 | |
| 18362 | |
| 18363 | |
| 18364 | |
| 18365 | |
| 18366 | |
| 18367 | |
| 18368 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 18369 | printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; } |
| 18370 | |
| 18371 | library_names_spec= |
| 18372 | libname_spec='lib$name' |
| 18373 | soname_spec= |
| 18374 | shrext_cmds=.so |
| 18375 | postinstall_cmds= |
| 18376 | postuninstall_cmds= |
| 18377 | finish_cmds= |
| 18378 | finish_eval= |
| 18379 | shlibpath_var= |
| 18380 | shlibpath_overrides_runpath=unknown |
| 18381 | version_type=none |
| 18382 | dynamic_linker="$host_os ld.so" |
| 18383 | sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`." |
| 18384 | need_lib_prefix=unknown |
| 18385 | hardcode_into_libs=no |
| 18386 | |
| 18387 | # when you set need_version to no, make sure it does not cause -set_version |
| 18388 | # flags to be left without arguments |
| 18389 | need_version=unknown |
| 18390 | |
| 18391 | |
| 18392 | |
| 18393 | case $host_os in |
| 18394 | aix3*) |
| 18395 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18396 | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 18397 | shlibpath_var=LIBPATH |
| 18398 | |
| 18399 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 18400 | soname_spec='$libname$release$shared_ext$major' |
| 18401 | ;; |
| 18402 | |
| 18403 | aix[4-9]*) |
| 18404 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18405 | need_lib_prefix=no |
| 18406 | need_version=no |
| 18407 | hardcode_into_libs=yes |
| 18408 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 18409 | # AIX 5 supports IA64 |
| 18410 | library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 18411 | shlibpath_var=LD_LIBRARY_PATH |
| 18412 | else |
| 18413 | # With GCC up to 2.95.x, collect2 would create an import file |
| 18414 | # for dependence libraries. The import file would start with |
| 18415 | # the line '#! .'. This would cause the generated library to |
| 18416 | # depend on '.', always an invalid library. This was fixed in |
| 18417 | # development snapshots of GCC prior to 3.0. |
| 18418 | case $host_os in |
| 18419 | aix4 | aix4.[01] | aix4.[01].*) |
| 18420 | if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 18421 | echoscip-shell system . . echo. ' yes ' |
| 18422 | echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18423 | : |
| 18424 | else |
| 18425 | can_build_shared=no |
| 18426 | fi |
| 18427 | ;; |
| 18428 | esac |
| 18429 | # Using Import Files as archive members, it is possible to support |
| 18430 | # filename-based versioning of shared library archives on AIX. While |
| 18431 | # this would work for both with and without runtime linking, it will |
| 18432 | # prevent static linking of such archives. So we do filename-based |
| 18433 | # shared library versioning with .so extension only, which is used |
| 18434 | # when both runtime linking and shared linking is enabled. |
| 18435 | # Unfortunately, runtime linking may impact performance, so we do |
| 18436 | # not want this to be the default eventually. Also, we use the |
| 18437 | # versioned .so libs for executables only if there is the -brtl |
| 18438 | # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. |
| 18439 | # To allow for filename-based versioning support, we need to create |
| 18440 | # libNAME.so.V as an archive file, containing: |
| 18441 | # *) an Import File, referring to the versioned filename of the |
| 18442 | # archive as well as the shared archive member, telling the |
| 18443 | # bitwidth (32 or 64) of that shared object, and providing the |
| 18444 | # list of exported symbols of that shared object, eventually |
| 18445 | # decorated with the 'weak' keyword |
| 18446 | # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 18447 | # it being seen by the linker. |
| 18448 | # At run time we better use the real file rather than another symlink, |
| 18449 | # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 18450 | |
| 18451 | case $with_aix_soname,$aix_use_runtimelinking in |
| 18452 | # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 18453 | # soname into executable. Probably we can add versioning support to |
| 18454 | # collect2, so additional links can be useful in future. |
| 18455 | aix,yes) # traditional libtool |
| 18456 | dynamic_linker='AIX unversionable lib.so' |
| 18457 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 18458 | # instead of lib<name>.a to let people know that these are not |
| 18459 | # typical AIX shared libraries. |
| 18460 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18461 | ;; |
| 18462 | aix,no) # traditional AIX only |
| 18463 | dynamic_linker='AIX lib.a(lib.so.V)' |
| 18464 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 18465 | # and later when we are not doing run time linking. |
| 18466 | library_names_spec='$libname$release.a $libname.a' |
| 18467 | soname_spec='$libname$release$shared_ext$major' |
| 18468 | ;; |
| 18469 | svr4,*) # full svr4 only |
| 18470 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 18471 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 18472 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 18473 | shlibpath_overrides_runpath=yes |
| 18474 | ;; |
| 18475 | *,yes) # both, prefer svr4 |
| 18476 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 18477 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 18478 | # unpreferred sharedlib libNAME.a needs extra handling |
| 18479 | 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"' |
| 18480 | 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"' |
| 18481 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 18482 | shlibpath_overrides_runpath=yes |
| 18483 | ;; |
| 18484 | *,no) # both, prefer aix |
| 18485 | dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 18486 | library_names_spec='$libname$release.a $libname.a' |
| 18487 | soname_spec='$libname$release$shared_ext$major' |
| 18488 | # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 18489 | 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)' |
| 18490 | 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"' |
| 18491 | ;; |
| 18492 | esac |
| 18493 | shlibpath_var=LIBPATH |
| 18494 | fi |
| 18495 | ;; |
| 18496 | |
| 18497 | amigaos*) |
| 18498 | case $host_cpu in |
| 18499 | powerpc) |
| 18500 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 18501 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 18502 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18503 | ;; |
| 18504 | m68k) |
| 18505 | library_names_spec='$libname.ixlibrary $libname.a' |
| 18506 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 18507 | 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' |
| 18508 | ;; |
| 18509 | esac |
| 18510 | ;; |
| 18511 | |
| 18512 | beos*) |
| 18513 | library_names_spec='$libname$shared_ext' |
| 18514 | dynamic_linker="$host_os ld.so" |
| 18515 | shlibpath_var=LIBRARY_PATH |
| 18516 | ;; |
| 18517 | |
| 18518 | bsdi[45]*) |
| 18519 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18520 | need_version=no |
| 18521 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18522 | soname_spec='$libname$release$shared_ext$major' |
| 18523 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 18524 | shlibpath_var=LD_LIBRARY_PATH |
| 18525 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib`." |
| 18526 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`." |
| 18527 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 18528 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 18529 | # libtool to hard-code these into programs |
| 18530 | ;; |
| 18531 | |
| 18532 | cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 18533 | version_type=windows |
| 18534 | shrext_cmds=.dll |
| 18535 | need_version=no |
| 18536 | need_lib_prefix=no |
| 18537 | |
| 18538 | case $GCC,$cc_basename in |
| 18539 | yes,*) |
| 18540 | # gcc |
| 18541 | library_names_spec='$libname.dll.a' |
| 18542 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 18543 | # If user builds GCC with multilib enabled, |
| 18544 | # it should just install on $(libdir) |
| 18545 | # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. |
| 18546 | if testscip-shell system . . test. xyes = x"$multilib"; then |
| 18547 | postinstall_cmds='base_file=`basename \$file`~ |
| 18548 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 18549 | dldir=$destdir/`dirname \$dlpath`~ |
| 18550 | $install_prog $dir/$dlname $destdir/$dlname~ |
| 18551 | chmod a+x $destdir/$dlname~ |
| 18552 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 18553 | eval '\''$striplib $destdir/$dlname'\'' || exit \$?; |
| 18554 | fi' |
| 18555 | else |
| 18556 | postinstall_cmds='base_file=`basename \$file`~ |
| 18557 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 18558 | dldir=$destdir/`dirname \$dlpath`~ |
| 18559 | test -d \$dldir || mkdir -p \$dldir~ |
| 18560 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 18561 | chmod a+x \$dldir/$dlname~ |
| 18562 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 18563 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 18564 | fi' |
| 18565 | fi |
| 18566 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 18567 | dlpath=$dir/\$dldll~ |
| 18568 | $RM \$dlpath' |
| 18569 | shlibpath_overrides_runpath=yes |
| 18570 | |
| 18571 | case $host_os in |
| 18572 | cygwin*) |
| 18573 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 18574 | soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 18575 | |
| 18576 | ;; |
| 18577 | mingw* | windows* | cegcc*) |
| 18578 | # MinGW DLLs use traditional 'lib' prefix |
| 18579 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 18580 | ;; |
| 18581 | pw32*) |
| 18582 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 18583 | library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 18584 | ;; |
| 18585 | esac |
| 18586 | dynamic_linker='Win32 ld.exe' |
| 18587 | ;; |
| 18588 | |
| 18589 | *,cl* | *,icl*) |
| 18590 | # Native MSVC or ICC |
| 18591 | libname_spec='$name' |
| 18592 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 18593 | library_names_spec='$libname.dll.lib' |
| 18594 | |
| 18595 | case $build_os in |
| 18596 | mingw* | windows*) |
| 18597 | sys_lib_search_path_spec= |
| 18598 | lt_save_ifs=$IFS |
| 18599 | IFS=';' |
| 18600 | for lt_path in $LIB |
| 18601 | do |
| 18602 | IFS=$lt_save_ifs |
| 18603 | # Let DOS variable expansion print the short 8.3 style file name. |
| 18604 | lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"` |
| 18605 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 18606 | done |
| 18607 | IFS=$lt_save_ifs |
| 18608 | # Convert to MSYS style. |
| 18609 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 18610 | ;; |
| 18611 | cygwin*) |
| 18612 | # Convert to unix form, then to dos form, then back to unix form |
| 18613 | # but this time dos style (no spaces!) so that the unix form looks |
| 18614 | # like /cygdrive/c/PROGRA~1:/cygdr... |
| 18615 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 18616 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 18617 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 18618 | ;; |
| 18619 | *) |
| 18620 | sys_lib_search_path_spec=$LIB |
| 18621 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18622 | # It is most probably a Windows format PATH. |
| 18623 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 18624 | else |
| 18625 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 18626 | fi |
| 18627 | # FIXME: find the short name or the path components, as spaces are |
| 18628 | # common. (e.g. "Program Files" -> "PROGRA~1") |
| 18629 | ;; |
| 18630 | esac |
| 18631 | |
| 18632 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 18633 | postinstall_cmds='base_file=`basename \$file`~ |
| 18634 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 18635 | dldir=$destdir/`dirname \$dlpath`~ |
| 18636 | test -d \$dldir || mkdir -p \$dldir~ |
| 18637 | $install_prog $dir/$dlname \$dldir/$dlname' |
| 18638 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 18639 | dlpath=$dir/\$dldll~ |
| 18640 | $RM \$dlpath' |
| 18641 | shlibpath_overrides_runpath=yes |
| 18642 | dynamic_linker='Win32 link.exe' |
| 18643 | ;; |
| 18644 | |
| 18645 | *) |
| 18646 | # Assume MSVC and ICC wrapper |
| 18647 | library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 18648 | dynamic_linker='Win32 ld.exe' |
| 18649 | ;; |
| 18650 | esac |
| 18651 | # FIXME: first we should search . and the directory the executable is in |
| 18652 | shlibpath_var=PATH |
| 18653 | ;; |
| 18654 | |
| 18655 | darwin* | rhapsody*) |
| 18656 | dynamic_linker="$host_os dyld" |
| 18657 | version_type=darwin |
| 18658 | need_lib_prefix=no |
| 18659 | need_version=no |
| 18660 | library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 18661 | soname_spec='$libname$release$major$shared_ext' |
| 18662 | shlibpath_overrides_runpath=yes |
| 18663 | shlibpath_var=DYLD_LIBRARY_PATH |
| 18664 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 18665 | |
| 18666 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.' |
| 18667 | ;; |
| 18668 | |
| 18669 | dgux*) |
| 18670 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18671 | need_lib_prefix=no |
| 18672 | need_version=no |
| 18673 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18674 | soname_spec='$libname$release$shared_ext$major' |
| 18675 | shlibpath_var=LD_LIBRARY_PATH |
| 18676 | ;; |
| 18677 | |
| 18678 | freebsd* | dragonfly* | midnightbsd*) |
| 18679 | # DragonFly does not have aout. When/if they implement a new |
| 18680 | # versioning mechanism, adjust this. |
| 18681 | if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then |
| 18682 | objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.` |
| 18683 | else |
| 18684 | case $host_os in |
| 18685 | freebsd[23].*) objformat=aout ;; |
| 18686 | *) objformat=elf ;; |
| 18687 | esac |
| 18688 | fi |
| 18689 | version_type=freebsd-$objformat |
| 18690 | case $version_type in |
| 18691 | freebsd-elf*) |
| 18692 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18693 | soname_spec='$libname$release$shared_ext$major' |
| 18694 | need_version=no |
| 18695 | need_lib_prefix=no |
| 18696 | ;; |
| 18697 | freebsd-*) |
| 18698 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 18699 | need_version=yes |
| 18700 | ;; |
| 18701 | esac |
| 18702 | case $host_cpu in |
| 18703 | powerpc64) |
| 18704 | # On FreeBSD bi-arch platforms, a different variable is used for 32-bit |
| 18705 | # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. |
| 18706 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18707 | /* end confdefs.h. */ |
| 18708 | int test_pointer_size[sizeof (void *) - 5]; |
| 18709 | |
| 18710 | _ACEOF |
| 18711 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 18712 | then : |
| 18713 | shlibpath_var=LD_LIBRARY_PATH |
| 18714 | else case e in #( |
| 18715 | e) shlibpath_var=LD_32_LIBRARY_PATH ;; |
| 18716 | esac |
| 18717 | fi |
| 18718 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18719 | ;; |
| 18720 | *) |
| 18721 | shlibpath_var=LD_LIBRARY_PATH |
| 18722 | ;; |
| 18723 | esac |
| 18724 | case $host_os in |
| 18725 | freebsd2.*) |
| 18726 | shlibpath_overrides_runpath=yes |
| 18727 | ;; |
| 18728 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 18729 | shlibpath_overrides_runpath=yes |
| 18730 | hardcode_into_libs=yes |
| 18731 | ;; |
| 18732 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 18733 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 18734 | shlibpath_overrides_runpath=no |
| 18735 | hardcode_into_libs=yes |
| 18736 | ;; |
| 18737 | *) # from 4.6 on, and DragonFly |
| 18738 | shlibpath_overrides_runpath=yes |
| 18739 | hardcode_into_libs=yes |
| 18740 | ;; |
| 18741 | esac |
| 18742 | ;; |
| 18743 | |
| 18744 | haiku*) |
| 18745 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18746 | need_lib_prefix=no |
| 18747 | need_version=no |
| 18748 | dynamic_linker="$host_os runtime_loader" |
| 18749 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18750 | soname_spec='$libname$release$shared_ext$major' |
| 18751 | shlibpath_var=LIBRARY_PATH |
| 18752 | shlibpath_overrides_runpath=no |
| 18753 | sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/libscip-shell filesystem . . `/boot/system/non-packaged/develop/lib /boot/system/develop/lib`.' |
| 18754 | sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib`.' |
| 18755 | hardcode_into_libs=no |
| 18756 | ;; |
| 18757 | |
| 18758 | hpux9* | hpux10* | hpux11*) |
| 18759 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 18760 | # link against other versions. |
| 18761 | version_type=sunos |
| 18762 | need_lib_prefix=no |
| 18763 | need_version=no |
| 18764 | case $host_cpu in |
| 18765 | ia64*) |
| 18766 | shrext_cmds='.so' |
| 18767 | hardcode_into_libs=yes |
| 18768 | dynamic_linker="$host_os dld.so" |
| 18769 | shlibpath_var=LD_LIBRARY_PATH |
| 18770 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 18771 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18772 | soname_spec='$libname$release$shared_ext$major' |
| 18773 | if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then |
| 18774 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/libscip-shell filesystem . . `/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib`." |
| 18775 | sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`. |
| 18776 | else |
| 18777 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`." |
| 18778 | sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`. |
| 18779 | fi |
| 18780 | ;; |
| 18781 | hppa*64*) |
| 18782 | shrext_cmds='.sl' |
| 18783 | hardcode_into_libs=yes |
| 18784 | dynamic_linker="$host_os dld.sl" |
| 18785 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 18786 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 18787 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18788 | soname_spec='$libname$release$shared_ext$major' |
| 18789 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64scip-shell filesystem . . `/usr/lib/pa20_64 /usr/ccs/lib/pa20_64`." |
| 18790 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 18791 | ;; |
| 18792 | *) |
| 18793 | shrext_cmds='.sl' |
| 18794 | dynamic_linker="$host_os dld.sl" |
| 18795 | shlibpath_var=SHLIB_PATH |
| 18796 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 18797 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18798 | soname_spec='$libname$release$shared_ext$major' |
| 18799 | ;; |
| 18800 | esac |
| 18801 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 18802 | postinstall_cmds='chmod 555 $lib' |
| 18803 | # or fails outright, so override atomically: |
| 18804 | install_override_mode=555 |
| 18805 | ;; |
| 18806 | |
| 18807 | interix[3-9]*) |
| 18808 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18809 | need_lib_prefix=no |
| 18810 | need_version=no |
| 18811 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18812 | soname_spec='$libname$release$shared_ext$major' |
| 18813 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 18814 | shlibpath_var=LD_LIBRARY_PATH |
| 18815 | shlibpath_overrides_runpath=no |
| 18816 | hardcode_into_libs=yes |
| 18817 | ;; |
| 18818 | |
| 18819 | irix5* | irix6* | nonstopux*) |
| 18820 | case $host_os in |
| 18821 | nonstopux*) version_type=nonstopux ;; |
| 18822 | *) |
| 18823 | if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then |
| 18824 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18825 | else |
| 18826 | version_type=irix |
| 18827 | fi ;; |
| 18828 | esac |
| 18829 | need_lib_prefix=no |
| 18830 | need_version=no |
| 18831 | soname_spec='$libname$release$shared_ext$major' |
| 18832 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 18833 | case $host_os in |
| 18834 | irix5* | nonstopux*) |
| 18835 | libsuff= shlibsuff= |
| 18836 | ;; |
| 18837 | *) |
| 18838 | case $LD in # libtool.m4 will add one of these switches to LD |
| 18839 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 18840 | libsuff= shlibsuff= libmagic=32-bit;; |
| 18841 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 18842 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 18843 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 18844 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 18845 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 18846 | esac |
| 18847 | ;; |
| 18848 | esac |
| 18849 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 18850 | shlibpath_overrides_runpath=no |
| 18851 | sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 18852 | sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 18853 | hardcode_into_libs=yes |
| 18854 | ;; |
| 18855 | |
| 18856 | # No shared lib support for Linux oldld, aout, or coff. |
| 18857 | linux*oldld* | linux*aout* | linux*coff*) |
| 18858 | dynamic_linker=no |
| 18859 | ;; |
| 18860 | |
| 18861 | linux*android*) |
| 18862 | version_type=none # Android doesn't support versioned libraries. |
| 18863 | need_lib_prefix=no |
| 18864 | need_version=no |
| 18865 | library_names_spec='$libname$release$shared_ext $libname$shared_ext' |
| 18866 | soname_spec='$libname$release$shared_ext' |
| 18867 | finish_cmds= |
| 18868 | shlibpath_var=LD_LIBRARY_PATH |
| 18869 | shlibpath_overrides_runpath=yes |
| 18870 | |
| 18871 | # This implies no fast_install, which is unacceptable. |
| 18872 | # Some rework will be needed to allow for fast_install |
| 18873 | # before this can be enabled. |
| 18874 | hardcode_into_libs=yes |
| 18875 | |
| 18876 | dynamic_linker='Android linker' |
| 18877 | # -rpath works at least for libraries that are not overridden by |
| 18878 | # libraries installed in system locations. |
| 18879 | hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
| 18880 | ;; |
| 18881 | |
| 18882 | # This must be glibc/ELF. |
| 18883 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 18884 | version_type=linux # correct to gnu/linux during the next big refactor |
| 18885 | need_lib_prefix=no |
| 18886 | need_version=no |
| 18887 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18888 | soname_spec='$libname$release$shared_ext$major' |
| 18889 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 18890 | shlibpath_var=LD_LIBRARY_PATH |
| 18891 | shlibpath_overrides_runpath=no |
| 18892 | |
| 18893 | # Some binutils ld are patched to set DT_RUNPATH |
| 18894 | if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y} |
| 18895 | then : |
| 18896 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18897 | else case e in #( |
| 18898 | e) lt_cv_shlibpath_overrides_runpath=no |
| 18899 | save_LDFLAGS=$LDFLAGS |
| 18900 | save_libdir=$libdir |
| 18901 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ |
| 18902 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" |
| 18903 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18904 | /* end confdefs.h. */ |
| 18905 | |
| 18906 | int |
| 18907 | main (void) |
| 18908 | { |
| 18909 | |
| 18910 | ; |
| 18911 | return 0; |
| 18912 | } |
| 18913 | _ACEOF |
| 18914 | if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO" |
| 18915 | then : |
| 18916 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "RUNPATH.*$libdir" >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 18917 | then : |
| 18918 | lt_cv_shlibpath_overrides_runpath=yes |
| 18919 | fi |
| 18920 | fi |
| 18921 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18922 | conftest$ac_exeext conftest.$ac_ext |
| 18923 | LDFLAGS=$save_LDFLAGS |
| 18924 | libdir=$save_libdir |
| 18925 | ;; |
| 18926 | esac |
| 18927 | fi |
| 18928 | |
| 18929 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 18930 | |
| 18931 | # This implies no fast_install, which is unacceptable. |
| 18932 | # Some rework will be needed to allow for fast_install |
| 18933 | # before this can be enabled. |
| 18934 | hardcode_into_libs=yes |
| 18935 | |
| 18936 | # Ideally, we could use ldconfig to report *all* directories which are |
| 18937 | # searched for libraries, however this is still not possible. Aside from not |
| 18938 | # being certain /sbin/ldconfig is available, command |
| 18939 | # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 18940 | # even though it is searched at run-time. Try to do the best guess by |
| 18941 | # appending ld.so.conf contents (and includes) to the search path. |
| 18942 | if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then |
| 18943 | lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | trscip-shell system . . tr. '\n' ' '` |
| 18944 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 18945 | fi |
| 18946 | |
| 18947 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 18948 | # powerpc, because MkLinux only supported shared libraries with the |
| 18949 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 18950 | # most powerpc-linux boxes support dynamic linking these days and |
| 18951 | # people can always --disable-shared, the test was removed, and we |
| 18952 | # assume the GNU/Linux dynamic linker is in use. |
| 18953 | dynamic_linker='GNU/Linux ld.so' |
| 18954 | ;; |
| 18955 | |
| 18956 | netbsdelf*-gnu) |
| 18957 | version_type=linux |
| 18958 | need_lib_prefix=no |
| 18959 | need_version=no |
| 18960 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18961 | soname_spec='$libname$release$shared_ext$major' |
| 18962 | shlibpath_var=LD_LIBRARY_PATH |
| 18963 | shlibpath_overrides_runpath=no |
| 18964 | hardcode_into_libs=yes |
| 18965 | dynamic_linker='NetBSD ld.elf_so' |
| 18966 | ;; |
| 18967 | |
| 18968 | netbsdelf*-gnu) |
| 18969 | version_type=linux |
| 18970 | need_lib_prefix=no |
| 18971 | need_version=no |
| 18972 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 18973 | soname_spec='${libname}${release}${shared_ext}$major' |
| 18974 | shlibpath_var=LD_LIBRARY_PATH |
| 18975 | shlibpath_overrides_runpath=no |
| 18976 | hardcode_into_libs=yes |
| 18977 | dynamic_linker='NetBSD ld.elf_so' |
| 18978 | ;; |
| 18979 | |
| 18980 | netbsd*) |
| 18981 | version_type=sunos |
| 18982 | need_lib_prefix=no |
| 18983 | need_version=no |
| 18984 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 18985 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 18986 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 18987 | dynamic_linker='NetBSD (a.out) ld.so' |
| 18988 | else |
| 18989 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18990 | soname_spec='$libname$release$shared_ext$major' |
| 18991 | dynamic_linker='NetBSD ld.elf_so' |
| 18992 | fi |
| 18993 | shlibpath_var=LD_LIBRARY_PATH |
| 18994 | shlibpath_overrides_runpath=yes |
| 18995 | hardcode_into_libs=yes |
| 18996 | ;; |
| 18997 | |
| 18998 | *-mlibc) |
| 18999 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19000 | need_lib_prefix=no |
| 19001 | need_version=no |
| 19002 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19003 | soname_spec='$libname$release$shared_ext$major' |
| 19004 | dynamic_linker='mlibc ld.so' |
| 19005 | shlibpath_var=LD_LIBRARY_PATH |
| 19006 | shlibpath_overrides_runpath=no |
| 19007 | hardcode_into_libs=yes |
| 19008 | ;; |
| 19009 | |
| 19010 | newsos6) |
| 19011 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19012 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19013 | shlibpath_var=LD_LIBRARY_PATH |
| 19014 | shlibpath_overrides_runpath=yes |
| 19015 | ;; |
| 19016 | |
| 19017 | *nto* | *qnx*) |
| 19018 | version_type=qnx |
| 19019 | need_lib_prefix=no |
| 19020 | need_version=no |
| 19021 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19022 | soname_spec='$libname$release$shared_ext$major' |
| 19023 | shlibpath_var=LD_LIBRARY_PATH |
| 19024 | shlibpath_overrides_runpath=no |
| 19025 | hardcode_into_libs=yes |
| 19026 | dynamic_linker='ldqnx.so' |
| 19027 | ;; |
| 19028 | |
| 19029 | openbsd*) |
| 19030 | version_type=sunos |
| 19031 | sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`. |
| 19032 | need_lib_prefix=no |
| 19033 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 19034 | need_version=no |
| 19035 | else |
| 19036 | need_version=yes |
| 19037 | fi |
| 19038 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 19039 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 19040 | shlibpath_var=LD_LIBRARY_PATH |
| 19041 | shlibpath_overrides_runpath=yes |
| 19042 | ;; |
| 19043 | |
| 19044 | os2*) |
| 19045 | libname_spec='$name' |
| 19046 | version_type=windows |
| 19047 | shrext_cmds=.dll |
| 19048 | need_version=no |
| 19049 | need_lib_prefix=no |
| 19050 | # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 19051 | soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 19052 | v=$($ECHO $release$versuffix | tr -d .-); |
| 19053 | n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 19054 | $ECHO $n$v`$shared_ext' |
| 19055 | library_names_spec='${libname}_dll.$libext' |
| 19056 | dynamic_linker='OS/2 ld.exe' |
| 19057 | shlibpath_var=BEGINLIBPATH |
| 19058 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`." |
| 19059 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 19060 | postinstall_cmds='base_file=`basename \$file`~ |
| 19061 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 19062 | dldir=$destdir/`dirname \$dlpath`~ |
| 19063 | test -d \$dldir || mkdir -p \$dldir~ |
| 19064 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 19065 | chmod a+x \$dldir/$dlname~ |
| 19066 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 19067 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 19068 | fi' |
| 19069 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 19070 | dlpath=$dir/\$dldll~ |
| 19071 | $RM \$dlpath' |
| 19072 | ;; |
| 19073 | |
| 19074 | osf3* | osf4* | osf5*) |
| 19075 | version_type=osf |
| 19076 | need_lib_prefix=no |
| 19077 | need_version=no |
| 19078 | soname_spec='$libname$release$shared_ext$major' |
| 19079 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19080 | shlibpath_var=LD_LIBRARY_PATH |
| 19081 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlibscip-shell filesystem . . `/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib`." |
| 19082 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 19083 | ;; |
| 19084 | |
| 19085 | rdos*) |
| 19086 | dynamic_linker=no |
| 19087 | ;; |
| 19088 | |
| 19089 | serenity*) |
| 19090 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19091 | need_lib_prefix=no |
| 19092 | need_version=no |
| 19093 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19094 | soname_spec='$libname$release$shared_ext$major' |
| 19095 | shlibpath_var=LD_LIBRARY_PATH |
| 19096 | shlibpath_overrides_runpath=no |
| 19097 | dynamic_linker='SerenityOS LibELF' |
| 19098 | ;; |
| 19099 | |
| 19100 | solaris*) |
| 19101 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19102 | need_lib_prefix=no |
| 19103 | need_version=no |
| 19104 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19105 | soname_spec='$libname$release$shared_ext$major' |
| 19106 | shlibpath_var=LD_LIBRARY_PATH |
| 19107 | shlibpath_overrides_runpath=yes |
| 19108 | hardcode_into_libs=yes |
| 19109 | # ldd complains unless libraries are executable |
| 19110 | postinstall_cmds='chmod +x $lib' |
| 19111 | ;; |
| 19112 | |
| 19113 | sunos4*) |
| 19114 | version_type=sunos |
| 19115 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 19116 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 19117 | shlibpath_var=LD_LIBRARY_PATH |
| 19118 | shlibpath_overrides_runpath=yes |
| 19119 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 19120 | need_lib_prefix=no |
| 19121 | fi |
| 19122 | need_version=yes |
| 19123 | ;; |
| 19124 | |
| 19125 | sysv4 | sysv4.3*) |
| 19126 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19127 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19128 | soname_spec='$libname$release$shared_ext$major' |
| 19129 | shlibpath_var=LD_LIBRARY_PATH |
| 19130 | case $host_vendor in |
| 19131 | sni) |
| 19132 | shlibpath_overrides_runpath=no |
| 19133 | need_lib_prefix=no |
| 19134 | runpath_var=LD_RUN_PATH |
| 19135 | ;; |
| 19136 | siemens) |
| 19137 | need_lib_prefix=no |
| 19138 | ;; |
| 19139 | motorola) |
| 19140 | need_lib_prefix=no |
| 19141 | need_version=no |
| 19142 | shlibpath_overrides_runpath=no |
| 19143 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.' |
| 19144 | ;; |
| 19145 | esac |
| 19146 | ;; |
| 19147 | |
| 19148 | sysv4*MP*) |
| 19149 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 19150 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19151 | library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 19152 | soname_spec='$libname$shared_ext.$major' |
| 19153 | shlibpath_var=LD_LIBRARY_PATH |
| 19154 | fi |
| 19155 | ;; |
| 19156 | |
| 19157 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 19158 | version_type=sco |
| 19159 | need_lib_prefix=no |
| 19160 | need_version=no |
| 19161 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 19162 | soname_spec='$libname$release$shared_ext$major' |
| 19163 | shlibpath_var=LD_LIBRARY_PATH |
| 19164 | shlibpath_overrides_runpath=yes |
| 19165 | hardcode_into_libs=yes |
| 19166 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 19167 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /libscip-shell filesystem . . `/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib`.' |
| 19168 | else |
| 19169 | sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.' |
| 19170 | case $host_os in |
| 19171 | sco3.2v5*) |
| 19172 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 19173 | ;; |
| 19174 | esac |
| 19175 | fi |
| 19176 | sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.' |
| 19177 | ;; |
| 19178 | |
| 19179 | tpf*) |
| 19180 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 19181 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19182 | need_lib_prefix=no |
| 19183 | need_version=no |
| 19184 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19185 | shlibpath_var=LD_LIBRARY_PATH |
| 19186 | shlibpath_overrides_runpath=no |
| 19187 | hardcode_into_libs=yes |
| 19188 | ;; |
| 19189 | |
| 19190 | uts4*) |
| 19191 | version_type=linux # correct to gnu/linux during the next big refactor |
| 19192 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 19193 | soname_spec='$libname$release$shared_ext$major' |
| 19194 | shlibpath_var=LD_LIBRARY_PATH |
| 19195 | ;; |
| 19196 | |
| 19197 | emscripten*) |
| 19198 | version_type=none |
| 19199 | need_lib_prefix=no |
| 19200 | need_version=no |
| 19201 | library_names_spec='$libname$release$shared_ext' |
| 19202 | soname_spec='$libname$release$shared_ext' |
| 19203 | finish_cmds= |
| 19204 | dynamic_linker="Emscripten linker" |
| 19205 | lt_prog_compiler_wl_CXX= |
| 19206 | lt_prog_compiler_pic_CXX= |
| 19207 | lt_prog_compiler_static_CXX= |
| 19208 | |
| 19209 | |
| 19210 | # C++ specific cases for pic, static, wl, etc. |
| 19211 | if testscip-shell system . . test. yes = "$GXX"; then |
| 19212 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19213 | lt_prog_compiler_static_CXX='-static' |
| 19214 | |
| 19215 | case $host_os in |
| 19216 | aix*) |
| 19217 | # All AIX code is PIC. |
| 19218 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 19219 | # AIX 5 now supports IA64 processor |
| 19220 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19221 | fi |
| 19222 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19223 | ;; |
| 19224 | |
| 19225 | amigaos*) |
| 19226 | case $host_cpu in |
| 19227 | powerpc) |
| 19228 | # see comment about AmigaOS4 .so support |
| 19229 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19230 | ;; |
| 19231 | m68k) |
| 19232 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 19233 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 19234 | # like '-m68040'. |
| 19235 | lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
| 19236 | ;; |
| 19237 | esac |
| 19238 | ;; |
| 19239 | |
| 19240 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 19241 | # PIC is the default for these OSes. |
| 19242 | ;; |
| 19243 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 19244 | # This hack is so that the source file can tell whether it is being |
| 19245 | # built for inclusion in a dll (and should export symbols for example). |
| 19246 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 19247 | # (--disable-auto-import) libraries |
| 19248 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 19249 | case $host_os in |
| 19250 | os2*) |
| 19251 | lt_prog_compiler_static_CXX='$wl-static' |
| 19252 | ;; |
| 19253 | esac |
| 19254 | ;; |
| 19255 | darwin* | rhapsody*) |
| 19256 | # PIC is the default on this platform |
| 19257 | # Common symbols not allowed in MH_DYLIB files |
| 19258 | lt_prog_compiler_pic_CXX='-fno-common' |
| 19259 | ;; |
| 19260 | *djgpp*) |
| 19261 | # DJGPP does not support shared libraries at all |
| 19262 | lt_prog_compiler_pic_CXX= |
| 19263 | ;; |
| 19264 | haiku*) |
| 19265 | # PIC is the default for Haiku. |
| 19266 | # The "-static" flag exists, but is broken. |
| 19267 | lt_prog_compiler_static_CXX= |
| 19268 | ;; |
| 19269 | interix[3-9]*) |
| 19270 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 19271 | # Instead, we relocate shared libraries at runtime. |
| 19272 | ;; |
| 19273 | sysv4*MP*) |
| 19274 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 19275 | lt_prog_compiler_pic_CXX=-Kconform_pic |
| 19276 | fi |
| 19277 | ;; |
| 19278 | hpux*) |
| 19279 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 19280 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 19281 | # sets the default TLS model and affects inlining. |
| 19282 | case $host_cpu in |
| 19283 | hppa*64*) |
| 19284 | ;; |
| 19285 | *) |
| 19286 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19287 | ;; |
| 19288 | esac |
| 19289 | ;; |
| 19290 | *qnx* | *nto*) |
| 19291 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 19292 | # it will coredump. |
| 19293 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 19294 | ;; |
| 19295 | *) |
| 19296 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19297 | ;; |
| 19298 | esac |
| 19299 | else |
| 19300 | case $host_os in |
| 19301 | aix[4-9]*) |
| 19302 | # All AIX code is PIC. |
| 19303 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 19304 | # AIX 5 now supports IA64 processor |
| 19305 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19306 | else |
| 19307 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
| 19308 | fi |
| 19309 | ;; |
| 19310 | chorus*) |
| 19311 | case $cc_basename in |
| 19312 | cxch68*) |
| 19313 | # Green Hills C++ Compiler |
| 19314 | # _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" |
| 19315 | ;; |
| 19316 | esac |
| 19317 | ;; |
| 19318 | mingw* | windows* | cygwin* | os2* | pw32* | cegcc*) |
| 19319 | # This hack is so that the source file can tell whether it is being |
| 19320 | # built for inclusion in a dll (and should export symbols for example). |
| 19321 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
| 19322 | ;; |
| 19323 | dgux*) |
| 19324 | case $cc_basename in |
| 19325 | ec++*) |
| 19326 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19327 | ;; |
| 19328 | ghcx*) |
| 19329 | # Green Hills C++ Compiler |
| 19330 | lt_prog_compiler_pic_CXX='-pic' |
| 19331 | ;; |
| 19332 | *) |
| 19333 | ;; |
| 19334 | esac |
| 19335 | ;; |
| 19336 | freebsd* | dragonfly* | midnightbsd*) |
| 19337 | # FreeBSD uses GNU C++ |
| 19338 | ;; |
| 19339 | hpux9* | hpux10* | hpux11*) |
| 19340 | case $cc_basename in |
| 19341 | CC*) |
| 19342 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19343 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 19344 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 19345 | lt_prog_compiler_pic_CXX='+Z' |
| 19346 | fi |
| 19347 | ;; |
| 19348 | aCC*) |
| 19349 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19350 | lt_prog_compiler_static_CXX='$wl-a ${wl}archive' |
| 19351 | case $host_cpu in |
| 19352 | hppa*64*|ia64*) |
| 19353 | # +Z the default |
| 19354 | ;; |
| 19355 | *) |
| 19356 | lt_prog_compiler_pic_CXX='+Z' |
| 19357 | ;; |
| 19358 | esac |
| 19359 | ;; |
| 19360 | *) |
| 19361 | ;; |
| 19362 | esac |
| 19363 | ;; |
| 19364 | interix*) |
| 19365 | # This is c89, which is MS Visual C++ (no shared libs) |
| 19366 | # Anyone wants to do a port? |
| 19367 | ;; |
| 19368 | irix5* | irix6* | nonstopux*) |
| 19369 | case $cc_basename in |
| 19370 | CC*) |
| 19371 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19372 | lt_prog_compiler_static_CXX='-non_shared' |
| 19373 | # CC pic flag -KPIC is the default. |
| 19374 | ;; |
| 19375 | *) |
| 19376 | ;; |
| 19377 | esac |
| 19378 | ;; |
| 19379 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 19380 | case $cc_basename in |
| 19381 | KCC*) |
| 19382 | # KAI C++ Compiler |
| 19383 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 19384 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19385 | ;; |
| 19386 | ecpc* ) |
| 19387 | # old Intel C++ for x86_64, which still supported -KPIC. |
| 19388 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19389 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19390 | lt_prog_compiler_static_CXX='-static' |
| 19391 | ;; |
| 19392 | icpc* ) |
| 19393 | # Intel C++, used to be incompatible with GCC. |
| 19394 | # ICC 10 doesn't accept -KPIC any more. |
| 19395 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19396 | lt_prog_compiler_pic_CXX='-fPIC' |
| 19397 | lt_prog_compiler_static_CXX='-static' |
| 19398 | ;; |
| 19399 | pgCC* | pgcpp*) |
| 19400 | # Portland Group C++ compiler |
| 19401 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19402 | lt_prog_compiler_pic_CXX='-fpic' |
| 19403 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19404 | ;; |
| 19405 | cxx*) |
| 19406 | # Compaq C++ |
| 19407 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 19408 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 19409 | lt_prog_compiler_pic_CXX= |
| 19410 | lt_prog_compiler_static_CXX='-non_shared' |
| 19411 | ;; |
| 19412 | xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) |
| 19413 | # IBM XL 8.0, 9.0 on PPC and BlueGene |
| 19414 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19415 | lt_prog_compiler_pic_CXX='-qpic' |
| 19416 | lt_prog_compiler_static_CXX='-qstaticlink' |
| 19417 | ;; |
| 19418 | *) |
| 19419 | case `$CC -V 2>&1 | $SED 5q` in |
| 19420 | *Sun\ C*) |
| 19421 | # Sun C++ 5.9 |
| 19422 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19423 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19424 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 19425 | ;; |
| 19426 | esac |
| 19427 | ;; |
| 19428 | esac |
| 19429 | ;; |
| 19430 | lynxos*) |
| 19431 | ;; |
| 19432 | m88k*) |
| 19433 | ;; |
| 19434 | mvs*) |
| 19435 | case $cc_basename in |
| 19436 | cxx*) |
| 19437 | lt_prog_compiler_pic_CXX='-W c,exportall' |
| 19438 | ;; |
| 19439 | *) |
| 19440 | ;; |
| 19441 | esac |
| 19442 | ;; |
| 19443 | netbsd* | netbsdelf*-gnu) |
| 19444 | ;; |
| 19445 | *-mlibc) |
| 19446 | ;; |
| 19447 | *qnx* | *nto*) |
| 19448 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 19449 | # it will coredump. |
| 19450 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
| 19451 | ;; |
| 19452 | osf3* | osf4* | osf5*) |
| 19453 | case $cc_basename in |
| 19454 | KCC*) |
| 19455 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
| 19456 | ;; |
| 19457 | RCC*) |
| 19458 | # Rational C++ 2.4.1 |
| 19459 | lt_prog_compiler_pic_CXX='-pic' |
| 19460 | ;; |
| 19461 | cxx*) |
| 19462 | # Digital/Compaq C++ |
| 19463 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19464 | # Make sure the PIC flag is empty. It appears that all Alpha |
| 19465 | # Linux and Compaq Tru64 Unix objects are PIC. |
| 19466 | lt_prog_compiler_pic_CXX= |
| 19467 | lt_prog_compiler_static_CXX='-non_shared' |
| 19468 | ;; |
| 19469 | *) |
| 19470 | ;; |
| 19471 | esac |
| 19472 | ;; |
| 19473 | psos*) |
| 19474 | ;; |
| 19475 | serenity*) |
| 19476 | ;; |
| 19477 | solaris*) |
| 19478 | case $cc_basename in |
| 19479 | CC* | sunCC*) |
| 19480 | # Sun C++ 4.2, 5.x and Centerline C++ |
| 19481 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19482 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19483 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
| 19484 | ;; |
| 19485 | gcx*) |
| 19486 | # Green Hills C++ Compiler |
| 19487 | lt_prog_compiler_pic_CXX='-PIC' |
| 19488 | ;; |
| 19489 | *) |
| 19490 | ;; |
| 19491 | esac |
| 19492 | ;; |
| 19493 | sunos4*) |
| 19494 | case $cc_basename in |
| 19495 | CC*) |
| 19496 | # Sun C++ 4.x |
| 19497 | lt_prog_compiler_pic_CXX='-pic' |
| 19498 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19499 | ;; |
| 19500 | lcc*) |
| 19501 | # Lucid |
| 19502 | lt_prog_compiler_pic_CXX='-pic' |
| 19503 | ;; |
| 19504 | *) |
| 19505 | ;; |
| 19506 | esac |
| 19507 | ;; |
| 19508 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 19509 | case $cc_basename in |
| 19510 | CC*) |
| 19511 | lt_prog_compiler_wl_CXX='-Wl,' |
| 19512 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19513 | lt_prog_compiler_static_CXX='-Bstatic' |
| 19514 | ;; |
| 19515 | esac |
| 19516 | ;; |
| 19517 | tandem*) |
| 19518 | case $cc_basename in |
| 19519 | NCC*) |
| 19520 | # NonStop-UX NCC 3.20 |
| 19521 | lt_prog_compiler_pic_CXX='-KPIC' |
| 19522 | ;; |
| 19523 | *) |
| 19524 | ;; |
| 19525 | esac |
| 19526 | ;; |
| 19527 | vxworks*) |
| 19528 | ;; |
| 19529 | *) |
| 19530 | lt_prog_compiler_can_build_shared_CXX=no |
| 19531 | ;; |
| 19532 | esac |
| 19533 | fi |
| 19534 | |
| 19535 | case $host_os in |
| 19536 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 19537 | *djgpp*) |
| 19538 | lt_prog_compiler_pic_CXX= |
| 19539 | ;; |
| 19540 | *) |
| 19541 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
| 19542 | ;; |
| 19543 | esac |
| 19544 | |
| 19545 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 19546 | printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; } |
| 19547 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_CXX+y} |
| 19548 | then : |
| 19549 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19550 | else case e in #( |
| 19551 | e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;; |
| 19552 | esac |
| 19553 | fi |
| 19554 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 |
| 19555 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; } |
| 19556 | lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX |
| 19557 | |
| 19558 | # |
| 19559 | # Check to make sure the PIC flag actually works. |
| 19560 | # |
| 19561 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic_CXX"; then |
| 19562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
| 19563 | printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
| 19564 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works_CXX+y} |
| 19565 | then : |
| 19566 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19567 | else case e in #( |
| 19568 | e) lt_cv_prog_compiler_pic_works_CXX=no |
| 19569 | ac_outfile=conftest.$ac_objext |
| 19570 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 19571 | lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 19572 | # Insert the option either (1) after the last *FLAGS variable, or |
| 19573 | # (2) before a word containing "conftest.", or (3) at the end. |
| 19574 | # Note that $ac_compile itself does not contain backslashes and begins |
| 19575 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 19576 | # The option is referenced via a variable to avoid confusing sed. |
| 19577 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 19578 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 19579 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 19580 | -e 's:$: $lt_compiler_flag:'` |
| 19581 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 19582 | (eval "$lt_compile" 2>conftest.err) |
| 19583 | ac_status=$? |
| 19584 | catscip-shell system . . cat. conftest.err >&5 |
| 19585 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19586 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 19587 | # The compiler can only warn and ignore the option if not recognized |
| 19588 | # So say no if there are warnings other than the usual output. |
| 19589 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 19590 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 19591 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 19592 | lt_cv_prog_compiler_pic_works_CXX=yes |
| 19593 | fi |
| 19594 | fi |
| 19595 | $RM conftest* |
| 19596 | ;; |
| 19597 | esac |
| 19598 | fi |
| 19599 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
| 19600 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
| 19601 | |
| 19602 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works_CXX"; then |
| 19603 | case $lt_prog_compiler_pic_CXX in |
| 19604 | "" | " "*) ;; |
| 19605 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
| 19606 | esac |
| 19607 | else |
| 19608 | lt_prog_compiler_pic_CXX= |
| 19609 | lt_prog_compiler_can_build_shared_CXX=no |
| 19610 | fi |
| 19611 | |
| 19612 | fi |
| 19613 | |
| 19614 | |
| 19615 | |
| 19616 | |
| 19617 | |
| 19618 | # |
| 19619 | # Check to make sure the static flag actually works. |
| 19620 | # |
| 19621 | wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
| 19622 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 19623 | printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 19624 | if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works_CXX+y} |
| 19625 | then : |
| 19626 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19627 | else case e in #( |
| 19628 | e) lt_cv_prog_compiler_static_works_CXX=no |
| 19629 | save_LDFLAGS=$LDFLAGS |
| 19630 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 19631 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 19632 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 19633 | # The linker can only warn and ignore the option if not recognized |
| 19634 | # So say no if there are warnings |
| 19635 | if testscip-shell system . . test. -s conftest.err; then |
| 19636 | # Append any errors to the config.log. |
| 19637 | catscip-shell system . . cat. conftest.err 1>&5 |
| 19638 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 19639 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 19640 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 19641 | lt_cv_prog_compiler_static_works_CXX=yes |
| 19642 | fi |
| 19643 | else |
| 19644 | lt_cv_prog_compiler_static_works_CXX=yes |
| 19645 | fi |
| 19646 | fi |
| 19647 | $RM -r conftest* |
| 19648 | LDFLAGS=$save_LDFLAGS |
| 19649 | ;; |
| 19650 | esac |
| 19651 | fi |
| 19652 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
| 19653 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
| 19654 | |
| 19655 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works_CXX"; then |
| 19656 | : |
| 19657 | else |
| 19658 | lt_prog_compiler_static_CXX= |
| 19659 | fi |
| 19660 | |
| 19661 | |
| 19662 | |
| 19663 | ='-fPIC' |
| 19664 | archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' |
| 19665 | 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' |
| 19666 | archive_cmds_need_lc_CXX=no |
| 19667 | no_undefined_flag_CXX= |
| 19668 | ;; |
| 19669 | |
| 19670 | *) |
| 19671 | dynamic_linker=no |
| 19672 | ;; |
| 19673 | esac |
| 19674 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 19675 | printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; } |
| 19676 | testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no |
| 19677 | |
| 19678 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 19679 | if testscip-shell system . . test. yes = "$GCC"; then |
| 19680 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 19681 | fi |
| 19682 | |
| 19683 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 19684 | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 19685 | fi |
| 19686 | |
| 19687 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 19688 | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 19689 | fi |
| 19690 | |
| 19691 | # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 19692 | configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 19693 | |
| 19694 | # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 19695 | func_munge_path_listscip-shell shell shell-project 0.0.0 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 19696 | |
| 19697 | # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 19698 | configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 19699 | |
| 19700 | |
| 19701 | |
| 19702 | |
| 19703 | |
| 19704 | |
| 19705 | |
| 19706 | |
| 19707 | |
| 19708 | |
| 19709 | |
| 19710 | |
| 19711 | |
| 19712 | |
| 19713 | |
| 19714 | |
| 19715 | |
| 19716 | |
| 19717 | |
| 19718 | |
| 19719 | |
| 19720 | |
| 19721 | |
| 19722 | |
| 19723 | |
| 19724 | |
| 19725 | |
| 19726 | |
| 19727 | |
| 19728 | |
| 19729 | |
| 19730 | |
| 19731 | |
| 19732 | |
| 19733 | |
| 19734 | |
| 19735 | |
| 19736 | |
| 19737 | |
| 19738 | |
| 19739 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 19740 | printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; } |
| 19741 | hardcode_action_CXX= |
| 19742 | if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec_CXX" || |
| 19743 | testscip-shell system . . test. -n "$runpath_var_CXX" || |
| 19744 | testscip-shell system . . test. yes = "$hardcode_automatic_CXX"; then |
| 19745 | |
| 19746 | # We can hardcode non-existent directories. |
| 19747 | if testscip-shell system . . test. no != "$hardcode_direct_CXX" && |
| 19748 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 19749 | # have to relink, otherwise we might link with an installed library |
| 19750 | # when we should be linking with a yet-to-be-installed one |
| 19751 | ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && |
| 19752 | testscip-shell system . . test. no != "$hardcode_minus_L_CXX"; then |
| 19753 | # Linking always hardcodes the temporary library directory. |
| 19754 | hardcode_action_CXX=relink |
| 19755 | else |
| 19756 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 19757 | hardcode_action_CXX=immediate |
| 19758 | fi |
| 19759 | else |
| 19760 | # We cannot hardcode anything, or else we can only hardcode existing |
| 19761 | # directories. |
| 19762 | hardcode_action_CXX=unsupported |
| 19763 | fi |
| 19764 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 |
| 19765 | printfscip-shell system . . printf. "%s\n" "$hardcode_action_CXX" >&6; } |
| 19766 | |
| 19767 | if testscip-shell system . . test. relink = "$hardcode_action_CXX" || |
| 19768 | testscip-shell system . . test. yes = "$inherit_rpath_CXX"; then |
| 19769 | # Fast installation is not supported |
| 19770 | enable_fast_install=no |
| 19771 | elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" || |
| 19772 | testscip-shell system . . test. no = "$enable_shared"; then |
| 19773 | # Fast installation is not necessary |
| 19774 | enable_fast_install=needless |
| 19775 | fi |
| 19776 | |
| 19777 | |
| 19778 | |
| 19779 | |
| 19780 | |
| 19781 | |
| 19782 | |
| 19783 | fi # test -n "$compiler" |
| 19784 | |
| 19785 | CC=$lt_save_CC |
| 19786 | CFLAGS=$lt_save_CFLAGS |
| 19787 | LDCXX=$LD |
| 19788 | LD=$lt_save_LD |
| 19789 | GCC=$lt_save_GCC |
| 19790 | with_gnu_ld=$lt_save_with_gnu_ld |
| 19791 | lt_cv_path_LDCXX=$lt_cv_path_LD |
| 19792 | lt_cv_path_LD=$lt_save_path_LD |
| 19793 | lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
| 19794 | lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
| 19795 | fi # test yes != "$_lt_caught_CXX_error" |
| 19796 | |
| 19797 | ac_ext=c |
| 19798 | ac_cpp='$CPP $CPPFLAGS' |
| 19799 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 19800 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 19801 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 19802 | |
| 19803 | |
| 19804 | |
| 19805 | |
| 19806 | |
| 19807 | |
| 19808 | |
| 19809 | |
| 19810 | |
| 19811 | |
| 19812 | |
| 19813 | |
| 19814 | |
| 19815 | |
| 19816 | |
| 19817 | ac_config_commands="$ac_config_commands libtool" |
| 19818 | |
| 19819 | |
| 19820 | |
| 19821 | |
| 19822 | # Only expand once: |
| 19823 | |
| 19824 | |
| 19825 | |
| 19826 | |
| 19827 | |
| 19828 | |
| 19829 | |
| 19830 | |
| 19831 | |
| 19832 | if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 19833 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 19834 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 19835 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 19836 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 19837 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 19838 | if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y} |
| 19839 | then : |
| 19840 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19841 | else case e in #( |
| 19842 | e) case $PKG_CONFIG in |
| 19843 | [\\/]* | ?:[\\/]*) |
| 19844 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 19845 | ;; |
| 19846 | *) |
| 19847 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 19848 | for as_dir in $PATH |
| 19849 | do |
| 19850 | IFS=$as_save_IFS |
| 19851 | case $as_dir in #((( |
| 19852 | '') as_dir=./ ;; |
| 19853 | */) ;; |
| 19854 | *) as_dir=$as_dir/ ;; |
| 19855 | esac |
| 19856 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 19857 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 19858 | ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 19859 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 19860 | break 2 |
| 19861 | fi |
| 19862 | done |
| 19863 | done |
| 19864 | IFS=$as_save_IFS |
| 19865 | |
| 19866 | ;; |
| 19867 | esac ;; |
| 19868 | esac |
| 19869 | fi |
| 19870 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 19871 | if testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 19872 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 19873 | printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; } |
| 19874 | else |
| 19875 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19876 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 19877 | fi |
| 19878 | |
| 19879 | |
| 19880 | fi |
| 19881 | if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then |
| 19882 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 19883 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 19884 | set dummy pkg-config; ac_word=$2 |
| 19885 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 19886 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 19887 | if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 19888 | then : |
| 19889 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19890 | else case e in #( |
| 19891 | e) case $ac_pt_PKG_CONFIG in |
| 19892 | [\\/]* | ?:[\\/]*) |
| 19893 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 19894 | ;; |
| 19895 | *) |
| 19896 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 19897 | for as_dir in $PATH |
| 19898 | do |
| 19899 | IFS=$as_save_IFS |
| 19900 | case $as_dir in #((( |
| 19901 | '') as_dir=./ ;; |
| 19902 | */) ;; |
| 19903 | *) as_dir=$as_dir/ ;; |
| 19904 | esac |
| 19905 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 19906 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 19907 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 19908 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 19909 | break 2 |
| 19910 | fi |
| 19911 | done |
| 19912 | done |
| 19913 | IFS=$as_save_IFS |
| 19914 | |
| 19915 | ;; |
| 19916 | esac ;; |
| 19917 | esac |
| 19918 | fi |
| 19919 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 19920 | if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then |
| 19921 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 19922 | printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 19923 | else |
| 19924 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19925 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 19926 | fi |
| 19927 | |
| 19928 | if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then |
| 19929 | PKG_CONFIG="" |
| 19930 | else |
| 19931 | case $cross_compiling:$ac_tool_warned in |
| 19932 | yes:) |
| 19933 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 19934 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 19935 | ac_tool_warned=yes ;; |
| 19936 | esac |
| 19937 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 19938 | fi |
| 19939 | else |
| 19940 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 19941 | fi |
| 19942 | |
| 19943 | fi |
| 19944 | if testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 19945 | _pkg_min_version=0.28 |
| 19946 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 19947 | printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 19948 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 19949 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 19950 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 19951 | else |
| 19952 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19953 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 19954 | PKG_CONFIG="" |
| 19955 | fi |
| 19956 | fi |
| 19957 | |
| 19958 | |
| 19959 | |
| 19960 | |
| 19961 | |
| 19962 | |
| 19963 | |
| 19964 | |
| 19965 | |
| 19966 | |
| 19967 | |
| 19968 | # This is always checked (library needs this) |
| 19969 | |
| 19970 | |
| 19971 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
| 19972 | printfscip-shell system . . printf. %s "checking for GNU libc compatible malloc... " >&6; } |
| 19973 | if testscip-shell system . . test. ${ac_cv_func_malloc_0_nonnull+y} |
| 19974 | then : |
| 19975 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19976 | else case e in #( |
| 19977 | e) if testscip-shell system . . test. "$cross_compiling" = yes |
| 19978 | then : |
| 19979 | case "$host_os" in # (( |
| 19980 | # Guess yes on platforms where we know the result. |
| 19981 | *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ |
| 19982 | | hpux* | solaris* | cygwin* | mingw* | windows* | msys* ) |
| 19983 | ac_cv_func_malloc_0_nonnull=yes ;; |
| 19984 | # If we don't know, assume the worst. |
| 19985 | *) ac_cv_func_malloc_0_nonnull=no ;; |
| 19986 | esac |
| 19987 | else case e in #( |
| 19988 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19989 | /* end confdefs.h. */ |
| 19990 | #include <stdlib.h> |
| 19991 | |
| 19992 | int |
| 19993 | main (void) |
| 19994 | { |
| 19995 | void *p = malloc (0); |
| 19996 | int result = !p; |
| 19997 | free (p); |
| 19998 | return result; |
| 19999 | ; |
| 20000 | return 0; |
| 20001 | } |
| 20002 | _ACEOF |
| 20003 | if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO" |
| 20004 | then : |
| 20005 | ac_cv_func_malloc_0_nonnull=yes |
| 20006 | else case e in #( |
| 20007 | e) ac_cv_func_malloc_0_nonnull=no ;; |
| 20008 | esac |
| 20009 | fi |
| 20010 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20011 | conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20012 | esac |
| 20013 | fi |
| 20014 | ;; |
| 20015 | esac |
| 20016 | fi |
| 20017 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 |
| 20018 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } |
| 20019 | if testscip-shell system . . test. $ac_cv_func_malloc_0_nonnull = yes |
| 20020 | then : |
| 20021 | |
| 20022 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h |
| 20023 | |
| 20024 | else case e in #( |
| 20025 | e) printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h |
| 20026 | |
| 20027 | case " $LIBOBJS " in |
| 20028 | *" malloc.$ac_objext "* ) ;; |
| 20029 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
| 20030 | ;; |
| 20031 | esac |
| 20032 | |
| 20033 | |
| 20034 | printfscip-shell system . . printf. "%s\n" "#define malloc rpl_malloc" >>confdefs.h |
| 20035 | ;; |
| 20036 | esac |
| 20037 | fi |
| 20038 | |
| 20039 | |
| 20040 | ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
| 20041 | if testscip-shell system . . test. "x$ac_cv_type__Bool" = xyes |
| 20042 | then : |
| 20043 | |
| 20044 | printfscip-shell system . . printf. "%s\n" "#define HAVE__BOOL 1" >>confdefs.h |
| 20045 | |
| 20046 | |
| 20047 | fi |
| 20048 | |
| 20049 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5 |
| 20050 | printfscip-shell system . . printf. %s "checking for stdbool.h that conforms to C99 or later... " >&6; } |
| 20051 | if testscip-shell system . . test. ${ac_cv_header_stdbool_h+y} |
| 20052 | then : |
| 20053 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20054 | else case e in #( |
| 20055 | e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20056 | /* end confdefs.h. */ |
| 20057 | #include <stdbool.h> |
| 20058 | |
| 20059 | /* "true" and "false" should be usable in #if expressions and |
| 20060 | integer constant expressions, and "bool" should be a valid |
| 20061 | type name. |
| 20062 | |
| 20063 | Although C99 requires bool, true, and false to be macros, |
| 20064 | C23 and C++11 overrule that, so do not test for that. |
| 20065 | Although C99 requires __bool_true_false_are_defined and |
| 20066 | _Bool, C23 says they are obsolescent, so do not require |
| 20067 | them. */ |
| 20068 | |
| 20069 | #if !true |
| 20070 | #error "'true' is not true" |
| 20071 | #endif |
| 20072 | #if true != 1 |
| 20073 | #error "'true' is not equal to 1" |
| 20074 | #endif |
| 20075 | char b[true == 1 ? 1 : -1]; |
| 20076 | char c[true]; |
| 20077 | |
| 20078 | #if false |
| 20079 | #error "'false' is not false" |
| 20080 | #endif |
| 20081 | #if false != 0 |
| 20082 | #error "'false' is not equal to 0" |
| 20083 | #endif |
| 20084 | char d[false == 0 ? 1 : -1]; |
| 20085 | |
| 20086 | enum { e = false, f = true, g = false * true, h = true * 256 }; |
| 20087 | |
| 20088 | char i[(bool) 0.5 == true ? 1 : -1]; |
| 20089 | char j[(bool) 0.0 == false ? 1 : -1]; |
| 20090 | char k[sizeof (bool) > 0 ? 1 : -1]; |
| 20091 | |
| 20092 | struct sb { bool s: 1; bool t; } s; |
| 20093 | char l[sizeof s.t > 0 ? 1 : -1]; |
| 20094 | |
| 20095 | /* The following fails for |
| 20096 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
| 20097 | bool m[h]; |
| 20098 | char n[sizeof m == h * sizeof m[0] ? 1 : -1]; |
| 20099 | char o[-1 - (bool) 0 < 0 ? 1 : -1]; |
| 20100 | /* Catch a bug in an HP-UX C compiler. See |
| 20101 | https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
| 20102 | https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html |
| 20103 | */ |
| 20104 | bool p = true; |
| 20105 | bool *pp = &p; |
| 20106 | |
| 20107 | int |
| 20108 | main (void) |
| 20109 | { |
| 20110 | |
| 20111 | bool ps = &s; |
| 20112 | *pp |= p; |
| 20113 | *pp |= ! p; |
| 20114 | |
| 20115 | /* Refer to every declared value, so they cannot be |
| 20116 | discarded as unused. */ |
| 20117 | return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k |
| 20118 | + !l + !m + !n + !o + !p + !pp + !ps); |
| 20119 | |
| 20120 | ; |
| 20121 | return 0; |
| 20122 | } |
| 20123 | _ACEOF |
| 20124 | if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO" |
| 20125 | then : |
| 20126 | ac_cv_header_stdbool_h=yes |
| 20127 | else case e in #( |
| 20128 | e) ac_cv_header_stdbool_h=no ;; |
| 20129 | esac |
| 20130 | fi |
| 20131 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20132 | esac |
| 20133 | fi |
| 20134 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
| 20135 | printfscip-shell system . . printf. "%s\n" "$ac_cv_header_stdbool_h" >&6; } |
| 20136 | |
| 20137 | if testscip-shell system . . test. $ac_cv_header_stdbool_h = yes; then |
| 20138 | |
| 20139 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h |
| 20140 | |
| 20141 | fi |
| 20142 | |
| 20143 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "ioctl" "ac_cv_func_ioctl" |
| 20144 | if testscip-shell system . . test. "x$ac_cv_func_ioctl" = xyes |
| 20145 | then : |
| 20146 | |
| 20147 | else case e in #( |
| 20148 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "ioctl() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20149 | esac |
| 20150 | fi |
| 20151 | |
| 20152 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "open" "ac_cv_func_open" |
| 20153 | if testscip-shell system . . test. "x$ac_cv_func_open" = xyes |
| 20154 | then : |
| 20155 | |
| 20156 | else case e in #( |
| 20157 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "open() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20158 | esac |
| 20159 | fi |
| 20160 | |
| 20161 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "close" "ac_cv_func_close" |
| 20162 | if testscip-shell system . . test. "x$ac_cv_func_close" = xyes |
| 20163 | then : |
| 20164 | |
| 20165 | else case e in #( |
| 20166 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "close() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20167 | esac |
| 20168 | fi |
| 20169 | |
| 20170 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "read" "ac_cv_func_read" |
| 20171 | if testscip-shell system . . test. "x$ac_cv_func_read" = xyes |
| 20172 | then : |
| 20173 | |
| 20174 | else case e in #( |
| 20175 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "read() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20176 | esac |
| 20177 | fi |
| 20178 | |
| 20179 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "ppoll" "ac_cv_func_ppoll" |
| 20180 | if testscip-shell system . . test. "x$ac_cv_func_ppoll" = xyes |
| 20181 | then : |
| 20182 | |
| 20183 | else case e in #( |
| 20184 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "ppoll() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20185 | esac |
| 20186 | fi |
| 20187 | |
| 20188 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "realpath" "ac_cv_func_realpath" |
| 20189 | if testscip-shell system . . test. "x$ac_cv_func_realpath" = xyes |
| 20190 | then : |
| 20191 | |
| 20192 | else case e in #( |
| 20193 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "realpath() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20194 | esac |
| 20195 | fi |
| 20196 | |
| 20197 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "readlink" "ac_cv_func_readlink" |
| 20198 | if testscip-shell system . . test. "x$ac_cv_func_readlink" = xyes |
| 20199 | then : |
| 20200 | |
| 20201 | else case e in #( |
| 20202 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "readlink() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20203 | esac |
| 20204 | fi |
| 20205 | |
| 20206 | for ac_header in fcntl.h |
| 20207 | do : |
| 20208 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
| 20209 | if testscip-shell system . . test. "x$ac_cv_header_fcntl_h" = xyes |
| 20210 | then : |
| 20211 | printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h |
| 20212 | |
| 20213 | else case e in #( |
| 20214 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "fcntl.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20215 | esac |
| 20216 | fi |
| 20217 | |
| 20218 | done |
| 20219 | for ac_header in getopt.h |
| 20220 | do : |
| 20221 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
| 20222 | if testscip-shell system . . test. "x$ac_cv_header_getopt_h" = xyes |
| 20223 | then : |
| 20224 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h |
| 20225 | |
| 20226 | else case e in #( |
| 20227 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "getopt.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20228 | esac |
| 20229 | fi |
| 20230 | |
| 20231 | done |
| 20232 | for ac_header in dirent.h |
| 20233 | do : |
| 20234 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" |
| 20235 | if testscip-shell system . . test. "x$ac_cv_header_dirent_h" = xyes |
| 20236 | then : |
| 20237 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h |
| 20238 | |
| 20239 | else case e in #( |
| 20240 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "dirent.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20241 | esac |
| 20242 | fi |
| 20243 | |
| 20244 | done |
| 20245 | for ac_header in poll.h |
| 20246 | do : |
| 20247 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" |
| 20248 | if testscip-shell system . . test. "x$ac_cv_header_poll_h" = xyes |
| 20249 | then : |
| 20250 | printfscip-shell system . . printf. "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h |
| 20251 | |
| 20252 | else case e in #( |
| 20253 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "poll.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20254 | esac |
| 20255 | fi |
| 20256 | |
| 20257 | done |
| 20258 | for ac_header in sys/sysmacros.h |
| 20259 | do : |
| 20260 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" |
| 20261 | if testscip-shell system . . test. "x$ac_cv_header_sys_sysmacros_h" = xyes |
| 20262 | then : |
| 20263 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h |
| 20264 | |
| 20265 | else case e in #( |
| 20266 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/sysmacros.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20267 | esac |
| 20268 | fi |
| 20269 | |
| 20270 | done |
| 20271 | for ac_header in sys/ioctl.h |
| 20272 | do : |
| 20273 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
| 20274 | if testscip-shell system . . test. "x$ac_cv_header_sys_ioctl_h" = xyes |
| 20275 | then : |
| 20276 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h |
| 20277 | |
| 20278 | else case e in #( |
| 20279 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/ioctl.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20280 | esac |
| 20281 | fi |
| 20282 | |
| 20283 | done |
| 20284 | for ac_header in sys/param.h |
| 20285 | do : |
| 20286 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" |
| 20287 | if testscip-shell system . . test. "x$ac_cv_header_sys_param_h" = xyes |
| 20288 | then : |
| 20289 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h |
| 20290 | |
| 20291 | else case e in #( |
| 20292 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/param.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20293 | esac |
| 20294 | fi |
| 20295 | |
| 20296 | done |
| 20297 | for ac_header in sys/stat.h |
| 20298 | do : |
| 20299 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
| 20300 | if testscip-shell system . . test. "x$ac_cv_header_sys_stat_h" = xyes |
| 20301 | then : |
| 20302 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h |
| 20303 | |
| 20304 | else case e in #( |
| 20305 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/stat.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20306 | esac |
| 20307 | fi |
| 20308 | |
| 20309 | done |
| 20310 | for ac_header in sys/types.h |
| 20311 | do : |
| 20312 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" |
| 20313 | if testscip-shell system . . test. "x$ac_cv_header_sys_types_h" = xyes |
| 20314 | then : |
| 20315 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h |
| 20316 | |
| 20317 | else case e in #( |
| 20318 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/types.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20319 | esac |
| 20320 | fi |
| 20321 | |
| 20322 | done |
| 20323 | for ac_header in linux/const.h |
| 20324 | do : |
| 20325 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "linux/const.h" "ac_cv_header_linux_const_h" "$ac_includes_default" |
| 20326 | if testscip-shell system . . test. "x$ac_cv_header_linux_const_h" = xyes |
| 20327 | then : |
| 20328 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_CONST_H 1" >>confdefs.h |
| 20329 | |
| 20330 | else case e in #( |
| 20331 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "linux/const.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20332 | esac |
| 20333 | fi |
| 20334 | |
| 20335 | done |
| 20336 | for ac_header in linux/ioctl.h |
| 20337 | do : |
| 20338 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default" |
| 20339 | if testscip-shell system . . test. "x$ac_cv_header_linux_ioctl_h" = xyes |
| 20340 | then : |
| 20341 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h |
| 20342 | |
| 20343 | else case e in #( |
| 20344 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "linux/ioctl.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20345 | esac |
| 20346 | fi |
| 20347 | |
| 20348 | done |
| 20349 | for ac_header in linux/types.h |
| 20350 | do : |
| 20351 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default" |
| 20352 | if testscip-shell system . . test. "x$ac_cv_header_linux_types_h" = xyes |
| 20353 | then : |
| 20354 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h |
| 20355 | |
| 20356 | else case e in #( |
| 20357 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "linux/types.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 20358 | esac |
| 20359 | fi |
| 20360 | |
| 20361 | done |
| 20362 | |
| 20363 | # Check whether --enable-tools was given. |
| 20364 | if testscip-shell system . . test. ${enable_tools+y} |
| 20365 | then : |
| 20366 | enableval=$enable_tools; if testscip-shell system . . test. "x$enableval" = xyes; then with_tools=true; fi |
| 20367 | else case e in #( |
| 20368 | e) with_tools=false ;; |
| 20369 | esac |
| 20370 | fi |
| 20371 | |
| 20372 | if testscip-shell system . . test. "x$with_tools" = xtrue; then |
| 20373 | WITH_TOOLS_TRUE= |
| 20374 | WITH_TOOLS_FALSE='#' |
| 20375 | else |
| 20376 | WITH_TOOLS_TRUE='#' |
| 20377 | WITH_TOOLS_FALSE= |
| 20378 | fi |
| 20379 | |
| 20380 | |
| 20381 | |
| 20382 | |
| 20383 | # Check whether --enable-gpioset-interactive was given. |
| 20384 | if testscip-shell system . . test. ${enable_gpioset_interactive+y} |
| 20385 | then : |
| 20386 | enableval=$enable_gpioset_interactive; if testscip-shell system . . test. "x$enableval" = xyes; then with_gpioset_interactive=true; fi |
| 20387 | else case e in #( |
| 20388 | e) with_gpioset_interactive=false ;; |
| 20389 | esac |
| 20390 | fi |
| 20391 | |
| 20392 | if testscip-shell system . . test. "x$with_gpioset_interactive" = xtrue; then |
| 20393 | WITH_GPIOSET_INTERACTIVE_TRUE= |
| 20394 | WITH_GPIOSET_INTERACTIVE_FALSE='#' |
| 20395 | else |
| 20396 | WITH_GPIOSET_INTERACTIVE_TRUE='#' |
| 20397 | WITH_GPIOSET_INTERACTIVE_FALSE= |
| 20398 | fi |
| 20399 | |
| 20400 | |
| 20401 | if testscip-shell system . . test. "x$with_tools" = xtrue |
| 20402 | then |
| 20403 | # These are only needed to build tools |
| 20404 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "daemon" "ac_cv_func_daemon" |
| 20405 | if testscip-shell system . . test. "x$ac_cv_func_daemon" = xyes |
| 20406 | then : |
| 20407 | |
| 20408 | else case e in #( |
| 20409 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "daemon() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20410 | esac |
| 20411 | fi |
| 20412 | |
| 20413 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "asprintf" "ac_cv_func_asprintf" |
| 20414 | if testscip-shell system . . test. "x$ac_cv_func_asprintf" = xyes |
| 20415 | then : |
| 20416 | |
| 20417 | else case e in #( |
| 20418 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "asprintf() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20419 | esac |
| 20420 | fi |
| 20421 | |
| 20422 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "scandir" "ac_cv_func_scandir" |
| 20423 | if testscip-shell system . . test. "x$ac_cv_func_scandir" = xyes |
| 20424 | then : |
| 20425 | |
| 20426 | else case e in #( |
| 20427 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "scandir() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20428 | esac |
| 20429 | fi |
| 20430 | |
| 20431 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "versionsort" "ac_cv_func_versionsort" |
| 20432 | if testscip-shell system . . test. "x$ac_cv_func_versionsort" = xyes |
| 20433 | then : |
| 20434 | |
| 20435 | else case e in #( |
| 20436 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "versionsort() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20437 | esac |
| 20438 | fi |
| 20439 | |
| 20440 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "strtoull" "ac_cv_func_strtoull" |
| 20441 | if testscip-shell system . . test. "x$ac_cv_func_strtoull" = xyes |
| 20442 | then : |
| 20443 | |
| 20444 | else case e in #( |
| 20445 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "strtoull() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20446 | esac |
| 20447 | fi |
| 20448 | |
| 20449 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
| 20450 | if testscip-shell system . . test. "x$ac_cv_func_nanosleep" = xyes |
| 20451 | then : |
| 20452 | |
| 20453 | else case e in #( |
| 20454 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "nanosleep() not found (needed to build tools)" "$LINENO" 5 ;; |
| 20455 | esac |
| 20456 | fi |
| 20457 | |
| 20458 | if testscip-shell system . . test. "x$with_gpioset_interactive" = xtrue |
| 20459 | then |
| 20460 | |
| 20461 | pkg_failed=no |
| 20462 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit >= 3.1" >&5 |
| 20463 | printfscip-shell system . . printf. %s "checking for libedit >= 3.1... " >&6; } |
| 20464 | |
| 20465 | if testscip-shell system . . test. -n "$LIBEDIT_CFLAGS"; then |
| 20466 | pkg_cv_LIBEDIT_CFLAGS="$LIBEDIT_CFLAGS" |
| 20467 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20468 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20469 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit >= 3.1\""; } >&5 |
| 20470 | ($PKG_CONFIG --exists --print-errors "libedit >= 3.1") 2>&5 |
| 20471 | ac_status=$? |
| 20472 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20473 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20474 | pkg_cv_LIBEDIT_CFLAGS=`$PKG_CONFIG --cflags "libedit >= 3.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20475 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20476 | else |
| 20477 | pkg_failed=yes |
| 20478 | fi |
| 20479 | else |
| 20480 | pkg_failed=untried |
| 20481 | fi |
| 20482 | if testscip-shell system . . test. -n "$LIBEDIT_LIBS"; then |
| 20483 | pkg_cv_LIBEDIT_LIBS="$LIBEDIT_LIBS" |
| 20484 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20485 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20486 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit >= 3.1\""; } >&5 |
| 20487 | ($PKG_CONFIG --exists --print-errors "libedit >= 3.1") 2>&5 |
| 20488 | ac_status=$? |
| 20489 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20490 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20491 | pkg_cv_LIBEDIT_LIBS=`$PKG_CONFIG --libs "libedit >= 3.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20492 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20493 | else |
| 20494 | pkg_failed=yes |
| 20495 | fi |
| 20496 | else |
| 20497 | pkg_failed=untried |
| 20498 | fi |
| 20499 | |
| 20500 | |
| 20501 | |
| 20502 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 20503 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20504 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20505 | |
| 20506 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20507 | _pkg_short_errors_supported=yes |
| 20508 | else |
| 20509 | _pkg_short_errors_supported=no |
| 20510 | fi |
| 20511 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 20512 | LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit >= 3.1" 2>&1` |
| 20513 | else |
| 20514 | LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit >= 3.1" 2>&1` |
| 20515 | fi |
| 20516 | # Put the nasty error message in config.log where it belongs |
| 20517 | echoscip-shell system . . echo. "$LIBEDIT_PKG_ERRORS" >&5 |
| 20518 | |
| 20519 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (libedit >= 3.1) were not met: |
| 20520 | |
| 20521 | $LIBEDIT_PKG_ERRORS |
| 20522 | |
| 20523 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20524 | installed software in a non-standard prefix. |
| 20525 | |
| 20526 | Alternatively, you may set the environment variables LIBEDIT_CFLAGS |
| 20527 | and LIBEDIT_LIBS to avoid the need to call pkg-config. |
| 20528 | See the pkg-config man page for more details." "$LINENO" 5 |
| 20529 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 20530 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20531 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20532 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20533 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20534 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 20535 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20536 | path to pkg-config. |
| 20537 | |
| 20538 | Alternatively, you may set the environment variables LIBEDIT_CFLAGS |
| 20539 | and LIBEDIT_LIBS to avoid the need to call pkg-config. |
| 20540 | See the pkg-config man page for more details. |
| 20541 | |
| 20542 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20543 | See 'config.log' for more details" "$LINENO" 5; } |
| 20544 | else |
| 20545 | LIBEDIT_CFLAGS=$pkg_cv_LIBEDIT_CFLAGS |
| 20546 | LIBEDIT_LIBS=$pkg_cv_LIBEDIT_LIBS |
| 20547 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20548 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20549 | |
| 20550 | fi |
| 20551 | fi |
| 20552 | fi |
| 20553 | |
| 20554 | # Check whether --enable-tests was given. |
| 20555 | if testscip-shell system . . test. ${enable_tests+y} |
| 20556 | then : |
| 20557 | enableval=$enable_tests; if testscip-shell system . . test. "x$enableval" = xyes; then with_tests=true; fi |
| 20558 | else case e in #( |
| 20559 | e) with_tests=false ;; |
| 20560 | esac |
| 20561 | fi |
| 20562 | |
| 20563 | if testscip-shell system . . test. "x$with_tests" = xtrue; then |
| 20564 | WITH_TESTS_TRUE= |
| 20565 | WITH_TESTS_FALSE='#' |
| 20566 | else |
| 20567 | WITH_TESTS_TRUE='#' |
| 20568 | WITH_TESTS_FALSE= |
| 20569 | fi |
| 20570 | |
| 20571 | |
| 20572 | # Check whether --enable-profiling was given. |
| 20573 | if testscip-shell system . . test. ${enable_profiling+y} |
| 20574 | then : |
| 20575 | enableval=$enable_profiling; if testscip-shell system . . test. "x$enableval" = xyes; then with_profiling=true; fi |
| 20576 | else case e in #( |
| 20577 | e) with_profiling=false ;; |
| 20578 | esac |
| 20579 | fi |
| 20580 | |
| 20581 | if testscip-shell system . . test. "x$with_profiling" = xtrue |
| 20582 | then |
| 20583 | PROFILING_CFLAGS="-fprofile-arcs -ftest-coverage" |
| 20584 | |
| 20585 | PROFILING_LDFLAGS="-lgcov" |
| 20586 | |
| 20587 | fi |
| 20588 | |
| 20589 | |
| 20590 | |
| 20591 | if testscip-shell system . . test. "x$with_tests" = xtrue |
| 20592 | then |
| 20593 | # For libgpiosim |
| 20594 | |
| 20595 | pkg_failed=no |
| 20596 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libkmod >= 18" >&5 |
| 20597 | printfscip-shell system . . printf. %s "checking for libkmod >= 18... " >&6; } |
| 20598 | |
| 20599 | if testscip-shell system . . test. -n "$KMOD_CFLAGS"; then |
| 20600 | pkg_cv_KMOD_CFLAGS="$KMOD_CFLAGS" |
| 20601 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20602 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20603 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libkmod >= 18\""; } >&5 |
| 20604 | ($PKG_CONFIG --exists --print-errors "libkmod >= 18") 2>&5 |
| 20605 | ac_status=$? |
| 20606 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20607 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20608 | pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags "libkmod >= 18" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20609 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20610 | else |
| 20611 | pkg_failed=yes |
| 20612 | fi |
| 20613 | else |
| 20614 | pkg_failed=untried |
| 20615 | fi |
| 20616 | if testscip-shell system . . test. -n "$KMOD_LIBS"; then |
| 20617 | pkg_cv_KMOD_LIBS="$KMOD_LIBS" |
| 20618 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20619 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20620 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libkmod >= 18\""; } >&5 |
| 20621 | ($PKG_CONFIG --exists --print-errors "libkmod >= 18") 2>&5 |
| 20622 | ac_status=$? |
| 20623 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20624 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20625 | pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs "libkmod >= 18" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20626 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20627 | else |
| 20628 | pkg_failed=yes |
| 20629 | fi |
| 20630 | else |
| 20631 | pkg_failed=untried |
| 20632 | fi |
| 20633 | |
| 20634 | |
| 20635 | |
| 20636 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 20637 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20638 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20639 | |
| 20640 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20641 | _pkg_short_errors_supported=yes |
| 20642 | else |
| 20643 | _pkg_short_errors_supported=no |
| 20644 | fi |
| 20645 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 20646 | KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libkmod >= 18" 2>&1` |
| 20647 | else |
| 20648 | KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libkmod >= 18" 2>&1` |
| 20649 | fi |
| 20650 | # Put the nasty error message in config.log where it belongs |
| 20651 | echoscip-shell system . . echo. "$KMOD_PKG_ERRORS" >&5 |
| 20652 | |
| 20653 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (libkmod >= 18) were not met: |
| 20654 | |
| 20655 | $KMOD_PKG_ERRORS |
| 20656 | |
| 20657 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20658 | installed software in a non-standard prefix. |
| 20659 | |
| 20660 | Alternatively, you may set the environment variables KMOD_CFLAGS |
| 20661 | and KMOD_LIBS to avoid the need to call pkg-config. |
| 20662 | See the pkg-config man page for more details." "$LINENO" 5 |
| 20663 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 20664 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20665 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20666 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20667 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20668 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 20669 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20670 | path to pkg-config. |
| 20671 | |
| 20672 | Alternatively, you may set the environment variables KMOD_CFLAGS |
| 20673 | and KMOD_LIBS to avoid the need to call pkg-config. |
| 20674 | See the pkg-config man page for more details. |
| 20675 | |
| 20676 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20677 | See 'config.log' for more details" "$LINENO" 5; } |
| 20678 | else |
| 20679 | KMOD_CFLAGS=$pkg_cv_KMOD_CFLAGS |
| 20680 | KMOD_LIBS=$pkg_cv_KMOD_LIBS |
| 20681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20682 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20683 | |
| 20684 | fi |
| 20685 | |
| 20686 | pkg_failed=no |
| 20687 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount >= 2.33.1" >&5 |
| 20688 | printfscip-shell system . . printf. %s "checking for mount >= 2.33.1... " >&6; } |
| 20689 | |
| 20690 | if testscip-shell system . . test. -n "$MOUNT_CFLAGS"; then |
| 20691 | pkg_cv_MOUNT_CFLAGS="$MOUNT_CFLAGS" |
| 20692 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20693 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20694 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.33.1\""; } >&5 |
| 20695 | ($PKG_CONFIG --exists --print-errors "mount >= 2.33.1") 2>&5 |
| 20696 | ac_status=$? |
| 20697 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20698 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20699 | pkg_cv_MOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.33.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20700 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20701 | else |
| 20702 | pkg_failed=yes |
| 20703 | fi |
| 20704 | else |
| 20705 | pkg_failed=untried |
| 20706 | fi |
| 20707 | if testscip-shell system . . test. -n "$MOUNT_LIBS"; then |
| 20708 | pkg_cv_MOUNT_LIBS="$MOUNT_LIBS" |
| 20709 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20710 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20711 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.33.1\""; } >&5 |
| 20712 | ($PKG_CONFIG --exists --print-errors "mount >= 2.33.1") 2>&5 |
| 20713 | ac_status=$? |
| 20714 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20715 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20716 | pkg_cv_MOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.33.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20717 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20718 | else |
| 20719 | pkg_failed=yes |
| 20720 | fi |
| 20721 | else |
| 20722 | pkg_failed=untried |
| 20723 | fi |
| 20724 | |
| 20725 | |
| 20726 | |
| 20727 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 20728 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20729 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20730 | |
| 20731 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20732 | _pkg_short_errors_supported=yes |
| 20733 | else |
| 20734 | _pkg_short_errors_supported=no |
| 20735 | fi |
| 20736 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 20737 | MOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mount >= 2.33.1" 2>&1` |
| 20738 | else |
| 20739 | MOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mount >= 2.33.1" 2>&1` |
| 20740 | fi |
| 20741 | # Put the nasty error message in config.log where it belongs |
| 20742 | echoscip-shell system . . echo. "$MOUNT_PKG_ERRORS" >&5 |
| 20743 | |
| 20744 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (mount >= 2.33.1) were not met: |
| 20745 | |
| 20746 | $MOUNT_PKG_ERRORS |
| 20747 | |
| 20748 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20749 | installed software in a non-standard prefix. |
| 20750 | |
| 20751 | Alternatively, you may set the environment variables MOUNT_CFLAGS |
| 20752 | and MOUNT_LIBS to avoid the need to call pkg-config. |
| 20753 | See the pkg-config man page for more details." "$LINENO" 5 |
| 20754 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 20755 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20756 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20757 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20758 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20759 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 20760 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20761 | path to pkg-config. |
| 20762 | |
| 20763 | Alternatively, you may set the environment variables MOUNT_CFLAGS |
| 20764 | and MOUNT_LIBS to avoid the need to call pkg-config. |
| 20765 | See the pkg-config man page for more details. |
| 20766 | |
| 20767 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20768 | See 'config.log' for more details" "$LINENO" 5; } |
| 20769 | else |
| 20770 | MOUNT_CFLAGS=$pkg_cv_MOUNT_CFLAGS |
| 20771 | MOUNT_LIBS=$pkg_cv_MOUNT_LIBS |
| 20772 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20773 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20774 | |
| 20775 | fi |
| 20776 | |
| 20777 | # For core library tests |
| 20778 | |
| 20779 | pkg_failed=no |
| 20780 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.50" >&5 |
| 20781 | printfscip-shell system . . printf. %s "checking for glib-2.0 >= 2.50... " >&6; } |
| 20782 | |
| 20783 | if testscip-shell system . . test. -n "$GLIB_CFLAGS"; then |
| 20784 | pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
| 20785 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20786 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20787 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.50\""; } >&5 |
| 20788 | ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.50") 2>&5 |
| 20789 | ac_status=$? |
| 20790 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20791 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20792 | pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.50" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20793 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20794 | else |
| 20795 | pkg_failed=yes |
| 20796 | fi |
| 20797 | else |
| 20798 | pkg_failed=untried |
| 20799 | fi |
| 20800 | if testscip-shell system . . test. -n "$GLIB_LIBS"; then |
| 20801 | pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
| 20802 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20803 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20804 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.50\""; } >&5 |
| 20805 | ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.50") 2>&5 |
| 20806 | ac_status=$? |
| 20807 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20808 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20809 | pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.50" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20810 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20811 | else |
| 20812 | pkg_failed=yes |
| 20813 | fi |
| 20814 | else |
| 20815 | pkg_failed=untried |
| 20816 | fi |
| 20817 | |
| 20818 | |
| 20819 | |
| 20820 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 20821 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20822 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20823 | |
| 20824 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20825 | _pkg_short_errors_supported=yes |
| 20826 | else |
| 20827 | _pkg_short_errors_supported=no |
| 20828 | fi |
| 20829 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 20830 | GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.50" 2>&1` |
| 20831 | else |
| 20832 | GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.50" 2>&1` |
| 20833 | fi |
| 20834 | # Put the nasty error message in config.log where it belongs |
| 20835 | echoscip-shell system . . echo. "$GLIB_PKG_ERRORS" >&5 |
| 20836 | |
| 20837 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (glib-2.0 >= 2.50) were not met: |
| 20838 | |
| 20839 | $GLIB_PKG_ERRORS |
| 20840 | |
| 20841 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20842 | installed software in a non-standard prefix. |
| 20843 | |
| 20844 | Alternatively, you may set the environment variables GLIB_CFLAGS |
| 20845 | and GLIB_LIBS to avoid the need to call pkg-config. |
| 20846 | See the pkg-config man page for more details." "$LINENO" 5 |
| 20847 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 20848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20849 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20850 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20851 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20852 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 20853 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20854 | path to pkg-config. |
| 20855 | |
| 20856 | Alternatively, you may set the environment variables GLIB_CFLAGS |
| 20857 | and GLIB_LIBS to avoid the need to call pkg-config. |
| 20858 | See the pkg-config man page for more details. |
| 20859 | |
| 20860 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20861 | See 'config.log' for more details" "$LINENO" 5; } |
| 20862 | else |
| 20863 | GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
| 20864 | GLIB_LIBS=$pkg_cv_GLIB_LIBS |
| 20865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20866 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20867 | |
| 20868 | fi |
| 20869 | |
| 20870 | pkg_failed=no |
| 20871 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.50" >&5 |
| 20872 | printfscip-shell system . . printf. %s "checking for gio-2.0 >= 2.50... " >&6; } |
| 20873 | |
| 20874 | if testscip-shell system . . test. -n "$GIO_CFLAGS"; then |
| 20875 | pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" |
| 20876 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20877 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20878 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.50\""; } >&5 |
| 20879 | ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.50") 2>&5 |
| 20880 | ac_status=$? |
| 20881 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20882 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20883 | pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.50" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20884 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20885 | else |
| 20886 | pkg_failed=yes |
| 20887 | fi |
| 20888 | else |
| 20889 | pkg_failed=untried |
| 20890 | fi |
| 20891 | if testscip-shell system . . test. -n "$GIO_LIBS"; then |
| 20892 | pkg_cv_GIO_LIBS="$GIO_LIBS" |
| 20893 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 20894 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 20895 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.50\""; } >&5 |
| 20896 | ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.50") 2>&5 |
| 20897 | ac_status=$? |
| 20898 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20899 | testscip-shell system . . test. $ac_status = 0; }; then |
| 20900 | pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.50" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 20901 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 20902 | else |
| 20903 | pkg_failed=yes |
| 20904 | fi |
| 20905 | else |
| 20906 | pkg_failed=untried |
| 20907 | fi |
| 20908 | |
| 20909 | |
| 20910 | |
| 20911 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 20912 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20913 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20914 | |
| 20915 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20916 | _pkg_short_errors_supported=yes |
| 20917 | else |
| 20918 | _pkg_short_errors_supported=no |
| 20919 | fi |
| 20920 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 20921 | GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.50" 2>&1` |
| 20922 | else |
| 20923 | GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.50" 2>&1` |
| 20924 | fi |
| 20925 | # Put the nasty error message in config.log where it belongs |
| 20926 | echoscip-shell system . . echo. "$GIO_PKG_ERRORS" >&5 |
| 20927 | |
| 20928 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (gio-2.0 >= 2.50) were not met: |
| 20929 | |
| 20930 | $GIO_PKG_ERRORS |
| 20931 | |
| 20932 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20933 | installed software in a non-standard prefix. |
| 20934 | |
| 20935 | Alternatively, you may set the environment variables GIO_CFLAGS |
| 20936 | and GIO_LIBS to avoid the need to call pkg-config. |
| 20937 | See the pkg-config man page for more details." "$LINENO" 5 |
| 20938 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 20939 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20940 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20941 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20942 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20943 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 20944 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20945 | path to pkg-config. |
| 20946 | |
| 20947 | Alternatively, you may set the environment variables GIO_CFLAGS |
| 20948 | and GIO_LIBS to avoid the need to call pkg-config. |
| 20949 | See the pkg-config man page for more details. |
| 20950 | |
| 20951 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20952 | See 'config.log' for more details" "$LINENO" 5; } |
| 20953 | else |
| 20954 | GIO_CFLAGS=$pkg_cv_GIO_CFLAGS |
| 20955 | GIO_LIBS=$pkg_cv_GIO_LIBS |
| 20956 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20957 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20958 | |
| 20959 | fi |
| 20960 | |
| 20961 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "atexit" "ac_cv_func_atexit" |
| 20962 | if testscip-shell system . . test. "x$ac_cv_func_atexit" = xyes |
| 20963 | then : |
| 20964 | |
| 20965 | else case e in #( |
| 20966 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "atexit() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20967 | esac |
| 20968 | fi |
| 20969 | |
| 20970 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "asprintf" "ac_cv_func_asprintf" |
| 20971 | if testscip-shell system . . test. "x$ac_cv_func_asprintf" = xyes |
| 20972 | then : |
| 20973 | |
| 20974 | else case e in #( |
| 20975 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "asprintf() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20976 | esac |
| 20977 | fi |
| 20978 | |
| 20979 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "prctl" "ac_cv_func_prctl" |
| 20980 | if testscip-shell system . . test. "x$ac_cv_func_prctl" = xyes |
| 20981 | then : |
| 20982 | |
| 20983 | else case e in #( |
| 20984 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "prctl() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20985 | esac |
| 20986 | fi |
| 20987 | |
| 20988 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "unlink" "ac_cv_func_unlink" |
| 20989 | if testscip-shell system . . test. "x$ac_cv_func_unlink" = xyes |
| 20990 | then : |
| 20991 | |
| 20992 | else case e in #( |
| 20993 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "unlink() not found (needed to build the library)" "$LINENO" 5 ;; |
| 20994 | esac |
| 20995 | fi |
| 20996 | |
| 20997 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "unlinkat" "ac_cv_func_unlinkat" |
| 20998 | if testscip-shell system . . test. "x$ac_cv_func_unlinkat" = xyes |
| 20999 | then : |
| 21000 | |
| 21001 | else case e in #( |
| 21002 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "unlinkat() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21003 | esac |
| 21004 | fi |
| 21005 | |
| 21006 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "openat" "ac_cv_func_openat" |
| 21007 | if testscip-shell system . . test. "x$ac_cv_func_openat" = xyes |
| 21008 | then : |
| 21009 | |
| 21010 | else case e in #( |
| 21011 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "openat() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21012 | esac |
| 21013 | fi |
| 21014 | |
| 21015 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "mkdirat" "ac_cv_func_mkdirat" |
| 21016 | if testscip-shell system . . test. "x$ac_cv_func_mkdirat" = xyes |
| 21017 | then : |
| 21018 | |
| 21019 | else case e in #( |
| 21020 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "mkdirat() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21021 | esac |
| 21022 | fi |
| 21023 | |
| 21024 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "write" "ac_cv_func_write" |
| 21025 | if testscip-shell system . . test. "x$ac_cv_func_write" = xyes |
| 21026 | then : |
| 21027 | |
| 21028 | else case e in #( |
| 21029 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "write() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21030 | esac |
| 21031 | fi |
| 21032 | |
| 21033 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "twalk" "ac_cv_func_twalk" |
| 21034 | if testscip-shell system . . test. "x$ac_cv_func_twalk" = xyes |
| 21035 | then : |
| 21036 | |
| 21037 | else case e in #( |
| 21038 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "twalk() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21039 | esac |
| 21040 | fi |
| 21041 | |
| 21042 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "tsearch" "ac_cv_func_tsearch" |
| 21043 | if testscip-shell system . . test. "x$ac_cv_func_tsearch" = xyes |
| 21044 | then : |
| 21045 | |
| 21046 | else case e in #( |
| 21047 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "tsearch() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21048 | esac |
| 21049 | fi |
| 21050 | |
| 21051 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "tdestroy" "ac_cv_func_tdestroy" |
| 21052 | if testscip-shell system . . test. "x$ac_cv_func_tdestroy" = xyes |
| 21053 | then : |
| 21054 | |
| 21055 | else case e in #( |
| 21056 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "tdestroy() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21057 | esac |
| 21058 | fi |
| 21059 | |
| 21060 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "tdelete" "ac_cv_func_tdelete" |
| 21061 | if testscip-shell system . . test. "x$ac_cv_func_tdelete" = xyes |
| 21062 | then : |
| 21063 | |
| 21064 | else case e in #( |
| 21065 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "tdelete() not found (needed to build the library)" "$LINENO" 5 ;; |
| 21066 | esac |
| 21067 | fi |
| 21068 | |
| 21069 | for ac_header in sys/utsname.h |
| 21070 | do : |
| 21071 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" |
| 21072 | if testscip-shell system . . test. "x$ac_cv_header_sys_utsname_h" = xyes |
| 21073 | then : |
| 21074 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h |
| 21075 | |
| 21076 | else case e in #( |
| 21077 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/utsname.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21078 | esac |
| 21079 | fi |
| 21080 | |
| 21081 | done |
| 21082 | for ac_header in sys/mount.h |
| 21083 | do : |
| 21084 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" |
| 21085 | if testscip-shell system . . test. "x$ac_cv_header_sys_mount_h" = xyes |
| 21086 | then : |
| 21087 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h |
| 21088 | |
| 21089 | else case e in #( |
| 21090 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/mount.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21091 | esac |
| 21092 | fi |
| 21093 | |
| 21094 | done |
| 21095 | for ac_header in sys/prctl.h |
| 21096 | do : |
| 21097 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" |
| 21098 | if testscip-shell system . . test. "x$ac_cv_header_sys_prctl_h" = xyes |
| 21099 | then : |
| 21100 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h |
| 21101 | |
| 21102 | else case e in #( |
| 21103 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/prctl.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21104 | esac |
| 21105 | fi |
| 21106 | |
| 21107 | done |
| 21108 | for ac_header in sys/random.h |
| 21109 | do : |
| 21110 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default" |
| 21111 | if testscip-shell system . . test. "x$ac_cv_header_sys_random_h" = xyes |
| 21112 | then : |
| 21113 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h |
| 21114 | |
| 21115 | else case e in #( |
| 21116 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "sys/random.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21117 | esac |
| 21118 | fi |
| 21119 | |
| 21120 | done |
| 21121 | for ac_header in linux/version.h |
| 21122 | do : |
| 21123 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "linux/version.h" "ac_cv_header_linux_version_h" "$ac_includes_default" |
| 21124 | if testscip-shell system . . test. "x$ac_cv_header_linux_version_h" = xyes |
| 21125 | then : |
| 21126 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_VERSION_H 1" >>confdefs.h |
| 21127 | |
| 21128 | else case e in #( |
| 21129 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "linux/version.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21130 | esac |
| 21131 | fi |
| 21132 | |
| 21133 | done |
| 21134 | for ac_header in pthread.h |
| 21135 | do : |
| 21136 | ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
| 21137 | if testscip-shell system . . test. "x$ac_cv_header_pthread_h" = xyes |
| 21138 | then : |
| 21139 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h |
| 21140 | |
| 21141 | else case e in #( |
| 21142 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "pthread.h header not found (needed to build the library)" "$LINENO" 5 ;; |
| 21143 | esac |
| 21144 | fi |
| 21145 | |
| 21146 | done |
| 21147 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 |
| 21148 | printfscip-shell system . . printf. %s "checking for pthread_mutex_lock in -lpthread... " >&6; } |
| 21149 | if testscip-shell system . . test. ${ac_cv_lib_pthread_pthread_mutex_lock+y} |
| 21150 | then : |
| 21151 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21152 | else case e in #( |
| 21153 | e) ac_check_lib_save_LIBS=$LIBS |
| 21154 | LIBS="-lpthread $LIBS" |
| 21155 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21156 | /* end confdefs.h. */ |
| 21157 | |
| 21158 | /* Override any GCC internal prototype to avoid an error. |
| 21159 | Use char because int might match the return type of a GCC |
| 21160 | builtin and then its argument prototype would still apply. |
| 21161 | The 'extern "C"' is for builds by C++ compilers; |
| 21162 | although this is not generally supported in C code supporting it here |
| 21163 | has little cost and some practical benefit (sr 110532). */ |
| 21164 | #ifdef __cplusplus |
| 21165 | extern "C" |
| 21166 | #endif |
| 21167 | char pthread_mutex_lock (void); |
| 21168 | int |
| 21169 | main (void) |
| 21170 | { |
| 21171 | return pthread_mutex_lock (); |
| 21172 | ; |
| 21173 | return 0; |
| 21174 | } |
| 21175 | _ACEOF |
| 21176 | if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO" |
| 21177 | then : |
| 21178 | ac_cv_lib_pthread_pthread_mutex_lock=yes |
| 21179 | else case e in #( |
| 21180 | e) ac_cv_lib_pthread_pthread_mutex_lock=no ;; |
| 21181 | esac |
| 21182 | fi |
| 21183 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21184 | conftest$ac_exeext conftest.$ac_ext |
| 21185 | LIBS=$ac_check_lib_save_LIBS ;; |
| 21186 | esac |
| 21187 | fi |
| 21188 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 |
| 21189 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } |
| 21190 | if testscip-shell system . . test. "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes |
| 21191 | then : |
| 21192 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBPTHREAD 1" >>confdefs.h |
| 21193 | |
| 21194 | LIBS="-lpthread $LIBS" |
| 21195 | |
| 21196 | else case e in #( |
| 21197 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "pthread library not found (needed to build tests)" "$LINENO" 5 ;; |
| 21198 | esac |
| 21199 | fi |
| 21200 | |
| 21201 | |
| 21202 | if testscip-shell system . . test. "x$with_tools" = xtrue |
| 21203 | then |
| 21204 | # Extract the first word of "shunit2", so it can be a program name with args. |
| 21205 | set dummy shunit2; ac_word=$2 |
| 21206 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 21207 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 21208 | if testscip-shell system . . test. ${ac_cv_prog_has_shunit2+y} |
| 21209 | then : |
| 21210 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21211 | else case e in #( |
| 21212 | e) if testscip-shell system . . test. -n "$has_shunit2"; then |
| 21213 | ac_cv_prog_has_shunit2="$has_shunit2" # Let the user override the test. |
| 21214 | else |
| 21215 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 21216 | for as_dir in $PATH |
| 21217 | do |
| 21218 | IFS=$as_save_IFS |
| 21219 | case $as_dir in #((( |
| 21220 | '') as_dir=./ ;; |
| 21221 | */) ;; |
| 21222 | *) as_dir=$as_dir/ ;; |
| 21223 | esac |
| 21224 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 21225 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 21226 | ac_cv_prog_has_shunit2="true" |
| 21227 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 21228 | break 2 |
| 21229 | fi |
| 21230 | done |
| 21231 | done |
| 21232 | IFS=$as_save_IFS |
| 21233 | |
| 21234 | testscip-shell system . . test. -z "$ac_cv_prog_has_shunit2" && ac_cv_prog_has_shunit2="false" |
| 21235 | fi ;; |
| 21236 | esac |
| 21237 | fi |
| 21238 | has_shunit2=$ac_cv_prog_has_shunit2 |
| 21239 | if testscip-shell system . . test. -n "$has_shunit2"; then |
| 21240 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_shunit2" >&5 |
| 21241 | printfscip-shell system . . printf. "%s\n" "$has_shunit2" >&6; } |
| 21242 | else |
| 21243 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21244 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21245 | fi |
| 21246 | |
| 21247 | |
| 21248 | if testscip-shell system . . test. "x$has_shunit2" = "xfalse" |
| 21249 | then |
| 21250 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: shunit2 not found - gpio-tools tests cannot be run" >&5 |
| 21251 | printfscip-shell system . . printf. "%s\n" "$as_me: shunit2 not found - gpio-tools tests cannot be run" >&6;} |
| 21252 | fi |
| 21253 | fi |
| 21254 | fi |
| 21255 | |
| 21256 | # Check whether --enable-examples was given. |
| 21257 | if testscip-shell system . . test. ${enable_examples+y} |
| 21258 | then : |
| 21259 | enableval=$enable_examples; if testscip-shell system . . test. "x$enableval" = xyes; then with_examples=true; fi |
| 21260 | else case e in #( |
| 21261 | e) with_examples=false ;; |
| 21262 | esac |
| 21263 | fi |
| 21264 | |
| 21265 | if testscip-shell system . . test. "x$with_examples" = xtrue; then |
| 21266 | WITH_EXAMPLES_TRUE= |
| 21267 | WITH_EXAMPLES_FALSE='#' |
| 21268 | else |
| 21269 | WITH_EXAMPLES_TRUE='#' |
| 21270 | WITH_EXAMPLES_FALSE= |
| 21271 | fi |
| 21272 | |
| 21273 | |
| 21274 | # Check whether --enable-bindings-cxx was given. |
| 21275 | if testscip-shell system . . test. ${enable_bindings_cxx+y} |
| 21276 | then : |
| 21277 | enableval=$enable_bindings_cxx; if testscip-shell system . . test. "x$enableval" = xyes; then with_bindings_cxx=true; fi |
| 21278 | else case e in #( |
| 21279 | e) with_bindings_cxx=false ;; |
| 21280 | esac |
| 21281 | fi |
| 21282 | |
| 21283 | if testscip-shell system . . test. "x$with_bindings_cxx" = xtrue; then |
| 21284 | WITH_BINDINGS_CXX_TRUE= |
| 21285 | WITH_BINDINGS_CXX_FALSE='#' |
| 21286 | else |
| 21287 | WITH_BINDINGS_CXX_TRUE='#' |
| 21288 | WITH_BINDINGS_CXX_FALSE= |
| 21289 | fi |
| 21290 | |
| 21291 | |
| 21292 | if testscip-shell system . . test. "x$with_bindings_cxx" = xtrue |
| 21293 | then |
| 21294 | |
| 21295 | # This needs autoconf-archive |
| 21296 | ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true |
| 21297 | ac_ext=cpp |
| 21298 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 21299 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 21300 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 21301 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 21302 | ac_success=no |
| 21303 | |
| 21304 | |
| 21305 | |
| 21306 | if testscip-shell system . . test. x$ac_success = xno; then |
| 21307 | for alternative in ${ax_cxx_compile_alternatives}; do |
| 21308 | switch="-std=gnu++${alternative}" |
| 21309 | cachevar=`printfscip-shell system . . printf. "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | sedscip-shell system . . sed. "$as_sed_sh"` |
| 21310 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 |
| 21311 | printfscip-shell system . . printf. %s "checking whether $CXX supports C++17 features with $switch... " >&6; } |
| 21312 | if eval test \${$cachevar+y} |
| 21313 | then : |
| 21314 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21315 | else case e in #( |
| 21316 | e) ac_save_CXX="$CXX" |
| 21317 | CXX="$CXX $switch" |
| 21318 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21319 | /* end confdefs.h. */ |
| 21320 | |
| 21321 | |
| 21322 | // If the compiler admits that it is not ready for C++11, why torture it? |
| 21323 | // Hopefully, this will speed up the test. |
| 21324 | |
| 21325 | #ifndef __cplusplus |
| 21326 | |
| 21327 | #error "This is not a C++ compiler" |
| 21328 | |
| 21329 | // MSVC always sets __cplusplus to 199711L in older versions; newer versions |
| 21330 | // only set it correctly if /Zc:__cplusplus is specified as well as a |
| 21331 | // /std:c++NN switch: |
| 21332 | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ |
| 21333 | #elif __cplusplus < 201103L && !defined _MSC_VER |
| 21334 | |
| 21335 | #error "This is not a C++11 compiler" |
| 21336 | |
| 21337 | #else |
| 21338 | |
| 21339 | namespace cxx11 |
| 21340 | { |
| 21341 | |
| 21342 | namespace test_static_assert |
| 21343 | { |
| 21344 | |
| 21345 | template <typename T> |
| 21346 | struct check |
| 21347 | { |
| 21348 | static_assert(sizeof(int) <= sizeof(T), "not big enough"); |
| 21349 | }; |
| 21350 | |
| 21351 | } |
| 21352 | |
| 21353 | namespace test_final_override |
| 21354 | { |
| 21355 | |
| 21356 | struct Base |
| 21357 | { |
| 21358 | virtual ~Base() {} |
| 21359 | virtual void f() {} |
| 21360 | }; |
| 21361 | |
| 21362 | struct Derived : public Base |
| 21363 | { |
| 21364 | virtual ~Derived() override {} |
| 21365 | virtual void f() override {} |
| 21366 | }; |
| 21367 | |
| 21368 | } |
| 21369 | |
| 21370 | namespace test_double_right_angle_brackets |
| 21371 | { |
| 21372 | |
| 21373 | template < typename T > |
| 21374 | struct check {}; |
| 21375 | |
| 21376 | typedef check<void> single_type; |
| 21377 | typedef check<check<void>> double_type; |
| 21378 | typedef check<check<check<void>>> triple_type; |
| 21379 | typedef check<check<check<check<void>>>> quadruple_type; |
| 21380 | |
| 21381 | } |
| 21382 | |
| 21383 | namespace test_decltype |
| 21384 | { |
| 21385 | |
| 21386 | int |
| 21387 | f() |
| 21388 | { |
| 21389 | int a = 1; |
| 21390 | decltype(a) b = 2; |
| 21391 | return a + b; |
| 21392 | } |
| 21393 | |
| 21394 | } |
| 21395 | |
| 21396 | namespace test_type_deduction |
| 21397 | { |
| 21398 | |
| 21399 | template < typename T1, typename T2 > |
| 21400 | struct is_same |
| 21401 | { |
| 21402 | static const bool value = false; |
| 21403 | }; |
| 21404 | |
| 21405 | template < typename T > |
| 21406 | struct is_same<T, T> |
| 21407 | { |
| 21408 | static const bool value = true; |
| 21409 | }; |
| 21410 | |
| 21411 | template < typename T1, typename T2 > |
| 21412 | auto |
| 21413 | add(T1 a1, T2 a2) -> decltype(a1 + a2) |
| 21414 | { |
| 21415 | return a1 + a2; |
| 21416 | } |
| 21417 | |
| 21418 | int |
| 21419 | test(const int c, volatile int v) |
| 21420 | { |
| 21421 | static_assert(is_same<int, decltype(0)>::value == true, ""); |
| 21422 | static_assert(is_same<int, decltype(c)>::value == false, ""); |
| 21423 | static_assert(is_same<int, decltype(v)>::value == false, ""); |
| 21424 | auto ac = c; |
| 21425 | auto av = v; |
| 21426 | auto sumi = ac + av + 'x'; |
| 21427 | auto sumf = ac + av + 1.0; |
| 21428 | static_assert(is_same<int, decltype(ac)>::value == true, ""); |
| 21429 | static_assert(is_same<int, decltype(av)>::value == true, ""); |
| 21430 | static_assert(is_same<int, decltype(sumi)>::value == true, ""); |
| 21431 | static_assert(is_same<int, decltype(sumf)>::value == false, ""); |
| 21432 | static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); |
| 21433 | return (sumf > 0.0) ? sumi : add(c, v); |
| 21434 | } |
| 21435 | |
| 21436 | } |
| 21437 | |
| 21438 | namespace test_noexcept |
| 21439 | { |
| 21440 | |
| 21441 | int f() { return 0; } |
| 21442 | int g() noexcept { return 0; } |
| 21443 | |
| 21444 | static_assert(noexcept(f()) == false, ""); |
| 21445 | static_assert(noexcept(g()) == true, ""); |
| 21446 | |
| 21447 | } |
| 21448 | |
| 21449 | namespace test_constexpr |
| 21450 | { |
| 21451 | |
| 21452 | template < typename CharT > |
| 21453 | unsigned long constexpr |
| 21454 | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept |
| 21455 | { |
| 21456 | return *s ? strlen_c_r(s + 1, acc + 1) : acc; |
| 21457 | } |
| 21458 | |
| 21459 | template < typename CharT > |
| 21460 | unsigned long constexpr |
| 21461 | strlen_c(const CharT *const s) noexcept |
| 21462 | { |
| 21463 | return strlen_c_r(s, 0UL); |
| 21464 | } |
| 21465 | |
| 21466 | static_assert(strlen_c("") == 0UL, ""); |
| 21467 | static_assert(strlen_c("1") == 1UL, ""); |
| 21468 | static_assert(strlen_c("example") == 7UL, ""); |
| 21469 | static_assert(strlen_c("another\0example") == 7UL, ""); |
| 21470 | |
| 21471 | } |
| 21472 | |
| 21473 | namespace test_rvalue_references |
| 21474 | { |
| 21475 | |
| 21476 | template < int N > |
| 21477 | struct answer |
| 21478 | { |
| 21479 | static constexpr int value = N; |
| 21480 | }; |
| 21481 | |
| 21482 | answer<1> f(int&) { return answer<1>(); } |
| 21483 | answer<2> f(const int&) { return answer<2>(); } |
| 21484 | answer<3> f(int&&) { return answer<3>(); } |
| 21485 | |
| 21486 | void |
| 21487 | test() |
| 21488 | { |
| 21489 | int i = 0; |
| 21490 | const int c = 0; |
| 21491 | static_assert(decltype(f(i))::value == 1, ""); |
| 21492 | static_assert(decltype(f(c))::value == 2, ""); |
| 21493 | static_assert(decltype(f(0))::value == 3, ""); |
| 21494 | } |
| 21495 | |
| 21496 | } |
| 21497 | |
| 21498 | namespace test_uniform_initialization |
| 21499 | { |
| 21500 | |
| 21501 | struct test |
| 21502 | { |
| 21503 | static const int zero {}; |
| 21504 | static const int one {1}; |
| 21505 | }; |
| 21506 | |
| 21507 | static_assert(test::zero == 0, ""); |
| 21508 | static_assert(test::one == 1, ""); |
| 21509 | |
| 21510 | } |
| 21511 | |
| 21512 | namespace test_lambdas |
| 21513 | { |
| 21514 | |
| 21515 | void |
| 21516 | test1() |
| 21517 | { |
| 21518 | auto lambda1 = [](){}; |
| 21519 | auto lambda2 = lambda1; |
| 21520 | lambda1(); |
| 21521 | lambda2(); |
| 21522 | } |
| 21523 | |
| 21524 | int |
| 21525 | test2() |
| 21526 | { |
| 21527 | auto a = [](int i, int j){ return i + j; }(1, 2); |
| 21528 | auto b = []() -> int { return '0'; }(); |
| 21529 | auto c = [=](){ return a + b; }(); |
| 21530 | auto d = [&](){ return c; }(); |
| 21531 | auto e = [a, &b](int x) mutable { |
| 21532 | const auto identity = [](int y){ return y; }; |
| 21533 | for (auto i = 0; i < a; ++i) |
| 21534 | a += b--; |
| 21535 | return x + identity(a + b); |
| 21536 | }(0); |
| 21537 | return a + b + c + d + e; |
| 21538 | } |
| 21539 | |
| 21540 | int |
| 21541 | test3() |
| 21542 | { |
| 21543 | const auto nullary = [](){ return 0; }; |
| 21544 | const auto unary = [](int x){ return x; }; |
| 21545 | using nullary_t = decltype(nullary); |
| 21546 | using unary_t = decltype(unary); |
| 21547 | const auto higher1st = [](nullary_t f){ return f(); }; |
| 21548 | const auto higher2nd = [unary](nullary_t f1){ |
| 21549 | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; |
| 21550 | }; |
| 21551 | return higher1st(nullary) + higher2nd(nullary)(unary); |
| 21552 | } |
| 21553 | |
| 21554 | } |
| 21555 | |
| 21556 | namespace test_variadic_templates |
| 21557 | { |
| 21558 | |
| 21559 | template <int...> |
| 21560 | struct sum; |
| 21561 | |
| 21562 | template <int N0, int... N1toN> |
| 21563 | struct sum<N0, N1toN...> |
| 21564 | { |
| 21565 | static constexpr auto value = N0 + sum<N1toN...>::value; |
| 21566 | }; |
| 21567 | |
| 21568 | template <> |
| 21569 | struct sum<> |
| 21570 | { |
| 21571 | static constexpr auto value = 0; |
| 21572 | }; |
| 21573 | |
| 21574 | static_assert(sum<>::value == 0, ""); |
| 21575 | static_assert(sum<1>::value == 1, ""); |
| 21576 | static_assert(sum<23>::value == 23, ""); |
| 21577 | static_assert(sum<1, 2>::value == 3, ""); |
| 21578 | static_assert(sum<5, 5, 11>::value == 21, ""); |
| 21579 | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); |
| 21580 | |
| 21581 | } |
| 21582 | |
| 21583 | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae |
| 21584 | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function |
| 21585 | // because of this. |
| 21586 | namespace test_template_alias_sfinae |
| 21587 | { |
| 21588 | |
| 21589 | struct foo {}; |
| 21590 | |
| 21591 | template<typename T> |
| 21592 | using member = typename T::member_type; |
| 21593 | |
| 21594 | template<typename T> |
| 21595 | void func(...) {} |
| 21596 | |
| 21597 | template<typename T> |
| 21598 | void func(member<T>*) {} |
| 21599 | |
| 21600 | void test(); |
| 21601 | |
| 21602 | void test() { func<foo>(0); } |
| 21603 | |
| 21604 | } |
| 21605 | |
| 21606 | } // namespace cxx11 |
| 21607 | |
| 21608 | #endif // __cplusplus >= 201103L |
| 21609 | |
| 21610 | |
| 21611 | |
| 21612 | |
| 21613 | // If the compiler admits that it is not ready for C++14, why torture it? |
| 21614 | // Hopefully, this will speed up the test. |
| 21615 | |
| 21616 | #ifndef __cplusplus |
| 21617 | |
| 21618 | #error "This is not a C++ compiler" |
| 21619 | |
| 21620 | #elif __cplusplus < 201402L && !defined _MSC_VER |
| 21621 | |
| 21622 | #error "This is not a C++14 compiler" |
| 21623 | |
| 21624 | #else |
| 21625 | |
| 21626 | namespace cxx14 |
| 21627 | { |
| 21628 | |
| 21629 | namespace test_polymorphic_lambdas |
| 21630 | { |
| 21631 | |
| 21632 | int |
| 21633 | test() |
| 21634 | { |
| 21635 | const auto lambda = [](auto&&... args){ |
| 21636 | const auto istiny = [](auto x){ |
| 21637 | return (sizeof(x) == 1UL) ? 1 : 0; |
| 21638 | }; |
| 21639 | const int aretiny[] = { istiny(args)... }; |
| 21640 | return aretiny[0]; |
| 21641 | }; |
| 21642 | return lambda(1, 1L, 1.0f, '1'); |
| 21643 | } |
| 21644 | |
| 21645 | } |
| 21646 | |
| 21647 | namespace test_binary_literals |
| 21648 | { |
| 21649 | |
| 21650 | constexpr auto ivii = 0b0000000000101010; |
| 21651 | static_assert(ivii == 42, "wrong value"); |
| 21652 | |
| 21653 | } |
| 21654 | |
| 21655 | namespace test_generalized_constexpr |
| 21656 | { |
| 21657 | |
| 21658 | template < typename CharT > |
| 21659 | constexpr unsigned long |
| 21660 | strlen_c(const CharT *const s) noexcept |
| 21661 | { |
| 21662 | auto length = 0UL; |
| 21663 | for (auto p = s; *p; ++p) |
| 21664 | ++length; |
| 21665 | return length; |
| 21666 | } |
| 21667 | |
| 21668 | static_assert(strlen_c("") == 0UL, ""); |
| 21669 | static_assert(strlen_c("x") == 1UL, ""); |
| 21670 | static_assert(strlen_c("test") == 4UL, ""); |
| 21671 | static_assert(strlen_c("another\0test") == 7UL, ""); |
| 21672 | |
| 21673 | } |
| 21674 | |
| 21675 | namespace test_lambda_init_capture |
| 21676 | { |
| 21677 | |
| 21678 | int |
| 21679 | test() |
| 21680 | { |
| 21681 | auto x = 0; |
| 21682 | const auto lambda1 = [a = x](int b){ return a + b; }; |
| 21683 | const auto lambda2 = [a = lambda1(x)](){ return a; }; |
| 21684 | return lambda2(); |
| 21685 | } |
| 21686 | |
| 21687 | } |
| 21688 | |
| 21689 | namespace test_digit_separators |
| 21690 | { |
| 21691 | |
| 21692 | constexpr auto ten_million = 100'000'000; |
| 21693 | static_assert(ten_million == 100000000, ""); |
| 21694 | |
| 21695 | } |
| 21696 | |
| 21697 | namespace test_return_type_deduction |
| 21698 | { |
| 21699 | |
| 21700 | auto f(int& x) { return x; } |
| 21701 | decltype(auto) g(int& x) { return x; } |
| 21702 | |
| 21703 | template < typename T1, typename T2 > |
| 21704 | struct is_same |
| 21705 | { |
| 21706 | static constexpr auto value = false; |
| 21707 | }; |
| 21708 | |
| 21709 | template < typename T > |
| 21710 | struct is_same<T, T> |
| 21711 | { |
| 21712 | static constexpr auto value = true; |
| 21713 | }; |
| 21714 | |
| 21715 | int |
| 21716 | test() |
| 21717 | { |
| 21718 | auto x = 0; |
| 21719 | static_assert(is_same<int, decltype(f(x))>::value, ""); |
| 21720 | static_assert(is_same<int&, decltype(g(x))>::value, ""); |
| 21721 | return x; |
| 21722 | } |
| 21723 | |
| 21724 | } |
| 21725 | |
| 21726 | } // namespace cxx14 |
| 21727 | |
| 21728 | #endif // __cplusplus >= 201402L |
| 21729 | |
| 21730 | |
| 21731 | |
| 21732 | |
| 21733 | // If the compiler admits that it is not ready for C++17, why torture it? |
| 21734 | // Hopefully, this will speed up the test. |
| 21735 | |
| 21736 | #ifndef __cplusplus |
| 21737 | |
| 21738 | #error "This is not a C++ compiler" |
| 21739 | |
| 21740 | #elif __cplusplus < 201703L && !defined _MSC_VER |
| 21741 | |
| 21742 | #error "This is not a C++17 compiler" |
| 21743 | |
| 21744 | #else |
| 21745 | |
| 21746 | #include <initializer_list> |
| 21747 | #include <utility> |
| 21748 | #include <type_traits> |
| 21749 | |
| 21750 | namespace cxx17 |
| 21751 | { |
| 21752 | |
| 21753 | namespace test_constexpr_lambdas |
| 21754 | { |
| 21755 | |
| 21756 | constexpr int foo = [](){return 42;}(); |
| 21757 | |
| 21758 | } |
| 21759 | |
| 21760 | namespace test::nested_namespace::definitions |
| 21761 | { |
| 21762 | |
| 21763 | } |
| 21764 | |
| 21765 | namespace test_fold_expression |
| 21766 | { |
| 21767 | |
| 21768 | template<typename... Args> |
| 21769 | int multiply(Args... args) |
| 21770 | { |
| 21771 | return (args * ... * 1); |
| 21772 | } |
| 21773 | |
| 21774 | template<typename... Args> |
| 21775 | bool all(Args... args) |
| 21776 | { |
| 21777 | return (args && ...); |
| 21778 | } |
| 21779 | |
| 21780 | } |
| 21781 | |
| 21782 | namespace test_extended_static_assert |
| 21783 | { |
| 21784 | |
| 21785 | static_assert (true); |
| 21786 | |
| 21787 | } |
| 21788 | |
| 21789 | namespace test_auto_brace_init_list |
| 21790 | { |
| 21791 | |
| 21792 | auto foo = {5}; |
| 21793 | auto bar {5}; |
| 21794 | |
| 21795 | static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value); |
| 21796 | static_assert(std::is_same<int, decltype(bar)>::value); |
| 21797 | } |
| 21798 | |
| 21799 | namespace test_typename_in_template_template_parameter |
| 21800 | { |
| 21801 | |
| 21802 | template<template<typename> typename X> struct D; |
| 21803 | |
| 21804 | } |
| 21805 | |
| 21806 | namespace test_fallthrough_nodiscard_maybe_unused_attributes |
| 21807 | { |
| 21808 | |
| 21809 | int f1() |
| 21810 | { |
| 21811 | return 42; |
| 21812 | } |
| 21813 | |
| 21814 | [[nodiscard]] int f2() |
| 21815 | { |
| 21816 | [[maybe_unused]] auto unused = f1(); |
| 21817 | |
| 21818 | switch (f1()) |
| 21819 | { |
| 21820 | case 17: |
| 21821 | f1(); |
| 21822 | [[fallthrough]]; |
| 21823 | case 42: |
| 21824 | f1(); |
| 21825 | } |
| 21826 | return f1(); |
| 21827 | } |
| 21828 | |
| 21829 | } |
| 21830 | |
| 21831 | namespace test_extended_aggregate_initialization |
| 21832 | { |
| 21833 | |
| 21834 | struct base1 |
| 21835 | { |
| 21836 | int b1, b2 = 42; |
| 21837 | }; |
| 21838 | |
| 21839 | struct base2 |
| 21840 | { |
| 21841 | base2() { |
| 21842 | b3 = 42; |
| 21843 | } |
| 21844 | int b3; |
| 21845 | }; |
| 21846 | |
| 21847 | struct derived : base1, base2 |
| 21848 | { |
| 21849 | int d; |
| 21850 | }; |
| 21851 | |
| 21852 | derived d1 {{1, 2}, {}, 4}; // full initialization |
| 21853 | derived d2 {{}, {}, 4}; // value-initialized bases |
| 21854 | |
| 21855 | } |
| 21856 | |
| 21857 | namespace test_general_range_based_for_loop |
| 21858 | { |
| 21859 | |
| 21860 | struct iter |
| 21861 | { |
| 21862 | int i; |
| 21863 | |
| 21864 | int& operator* () |
| 21865 | { |
| 21866 | return i; |
| 21867 | } |
| 21868 | |
| 21869 | const int& operator* () const |
| 21870 | { |
| 21871 | return i; |
| 21872 | } |
| 21873 | |
| 21874 | iter& operator++() |
| 21875 | { |
| 21876 | ++i; |
| 21877 | return *this; |
| 21878 | } |
| 21879 | }; |
| 21880 | |
| 21881 | struct sentinel |
| 21882 | { |
| 21883 | int i; |
| 21884 | }; |
| 21885 | |
| 21886 | bool operator== (const iter& i, const sentinel& s) |
| 21887 | { |
| 21888 | return i.i == s.i; |
| 21889 | } |
| 21890 | |
| 21891 | bool operator!= (const iter& i, const sentinel& s) |
| 21892 | { |
| 21893 | return !(i == s); |
| 21894 | } |
| 21895 | |
| 21896 | struct range |
| 21897 | { |
| 21898 | iter begin() const |
| 21899 | { |
| 21900 | return {0}; |
| 21901 | } |
| 21902 | |
| 21903 | sentinel end() const |
| 21904 | { |
| 21905 | return {5}; |
| 21906 | } |
| 21907 | }; |
| 21908 | |
| 21909 | void f() |
| 21910 | { |
| 21911 | range r {}; |
| 21912 | |
| 21913 | for (auto i : r) |
| 21914 | { |
| 21915 | [[maybe_unused]] auto v = i; |
| 21916 | } |
| 21917 | } |
| 21918 | |
| 21919 | } |
| 21920 | |
| 21921 | namespace test_lambda_capture_asterisk_this_by_value |
| 21922 | { |
| 21923 | |
| 21924 | struct t |
| 21925 | { |
| 21926 | int i; |
| 21927 | int foo() |
| 21928 | { |
| 21929 | return [*this]() |
| 21930 | { |
| 21931 | return i; |
| 21932 | }(); |
| 21933 | } |
| 21934 | }; |
| 21935 | |
| 21936 | } |
| 21937 | |
| 21938 | namespace test_enum_class_construction |
| 21939 | { |
| 21940 | |
| 21941 | enum class byte : unsigned char |
| 21942 | {}; |
| 21943 | |
| 21944 | byte foo {42}; |
| 21945 | |
| 21946 | } |
| 21947 | |
| 21948 | namespace test_constexpr_if |
| 21949 | { |
| 21950 | |
| 21951 | template <bool cond> |
| 21952 | int f () |
| 21953 | { |
| 21954 | if constexpr(cond) |
| 21955 | { |
| 21956 | return 13; |
| 21957 | } |
| 21958 | else |
| 21959 | { |
| 21960 | return 42; |
| 21961 | } |
| 21962 | } |
| 21963 | |
| 21964 | } |
| 21965 | |
| 21966 | namespace test_selection_statement_with_initializer |
| 21967 | { |
| 21968 | |
| 21969 | int f() |
| 21970 | { |
| 21971 | return 13; |
| 21972 | } |
| 21973 | |
| 21974 | int f2() |
| 21975 | { |
| 21976 | if (auto i = f(); i > 0) |
| 21977 | { |
| 21978 | return 3; |
| 21979 | } |
| 21980 | |
| 21981 | switch (auto i = f(); i + 4) |
| 21982 | { |
| 21983 | case 17: |
| 21984 | return 2; |
| 21985 | |
| 21986 | default: |
| 21987 | return 1; |
| 21988 | } |
| 21989 | } |
| 21990 | |
| 21991 | } |
| 21992 | |
| 21993 | namespace test_template_argument_deduction_for_class_templates |
| 21994 | { |
| 21995 | |
| 21996 | template <typename T1, typename T2> |
| 21997 | struct pair |
| 21998 | { |
| 21999 | pair (T1 p1, T2 p2) |
| 22000 | : m1 {p1}, |
| 22001 | m2 {p2} |
| 22002 | {} |
| 22003 | |
| 22004 | T1 m1; |
| 22005 | T2 m2; |
| 22006 | }; |
| 22007 | |
| 22008 | void f() |
| 22009 | { |
| 22010 | [[maybe_unused]] auto p = pair{13, 42u}; |
| 22011 | } |
| 22012 | |
| 22013 | } |
| 22014 | |
| 22015 | namespace test_non_type_auto_template_parameters |
| 22016 | { |
| 22017 | |
| 22018 | template <auto n> |
| 22019 | struct B |
| 22020 | {}; |
| 22021 | |
| 22022 | B<5> b1; |
| 22023 | B<'a'> b2; |
| 22024 | |
| 22025 | } |
| 22026 | |
| 22027 | namespace test_structured_bindings |
| 22028 | { |
| 22029 | |
| 22030 | int arr[2] = { 1, 2 }; |
| 22031 | std::pair<int, int> pr = { 1, 2 }; |
| 22032 | |
| 22033 | auto f1() -> int(&)[2] |
| 22034 | { |
| 22035 | return arr; |
| 22036 | } |
| 22037 | |
| 22038 | auto f2() -> std::pair<int, int>& |
| 22039 | { |
| 22040 | return pr; |
| 22041 | } |
| 22042 | |
| 22043 | struct S |
| 22044 | { |
| 22045 | int x1 : 2; |
| 22046 | volatile double y1; |
| 22047 | }; |
| 22048 | |
| 22049 | S f3() |
| 22050 | { |
| 22051 | return {}; |
| 22052 | } |
| 22053 | |
| 22054 | auto [ x1, y1 ] = f1(); |
| 22055 | auto& [ xr1, yr1 ] = f1(); |
| 22056 | auto [ x2, y2 ] = f2(); |
| 22057 | auto& [ xr2, yr2 ] = f2(); |
| 22058 | const auto [ x3, y3 ] = f3(); |
| 22059 | |
| 22060 | } |
| 22061 | |
| 22062 | namespace test_exception_spec_type_system |
| 22063 | { |
| 22064 | |
| 22065 | struct Good {}; |
| 22066 | struct Bad {}; |
| 22067 | |
| 22068 | void g1() noexcept; |
| 22069 | void g2(); |
| 22070 | |
| 22071 | template<typename T> |
| 22072 | Bad |
| 22073 | f(T*, T*); |
| 22074 | |
| 22075 | template<typename T1, typename T2> |
| 22076 | Good |
| 22077 | f(T1*, T2*); |
| 22078 | |
| 22079 | static_assert (std::is_same_v<Good, decltype(f(g1, g2))>); |
| 22080 | |
| 22081 | } |
| 22082 | |
| 22083 | namespace test_inline_variables |
| 22084 | { |
| 22085 | |
| 22086 | template<class T> void f(T) |
| 22087 | {} |
| 22088 | |
| 22089 | template<class T> inline T g(T) |
| 22090 | { |
| 22091 | return T{}; |
| 22092 | } |
| 22093 | |
| 22094 | template<> inline void f<>(int) |
| 22095 | {} |
| 22096 | |
| 22097 | template<> int g<>(int) |
| 22098 | { |
| 22099 | return 5; |
| 22100 | } |
| 22101 | |
| 22102 | } |
| 22103 | |
| 22104 | } // namespace cxx17 |
| 22105 | |
| 22106 | #endif // __cplusplus < 201703L && !defined _MSC_VER |
| 22107 | |
| 22108 | |
| 22109 | |
| 22110 | _ACEOF |
| 22111 | if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO" |
| 22112 | then : |
| 22113 | eval $cachevar=yes |
| 22114 | else case e in #( |
| 22115 | e) eval $cachevar=no ;; |
| 22116 | esac |
| 22117 | fi |
| 22118 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 22119 | CXX="$ac_save_CXX" ;; |
| 22120 | esac |
| 22121 | fi |
| 22122 | eval ac_res=\$$cachevar |
| 22123 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 22124 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 22125 | if eval test x\$$cachevar = xyes; then |
| 22126 | CXX="$CXX $switch" |
| 22127 | if testscip-shell system . . test. -n "$CXXCPP" ; then |
| 22128 | CXXCPP="$CXXCPP $switch" |
| 22129 | fi |
| 22130 | ac_success=yes |
| 22131 | break |
| 22132 | fi |
| 22133 | done |
| 22134 | fi |
| 22135 | |
| 22136 | |
| 22137 | ac_ext=c |
| 22138 | ac_cpp='$CPP $CPPFLAGS' |
| 22139 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 22140 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 22141 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 22142 | |
| 22143 | if testscip-shell system . . test. x$ax_cxx_compile_cxx17_required = xtrue; then |
| 22144 | if testscip-shell system . . test. x$ac_success = xno; then |
| 22145 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "*** A compiler with support for C++17 language features is required." "$LINENO" 5 |
| 22146 | fi |
| 22147 | fi |
| 22148 | if testscip-shell system . . test. x$ac_success = xno; then |
| 22149 | HAVE_CXX17=0 |
| 22150 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 |
| 22151 | printfscip-shell system . . printf. "%s\n" "$as_me: No compiler with C++17 support was found" >&6;} |
| 22152 | else |
| 22153 | HAVE_CXX17=1 |
| 22154 | |
| 22155 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CXX17 1" >>confdefs.h |
| 22156 | |
| 22157 | fi |
| 22158 | |
| 22159 | |
| 22160 | |
| 22161 | if testscip-shell system . . test. "x$with_tests" = xtrue |
| 22162 | then |
| 22163 | |
| 22164 | pkg_failed=no |
| 22165 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for catch2-with-main >= 3.0" >&5 |
| 22166 | printfscip-shell system . . printf. %s "checking for catch2-with-main >= 3.0... " >&6; } |
| 22167 | |
| 22168 | if testscip-shell system . . test. -n "$CATCH2_CFLAGS"; then |
| 22169 | pkg_cv_CATCH2_CFLAGS="$CATCH2_CFLAGS" |
| 22170 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22171 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22172 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"catch2-with-main >= 3.0\""; } >&5 |
| 22173 | ($PKG_CONFIG --exists --print-errors "catch2-with-main >= 3.0") 2>&5 |
| 22174 | ac_status=$? |
| 22175 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22176 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22177 | pkg_cv_CATCH2_CFLAGS=`$PKG_CONFIG --cflags "catch2-with-main >= 3.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22178 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22179 | else |
| 22180 | pkg_failed=yes |
| 22181 | fi |
| 22182 | else |
| 22183 | pkg_failed=untried |
| 22184 | fi |
| 22185 | if testscip-shell system . . test. -n "$CATCH2_LIBS"; then |
| 22186 | pkg_cv_CATCH2_LIBS="$CATCH2_LIBS" |
| 22187 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22188 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22189 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"catch2-with-main >= 3.0\""; } >&5 |
| 22190 | ($PKG_CONFIG --exists --print-errors "catch2-with-main >= 3.0") 2>&5 |
| 22191 | ac_status=$? |
| 22192 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22193 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22194 | pkg_cv_CATCH2_LIBS=`$PKG_CONFIG --libs "catch2-with-main >= 3.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22195 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22196 | else |
| 22197 | pkg_failed=yes |
| 22198 | fi |
| 22199 | else |
| 22200 | pkg_failed=untried |
| 22201 | fi |
| 22202 | |
| 22203 | |
| 22204 | |
| 22205 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22206 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22207 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22208 | |
| 22209 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22210 | _pkg_short_errors_supported=yes |
| 22211 | else |
| 22212 | _pkg_short_errors_supported=no |
| 22213 | fi |
| 22214 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22215 | CATCH2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "catch2-with-main >= 3.0" 2>&1` |
| 22216 | else |
| 22217 | CATCH2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "catch2-with-main >= 3.0" 2>&1` |
| 22218 | fi |
| 22219 | # Put the nasty error message in config.log where it belongs |
| 22220 | echoscip-shell system . . echo. "$CATCH2_PKG_ERRORS" >&5 |
| 22221 | |
| 22222 | |
| 22223 | ac_ext=cpp |
| 22224 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 22225 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 22226 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 22227 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 22228 | |
| 22229 | for ac_header in catch2/catch_all.hpp |
| 22230 | do : |
| 22231 | ac_fn_cxx_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_check_header_compile(). "$LINENO" "catch2/catch_all.hpp" "ac_cv_header_catch2_catch_all_hpp" "$ac_includes_default" |
| 22232 | if testscip-shell system . . test. "x$ac_cv_header_catch2_catch_all_hpp" = xyes |
| 22233 | then : |
| 22234 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CATCH2_CATCH_ALL_HPP 1" >>confdefs.h |
| 22235 | |
| 22236 | else case e in #( |
| 22237 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "catch2/catch_all.hpp header not found (needed to build C++ bindings)" "$LINENO" 5 ;; |
| 22238 | esac |
| 22239 | fi |
| 22240 | |
| 22241 | done |
| 22242 | ac_ext=c |
| 22243 | ac_cpp='$CPP $CPPFLAGS' |
| 22244 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 22245 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 22246 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 22247 | |
| 22248 | |
| 22249 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22250 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22251 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22252 | |
| 22253 | ac_ext=cpp |
| 22254 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 22255 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 22256 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 22257 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 22258 | |
| 22259 | for ac_header in catch2/catch_all.hpp |
| 22260 | do : |
| 22261 | ac_fn_cxx_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_check_header_compile(). "$LINENO" "catch2/catch_all.hpp" "ac_cv_header_catch2_catch_all_hpp" "$ac_includes_default" |
| 22262 | if testscip-shell system . . test. "x$ac_cv_header_catch2_catch_all_hpp" = xyes |
| 22263 | then : |
| 22264 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CATCH2_CATCH_ALL_HPP 1" >>confdefs.h |
| 22265 | |
| 22266 | else case e in #( |
| 22267 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "catch2/catch_all.hpp header not found (needed to build C++ bindings)" "$LINENO" 5 ;; |
| 22268 | esac |
| 22269 | fi |
| 22270 | |
| 22271 | done |
| 22272 | ac_ext=c |
| 22273 | ac_cpp='$CPP $CPPFLAGS' |
| 22274 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 22275 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 22276 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 22277 | |
| 22278 | |
| 22279 | else |
| 22280 | CATCH2_CFLAGS=$pkg_cv_CATCH2_CFLAGS |
| 22281 | CATCH2_LIBS=$pkg_cv_CATCH2_LIBS |
| 22282 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22283 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22284 | |
| 22285 | fi |
| 22286 | fi |
| 22287 | fi |
| 22288 | |
| 22289 | # Check whether --enable-bindings-python was given. |
| 22290 | if testscip-shell system . . test. ${enable_bindings_python+y} |
| 22291 | then : |
| 22292 | enableval=$enable_bindings_python; if testscip-shell system . . test. "x$enableval" = xyes; then with_bindings_python=true; fi |
| 22293 | else case e in #( |
| 22294 | e) with_bindings_python=false ;; |
| 22295 | esac |
| 22296 | fi |
| 22297 | |
| 22298 | if testscip-shell system . . test. "x$with_bindings_python" = xtrue; then |
| 22299 | WITH_BINDINGS_PYTHON_TRUE= |
| 22300 | WITH_BINDINGS_PYTHON_FALSE='#' |
| 22301 | else |
| 22302 | WITH_BINDINGS_PYTHON_TRUE='#' |
| 22303 | WITH_BINDINGS_PYTHON_FALSE= |
| 22304 | fi |
| 22305 | |
| 22306 | |
| 22307 | if testscip-shell system . . test. "x$with_bindings_python" = xtrue |
| 22308 | then |
| 22309 | |
| 22310 | |
| 22311 | |
| 22312 | |
| 22313 | |
| 22314 | |
| 22315 | if testscip-shell system . . test. -n "$PYTHON"; then |
| 22316 | # If the user set $PYTHON, use it and don't search something else. |
| 22317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.9" >&5 |
| 22318 | printfscip-shell system . . printf. %s "checking whether $PYTHON version is >= 3.9... " >&6; } |
| 22319 | prog="import sys |
| 22320 | # split strings by '.' and convert to numeric. Append some zeros |
| 22321 | # because we need at least 4 digits for the hex conversion. |
| 22322 | # map returns an iterator in Python 3.0 and a list in 2.x |
| 22323 | minver = list(map(int, '3.9'.split('.'))) + [0, 0, 0] |
| 22324 | minverhex = 0 |
| 22325 | # xrange is not present in Python 3.0 and range returns an iterator |
| 22326 | for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 22327 | sys.exit(sys.hexversion < minverhex)" |
| 22328 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
| 22329 | ($PYTHON -c "$prog") >&5 2>&5 |
| 22330 | ac_status=$? |
| 22331 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22332 | (exit $ac_status); } |
| 22333 | then : |
| 22334 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22335 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22336 | else case e in #( |
| 22337 | e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22338 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22339 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Python interpreter is too old" "$LINENO" 5 ;; |
| 22340 | esac |
| 22341 | fi |
| 22342 | am_display_PYTHON=$PYTHON |
| 22343 | else |
| 22344 | # Otherwise, try each interpreter until we find one that satisfies |
| 22345 | # VERSION. |
| 22346 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.9" >&5 |
| 22347 | printfscip-shell system . . printf. %s "checking for a Python interpreter with version >= 3.9... " >&6; } |
| 22348 | if testscip-shell system . . test. ${am_cv_pathless_PYTHON+y} |
| 22349 | then : |
| 22350 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22351 | else case e in #( |
| 22352 | e) |
| 22353 | for am_cv_pathless_PYTHON in python python3 python3.20 python3.19 python3.18 python3.17 python3.16 python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do |
| 22354 | testscip-shell system . . test. "$am_cv_pathless_PYTHON" = none && break |
| 22355 | prog="import sys |
| 22356 | # split strings by '.' and convert to numeric. Append some zeros |
| 22357 | # because we need at least 4 digits for the hex conversion. |
| 22358 | # map returns an iterator in Python 3.0 and a list in 2.x |
| 22359 | minver = list(map(int, '3.9'.split('.'))) + [0, 0, 0] |
| 22360 | minverhex = 0 |
| 22361 | # xrange is not present in Python 3.0 and range returns an iterator |
| 22362 | for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 22363 | sys.exit(sys.hexversion < minverhex)" |
| 22364 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
| 22365 | ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
| 22366 | ac_status=$? |
| 22367 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22368 | (exit $ac_status); } |
| 22369 | then : |
| 22370 | break |
| 22371 | fi |
| 22372 | done ;; |
| 22373 | esac |
| 22374 | fi |
| 22375 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 |
| 22376 | printfscip-shell system . . printf. "%s\n" "$am_cv_pathless_PYTHON" >&6; } |
| 22377 | # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
| 22378 | if testscip-shell system . . test. "$am_cv_pathless_PYTHON" = none; then |
| 22379 | PYTHON=: |
| 22380 | else |
| 22381 | # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. |
| 22382 | set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
| 22383 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22384 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 22385 | if testscip-shell system . . test. ${ac_cv_path_PYTHON+y} |
| 22386 | then : |
| 22387 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22388 | else case e in #( |
| 22389 | e) case $PYTHON in |
| 22390 | [\\/]* | ?:[\\/]*) |
| 22391 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
| 22392 | ;; |
| 22393 | *) |
| 22394 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22395 | for as_dir in $PATH |
| 22396 | do |
| 22397 | IFS=$as_save_IFS |
| 22398 | case $as_dir in #((( |
| 22399 | '') as_dir=./ ;; |
| 22400 | */) ;; |
| 22401 | *) as_dir=$as_dir/ ;; |
| 22402 | esac |
| 22403 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 22404 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 22405 | ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext" |
| 22406 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22407 | break 2 |
| 22408 | fi |
| 22409 | done |
| 22410 | done |
| 22411 | IFS=$as_save_IFS |
| 22412 | |
| 22413 | ;; |
| 22414 | esac ;; |
| 22415 | esac |
| 22416 | fi |
| 22417 | PYTHON=$ac_cv_path_PYTHON |
| 22418 | if testscip-shell system . . test. -n "$PYTHON"; then |
| 22419 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
| 22420 | printfscip-shell system . . printf. "%s\n" "$PYTHON" >&6; } |
| 22421 | else |
| 22422 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22423 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22424 | fi |
| 22425 | |
| 22426 | |
| 22427 | fi |
| 22428 | am_display_PYTHON=$am_cv_pathless_PYTHON |
| 22429 | fi |
| 22430 | |
| 22431 | |
| 22432 | if testscip-shell system . . test. "$PYTHON" = :; then |
| 22433 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "python3 not found - needed for python bindings" "$LINENO" 5 |
| 22434 | else |
| 22435 | |
| 22436 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
| 22437 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON version... " >&6; } |
| 22438 | if testscip-shell system . . test. ${am_cv_python_version+y} |
| 22439 | then : |
| 22440 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22441 | else case e in #( |
| 22442 | e) am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` ;; |
| 22443 | esac |
| 22444 | fi |
| 22445 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
| 22446 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_version" >&6; } |
| 22447 | PYTHON_VERSION=$am_cv_python_version |
| 22448 | |
| 22449 | |
| 22450 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
| 22451 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON platform... " >&6; } |
| 22452 | if testscip-shell system . . test. ${am_cv_python_platform+y} |
| 22453 | then : |
| 22454 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22455 | else case e in #( |
| 22456 | e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;; |
| 22457 | esac |
| 22458 | fi |
| 22459 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
| 22460 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_platform" >&6; } |
| 22461 | PYTHON_PLATFORM=$am_cv_python_platform |
| 22462 | |
| 22463 | |
| 22464 | if testscip-shell system . . test. "x$prefix" = xNONE; then |
| 22465 | am__usable_prefix=$ac_default_prefix |
| 22466 | else |
| 22467 | am__usable_prefix=$prefix |
| 22468 | fi |
| 22469 | |
| 22470 | # Allow user to request using sys.* values from Python, |
| 22471 | # instead of the GNU $prefix values. |
| 22472 | |
| 22473 | # Check whether --with-python-sys-prefix was given. |
| 22474 | if testscip-shell system . . test. ${with_python_sys_prefix+y} |
| 22475 | then : |
| 22476 | withval=$with_python_sys_prefix; am_use_python_sys=: |
| 22477 | else case e in #( |
| 22478 | e) am_use_python_sys=false ;; |
| 22479 | esac |
| 22480 | fi |
| 22481 | |
| 22482 | |
| 22483 | # Allow user to override whatever the default Python prefix is. |
| 22484 | |
| 22485 | # Check whether --with-python_prefix was given. |
| 22486 | if testscip-shell system . . test. ${with_python_prefix+y} |
| 22487 | then : |
| 22488 | withval=$with_python_prefix; am_python_prefix_subst=$withval |
| 22489 | am_cv_python_prefix=$withval |
| 22490 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5 |
| 22491 | printfscip-shell system . . printf. %s "checking for explicit $am_display_PYTHON prefix... " >&6; } |
| 22492 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 22493 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_prefix" >&6; } |
| 22494 | else case e in #( |
| 22495 | e) |
| 22496 | if $am_use_python_sys; then |
| 22497 | # using python sys.prefix value, not GNU |
| 22498 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5 |
| 22499 | printfscip-shell system . . printf. %s "checking for python default $am_display_PYTHON prefix... " >&6; } |
| 22500 | if testscip-shell system . . test. ${am_cv_python_prefix+y} |
| 22501 | then : |
| 22502 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22503 | else case e in #( |
| 22504 | e) am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` ;; |
| 22505 | esac |
| 22506 | fi |
| 22507 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 22508 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_prefix" >&6; } |
| 22509 | |
| 22510 | case $am_cv_python_prefix in |
| 22511 | $am__usable_prefix*) |
| 22512 | am__strip_prefix=`echoscip-shell system . . echo. "$am__usable_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 22513 | am_python_prefix_subst=`echoscip-shell system . . echo. "$am_cv_python_prefix" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${prefix},"` |
| 22514 | ;; |
| 22515 | *) |
| 22516 | am_python_prefix_subst=$am_cv_python_prefix |
| 22517 | ;; |
| 22518 | esac |
| 22519 | else # using GNU prefix value, not python sys.prefix |
| 22520 | am_python_prefix_subst='${prefix}' |
| 22521 | am_python_prefix=$am_python_prefix_subst |
| 22522 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5 |
| 22523 | printfscip-shell system . . printf. %s "checking for GNU default $am_display_PYTHON prefix... " >&6; } |
| 22524 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5 |
| 22525 | printfscip-shell system . . printf. "%s\n" "$am_python_prefix" >&6; } |
| 22526 | fi ;; |
| 22527 | esac |
| 22528 | fi |
| 22529 | |
| 22530 | # Substituting python_prefix_subst value. |
| 22531 | PYTHON_PREFIX=$am_python_prefix_subst |
| 22532 | |
| 22533 | |
| 22534 | # emacs-page Now do it all over again for Python exec_prefix, but with yet |
| 22535 | # another conditional: fall back to regular prefix if that was specified. |
| 22536 | |
| 22537 | # Check whether --with-python_exec_prefix was given. |
| 22538 | if testscip-shell system . . test. ${with_python_exec_prefix+y} |
| 22539 | then : |
| 22540 | withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval |
| 22541 | am_cv_python_exec_prefix=$withval |
| 22542 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5 |
| 22543 | printfscip-shell system . . printf. %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; } |
| 22544 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 22545 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 22546 | else case e in #( |
| 22547 | e) |
| 22548 | # no explicit --with-python_exec_prefix, but if |
| 22549 | # --with-python_prefix was given, use its value for python_exec_prefix too. |
| 22550 | if testscip-shell system . . test. -n "$with_python_prefix" |
| 22551 | then : |
| 22552 | am_python_exec_prefix_subst=$with_python_prefix |
| 22553 | am_cv_python_exec_prefix=$with_python_prefix |
| 22554 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5 |
| 22555 | printfscip-shell system . . printf. %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; } |
| 22556 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 22557 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 22558 | else case e in #( |
| 22559 | e) |
| 22560 | # Set am__usable_exec_prefix whether using GNU or Python values, |
| 22561 | # since we use that variable for pyexecdir. |
| 22562 | if testscip-shell system . . test. "x$exec_prefix" = xNONE; then |
| 22563 | am__usable_exec_prefix=$am__usable_prefix |
| 22564 | else |
| 22565 | am__usable_exec_prefix=$exec_prefix |
| 22566 | fi |
| 22567 | # |
| 22568 | if $am_use_python_sys; then # using python sys.exec_prefix, not GNU |
| 22569 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5 |
| 22570 | printfscip-shell system . . printf. %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; } |
| 22571 | if testscip-shell system . . test. ${am_cv_python_exec_prefix+y} |
| 22572 | then : |
| 22573 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22574 | else case e in #( |
| 22575 | e) am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` ;; |
| 22576 | esac |
| 22577 | fi |
| 22578 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 22579 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 22580 | case $am_cv_python_exec_prefix in |
| 22581 | $am__usable_exec_prefix*) |
| 22582 | am__strip_prefix=`echoscip-shell system . . echo. "$am__usable_exec_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 22583 | am_python_exec_prefix_subst=`echoscip-shell system . . echo. "$am_cv_python_exec_prefix" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${exec_prefix},"` |
| 22584 | ;; |
| 22585 | *) |
| 22586 | am_python_exec_prefix_subst=$am_cv_python_exec_prefix |
| 22587 | ;; |
| 22588 | esac |
| 22589 | else # using GNU $exec_prefix, not python sys.exec_prefix |
| 22590 | am_python_exec_prefix_subst='${exec_prefix}' |
| 22591 | am_python_exec_prefix=$am_python_exec_prefix_subst |
| 22592 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5 |
| 22593 | printfscip-shell system . . printf. %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; } |
| 22594 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5 |
| 22595 | printfscip-shell system . . printf. "%s\n" "$am_python_exec_prefix" >&6; } |
| 22596 | fi ;; |
| 22597 | esac |
| 22598 | fi ;; |
| 22599 | esac |
| 22600 | fi |
| 22601 | |
| 22602 | # Substituting python_exec_prefix_subst. |
| 22603 | PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst |
| 22604 | |
| 22605 | |
| 22606 | # Factor out some code duplication into this shell variable. |
| 22607 | am_python_setup_sysconfig="\ |
| 22608 | import sys |
| 22609 | # Prefer sysconfig over distutils.sysconfig, for better compatibility |
| 22610 | # with python 3.x. See automake bug#10227. |
| 22611 | try: |
| 22612 | import sysconfig |
| 22613 | except ImportError: |
| 22614 | can_use_sysconfig = 0 |
| 22615 | else: |
| 22616 | can_use_sysconfig = 1 |
| 22617 | # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: |
| 22618 | # <https://github.com/pypa/virtualenv/issues/118> |
| 22619 | try: |
| 22620 | from platform import python_implementation |
| 22621 | if python_implementation() == 'CPython' and sys.version[:3] == '2.7': |
| 22622 | can_use_sysconfig = 0 |
| 22623 | except ImportError: |
| 22624 | pass" # end of am_python_setup_sysconfig |
| 22625 | |
| 22626 | # More repeated code, for figuring out the installation scheme to use. |
| 22627 | am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'): |
| 22628 | scheme = sysconfig.get_default_scheme() |
| 22629 | else: |
| 22630 | scheme = sysconfig._get_default_scheme() |
| 22631 | if scheme == 'posix_local': |
| 22632 | if '$am_py_prefix' == '/usr': |
| 22633 | scheme = 'deb_system' # should only happen during Debian package builds |
| 22634 | else: |
| 22635 | # Debian's default scheme installs to /usr/local/ but we want to |
| 22636 | # follow the prefix, as we always have. |
| 22637 | # See bugs#54412, #64837, et al. |
| 22638 | scheme = 'posix_prefix'" # end of am_python_setup_scheme |
| 22639 | |
| 22640 | |
| 22641 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5 |
| 22642 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; } |
| 22643 | if testscip-shell system . . test. ${am_cv_python_pythondir+y} |
| 22644 | then : |
| 22645 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22646 | else case e in #( |
| 22647 | e) if testscip-shell system . . test. "x$am_cv_python_prefix" = x; then |
| 22648 | am_py_prefix=$am__usable_prefix |
| 22649 | else |
| 22650 | am_py_prefix=$am_cv_python_prefix |
| 22651 | fi |
| 22652 | am_cv_python_pythondir=`$PYTHON -c " |
| 22653 | $am_python_setup_sysconfig |
| 22654 | if can_use_sysconfig: |
| 22655 | try: |
| 22656 | $am_python_setup_scheme |
| 22657 | sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'}) |
| 22658 | except: |
| 22659 | sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) |
| 22660 | else: |
| 22661 | from distutils import sysconfig |
| 22662 | sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') |
| 22663 | sys.stdout.write(sitedir)"` |
| 22664 | # |
| 22665 | case $am_cv_python_pythondir in |
| 22666 | $am_py_prefix*) |
| 22667 | am__strip_prefix=`echoscip-shell system . . echo. "$am_py_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 22668 | am_cv_python_pythondir=`echoscip-shell system . . echo. "$am_cv_python_pythondir" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"` |
| 22669 | ;; |
| 22670 | *) |
| 22671 | case $am_py_prefix in |
| 22672 | /usr|/System*) ;; |
| 22673 | *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 22674 | ;; |
| 22675 | esac |
| 22676 | ;; |
| 22677 | esac |
| 22678 | ;; |
| 22679 | esac |
| 22680 | fi |
| 22681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
| 22682 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_pythondir" >&6; } |
| 22683 | pythondir=$am_cv_python_pythondir |
| 22684 | |
| 22685 | |
| 22686 | pkgpythondir=\${pythondir}/$PACKAGE |
| 22687 | |
| 22688 | |
| 22689 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5 |
| 22690 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; } |
| 22691 | if testscip-shell system . . test. ${am_cv_python_pyexecdir+y} |
| 22692 | then : |
| 22693 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22694 | else case e in #( |
| 22695 | e) if testscip-shell system . . test. "x$am_cv_python_exec_prefix" = x; then |
| 22696 | am_py_exec_prefix=$am__usable_exec_prefix |
| 22697 | else |
| 22698 | am_py_exec_prefix=$am_cv_python_exec_prefix |
| 22699 | fi |
| 22700 | am_cv_python_pyexecdir=`$PYTHON -c " |
| 22701 | $am_python_setup_sysconfig |
| 22702 | if can_use_sysconfig: |
| 22703 | try: |
| 22704 | $am_python_setup_scheme |
| 22705 | sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'}) |
| 22706 | except: |
| 22707 | sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'}) |
| 22708 | else: |
| 22709 | from distutils import sysconfig |
| 22710 | sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') |
| 22711 | sys.stdout.write(sitedir)"` |
| 22712 | # |
| 22713 | case $am_cv_python_pyexecdir in |
| 22714 | $am_py_exec_prefix*) |
| 22715 | am__strip_prefix=`echoscip-shell system . . echo. "$am_py_exec_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 22716 | am_cv_python_pyexecdir=`echoscip-shell system . . echo. "$am_cv_python_pyexecdir" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"` |
| 22717 | ;; |
| 22718 | *) |
| 22719 | case $am_py_exec_prefix in |
| 22720 | /usr|/System*) ;; |
| 22721 | *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 22722 | ;; |
| 22723 | esac |
| 22724 | ;; |
| 22725 | esac |
| 22726 | ;; |
| 22727 | esac |
| 22728 | fi |
| 22729 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
| 22730 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_pyexecdir" >&6; } |
| 22731 | pyexecdir=$am_cv_python_pyexecdir |
| 22732 | |
| 22733 | |
| 22734 | pkgpyexecdir=\${pyexecdir}/$PACKAGE |
| 22735 | |
| 22736 | |
| 22737 | |
| 22738 | fi |
| 22739 | |
| 22740 | fi |
| 22741 | |
| 22742 | # Check whether --enable-bindings-rust was given. |
| 22743 | if testscip-shell system . . test. ${enable_bindings_rust+y} |
| 22744 | then : |
| 22745 | enableval=$enable_bindings_rust; if testscip-shell system . . test. "x$enableval" = xyes; then with_bindings_rust=true; fi |
| 22746 | else case e in #( |
| 22747 | e) with_bindings_rust=false ;; |
| 22748 | esac |
| 22749 | fi |
| 22750 | |
| 22751 | if testscip-shell system . . test. "x$with_bindings_rust" = xtrue; then |
| 22752 | WITH_BINDINGS_RUST_TRUE= |
| 22753 | WITH_BINDINGS_RUST_FALSE='#' |
| 22754 | else |
| 22755 | WITH_BINDINGS_RUST_TRUE='#' |
| 22756 | WITH_BINDINGS_RUST_FALSE= |
| 22757 | fi |
| 22758 | |
| 22759 | |
| 22760 | if testscip-shell system . . test. "x$with_bindings_rust" = xtrue |
| 22761 | then |
| 22762 | # Extract the first word of "cargo", so it can be a program name with args. |
| 22763 | set dummy cargo; ac_word=$2 |
| 22764 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22765 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 22766 | if testscip-shell system . . test. ${ac_cv_prog_has_cargo+y} |
| 22767 | then : |
| 22768 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22769 | else case e in #( |
| 22770 | e) if testscip-shell system . . test. -n "$has_cargo"; then |
| 22771 | ac_cv_prog_has_cargo="$has_cargo" # Let the user override the test. |
| 22772 | else |
| 22773 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22774 | for as_dir in $PATH |
| 22775 | do |
| 22776 | IFS=$as_save_IFS |
| 22777 | case $as_dir in #((( |
| 22778 | '') as_dir=./ ;; |
| 22779 | */) ;; |
| 22780 | *) as_dir=$as_dir/ ;; |
| 22781 | esac |
| 22782 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 22783 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 22784 | ac_cv_prog_has_cargo="true" |
| 22785 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22786 | break 2 |
| 22787 | fi |
| 22788 | done |
| 22789 | done |
| 22790 | IFS=$as_save_IFS |
| 22791 | |
| 22792 | testscip-shell system . . test. -z "$ac_cv_prog_has_cargo" && ac_cv_prog_has_cargo="false" |
| 22793 | fi ;; |
| 22794 | esac |
| 22795 | fi |
| 22796 | has_cargo=$ac_cv_prog_has_cargo |
| 22797 | if testscip-shell system . . test. -n "$has_cargo"; then |
| 22798 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_cargo" >&5 |
| 22799 | printfscip-shell system . . printf. "%s\n" "$has_cargo" >&6; } |
| 22800 | else |
| 22801 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22802 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22803 | fi |
| 22804 | |
| 22805 | |
| 22806 | if testscip-shell system . . test. "x$has_cargo" = xfalse |
| 22807 | then |
| 22808 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cargo not found - needed for rust bindings" "$LINENO" 5 |
| 22809 | fi |
| 22810 | fi |
| 22811 | |
| 22812 | # Check whether --enable-dbus was given. |
| 22813 | if testscip-shell system . . test. ${enable_dbus+y} |
| 22814 | then : |
| 22815 | enableval=$enable_dbus; if testscip-shell system . . test. "x$enableval" == xyes; then with_dbus=true; fi |
| 22816 | else case e in #( |
| 22817 | e) with_dbus=false ;; |
| 22818 | esac |
| 22819 | fi |
| 22820 | |
| 22821 | if testscip-shell system . . test. "x$with_dbus" = xtrue; then |
| 22822 | WITH_DBUS_TRUE= |
| 22823 | WITH_DBUS_FALSE='#' |
| 22824 | else |
| 22825 | WITH_DBUS_TRUE='#' |
| 22826 | WITH_DBUS_FALSE= |
| 22827 | fi |
| 22828 | |
| 22829 | |
| 22830 | # Check whether --enable-bindings-glib was given. |
| 22831 | if testscip-shell system . . test. ${enable_bindings_glib+y} |
| 22832 | then : |
| 22833 | enableval=$enable_bindings_glib; if testscip-shell system . . test. "x$enableval" = xyes; then with_bindings_glib=true; fi |
| 22834 | else case e in #( |
| 22835 | e) with_bindings_glib=false ;; |
| 22836 | esac |
| 22837 | fi |
| 22838 | |
| 22839 | |
| 22840 | |
| 22841 | |
| 22842 | if testscip-shell system . . test. "x$with_dbus" = xtrue |
| 22843 | then |
| 22844 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "daemon" "ac_cv_func_daemon" |
| 22845 | if testscip-shell system . . test. "x$ac_cv_func_daemon" = xyes |
| 22846 | then : |
| 22847 | |
| 22848 | else case e in #( |
| 22849 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "daemon() not found (needed to build dbus daemon)" "$LINENO" 5 ;; |
| 22850 | esac |
| 22851 | fi |
| 22852 | |
| 22853 | ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "strverscmp" "ac_cv_func_strverscmp" |
| 22854 | if testscip-shell system . . test. "x$ac_cv_func_strverscmp" = xyes |
| 22855 | then : |
| 22856 | |
| 22857 | else case e in #( |
| 22858 | e) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 1 "strverscmp() not found (needed to build dbus daemon)" "$LINENO" 5 ;; |
| 22859 | esac |
| 22860 | fi |
| 22861 | |
| 22862 | |
| 22863 | pkg_failed=no |
| 22864 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gudev-1.0 >= 230" >&5 |
| 22865 | printfscip-shell system . . printf. %s "checking for gudev-1.0 >= 230... " >&6; } |
| 22866 | |
| 22867 | if testscip-shell system . . test. -n "$GUDEV_CFLAGS"; then |
| 22868 | pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS" |
| 22869 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22870 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22871 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 230\""; } >&5 |
| 22872 | ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 230") 2>&5 |
| 22873 | ac_status=$? |
| 22874 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22875 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22876 | pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= 230" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22877 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22878 | else |
| 22879 | pkg_failed=yes |
| 22880 | fi |
| 22881 | else |
| 22882 | pkg_failed=untried |
| 22883 | fi |
| 22884 | if testscip-shell system . . test. -n "$GUDEV_LIBS"; then |
| 22885 | pkg_cv_GUDEV_LIBS="$GUDEV_LIBS" |
| 22886 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22887 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22888 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 230\""; } >&5 |
| 22889 | ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 230") 2>&5 |
| 22890 | ac_status=$? |
| 22891 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22892 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22893 | pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= 230" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22894 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22895 | else |
| 22896 | pkg_failed=yes |
| 22897 | fi |
| 22898 | else |
| 22899 | pkg_failed=untried |
| 22900 | fi |
| 22901 | |
| 22902 | |
| 22903 | |
| 22904 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22905 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22906 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22907 | |
| 22908 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22909 | _pkg_short_errors_supported=yes |
| 22910 | else |
| 22911 | _pkg_short_errors_supported=no |
| 22912 | fi |
| 22913 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22914 | GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0 >= 230" 2>&1` |
| 22915 | else |
| 22916 | GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0 >= 230" 2>&1` |
| 22917 | fi |
| 22918 | # Put the nasty error message in config.log where it belongs |
| 22919 | echoscip-shell system . . echo. "$GUDEV_PKG_ERRORS" >&5 |
| 22920 | |
| 22921 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (gudev-1.0 >= 230) were not met: |
| 22922 | |
| 22923 | $GUDEV_PKG_ERRORS |
| 22924 | |
| 22925 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 22926 | installed software in a non-standard prefix. |
| 22927 | |
| 22928 | Alternatively, you may set the environment variables GUDEV_CFLAGS |
| 22929 | and GUDEV_LIBS to avoid the need to call pkg-config. |
| 22930 | See the pkg-config man page for more details." "$LINENO" 5 |
| 22931 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22932 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22933 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22934 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 22935 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 22936 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 22937 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 22938 | path to pkg-config. |
| 22939 | |
| 22940 | Alternatively, you may set the environment variables GUDEV_CFLAGS |
| 22941 | and GUDEV_LIBS to avoid the need to call pkg-config. |
| 22942 | See the pkg-config man page for more details. |
| 22943 | |
| 22944 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 22945 | See 'config.log' for more details" "$LINENO" 5; } |
| 22946 | else |
| 22947 | GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS |
| 22948 | GUDEV_LIBS=$pkg_cv_GUDEV_LIBS |
| 22949 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22950 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22951 | |
| 22952 | fi |
| 22953 | # Extract the first word of "gdbus-codegen", so it can be a program name with args. |
| 22954 | set dummy gdbus-codegen; ac_word=$2 |
| 22955 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22956 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 22957 | if testscip-shell system . . test. ${ac_cv_prog_has_gdbus_codegen+y} |
| 22958 | then : |
| 22959 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22960 | else case e in #( |
| 22961 | e) if testscip-shell system . . test. -n "$has_gdbus_codegen"; then |
| 22962 | ac_cv_prog_has_gdbus_codegen="$has_gdbus_codegen" # Let the user override the test. |
| 22963 | else |
| 22964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22965 | for as_dir in $PATH |
| 22966 | do |
| 22967 | IFS=$as_save_IFS |
| 22968 | case $as_dir in #((( |
| 22969 | '') as_dir=./ ;; |
| 22970 | */) ;; |
| 22971 | *) as_dir=$as_dir/ ;; |
| 22972 | esac |
| 22973 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 22974 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 22975 | ac_cv_prog_has_gdbus_codegen="true" |
| 22976 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22977 | break 2 |
| 22978 | fi |
| 22979 | done |
| 22980 | done |
| 22981 | IFS=$as_save_IFS |
| 22982 | |
| 22983 | testscip-shell system . . test. -z "$ac_cv_prog_has_gdbus_codegen" && ac_cv_prog_has_gdbus_codegen="false" |
| 22984 | fi ;; |
| 22985 | esac |
| 22986 | fi |
| 22987 | has_gdbus_codegen=$ac_cv_prog_has_gdbus_codegen |
| 22988 | if testscip-shell system . . test. -n "$has_gdbus_codegen"; then |
| 22989 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_gdbus_codegen" >&5 |
| 22990 | printfscip-shell system . . printf. "%s\n" "$has_gdbus_codegen" >&6; } |
| 22991 | else |
| 22992 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22993 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22994 | fi |
| 22995 | |
| 22996 | |
| 22997 | if testscip-shell system . . test. "x$has_gdbus_codegen" = xfalse |
| 22998 | then |
| 22999 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "gdbus-codegen not found - needed to build dbus daemon" "$LINENO" 5 |
| 23000 | fi |
| 23001 | |
| 23002 | # Imply GLib bindings for D-Bus |
| 23003 | with_bindings_glib=true |
| 23004 | fi |
| 23005 | |
| 23006 | if testscip-shell system . . test. "x$with_bindings_glib" = xtrue; then |
| 23007 | WITH_BINDINGS_GLIB_TRUE= |
| 23008 | WITH_BINDINGS_GLIB_FALSE='#' |
| 23009 | else |
| 23010 | WITH_BINDINGS_GLIB_TRUE='#' |
| 23011 | WITH_BINDINGS_GLIB_FALSE= |
| 23012 | fi |
| 23013 | |
| 23014 | |
| 23015 | |
| 23016 | |
| 23017 | if testscip-shell system . . test. "x$with_bindings_glib" = xtrue |
| 23018 | then |
| 23019 | |
| 23020 | pkg_failed=no |
| 23021 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.80" >&5 |
| 23022 | printfscip-shell system . . printf. %s "checking for glib-2.0 >= 2.80... " >&6; } |
| 23023 | |
| 23024 | if testscip-shell system . . test. -n "$GLIB_CFLAGS"; then |
| 23025 | pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
| 23026 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23027 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23028 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.80\""; } >&5 |
| 23029 | ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.80") 2>&5 |
| 23030 | ac_status=$? |
| 23031 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23032 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23033 | pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23034 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23035 | else |
| 23036 | pkg_failed=yes |
| 23037 | fi |
| 23038 | else |
| 23039 | pkg_failed=untried |
| 23040 | fi |
| 23041 | if testscip-shell system . . test. -n "$GLIB_LIBS"; then |
| 23042 | pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
| 23043 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23044 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23045 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.80\""; } >&5 |
| 23046 | ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.80") 2>&5 |
| 23047 | ac_status=$? |
| 23048 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23049 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23050 | pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23051 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23052 | else |
| 23053 | pkg_failed=yes |
| 23054 | fi |
| 23055 | else |
| 23056 | pkg_failed=untried |
| 23057 | fi |
| 23058 | |
| 23059 | |
| 23060 | |
| 23061 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23062 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23063 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23064 | |
| 23065 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23066 | _pkg_short_errors_supported=yes |
| 23067 | else |
| 23068 | _pkg_short_errors_supported=no |
| 23069 | fi |
| 23070 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23071 | GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.80" 2>&1` |
| 23072 | else |
| 23073 | GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.80" 2>&1` |
| 23074 | fi |
| 23075 | # Put the nasty error message in config.log where it belongs |
| 23076 | echoscip-shell system . . echo. "$GLIB_PKG_ERRORS" >&5 |
| 23077 | |
| 23078 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (glib-2.0 >= 2.80) were not met: |
| 23079 | |
| 23080 | $GLIB_PKG_ERRORS |
| 23081 | |
| 23082 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23083 | installed software in a non-standard prefix. |
| 23084 | |
| 23085 | Alternatively, you may set the environment variables GLIB_CFLAGS |
| 23086 | and GLIB_LIBS to avoid the need to call pkg-config. |
| 23087 | See the pkg-config man page for more details." "$LINENO" 5 |
| 23088 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23089 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23090 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23091 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23092 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23093 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 23094 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23095 | path to pkg-config. |
| 23096 | |
| 23097 | Alternatively, you may set the environment variables GLIB_CFLAGS |
| 23098 | and GLIB_LIBS to avoid the need to call pkg-config. |
| 23099 | See the pkg-config man page for more details. |
| 23100 | |
| 23101 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23102 | See 'config.log' for more details" "$LINENO" 5; } |
| 23103 | else |
| 23104 | GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
| 23105 | GLIB_LIBS=$pkg_cv_GLIB_LIBS |
| 23106 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23107 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23108 | |
| 23109 | fi |
| 23110 | |
| 23111 | pkg_failed=no |
| 23112 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.80" >&5 |
| 23113 | printfscip-shell system . . printf. %s "checking for gobject-2.0 >= 2.80... " >&6; } |
| 23114 | |
| 23115 | if testscip-shell system . . test. -n "$GOBJECT_CFLAGS"; then |
| 23116 | pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS" |
| 23117 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23118 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23119 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.80\""; } >&5 |
| 23120 | ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.80") 2>&5 |
| 23121 | ac_status=$? |
| 23122 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23123 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23124 | pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23125 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23126 | else |
| 23127 | pkg_failed=yes |
| 23128 | fi |
| 23129 | else |
| 23130 | pkg_failed=untried |
| 23131 | fi |
| 23132 | if testscip-shell system . . test. -n "$GOBJECT_LIBS"; then |
| 23133 | pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS" |
| 23134 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23135 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23136 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.80\""; } >&5 |
| 23137 | ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.80") 2>&5 |
| 23138 | ac_status=$? |
| 23139 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23140 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23141 | pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23142 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23143 | else |
| 23144 | pkg_failed=yes |
| 23145 | fi |
| 23146 | else |
| 23147 | pkg_failed=untried |
| 23148 | fi |
| 23149 | |
| 23150 | |
| 23151 | |
| 23152 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23153 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23154 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23155 | |
| 23156 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23157 | _pkg_short_errors_supported=yes |
| 23158 | else |
| 23159 | _pkg_short_errors_supported=no |
| 23160 | fi |
| 23161 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23162 | GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.80" 2>&1` |
| 23163 | else |
| 23164 | GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.80" 2>&1` |
| 23165 | fi |
| 23166 | # Put the nasty error message in config.log where it belongs |
| 23167 | echoscip-shell system . . echo. "$GOBJECT_PKG_ERRORS" >&5 |
| 23168 | |
| 23169 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (gobject-2.0 >= 2.80) were not met: |
| 23170 | |
| 23171 | $GOBJECT_PKG_ERRORS |
| 23172 | |
| 23173 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23174 | installed software in a non-standard prefix. |
| 23175 | |
| 23176 | Alternatively, you may set the environment variables GOBJECT_CFLAGS |
| 23177 | and GOBJECT_LIBS to avoid the need to call pkg-config. |
| 23178 | See the pkg-config man page for more details." "$LINENO" 5 |
| 23179 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23180 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23181 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23182 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23183 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23184 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 23185 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23186 | path to pkg-config. |
| 23187 | |
| 23188 | Alternatively, you may set the environment variables GOBJECT_CFLAGS |
| 23189 | and GOBJECT_LIBS to avoid the need to call pkg-config. |
| 23190 | See the pkg-config man page for more details. |
| 23191 | |
| 23192 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23193 | See 'config.log' for more details" "$LINENO" 5; } |
| 23194 | else |
| 23195 | GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS |
| 23196 | GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS |
| 23197 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23198 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23199 | |
| 23200 | fi |
| 23201 | |
| 23202 | pkg_failed=no |
| 23203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.80" >&5 |
| 23204 | printfscip-shell system . . printf. %s "checking for gio-2.0 >= 2.80... " >&6; } |
| 23205 | |
| 23206 | if testscip-shell system . . test. -n "$GIO_CFLAGS"; then |
| 23207 | pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" |
| 23208 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23209 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23210 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.80\""; } >&5 |
| 23211 | ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.80") 2>&5 |
| 23212 | ac_status=$? |
| 23213 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23214 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23215 | pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23216 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23217 | else |
| 23218 | pkg_failed=yes |
| 23219 | fi |
| 23220 | else |
| 23221 | pkg_failed=untried |
| 23222 | fi |
| 23223 | if testscip-shell system . . test. -n "$GIO_LIBS"; then |
| 23224 | pkg_cv_GIO_LIBS="$GIO_LIBS" |
| 23225 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23226 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23227 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.80\""; } >&5 |
| 23228 | ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.80") 2>&5 |
| 23229 | ac_status=$? |
| 23230 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23231 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23232 | pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23233 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23234 | else |
| 23235 | pkg_failed=yes |
| 23236 | fi |
| 23237 | else |
| 23238 | pkg_failed=untried |
| 23239 | fi |
| 23240 | |
| 23241 | |
| 23242 | |
| 23243 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23244 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23245 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23246 | |
| 23247 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23248 | _pkg_short_errors_supported=yes |
| 23249 | else |
| 23250 | _pkg_short_errors_supported=no |
| 23251 | fi |
| 23252 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23253 | GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.80" 2>&1` |
| 23254 | else |
| 23255 | GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.80" 2>&1` |
| 23256 | fi |
| 23257 | # Put the nasty error message in config.log where it belongs |
| 23258 | echoscip-shell system . . echo. "$GIO_PKG_ERRORS" >&5 |
| 23259 | |
| 23260 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (gio-2.0 >= 2.80) were not met: |
| 23261 | |
| 23262 | $GIO_PKG_ERRORS |
| 23263 | |
| 23264 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23265 | installed software in a non-standard prefix. |
| 23266 | |
| 23267 | Alternatively, you may set the environment variables GIO_CFLAGS |
| 23268 | and GIO_LIBS to avoid the need to call pkg-config. |
| 23269 | See the pkg-config man page for more details." "$LINENO" 5 |
| 23270 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23271 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23272 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23273 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23274 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23275 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 23276 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23277 | path to pkg-config. |
| 23278 | |
| 23279 | Alternatively, you may set the environment variables GIO_CFLAGS |
| 23280 | and GIO_LIBS to avoid the need to call pkg-config. |
| 23281 | See the pkg-config man page for more details. |
| 23282 | |
| 23283 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23284 | See 'config.log' for more details" "$LINENO" 5; } |
| 23285 | else |
| 23286 | GIO_CFLAGS=$pkg_cv_GIO_CFLAGS |
| 23287 | GIO_LIBS=$pkg_cv_GIO_LIBS |
| 23288 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23289 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23290 | |
| 23291 | fi |
| 23292 | |
| 23293 | pkg_failed=no |
| 23294 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gio-unix-2.0 >= 2.80" >&5 |
| 23295 | printfscip-shell system . . printf. %s "checking for gio-unix-2.0 >= 2.80... " >&6; } |
| 23296 | |
| 23297 | if testscip-shell system . . test. -n "$GIO_UNIX_CFLAGS"; then |
| 23298 | pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS" |
| 23299 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23300 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23301 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.80\""; } >&5 |
| 23302 | ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.80") 2>&5 |
| 23303 | ac_status=$? |
| 23304 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23305 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23306 | pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23307 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23308 | else |
| 23309 | pkg_failed=yes |
| 23310 | fi |
| 23311 | else |
| 23312 | pkg_failed=untried |
| 23313 | fi |
| 23314 | if testscip-shell system . . test. -n "$GIO_UNIX_LIBS"; then |
| 23315 | pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS" |
| 23316 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23317 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23318 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.80\""; } >&5 |
| 23319 | ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.80") 2>&5 |
| 23320 | ac_status=$? |
| 23321 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23322 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23323 | pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0 >= 2.80" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23324 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23325 | else |
| 23326 | pkg_failed=yes |
| 23327 | fi |
| 23328 | else |
| 23329 | pkg_failed=untried |
| 23330 | fi |
| 23331 | |
| 23332 | |
| 23333 | |
| 23334 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23335 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23336 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23337 | |
| 23338 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23339 | _pkg_short_errors_supported=yes |
| 23340 | else |
| 23341 | _pkg_short_errors_supported=no |
| 23342 | fi |
| 23343 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23344 | GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0 >= 2.80" 2>&1` |
| 23345 | else |
| 23346 | GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0 >= 2.80" 2>&1` |
| 23347 | fi |
| 23348 | # Put the nasty error message in config.log where it belongs |
| 23349 | echoscip-shell system . . echo. "$GIO_UNIX_PKG_ERRORS" >&5 |
| 23350 | |
| 23351 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Package requirements (gio-unix-2.0 >= 2.80) were not met: |
| 23352 | |
| 23353 | $GIO_UNIX_PKG_ERRORS |
| 23354 | |
| 23355 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23356 | installed software in a non-standard prefix. |
| 23357 | |
| 23358 | Alternatively, you may set the environment variables GIO_UNIX_CFLAGS |
| 23359 | and GIO_UNIX_LIBS to avoid the need to call pkg-config. |
| 23360 | See the pkg-config man page for more details." "$LINENO" 5 |
| 23361 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23362 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23363 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23364 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23365 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23366 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 23367 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23368 | path to pkg-config. |
| 23369 | |
| 23370 | Alternatively, you may set the environment variables GIO_UNIX_CFLAGS |
| 23371 | and GIO_UNIX_LIBS to avoid the need to call pkg-config. |
| 23372 | See the pkg-config man page for more details. |
| 23373 | |
| 23374 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23375 | See 'config.log' for more details" "$LINENO" 5; } |
| 23376 | else |
| 23377 | GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS |
| 23378 | GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS |
| 23379 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23380 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23381 | |
| 23382 | fi |
| 23383 | |
| 23384 | if testscip-shell system . . test. -n "$GLIB_MKENUMS"; then |
| 23385 | pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS" |
| 23386 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23387 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23388 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
| 23389 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
| 23390 | ac_status=$? |
| 23391 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23392 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23393 | pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23394 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23395 | else |
| 23396 | pkg_failed=yes |
| 23397 | fi |
| 23398 | else |
| 23399 | pkg_failed=untried |
| 23400 | fi |
| 23401 | GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS |
| 23402 | |
| 23403 | if testscip-shell system . . test. "x$GLIB_MKENUMS" = x"" |
| 23404 | then : |
| 23405 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "glib-mkenums not found - needed to build GLib bindings" "$LINENO" 5 |
| 23406 | fi |
| 23407 | # Extract the first word of "glib-mkenums", so it can be a program name with args. |
| 23408 | set dummy glib-mkenums; ac_word=$2 |
| 23409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23410 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23411 | if testscip-shell system . . test. ${ac_cv_prog_has_glib_mkenums+y} |
| 23412 | then : |
| 23413 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23414 | else case e in #( |
| 23415 | e) if testscip-shell system . . test. -n "$has_glib_mkenums"; then |
| 23416 | ac_cv_prog_has_glib_mkenums="$has_glib_mkenums" # Let the user override the test. |
| 23417 | else |
| 23418 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23419 | for as_dir in $PATH |
| 23420 | do |
| 23421 | IFS=$as_save_IFS |
| 23422 | case $as_dir in #((( |
| 23423 | '') as_dir=./ ;; |
| 23424 | */) ;; |
| 23425 | *) as_dir=$as_dir/ ;; |
| 23426 | esac |
| 23427 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23428 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23429 | ac_cv_prog_has_glib_mkenums="true" |
| 23430 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23431 | break 2 |
| 23432 | fi |
| 23433 | done |
| 23434 | done |
| 23435 | IFS=$as_save_IFS |
| 23436 | |
| 23437 | testscip-shell system . . test. -z "$ac_cv_prog_has_glib_mkenums" && ac_cv_prog_has_glib_mkenums="false" |
| 23438 | fi ;; |
| 23439 | esac |
| 23440 | fi |
| 23441 | has_glib_mkenums=$ac_cv_prog_has_glib_mkenums |
| 23442 | if testscip-shell system . . test. -n "$has_glib_mkenums"; then |
| 23443 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_glib_mkenums" >&5 |
| 23444 | printfscip-shell system . . printf. "%s\n" "$has_glib_mkenums" >&6; } |
| 23445 | else |
| 23446 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23447 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23448 | fi |
| 23449 | |
| 23450 | |
| 23451 | if testscip-shell system . . test. "x$has_glib_mkenums" == xfalse |
| 23452 | then |
| 23453 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "glib-mkenums not found - needed to build GLib bindings" "$LINENO" 5 |
| 23454 | fi |
| 23455 | |
| 23456 | # Extract the first word of "gi-docgen", so it can be a program name with args. |
| 23457 | set dummy gi-docgen; ac_word=$2 |
| 23458 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23459 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23460 | if testscip-shell system . . test. ${ac_cv_prog_has_gi_docgen+y} |
| 23461 | then : |
| 23462 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23463 | else case e in #( |
| 23464 | e) if testscip-shell system . . test. -n "$has_gi_docgen"; then |
| 23465 | ac_cv_prog_has_gi_docgen="$has_gi_docgen" # Let the user override the test. |
| 23466 | else |
| 23467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23468 | for as_dir in $PATH |
| 23469 | do |
| 23470 | IFS=$as_save_IFS |
| 23471 | case $as_dir in #((( |
| 23472 | '') as_dir=./ ;; |
| 23473 | */) ;; |
| 23474 | *) as_dir=$as_dir/ ;; |
| 23475 | esac |
| 23476 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23477 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23478 | ac_cv_prog_has_gi_docgen="true" |
| 23479 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23480 | break 2 |
| 23481 | fi |
| 23482 | done |
| 23483 | done |
| 23484 | IFS=$as_save_IFS |
| 23485 | |
| 23486 | testscip-shell system . . test. -z "$ac_cv_prog_has_gi_docgen" && ac_cv_prog_has_gi_docgen="false" |
| 23487 | fi ;; |
| 23488 | esac |
| 23489 | fi |
| 23490 | has_gi_docgen=$ac_cv_prog_has_gi_docgen |
| 23491 | if testscip-shell system . . test. -n "$has_gi_docgen"; then |
| 23492 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_gi_docgen" >&5 |
| 23493 | printfscip-shell system . . printf. "%s\n" "$has_gi_docgen" >&6; } |
| 23494 | else |
| 23495 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23496 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23497 | fi |
| 23498 | |
| 23499 | |
| 23500 | if testscip-shell system . . test. "x$has_gi_docgen" = xfalse |
| 23501 | then |
| 23502 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: gi-docgen not found - GLib documentation cannot be generated" >&5 |
| 23503 | printfscip-shell system . . printf. "%s\n" "$as_me: gi-docgen not found - GLib documentation cannot be generated" >&6;} |
| 23504 | fi |
| 23505 | fi |
| 23506 | if testscip-shell system . . test. "x$has_gi_docgen" = xtrue; then |
| 23507 | HAS_GI_DOCGEN_TRUE= |
| 23508 | HAS_GI_DOCGEN_FALSE='#' |
| 23509 | else |
| 23510 | HAS_GI_DOCGEN_TRUE='#' |
| 23511 | HAS_GI_DOCGEN_FALSE= |
| 23512 | fi |
| 23513 | |
| 23514 | if testscip-shell system . . test. -z "$HAS_GI_DOCGEN_TRUE"; then : |
| 23515 | ac_config_files="$ac_config_files bindings/glib/gi-docgen.toml" |
| 23516 | |
| 23517 | fi |
| 23518 | |
| 23519 | # GObject-introspection |
| 23520 | found_introspection=no |
| 23521 | |
| 23522 | |
| 23523 | |
| 23524 | # Check whether --enable-introspection was given. |
| 23525 | if testscip-shell system . . test. ${enable_introspection+y} |
| 23526 | then : |
| 23527 | enableval=$enable_introspection; |
| 23528 | else case e in #( |
| 23529 | e) enable_introspection=auto ;; |
| 23530 | esac |
| 23531 | fi |
| 23532 | |
| 23533 | |
| 23534 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 |
| 23535 | printfscip-shell system . . printf. %s "checking for gobject-introspection... " >&6; } |
| 23536 | |
| 23537 | case $enable_introspection in #( |
| 23538 | no) : |
| 23539 | found_introspection="no (disabled, use --enable-introspection to enable)" |
| 23540 | ;; #( |
| 23541 | yes) : |
| 23542 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23543 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 |
| 23544 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 |
| 23545 | ac_status=$? |
| 23546 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23547 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23548 | : |
| 23549 | else |
| 23550 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 |
| 23551 | fi |
| 23552 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23553 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.2\""; } >&5 |
| 23554 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.2") 2>&5 |
| 23555 | ac_status=$? |
| 23556 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23557 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23558 | found_introspection=yes |
| 23559 | else |
| 23560 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "You need to have gobject-introspection >= 0.6.2 installed to build libgpiod" "$LINENO" 5 |
| 23561 | fi |
| 23562 | ;; #( |
| 23563 | auto) : |
| 23564 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23565 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.2\""; } >&5 |
| 23566 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.2") 2>&5 |
| 23567 | ac_status=$? |
| 23568 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23569 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23570 | found_introspection=yes |
| 23571 | else |
| 23572 | found_introspection=no |
| 23573 | fi |
| 23574 | enable_introspection=$found_introspection |
| 23575 | ;; #( |
| 23576 | *) : |
| 23577 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 |
| 23578 | ;; |
| 23579 | esac |
| 23580 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 |
| 23581 | printfscip-shell system . . printf. "%s\n" "$found_introspection" >&6; } |
| 23582 | |
| 23583 | |
| 23584 | EXP_VAR=_GI_EXP_DATADIR |
| 23585 | FROM_VAR="$datadir" |
| 23586 | |
| 23587 | prefix_save=$prefix |
| 23588 | exec_prefix_save=$exec_prefix |
| 23589 | |
| 23590 | if testscip-shell system . . test. "x$prefix" = "xNONE"; then |
| 23591 | prefix="$ac_default_prefix" |
| 23592 | fi |
| 23593 | if testscip-shell system . . test. "x$exec_prefix" = "xNONE"; then |
| 23594 | exec_prefix=$prefix |
| 23595 | fi |
| 23596 | |
| 23597 | full_var="$FROM_VAR" |
| 23598 | while truescip-shell system . . true.; do |
| 23599 | new_full_var="`eval echo $full_var`" |
| 23600 | if testscip-shell system . . test. "x$new_full_var" = "x$full_var"; then break; fi |
| 23601 | full_var=$new_full_var |
| 23602 | done |
| 23603 | |
| 23604 | full_var=$new_full_var |
| 23605 | _GI_EXP_DATADIR="$full_var" |
| 23606 | |
| 23607 | |
| 23608 | prefix=$prefix_save |
| 23609 | exec_prefix=$exec_prefix_save |
| 23610 | |
| 23611 | |
| 23612 | EXP_VAR=_GI_EXP_LIBDIR |
| 23613 | FROM_VAR="$libdir" |
| 23614 | |
| 23615 | prefix_save=$prefix |
| 23616 | exec_prefix_save=$exec_prefix |
| 23617 | |
| 23618 | if testscip-shell system . . test. "x$prefix" = "xNONE"; then |
| 23619 | prefix="$ac_default_prefix" |
| 23620 | fi |
| 23621 | if testscip-shell system . . test. "x$exec_prefix" = "xNONE"; then |
| 23622 | exec_prefix=$prefix |
| 23623 | fi |
| 23624 | |
| 23625 | full_var="$FROM_VAR" |
| 23626 | while truescip-shell system . . true.; do |
| 23627 | new_full_var="`eval echo $full_var`" |
| 23628 | if testscip-shell system . . test. "x$new_full_var" = "x$full_var"; then break; fi |
| 23629 | full_var=$new_full_var |
| 23630 | done |
| 23631 | |
| 23632 | full_var=$new_full_var |
| 23633 | _GI_EXP_LIBDIR="$full_var" |
| 23634 | |
| 23635 | |
| 23636 | prefix=$prefix_save |
| 23637 | exec_prefix=$exec_prefix_save |
| 23638 | |
| 23639 | |
| 23640 | INTROSPECTION_SCANNER= |
| 23641 | INTROSPECTION_COMPILER= |
| 23642 | INTROSPECTION_GENERATE= |
| 23643 | INTROSPECTION_GIRDIR= |
| 23644 | INTROSPECTION_TYPELIBDIR= |
| 23645 | if testscip-shell system . . test. "x$found_introspection" = "xyes"; then |
| 23646 | INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
| 23647 | INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
| 23648 | INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
| 23649 | INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` |
| 23650 | INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" |
| 23651 | INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` |
| 23652 | INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` |
| 23653 | INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |
| 23654 | fi |
| 23655 | |
| 23656 | |
| 23657 | |
| 23658 | |
| 23659 | |
| 23660 | |
| 23661 | |
| 23662 | |
| 23663 | |
| 23664 | if testscip-shell system . . test. "x$found_introspection" = "xyes"; then |
| 23665 | HAVE_INTROSPECTION_TRUE= |
| 23666 | HAVE_INTROSPECTION_FALSE='#' |
| 23667 | else |
| 23668 | HAVE_INTROSPECTION_TRUE='#' |
| 23669 | HAVE_INTROSPECTION_FALSE= |
| 23670 | fi |
| 23671 | |
| 23672 | |
| 23673 | |
| 23674 | |
| 23675 | # Check whether --enable-systemd was given. |
| 23676 | if testscip-shell system . . test. ${enable_systemd+y} |
| 23677 | then : |
| 23678 | enableval=$enable_systemd; if testscip-shell system . . test. "x$enableval" == xyes; then with_systemd=true; fi |
| 23679 | else case e in #( |
| 23680 | e) with_systemd=false ;; |
| 23681 | esac |
| 23682 | fi |
| 23683 | |
| 23684 | if testscip-shell system . . test. "x$with_systemd" = xtrue; then |
| 23685 | WITH_SYSTEMD_TRUE= |
| 23686 | WITH_SYSTEMD_FALSE='#' |
| 23687 | else |
| 23688 | WITH_SYSTEMD_TRUE='#' |
| 23689 | WITH_SYSTEMD_FALSE= |
| 23690 | fi |
| 23691 | |
| 23692 | |
| 23693 | if testscip-shell system . . test. "x$with_systemd" = xtrue |
| 23694 | then |
| 23695 | |
| 23696 | if testscip-shell system . . test. -n "$systemdsystemunitdir"; then |
| 23697 | pkg_cv_systemdsystemunitdir="$systemdsystemunitdir" |
| 23698 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23699 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23700 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 |
| 23701 | ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 |
| 23702 | ac_status=$? |
| 23703 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23704 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23705 | pkg_cv_systemdsystemunitdir=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23706 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23707 | else |
| 23708 | pkg_failed=yes |
| 23709 | fi |
| 23710 | else |
| 23711 | pkg_failed=untried |
| 23712 | fi |
| 23713 | systemdsystemunitdir=$pkg_cv_systemdsystemunitdir |
| 23714 | |
| 23715 | if testscip-shell system . . test. "x$systemdsystemunitdir" = x"" |
| 23716 | then : |
| 23717 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "systemdsystemunitdir not found - needed to enable systemd support" "$LINENO" 5 |
| 23718 | fi |
| 23719 | fi |
| 23720 | |
| 23721 | if testscip-shell system . . test. "x$cross_compiling" = xno |
| 23722 | then |
| 23723 | # Extract the first word of "help2man", so it can be a program name with args. |
| 23724 | set dummy help2man; ac_word=$2 |
| 23725 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23726 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23727 | if testscip-shell system . . test. ${ac_cv_prog_has_help2man+y} |
| 23728 | then : |
| 23729 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23730 | else case e in #( |
| 23731 | e) if testscip-shell system . . test. -n "$has_help2man"; then |
| 23732 | ac_cv_prog_has_help2man="$has_help2man" # Let the user override the test. |
| 23733 | else |
| 23734 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23735 | for as_dir in $PATH |
| 23736 | do |
| 23737 | IFS=$as_save_IFS |
| 23738 | case $as_dir in #((( |
| 23739 | '') as_dir=./ ;; |
| 23740 | */) ;; |
| 23741 | *) as_dir=$as_dir/ ;; |
| 23742 | esac |
| 23743 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23744 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23745 | ac_cv_prog_has_help2man="true" |
| 23746 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23747 | break 2 |
| 23748 | fi |
| 23749 | done |
| 23750 | done |
| 23751 | IFS=$as_save_IFS |
| 23752 | |
| 23753 | testscip-shell system . . test. -z "$ac_cv_prog_has_help2man" && ac_cv_prog_has_help2man="false" |
| 23754 | fi ;; |
| 23755 | esac |
| 23756 | fi |
| 23757 | has_help2man=$ac_cv_prog_has_help2man |
| 23758 | if testscip-shell system . . test. -n "$has_help2man"; then |
| 23759 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_help2man" >&5 |
| 23760 | printfscip-shell system . . printf. "%s\n" "$has_help2man" >&6; } |
| 23761 | else |
| 23762 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23763 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23764 | fi |
| 23765 | |
| 23766 | |
| 23767 | fi |
| 23768 | if testscip-shell system . . test. "x$has_help2man" = xtrue; then |
| 23769 | WITH_MANPAGES_TRUE= |
| 23770 | WITH_MANPAGES_FALSE='#' |
| 23771 | else |
| 23772 | WITH_MANPAGES_TRUE='#' |
| 23773 | WITH_MANPAGES_FALSE= |
| 23774 | fi |
| 23775 | |
| 23776 | if testscip-shell system . . test. "x$has_help2man" = xfalse |
| 23777 | then |
| 23778 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: help2man not found - man pages and documentation cannot be generated" >&5 |
| 23779 | printfscip-shell system . . printf. "%s\n" "$as_me: help2man not found - man pages and documentation cannot be generated" >&6;} |
| 23780 | fi |
| 23781 | |
| 23782 | |
| 23783 | # Extract the first word of "doxygen", so it can be a program name with args. |
| 23784 | set dummy doxygen; ac_word=$2 |
| 23785 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23786 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23787 | if testscip-shell system . . test. ${ac_cv_prog_has_doxygen+y} |
| 23788 | then : |
| 23789 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23790 | else case e in #( |
| 23791 | e) if testscip-shell system . . test. -n "$has_doxygen"; then |
| 23792 | ac_cv_prog_has_doxygen="$has_doxygen" # Let the user override the test. |
| 23793 | else |
| 23794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23795 | for as_dir in $PATH |
| 23796 | do |
| 23797 | IFS=$as_save_IFS |
| 23798 | case $as_dir in #((( |
| 23799 | '') as_dir=./ ;; |
| 23800 | */) ;; |
| 23801 | *) as_dir=$as_dir/ ;; |
| 23802 | esac |
| 23803 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23804 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23805 | ac_cv_prog_has_doxygen="true" |
| 23806 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23807 | break 2 |
| 23808 | fi |
| 23809 | done |
| 23810 | done |
| 23811 | IFS=$as_save_IFS |
| 23812 | |
| 23813 | testscip-shell system . . test. -z "$ac_cv_prog_has_doxygen" && ac_cv_prog_has_doxygen="false" |
| 23814 | fi ;; |
| 23815 | esac |
| 23816 | fi |
| 23817 | has_doxygen=$ac_cv_prog_has_doxygen |
| 23818 | if testscip-shell system . . test. -n "$has_doxygen"; then |
| 23819 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_doxygen" >&5 |
| 23820 | printfscip-shell system . . printf. "%s\n" "$has_doxygen" >&6; } |
| 23821 | else |
| 23822 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23823 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23824 | fi |
| 23825 | |
| 23826 | |
| 23827 | # Extract the first word of "sphinx-build", so it can be a program name with args. |
| 23828 | set dummy sphinx-build; ac_word=$2 |
| 23829 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23830 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23831 | if testscip-shell system . . test. ${ac_cv_prog_has_sphinx+y} |
| 23832 | then : |
| 23833 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23834 | else case e in #( |
| 23835 | e) if testscip-shell system . . test. -n "$has_sphinx"; then |
| 23836 | ac_cv_prog_has_sphinx="$has_sphinx" # Let the user override the test. |
| 23837 | else |
| 23838 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23839 | for as_dir in $PATH |
| 23840 | do |
| 23841 | IFS=$as_save_IFS |
| 23842 | case $as_dir in #((( |
| 23843 | '') as_dir=./ ;; |
| 23844 | */) ;; |
| 23845 | *) as_dir=$as_dir/ ;; |
| 23846 | esac |
| 23847 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23848 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23849 | ac_cv_prog_has_sphinx="true" |
| 23850 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23851 | break 2 |
| 23852 | fi |
| 23853 | done |
| 23854 | done |
| 23855 | IFS=$as_save_IFS |
| 23856 | |
| 23857 | testscip-shell system . . test. -z "$ac_cv_prog_has_sphinx" && ac_cv_prog_has_sphinx="false" |
| 23858 | fi ;; |
| 23859 | esac |
| 23860 | fi |
| 23861 | has_sphinx=$ac_cv_prog_has_sphinx |
| 23862 | if testscip-shell system . . test. -n "$has_sphinx"; then |
| 23863 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_sphinx" >&5 |
| 23864 | printfscip-shell system . . printf. "%s\n" "$has_sphinx" >&6; } |
| 23865 | else |
| 23866 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23867 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23868 | fi |
| 23869 | |
| 23870 | |
| 23871 | # Extract the first word of "pandoc", so it can be a program name with args. |
| 23872 | set dummy pandoc; ac_word=$2 |
| 23873 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23874 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23875 | if testscip-shell system . . test. ${ac_cv_prog_has_pandoc+y} |
| 23876 | then : |
| 23877 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23878 | else case e in #( |
| 23879 | e) if testscip-shell system . . test. -n "$has_pandoc"; then |
| 23880 | ac_cv_prog_has_pandoc="$has_pandoc" # Let the user override the test. |
| 23881 | else |
| 23882 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23883 | for as_dir in $PATH |
| 23884 | do |
| 23885 | IFS=$as_save_IFS |
| 23886 | case $as_dir in #((( |
| 23887 | '') as_dir=./ ;; |
| 23888 | */) ;; |
| 23889 | *) as_dir=$as_dir/ ;; |
| 23890 | esac |
| 23891 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23892 | if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23893 | ac_cv_prog_has_pandoc="true" |
| 23894 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23895 | break 2 |
| 23896 | fi |
| 23897 | done |
| 23898 | done |
| 23899 | IFS=$as_save_IFS |
| 23900 | |
| 23901 | testscip-shell system . . test. -z "$ac_cv_prog_has_pandoc" && ac_cv_prog_has_pandoc="false" |
| 23902 | fi ;; |
| 23903 | esac |
| 23904 | fi |
| 23905 | has_pandoc=$ac_cv_prog_has_pandoc |
| 23906 | if testscip-shell system . . test. -n "$has_pandoc"; then |
| 23907 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_pandoc" >&5 |
| 23908 | printfscip-shell system . . printf. "%s\n" "$has_pandoc" >&6; } |
| 23909 | else |
| 23910 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23911 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23912 | fi |
| 23913 | |
| 23914 | |
| 23915 | if testscip-shell system . . test. "x$has_doxygen" = xtrue && testscip-shell system . . test. "x$has_sphinx" = xtrue && testscip-shell system . . test. "x$has_pandoc" = xtrue && testscip-shell system . . test. "x$has_help2man" = xtrue; then |
| 23916 | WITH_DOCS_TRUE= |
| 23917 | WITH_DOCS_FALSE='#' |
| 23918 | else |
| 23919 | WITH_DOCS_TRUE='#' |
| 23920 | WITH_DOCS_FALSE= |
| 23921 | fi |
| 23922 | |
| 23923 | if testscip-shell system . . test. "x$has_doxygen" = xfalse |
| 23924 | then |
| 23925 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \"doxygen\" not found - documentation cannot be generated" >&5 |
| 23926 | printfscip-shell system . . printf. "%s\n" "$as_me: \"doxygen\" not found - documentation cannot be generated" >&6;} |
| 23927 | fi |
| 23928 | if testscip-shell system . . test. "x$has_sphinx" = xfalse |
| 23929 | then |
| 23930 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \"sphinx-build\" not found - documentation cannot be generated" >&5 |
| 23931 | printfscip-shell system . . printf. "%s\n" "$as_me: \"sphinx-build\" not found - documentation cannot be generated" >&6;} |
| 23932 | fi |
| 23933 | if testscip-shell system . . test. "x$has_pandoc" = xfalse |
| 23934 | then |
| 23935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \"pandoc\" not found - documentation cannot be generated" >&5 |
| 23936 | printfscip-shell system . . printf. "%s\n" "$as_me: \"pandoc\" not found - documentation cannot be generated" >&6;} |
| 23937 | fi |
| 23938 | |
| 23939 | ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile lib/libgpiod.pc contrib/Makefile docs/Makefile examples/Makefile tools/Makefile tests/Makefile tests/gpiosim/Makefile tests/gpiosim-glib/Makefile tests/harness/Makefile tests/scripts/Makefile bindings/cxx/libgpiodcxx.pc bindings/Makefile bindings/cxx/Makefile bindings/cxx/gpiodcxx/Makefile bindings/cxx/examples/Makefile bindings/cxx/tests/Makefile bindings/glib/gpiod-glib.pc bindings/glib/Makefile bindings/glib/examples/Makefile bindings/glib/tests/Makefile bindings/python/Makefile bindings/python/gpiod/Makefile bindings/python/gpiod/ext/Makefile bindings/python/examples/Makefile bindings/python/tests/Makefile bindings/python/tests/gpiosim/Makefile bindings/python/tests/procname/Makefile bindings/rust/libgpiod-sys/src/Makefile bindings/rust/libgpiod-sys/Makefile bindings/rust/libgpiod/src/Makefile bindings/rust/libgpiod/tests/common/Makefile bindings/rust/libgpiod/tests/Makefile bindings/rust/libgpiod/Makefile bindings/rust/libgpiod/examples/Makefile bindings/rust/Makefile bindings/rust/gpiosim-sys/src/Makefile bindings/rust/gpiosim-sys/Makefile dbus/Makefile dbus/client/Makefile dbus/data/Makefile dbus/lib/Makefile dbus/manager/Makefile dbus/tests/Makefile man/Makefile" |
| 23940 | |
| 23941 | |
| 23942 | catscip-shell system . . cat. >confcache <<\_ACEOF |
| 23943 | # This file is a shell script that caches the results of configure |
| 23944 | # tests run on this system so they can be shared between configure |
| 23945 | # scripts and configure runs, see configure's option --config-cache. |
| 23946 | # It is not useful on other systems. If it contains results you don't |
| 23947 | # want to keep, you may remove or edit it. |
| 23948 | # |
| 23949 | # config.status only pays attention to the cache file if you give it |
| 23950 | # the --recheck option to rerun configure. |
| 23951 | # |
| 23952 | # 'ac_cv_env_foo' variables (set or unset) will be overridden when |
| 23953 | # loading this file, other *unset* 'ac_cv_foo' will be assigned the |
| 23954 | # following values. |
| 23955 | |
| 23956 | _ACEOF |
| 23957 | |
| 23958 | # The following way of writing the cache mishandles newlines in values, |
| 23959 | # but we know of no workaround that is simple, portable, and efficient. |
| 23960 | # So, we kill variables containing newlines. |
| 23961 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 23962 | # and sets the high bit in the cache file unless we assign to the vars. |
| 23963 | ( |
| 23964 | for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 23965 | eval ac_val=\$$ac_var |
| 23966 | case $ac_val in #( |
| 23967 | *${as_nl}*) |
| 23968 | case $ac_var in #( |
| 23969 | *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 23970 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 23971 | esac |
| 23972 | case $ac_var in #( |
| 23973 | _ | IFS | as_nl) ;; #( |
| 23974 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 23975 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 23976 | esac ;; |
| 23977 | esac |
| 23978 | done |
| 23979 | |
| 23980 | (set) 2>&1 | |
| 23981 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 23982 | *${as_nl}ac_space=\ *) |
| 23983 | # 'set' does not quote correctly, so add quotes: double-quote |
| 23984 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 23985 | sedscip-shell system . . sed. -n \ |
| 23986 | "s/'/'\\\\''/g; |
| 23987 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 23988 | ;; #( |
| 23989 | *) |
| 23990 | # 'set' quotes correctly as required by POSIX, so do not add quotes. |
| 23991 | sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 23992 | ;; |
| 23993 | esac | |
| 23994 | sortscip-shell system . . sort. |
| 23995 | ) | |
| 23996 | sedscip-shell system . . sed. ' |
| 23997 | /^ac_cv_env_/b end |
| 23998 | t clear |
| 23999 | :clear |
| 24000 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 24001 | t end |
| 24002 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 24003 | :end' >>confcache |
| 24004 | if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 24005 | if testscip-shell system . . test. -w "$cache_file"; then |
| 24006 | if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then |
| 24007 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 24008 | printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 24009 | if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then |
| 24010 | catscip-shell system . . cat. confcache >"$cache_file" |
| 24011 | else |
| 24012 | case $cache_file in #( |
| 24013 | */* | ?:*) |
| 24014 | mvscip-shell system . . mv. -f confcache "$cache_file"$$ && |
| 24015 | mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #( |
| 24016 | *) |
| 24017 | mvscip-shell system . . mv. -f confcache "$cache_file" ;; |
| 24018 | esac |
| 24019 | fi |
| 24020 | fi |
| 24021 | else |
| 24022 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 24023 | printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 24024 | fi |
| 24025 | fi |
| 24026 | rmscip-shell system . . rm. -f confcache |
| 24027 | |
| 24028 | testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 24029 | # Let make expand exec_prefix. |
| 24030 | testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 24031 | |
| 24032 | DEFS=-DHAVE_CONFIG_H |
| 24033 | |
| 24034 | ac_libobjs= |
| 24035 | ac_ltlibobjs= |
| 24036 | U= |
| 24037 | for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue |
| 24038 | # 1. Remove the extension, and $U if already installed. |
| 24039 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 24040 | ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"` |
| 24041 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 24042 | # will be set to the directory where LIBOBJS objects are built. |
| 24043 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 24044 | as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 24045 | done |
| 24046 | LIBOBJS=$ac_libobjs |
| 24047 | |
| 24048 | LTLIBOBJS=$ac_ltlibobjs |
| 24049 | |
| 24050 | |
| 24051 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 24052 | printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; } |
| 24053 | if testscip-shell system . . test. -n "$am_sleep_pid"; then |
| 24054 | # Hide warnings about reused PIDs. |
| 24055 | wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 24056 | fi |
| 24057 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 24058 | printfscip-shell system . . printf. "%s\n" "done" >&6; } |
| 24059 | case $enable_silent_rules in # ((( |
| 24060 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 24061 | no) AM_DEFAULT_VERBOSITY=1;; |
| 24062 | esac |
| 24063 | if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then |
| 24064 | AM_V='$(V)' |
| 24065 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 24066 | else |
| 24067 | AM_V=$AM_DEFAULT_VERBOSITY |
| 24068 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 24069 | fi |
| 24070 | |
| 24071 | if testscip-shell system . . test. -n "$EXEEXT"; then |
| 24072 | am__EXEEXT_TRUE= |
| 24073 | am__EXEEXT_FALSE='#' |
| 24074 | else |
| 24075 | am__EXEEXT_TRUE='#' |
| 24076 | am__EXEEXT_FALSE= |
| 24077 | fi |
| 24078 | |
| 24079 | if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then |
| 24080 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"AMDEP\" was never defined. |
| 24081 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24082 | fi |
| 24083 | if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then |
| 24084 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined. |
| 24085 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24086 | fi |
| 24087 | if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then |
| 24088 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined. |
| 24089 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24090 | fi |
| 24091 | if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then |
| 24092 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined. |
| 24093 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24094 | fi |
| 24095 | if testscip-shell system . . test. -z "${WITH_TOOLS_TRUE}" && testscip-shell system . . test. -z "${WITH_TOOLS_FALSE}"; then |
| 24096 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_TOOLS\" was never defined. |
| 24097 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24098 | fi |
| 24099 | if testscip-shell system . . test. -z "${WITH_GPIOSET_INTERACTIVE_TRUE}" && testscip-shell system . . test. -z "${WITH_GPIOSET_INTERACTIVE_FALSE}"; then |
| 24100 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_GPIOSET_INTERACTIVE\" was never defined. |
| 24101 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24102 | fi |
| 24103 | if testscip-shell system . . test. -z "${WITH_TESTS_TRUE}" && testscip-shell system . . test. -z "${WITH_TESTS_FALSE}"; then |
| 24104 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_TESTS\" was never defined. |
| 24105 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24106 | fi |
| 24107 | if testscip-shell system . . test. -z "${WITH_EXAMPLES_TRUE}" && testscip-shell system . . test. -z "${WITH_EXAMPLES_FALSE}"; then |
| 24108 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_EXAMPLES\" was never defined. |
| 24109 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24110 | fi |
| 24111 | if testscip-shell system . . test. -z "${WITH_BINDINGS_CXX_TRUE}" && testscip-shell system . . test. -z "${WITH_BINDINGS_CXX_FALSE}"; then |
| 24112 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_BINDINGS_CXX\" was never defined. |
| 24113 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24114 | fi |
| 24115 | if testscip-shell system . . test. -z "${WITH_BINDINGS_PYTHON_TRUE}" && testscip-shell system . . test. -z "${WITH_BINDINGS_PYTHON_FALSE}"; then |
| 24116 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_BINDINGS_PYTHON\" was never defined. |
| 24117 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24118 | fi |
| 24119 | if testscip-shell system . . test. -z "${WITH_BINDINGS_RUST_TRUE}" && testscip-shell system . . test. -z "${WITH_BINDINGS_RUST_FALSE}"; then |
| 24120 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_BINDINGS_RUST\" was never defined. |
| 24121 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24122 | fi |
| 24123 | if testscip-shell system . . test. -z "${WITH_DBUS_TRUE}" && testscip-shell system . . test. -z "${WITH_DBUS_FALSE}"; then |
| 24124 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_DBUS\" was never defined. |
| 24125 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24126 | fi |
| 24127 | if testscip-shell system . . test. -z "${WITH_BINDINGS_GLIB_TRUE}" && testscip-shell system . . test. -z "${WITH_BINDINGS_GLIB_FALSE}"; then |
| 24128 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_BINDINGS_GLIB\" was never defined. |
| 24129 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24130 | fi |
| 24131 | if testscip-shell system . . test. -z "${HAS_GI_DOCGEN_TRUE}" && testscip-shell system . . test. -z "${HAS_GI_DOCGEN_FALSE}"; then |
| 24132 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"HAS_GI_DOCGEN\" was never defined. |
| 24133 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24134 | fi |
| 24135 | if testscip-shell system . . test. -z "${HAVE_INTROSPECTION_TRUE}" && testscip-shell system . . test. -z "${HAVE_INTROSPECTION_FALSE}"; then |
| 24136 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"HAVE_INTROSPECTION\" was never defined. |
| 24137 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24138 | fi |
| 24139 | if testscip-shell system . . test. -z "${WITH_SYSTEMD_TRUE}" && testscip-shell system . . test. -z "${WITH_SYSTEMD_FALSE}"; then |
| 24140 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_SYSTEMD\" was never defined. |
| 24141 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24142 | fi |
| 24143 | if testscip-shell system . . test. -z "${WITH_MANPAGES_TRUE}" && testscip-shell system . . test. -z "${WITH_MANPAGES_FALSE}"; then |
| 24144 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_MANPAGES\" was never defined. |
| 24145 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24146 | fi |
| 24147 | if testscip-shell system . . test. -z "${WITH_DOCS_TRUE}" && testscip-shell system . . test. -z "${WITH_DOCS_FALSE}"; then |
| 24148 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"WITH_DOCS\" was never defined. |
| 24149 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24150 | fi |
| 24151 | |
| 24152 | : "${CONFIG_STATUS=./config.status}" |
| 24153 | ac_write_fail=0 |
| 24154 | ac_clean_files_save=$ac_clean_files |
| 24155 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 24156 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 24157 | printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 24158 | as_write_fail=0 |
| 24159 | catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 24160 | #! $SHELL |
| 24161 | # Generated by $as_me. |
| 24162 | # Run this file to recreate the current configuration. |
| 24163 | # Compiler output produced by configure, useful for debugging |
| 24164 | # configure, is in config.log if it exists. |
| 24165 | |
| 24166 | debug=false |
| 24167 | ac_cs_recheck=false |
| 24168 | ac_cs_silent=false |
| 24169 | |
| 24170 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 24171 | export SHELL |
| 24172 | _ASEOF |
| 24173 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 24174 | ## -------------------- ## |
| 24175 | ## M4sh Initialization. ## |
| 24176 | ## -------------------- ## |
| 24177 | |
| 24178 | # Be more Bourne compatible |
| 24179 | DUALCASE=1; export DUALCASE # for MKS sh |
| 24180 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 24181 | then : |
| 24182 | emulate sh |
| 24183 | NULLCMD=: |
| 24184 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 24185 | # is contrary to our usage. Disable this feature. |
| 24186 | alias -g '${1+"$@"}'='"$@"' |
| 24187 | setopt NO_GLOB_SUBST |
| 24188 | else case e in #( |
| 24189 | e) case `(set -o) 2>/dev/null` in #( |
| 24190 | *posix*) : |
| 24191 | set -o posix ;; #( |
| 24192 | *) : |
| 24193 | ;; |
| 24194 | esac ;; |
| 24195 | esac |
| 24196 | fi |
| 24197 | |
| 24198 | |
| 24199 | |
| 24200 | # Reset variables that may have inherited troublesome values from |
| 24201 | # the environment. |
| 24202 | |
| 24203 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 24204 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 24205 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 24206 | # Quoting is to prevent editors from complaining about space-tab. |
| 24207 | as_nl=' |
| 24208 | ' |
| 24209 | export as_nl |
| 24210 | IFS=" "" $as_nl" |
| 24211 | |
| 24212 | PS1='$ ' |
| 24213 | PS2='> ' |
| 24214 | PS4='+ ' |
| 24215 | |
| 24216 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 24217 | LC_ALL=C |
| 24218 | export LC_ALL |
| 24219 | LANGUAGE=C |
| 24220 | export LANGUAGE |
| 24221 | |
| 24222 | # We cannot yet rely on "unset" to work, but we need these variables |
| 24223 | # to be unset--not just set to an empty or harmless value--now, to |
| 24224 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 24225 | # also avoids known problems related to "unset" and subshell syntax |
| 24226 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 24227 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 24228 | do eval test \${$as_var+y} \ |
| 24229 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 24230 | done |
| 24231 | |
| 24232 | # Ensure that fds 0, 1, and 2 are open. |
| 24233 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 24234 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 24235 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 24236 | |
| 24237 | # The user is always right. |
| 24238 | if ${PATH_SEPARATOR+false} :; then |
| 24239 | PATH_SEPARATOR=: |
| 24240 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 24241 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 24242 | PATH_SEPARATOR=';' |
| 24243 | } |
| 24244 | fi |
| 24245 | |
| 24246 | |
| 24247 | # Find who we are. Look in the path if we contain no directory separator. |
| 24248 | as_myself= |
| 24249 | case $0 in #(( |
| 24250 | *[\\/]* ) as_myself=$0 ;; |
| 24251 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24252 | for as_dir in $PATH |
| 24253 | do |
| 24254 | IFS=$as_save_IFS |
| 24255 | case $as_dir in #((( |
| 24256 | '') as_dir=./ ;; |
| 24257 | */) ;; |
| 24258 | *) as_dir=$as_dir/ ;; |
| 24259 | esac |
| 24260 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 24261 | done |
| 24262 | IFS=$as_save_IFS |
| 24263 | |
| 24264 | ;; |
| 24265 | esac |
| 24266 | # We did not find ourselves, most probably we were run as 'sh COMMAND' |
| 24267 | # in which case we are not to be found in the path. |
| 24268 | if test "x$as_myself" = x; then |
| 24269 | as_myself=$0 |
| 24270 | fi |
| 24271 | if test ! -f "$as_myself"; then |
| 24272 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 24273 | exit 1 |
| 24274 | fi |
| 24275 | |
| 24276 | |
| 24277 | |
| 24278 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 24279 | # ---------------------------------------- |
| 24280 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 24281 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 24282 | # script with STATUS, using 1 if that was 0. |
| 24283 | as_fn_error () |
| 24284 | { |
| 24285 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 24286 | if test "$4"; then |
| 24287 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 24288 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 24289 | fi |
| 24290 | printf "%s\n" "$as_me: error: $2" >&2 |
| 24291 | as_fn_exit $as_status |
| 24292 | } # as_fn_error |
| 24293 | |
| 24294 | |
| 24295 | # as_fn_set_status STATUS |
| 24296 | # ----------------------- |
| 24297 | # Set $? to STATUS, without forking. |
| 24298 | as_fn_set_status () |
| 24299 | { |
| 24300 | return $1 |
| 24301 | } # as_fn_set_status |
| 24302 | |
| 24303 | # as_fn_exit STATUS |
| 24304 | # ----------------- |
| 24305 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 24306 | as_fn_exit () |
| 24307 | { |
| 24308 | set +e |
| 24309 | as_fn_set_status $1 |
| 24310 | exit $1 |
| 24311 | } # as_fn_exit |
| 24312 | |
| 24313 | # as_fn_unset VAR |
| 24314 | # --------------- |
| 24315 | # Portably unset VAR. |
| 24316 | as_fn_unset () |
| 24317 | { |
| 24318 | { eval $1=; unset $1;} |
| 24319 | } |
| 24320 | as_unset=as_fn_unset |
| 24321 | |
| 24322 | # as_fn_append VAR VALUE |
| 24323 | # ---------------------- |
| 24324 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 24325 | # advantage of any shell optimizations that allow amortized linear growth over |
| 24326 | # repeated appends, instead of the typical quadratic growth present in naive |
| 24327 | # implementations. |
| 24328 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 24329 | then : |
| 24330 | eval 'as_fn_append () |
| 24331 | { |
| 24332 | eval $1+=\$2 |
| 24333 | }' |
| 24334 | else case e in #( |
| 24335 | e) as_fn_append () |
| 24336 | { |
| 24337 | eval $1=\$$1\$2 |
| 24338 | } ;; |
| 24339 | esac |
| 24340 | fi # as_fn_append |
| 24341 | |
| 24342 | # as_fn_arith ARG... |
| 24343 | # ------------------ |
| 24344 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 24345 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 24346 | # must be portable across $(()) and expr. |
| 24347 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 24348 | then : |
| 24349 | eval 'as_fn_arith () |
| 24350 | { |
| 24351 | as_val=$(( $* )) |
| 24352 | }' |
| 24353 | else case e in #( |
| 24354 | e) as_fn_arith () |
| 24355 | { |
| 24356 | as_val=`expr "$@" || test $? -eq 1` |
| 24357 | } ;; |
| 24358 | esac |
| 24359 | fi # as_fn_arith |
| 24360 | |
| 24361 | |
| 24362 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 24363 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 24364 | as_expr=expr |
| 24365 | else |
| 24366 | as_expr=false |
| 24367 | fi |
| 24368 | |
| 24369 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 24370 | as_basename=basename |
| 24371 | else |
| 24372 | as_basename=false |
| 24373 | fi |
| 24374 | |
| 24375 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 24376 | as_dirname=dirname |
| 24377 | else |
| 24378 | as_dirname=false |
| 24379 | fi |
| 24380 | |
| 24381 | as_me=`$as_basename -- "$0" || |
| 24382 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 24383 | X"$0" : 'X\(//\)$' \| \ |
| 24384 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 24385 | printf "%s\n" X/"$0" | |
| 24386 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 24387 | s//\1/ |
| 24388 | q |
| 24389 | } |
| 24390 | /^X\/\(\/\/\)$/{ |
| 24391 | s//\1/ |
| 24392 | q |
| 24393 | } |
| 24394 | /^X\/\(\/\).*/{ |
| 24395 | s//\1/ |
| 24396 | q |
| 24397 | } |
| 24398 | s/.*/./; q'` |
| 24399 | |
| 24400 | # Avoid depending upon Character Ranges. |
| 24401 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 24402 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 24403 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 24404 | as_cr_digits='0123456789' |
| 24405 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 24406 | |
| 24407 | |
| 24408 | # Determine whether it's possible to make 'echo' print without a newline. |
| 24409 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 24410 | # for compatibility with existing Makefiles. |
| 24411 | ECHO_C= ECHO_N= ECHO_T= |
| 24412 | case `echo -n x` in #((((( |
| 24413 | -n*) |
| 24414 | case `echo 'xy\c'` in |
| 24415 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 24416 | xy) ECHO_C='\c';; |
| 24417 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 24418 | ECHO_T=' ';; |
| 24419 | esac;; |
| 24420 | *) |
| 24421 | ECHO_N='-n';; |
| 24422 | esac |
| 24423 | |
| 24424 | # For backward compatibility with old third-party macros, we provide |
| 24425 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 24426 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 24427 | as_echo='printf %s\n' |
| 24428 | as_echo_n='printf %s' |
| 24429 | |
| 24430 | rm -f conf$$ conf$$.exe conf$$.file |
| 24431 | if test -d conf$$.dir; then |
| 24432 | rm -f conf$$.dir/conf$$.file |
| 24433 | else |
| 24434 | rm -f conf$$.dir |
| 24435 | mkdir conf$$.dir 2>/dev/null |
| 24436 | fi |
| 24437 | if (echo >conf$$.file) 2>/dev/null; then |
| 24438 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 24439 | as_ln_s='ln -s' |
| 24440 | # ... but there are two gotchas: |
| 24441 | # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 24442 | # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 24443 | # In both cases, we have to default to 'cp -pR'. |
| 24444 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 24445 | as_ln_s='cp -pR' |
| 24446 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 24447 | as_ln_s=ln |
| 24448 | else |
| 24449 | as_ln_s='cp -pR' |
| 24450 | fi |
| 24451 | else |
| 24452 | as_ln_s='cp -pR' |
| 24453 | fi |
| 24454 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 24455 | rmdir conf$$.dir 2>/dev/null |
| 24456 | |
| 24457 | |
| 24458 | # as_fn_mkdir_p |
| 24459 | # ------------- |
| 24460 | # Create "$as_dir" as a directory, including parents if necessary. |
| 24461 | as_fn_mkdir_p () |
| 24462 | { |
| 24463 | |
| 24464 | case $as_dir in #( |
| 24465 | -*) as_dir=./$as_dir;; |
| 24466 | esac |
| 24467 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 24468 | as_dirs= |
| 24469 | while :; do |
| 24470 | case $as_dir in #( |
| 24471 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 24472 | *) as_qdir=$as_dir;; |
| 24473 | esac |
| 24474 | as_dirs="'$as_qdir' $as_dirs" |
| 24475 | as_dir=`$as_dirname -- "$as_dir" || |
| 24476 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 24477 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 24478 | X"$as_dir" : 'X\(//\)$' \| \ |
| 24479 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 24480 | printf "%s\n" X"$as_dir" | |
| 24481 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 24482 | s//\1/ |
| 24483 | q |
| 24484 | } |
| 24485 | /^X\(\/\/\)[^/].*/{ |
| 24486 | s//\1/ |
| 24487 | q |
| 24488 | } |
| 24489 | /^X\(\/\/\)$/{ |
| 24490 | s//\1/ |
| 24491 | q |
| 24492 | } |
| 24493 | /^X\(\/\).*/{ |
| 24494 | s//\1/ |
| 24495 | q |
| 24496 | } |
| 24497 | s/.*/./; q'` |
| 24498 | test -d "$as_dir" && break |
| 24499 | done |
| 24500 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 24501 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 24502 | |
| 24503 | |
| 24504 | } # as_fn_mkdir_p |
| 24505 | if mkdir -p . 2>/dev/null; then |
| 24506 | as_mkdir_p='mkdir -p "$as_dir"' |
| 24507 | else |
| 24508 | test -d ./-p && rmdir ./-p |
| 24509 | as_mkdir_p=false |
| 24510 | fi |
| 24511 | |
| 24512 | |
| 24513 | # as_fn_executable_p FILE |
| 24514 | # ----------------------- |
| 24515 | # Test if FILE is an executable regular file. |
| 24516 | as_fn_executable_p () |
| 24517 | { |
| 24518 | test -f "$1" && test -x "$1" |
| 24519 | } # as_fn_executable_p |
| 24520 | as_test_x='test -x' |
| 24521 | as_executable_p=as_fn_executable_p |
| 24522 | |
| 24523 | # Sed expression to map a string onto a valid CPP name. |
| 24524 | as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 24525 | as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 24526 | |
| 24527 | # Sed expression to map a string onto a valid variable name. |
| 24528 | as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 24529 | as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 24530 | |
| 24531 | |
| 24532 | exec 6>&1 |
| 24533 | ## ----------------------------------- ## |
| 24534 | ## Main body of $CONFIG_STATUS script. ## |
| 24535 | ## ----------------------------------- ## |
| 24536 | _ASEOF |
| 24537 | testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1 |
| 24538 | |
| 24539 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 24540 | # Save the log message, to keep $0 and so on meaningful, and to |
| 24541 | # report actual input values of CONFIG_FILES etc. instead of their |
| 24542 | # values after options handling. |
| 24543 | ac_log=" |
| 24544 | This file was extended by libgpiod $as_me 2.2.5, which was |
| 24545 | generated by GNU Autoconf 2.72. Invocation command line was |
| 24546 | |
| 24547 | CONFIG_FILES = $CONFIG_FILES |
| 24548 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 24549 | CONFIG_LINKS = $CONFIG_LINKS |
| 24550 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 24551 | $ $0 $@ |
| 24552 | |
| 24553 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 24554 | " |
| 24555 | |
| 24556 | _ACEOF |
| 24557 | |
| 24558 | case $ac_config_files in *" |
| 24559 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 24560 | esac |
| 24561 | |
| 24562 | case $ac_config_headers in *" |
| 24563 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 24564 | esac |
| 24565 | |
| 24566 | |
| 24567 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 24568 | # Files that config.status was made for. |
| 24569 | config_files="$ac_config_files" |
| 24570 | config_headers="$ac_config_headers" |
| 24571 | config_commands="$ac_config_commands" |
| 24572 | |
| 24573 | _ACEOF |
| 24574 | |
| 24575 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 24576 | ac_cs_usage="\ |
| 24577 | '$as_me' instantiates files and other configuration actions |
| 24578 | from templates according to the current configuration. Unless the files |
| 24579 | and actions are specified as TAGs, all are instantiated by default. |
| 24580 | |
| 24581 | Usage: $0 [OPTION]... [TAG]... |
| 24582 | |
| 24583 | -h, --help print this help, then exit |
| 24584 | -V, --version print version number and configuration settings, then exit |
| 24585 | --config print configuration, then exit |
| 24586 | -q, --quiet, --silent |
| 24587 | do not print progress messages |
| 24588 | -d, --debug don't remove temporary files |
| 24589 | --recheck update $as_me by reconfiguring in the same conditions |
| 24590 | --file=FILE[:TEMPLATE] |
| 24591 | instantiate the configuration file FILE |
| 24592 | --header=FILE[:TEMPLATE] |
| 24593 | instantiate the configuration header FILE |
| 24594 | |
| 24595 | Configuration files: |
| 24596 | $config_files |
| 24597 | |
| 24598 | Configuration headers: |
| 24599 | $config_headers |
| 24600 | |
| 24601 | Configuration commands: |
| 24602 | $config_commands |
| 24603 | |
| 24604 | Report bugs to the package provider. |
| 24605 | libgpiod home page: <https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/>." |
| 24606 | |
| 24607 | _ACEOF |
| 24608 | ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"` |
| 24609 | ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"` |
| 24610 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 24611 | ac_cs_config='$ac_cs_config_escaped' |
| 24612 | ac_cs_version="\\ |
| 24613 | libgpiod config.status 2.2.5 |
| 24614 | configured by $0, generated by GNU Autoconf 2.72, |
| 24615 | with options \\"\$ac_cs_config\\" |
| 24616 | |
| 24617 | Copyright (C) 2023 Free Software Foundation, Inc. |
| 24618 | This config.status script is free software; the Free Software Foundation |
| 24619 | gives unlimited permission to copy, distribute and modify it." |
| 24620 | |
| 24621 | ac_pwd='$ac_pwd' |
| 24622 | srcdir='$srcdir' |
| 24623 | INSTALL='$INSTALL' |
| 24624 | MKDIR_P='$MKDIR_P' |
| 24625 | AWK='$AWK' |
| 24626 | test -n "\$AWK" || AWK=awk |
| 24627 | _ACEOF |
| 24628 | |
| 24629 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 24630 | # The default lists apply if the user does not specify any file. |
| 24631 | ac_need_defaults=: |
| 24632 | while test $# != 0 |
| 24633 | do |
| 24634 | case $1 in |
| 24635 | --*=?*) |
| 24636 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 24637 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 24638 | ac_shift=: |
| 24639 | ;; |
| 24640 | --*=) |
| 24641 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 24642 | ac_optarg= |
| 24643 | ac_shift=: |
| 24644 | ;; |
| 24645 | *) |
| 24646 | ac_option=$1 |
| 24647 | ac_optarg=$2 |
| 24648 | ac_shift=shift |
| 24649 | ;; |
| 24650 | esac |
| 24651 | |
| 24652 | case $ac_option in |
| 24653 | # Handling of the options. |
| 24654 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 24655 | ac_cs_recheck=: ;; |
| 24656 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 24657 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 24658 | --config | --confi | --conf | --con | --co | --c ) |
| 24659 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 24660 | --debug | --debu | --deb | --de | --d | -d ) |
| 24661 | debug=: ;; |
| 24662 | --file | --fil | --fi | --f ) |
| 24663 | $ac_shift |
| 24664 | case $ac_optarg in |
| 24665 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 24666 | '') as_fn_error $? "missing file argument" ;; |
| 24667 | esac |
| 24668 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 24669 | ac_need_defaults=false;; |
| 24670 | --header | --heade | --head | --hea ) |
| 24671 | $ac_shift |
| 24672 | case $ac_optarg in |
| 24673 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 24674 | esac |
| 24675 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 24676 | ac_need_defaults=false;; |
| 24677 | --he | --h) |
| 24678 | # Conflict between --help and --header |
| 24679 | as_fn_error $? "ambiguous option: '$1' |
| 24680 | Try '$0 --help' for more information.";; |
| 24681 | --help | --hel | -h ) |
| 24682 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 24683 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 24684 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 24685 | ac_cs_silent=: ;; |
| 24686 | |
| 24687 | # This is an error. |
| 24688 | -*) as_fn_error $? "unrecognized option: '$1' |
| 24689 | Try '$0 --help' for more information." ;; |
| 24690 | |
| 24691 | *) as_fn_append ac_config_targets " $1" |
| 24692 | ac_need_defaults=false ;; |
| 24693 | |
| 24694 | esac |
| 24695 | shift |
| 24696 | done |
| 24697 | |
| 24698 | ac_configure_extra_args= |
| 24699 | |
| 24700 | if $ac_cs_silent; then |
| 24701 | exec 6>/dev/null |
| 24702 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 24703 | fi |
| 24704 | |
| 24705 | _ACEOF |
| 24706 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 24707 | if \$ac_cs_recheck; then |
| 24708 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 24709 | shift |
| 24710 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 24711 | CONFIG_SHELL='$SHELL' |
| 24712 | export CONFIG_SHELL |
| 24713 | exec "\$@" |
| 24714 | fi |
| 24715 | |
| 24716 | _ACEOF |
| 24717 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 24718 | exec 5>>config.log |
| 24719 | { |
| 24720 | echo |
| 24721 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 24722 | ## Running $as_me. ## |
| 24723 | _ASBOX |
| 24724 | printf "%s\n" "$ac_log" |
| 24725 | } >&5 |
| 24726 | |
| 24727 | _ACEOF |
| 24728 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 24729 | # |
| 24730 | # INIT-COMMANDS |
| 24731 | # |
| 24732 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 24733 | |
| 24734 | |
| 24735 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| 24736 | # if CDPATH is set. |
| 24737 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 24738 | |
| 24739 | sed_quote_subst='$sed_quote_subst' |
| 24740 | double_quote_subst='$double_quote_subst' |
| 24741 | delay_variable_subst='$delay_variable_subst' |
| 24742 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 24743 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 24744 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 24745 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 24746 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 24747 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 24748 | shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
| 24749 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 24750 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 24751 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 24752 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 24753 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 24754 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 24755 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 24756 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 24757 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 24758 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 24759 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 24760 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 24761 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 24762 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 24763 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 24764 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 24765 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 24766 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 24767 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 24768 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 24769 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 24770 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 24771 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 24772 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 24773 | lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 24774 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 24775 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 24776 | FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 24777 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 24778 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 24779 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 24780 | file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 24781 | want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 24782 | DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 24783 | sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 24784 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 24785 | lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 24786 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 24787 | archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 24788 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 24789 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 24790 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 24791 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 24792 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 24793 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 24794 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 24795 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 24796 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 24797 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 24798 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 24799 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 24800 | lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
| 24801 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 24802 | 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"`' |
| 24803 | lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
| 24804 | nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 24805 | lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 24806 | lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
| 24807 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 24808 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 24809 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 24810 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 24811 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 24812 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 24813 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 24814 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 24815 | MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 24816 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 24817 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 24818 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 24819 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 24820 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 24821 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 24822 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 24823 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 24824 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 24825 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 24826 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 24827 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 24828 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 24829 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 24830 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 24831 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 24832 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 24833 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 24834 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 24835 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 24836 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 24837 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 24838 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 24839 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 24840 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 24841 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 24842 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 24843 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 24844 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 24845 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 24846 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 24847 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 24848 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 24849 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 24850 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 24851 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 24852 | postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 24853 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 24854 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 24855 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 24856 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 24857 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 24858 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 24859 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 24860 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 24861 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 24862 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 24863 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 24864 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 24865 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 24866 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 24867 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 24868 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 24869 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 24870 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 24871 | configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 24872 | configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 24873 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 24874 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 24875 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 24876 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 24877 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 24878 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 24879 | compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' |
| 24880 | predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' |
| 24881 | postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' |
| 24882 | predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' |
| 24883 | postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' |
| 24884 | compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' |
| 24885 | LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' |
| 24886 | reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 24887 | reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24888 | old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24889 | compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' |
| 24890 | GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' |
| 24891 | lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 24892 | lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' |
| 24893 | lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' |
| 24894 | lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' |
| 24895 | lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' |
| 24896 | archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' |
| 24897 | enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' |
| 24898 | export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 24899 | whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 24900 | compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' |
| 24901 | old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24902 | old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24903 | archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24904 | archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24905 | module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24906 | module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24907 | with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' |
| 24908 | allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 24909 | no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
| 24910 | hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 24911 | hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
| 24912 | hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
| 24913 | hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
| 24914 | hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' |
| 24915 | hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' |
| 24916 | hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' |
| 24917 | inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' |
| 24918 | link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' |
| 24919 | always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' |
| 24920 | export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24921 | exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
| 24922 | include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' |
| 24923 | prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24924 | postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' |
| 24925 | file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' |
| 24926 | hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' |
| 24927 | compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' |
| 24928 | predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
| 24929 | postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' |
| 24930 | predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' |
| 24931 | postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' |
| 24932 | compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' |
| 24933 | |
| 24934 | LTCC='$LTCC' |
| 24935 | LTCFLAGS='$LTCFLAGS' |
| 24936 | compiler='$compiler_DEFAULT' |
| 24937 | |
| 24938 | # A function that is used when there is no print builtin or printf. |
| 24939 | func_fallback_echo () |
| 24940 | { |
| 24941 | eval 'cat <<_LTECHO_EOF |
| 24942 | \$1 |
| 24943 | _LTECHO_EOF' |
| 24944 | } |
| 24945 | |
| 24946 | # Quote evaled strings. |
| 24947 | for var in SHELL \ |
| 24948 | ECHO \ |
| 24949 | PATH_SEPARATOR \ |
| 24950 | SED \ |
| 24951 | GREP \ |
| 24952 | EGREP \ |
| 24953 | FGREP \ |
| 24954 | LD \ |
| 24955 | NM \ |
| 24956 | LN_S \ |
| 24957 | lt_SP2NL \ |
| 24958 | lt_NL2SP \ |
| 24959 | reload_flag \ |
| 24960 | FILECMD \ |
| 24961 | OBJDUMP \ |
| 24962 | deplibs_check_method \ |
| 24963 | file_magic_cmd \ |
| 24964 | file_magic_glob \ |
| 24965 | want_nocaseglob \ |
| 24966 | DLLTOOL \ |
| 24967 | sharedlib_from_linklib_cmd \ |
| 24968 | AR \ |
| 24969 | archiver_list_spec \ |
| 24970 | STRIP \ |
| 24971 | RANLIB \ |
| 24972 | CC \ |
| 24973 | CFLAGS \ |
| 24974 | compiler \ |
| 24975 | lt_cv_sys_global_symbol_pipe \ |
| 24976 | lt_cv_sys_global_symbol_to_cdecl \ |
| 24977 | lt_cv_sys_global_symbol_to_import \ |
| 24978 | lt_cv_sys_global_symbol_to_c_name_address \ |
| 24979 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 24980 | lt_cv_nm_interface \ |
| 24981 | nm_file_list_spec \ |
| 24982 | lt_cv_truncate_bin \ |
| 24983 | lt_prog_compiler_no_builtin_flag \ |
| 24984 | lt_prog_compiler_pic \ |
| 24985 | lt_prog_compiler_wl \ |
| 24986 | lt_prog_compiler_static \ |
| 24987 | lt_cv_prog_compiler_c_o \ |
| 24988 | need_locks \ |
| 24989 | MANIFEST_TOOL \ |
| 24990 | DSYMUTIL \ |
| 24991 | NMEDIT \ |
| 24992 | LIPO \ |
| 24993 | OTOOL \ |
| 24994 | OTOOL64 \ |
| 24995 | shrext_cmds \ |
| 24996 | export_dynamic_flag_spec \ |
| 24997 | whole_archive_flag_spec \ |
| 24998 | compiler_needs_object \ |
| 24999 | with_gnu_ld \ |
| 25000 | allow_undefined_flag \ |
| 25001 | no_undefined_flag \ |
| 25002 | hardcode_libdir_flag_spec \ |
| 25003 | hardcode_libdir_separator \ |
| 25004 | exclude_expsyms \ |
| 25005 | include_expsyms \ |
| 25006 | file_list_spec \ |
| 25007 | variables_saved_for_relink \ |
| 25008 | libname_spec \ |
| 25009 | library_names_spec \ |
| 25010 | soname_spec \ |
| 25011 | install_override_mode \ |
| 25012 | finish_eval \ |
| 25013 | old_striplib \ |
| 25014 | striplib \ |
| 25015 | compiler_lib_search_dirs \ |
| 25016 | predep_objects \ |
| 25017 | postdep_objects \ |
| 25018 | predeps \ |
| 25019 | postdeps \ |
| 25020 | compiler_lib_search_path \ |
| 25021 | LD_CXX \ |
| 25022 | reload_flag_CXX \ |
| 25023 | compiler_CXX \ |
| 25024 | lt_prog_compiler_no_builtin_flag_CXX \ |
| 25025 | lt_prog_compiler_pic_CXX \ |
| 25026 | lt_prog_compiler_wl_CXX \ |
| 25027 | lt_prog_compiler_static_CXX \ |
| 25028 | lt_cv_prog_compiler_c_o_CXX \ |
| 25029 | export_dynamic_flag_spec_CXX \ |
| 25030 | whole_archive_flag_spec_CXX \ |
| 25031 | compiler_needs_object_CXX \ |
| 25032 | with_gnu_ld_CXX \ |
| 25033 | allow_undefined_flag_CXX \ |
| 25034 | no_undefined_flag_CXX \ |
| 25035 | hardcode_libdir_flag_spec_CXX \ |
| 25036 | hardcode_libdir_separator_CXX \ |
| 25037 | exclude_expsyms_CXX \ |
| 25038 | include_expsyms_CXX \ |
| 25039 | file_list_spec_CXX \ |
| 25040 | compiler_lib_search_dirs_CXX \ |
| 25041 | predep_objects_CXX \ |
| 25042 | postdep_objects_CXX \ |
| 25043 | predeps_CXX \ |
| 25044 | postdeps_CXX \ |
| 25045 | compiler_lib_search_path_CXX; do |
| 25046 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 25047 | *[\\\\\\\`\\"\\\$]*) |
| 25048 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 25049 | ;; |
| 25050 | *) |
| 25051 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 25052 | ;; |
| 25053 | esac |
| 25054 | done |
| 25055 | |
| 25056 | # Double-quote double-evaled strings. |
| 25057 | for var in reload_cmds \ |
| 25058 | old_postinstall_cmds \ |
| 25059 | old_postuninstall_cmds \ |
| 25060 | old_archive_cmds \ |
| 25061 | extract_expsyms_cmds \ |
| 25062 | old_archive_from_new_cmds \ |
| 25063 | old_archive_from_expsyms_cmds \ |
| 25064 | archive_cmds \ |
| 25065 | archive_expsym_cmds \ |
| 25066 | module_cmds \ |
| 25067 | module_expsym_cmds \ |
| 25068 | export_symbols_cmds \ |
| 25069 | prelink_cmds \ |
| 25070 | postlink_cmds \ |
| 25071 | postinstall_cmds \ |
| 25072 | postuninstall_cmds \ |
| 25073 | finish_cmds \ |
| 25074 | sys_lib_search_path_spec \ |
| 25075 | configure_time_dlsearch_path \ |
| 25076 | configure_time_lt_sys_library_path \ |
| 25077 | reload_cmds_CXX \ |
| 25078 | old_archive_cmds_CXX \ |
| 25079 | old_archive_from_new_cmds_CXX \ |
| 25080 | old_archive_from_expsyms_cmds_CXX \ |
| 25081 | archive_cmds_CXX \ |
| 25082 | archive_expsym_cmds_CXX \ |
| 25083 | module_cmds_CXX \ |
| 25084 | module_expsym_cmds_CXX \ |
| 25085 | export_symbols_cmds_CXX \ |
| 25086 | prelink_cmds_CXX \ |
| 25087 | postlink_cmds_CXX; do |
| 25088 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 25089 | *[\\\\\\\`\\"\\\$]*) |
| 25090 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 25091 | ;; |
| 25092 | *) |
| 25093 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 25094 | ;; |
| 25095 | esac |
| 25096 | done |
| 25097 | |
| 25098 | ac_aux_dir='$ac_aux_dir' |
| 25099 | |
| 25100 | # See if we are running on zsh, and set the options that allow our |
| 25101 | # commands through without removal of \ escapes INIT. |
| 25102 | if test -n "\${ZSH_VERSION+set}"; then |
| 25103 | setopt NO_GLOB_SUBST |
| 25104 | fi |
| 25105 | |
| 25106 | |
| 25107 | PACKAGE='$PACKAGE' |
| 25108 | VERSION='$VERSION' |
| 25109 | RM='$RM' |
| 25110 | ofile='$ofile' |
| 25111 | |
| 25112 | |
| 25113 | |
| 25114 | |
| 25115 | |
| 25116 | |
| 25117 | _ACEOF |
| 25118 | |
| 25119 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25120 | |
| 25121 | # Handling of arguments. |
| 25122 | for ac_config_target in $ac_config_targets |
| 25123 | do |
| 25124 | case $ac_config_target in |
| 25125 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 25126 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 25127 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 25128 | "bindings/glib/gi-docgen.toml") CONFIG_FILES="$CONFIG_FILES bindings/glib/gi-docgen.toml" ;; |
| 25129 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 25130 | "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; |
| 25131 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| 25132 | "lib/libgpiod.pc") CONFIG_FILES="$CONFIG_FILES lib/libgpiod.pc" ;; |
| 25133 | "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 25134 | "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
| 25135 | "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; |
| 25136 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 25137 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
| 25138 | "tests/gpiosim/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpiosim/Makefile" ;; |
| 25139 | "tests/gpiosim-glib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpiosim-glib/Makefile" ;; |
| 25140 | "tests/harness/Makefile") CONFIG_FILES="$CONFIG_FILES tests/harness/Makefile" ;; |
| 25141 | "tests/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scripts/Makefile" ;; |
| 25142 | "bindings/cxx/libgpiodcxx.pc") CONFIG_FILES="$CONFIG_FILES bindings/cxx/libgpiodcxx.pc" ;; |
| 25143 | "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;; |
| 25144 | "bindings/cxx/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/cxx/Makefile" ;; |
| 25145 | "bindings/cxx/gpiodcxx/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/cxx/gpiodcxx/Makefile" ;; |
| 25146 | "bindings/cxx/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/cxx/examples/Makefile" ;; |
| 25147 | "bindings/cxx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/cxx/tests/Makefile" ;; |
| 25148 | "bindings/glib/gpiod-glib.pc") CONFIG_FILES="$CONFIG_FILES bindings/glib/gpiod-glib.pc" ;; |
| 25149 | "bindings/glib/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/glib/Makefile" ;; |
| 25150 | "bindings/glib/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/glib/examples/Makefile" ;; |
| 25151 | "bindings/glib/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/glib/tests/Makefile" ;; |
| 25152 | "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;; |
| 25153 | "bindings/python/gpiod/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/gpiod/Makefile" ;; |
| 25154 | "bindings/python/gpiod/ext/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/gpiod/ext/Makefile" ;; |
| 25155 | "bindings/python/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/examples/Makefile" ;; |
| 25156 | "bindings/python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/tests/Makefile" ;; |
| 25157 | "bindings/python/tests/gpiosim/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/tests/gpiosim/Makefile" ;; |
| 25158 | "bindings/python/tests/procname/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/tests/procname/Makefile" ;; |
| 25159 | "bindings/rust/libgpiod-sys/src/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod-sys/src/Makefile" ;; |
| 25160 | "bindings/rust/libgpiod-sys/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod-sys/Makefile" ;; |
| 25161 | "bindings/rust/libgpiod/src/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod/src/Makefile" ;; |
| 25162 | "bindings/rust/libgpiod/tests/common/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod/tests/common/Makefile" ;; |
| 25163 | "bindings/rust/libgpiod/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod/tests/Makefile" ;; |
| 25164 | "bindings/rust/libgpiod/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod/Makefile" ;; |
| 25165 | "bindings/rust/libgpiod/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/libgpiod/examples/Makefile" ;; |
| 25166 | "bindings/rust/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/Makefile" ;; |
| 25167 | "bindings/rust/gpiosim-sys/src/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/gpiosim-sys/src/Makefile" ;; |
| 25168 | "bindings/rust/gpiosim-sys/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/rust/gpiosim-sys/Makefile" ;; |
| 25169 | "dbus/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/Makefile" ;; |
| 25170 | "dbus/client/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/client/Makefile" ;; |
| 25171 | "dbus/data/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/data/Makefile" ;; |
| 25172 | "dbus/lib/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/lib/Makefile" ;; |
| 25173 | "dbus/manager/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/manager/Makefile" ;; |
| 25174 | "dbus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/tests/Makefile" ;; |
| 25175 | "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
| 25176 | |
| 25177 | *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; |
| 25178 | esac |
| 25179 | done |
| 25180 | |
| 25181 | |
| 25182 | # If the user did not use the arguments to specify the items to instantiate, |
| 25183 | # then the envvar interface is used. Set only those that are not. |
| 25184 | # We use the long form for the default assignment because of an extremely |
| 25185 | # bizarre bug on SunOS 4.1.3. |
| 25186 | if $ac_need_defaults; then |
| 25187 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 25188 | test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
| 25189 | test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 25190 | fi |
| 25191 | |
| 25192 | # Have a temporary directory for convenience. Make it in the build tree |
| 25193 | # simply because there is no reason against having it here, and in addition, |
| 25194 | # creating and moving files from /tmp can sometimes cause problems. |
| 25195 | # Hook for its removal unless debugging. |
| 25196 | # Note that there is a small window in which the directory will not be cleaned: |
| 25197 | # after its creation but before its name has been assigned to '$tmp'. |
| 25198 | $debug || |
| 25199 | { |
| 25200 | tmp= ac_tmp= |
| 25201 | trap 'exit_status=$? |
| 25202 | : "${ac_tmp:=$tmp}" |
| 25203 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 25204 | ' 0 |
| 25205 | trap 'as_fn_exit 1' 1 2 13 15 |
| 25206 | } |
| 25207 | # Create a (secure) tmp directory for tmp files. |
| 25208 | |
| 25209 | { |
| 25210 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 25211 | test -d "$tmp" |
| 25212 | } || |
| 25213 | { |
| 25214 | tmp=./conf$$-$RANDOM |
| 25215 | (umask 077 && mkdir "$tmp") |
| 25216 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 25217 | ac_tmp=$tmp |
| 25218 | |
| 25219 | # Set up the scripts for CONFIG_FILES section. |
| 25220 | # No need to generate them if there are no CONFIG_FILES. |
| 25221 | # This happens for instance with './config.status config.h'. |
| 25222 | if test -n "$CONFIG_FILES"; then |
| 25223 | |
| 25224 | |
| 25225 | ac_cr=`echo X | tr X '\015'` |
| 25226 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 25227 | # But we know of no other shell where ac_cr would be empty at this |
| 25228 | # point, so we can use a bashism as a fallback. |
| 25229 | if test "x$ac_cr" = x; then |
| 25230 | eval ac_cr=\$\'\\r\' |
| 25231 | fi |
| 25232 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 25233 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 25234 | ac_cs_awk_cr='\\r' |
| 25235 | else |
| 25236 | ac_cs_awk_cr=$ac_cr |
| 25237 | fi |
| 25238 | |
| 25239 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 25240 | _ACEOF |
| 25241 | |
| 25242 | |
| 25243 | { |
| 25244 | echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" && |
| 25245 | echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' && |
| 25246 | echoscip-shell system . . echo. "_ACEOF" |
| 25247 | } >conf$$subs.sh || |
| 25248 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 25249 | ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'` |
| 25250 | ac_delim='%!_!# ' |
| 25251 | for ac_last_try in false false false false false :; do |
| 25252 | . ./conf$$subs.sh || |
| 25253 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 25254 | |
| 25255 | ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X` |
| 25256 | if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then |
| 25257 | break |
| 25258 | elif $ac_last_try; then |
| 25259 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 25260 | else |
| 25261 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 25262 | fi |
| 25263 | done |
| 25264 | rmscip-shell system . . rm. -f conf$$subs.sh |
| 25265 | |
| 25266 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 25267 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 25268 | _ACEOF |
| 25269 | sedscip-shell system . . sed. -n ' |
| 25270 | h |
| 25271 | s/^/S["/; s/!.*/"]=/ |
| 25272 | p |
| 25273 | g |
| 25274 | s/^[^!]*!// |
| 25275 | :repl |
| 25276 | t repl |
| 25277 | s/'"$ac_delim"'$// |
| 25278 | t delim |
| 25279 | :nl |
| 25280 | h |
| 25281 | s/\(.\{148\}\)..*/\1/ |
| 25282 | t more1 |
| 25283 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 25284 | p |
| 25285 | n |
| 25286 | b repl |
| 25287 | :more1 |
| 25288 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 25289 | p |
| 25290 | g |
| 25291 | s/.\{148\}// |
| 25292 | t nl |
| 25293 | :delim |
| 25294 | h |
| 25295 | s/\(.\{148\}\)..*/\1/ |
| 25296 | t more2 |
| 25297 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 25298 | p |
| 25299 | b |
| 25300 | :more2 |
| 25301 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 25302 | p |
| 25303 | g |
| 25304 | s/.\{148\}// |
| 25305 | t delim |
| 25306 | ' <conf$$subs.awk | sedscip-shell system . . sed. ' |
| 25307 | /^[^""]/{ |
| 25308 | N |
| 25309 | s/\n// |
| 25310 | } |
| 25311 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 25312 | rmscip-shell system . . rm. -f conf$$subs.awk |
| 25313 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 25314 | _ACAWK |
| 25315 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 25316 | for (key in S) S_is_set[key] = 1 |
| 25317 | FS = "" |
| 25318 | |
| 25319 | } |
| 25320 | { |
| 25321 | line = $ 0 |
| 25322 | nfields = split(line, field, "@") |
| 25323 | substed = 0 |
| 25324 | len = length(field[1]) |
| 25325 | for (i = 2; i < nfields; i++) { |
| 25326 | key = field[i] |
| 25327 | keylen = length(key) |
| 25328 | if (S_is_set[key]) { |
| 25329 | value = S[key] |
| 25330 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 25331 | len += length(value) + length(field[++i]) |
| 25332 | substed = 1 |
| 25333 | } else |
| 25334 | len += 1 + keylen |
| 25335 | } |
| 25336 | |
| 25337 | print line |
| 25338 | } |
| 25339 | |
| 25340 | _ACAWK |
| 25341 | _ACEOF |
| 25342 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25343 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 25344 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 25345 | else |
| 25346 | cat |
| 25347 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 25348 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 25349 | _ACEOF |
| 25350 | |
| 25351 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 25352 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 25353 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 25354 | # (actually we leave an empty line to preserve line numbers). |
| 25355 | if testscip-shell system . . test. "x$srcdir" = x.; then |
| 25356 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 25357 | h |
| 25358 | s/// |
| 25359 | s/^/:/ |
| 25360 | s/[ ]*$/:/ |
| 25361 | s/:\$(srcdir):/:/g |
| 25362 | s/:\${srcdir}:/:/g |
| 25363 | s/:@srcdir@:/:/g |
| 25364 | s/^:*// |
| 25365 | s/:*$// |
| 25366 | x |
| 25367 | s/\(=[ ]*\).*/\1/ |
| 25368 | G |
| 25369 | s/\n// |
| 25370 | s/^[^=]*=[ ]*$// |
| 25371 | }' |
| 25372 | fi |
| 25373 | |
| 25374 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25375 | fi # test -n "$CONFIG_FILES" |
| 25376 | |
| 25377 | # Set up the scripts for CONFIG_HEADERS section. |
| 25378 | # No need to generate them if there are no CONFIG_HEADERS. |
| 25379 | # This happens for instance with './config.status Makefile'. |
| 25380 | if test -n "$CONFIG_HEADERS"; then |
| 25381 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 25382 | BEGIN { |
| 25383 | _ACEOF |
| 25384 | |
| 25385 | # Transform confdefs.h into an awk script 'defines.awk', embedded as |
| 25386 | # here-document in config.status, that substitutes the proper values into |
| 25387 | # config.h.in to produce config.h. |
| 25388 | |
| 25389 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| 25390 | # handling of long lines. |
| 25391 | ac_delim='%!_!# ' |
| 25392 | for ac_last_try in false false :; do |
| 25393 | ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h` |
| 25394 | if testscip-shell system . . test. -z "$ac_tt"; then |
| 25395 | break |
| 25396 | elif $ac_last_try; then |
| 25397 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 25398 | else |
| 25399 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 25400 | fi |
| 25401 | done |
| 25402 | |
| 25403 | # For the awk script, D is an array of macro values keyed by name, |
| 25404 | # likewise P contains macro parameters if any. Preserve backslash |
| 25405 | # newline sequences. |
| 25406 | |
| 25407 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 25408 | sedscip-shell system . . sed. -n ' |
| 25409 | s/.\{148\}/&'"$ac_delim"'/g |
| 25410 | t rset |
| 25411 | :rset |
| 25412 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 25413 | t def |
| 25414 | d |
| 25415 | :def |
| 25416 | s/\\$// |
| 25417 | t bsnl |
| 25418 | s/["\\]/\\&/g |
| 25419 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 25420 | D["\1"]=" \3"/p |
| 25421 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 25422 | d |
| 25423 | :bsnl |
| 25424 | s/["\\]/\\&/g |
| 25425 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 25426 | D["\1"]=" \3\\\\\\n"\\/p |
| 25427 | t cont |
| 25428 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 25429 | t cont |
| 25430 | d |
| 25431 | :cont |
| 25432 | n |
| 25433 | s/.\{148\}/&'"$ac_delim"'/g |
| 25434 | t clear |
| 25435 | :clear |
| 25436 | s/\\$// |
| 25437 | t bsnlc |
| 25438 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 25439 | d |
| 25440 | :bsnlc |
| 25441 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 25442 | b cont |
| 25443 | ' <confdefs.h | sedscip-shell system . . sed. ' |
| 25444 | s/'"$ac_delim"'/"\\\ |
| 25445 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 25446 | |
| 25447 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 25448 | for (key in D) D_is_set[key] = 1 |
| 25449 | FS = "" |
| 25450 | } |
| 25451 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 25452 | line = \$ 0 |
| 25453 | split(line, arg, " ") |
| 25454 | if (arg[1] == "#") { |
| 25455 | defundef = arg[2] |
| 25456 | mac1 = arg[3] |
| 25457 | } else { |
| 25458 | defundef = substr(arg[1], 2) |
| 25459 | mac1 = arg[2] |
| 25460 | } |
| 25461 | split(mac1, mac2, "(") #) |
| 25462 | macro = mac2[1] |
| 25463 | prefix = substr(line, 1, index(line, defundef) - 1) |
| 25464 | if (D_is_set[macro]) { |
| 25465 | # Preserve the white space surrounding the "#". |
| 25466 | print prefix "define", macro P[macro] D[macro] |
| 25467 | next |
| 25468 | } else { |
| 25469 | # Replace #undef with comments. This is necessary, for example, |
| 25470 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 25471 | # on some systems where configure will not decide to define it. |
| 25472 | if (defundef == "undef") { |
| 25473 | print "/*", prefix defundef, macro, "*/" |
| 25474 | next |
| 25475 | } |
| 25476 | } |
| 25477 | } |
| 25478 | { print } |
| 25479 | _ACAWK |
| 25480 | _ACEOF |
| 25481 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25482 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 25483 | fi # test -n "$CONFIG_HEADERS" |
| 25484 | |
| 25485 | |
| 25486 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 25487 | shift |
| 25488 | for ac_tag |
| 25489 | do |
| 25490 | case $ac_tag in |
| 25491 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 25492 | esac |
| 25493 | case $ac_mode$ac_tag in |
| 25494 | :[FHL]*:*);; |
| 25495 | :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; |
| 25496 | :[FH]-) ac_tag=-:-;; |
| 25497 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 25498 | esac |
| 25499 | ac_save_IFS=$IFS |
| 25500 | IFS=: |
| 25501 | set x $ac_tag |
| 25502 | IFS=$ac_save_IFS |
| 25503 | shift |
| 25504 | ac_file=$1 |
| 25505 | shift |
| 25506 | |
| 25507 | case $ac_mode in |
| 25508 | :L) ac_source=$1;; |
| 25509 | :[FH]) |
| 25510 | ac_file_inputs= |
| 25511 | for ac_f |
| 25512 | do |
| 25513 | case $ac_f in |
| 25514 | -) ac_f="$ac_tmp/stdin";; |
| 25515 | *) # Look for the file first in the build tree, then in the source tree |
| 25516 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 25517 | # because $ac_f cannot contain ':'. |
| 25518 | test -f "$ac_f" || |
| 25519 | case $ac_f in |
| 25520 | [\\/$]*) false;; |
| 25521 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 25522 | esac || |
| 25523 | as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; |
| 25524 | esac |
| 25525 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 25526 | as_fn_append ac_file_inputs " '$ac_f'" |
| 25527 | done |
| 25528 | |
| 25529 | # Let's still pretend it is 'configure' which instantiates (i.e., don't |
| 25530 | # use $as_me), people would be surprised to read: |
| 25531 | # /* config.h. Generated by config.status. */ |
| 25532 | configure_input='Generated from '` |
| 25533 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 25534 | `' by configure.' |
| 25535 | if test x"$ac_file" != x-; then |
| 25536 | configure_input="$ac_file. $configure_input" |
| 25537 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 25538 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 25539 | fi |
| 25540 | # Neutralize special characters interpreted by sed in replacement strings. |
| 25541 | case $configure_input in #( |
| 25542 | *\&* | *\|* | *\\* ) |
| 25543 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 25544 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 25545 | *) ac_sed_conf_input=$configure_input;; |
| 25546 | esac |
| 25547 | |
| 25548 | case $ac_tag in |
| 25549 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 25550 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 25551 | esac |
| 25552 | ;; |
| 25553 | esac |
| 25554 | |
| 25555 | ac_dir=`$as_dirname -- "$ac_file" || |
| 25556 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 25557 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 25558 | X"$ac_file" : 'X\(//\)$' \| \ |
| 25559 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 25560 | printf "%s\n" X"$ac_file" | |
| 25561 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 25562 | s//\1/ |
| 25563 | q |
| 25564 | } |
| 25565 | /^X\(\/\/\)[^/].*/{ |
| 25566 | s//\1/ |
| 25567 | q |
| 25568 | } |
| 25569 | /^X\(\/\/\)$/{ |
| 25570 | s//\1/ |
| 25571 | q |
| 25572 | } |
| 25573 | /^X\(\/\).*/{ |
| 25574 | s//\1/ |
| 25575 | q |
| 25576 | } |
| 25577 | s/.*/./; q'` |
| 25578 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 25579 | ac_builddir=. |
| 25580 | |
| 25581 | case "$ac_dir" in |
| 25582 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 25583 | *) |
| 25584 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 25585 | # A ".." for each directory in $ac_dir_suffix. |
| 25586 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 25587 | case $ac_top_builddir_sub in |
| 25588 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 25589 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 25590 | esac ;; |
| 25591 | esac |
| 25592 | ac_abs_top_builddir=$ac_pwd |
| 25593 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 25594 | # for backward compatibility: |
| 25595 | ac_top_builddir=$ac_top_build_prefix |
| 25596 | |
| 25597 | case $srcdir in |
| 25598 | .) # We are building in place. |
| 25599 | ac_srcdir=. |
| 25600 | ac_top_srcdir=$ac_top_builddir_sub |
| 25601 | ac_abs_top_srcdir=$ac_pwd ;; |
| 25602 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 25603 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 25604 | ac_top_srcdir=$srcdir |
| 25605 | ac_abs_top_srcdir=$srcdir ;; |
| 25606 | *) # Relative name. |
| 25607 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 25608 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 25609 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 25610 | esac |
| 25611 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 25612 | |
| 25613 | |
| 25614 | case $ac_mode in |
| 25615 | :F) |
| 25616 | # |
| 25617 | # CONFIG_FILE |
| 25618 | # |
| 25619 | |
| 25620 | case $INSTALL in |
| 25621 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 25622 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 25623 | esac |
| 25624 | ac_MKDIR_P=$MKDIR_P |
| 25625 | case $MKDIR_P in |
| 25626 | [\\/$]* | ?:[\\/]* ) ;; |
| 25627 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 25628 | esac |
| 25629 | _ACEOF |
| 25630 | |
| 25631 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25632 | # If the template does not know about datarootdir, expand it. |
| 25633 | # FIXME: This hack should be removed a few years after 2.60. |
| 25634 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 25635 | ac_sed_dataroot=' |
| 25636 | /datarootdir/ { |
| 25637 | p |
| 25638 | q |
| 25639 | } |
| 25640 | /@datadir@/p |
| 25641 | /@docdir@/p |
| 25642 | /@infodir@/p |
| 25643 | /@localedir@/p |
| 25644 | /@mandir@/p' |
| 25645 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 25646 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 25647 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 25648 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 25649 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 25650 | _ACEOF |
| 25651 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 25652 | ac_datarootdir_hack=' |
| 25653 | s&@datadir@&$datadir&g |
| 25654 | s&@docdir@&$docdir&g |
| 25655 | s&@infodir@&$infodir&g |
| 25656 | s&@localedir@&$localedir&g |
| 25657 | s&@mandir@&$mandir&g |
| 25658 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 25659 | esac |
| 25660 | _ACEOF |
| 25661 | |
| 25662 | # Neutralize VPATH when '$srcdir' = '.'. |
| 25663 | # Shell code in configure.ac might set extrasub. |
| 25664 | # FIXME: do we really want to maintain this feature? |
| 25665 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 25666 | ac_sed_extra="$ac_vpsub |
| 25667 | $extrasub |
| 25668 | _ACEOF |
| 25669 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 25670 | :t |
| 25671 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 25672 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 25673 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 25674 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 25675 | s&@srcdir@&$ac_srcdir&;t t |
| 25676 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 25677 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 25678 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 25679 | s&@builddir@&$ac_builddir&;t t |
| 25680 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 25681 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 25682 | s&@INSTALL@&$ac_INSTALL&;t t |
| 25683 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 25684 | $ac_datarootdir_hack |
| 25685 | " |
| 25686 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 25687 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 25688 | |
| 25689 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 25690 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 25691 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 25692 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 25693 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 25694 | which seems to be undefined. Please make sure it is defined" >&5 |
| 25695 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 25696 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 25697 | |
| 25698 | rm -f "$ac_tmp/stdin" |
| 25699 | case $ac_file in |
| 25700 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 25701 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 25702 | esac \ |
| 25703 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 25704 | ;; |
| 25705 | :H) |
| 25706 | # |
| 25707 | # CONFIG_HEADER |
| 25708 | # |
| 25709 | if test x"$ac_file" != x-; then |
| 25710 | { |
| 25711 | printf "%s\n" "/* $configure_input */" >&1 \ |
| 25712 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 25713 | } >"$ac_tmp/config.h" \ |
| 25714 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 25715 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 25716 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 25717 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 25718 | else |
| 25719 | rm -f "$ac_file" |
| 25720 | mv "$ac_tmp/config.h" "$ac_file" \ |
| 25721 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 25722 | fi |
| 25723 | else |
| 25724 | printf "%s\n" "/* $configure_input */" >&1 \ |
| 25725 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 25726 | || as_fn_error $? "could not create -" "$LINENO" 5 |
| 25727 | fi |
| 25728 | # Compute "$ac_file"'s index in $config_headers. |
| 25729 | _am_arg="$ac_file" |
| 25730 | _am_stamp_count=1 |
| 25731 | for _am_header in $config_headers :; do |
| 25732 | case $_am_header in |
| 25733 | $_am_arg | $_am_arg:* ) |
| 25734 | break ;; |
| 25735 | * ) |
| 25736 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 25737 | esac |
| 25738 | done |
| 25739 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 25740 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 25741 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 25742 | X"$_am_arg" : 'X\(//\)$' \| \ |
| 25743 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 25744 | printf "%s\n" X"$_am_arg" | |
| 25745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 25746 | s//\1/ |
| 25747 | q |
| 25748 | } |
| 25749 | /^X\(\/\/\)[^/].*/{ |
| 25750 | s//\1/ |
| 25751 | q |
| 25752 | } |
| 25753 | /^X\(\/\/\)$/{ |
| 25754 | s//\1/ |
| 25755 | q |
| 25756 | } |
| 25757 | /^X\(\/\).*/{ |
| 25758 | s//\1/ |
| 25759 | q |
| 25760 | } |
| 25761 | s/.*/./; q'`/stamp-h$_am_stamp_count |
| 25762 | ;; |
| 25763 | |
| 25764 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 25765 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 25766 | ;; |
| 25767 | esac |
| 25768 | |
| 25769 | |
| 25770 | case $ac_file$ac_mode in |
| 25771 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 25772 | # Older Autoconf quotes --file arguments for eval, but not when files |
| 25773 | # are listed without --file. Let's play safe and only enable the eval |
| 25774 | # if we detect the quoting. |
| 25775 | # TODO: see whether this extra hack can be removed once we start |
| 25776 | # requiring Autoconf 2.70 or later. |
| 25777 | case $CONFIG_FILES in #( |
| 25778 | *\'*) : |
| 25779 | eval set x "$CONFIG_FILES" ;; #( |
| 25780 | *) : |
| 25781 | set x $CONFIG_FILES ;; #( |
| 25782 | *) : |
| 25783 | ;; |
| 25784 | esac |
| 25785 | shift |
| 25786 | # Used to flag and report bootstrapping failures. |
| 25787 | am_rc=0 |
| 25788 | for am_mf |
| 25789 | do |
| 25790 | # Strip MF so we end up with the name of the file. |
| 25791 | am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 25792 | # Check whether this is an Automake generated Makefile which includes |
| 25793 | # dependency-tracking related rules and includes. |
| 25794 | # Grep'ing the whole file directly is not great: AIX grep has a line |
| 25795 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 25796 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 25797 | || continue |
| 25798 | am_dirpart=`$as_dirname -- "$am_mf" || |
| 25799 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 25800 | X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 25801 | X"$am_mf" : 'X\(//\)$' \| \ |
| 25802 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 25803 | printf "%s\n" X"$am_mf" | |
| 25804 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 25805 | s//\1/ |
| 25806 | q |
| 25807 | } |
| 25808 | /^X\(\/\/\)[^/].*/{ |
| 25809 | s//\1/ |
| 25810 | q |
| 25811 | } |
| 25812 | /^X\(\/\/\)$/{ |
| 25813 | s//\1/ |
| 25814 | q |
| 25815 | } |
| 25816 | /^X\(\/\).*/{ |
| 25817 | s//\1/ |
| 25818 | q |
| 25819 | } |
| 25820 | s/.*/./; q'` |
| 25821 | am_filepart=`$as_basename -- "$am_mf" || |
| 25822 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 25823 | X"$am_mf" : 'X\(//\)$' \| \ |
| 25824 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 25825 | printf "%s\n" X/"$am_mf" | |
| 25826 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 25827 | s//\1/ |
| 25828 | q |
| 25829 | } |
| 25830 | /^X\/\(\/\/\)$/{ |
| 25831 | s//\1/ |
| 25832 | q |
| 25833 | } |
| 25834 | /^X\/\(\/\).*/{ |
| 25835 | s//\1/ |
| 25836 | q |
| 25837 | } |
| 25838 | s/.*/./; q'` |
| 25839 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 25840 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 25841 | | $MAKE -f - am--depfiles" >&5 |
| 25842 | (cd "$am_dirpart" \ |
| 25843 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 25844 | | $MAKE -f - am--depfiles) >&5 2>&5 |
| 25845 | ac_status=$? |
| 25846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 25847 | (exit $ac_status); } || am_rc=$? |
| 25848 | done |
| 25849 | if test $am_rc -ne 0; then |
| 25850 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 25851 | printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 25852 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 25853 | for automatic dependency tracking. If GNU make was not used, consider |
| 25854 | re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 25855 | necessary). You can also try re-running configure with the |
| 25856 | '--disable-dependency-tracking' option to at least be able to build |
| 25857 | the package (albeit without support for automatic dependency tracking). |
| 25858 | See 'config.log' for more details" "$LINENO" 5; } |
| 25859 | fi |
| 25860 | { am_dirpart=; unset am_dirpart;} |
| 25861 | { am_filepart=; unset am_filepart;} |
| 25862 | { am_mf=; unset am_mf;} |
| 25863 | { am_rc=; unset am_rc;} |
| 25864 | rm -f conftest-deps.mk |
| 25865 | } |
| 25866 | ;; |
| 25867 | "libtool":C) |
| 25868 | |
| 25869 | # See if we are running on zsh, and set the options that allow our |
| 25870 | # commands through without removal of \ escapes. |
| 25871 | if test -n "${ZSH_VERSION+set}"; then |
| 25872 | setopt NO_GLOB_SUBST |
| 25873 | fi |
| 25874 | |
| 25875 | cfgfile=${ofile}T |
| 25876 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 25877 | $RM "$cfgfile" |
| 25878 | |
| 25879 | cat <<_LT_EOF >> "$cfgfile" |
| 25880 | #! $SHELL |
| 25881 | # Generated automatically by $as_me ($PACKAGE) $VERSION |
| 25882 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 25883 | |
| 25884 | # Provide generalized library-building support services. |
| 25885 | # Written by Gordon Matzigkeit, 1996 |
| 25886 | |
| 25887 | # Copyright (C) 2024 Free Software Foundation, Inc. |
| 25888 | # This is free software; see the source for copying conditions. There is NO |
| 25889 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 25890 | |
| 25891 | # GNU Libtool is free software; you can redistribute it and/or modify |
| 25892 | # it under the terms of the GNU General Public License as published by |
| 25893 | # the Free Software Foundation; either version 2 of the License, or |
| 25894 | # (at your option) any later version. |
| 25895 | # |
| 25896 | # As a special exception to the GNU General Public License, if you |
| 25897 | # distribute this file as part of a program or library that is built |
| 25898 | # using GNU Libtool, you may include this file under the same |
| 25899 | # distribution terms that you use for the rest of that program. |
| 25900 | # |
| 25901 | # GNU Libtool is distributed in the hope that it will be useful, but |
| 25902 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 25903 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 25904 | # GNU General Public License for more details. |
| 25905 | # |
| 25906 | # You should have received a copy of the GNU General Public License |
| 25907 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 25908 | |
| 25909 | |
| 25910 | # The names of the tagged configurations supported by this script. |
| 25911 | available_tags='CXX ' |
| 25912 | |
| 25913 | # Configured defaults for sys_lib_dlsearch_path munging. |
| 25914 | : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 25915 | |
| 25916 | # ### BEGIN LIBTOOL CONFIG |
| 25917 | |
| 25918 | # Which release of libtool.m4 was used? |
| 25919 | macro_version=$macro_version |
| 25920 | macro_revision=$macro_revision |
| 25921 | |
| 25922 | # Whether or not to build shared libraries. |
| 25923 | build_libtool_libs=$enable_shared |
| 25924 | |
| 25925 | # Whether or not to build static libraries. |
| 25926 | build_old_libs=$enable_static |
| 25927 | |
| 25928 | # What type of objects to build. |
| 25929 | pic_mode=$pic_mode |
| 25930 | |
| 25931 | # Whether or not to optimize for fast installation. |
| 25932 | fast_install=$enable_fast_install |
| 25933 | |
| 25934 | # Shared archive member basename,for filename based shared library versioning on AIX. |
| 25935 | shared_archive_member_spec=$shared_archive_member_spec |
| 25936 | |
| 25937 | # Shell to use when invoking shell scripts. |
| 25938 | SHELL=$lt_SHELL |
| 25939 | |
| 25940 | # An echo program that protects backslashes. |
| 25941 | ECHO=$lt_ECHO |
| 25942 | |
| 25943 | # The PATH separator for the build system. |
| 25944 | PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 25945 | |
| 25946 | # The host system. |
| 25947 | host_alias=$host_alias |
| 25948 | host=$host |
| 25949 | host_os=$host_os |
| 25950 | |
| 25951 | # The build system. |
| 25952 | build_alias=$build_alias |
| 25953 | build=$build |
| 25954 | build_os=$build_os |
| 25955 | |
| 25956 | # A sed program that does not truncate output. |
| 25957 | SED=$lt_SED |
| 25958 | |
| 25959 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 25960 | Xsed="\$SED -e 1s/^X//" |
| 25961 | |
| 25962 | # A grep program that handles long lines. |
| 25963 | GREP=$lt_GREP |
| 25964 | |
| 25965 | # An ERE matcher. |
| 25966 | EGREP=$lt_EGREP |
| 25967 | |
| 25968 | # A literal string matcher. |
| 25969 | FGREP=$lt_FGREP |
| 25970 | |
| 25971 | # A BSD- or MS-compatible name lister. |
| 25972 | NM=$lt_NM |
| 25973 | |
| 25974 | # Whether we need soft or hard links. |
| 25975 | LN_S=$lt_LN_S |
| 25976 | |
| 25977 | # What is the maximum length of a command? |
| 25978 | max_cmd_len=$max_cmd_len |
| 25979 | |
| 25980 | # Object file suffix (normally "o"). |
| 25981 | objext=$ac_objext |
| 25982 | |
| 25983 | # Executable file suffix (normally ""). |
| 25984 | exeext=$exeext |
| 25985 | |
| 25986 | # whether the shell understands "unset". |
| 25987 | lt_unset=$lt_unset |
| 25988 | |
| 25989 | # turn spaces into newlines. |
| 25990 | SP2NL=$lt_lt_SP2NL |
| 25991 | |
| 25992 | # turn newlines into spaces. |
| 25993 | NL2SP=$lt_lt_NL2SP |
| 25994 | |
| 25995 | # convert \$build file names to \$host format. |
| 25996 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 25997 | |
| 25998 | # convert \$build files to toolchain format. |
| 25999 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 26000 | |
| 26001 | # A file(cmd) program that detects file types. |
| 26002 | FILECMD=$lt_FILECMD |
| 26003 | |
| 26004 | # An object symbol dumper. |
| 26005 | OBJDUMP=$lt_OBJDUMP |
| 26006 | |
| 26007 | # Method to check whether dependent libraries are shared objects. |
| 26008 | deplibs_check_method=$lt_deplibs_check_method |
| 26009 | |
| 26010 | # Command to use when deplibs_check_method = "file_magic". |
| 26011 | file_magic_cmd=$lt_file_magic_cmd |
| 26012 | |
| 26013 | # How to find potential files when deplibs_check_method = "file_magic". |
| 26014 | file_magic_glob=$lt_file_magic_glob |
| 26015 | |
| 26016 | # Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 26017 | want_nocaseglob=$lt_want_nocaseglob |
| 26018 | |
| 26019 | # DLL creation program. |
| 26020 | DLLTOOL=$lt_DLLTOOL |
| 26021 | |
| 26022 | # Command to associate shared and link libraries. |
| 26023 | sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 26024 | |
| 26025 | # The archiver. |
| 26026 | AR=$lt_AR |
| 26027 | |
| 26028 | # Flags to create an archive (by configure). |
| 26029 | lt_ar_flags=$lt_ar_flags |
| 26030 | |
| 26031 | # Flags to create an archive. |
| 26032 | AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 26033 | |
| 26034 | # How to feed a file listing to the archiver. |
| 26035 | archiver_list_spec=$lt_archiver_list_spec |
| 26036 | |
| 26037 | # A symbol stripping program. |
| 26038 | STRIP=$lt_STRIP |
| 26039 | |
| 26040 | # Commands used to install an old-style archive. |
| 26041 | RANLIB=$lt_RANLIB |
| 26042 | old_postinstall_cmds=$lt_old_postinstall_cmds |
| 26043 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 26044 | |
| 26045 | # Whether to use a lock for old archive extraction. |
| 26046 | lock_old_archive_extraction=$lock_old_archive_extraction |
| 26047 | |
| 26048 | # A C compiler. |
| 26049 | LTCC=$lt_CC |
| 26050 | |
| 26051 | # LTCC compiler flags. |
| 26052 | LTCFLAGS=$lt_CFLAGS |
| 26053 | |
| 26054 | # Take the output of nm and produce a listing of raw symbols and C names. |
| 26055 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 26056 | |
| 26057 | # Transform the output of nm in a proper C declaration. |
| 26058 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 26059 | |
| 26060 | # Transform the output of nm into a list of symbols to manually relocate. |
| 26061 | global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
| 26062 | |
| 26063 | # Transform the output of nm in a C name address pair. |
| 26064 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 26065 | |
| 26066 | # Transform the output of nm in a C name address pair when lib prefix is needed. |
| 26067 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 26068 | |
| 26069 | # The name lister interface. |
| 26070 | nm_interface=$lt_lt_cv_nm_interface |
| 26071 | |
| 26072 | # Specify filename containing input files for \$NM. |
| 26073 | nm_file_list_spec=$lt_nm_file_list_spec |
| 26074 | |
| 26075 | # The root where to search for dependent libraries,and where our libraries should be installed. |
| 26076 | lt_sysroot=$lt_sysroot |
| 26077 | |
| 26078 | # Command to truncate a binary pipe. |
| 26079 | lt_truncate_bin=$lt_lt_cv_truncate_bin |
| 26080 | |
| 26081 | # The name of the directory that contains temporary libtool files. |
| 26082 | objdir=$objdir |
| 26083 | |
| 26084 | # Used to examine libraries when file_magic_cmd begins with "file". |
| 26085 | MAGIC_CMD=$MAGIC_CMD |
| 26086 | |
| 26087 | # Must we lock files when doing compilation? |
| 26088 | need_locks=$lt_need_locks |
| 26089 | |
| 26090 | # Manifest tool. |
| 26091 | MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 26092 | |
| 26093 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 26094 | DSYMUTIL=$lt_DSYMUTIL |
| 26095 | |
| 26096 | # Tool to change global to local symbols on Mac OS X. |
| 26097 | NMEDIT=$lt_NMEDIT |
| 26098 | |
| 26099 | # Tool to manipulate fat objects and archives on Mac OS X. |
| 26100 | LIPO=$lt_LIPO |
| 26101 | |
| 26102 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. |
| 26103 | OTOOL=$lt_OTOOL |
| 26104 | |
| 26105 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
| 26106 | OTOOL64=$lt_OTOOL64 |
| 26107 | |
| 26108 | # Old archive suffix (normally "a"). |
| 26109 | libext=$libext |
| 26110 | |
| 26111 | # Shared library suffix (normally ".so"). |
| 26112 | shrext_cmds=$lt_shrext_cmds |
| 26113 | |
| 26114 | # The commands to extract the exported symbol list from a shared archive. |
| 26115 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
| 26116 | |
| 26117 | # Variables whose values should be saved in libtool wrapper scripts and |
| 26118 | # restored at link time. |
| 26119 | variables_saved_for_relink=$lt_variables_saved_for_relink |
| 26120 | |
| 26121 | # Do we need the "lib" prefix for modules? |
| 26122 | need_lib_prefix=$need_lib_prefix |
| 26123 | |
| 26124 | # Do we need a version for libraries? |
| 26125 | need_version=$need_version |
| 26126 | |
| 26127 | # Library versioning type. |
| 26128 | version_type=$version_type |
| 26129 | |
| 26130 | # Shared library runtime path variable. |
| 26131 | runpath_var=$runpath_var |
| 26132 | |
| 26133 | # Shared library path variable. |
| 26134 | shlibpath_var=$shlibpath_var |
| 26135 | |
| 26136 | # Is shlibpath searched before the hard-coded library search path? |
| 26137 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
| 26138 | |
| 26139 | # Format of library name prefix. |
| 26140 | libname_spec=$lt_libname_spec |
| 26141 | |
| 26142 | # List of archive names. First name is the real one, the rest are links. |
| 26143 | # The last name is the one that the linker finds with -lNAME |
| 26144 | library_names_spec=$lt_library_names_spec |
| 26145 | |
| 26146 | # The coded name of the library, if different from the real name. |
| 26147 | soname_spec=$lt_soname_spec |
| 26148 | |
| 26149 | # Permission mode override for installation of shared libraries. |
| 26150 | install_override_mode=$lt_install_override_mode |
| 26151 | |
| 26152 | # Command to use after installation of a shared archive. |
| 26153 | postinstall_cmds=$lt_postinstall_cmds |
| 26154 | |
| 26155 | # Command to use after uninstallation of a shared archive. |
| 26156 | postuninstall_cmds=$lt_postuninstall_cmds |
| 26157 | |
| 26158 | # Commands used to finish a libtool library installation in a directory. |
| 26159 | finish_cmds=$lt_finish_cmds |
| 26160 | |
| 26161 | # As "finish_cmds", except a single script fragment to be evaled but |
| 26162 | # not shown. |
| 26163 | finish_eval=$lt_finish_eval |
| 26164 | |
| 26165 | # Whether we should hardcode library paths into libraries. |
| 26166 | hardcode_into_libs=$hardcode_into_libs |
| 26167 | |
| 26168 | # Compile-time system search path for libraries. |
| 26169 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 26170 | |
| 26171 | # Detected run-time system search path for libraries. |
| 26172 | sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 26173 | |
| 26174 | # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 26175 | configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 26176 | |
| 26177 | # Whether dlopen is supported. |
| 26178 | dlopen_support=$enable_dlopen |
| 26179 | |
| 26180 | # Whether dlopen of programs is supported. |
| 26181 | dlopen_self=$enable_dlopen_self |
| 26182 | |
| 26183 | # Whether dlopen of statically linked programs is supported. |
| 26184 | dlopen_self_static=$enable_dlopen_self_static |
| 26185 | |
| 26186 | # Commands to strip libraries. |
| 26187 | old_striplib=$lt_old_striplib |
| 26188 | striplib=$lt_striplib |
| 26189 | |
| 26190 | |
| 26191 | # The linker used to build libraries. |
| 26192 | LD=$lt_LD |
| 26193 | |
| 26194 | # How to create reloadable object files. |
| 26195 | reload_flag=$lt_reload_flag |
| 26196 | reload_cmds=$lt_reload_cmds |
| 26197 | |
| 26198 | # Commands used to build an old-style archive. |
| 26199 | old_archive_cmds=$lt_old_archive_cmds |
| 26200 | |
| 26201 | # A language specific compiler. |
| 26202 | CC=$lt_compiler |
| 26203 | |
| 26204 | # Is the compiler the GNU compiler? |
| 26205 | with_gcc=$GCC |
| 26206 | |
| 26207 | # Compiler flag to turn off builtin functions. |
| 26208 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 26209 | |
| 26210 | # Additional compiler flags for building library objects. |
| 26211 | pic_flag=$lt_lt_prog_compiler_pic |
| 26212 | |
| 26213 | # How to pass a linker flag through the compiler. |
| 26214 | wl=$lt_lt_prog_compiler_wl |
| 26215 | |
| 26216 | # Compiler flag to prevent dynamic linking. |
| 26217 | link_static_flag=$lt_lt_prog_compiler_static |
| 26218 | |
| 26219 | # Does compiler simultaneously support -c and -o options? |
| 26220 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
| 26221 | |
| 26222 | # Whether or not to add -lc for building shared libraries. |
| 26223 | build_libtool_need_lc=$archive_cmds_need_lc |
| 26224 | |
| 26225 | # Whether or not to disallow shared libs when runtime libs are static. |
| 26226 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
| 26227 | |
| 26228 | # Compiler flag to allow reflexive dlopens. |
| 26229 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
| 26230 | |
| 26231 | # Compiler flag to generate shared objects directly from archives. |
| 26232 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
| 26233 | |
| 26234 | # Whether the compiler copes with passing no objects directly. |
| 26235 | compiler_needs_object=$lt_compiler_needs_object |
| 26236 | |
| 26237 | # Create an old-style archive from a shared archive. |
| 26238 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
| 26239 | |
| 26240 | # Create a temporary old-style archive to link instead of a shared archive. |
| 26241 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
| 26242 | |
| 26243 | # Commands used to build a shared archive. |
| 26244 | archive_cmds=$lt_archive_cmds |
| 26245 | archive_expsym_cmds=$lt_archive_expsym_cmds |
| 26246 | |
| 26247 | # Commands used to build a loadable module if different from building |
| 26248 | # a shared archive. |
| 26249 | module_cmds=$lt_module_cmds |
| 26250 | module_expsym_cmds=$lt_module_expsym_cmds |
| 26251 | |
| 26252 | # Whether we are building with GNU ld or not. |
| 26253 | with_gnu_ld=$lt_with_gnu_ld |
| 26254 | |
| 26255 | # Flag that allows shared libraries with undefined symbols to be built. |
| 26256 | allow_undefined_flag=$lt_allow_undefined_flag |
| 26257 | |
| 26258 | # Flag that enforces no undefined symbols. |
| 26259 | no_undefined_flag=$lt_no_undefined_flag |
| 26260 | |
| 26261 | # Flag to hardcode \$libdir into a binary during linking. |
| 26262 | # This must work even if \$libdir does not exist |
| 26263 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 26264 | |
| 26265 | # Whether we need a single "-rpath" flag with a separated argument. |
| 26266 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 26267 | |
| 26268 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 26269 | # DIR into the resulting binary. |
| 26270 | hardcode_direct=$hardcode_direct |
| 26271 | |
| 26272 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 26273 | # DIR into the resulting binary and the resulting library dependency is |
| 26274 | # "absolute",i.e. impossible to change by setting \$shlibpath_var if the |
| 26275 | # library is relocated. |
| 26276 | hardcode_direct_absolute=$hardcode_direct_absolute |
| 26277 | |
| 26278 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 26279 | # into the resulting binary. |
| 26280 | hardcode_minus_L=$hardcode_minus_L |
| 26281 | |
| 26282 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 26283 | # into the resulting binary. |
| 26284 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
| 26285 | |
| 26286 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 26287 | # into the library and all subsequent libraries and executables linked |
| 26288 | # against it. |
| 26289 | hardcode_automatic=$hardcode_automatic |
| 26290 | |
| 26291 | # Set to yes if linker adds runtime paths of dependent libraries |
| 26292 | # to runtime path list. |
| 26293 | inherit_rpath=$inherit_rpath |
| 26294 | |
| 26295 | # Whether libtool must link a program against all its dependency libraries. |
| 26296 | link_all_deplibs=$link_all_deplibs |
| 26297 | |
| 26298 | # Set to "yes" if exported symbols are required. |
| 26299 | always_export_symbols=$always_export_symbols |
| 26300 | |
| 26301 | # The commands to list exported symbols. |
| 26302 | export_symbols_cmds=$lt_export_symbols_cmds |
| 26303 | |
| 26304 | # Symbols that should not be listed in the preloaded symbols. |
| 26305 | exclude_expsyms=$lt_exclude_expsyms |
| 26306 | |
| 26307 | # Symbols that must always be exported. |
| 26308 | include_expsyms=$lt_include_expsyms |
| 26309 | |
| 26310 | # Commands necessary for linking programs (against libraries) with templates. |
| 26311 | prelink_cmds=$lt_prelink_cmds |
| 26312 | |
| 26313 | # Commands necessary for finishing linking programs. |
| 26314 | postlink_cmds=$lt_postlink_cmds |
| 26315 | |
| 26316 | # Specify filename containing input files. |
| 26317 | file_list_spec=$lt_file_list_spec |
| 26318 | |
| 26319 | # How to hardcode a shared library path into an executable. |
| 26320 | hardcode_action=$hardcode_action |
| 26321 | |
| 26322 | # The directories searched by this compiler when creating a shared library. |
| 26323 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
| 26324 | |
| 26325 | # Dependencies to place before and after the objects being linked to |
| 26326 | # create a shared library. |
| 26327 | predep_objects=$lt_predep_objects |
| 26328 | postdep_objects=$lt_postdep_objects |
| 26329 | predeps=$lt_predeps |
| 26330 | postdeps=$lt_postdeps |
| 26331 | |
| 26332 | # The library search path used internally by the compiler when linking |
| 26333 | # a shared library. |
| 26334 | compiler_lib_search_path=$lt_compiler_lib_search_path |
| 26335 | |
| 26336 | # ### END LIBTOOL CONFIG |
| 26337 | |
| 26338 | _LT_EOF |
| 26339 | |
| 26340 | cat <<'_LT_EOF' >> "$cfgfile" |
| 26341 | |
| 26342 | # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 26343 | |
| 26344 | # func_munge_path_list VARIABLE PATH |
| 26345 | # ----------------------------------- |
| 26346 | # VARIABLE is name of variable containing _space_ separated list of |
| 26347 | # directories to be munged by the contents of PATH, which is string |
| 26348 | # having a format: |
| 26349 | # "DIR[:DIR]:" |
| 26350 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 26351 | # ":DIR[:DIR]" |
| 26352 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 26353 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 26354 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 26355 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 26356 | # "DIR[:DIR]" |
| 26357 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 26358 | func_munge_path_list () |
| 26359 | { |
| 26360 | case x$2 in |
| 26361 | x) |
| 26362 | ;; |
| 26363 | *:) |
| 26364 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 26365 | ;; |
| 26366 | x:*) |
| 26367 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 26368 | ;; |
| 26369 | *::*) |
| 26370 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 26371 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 26372 | ;; |
| 26373 | *) |
| 26374 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 26375 | ;; |
| 26376 | esac |
| 26377 | } |
| 26378 | |
| 26379 | |
| 26380 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 26381 | func_cc_basename () |
| 26382 | { |
| 26383 | for cc_temp in $*""; do |
| 26384 | case $cc_temp in |
| 26385 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 26386 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 26387 | \-*) ;; |
| 26388 | *) break;; |
| 26389 | esac |
| 26390 | done |
| 26391 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 26392 | } |
| 26393 | |
| 26394 | |
| 26395 | # ### END FUNCTIONS SHARED WITH CONFIGURE |
| 26396 | |
| 26397 | _LT_EOF |
| 26398 | |
| 26399 | case $host_os in |
| 26400 | aix3*) |
| 26401 | cat <<\_LT_EOF >> "$cfgfile" |
| 26402 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 26403 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 26404 | # vanish in a puff of smoke. |
| 26405 | if test set != "${COLLECT_NAMES+set}"; then |
| 26406 | COLLECT_NAMES= |
| 26407 | export COLLECT_NAMES |
| 26408 | fi |
| 26409 | _LT_EOF |
| 26410 | ;; |
| 26411 | esac |
| 26412 | |
| 26413 | |
| 26414 | |
| 26415 | ltmain=$ac_aux_dir/ltmain.sh |
| 26416 | |
| 26417 | |
| 26418 | # We use sed instead of cat because bash on DJGPP gets confused if |
| 26419 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 26420 | # text mode, it properly converts lines to CR/LF. This bash problem |
| 26421 | # is reportedly fixed, but why not run on old versions too? |
| 26422 | $SED '$q' "$ltmain" >> "$cfgfile" \ |
| 26423 | || (rm -f "$cfgfile"; exit 1) |
| 26424 | |
| 26425 | mv -f "$cfgfile" "$ofile" || |
| 26426 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 26427 | chmod +x "$ofile" |
| 26428 | |
| 26429 | |
| 26430 | cat <<_LT_EOF >> "$ofile" |
| 26431 | |
| 26432 | # ### BEGIN LIBTOOL TAG CONFIG: CXX |
| 26433 | |
| 26434 | # The linker used to build libraries. |
| 26435 | LD=$lt_LD_CXX |
| 26436 | |
| 26437 | # How to create reloadable object files. |
| 26438 | reload_flag=$lt_reload_flag_CXX |
| 26439 | reload_cmds=$lt_reload_cmds_CXX |
| 26440 | |
| 26441 | # Commands used to build an old-style archive. |
| 26442 | old_archive_cmds=$lt_old_archive_cmds_CXX |
| 26443 | |
| 26444 | # A language specific compiler. |
| 26445 | CC=$lt_compiler_CXX |
| 26446 | |
| 26447 | # Is the compiler the GNU compiler? |
| 26448 | with_gcc=$GCC_CXX |
| 26449 | |
| 26450 | # Compiler flag to turn off builtin functions. |
| 26451 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
| 26452 | |
| 26453 | # Additional compiler flags for building library objects. |
| 26454 | pic_flag=$lt_lt_prog_compiler_pic_CXX |
| 26455 | |
| 26456 | # How to pass a linker flag through the compiler. |
| 26457 | wl=$lt_lt_prog_compiler_wl_CXX |
| 26458 | |
| 26459 | # Compiler flag to prevent dynamic linking. |
| 26460 | link_static_flag=$lt_lt_prog_compiler_static_CXX |
| 26461 | |
| 26462 | # Does compiler simultaneously support -c and -o options? |
| 26463 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
| 26464 | |
| 26465 | # Whether or not to add -lc for building shared libraries. |
| 26466 | build_libtool_need_lc=$archive_cmds_need_lc_CXX |
| 26467 | |
| 26468 | # Whether or not to disallow shared libs when runtime libs are static. |
| 26469 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
| 26470 | |
| 26471 | # Compiler flag to allow reflexive dlopens. |
| 26472 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
| 26473 | |
| 26474 | # Compiler flag to generate shared objects directly from archives. |
| 26475 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
| 26476 | |
| 26477 | # Whether the compiler copes with passing no objects directly. |
| 26478 | compiler_needs_object=$lt_compiler_needs_object_CXX |
| 26479 | |
| 26480 | # Create an old-style archive from a shared archive. |
| 26481 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
| 26482 | |
| 26483 | # Create a temporary old-style archive to link instead of a shared archive. |
| 26484 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
| 26485 | |
| 26486 | # Commands used to build a shared archive. |
| 26487 | archive_cmds=$lt_archive_cmds_CXX |
| 26488 | archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
| 26489 | |
| 26490 | # Commands used to build a loadable module if different from building |
| 26491 | # a shared archive. |
| 26492 | module_cmds=$lt_module_cmds_CXX |
| 26493 | module_expsym_cmds=$lt_module_expsym_cmds_CXX |
| 26494 | |
| 26495 | # Whether we are building with GNU ld or not. |
| 26496 | with_gnu_ld=$lt_with_gnu_ld_CXX |
| 26497 | |
| 26498 | # Flag that allows shared libraries with undefined symbols to be built. |
| 26499 | allow_undefined_flag=$lt_allow_undefined_flag_CXX |
| 26500 | |
| 26501 | # Flag that enforces no undefined symbols. |
| 26502 | no_undefined_flag=$lt_no_undefined_flag_CXX |
| 26503 | |
| 26504 | # Flag to hardcode \$libdir into a binary during linking. |
| 26505 | # This must work even if \$libdir does not exist |
| 26506 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
| 26507 | |
| 26508 | # Whether we need a single "-rpath" flag with a separated argument. |
| 26509 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
| 26510 | |
| 26511 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 26512 | # DIR into the resulting binary. |
| 26513 | hardcode_direct=$hardcode_direct_CXX |
| 26514 | |
| 26515 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 26516 | # DIR into the resulting binary and the resulting library dependency is |
| 26517 | # "absolute",i.e. impossible to change by setting \$shlibpath_var if the |
| 26518 | # library is relocated. |
| 26519 | hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
| 26520 | |
| 26521 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 26522 | # into the resulting binary. |
| 26523 | hardcode_minus_L=$hardcode_minus_L_CXX |
| 26524 | |
| 26525 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 26526 | # into the resulting binary. |
| 26527 | hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
| 26528 | |
| 26529 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 26530 | # into the library and all subsequent libraries and executables linked |
| 26531 | # against it. |
| 26532 | hardcode_automatic=$hardcode_automatic_CXX |
| 26533 | |
| 26534 | # Set to yes if linker adds runtime paths of dependent libraries |
| 26535 | # to runtime path list. |
| 26536 | inherit_rpath=$inherit_rpath_CXX |
| 26537 | |
| 26538 | # Whether libtool must link a program against all its dependency libraries. |
| 26539 | link_all_deplibs=$link_all_deplibs_CXX |
| 26540 | |
| 26541 | # Set to "yes" if exported symbols are required. |
| 26542 | always_export_symbols=$always_export_symbols_CXX |
| 26543 | |
| 26544 | # The commands to list exported symbols. |
| 26545 | export_symbols_cmds=$lt_export_symbols_cmds_CXX |
| 26546 | |
| 26547 | # Symbols that should not be listed in the preloaded symbols. |
| 26548 | exclude_expsyms=$lt_exclude_expsyms_CXX |
| 26549 | |
| 26550 | # Symbols that must always be exported. |
| 26551 | include_expsyms=$lt_include_expsyms_CXX |
| 26552 | |
| 26553 | # Commands necessary for linking programs (against libraries) with templates. |
| 26554 | prelink_cmds=$lt_prelink_cmds_CXX |
| 26555 | |
| 26556 | # Commands necessary for finishing linking programs. |
| 26557 | postlink_cmds=$lt_postlink_cmds_CXX |
| 26558 | |
| 26559 | # Specify filename containing input files. |
| 26560 | file_list_spec=$lt_file_list_spec_CXX |
| 26561 | |
| 26562 | # How to hardcode a shared library path into an executable. |
| 26563 | hardcode_action=$hardcode_action_CXX |
| 26564 | |
| 26565 | # The directories searched by this compiler when creating a shared library. |
| 26566 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
| 26567 | |
| 26568 | # Dependencies to place before and after the objects being linked to |
| 26569 | # create a shared library. |
| 26570 | predep_objects=$lt_predep_objects_CXX |
| 26571 | postdep_objects=$lt_postdep_objects_CXX |
| 26572 | predeps=$lt_predeps_CXX |
| 26573 | postdeps=$lt_postdeps_CXX |
| 26574 | |
| 26575 | # The library search path used internally by the compiler when linking |
| 26576 | # a shared library. |
| 26577 | compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
| 26578 | |
| 26579 | # ### END LIBTOOL TAG CONFIG: CXX |
| 26580 | _LT_EOF |
| 26581 | |
| 26582 | ;; |
| 26583 | |
| 26584 | esac |
| 26585 | done # for ac_tag |
| 26586 | |
| 26587 | |
| 26588 | as_fn_exit 0 |
| 26589 | _ACEOF |
| 26590 | ac_clean_files=$ac_clean_files_save |
| 26591 | |
| 26592 | testscip-shell system . . test. $ac_write_fail = 0 || |
| 26593 | as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 26594 | |
| 26595 | |
| 26596 | # configure is writing to config.log, and then calls config.status. |
| 26597 | # config.status does its own redirection, appending to config.log. |
| 26598 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 26599 | # by configure, so config.status won't be able to write to it; its |
| 26600 | # output is simply discarded. So we exec the FD to /dev/null, |
| 26601 | # effectively closing config.log, so it can be properly (re)opened and |
| 26602 | # appended to by config.status. When coming back to configure, we |
| 26603 | # need to make the FD available again. |
| 26604 | if testscip-shell system . . test. "$no_create" != yes; then |
| 26605 | ac_cs_success=: |
| 26606 | ac_config_status_args= |
| 26607 | testscip-shell system . . test. "$silent" = yes && |
| 26608 | ac_config_status_args="$ac_config_status_args --quiet" |
| 26609 | exec 5>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 26610 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 26611 | exec 5>>config.log |
| 26612 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 26613 | # would make configure fail if this is the last instruction. |
| 26614 | $ac_cs_success || as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1 |
| 26615 | fi |
| 26616 | if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then |
| 26617 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 26618 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 26619 | fi |
| 26620 | |
| 26621 |