Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for xgboost 3.2.1.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
19 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
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="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
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 \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
189 fi
190 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
191 then :
192
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
206 /*)
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
215 then :
216 break 2
217 fi
218 fi
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
232 fi
233 fi
234
235
236 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
237 then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
244 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
245 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if testscip-shell system . . test. x$as_have_required = xno
260 then :
261 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
262 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
263 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
264 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unsetscip-shell shell shell-project 0.0.0 as_fn_unset(). ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). ()
299 {
300 return $1
301 } # as_fn_set_status
302
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). ()
307 {
308 set +e
309 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_pscip-shell shell shell-project 0.0.0 as_fn_mkdir_p(). ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
343 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
344 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 testscip-shell system . . test. -d "$as_dir" && break
362 done
363 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || 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"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ()
373 {
374 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else $as_nop
389 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else $as_nop
407 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). ()
408 {
409 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
410 }
411 fi # as_fn_arith
412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
421
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). ()
428 {
429 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
430 if testscip-shell system . . test. "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433 fi
434 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
435 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). $as_status
436 } # as_fn_error
437
438 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
439 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
443 fi
444
445 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
446 as_basename=basename
447 else
448 as_basename=false
449 fi
450
451 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
452 as_dirname=dirname
453 else
454 as_dirname=false
455 fi
456
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
461 printfscip-shell system . . printf. "%s\n" X/"$0" |
462 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
464 q
465 }
466 /^X\/\(\/\/\)$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\).*/{
471 s//\1/
472 q
473 }
474 s/.*/./; q'`
475
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sedscip-shell system . . sed. -n '
490 p
491 /[$]LINENO/=
492 ' <$as_myself |
493 sedscip-shell system . . sed. '
494 s/[$]LINENO.*/&-/
495 t lineno
496 b
497 :lineno
498 N
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
505 { 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; }
506
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
517 }
518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echoscip-shell system . . echo. -n x` in #(((((
525 -n*)
526 case `echoscip-shell system . . echo. 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
530 ECHO_T=' ';;
531 esac;;
532 *)
533 ECHO_N='-n';;
534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
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_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
588 exec 6>&1
589
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
594
595 #
596 # Initializations.
597 #
598 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
606
607 # Identity of this package.
608 PACKAGE_NAME='xgboost'
609 PACKAGE_TARNAME='xgboost'
610 PACKAGE_VERSION='3.2.1'
611 PACKAGE_STRING='xgboost 3.2.1'
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
614
615 # Factoring default headers for most tests.
616 ac_includes_default="\
617 #include <stddef.h>
618 #ifdef HAVE_STDIO_H
619 # include <stdio.h>
620 #endif
621 #ifdef HAVE_STDLIB_H
622 # include <stdlib.h>
623 #endif
624 #ifdef HAVE_STRING_H
625 # include <string.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_STRINGS_H
634 # include <strings.h>
635 #endif
636 #ifdef HAVE_SYS_TYPES_H
637 # include <sys/types.h>
638 #endif
639 #ifdef HAVE_SYS_STAT_H
640 # include <sys/stat.h>
641 #endif
642 #ifdef HAVE_UNISTD_H
643 # include <unistd.h>
644 #endif"
645
646 ac_header_cxx_list=
647 ac_subst_vars='LTLIBOBJS
648 LIBOBJS
649 XGBOOST_MM_PREFETCH_PRESENT
650 XGBOOST_BUILTIN_PREFETCH_PRESENT
651 BACKTRACE_LIB
652 DMLC_DEFS
653 ENDIAN_FLAG
654 OPENMP_LIB
655 OPENMP_CXXFLAGS
656 USE_LITTLE_ENDIAN
657 OBJEXT
658 EXEEXT
659 ac_ct_CXX
660 CPPFLAGS
661 LDFLAGS
662 CXXFLAGS
663 CXX
664 target_alias
665 host_alias
666 build_alias
667 LIBS
668 ECHO_T
669 ECHO_N
670 ECHO_C
671 DEFS
672 mandir
673 localedir
674 libdir
675 psdir
676 pdfdir
677 dvidir
678 htmldir
679 infodir
680 docdir
681 oldincludedir
682 includedir
683 runstatedir
684 localstatedir
685 sharedstatedir
686 sysconfdir
687 datadir
688 datarootdir
689 libexecdir
690 sbindir
691 bindir
692 program_transform_name
693 prefix
694 exec_prefix
695 PACKAGE_URL
696 PACKAGE_BUGREPORT
697 PACKAGE_STRING
698 PACKAGE_VERSION
699 PACKAGE_TARNAME
700 PACKAGE_NAME
701 PATH_SEPARATOR
702 SHELL'
703 ac_subst_files=''
704 ac_user_opts='
705 enable_option_checking
706 '
707 ac_precious_vars='build_alias
708 host_alias
709 target_alias
710 CXX
711 CXXFLAGS
712 LDFLAGS
713 LIBS
714 CPPFLAGS
715 CCC
716 USE_LITTLE_ENDIAN'
717
718
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
727 exec_prefix=NONE
728 no_create=
729 no_recursion=
730 prefix=NONE
731 program_prefix=NONE
732 program_suffix=NONE
733 program_transform_name=s,x,x,
734 silent=
735 site=
736 srcdir=
737 verbose=
738 x_includes=NONE
739 x_libraries=NONE
740
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 runstatedir='${localstatedir}/run'
756 includedir='${prefix}/include'
757 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
759 infodir='${datarootdir}/info'
760 htmldir='${docdir}'
761 dvidir='${docdir}'
762 pdfdir='${docdir}'
763 psdir='${docdir}'
764 libdir='${exec_prefix}/lib'
765 localedir='${datarootdir}/locale'
766 mandir='${datarootdir}/man'
767
768 ac_prev=
769 ac_dashdash=
770 for ac_option
771 do
772 # If the previous option needs an argument, assign it.
773 if testscip-shell system . . test. -n "$ac_prev"; then
774 eval $ac_prev=\$ac_option
775 ac_prev=
776 continue
777 fi
778
779 case $ac_option in
780 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 *=) ac_optarg= ;;
782 *) ac_optarg=yes ;;
783 esac
784
785 case $ac_dashdash$ac_option in
786 --)
787 ac_dashdash=yes ;;
788
789 -bindir | --bindir | --bindi | --bind | --bin | --bi)
790 ac_prev=bindir ;;
791 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
792 bindir=$ac_optarg ;;
793
794 -build | --build | --buil | --bui | --bu)
795 ac_prev=build_alias ;;
796 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
797 build_alias=$ac_optarg ;;
798
799 -cache-file | --cache-file | --cache-fil | --cache-fi \
800 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
801 ac_prev=cache_file ;;
802 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
803 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
804 cache_file=$ac_optarg ;;
805
806 --config-cache | -C)
807 cache_file=config.cache ;;
808
809 -datadir | --datadir | --datadi | --datad)
810 ac_prev=datadir ;;
811 -datadir=* | --datadir=* | --datadi=* | --datad=*)
812 datadir=$ac_optarg ;;
813
814 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
815 | --dataroo | --dataro | --datar)
816 ac_prev=datarootdir ;;
817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819 datarootdir=$ac_optarg ;;
820
821 -disable-* | --disable-*)
822 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
825 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
826 ac_useropt_orig=$ac_useropt
827 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
828 case $ac_user_opts in
829 *"
830 "enable_$ac_useropt"
831 "*) ;;
832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833 ac_unrecognized_sep=', ';;
834 esac
835 eval enable_$ac_useropt=no ;;
836
837 -docdir | --docdir | --docdi | --doc | --do)
838 ac_prev=docdir ;;
839 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840 docdir=$ac_optarg ;;
841
842 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
843 ac_prev=dvidir ;;
844 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845 dvidir=$ac_optarg ;;
846
847 -enable-* | --enable-*)
848 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
849 # Reject names that are not valid shell variable names.
850 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
851 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
852 ac_useropt_orig=$ac_useropt
853 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
854 case $ac_user_opts in
855 *"
856 "enable_$ac_useropt"
857 "*) ;;
858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859 ac_unrecognized_sep=', ';;
860 esac
861 eval enable_$ac_useropt=\$ac_optarg ;;
862
863 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
864 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
865 | --exec | --exe | --ex)
866 ac_prev=exec_prefix ;;
867 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
868 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
869 | --exec=* | --exe=* | --ex=*)
870 exec_prefix=$ac_optarg ;;
871
872 -gas | --gas | --ga | --g)
873 # Obsolete; use --with-gas.
874 with_gas=yes ;;
875
876 -help | --help | --hel | --he | -h)
877 ac_init_help=long ;;
878 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
879 ac_init_help=recursive ;;
880 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
881 ac_init_help=short ;;
882
883 -host | --host | --hos | --ho)
884 ac_prev=host_alias ;;
885 -host=* | --host=* | --hos=* | --ho=*)
886 host_alias=$ac_optarg ;;
887
888 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
889 ac_prev=htmldir ;;
890 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
891 | --ht=*)
892 htmldir=$ac_optarg ;;
893
894 -includedir | --includedir | --includedi | --included | --include \
895 | --includ | --inclu | --incl | --inc)
896 ac_prev=includedir ;;
897 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
898 | --includ=* | --inclu=* | --incl=* | --inc=*)
899 includedir=$ac_optarg ;;
900
901 -infodir | --infodir | --infodi | --infod | --info | --inf)
902 ac_prev=infodir ;;
903 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
904 infodir=$ac_optarg ;;
905
906 -libdir | --libdir | --libdi | --libd)
907 ac_prev=libdir ;;
908 -libdir=* | --libdir=* | --libdi=* | --libd=*)
909 libdir=$ac_optarg ;;
910
911 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
912 | --libexe | --libex | --libe)
913 ac_prev=libexecdir ;;
914 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
915 | --libexe=* | --libex=* | --libe=*)
916 libexecdir=$ac_optarg ;;
917
918 -localedir | --localedir | --localedi | --localed | --locale)
919 ac_prev=localedir ;;
920 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
921 localedir=$ac_optarg ;;
922
923 -localstatedir | --localstatedir | --localstatedi | --localstated \
924 | --localstate | --localstat | --localsta | --localst | --locals)
925 ac_prev=localstatedir ;;
926 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
927 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
928 localstatedir=$ac_optarg ;;
929
930 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
931 ac_prev=mandir ;;
932 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
933 mandir=$ac_optarg ;;
934
935 -nfp | --nfp | --nf)
936 # Obsolete; use --without-fp.
937 with_fp=no ;;
938
939 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
940 | --no-cr | --no-c | -n)
941 no_create=yes ;;
942
943 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
944 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
945 no_recursion=yes ;;
946
947 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
948 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
949 | --oldin | --oldi | --old | --ol | --o)
950 ac_prev=oldincludedir ;;
951 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
952 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
953 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
954 oldincludedir=$ac_optarg ;;
955
956 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
957 ac_prev=prefix ;;
958 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
959 prefix=$ac_optarg ;;
960
961 -program-prefix | --program-prefix | --program-prefi | --program-pref \
962 | --program-pre | --program-pr | --program-p)
963 ac_prev=program_prefix ;;
964 -program-prefix=* | --program-prefix=* | --program-prefi=* \
965 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
966 program_prefix=$ac_optarg ;;
967
968 -program-suffix | --program-suffix | --program-suffi | --program-suff \
969 | --program-suf | --program-su | --program-s)
970 ac_prev=program_suffix ;;
971 -program-suffix=* | --program-suffix=* | --program-suffi=* \
972 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
973 program_suffix=$ac_optarg ;;
974
975 -program-transform-name | --program-transform-name \
976 | --program-transform-nam | --program-transform-na \
977 | --program-transform-n | --program-transform- \
978 | --program-transform | --program-transfor \
979 | --program-transfo | --program-transf \
980 | --program-trans | --program-tran \
981 | --progr-tra | --program-tr | --program-t)
982 ac_prev=program_transform_name ;;
983 -program-transform-name=* | --program-transform-name=* \
984 | --program-transform-nam=* | --program-transform-na=* \
985 | --program-transform-n=* | --program-transform-=* \
986 | --program-transform=* | --program-transfor=* \
987 | --program-transfo=* | --program-transf=* \
988 | --program-trans=* | --program-tran=* \
989 | --progr-tra=* | --program-tr=* | --program-t=*)
990 program_transform_name=$ac_optarg ;;
991
992 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
993 ac_prev=pdfdir ;;
994 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
995 pdfdir=$ac_optarg ;;
996
997 -psdir | --psdir | --psdi | --psd | --ps)
998 ac_prev=psdir ;;
999 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1000 psdir=$ac_optarg ;;
1001
1002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1003 | -silent | --silent | --silen | --sile | --sil)
1004 silent=yes ;;
1005
1006 -runstatedir | --runstatedir | --runstatedi | --runstated \
1007 | --runstate | --runstat | --runsta | --runst | --runs \
1008 | --run | --ru | --r)
1009 ac_prev=runstatedir ;;
1010 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1011 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1012 | --run=* | --ru=* | --r=*)
1013 runstatedir=$ac_optarg ;;
1014
1015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1016 ac_prev=sbindir ;;
1017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1018 | --sbi=* | --sb=*)
1019 sbindir=$ac_optarg ;;
1020
1021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023 | --sharedst | --shareds | --shared | --share | --shar \
1024 | --sha | --sh)
1025 ac_prev=sharedstatedir ;;
1026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1029 | --sha=* | --sh=*)
1030 sharedstatedir=$ac_optarg ;;
1031
1032 -site | --site | --sit)
1033 ac_prev=site ;;
1034 -site=* | --site=* | --sit=*)
1035 site=$ac_optarg ;;
1036
1037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1038 ac_prev=srcdir ;;
1039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040 srcdir=$ac_optarg ;;
1041
1042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043 | --syscon | --sysco | --sysc | --sys | --sy)
1044 ac_prev=sysconfdir ;;
1045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047 sysconfdir=$ac_optarg ;;
1048
1049 -target | --target | --targe | --targ | --tar | --ta | --t)
1050 ac_prev=target_alias ;;
1051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052 target_alias=$ac_optarg ;;
1053
1054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055 verbose=yes ;;
1056
1057 -version | --version | --versio | --versi | --vers | -V)
1058 ac_init_version=: ;;
1059
1060 -with-* | --with-*)
1061 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1064 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1068 *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1073 esac
1074 eval with_$ac_useropt=\$ac_optarg ;;
1075
1076 -without-* | --without-*)
1077 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1080 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1084 *"
1085 "with_$ac_useropt"
1086 "*) ;;
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1089 esac
1090 eval with_$ac_useropt=no ;;
1091
1092 --x)
1093 # Obsolete; use --with-x.
1094 with_x=yes ;;
1095
1096 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1097 | --x-incl | --x-inc | --x-in | --x-i)
1098 ac_prev=x_includes ;;
1099 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1100 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1101 x_includes=$ac_optarg ;;
1102
1103 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1104 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1105 ac_prev=x_libraries ;;
1106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1108 x_libraries=$ac_optarg ;;
1109
1110 -*) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized option: \`$ac_option'
1111 Try \`$0 --help' for more information"
1112 ;;
1113
1114 *=*)
1115 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1116 # Reject names that are not valid shell variable names.
1117 case $ac_envvar in #(
1118 '' | [0-9]* | *[!_$as_cr_alnum]* )
1119 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1120 esac
1121 eval $ac_envvar=\$ac_optarg
1122 export $ac_envvar ;;
1123
1124 *)
1125 # FIXME: should be removed in autoconf 3.0.
1126 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1127 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1128 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1130 ;;
1131
1132 esac
1133 done
1134
1135 if testscip-shell system . . test. -n "$ac_prev"; then
1136 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1137 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "missing argument to $ac_option"
1138 fi
1139
1140 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1141 case $enable_option_checking in
1142 no) ;;
1143 fatal) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1144 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145 esac
1146 fi
1147
1148 # Check all directory arguments for consistency.
1149 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150 datadir sysconfdir sharedstatedir localstatedir includedir \
1151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152 libdir localedir mandir runstatedir
1153 do
1154 eval ac_val=\$$ac_var
1155 # Remove trailing slashes.
1156 case $ac_val in
1157 */ )
1158 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159 eval $ac_var=\$ac_val;;
1160 esac
1161 # Be sure to have absolute directory names.
1162 case $ac_val in
1163 [\\/$]* | ?:[\\/]* ) continue;;
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1165 esac
1166 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1167 done
1168
1169 # There might be people who depend on the old broken behavior: `$host'
1170 # used to hold the argument of --host etc.
1171 # FIXME: To remove some day.
1172 build=$build_alias
1173 host=$host_alias
1174 target=$target_alias
1175
1176 # FIXME: To remove some day.
1177 if testscip-shell system . . test. "x$host_alias" != x; then
1178 if testscip-shell system . . test. "x$build_alias" = x; then
1179 cross_compiling=maybe
1180 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1181 cross_compiling=yes
1182 fi
1183 fi
1184
1185 ac_tool_prefix=
1186 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1187
1188 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1189
1190
1191 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1192 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1194 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "working directory cannot be determined"
1195 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pwd does not report name of working directory"
1197
1198
1199 # Find the source files, if location was not specified.
1200 if testscip-shell system . . test. -z "$srcdir"; then
1201 ac_srcdir_defaulted=yes
1202 # Try the directory containing this script, then the parent directory.
1203 ac_confdir=`$as_dirname -- "$as_myself" ||
1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 X"$as_myself" : 'X\(//\)[^/]' \| \
1206 X"$as_myself" : 'X\(//\)$' \| \
1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1208 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1209 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 s//\1/
1211 q
1212 }
1213 /^X\(\/\/\)[^/].*/{
1214 s//\1/
1215 q
1216 }
1217 /^X\(\/\/\)$/{
1218 s//\1/
1219 q
1220 }
1221 /^X\(\/\).*/{
1222 s//\1/
1223 q
1224 }
1225 s/.*/./; q'`
1226 srcdir=$ac_confdir
1227 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1228 srcdir=..
1229 fi
1230 else
1231 ac_srcdir_defaulted=no
1232 fi
1233 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1234 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1236 fi
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238 ac_abs_confdir=`(
1239 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"
1240 pwdscip-shell system . . pwd.)`
1241 # When building in place, set srcdir=.
1242 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1243 srcdir=.
1244 fi
1245 # Remove unnecessary trailing slashes from srcdir.
1246 # Double slashes in file names in object file debugging info
1247 # mess up M-x gdb in Emacs.
1248 case $srcdir in
1249 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250 esac
1251 for ac_var in $ac_precious_vars; do
1252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253 eval ac_env_${ac_var}_value=\$${ac_var}
1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1256 done
1257
1258 #
1259 # Report the --help message.
1260 #
1261 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1262 # Omit some internal or obsolete options to make the list less imposing.
1263 # This message is too long to be a string in the A/UX 3.1 sh.
1264 catscip-shell system . . cat. <<_ACEOF
1265 \`configure' configures xgboost 3.2.1 to adapt to many kinds of systems.
1266
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1268
1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270 VAR=VALUE. See below for descriptions of some of the useful variables.
1271
1272 Defaults for the options are specified in brackets.
1273
1274 Configuration:
1275 -h, --help display this help and exit
1276 --help=short display options specific to this package
1277 --help=recursive display the short help of all the included packages
1278 -V, --version display version information and exit
1279 -q, --quiet, --silent do not print \`checking ...' messages
1280 --cache-file=FILE cache test results in FILE [disabled]
1281 -C, --config-cache alias for \`--cache-file=config.cache'
1282 -n, --no-create do not create output files
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1284
1285 Installation directories:
1286 --prefix=PREFIX install architecture-independent files in PREFIX
1287 [$ac_default_prefix]
1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1289 [PREFIX]
1290
1291 By default, \`make install' will install all the files in
1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294 for instance \`--prefix=\$HOME'.
1295
1296 For better control, use the options below.
1297
1298 Fine tuning of the installation directories:
1299 --bindir=DIR user executables [EPREFIX/bin]
1300 --sbindir=DIR system admin executables [EPREFIX/sbin]
1301 --libexecdir=DIR program executables [EPREFIX/libexec]
1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1306 --libdir=DIR object code libraries [EPREFIX/lib]
1307 --includedir=DIR C header files [PREFIX/include]
1308 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1309 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1310 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1311 --infodir=DIR info documentation [DATAROOTDIR/info]
1312 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1313 --mandir=DIR man documentation [DATAROOTDIR/man]
1314 --docdir=DIR documentation root [DATAROOTDIR/doc/xgboost]
1315 --htmldir=DIR html documentation [DOCDIR]
1316 --dvidir=DIR dvi documentation [DOCDIR]
1317 --pdfdir=DIR pdf documentation [DOCDIR]
1318 --psdir=DIR ps documentation [DOCDIR]
1319 _ACEOF
1320
1321 catscip-shell system . . cat. <<\_ACEOF
1322 _ACEOF
1323 fi
1324
1325 if testscip-shell system . . test. -n "$ac_init_help"; then
1326 case $ac_init_help in
1327 short | recursive ) echoscip-shell system . . echo. "Configuration of xgboost 3.2.1:";;
1328 esac
1329 catscip-shell system . . cat. <<\_ACEOF
1330
1331 Some influential environment variables:
1332 CXX C++ compiler command
1333 CXXFLAGS C++ compiler flags
1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1335 nonstandard directory <lib dir>
1336 LIBS libraries to pass to the linker, e.g. -l<library>
1337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1338 you have headers in a nonstandard directory <include dir>
1339 USE_LITTLE_ENDIAN
1340 "Whether to build with little endian (checks at compile time if
1341 unset)"
1342
1343 Use these variables to override the choices made by `configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1345
1346 Report bugs to the package provider.
1347 _ACEOF
1348 ac_status=$?
1349 fi
1350
1351 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1354 testscip-shell system . . test. -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1356 continue
1357 ac_builddir=.
1358
1359 case "$ac_dir" in
1360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *)
1362 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368 esac ;;
1369 esac
1370 ac_abs_top_builddir=$ac_pwd
1371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir=$ac_top_build_prefix
1374
1375 case $srcdir in
1376 .) # We are building in place.
1377 ac_srcdir=.
1378 ac_top_srcdir=$ac_top_builddir_sub
1379 ac_abs_top_srcdir=$ac_pwd ;;
1380 [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir=$srcdir
1383 ac_abs_top_srcdir=$srcdir ;;
1384 *) # Relative name.
1385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1388 esac
1389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1390
1391 cd "$ac_dir" || { ac_status=$?; continue; }
1392 # Check for configure.gnu first; this name is used for a wrapper for
1393 # Metaconfig's "Configure" on case-insensitive file systems.
1394 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1395 echoscip-shell system . . echo. &&
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1398 echoscip-shell system . . echo. &&
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1400 else
1401 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 fi || ac_status=$?
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1404 done
1405 fi
1406
1407 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1409 catscip-shell system . . cat. <<\_ACEOF
1410 xgboost configure 3.2.1
1411 generated by GNU Autoconf 2.71
1412
1413 Copyright (C) 2021 Free Software Foundation, Inc.
1414 This configure script is free software; the Free Software Foundation
1415 gives unlimited permission to copy, distribute and modify it.
1416 _ACEOF
1417 exit
1418 fi
1419
1420 ## ------------------------ ##
1421 ## Autoconf initialization. ##
1422 ## ------------------------ ##
1423
1424 # ac_fn_cxx_try_compile LINENO
1425 # ----------------------------
1426 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1427 ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). ()
1428 {
1429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1430 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1431 if { { ac_try="$ac_compile"
1432 case "(($ac_try" in
1433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1434 *) ac_try_echo=$ac_try;;
1435 esac
1436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1437 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1438 (eval "$ac_compile") 2>conftest.err
1439 ac_status=$?
1440 if testscip-shell system . . test. -s conftest.err; then
1441 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1442 catscip-shell system . . cat. conftest.er1 >&5
1443 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1444 fi
1445 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1446 testscip-shell system . . test. $ac_status = 0; } && {
1447 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1448 testscip-shell system . . test. ! -s conftest.err
1449 } && testscip-shell system . . test. -s conftest.$ac_objext
1450 then :
1451 ac_retval=0
1452 else $as_nop
1453 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1454 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1455
1456 ac_retval=1
1457 fi
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1460
1461 } # ac_fn_cxx_try_compile
1462
1463 # ac_fn_cxx_try_link LINENO
1464 # -------------------------
1465 # Try to link conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). ()
1467 {
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1470 if { { ac_try="$ac_link"
1471 case "(($ac_try" in
1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1473 *) ac_try_echo=$ac_try;;
1474 esac
1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1477 (eval "$ac_link") 2>conftest.err
1478 ac_status=$?
1479 if testscip-shell system . . test. -s conftest.err; then
1480 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1481 catscip-shell system . . cat. conftest.er1 >&5
1482 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1483 fi
1484 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 testscip-shell system . . test. $ac_status = 0; } && {
1486 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1487 testscip-shell system . . test. ! -s conftest.err
1488 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1489 testscip-shell system . . test. "$cross_compiling" = yes ||
1490 testscip-shell system . . test. -x conftest$ac_exeext
1491 }
1492 then :
1493 ac_retval=0
1494 else $as_nop
1495 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1496 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1497
1498 ac_retval=1
1499 fi
1500 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1501 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1502 # interfere with the next link command; also delete a directory that is
1503 # left behind by Apple's compiler. We do this before executing the actions.
1504 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1507
1508 } # ac_fn_cxx_try_link
1509
1510 # ac_fn_cxx_check_func LINENO FUNC VAR
1511 # ------------------------------------
1512 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1513 ac_fn_cxx_check_funcscip-shell shell shell-project 0.0.0 ac_fn_cxx_check_func(). ()
1514 {
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1517 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1518 if eval test \${$3+y}
1519 then :
1520 printfscip-shell system . . printf. %s "(cached) " >&6
1521 else $as_nop
1522 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1523 /* end confdefs.h. */
1524 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1526 #define $2 innocuous_$2
1527
1528 /* System header to define __stub macros and hopefully few prototypes,
1529 which can conflict with char $2 (); below. */
1530
1531 #include <limits.h>
1532 #undef $2
1533
1534 /* Override any GCC internal prototype to avoid an error.
1535 Use char because int might match the return type of a GCC
1536 builtin and then its argument prototype would still apply. */
1537 #ifdef __cplusplus
1538 extern "C"
1539 #endif
1540 char $2 ();
1541 /* The GNU C library defines this for functions which it implements
1542 to always fail with ENOSYS. Some functions are actually named
1543 something starting with __ and the normal name is an alias. */
1544 #if defined __stub_$2 || defined __stub___$2
1545 choke me
1546 #endif
1547
1548 int
1549 main (void)
1550 {
1551 return $2 ();
1552 ;
1553 return 0;
1554 }
1555 _ACEOF
1556 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
1557 then :
1558 eval "$3=yes"
1559 else $as_nop
1560 eval "$3=no"
1561 fi
1562 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
1563 conftest$ac_exeext conftest.$ac_ext
1564 fi
1565 eval ac_res=\$$3
1566 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1567 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569
1570 } # ac_fn_cxx_check_func
1571
1572 # ac_fn_cxx_try_run LINENO
1573 # ------------------------
1574 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1575 # executables *can* be run.
1576 ac_fn_cxx_try_runscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_run(). ()
1577 {
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 if { { ac_try="$ac_link"
1580 case "(($ac_try" in
1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1583 esac
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1586 (eval "$ac_link") 2>&5
1587 ac_status=$?
1588 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1590 { { case "(($ac_try" in
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1593 esac
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1596 (eval "$ac_try") 2>&5
1597 ac_status=$?
1598 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 testscip-shell system . . test. $ac_status = 0; }; }
1600 then :
1601 ac_retval=0
1602 else $as_nop
1603 printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
1604 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1605 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1606
1607 ac_retval=$ac_status
1608 fi
1609 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1612
1613 } # ac_fn_cxx_try_run
1614
1615 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1616 # ---------------------------------------------------------
1617 # Tests whether HEADER exists and can be compiled using the include files in
1618 # INCLUDES, setting the cache variable VAR accordingly.
1619 ac_fn_cxx_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_check_header_compile(). ()
1620 {
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1624 if eval test \${$3+y}
1625 then :
1626 printfscip-shell system . . printf. %s "(cached) " >&6
1627 else $as_nop
1628 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1630 $4
1631 #include <$2>
1632 _ACEOF
1633 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
1634 then :
1635 eval "$3=yes"
1636 else $as_nop
1637 eval "$3=no"
1638 fi
1639 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1640 fi
1641 eval ac_res=\$$3
1642 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645
1646 } # ac_fn_cxx_check_header_compile
1647 ac_configure_args_raw=
1648 for ac_arg
1649 do
1650 case $ac_arg in
1651 *\'*)
1652 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1653 esac
1654 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
1655 done
1656
1657 case $ac_configure_args_raw in
1658 *$as_nl*)
1659 ac_safe_unquote= ;;
1660 *)
1661 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1662 ac_unsafe_a="$ac_unsafe_z#~"
1663 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1664 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
1665 esac
1666
1667 catscip-shell system . . cat. >config.log <<_ACEOF
1668 This file contains any messages produced by compilers while
1669 running configure, to aid debugging if configure makes a mistake.
1670
1671 It was created by xgboost $as_me 3.2.1, which was
1672 generated by GNU Autoconf 2.71. Invocation command line was
1673
1674 $ $0$ac_configure_args_raw
1675
1676 _ACEOF
1677 exec 5>>config.log
1678 {
1679 catscip-shell system . . cat. <<_ASUNAME
1680 ## --------- ##
1681 ## Platform. ##
1682 ## --------- ##
1683
1684 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1685 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1686 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1687 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1688 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1689
1690 /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`
1691 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1692
1693 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1694 /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`
1695 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1696 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1697 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1698 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1699 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1700
1701 _ASUNAME
1702
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 for as_dir in $PATH
1705 do
1706 IFS=$as_save_IFS
1707 case $as_dir in #(((
1708 '') as_dir=./ ;;
1709 */) ;;
1710 *) as_dir=$as_dir/ ;;
1711 esac
1712 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
1713 done
1714 IFS=$as_save_IFS
1715
1716 } >&5
1717
1718 catscip-shell system . . cat. >&5 <<_ACEOF
1719
1720
1721 ## ----------- ##
1722 ## Core tests. ##
1723 ## ----------- ##
1724
1725 _ACEOF
1726
1727
1728 # Keep a trace of the command line.
1729 # Strip out --no-create and --no-recursion so they do not pile up.
1730 # Strip out --silent because we don't want to record it for future runs.
1731 # Also quote any args containing shell meta-characters.
1732 # Make two passes to allow for proper duplicate-argument suppression.
1733 ac_configure_args=
1734 ac_configure_args0=
1735 ac_configure_args1=
1736 ac_must_keep_next=false
1737 for ac_pass in 1 2
1738 do
1739 for ac_arg
1740 do
1741 case $ac_arg in
1742 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1744 | -silent | --silent | --silen | --sile | --sil)
1745 continue ;;
1746 *\'*)
1747 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1748 esac
1749 case $ac_pass in
1750 1) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
1751 2)
1752 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args1 " '$ac_arg'"
1753 if testscip-shell system . . test. $ac_must_keep_next = true; then
1754 ac_must_keep_next=false # Got value, back to normal.
1755 else
1756 case $ac_arg in
1757 *=* | --config-cache | -C | -disable-* | --disable-* \
1758 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1759 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1760 | -with-* | --with-* | -without-* | --without-* | --x)
1761 case "$ac_configure_args0 " in
1762 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1763 esac
1764 ;;
1765 -* ) ac_must_keep_next=true ;;
1766 esac
1767 fi
1768 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'"
1769 ;;
1770 esac
1771 done
1772 done
1773 { ac_configure_args0=; unset ac_configure_args0;}
1774 { ac_configure_args1=; unset ac_configure_args1;}
1775
1776 # When interrupted or exit'd, cleanup temporary files, and complete
1777 # config.log. We remove comments because anyway the quotes in there
1778 # would cause problems or look ugly.
1779 # WARNING: Use '\'' to represent an apostrophe within the trap.
1780 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1781 trap 'exit_status=$?
1782 # Sanitize IFS.
1783 IFS=" "" $as_nl"
1784 # Save into config.log some information that might help in debugging.
1785 {
1786 echo
1787
1788 printf "%s\n" "## ---------------- ##
1789 ## Cache variables. ##
1790 ## ---------------- ##"
1791 echo
1792 # The following way of writing the cache mishandles newlines in values,
1793 (
1794 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1795 eval ac_val=\$$ac_var
1796 case $ac_val in #(
1797 *${as_nl}*)
1798 case $ac_var in #(
1799 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1800 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1801 esac
1802 case $ac_var in #(
1803 _ | IFS | as_nl) ;; #(
1804 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1805 *) { eval $ac_var=; unset $ac_var;} ;;
1806 esac ;;
1807 esac
1808 done
1809 (set) 2>&1 |
1810 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1811 *${as_nl}ac_space=\ *)
1812 sed -n \
1813 "s/'\''/'\''\\\\'\'''\''/g;
1814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 ;; #(
1816 *)
1817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818 ;;
1819 esac |
1820 sort
1821 )
1822 echo
1823
1824 printf "%s\n" "## ----------------- ##
1825 ## Output variables. ##
1826 ## ----------------- ##"
1827 echo
1828 for ac_var in $ac_subst_vars
1829 do
1830 eval ac_val=\$$ac_var
1831 case $ac_val in
1832 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 esac
1834 printf "%s\n" "$ac_var='\''$ac_val'\''"
1835 done | sort
1836 echo
1837
1838 if test -n "$ac_subst_files"; then
1839 printf "%s\n" "## ------------------- ##
1840 ## File substitutions. ##
1841 ## ------------------- ##"
1842 echo
1843 for ac_var in $ac_subst_files
1844 do
1845 eval ac_val=\$$ac_var
1846 case $ac_val in
1847 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848 esac
1849 printf "%s\n" "$ac_var='\''$ac_val'\''"
1850 done | sort
1851 echo
1852 fi
1853
1854 if test -s confdefs.h; then
1855 printf "%s\n" "## ----------- ##
1856 ## confdefs.h. ##
1857 ## ----------- ##"
1858 echo
1859 cat confdefs.h
1860 echo
1861 fi
1862 test "$ac_signal" != 0 &&
1863 printf "%s\n" "$as_me: caught signal $ac_signal"
1864 printf "%s\n" "$as_me: exit $exit_status"
1865 } >&5
1866 rm -f core *.core core.conftest.* &&
1867 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1868 exit $exit_status
1869 ' 0
1870 for ac_signal in 1 2 13 15; do
1871 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1872 done
1873 ac_signal=0
1874
1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 rmscip-shell system . . rm. -f -r conftest* confdefs.h
1877
1878 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
1879
1880 # Predefined preprocessor variables.
1881
1882 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1883
1884 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1885
1886 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1887
1888 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1889
1890 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1891
1892 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1893
1894
1895 # Let the site file select an alternate cache file if it wants to.
1896 # Prefer an explicitly selected file to automatically selected ones.
1897 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
1898 ac_site_files="$CONFIG_SITE"
1899 elif testscip-shell system . . test. "x$prefix" != xNONE; then
1900 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1901 else
1902 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1903 fi
1904
1905 for ac_site_file in $ac_site_files
1906 do
1907 case $ac_site_file in #(
1908 */*) :
1909 ;; #(
1910 *) :
1911 ac_site_file=./$ac_site_file ;;
1912 esac
1913 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
1914 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1915 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1916 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
1917 . "$ac_site_file" \
1918 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1919 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1920 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "failed to load site script $ac_site_file
1921 See \`config.log' for more details" "$LINENO" 5; }
1922 fi
1923 done
1924
1925 if testscip-shell system . . test. -r "$cache_file"; then
1926 # Some versions of bash will fail to source /dev/null (special files
1927 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1928 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
1929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1930 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
1931 case $cache_file in
1932 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1933 *) . "./$cache_file";;
1934 esac
1935 fi
1936 else
1937 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1938 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
1939 >$cache_file
1940 fi
1941
1942 # Test code for whether the C++ compiler supports C++98 (global declarations)
1943 ac_cxx_conftest_cxx98_globals='
1944 // Does the compiler advertise C++98 conformance?
1945 #if !defined __cplusplus || __cplusplus < 199711L
1946 # error "Compiler does not advertise C++98 conformance"
1947 #endif
1948
1949 // These inclusions are to reject old compilers that
1950 // lack the unsuffixed header files.
1951 #include <cstdlib>
1952 #include <exception>
1953
1954 // <cassert> and <cstring> are *not* freestanding headers in C++98.
1955 extern void assert (int);
1956 namespace std {
1957 extern int strcmp (const char *, const char *);
1958 }
1959
1960 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
1961 using std::exception;
1962 using std::strcmp;
1963
1964 namespace {
1965
1966 void test_exception_syntax()
1967 {
1968 try {
1969 throw "test";
1970 } catch (const char *s) {
1971 // Extra parentheses suppress a warning when building autoconf itself,
1972 // due to lint rules shared with more typical C programs.
1973 assert (!(strcmp) (s, "test"));
1974 }
1975 }
1976
1977 template <typename T> struct test_template
1978 {
1979 T const val;
1980 explicit test_template(T t) : val(t) {}
1981 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
1982 };
1983
1984 } // anonymous namespace
1985 '
1986
1987 # Test code for whether the C++ compiler supports C++98 (body of main)
1988 ac_cxx_conftest_cxx98_main='
1989 assert (argc);
1990 assert (! argv[0]);
1991 {
1992 test_exception_syntax ();
1993 test_template<double> tt (2.0);
1994 assert (tt.add (4) == 6.0);
1995 assert (true && !false);
1996 }
1997 '
1998
1999 # Test code for whether the C++ compiler supports C++11 (global declarations)
2000 ac_cxx_conftest_cxx11_globals='
2001 // Does the compiler advertise C++ 2011 conformance?
2002 #if !defined __cplusplus || __cplusplus < 201103L
2003 # error "Compiler does not advertise C++11 conformance"
2004 #endif
2005
2006 namespace cxx11test
2007 {
2008 constexpr int get_val() { return 20; }
2009
2010 struct testinit
2011 {
2012 int i;
2013 double d;
2014 };
2015
2016 class delegate
2017 {
2018 public:
2019 delegate(int n) : n(n) {}
2020 delegate(): delegate(2354) {}
2021
2022 virtual int getval() { return this->n; };
2023 protected:
2024 int n;
2025 };
2026
2027 class overridden : public delegate
2028 {
2029 public:
2030 overridden(int n): delegate(n) {}
2031 virtual int getval() override final { return this->n * 2; }
2032 };
2033
2034 class nocopy
2035 {
2036 public:
2037 nocopy(int i): i(i) {}
2038 nocopy() = default;
2039 nocopy(const nocopy&) = delete;
2040 nocopy & operator=(const nocopy&) = delete;
2041 private:
2042 int i;
2043 };
2044
2045 // for testing lambda expressions
2046 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2047 {
2048 return f(v);
2049 }
2050
2051 // for testing variadic templates and trailing return types
2052 template <typename V> auto sum(V first) -> V
2053 {
2054 return first;
2055 }
2056 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2057 {
2058 return first + sum(rest...);
2059 }
2060 }
2061 '
2062
2063 # Test code for whether the C++ compiler supports C++11 (body of main)
2064 ac_cxx_conftest_cxx11_main='
2065 {
2066 // Test auto and decltype
2067 auto a1 = 6538;
2068 auto a2 = 48573953.4;
2069 auto a3 = "String literal";
2070
2071 int total = 0;
2072 for (auto i = a3; *i; ++i) { total += *i; }
2073
2074 decltype(a2) a4 = 34895.034;
2075 }
2076 {
2077 // Test constexpr
2078 short sa[cxx11test::get_val()] = { 0 };
2079 }
2080 {
2081 // Test initializer lists
2082 cxx11test::testinit il = { 4323, 435234.23544 };
2083 }
2084 {
2085 // Test range-based for
2086 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2087 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2088 for (auto &x : array) { x += 23; }
2089 }
2090 {
2091 // Test lambda expressions
2092 using cxx11test::eval;
2093 assert (eval ([](int x) { return x*2; }, 21) == 42);
2094 double d = 2.0;
2095 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2096 assert (d == 5.0);
2097 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2098 assert (d == 5.0);
2099 }
2100 {
2101 // Test use of variadic templates
2102 using cxx11test::sum;
2103 auto a = sum(1);
2104 auto b = sum(1, 2);
2105 auto c = sum(1.0, 2.0, 3.0);
2106 }
2107 {
2108 // Test constructor delegation
2109 cxx11test::delegate d1;
2110 cxx11test::delegate d2();
2111 cxx11test::delegate d3(45);
2112 }
2113 {
2114 // Test override and final
2115 cxx11test::overridden o1(55464);
2116 }
2117 {
2118 // Test nullptr
2119 char *c = nullptr;
2120 }
2121 {
2122 // Test template brackets
2123 test_template<::test_template<int>> v(test_template<int>(12));
2124 }
2125 {
2126 // Unicode literals
2127 char const *utf8 = u8"UTF-8 string \u2500";
2128 char16_t const *utf16 = u"UTF-8 string \u2500";
2129 char32_t const *utf32 = U"UTF-32 string \u2500";
2130 }
2131 '
2132
2133 # Test code for whether the C compiler supports C++11 (complete).
2134 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2135 ${ac_cxx_conftest_cxx11_globals}
2136
2137 int
2138 main (int argc, char **argv)
2139 {
2140 int ok = 0;
2141 ${ac_cxx_conftest_cxx98_main}
2142 ${ac_cxx_conftest_cxx11_main}
2143 return ok;
2144 }
2145 "
2146
2147 # Test code for whether the C compiler supports C++98 (complete).
2148 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2149 int
2150 main (int argc, char **argv)
2151 {
2152 int ok = 0;
2153 ${ac_cxx_conftest_cxx98_main}
2154 return ok;
2155 }
2156 "
2157
2158 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H"
2159 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2160 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " string.h string_h HAVE_STRING_H"
2161 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2162 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H"
2163 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H"
2164 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2165 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2166 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H"
2167 # Check that the precious variables saved in the cache have kept the same
2168 # value.
2169 ac_cache_corrupted=false
2170 for ac_var in $ac_precious_vars; do
2171 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2172 eval ac_new_set=\$ac_env_${ac_var}_set
2173 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2174 eval ac_new_val=\$ac_env_${ac_var}_value
2175 case $ac_old_set,$ac_new_set in
2176 set,)
2177 { 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
2178 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2179 ac_cache_corrupted=: ;;
2180 ,set)
2181 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2182 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2183 ac_cache_corrupted=: ;;
2184 ,);;
2185 *)
2186 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2187 # differences in whitespace do not lead to failure.
2188 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2189 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2190 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2192 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2193 ac_cache_corrupted=:
2194 else
2195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2196 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2197 eval $ac_var=\$ac_old_val
2198 fi
2199 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2200 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2201 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2202 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2203 fi;;
2204 esac
2205 # Pass precious variables to config.status.
2206 if testscip-shell system . . test. "$ac_new_set" = set; then
2207 case $ac_new_val in
2208 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2209 *) ac_arg=$ac_var=$ac_new_val ;;
2210 esac
2211 case " $ac_configure_args " in
2212 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2213 *) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2214 esac
2215 fi
2216 done
2217 if $ac_cache_corrupted; then
2218 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2220 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2221 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2222 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2223 and start over" "$LINENO" 5
2224 fi
2225 ## -------------------- ##
2226 ## Main body of script. ##
2227 ## -------------------- ##
2228
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2234
2235
2236
2237 : ${R_HOME=`R RHOME`}
2238 if testscip-shell system . . test. -z "${R_HOME}"; then
2239 echoscip-shell system . . echo. "could not determine R_HOME"
2240 exit 1
2241 fi
2242
2243 CXX17=`"${R_HOME}/bin/R" CMD config CXX17`
2244 CXX17STD=`"${R_HOME}/bin/R" CMD config CXX17STD`
2245 CXX="${CXX17} ${CXX17STD}"
2246 CXXFLAGS=`"${R_HOME}/bin/R" CMD config CXXFLAGS`
2247
2248 CC=`"${R_HOME}/bin/R" CMD config CC`
2249 CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
2250 CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`
2251
2252 LDFLAGS=`"${R_HOME}/bin/R" CMD config LDFLAGS`
2253 ac_ext=cpp
2254 ac_cpp='$CXXCPP $CPPFLAGS'
2255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2258
2259
2260 DMLC_DEFS=""
2261
2262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Checking if/where backtrace is available" >&5
2263 printfscip-shell system . . printf. "%s\n" "$as_me: Checking if/where backtrace is available" >&6;}
2264
2265
2266
2267
2268
2269
2270 ac_ext=cpp
2271 ac_cpp='$CXXCPP $CPPFLAGS'
2272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2275 if testscip-shell system . . test. -z "$CXX"; then
2276 if testscip-shell system . . test. -n "$CCC"; then
2277 CXX=$CCC
2278 else
2279 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2280 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
2281 do
2282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2284 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2286 if testscip-shell system . . test. ${ac_cv_prog_CXX+y}
2287 then :
2288 printfscip-shell system . . printf. %s "(cached) " >&6
2289 else $as_nop
2290 if testscip-shell system . . test. -n "$CXX"; then
2291 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296 IFS=$as_save_IFS
2297 case $as_dir in #(((
2298 '') as_dir=./ ;;
2299 */) ;;
2300 *) as_dir=$as_dir/ ;;
2301 esac
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2305 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2306 break 2
2307 fi
2308 done
2309 done
2310 IFS=$as_save_IFS
2311
2312 fi
2313 fi
2314 CXX=$ac_cv_prog_CXX
2315 if testscip-shell system . . test. -n "$CXX"; then
2316 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2317 printfscip-shell system . . printf. "%s\n" "$CXX" >&6; }
2318 else
2319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2321 fi
2322
2323
2324 testscip-shell system . . test. -n "$CXX" && break
2325 done
2326 fi
2327 if testscip-shell system . . test. -z "$CXX"; then
2328 ac_ct_CXX=$CXX
2329 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
2330 do
2331 # Extract the first word of "$ac_prog", so it can be a program name with args.
2332 set dummy $ac_prog; ac_word=$2
2333 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2335 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y}
2336 then :
2337 printfscip-shell system . . printf. %s "(cached) " >&6
2338 else $as_nop
2339 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
2340 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2344 do
2345 IFS=$as_save_IFS
2346 case $as_dir in #(((
2347 '') as_dir=./ ;;
2348 */) ;;
2349 *) as_dir=$as_dir/ ;;
2350 esac
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_ac_ct_CXX="$ac_prog"
2354 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2355 break 2
2356 fi
2357 done
2358 done
2359 IFS=$as_save_IFS
2360
2361 fi
2362 fi
2363 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2364 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
2365 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2366 printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; }
2367 else
2368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2370 fi
2371
2372
2373 testscip-shell system . . test. -n "$ac_ct_CXX" && break
2374 done
2375
2376 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
2377 CXX="g++"
2378 else
2379 case $cross_compiling:$ac_tool_warned in
2380 yes:)
2381 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2382 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2383 ac_tool_warned=yes ;;
2384 esac
2385 CXX=$ac_ct_CXX
2386 fi
2387 fi
2388
2389 fi
2390 fi
2391 # Provide some information about the compiler.
2392 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2393 set X $ac_compile
2394 ac_compiler=$2
2395 for ac_option in --version -v -V -qversion; do
2396 { { ac_try="$ac_compiler $ac_option >&5"
2397 case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2403 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2404 ac_status=$?
2405 if testscip-shell system . . test. -s conftest.err; then
2406 sedscip-shell system . . sed. '10a\
2407 ... rest of stderr output deleted ...
2408 10q' conftest.err >conftest.er1
2409 catscip-shell system . . cat. conftest.er1 >&5
2410 fi
2411 rmscip-shell system . . rm. -f conftest.er1 conftest.err
2412 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 testscip-shell system . . test. $ac_status = 0; }
2414 done
2415
2416 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2418
2419 int
2420 main (void)
2421 {
2422
2423 ;
2424 return 0;
2425 }
2426 _ACEOF
2427 ac_clean_files_save=$ac_clean_files
2428 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2429 # Try to create an executable without -o first, disregard a.out.
2430 # It will help us diagnose broken compilers, and finding out an intuition
2431 # of exeext.
2432 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2433 printfscip-shell system . . printf. %s "checking whether the C++ compiler works... " >&6; }
2434 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
2435
2436 # The possible output files:
2437 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2438
2439 ac_rmfiles=
2440 for ac_file in $ac_files
2441 do
2442 case $ac_file in
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2444 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2445 esac
2446 done
2447 rmscip-shell system . . rm. -f $ac_rmfiles
2448
2449 if { { ac_try="$ac_link_default"
2450 case "(($ac_try" in
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2456 (eval "$ac_link_default") 2>&5
2457 ac_status=$?
2458 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 testscip-shell system . . test. $ac_status = 0; }
2460 then :
2461 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2462 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2463 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2464 # so that the user can short-circuit this test for compilers unknown to
2465 # Autoconf.
2466 for ac_file in $ac_files ''
2467 do
2468 testscip-shell system . . test. -f "$ac_file" || continue
2469 case $ac_file in
2470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2471 ;;
2472 [ab].out )
2473 # We found the default executable, but exeext='' is most
2474 # certainly right.
2475 break;;
2476 *.* )
2477 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
2478 then :; else
2479 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
2480 fi
2481 # We set ac_cv_exeext here because the later test for it is not
2482 # safe: cross compilers may not add the suffix if given an `-o'
2483 # argument, so we may need to know it at that point already.
2484 # Even if this section looks crufty: it has the advantage of
2485 # actually working.
2486 break;;
2487 * )
2488 break;;
2489 esac
2490 done
2491 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
2492
2493 else $as_nop
2494 ac_file=''
2495 fi
2496 if testscip-shell system . . test. -z "$ac_file"
2497 then :
2498 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2499 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2500 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2501 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2502
2503 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2505 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "C++ compiler cannot create executables
2506 See \`config.log' for more details" "$LINENO" 5; }
2507 else $as_nop
2508 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2509 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
2510 fi
2511 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2512 printfscip-shell system . . printf. %s "checking for C++ compiler default output file name... " >&6; }
2513 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2514 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
2515 ac_exeext=$ac_cv_exeext
2516
2517 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2518 ac_clean_files=$ac_clean_files_save
2519 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2520 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
2521 if { { ac_try="$ac_link"
2522 case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2528 (eval "$ac_link") 2>&5
2529 ac_status=$?
2530 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 testscip-shell system . . test. $ac_status = 0; }
2532 then :
2533 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2534 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2535 # work properly (i.e., refer to `conftest.exe'), while it won't with
2536 # `rm'.
2537 for ac_file in conftest.exe conftest conftest.*; do
2538 testscip-shell system . . test. -f "$ac_file" || continue
2539 case $ac_file in
2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2541 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
2542 break;;
2543 * ) break;;
2544 esac
2545 done
2546 else $as_nop
2547 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
2550 See \`config.log' for more details" "$LINENO" 5; }
2551 fi
2552 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
2553 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2554 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
2555
2556 rmscip-shell system . . rm. -f conftest.$ac_ext
2557 EXEEXT=$ac_cv_exeext
2558 ac_exeext=$EXEEXT
2559 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2561 #include <stdio.h>
2562 int
2563 main (void)
2564 {
2565 FILE *f = fopen ("conftest.out", "w");
2566 return ferror (f) || fclose (f) != 0;
2567
2568 ;
2569 return 0;
2570 }
2571 _ACEOF
2572 ac_clean_files="$ac_clean_files conftest.out"
2573 # Check that the compiler produces executables we can run. If not, either
2574 # the compiler is broken, or we cross compile.
2575 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2576 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
2577 if testscip-shell system . . test. "$cross_compiling" != yes; then
2578 { { ac_try="$ac_link"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2585 (eval "$ac_link") 2>&5
2586 ac_status=$?
2587 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 testscip-shell system . . test. $ac_status = 0; }
2589 if { ac_try='./conftest$ac_cv_exeext'
2590 { { case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2596 (eval "$ac_try") 2>&5
2597 ac_status=$?
2598 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2599 testscip-shell system . . test. $ac_status = 0; }; }; then
2600 cross_compiling=no
2601 else
2602 if testscip-shell system . . test. "$cross_compiling" = maybe; then
2603 cross_compiling=yes
2604 else
2605 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2607 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "cannot run C++ compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details" "$LINENO" 5; }
2610 fi
2611 fi
2612 fi
2613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2614 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
2615
2616 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2617 ac_clean_files=$ac_clean_files_save
2618 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2619 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
2620 if testscip-shell system . . test. ${ac_cv_objext+y}
2621 then :
2622 printfscip-shell system . . printf. %s "(cached) " >&6
2623 else $as_nop
2624 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2626
2627 int
2628 main (void)
2629 {
2630
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 rmscip-shell system . . rm. -f conftest.o conftest.obj
2636 if { { ac_try="$ac_compile"
2637 case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640 esac
2641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2642 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2643 (eval "$ac_compile") 2>&5
2644 ac_status=$?
2645 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 testscip-shell system . . test. $ac_status = 0; }
2647 then :
2648 for ac_file in conftest.o conftest.obj conftest.*; do
2649 testscip-shell system . . test. -f "$ac_file" || continue;
2650 case $ac_file in
2651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2652 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
2653 break;;
2654 esac
2655 done
2656 else $as_nop
2657 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2658 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2659
2660 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2662 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
2663 See \`config.log' for more details" "$LINENO" 5; }
2664 fi
2665 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
2666 fi
2667 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2668 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
2669 OBJEXT=$ac_cv_objext
2670 ac_objext=$OBJEXT
2671 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
2672 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; }
2673 if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y}
2674 then :
2675 printfscip-shell system . . printf. %s "(cached) " >&6
2676 else $as_nop
2677 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2679
2680 int
2681 main (void)
2682 {
2683 #ifndef __GNUC__
2684 choke me
2685 #endif
2686
2687 ;
2688 return 0;
2689 }
2690 _ACEOF
2691 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2692 then :
2693 ac_compiler_gnu=yes
2694 else $as_nop
2695 ac_compiler_gnu=no
2696 fi
2697 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2698 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2699
2700 fi
2701 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2702 printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
2703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2704
2705 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
2706 GXX=yes
2707 else
2708 GXX=
2709 fi
2710 ac_test_CXXFLAGS=${CXXFLAGS+y}
2711 ac_save_CXXFLAGS=$CXXFLAGS
2712 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2713 printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; }
2714 if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y}
2715 then :
2716 printfscip-shell system . . printf. %s "(cached) " >&6
2717 else $as_nop
2718 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2719 ac_cxx_werror_flag=yes
2720 ac_cv_prog_cxx_g=no
2721 CXXFLAGS="-g"
2722 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2724
2725 int
2726 main (void)
2727 {
2728
2729 ;
2730 return 0;
2731 }
2732 _ACEOF
2733 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2734 then :
2735 ac_cv_prog_cxx_g=yes
2736 else $as_nop
2737 CXXFLAGS=""
2738 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2740
2741 int
2742 main (void)
2743 {
2744
2745 ;
2746 return 0;
2747 }
2748 _ACEOF
2749 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2750 then :
2751
2752 else $as_nop
2753 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2754 CXXFLAGS="-g"
2755 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2757
2758 int
2759 main (void)
2760 {
2761
2762 ;
2763 return 0;
2764 }
2765 _ACEOF
2766 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2767 then :
2768 ac_cv_prog_cxx_g=yes
2769 fi
2770 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2771 fi
2772 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2773 fi
2774 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2775 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2776 fi
2777 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2778 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; }
2779 if testscip-shell system . . test. $ac_test_CXXFLAGS; then
2780 CXXFLAGS=$ac_save_CXXFLAGS
2781 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
2782 if testscip-shell system . . test. "$GXX" = yes; then
2783 CXXFLAGS="-g -O2"
2784 else
2785 CXXFLAGS="-g"
2786 fi
2787 else
2788 if testscip-shell system . . test. "$GXX" = yes; then
2789 CXXFLAGS="-O2"
2790 else
2791 CXXFLAGS=
2792 fi
2793 fi
2794 ac_prog_cxx_stdcxx=no
2795 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
2796 then :
2797 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
2798 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; }
2799 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y}
2800 then :
2801 printfscip-shell system . . printf. %s "(cached) " >&6
2802 else $as_nop
2803 ac_cv_prog_cxx_cxx11=no
2804 ac_save_CXX=$CXX
2805 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2807 $ac_cxx_conftest_cxx11_program
2808 _ACEOF
2809 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
2810 do
2811 CXX="$ac_save_CXX $ac_arg"
2812 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2813 then :
2814 ac_cv_prog_cxx_cxx11=$ac_arg
2815 fi
2816 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
2817 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break
2818 done
2819 rmscip-shell system . . rm. -f conftest.$ac_ext
2820 CXX=$ac_save_CXX
2821 fi
2822
2823 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno
2824 then :
2825 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2826 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
2827 else $as_nop
2828 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x
2829 then :
2830 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2831 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
2832 else $as_nop
2833 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
2834 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
2835 CXX="$CXX $ac_cv_prog_cxx_cxx11"
2836 fi
2837 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
2838 ac_prog_cxx_stdcxx=cxx11
2839 fi
2840 fi
2841 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
2842 then :
2843 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
2844 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; }
2845 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y}
2846 then :
2847 printfscip-shell system . . printf. %s "(cached) " >&6
2848 else $as_nop
2849 ac_cv_prog_cxx_cxx98=no
2850 ac_save_CXX=$CXX
2851 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2853 $ac_cxx_conftest_cxx98_program
2854 _ACEOF
2855 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
2856 do
2857 CXX="$ac_save_CXX $ac_arg"
2858 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
2859 then :
2860 ac_cv_prog_cxx_cxx98=$ac_arg
2861 fi
2862 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
2863 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break
2864 done
2865 rmscip-shell system . . rm. -f conftest.$ac_ext
2866 CXX=$ac_save_CXX
2867 fi
2868
2869 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno
2870 then :
2871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2872 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
2873 else $as_nop
2874 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x
2875 then :
2876 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2877 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
2878 else $as_nop
2879 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
2880 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
2881 CXX="$CXX $ac_cv_prog_cxx_cxx98"
2882 fi
2883 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
2884 ac_prog_cxx_stdcxx=cxx98
2885 fi
2886 fi
2887
2888 ac_ext=cpp
2889 ac_cpp='$CXXCPP $CPPFLAGS'
2890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2893
2894
2895 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lexecinfo" >&5
2896 printfscip-shell system . . printf. %s "checking for backtrace in -lexecinfo... " >&6; }
2897 if testscip-shell system . . test. ${ac_cv_lib_execinfo_backtrace+y}
2898 then :
2899 printfscip-shell system . . printf. %s "(cached) " >&6
2900 else $as_nop
2901 ac_check_lib_save_LIBS=$LIBS
2902 LIBS="-lexecinfo $LIBS"
2903 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905
2906 namespace conftest {
2907 extern "C" int backtrace ();
2908 }
2909 int
2910 main (void)
2911 {
2912 return conftest::backtrace ();
2913 ;
2914 return 0;
2915 }
2916 _ACEOF
2917 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
2918 then :
2919 ac_cv_lib_execinfo_backtrace=yes
2920 else $as_nop
2921 ac_cv_lib_execinfo_backtrace=no
2922 fi
2923 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
2924 conftest$ac_exeext conftest.$ac_ext
2925 LIBS=$ac_check_lib_save_LIBS
2926 fi
2927 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_execinfo_backtrace" >&5
2928 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_execinfo_backtrace" >&6; }
2929 if testscip-shell system . . test. "x$ac_cv_lib_execinfo_backtrace" = xyes
2930 then :
2931 BACKTRACE_LIB=-lexecinfo
2932 else $as_nop
2933 BACKTRACE_LIB=''
2934 fi
2935
2936 if testscip-shell system . . test. -z "${BACKTRACE_LIB}"
2937 then :
2938 ac_fn_cxx_check_funcscip-shell shell shell-project 0.0.0 ac_fn_cxx_check_func(). "$LINENO" "backtrace" "ac_cv_func_backtrace"
2939 if testscip-shell system . . test. "x$ac_cv_func_backtrace" = xyes
2940 then :
2941
2942 else $as_nop
2943 DMLC_DEFS="$DMLC_DEFS -DDMLC_LOG_STACK_TRACE=0"
2944 fi
2945
2946 fi
2947
2948 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Checking whether fopen64 is available" >&5
2949 printfscip-shell system . . printf. "%s\n" "$as_me: Checking whether fopen64 is available" >&6;}
2950 ac_fn_cxx_check_funcscip-shell shell shell-project 0.0.0 ac_fn_cxx_check_func(). "$LINENO" "fopen64" "ac_cv_func_fopen64"
2951 if testscip-shell system . . test. "x$ac_cv_func_fopen64" = xyes
2952 then :
2953
2954 else $as_nop
2955 DMLC_DEFS="$DMLC_DEFS -DDMLC_USE_FOPEN64=0"
2956 fi
2957
2958
2959 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Endian detection" >&5
2960 printfscip-shell system . . printf. "%s\n" "$as_me: Endian detection" >&6;}
2961
2962 ac_header= ac_cache=
2963 for ac_item in $ac_header_cxx_list
2964 do
2965 if testscip-shell system . . test. $ac_cache; then
2966 ac_fn_cxx_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
2967 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
2968 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
2969 fi
2970 ac_header= ac_cache=
2971 elif testscip-shell system . . test. $ac_header; then
2972 ac_cache=$ac_item
2973 else
2974 ac_header=$ac_item
2975 fi
2976 done
2977
2978
2979
2980
2981
2982
2983
2984
2985 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
2986 then :
2987
2988 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
2989
2990 fi
2991 if testscip-shell system . . test. -z "${USE_LITTLE_ENDIAN+x}"
2992 then :
2993
2994 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Checking system endianness as USE_LITTLE_ENDIAN is unset" >&5
2995 printfscip-shell system . . printf. "%s\n" "$as_me: Checking system endianness as USE_LITTLE_ENDIAN is unset" >&6;}
2996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
2997 printfscip-shell system . . printf. %s "checking whether byte ordering is bigendian... " >&6; }
2998 if testscip-shell system . . test. ${ac_cv_c_bigendian+y}
2999 then :
3000 printfscip-shell system . . printf. %s "(cached) " >&6
3001 else $as_nop
3002 ac_cv_c_bigendian=unknown
3003 # See if we're dealing with a universal compiler.
3004 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3006 #ifndef __APPLE_CC__
3007 not a universal capable compiler
3008 #endif
3009 typedef int dummy;
3010
3011 _ACEOF
3012 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3013 then :
3014
3015 # Check for potential -arch flags. It is not universal unless
3016 # there are at least two -arch flags with different values.
3017 ac_arch=
3018 ac_prev=
3019 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3020 if testscip-shell system . . test. -n "$ac_prev"; then
3021 case $ac_word in
3022 i?86 | x86_64 | ppc | ppc64)
3023 if testscip-shell system . . test. -z "$ac_arch" || testscip-shell system . . test. "$ac_arch" = "$ac_word"; then
3024 ac_arch=$ac_word
3025 else
3026 ac_cv_c_bigendian=universal
3027 break
3028 fi
3029 ;;
3030 esac
3031 ac_prev=
3032 elif testscip-shell system . . test. "x$ac_word" = "x-arch"; then
3033 ac_prev=arch
3034 fi
3035 done
3036 fi
3037 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3038 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
3039 # See if sys/param.h defines the BYTE_ORDER macro.
3040 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3042 #include <sys/types.h>
3043 #include <sys/param.h>
3044
3045 int
3046 main (void)
3047 {
3048 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3049 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3050 && LITTLE_ENDIAN)
3051 bogus endian macros
3052 #endif
3053
3054 ;
3055 return 0;
3056 }
3057 _ACEOF
3058 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3059 then :
3060 # It does; now see whether it defined to BIG_ENDIAN or not.
3061 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3063 #include <sys/types.h>
3064 #include <sys/param.h>
3065
3066 int
3067 main (void)
3068 {
3069 #if BYTE_ORDER != BIG_ENDIAN
3070 not big endian
3071 #endif
3072
3073 ;
3074 return 0;
3075 }
3076 _ACEOF
3077 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3078 then :
3079 ac_cv_c_bigendian=yes
3080 else $as_nop
3081 ac_cv_c_bigendian=no
3082 fi
3083 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 fi
3085 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086 fi
3087 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
3088 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3089 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3091 #include <limits.h>
3092
3093 int
3094 main (void)
3095 {
3096 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3097 bogus endian macros
3098 #endif
3099
3100 ;
3101 return 0;
3102 }
3103 _ACEOF
3104 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3105 then :
3106 # It does; now see whether it defined to _BIG_ENDIAN or not.
3107 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3109 #include <limits.h>
3110
3111 int
3112 main (void)
3113 {
3114 #ifndef _BIG_ENDIAN
3115 not big endian
3116 #endif
3117
3118 ;
3119 return 0;
3120 }
3121 _ACEOF
3122 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3123 then :
3124 ac_cv_c_bigendian=yes
3125 else $as_nop
3126 ac_cv_c_bigendian=no
3127 fi
3128 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3129 fi
3130 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3131 fi
3132 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
3133 # Compile a test program.
3134 if testscip-shell system . . test. "$cross_compiling" = yes
3135 then :
3136 # Try to guess by grepping values from an object file.
3137 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3139 unsigned short int ascii_mm[] =
3140 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3141 unsigned short int ascii_ii[] =
3142 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3143 int use_ascii (int i) {
3144 return ascii_mm[i] + ascii_ii[i];
3145 }
3146 unsigned short int ebcdic_ii[] =
3147 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3148 unsigned short int ebcdic_mm[] =
3149 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3150 int use_ebcdic (int i) {
3151 return ebcdic_mm[i] + ebcdic_ii[i];
3152 }
3153 extern int foo;
3154
3155 int
3156 main (void)
3157 {
3158 return use_ascii (foo) == use_ebcdic (foo);
3159 ;
3160 return 0;
3161 }
3162 _ACEOF
3163 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
3164 then :
3165 if grepscip-shell system . . grep. BIGenDianSyS conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3166 ac_cv_c_bigendian=yes
3167 fi
3168 if grepscip-shell system . . grep. LiTTleEnDian conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
3169 if testscip-shell system . . test. "$ac_cv_c_bigendian" = unknown; then
3170 ac_cv_c_bigendian=no
3171 else
3172 # finding both strings is unlikely to happen, but who knows?
3173 ac_cv_c_bigendian=unknown
3174 fi
3175 fi
3176 fi
3177 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3178 else $as_nop
3179 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 $ac_includes_default
3182 int
3183 main (void)
3184 {
3185
3186 /* Are we little or big endian? From Harbison&Steele. */
3187 union
3188 {
3189 long int l;
3190 char c[sizeof (long int)];
3191 } u;
3192 u.l = 1;
3193 return u.c[sizeof (long int) - 1] == 1;
3194
3195 ;
3196 return 0;
3197 }
3198 _ACEOF
3199 if ac_fn_cxx_try_runscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_run(). "$LINENO"
3200 then :
3201 ac_cv_c_bigendian=no
3202 else $as_nop
3203 ac_cv_c_bigendian=yes
3204 fi
3205 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3206 conftest.$ac_objext conftest.beam conftest.$ac_ext
3207 fi
3208
3209 fi
3210 fi
3211 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3212 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_bigendian" >&6; }
3213 case $ac_cv_c_bigendian in #(
3214 yes)
3215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: using big endian" >&5
3216 printfscip-shell system . . printf. "%s\n" "using big endian" >&6; }
3217 ENDIAN_FLAG="-DDMLC_CMAKE_LITTLE_ENDIAN=0";; #(
3218 no)
3219 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: using little endian" >&5
3220 printfscip-shell system . . printf. "%s\n" "using little endian" >&6; }
3221 ENDIAN_FLAG="-DDMLC_CMAKE_LITTLE_ENDIAN=1" ;; #(
3222 universal)
3223
3224 printfscip-shell system . . printf. "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3225
3226 ;; #(
3227 *)
3228 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
3229 printfscip-shell system . . printf. "%s\n" "unknown" >&6; }
3230 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Could not determine endianness. Please set USE_LITTLE_ENDIAN" "$LINENO" 5
3231 ;;
3232 esac
3233
3234
3235 else $as_nop
3236
3237 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Forcing endianness to: ${USE_LITTLE_ENDIAN}" >&5
3238 printfscip-shell system . . printf. "%s\n" "$as_me: Forcing endianness to: ${USE_LITTLE_ENDIAN}" >&6;}
3239 ENDIAN_FLAG="-DDMLC_CMAKE_LITTLE_ENDIAN=${USE_LITTLE_ENDIAN}"
3240
3241 fi
3242
3243 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Checking for prefetch builtin" >&5
3244 printfscip-shell system . . printf. "%s\n" "$as_me: Checking for prefetch builtin" >&6;}
3245 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3247
3248 int
3249 main (void)
3250 {
3251 __builtin_prefetch
3252
3253 ;
3254 return 0;
3255 }
3256 _ACEOF
3257 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
3258 then :
3259 XGBOOST_BUILTIN_PREFETCH_PRESENT="-DXGBOOST_BUILTIN_PREFETCH_PRESENT=1"
3260 else $as_nop
3261 XGBOOST_BUILTIN_PREFETCH_PRESENT=""
3262
3263 fi
3264 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
3265 conftest$ac_exeext conftest.$ac_ext
3266 if [scip-shell system . . `[`. "$XGBOOST_BUILTIN_PREFETCH_PRESENT" = "" ]; then
3267 echoscip-shell system . . echo. "Has __builtin_prefetch"
3268 else
3269 echoscip-shell system . . echo. "Doesn't have __builtin_prefetch"
3270 fi
3271
3272 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Checking for mm_prefetch" >&5
3273 printfscip-shell system . . printf. "%s\n" "$as_me: Checking for mm_prefetch" >&6;}
3274 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3276 #include <xmmintrin.h>
3277 int
3278 main (void)
3279 {
3280 _mm_prefetch
3281
3282 ;
3283 return 0;
3284 }
3285 _ACEOF
3286 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
3287 then :
3288 XGBOOST_MM_PREFETCH_PRESENT="-DXGBOOST_MM_PREFETCH_PRESENT=1"
3289 else $as_nop
3290 XGBOOST_MM_PREFETCH_PRESENT=""
3291
3292 fi
3293 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
3294 conftest$ac_exeext conftest.$ac_ext
3295 if [scip-shell system . . `[`. "$XGBOOST_MM_PREFETCH_PRESENT" = "" ]; then
3296 echoscip-shell system . . echo. "Has _mm_prefetch"
3297 else
3298 echoscip-shell system . . echo. "Doesn't have _mm_prefetch"
3299 fi
3300
3301 OPENMP_CXXFLAGS=""
3302
3303 if testscip-shell system . . test. `unamescip-shell system . . uname. -s` = "Linux"
3304 then
3305 OPENMP_CXXFLAGS="\$(SHLIB_OPENMP_CXXFLAGS)"
3306 fi
3307
3308 if testscip-shell system . . test. `unamescip-shell system . . uname. -s` = "Darwin"
3309 then
3310 if command -v brew &> /dev/nullscip-shell filesystem . . `/dev/null`.
3311 then
3312 HOMEBREW_LIBOMP_PREFIX=`brew --prefix libomp`
3313 else
3314 # Homebrew not found
3315 HOMEBREW_LIBOMP_PREFIX=''
3316 fi
3317 OPENMP_CXXFLAGS="-Xpreprocessor -fopenmp -I${HOMEBREW_LIBOMP_PREFIX}/include"
3318 OPENMP_LIB="-lomp -L${HOMEBREW_LIBOMP_PREFIX}/lib"
3319 ac_pkg_openmp=no
3320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OpenMP will work in a package" >&5
3321 printfscip-shell system . . printf. %s "checking whether OpenMP will work in a package... " >&6; }
3322 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3324 #include <omp.h>
3325 int
3326 main (void)
3327 {
3328 return (omp_get_max_threads() <= 1);
3329 ;
3330 return 0;
3331 }
3332 _ACEOF
3333 ${CXX} -o conftest conftest.cpp ${CPPFLAGS} ${LDFLAGS} ${OPENMP_LIB} ${OPENMP_CXXFLAGS} 2>/dev/nullscip-shell filesystem . . `/dev/null`. && ./conftest && ac_pkg_openmp=yes
3334 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ac_pkg_openmp}" >&5
3335 printfscip-shell system . . printf. "%s\n" "${ac_pkg_openmp}" >&6; }
3336 if testscip-shell system . . test. "${ac_pkg_openmp}" = no; then
3337 OPENMP_CXXFLAGS=''
3338 OPENMP_LIB=''
3339 echoscip-shell system . . echo. '*****************************************************************************************'
3340 echoscip-shell system . . echo. ' OpenMP is unavailable on this Mac OSX system. Training speed may be suboptimal.'
3341 echoscip-shell system . . echo. ' To use all CPU cores for training jobs, you should install OpenMP by running'
3342 echoscip-shell system . . echo. ' brew install libomp'
3343 echoscip-shell system . . echo. '*****************************************************************************************'
3344 fi
3345 fi
3346
3347
3348
3349
3350
3351
3352
3353
3354 ac_config_files="$ac_config_files src/Makevars"
3355
3356 ac_config_headers="$ac_config_headers src/config.h"
3357
3358 catscip-shell system . . cat. >confcache <<\_ACEOF
3359 # This file is a shell script that caches the results of configure
3360 # tests run on this system so they can be shared between configure
3361 # scripts and configure runs, see configure's option --config-cache.
3362 # It is not useful on other systems. If it contains results you don't
3363 # want to keep, you may remove or edit it.
3364 #
3365 # config.status only pays attention to the cache file if you give it
3366 # the --recheck option to rerun configure.
3367 #
3368 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3369 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3370 # following values.
3371
3372 _ACEOF
3373
3374 # The following way of writing the cache mishandles newlines in values,
3375 # but we know of no workaround that is simple, portable, and efficient.
3376 # So, we kill variables containing newlines.
3377 # Ultrix sh set writes to stderr and can't be redirected directly,
3378 # and sets the high bit in the cache file unless we assign to the vars.
3379 (
3380 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3381 eval ac_val=\$$ac_var
3382 case $ac_val in #(
3383 *${as_nl}*)
3384 case $ac_var in #(
3385 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3386 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3387 esac
3388 case $ac_var in #(
3389 _ | IFS | as_nl) ;; #(
3390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3391 *) { eval $ac_var=; unset $ac_var;} ;;
3392 esac ;;
3393 esac
3394 done
3395
3396 (set) 2>&1 |
3397 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3398 *${as_nl}ac_space=\ *)
3399 # `set' does not quote correctly, so add quotes: double-quote
3400 # substitution turns \\\\ into \\, and sed turns \\ into \.
3401 sedscip-shell system . . sed. -n \
3402 "s/'/'\\\\''/g;
3403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3404 ;; #(
3405 *)
3406 # `set' quotes correctly as required by POSIX, so do not add quotes.
3407 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3408 ;;
3409 esac |
3410 sortscip-shell system . . sort.
3411 ) |
3412 sedscip-shell system . . sed. '
3413 /^ac_cv_env_/b end
3414 t clear
3415 :clear
3416 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3417 t end
3418 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3419 :end' >>confcache
3420 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
3421 if testscip-shell system . . test. -w "$cache_file"; then
3422 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
3423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3424 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
3425 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
3426 catscip-shell system . . cat. confcache >"$cache_file"
3427 else
3428 case $cache_file in #(
3429 */* | ?:*)
3430 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
3431 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
3432 *)
3433 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
3434 esac
3435 fi
3436 fi
3437 else
3438 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3439 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3440 fi
3441 fi
3442 rmscip-shell system . . rm. -f confcache
3443
3444 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
3445 # Let make expand exec_prefix.
3446 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3447
3448 DEFS=-DHAVE_CONFIG_H
3449
3450 ac_libobjs=
3451 ac_ltlibobjs=
3452 U=
3453 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
3454 # 1. Remove the extension, and $U if already installed.
3455 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3456 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
3457 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3458 # will be set to the directory where LIBOBJS objects are built.
3459 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3460 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3461 done
3462 LIBOBJS=$ac_libobjs
3463
3464 LTLIBOBJS=$ac_ltlibobjs
3465
3466
3467
3468
3469 : "${CONFIG_STATUS=./config.status}"
3470 ac_write_fail=0
3471 ac_clean_files_save=$ac_clean_files
3472 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3473 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3474 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3475 as_write_fail=0
3476 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3477 #! $SHELL
3478 # Generated by $as_me.
3479 # Run this file to recreate the current configuration.
3480 # Compiler output produced by configure, useful for debugging
3481 # configure, is in config.log if it exists.
3482
3483 debug=false
3484 ac_cs_recheck=false
3485 ac_cs_silent=false
3486
3487 SHELL=\${CONFIG_SHELL-$SHELL}
3488 export SHELL
3489 _ASEOF
3490 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3491 ## -------------------- ##
3492 ## M4sh Initialization. ##
3493 ## -------------------- ##
3494
3495 # Be more Bourne compatible
3496 DUALCASE=1; export DUALCASE # for MKS sh
3497 as_nop=:
3498 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3499 then :
3500 emulate sh
3501 NULLCMD=:
3502 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3503 # is contrary to our usage. Disable this feature.
3504 alias -g '${1+"$@"}'='"$@"'
3505 setopt NO_GLOB_SUBST
3506 else $as_nop
3507 case `(set -o) 2>/dev/null` in #(
3508 *posix*) :
3509 set -o posix ;; #(
3510 *) :
3511 ;;
3512 esac
3513 fi
3514
3515
3516
3517 # Reset variables that may have inherited troublesome values from
3518 # the environment.
3519
3520 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3521 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3522 # side effect of setting IFS to empty, thus disabling word splitting.)
3523 # Quoting is to prevent editors from complaining about space-tab.
3524 as_nl='
3525 '
3526 export as_nl
3527 IFS=" "" $as_nl"
3528
3529 PS1='$ '
3530 PS2='> '
3531 PS4='+ '
3532
3533 # Ensure predictable behavior from utilities with locale-dependent output.
3534 LC_ALL=C
3535 export LC_ALL
3536 LANGUAGE=C
3537 export LANGUAGE
3538
3539 # We cannot yet rely on "unset" to work, but we need these variables
3540 # to be unset--not just set to an empty or harmless value--now, to
3541 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3542 # also avoids known problems related to "unset" and subshell syntax
3543 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3544 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3545 do eval test \${$as_var+y} \
3546 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3547 done
3548
3549 # Ensure that fds 0, 1, and 2 are open.
3550 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3551 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3552 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3553
3554 # The user is always right.
3555 if ${PATH_SEPARATOR+false} :; then
3556 PATH_SEPARATOR=:
3557 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3558 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3559 PATH_SEPARATOR=';'
3560 }
3561 fi
3562
3563
3564 # Find who we are. Look in the path if we contain no directory separator.
3565 as_myself=
3566 case $0 in #((
3567 *[\\/]* ) as_myself=$0 ;;
3568 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3570 do
3571 IFS=$as_save_IFS
3572 case $as_dir in #(((
3573 '') as_dir=./ ;;
3574 */) ;;
3575 *) as_dir=$as_dir/ ;;
3576 esac
3577 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3578 done
3579 IFS=$as_save_IFS
3580
3581 ;;
3582 esac
3583 # We did not find ourselves, most probably we were run as `sh COMMAND'
3584 # in which case we are not to be found in the path.
3585 if test "x$as_myself" = x; then
3586 as_myself=$0
3587 fi
3588 if test ! -f "$as_myself"; then
3589 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3590 exit 1
3591 fi
3592
3593
3594
3595 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3596 # ----------------------------------------
3597 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3598 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3599 # script with STATUS, using 1 if that was 0.
3600 as_fn_error ()
3601 {
3602 as_status=$1; test $as_status -eq 0 && as_status=1
3603 if test "$4"; then
3604 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3606 fi
3607 printf "%s\n" "$as_me: error: $2" >&2
3608 as_fn_exit $as_status
3609 } # as_fn_error
3610
3611
3612
3613 # as_fn_set_status STATUS
3614 # -----------------------
3615 # Set $? to STATUS, without forking.
3616 as_fn_set_status ()
3617 {
3618 return $1
3619 } # as_fn_set_status
3620
3621 # as_fn_exit STATUS
3622 # -----------------
3623 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3624 as_fn_exit ()
3625 {
3626 set +e
3627 as_fn_set_status $1
3628 exit $1
3629 } # as_fn_exit
3630
3631 # as_fn_unset VAR
3632 # ---------------
3633 # Portably unset VAR.
3634 as_fn_unset ()
3635 {
3636 { eval $1=; unset $1;}
3637 }
3638 as_unset=as_fn_unset
3639
3640 # as_fn_append VAR VALUE
3641 # ----------------------
3642 # Append the text in VALUE to the end of the definition contained in VAR. Take
3643 # advantage of any shell optimizations that allow amortized linear growth over
3644 # repeated appends, instead of the typical quadratic growth present in naive
3645 # implementations.
3646 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3647 then :
3648 eval 'as_fn_append ()
3649 {
3650 eval $1+=\$2
3651 }'
3652 else $as_nop
3653 as_fn_append ()
3654 {
3655 eval $1=\$$1\$2
3656 }
3657 fi # as_fn_append
3658
3659 # as_fn_arith ARG...
3660 # ------------------
3661 # Perform arithmetic evaluation on the ARGs, and store the result in the
3662 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3663 # must be portable across $(()) and expr.
3664 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3665 then :
3666 eval 'as_fn_arith ()
3667 {
3668 as_val=$(( $* ))
3669 }'
3670 else $as_nop
3671 as_fn_arith ()
3672 {
3673 as_val=`expr "$@" || test $? -eq 1`
3674 }
3675 fi # as_fn_arith
3676
3677
3678 if expr a : '\(a\)' >/dev/null 2>&1 &&
3679 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3680 as_expr=expr
3681 else
3682 as_expr=false
3683 fi
3684
3685 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3686 as_basename=basename
3687 else
3688 as_basename=false
3689 fi
3690
3691 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3692 as_dirname=dirname
3693 else
3694 as_dirname=false
3695 fi
3696
3697 as_me=`$as_basename -- "$0" ||
3698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3699 X"$0" : 'X\(//\)$' \| \
3700 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3701 printf "%s\n" X/"$0" |
3702 sed '/^.*\/\([^/][^/]*\)\/*$/{
3703 s//\1/
3704 q
3705 }
3706 /^X\/\(\/\/\)$/{
3707 s//\1/
3708 q
3709 }
3710 /^X\/\(\/\).*/{
3711 s//\1/
3712 q
3713 }
3714 s/.*/./; q'`
3715
3716 # Avoid depending upon Character Ranges.
3717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3720 as_cr_digits='0123456789'
3721 as_cr_alnum=$as_cr_Letters$as_cr_digits
3722
3723
3724 # Determine whether it's possible to make 'echo' print without a newline.
3725 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3726 # for compatibility with existing Makefiles.
3727 ECHO_C= ECHO_N= ECHO_T=
3728 case `echo -n x` in #(((((
3729 -n*)
3730 case `echo 'xy\c'` in
3731 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3732 xy) ECHO_C='\c';;
3733 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3734 ECHO_T=' ';;
3735 esac;;
3736 *)
3737 ECHO_N='-n';;
3738 esac
3739
3740 # For backward compatibility with old third-party macros, we provide
3741 # the shell variables $as_echo and $as_echo_n. New code should use
3742 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3743 as_echo='printf %s\n'
3744 as_echo_n='printf %s'
3745
3746 rm -f conf$$ conf$$.exe conf$$.file
3747 if test -d conf$$.dir; then
3748 rm -f conf$$.dir/conf$$.file
3749 else
3750 rm -f conf$$.dir
3751 mkdir conf$$.dir 2>/dev/null
3752 fi
3753 if (echo >conf$$.file) 2>/dev/null; then
3754 if ln -s conf$$.file conf$$ 2>/dev/null; then
3755 as_ln_s='ln -s'
3756 # ... but there are two gotchas:
3757 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3758 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3759 # In both cases, we have to default to `cp -pR'.
3760 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3761 as_ln_s='cp -pR'
3762 elif ln conf$$.file conf$$ 2>/dev/null; then
3763 as_ln_s=ln
3764 else
3765 as_ln_s='cp -pR'
3766 fi
3767 else
3768 as_ln_s='cp -pR'
3769 fi
3770 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3771 rmdir conf$$.dir 2>/dev/null
3772
3773
3774 # as_fn_mkdir_p
3775 # -------------
3776 # Create "$as_dir" as a directory, including parents if necessary.
3777 as_fn_mkdir_p ()
3778 {
3779
3780 case $as_dir in #(
3781 -*) as_dir=./$as_dir;;
3782 esac
3783 test -d "$as_dir" || eval $as_mkdir_p || {
3784 as_dirs=
3785 while :; do
3786 case $as_dir in #(
3787 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3788 *) as_qdir=$as_dir;;
3789 esac
3790 as_dirs="'$as_qdir' $as_dirs"
3791 as_dir=`$as_dirname -- "$as_dir" ||
3792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3793 X"$as_dir" : 'X\(//\)[^/]' \| \
3794 X"$as_dir" : 'X\(//\)$' \| \
3795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3796 printf "%s\n" X"$as_dir" |
3797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3798 s//\1/
3799 q
3800 }
3801 /^X\(\/\/\)[^/].*/{
3802 s//\1/
3803 q
3804 }
3805 /^X\(\/\/\)$/{
3806 s//\1/
3807 q
3808 }
3809 /^X\(\/\).*/{
3810 s//\1/
3811 q
3812 }
3813 s/.*/./; q'`
3814 test -d "$as_dir" && break
3815 done
3816 test -z "$as_dirs" || eval "mkdir $as_dirs"
3817 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3818
3819
3820 } # as_fn_mkdir_p
3821 if mkdir -p . 2>/dev/null; then
3822 as_mkdir_p='mkdir -p "$as_dir"'
3823 else
3824 test -d ./-p && rmdir ./-p
3825 as_mkdir_p=false
3826 fi
3827
3828
3829 # as_fn_executable_p FILE
3830 # -----------------------
3831 # Test if FILE is an executable regular file.
3832 as_fn_executable_p ()
3833 {
3834 test -f "$1" && test -x "$1"
3835 } # as_fn_executable_p
3836 as_test_x='test -x'
3837 as_executable_p=as_fn_executable_p
3838
3839 # Sed expression to map a string onto a valid CPP name.
3840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3841
3842 # Sed expression to map a string onto a valid variable name.
3843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3844
3845
3846 exec 6>&1
3847 ## ----------------------------------- ##
3848 ## Main body of $CONFIG_STATUS script. ##
3849 ## ----------------------------------- ##
3850 _ASEOF
3851 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
3852
3853 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3854 # Save the log message, to keep $0 and so on meaningful, and to
3855 # report actual input values of CONFIG_FILES etc. instead of their
3856 # values after options handling.
3857 ac_log="
3858 This file was extended by xgboost $as_me 3.2.1, which was
3859 generated by GNU Autoconf 2.71. Invocation command line was
3860
3861 CONFIG_FILES = $CONFIG_FILES
3862 CONFIG_HEADERS = $CONFIG_HEADERS
3863 CONFIG_LINKS = $CONFIG_LINKS
3864 CONFIG_COMMANDS = $CONFIG_COMMANDS
3865 $ $0 $@
3866
3867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3868 "
3869
3870 _ACEOF
3871
3872 case $ac_config_files in *"
3873 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3874 esac
3875
3876 case $ac_config_headers in *"
3877 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3878 esac
3879
3880
3881 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3882 # Files that config.status was made for.
3883 config_files="$ac_config_files"
3884 config_headers="$ac_config_headers"
3885
3886 _ACEOF
3887
3888 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3889 ac_cs_usage="\
3890 \`$as_me' instantiates files and other configuration actions
3891 from templates according to the current configuration. Unless the files
3892 and actions are specified as TAGs, all are instantiated by default.
3893
3894 Usage: $0 [OPTION]... [TAG]...
3895
3896 -h, --help print this help, then exit
3897 -V, --version print version number and configuration settings, then exit
3898 --config print configuration, then exit
3899 -q, --quiet, --silent
3900 do not print progress messages
3901 -d, --debug don't remove temporary files
3902 --recheck update $as_me by reconfiguring in the same conditions
3903 --file=FILE[:TEMPLATE]
3904 instantiate the configuration file FILE
3905 --header=FILE[:TEMPLATE]
3906 instantiate the configuration header FILE
3907
3908 Configuration files:
3909 $config_files
3910
3911 Configuration headers:
3912 $config_headers
3913
3914 Report bugs to the package provider."
3915
3916 _ACEOF
3917 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
3918 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
3919 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3920 ac_cs_config='$ac_cs_config_escaped'
3921 ac_cs_version="\\
3922 xgboost config.status 3.2.1
3923 configured by $0, generated by GNU Autoconf 2.71,
3924 with options \\"\$ac_cs_config\\"
3925
3926 Copyright (C) 2021 Free Software Foundation, Inc.
3927 This config.status script is free software; the Free Software Foundation
3928 gives unlimited permission to copy, distribute and modify it."
3929
3930 ac_pwd='$ac_pwd'
3931 srcdir='$srcdir'
3932 test -n "\$AWK" || AWK=awk
3933 _ACEOF
3934
3935 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3936 # The default lists apply if the user does not specify any file.
3937 ac_need_defaults=:
3938 while test $# != 0
3939 do
3940 case $1 in
3941 --*=?*)
3942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3944 ac_shift=:
3945 ;;
3946 --*=)
3947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3948 ac_optarg=
3949 ac_shift=:
3950 ;;
3951 *)
3952 ac_option=$1
3953 ac_optarg=$2
3954 ac_shift=shift
3955 ;;
3956 esac
3957
3958 case $ac_option in
3959 # Handling of the options.
3960 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3961 ac_cs_recheck=: ;;
3962 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3963 printf "%s\n" "$ac_cs_version"; exit ;;
3964 --config | --confi | --conf | --con | --co | --c )
3965 printf "%s\n" "$ac_cs_config"; exit ;;
3966 --debug | --debu | --deb | --de | --d | -d )
3967 debug=: ;;
3968 --file | --fil | --fi | --f )
3969 $ac_shift
3970 case $ac_optarg in
3971 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3972 '') as_fn_error $? "missing file argument" ;;
3973 esac
3974 as_fn_append CONFIG_FILES " '$ac_optarg'"
3975 ac_need_defaults=false;;
3976 --header | --heade | --head | --hea )
3977 $ac_shift
3978 case $ac_optarg in
3979 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3980 esac
3981 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3982 ac_need_defaults=false;;
3983 --he | --h)
3984 # Conflict between --help and --header
3985 as_fn_error $? "ambiguous option: \`$1'
3986 Try \`$0 --help' for more information.";;
3987 --help | --hel | -h )
3988 printf "%s\n" "$ac_cs_usage"; exit ;;
3989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3990 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3991 ac_cs_silent=: ;;
3992
3993 # This is an error.
3994 -*) as_fn_error $? "unrecognized option: \`$1'
3995 Try \`$0 --help' for more information." ;;
3996
3997 *) as_fn_append ac_config_targets " $1"
3998 ac_need_defaults=false ;;
3999
4000 esac
4001 shift
4002 done
4003
4004 ac_configure_extra_args=
4005
4006 if $ac_cs_silent; then
4007 exec 6>/dev/null
4008 ac_configure_extra_args="$ac_configure_extra_args --silent"
4009 fi
4010
4011 _ACEOF
4012 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4013 if \$ac_cs_recheck; then
4014 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4015 shift
4016 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4017 CONFIG_SHELL='$SHELL'
4018 export CONFIG_SHELL
4019 exec "\$@"
4020 fi
4021
4022 _ACEOF
4023 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4024 exec 5>>config.log
4025 {
4026 echo
4027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4028 ## Running $as_me. ##
4029 _ASBOX
4030 printf "%s\n" "$ac_log"
4031 } >&5
4032
4033 _ACEOF
4034 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4035 _ACEOF
4036
4037 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4038
4039 # Handling of arguments.
4040 for ac_config_target in $ac_config_targets
4041 do
4042 case $ac_config_target in
4043 "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;;
4044 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4045
4046 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4047 esac
4048 done
4049
4050
4051 # If the user did not use the arguments to specify the items to instantiate,
4052 # then the envvar interface is used. Set only those that are not.
4053 # We use the long form for the default assignment because of an extremely
4054 # bizarre bug on SunOS 4.1.3.
4055 if $ac_need_defaults; then
4056 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4057 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4058 fi
4059
4060 # Have a temporary directory for convenience. Make it in the build tree
4061 # simply because there is no reason against having it here, and in addition,
4062 # creating and moving files from /tmp can sometimes cause problems.
4063 # Hook for its removal unless debugging.
4064 # Note that there is a small window in which the directory will not be cleaned:
4065 # after its creation but before its name has been assigned to `$tmp'.
4066 $debug ||
4067 {
4068 tmp= ac_tmp=
4069 trap 'exit_status=$?
4070 : "${ac_tmp:=$tmp}"
4071 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4072 ' 0
4073 trap 'as_fn_exit 1' 1 2 13 15
4074 }
4075 # Create a (secure) tmp directory for tmp files.
4076
4077 {
4078 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4079 test -d "$tmp"
4080 } ||
4081 {
4082 tmp=./conf$$-$RANDOM
4083 (umask 077 && mkdir "$tmp")
4084 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4085 ac_tmp=$tmp
4086
4087 # Set up the scripts for CONFIG_FILES section.
4088 # No need to generate them if there are no CONFIG_FILES.
4089 # This happens for instance with `./config.status config.h'.
4090 if test -n "$CONFIG_FILES"; then
4091
4092
4093 ac_cr=`echo X | tr X '\015'`
4094 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4095 # But we know of no other shell where ac_cr would be empty at this
4096 # point, so we can use a bashism as a fallback.
4097 if test "x$ac_cr" = x; then
4098 eval ac_cr=\$\'\\r\'
4099 fi
4100 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4101 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4102 ac_cs_awk_cr='\\r'
4103 else
4104 ac_cs_awk_cr=$ac_cr
4105 fi
4106
4107 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4108 _ACEOF
4109
4110
4111 {
4112 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
4113 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
4114 echoscip-shell system . . echo. "_ACEOF"
4115 } >conf$$subs.sh ||
4116 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
4117 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
4118 ac_delim='%!_!# '
4119 for ac_last_try in false false false false false :; do
4120 . ./conf$$subs.sh ||
4121 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
4122
4123 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
4124 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
4125 break
4126 elif $ac_last_try; then
4127 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
4128 else
4129 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4130 fi
4131 done
4132 rmscip-shell system . . rm. -f conf$$subs.sh
4133
4134 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4135 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4136 _ACEOF
4137 sedscip-shell system . . sed. -n '
4138 h
4139 s/^/S["/; s/!.*/"]=/
4140 p
4141 g
4142 s/^[^!]*!//
4143 :repl
4144 t repl
4145 s/'"$ac_delim"'$//
4146 t delim
4147 :nl
4148 h
4149 s/\(.\{148\}\)..*/\1/
4150 t more1
4151 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4152 p
4153 n
4154 b repl
4155 :more1
4156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4157 p
4158 g
4159 s/.\{148\}//
4160 t nl
4161 :delim
4162 h
4163 s/\(.\{148\}\)..*/\1/
4164 t more2
4165 s/["\\]/\\&/g; s/^/"/; s/$/"/
4166 p
4167 b
4168 :more2
4169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4170 p
4171 g
4172 s/.\{148\}//
4173 t delim
4174 ' <conf$$subs.awk | sedscip-shell system . . sed. '
4175 /^[^""]/{
4176 N
4177 s/\n//
4178 }
4179 ' >>$CONFIG_STATUS || ac_write_fail=1
4180 rmscip-shell system . . rm. -f conf$$subs.awk
4181 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4182 _ACAWK
4183 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4184 for (key in S) S_is_set[key] = 1
4185 FS = ""
4186
4187 }
4188 {
4189 line = $ 0
4190 nfields = split(line, field, "@")
4191 substed = 0
4192 len = length(field[1])
4193 for (i = 2; i < nfields; i++) {
4194 key = field[i]
4195 keylen = length(key)
4196 if (S_is_set[key]) {
4197 value = S[key]
4198 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4199 len += length(value) + length(field[++i])
4200 substed = 1
4201 } else
4202 len += 1 + keylen
4203 }
4204
4205 print line
4206 }
4207
4208 _ACAWK
4209 _ACEOF
4210 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4211 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4212 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4213 else
4214 cat
4215 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4216 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4217 _ACEOF
4218
4219 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4220 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4221 # trailing colons and then remove the whole line if VPATH becomes empty
4222 # (actually we leave an empty line to preserve line numbers).
4223 if testscip-shell system . . test. "x$srcdir" = x.; then
4224 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4225 h
4226 s///
4227 s/^/:/
4228 s/[ ]*$/:/
4229 s/:\$(srcdir):/:/g
4230 s/:\${srcdir}:/:/g
4231 s/:@srcdir@:/:/g
4232 s/^:*//
4233 s/:*$//
4234 x
4235 s/\(=[ ]*\).*/\1/
4236 G
4237 s/\n//
4238 s/^[^=]*=[ ]*$//
4239 }'
4240 fi
4241
4242 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4243 fi # test -n "$CONFIG_FILES"
4244
4245 # Set up the scripts for CONFIG_HEADERS section.
4246 # No need to generate them if there are no CONFIG_HEADERS.
4247 # This happens for instance with `./config.status Makefile'.
4248 if test -n "$CONFIG_HEADERS"; then
4249 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4250 BEGIN {
4251 _ACEOF
4252
4253 # Transform confdefs.h into an awk script `defines.awk', embedded as
4254 # here-document in config.status, that substitutes the proper values into
4255 # config.h.in to produce config.h.
4256
4257 # Create a delimiter string that does not exist in confdefs.h, to ease
4258 # handling of long lines.
4259 ac_delim='%!_!# '
4260 for ac_last_try in false false :; do
4261 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
4262 if testscip-shell system . . test. -z "$ac_tt"; then
4263 break
4264 elif $ac_last_try; then
4265 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4266 else
4267 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4268 fi
4269 done
4270
4271 # For the awk script, D is an array of macro values keyed by name,
4272 # likewise P contains macro parameters if any. Preserve backslash
4273 # newline sequences.
4274
4275 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4276 sedscip-shell system . . sed. -n '
4277 s/.\{148\}/&'"$ac_delim"'/g
4278 t rset
4279 :rset
4280 s/^[ ]*#[ ]*define[ ][ ]*/ /
4281 t def
4282 d
4283 :def
4284 s/\\$//
4285 t bsnl
4286 s/["\\]/\\&/g
4287 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4288 D["\1"]=" \3"/p
4289 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4290 d
4291 :bsnl
4292 s/["\\]/\\&/g
4293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4294 D["\1"]=" \3\\\\\\n"\\/p
4295 t cont
4296 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4297 t cont
4298 d
4299 :cont
4300 n
4301 s/.\{148\}/&'"$ac_delim"'/g
4302 t clear
4303 :clear
4304 s/\\$//
4305 t bsnlc
4306 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4307 d
4308 :bsnlc
4309 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4310 b cont
4311 ' <confdefs.h | sedscip-shell system . . sed. '
4312 s/'"$ac_delim"'/"\\\
4313 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4314
4315 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4316 for (key in D) D_is_set[key] = 1
4317 FS = ""
4318 }
4319 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4320 line = \$ 0
4321 split(line, arg, " ")
4322 if (arg[1] == "#") {
4323 defundef = arg[2]
4324 mac1 = arg[3]
4325 } else {
4326 defundef = substr(arg[1], 2)
4327 mac1 = arg[2]
4328 }
4329 split(mac1, mac2, "(") #)
4330 macro = mac2[1]
4331 prefix = substr(line, 1, index(line, defundef) - 1)
4332 if (D_is_set[macro]) {
4333 # Preserve the white space surrounding the "#".
4334 print prefix "define", macro P[macro] D[macro]
4335 next
4336 } else {
4337 # Replace #undef with comments. This is necessary, for example,
4338 # in the case of _POSIX_SOURCE, which is predefined and required
4339 # on some systems where configure will not decide to define it.
4340 if (defundef == "undef") {
4341 print "/*", prefix defundef, macro, "*/"
4342 next
4343 }
4344 }
4345 }
4346 { print }
4347 _ACAWK
4348 _ACEOF
4349 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4350 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4351 fi # test -n "$CONFIG_HEADERS"
4352
4353
4354 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4355 shift
4356 for ac_tag
4357 do
4358 case $ac_tag in
4359 :[FHLC]) ac_mode=$ac_tag; continue;;
4360 esac
4361 case $ac_mode$ac_tag in
4362 :[FHL]*:*);;
4363 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4364 :[FH]-) ac_tag=-:-;;
4365 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4366 esac
4367 ac_save_IFS=$IFS
4368 IFS=:
4369 set x $ac_tag
4370 IFS=$ac_save_IFS
4371 shift
4372 ac_file=$1
4373 shift
4374
4375 case $ac_mode in
4376 :L) ac_source=$1;;
4377 :[FH])
4378 ac_file_inputs=
4379 for ac_f
4380 do
4381 case $ac_f in
4382 -) ac_f="$ac_tmp/stdin";;
4383 *) # Look for the file first in the build tree, then in the source tree
4384 # (if the path is not absolute). The absolute path cannot be DOS-style,
4385 # because $ac_f cannot contain `:'.
4386 test -f "$ac_f" ||
4387 case $ac_f in
4388 [\\/$]*) false;;
4389 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4390 esac ||
4391 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4392 esac
4393 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4394 as_fn_append ac_file_inputs " '$ac_f'"
4395 done
4396
4397 # Let's still pretend it is `configure' which instantiates (i.e., don't
4398 # use $as_me), people would be surprised to read:
4399 # /* config.h. Generated by config.status. */
4400 configure_input='Generated from '`
4401 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4402 `' by configure.'
4403 if test x"$ac_file" != x-; then
4404 configure_input="$ac_file. $configure_input"
4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4406 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4407 fi
4408 # Neutralize special characters interpreted by sed in replacement strings.
4409 case $configure_input in #(
4410 *\&* | *\|* | *\\* )
4411 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4412 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4413 *) ac_sed_conf_input=$configure_input;;
4414 esac
4415
4416 case $ac_tag in
4417 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4418 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4419 esac
4420 ;;
4421 esac
4422
4423 ac_dir=`$as_dirname -- "$ac_file" ||
4424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4425 X"$ac_file" : 'X\(//\)[^/]' \| \
4426 X"$ac_file" : 'X\(//\)$' \| \
4427 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4428 printf "%s\n" X"$ac_file" |
4429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4430 s//\1/
4431 q
4432 }
4433 /^X\(\/\/\)[^/].*/{
4434 s//\1/
4435 q
4436 }
4437 /^X\(\/\/\)$/{
4438 s//\1/
4439 q
4440 }
4441 /^X\(\/\).*/{
4442 s//\1/
4443 q
4444 }
4445 s/.*/./; q'`
4446 as_dir="$ac_dir"; as_fn_mkdir_p
4447 ac_builddir=.
4448
4449 case "$ac_dir" in
4450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4451 *)
4452 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4453 # A ".." for each directory in $ac_dir_suffix.
4454 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4455 case $ac_top_builddir_sub in
4456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4458 esac ;;
4459 esac
4460 ac_abs_top_builddir=$ac_pwd
4461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4462 # for backward compatibility:
4463 ac_top_builddir=$ac_top_build_prefix
4464
4465 case $srcdir in
4466 .) # We are building in place.
4467 ac_srcdir=.
4468 ac_top_srcdir=$ac_top_builddir_sub
4469 ac_abs_top_srcdir=$ac_pwd ;;
4470 [\\/]* | ?:[\\/]* ) # Absolute name.
4471 ac_srcdir=$srcdir$ac_dir_suffix;
4472 ac_top_srcdir=$srcdir
4473 ac_abs_top_srcdir=$srcdir ;;
4474 *) # Relative name.
4475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4476 ac_top_srcdir=$ac_top_build_prefix$srcdir
4477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4478 esac
4479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4480
4481
4482 case $ac_mode in
4483 :F)
4484 #
4485 # CONFIG_FILE
4486 #
4487
4488 _ACEOF
4489
4490 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4491 # If the template does not know about datarootdir, expand it.
4492 # FIXME: This hack should be removed a few years after 2.60.
4493 ac_datarootdir_hack=; ac_datarootdir_seen=
4494 ac_sed_dataroot='
4495 /datarootdir/ {
4496 p
4497 q
4498 }
4499 /@datadir@/p
4500 /@docdir@/p
4501 /@infodir@/p
4502 /@localedir@/p
4503 /@mandir@/p'
4504 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4505 *datarootdir*) ac_datarootdir_seen=yes;;
4506 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4508 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4509 _ACEOF
4510 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4511 ac_datarootdir_hack='
4512 s&@datadir@&$datadir&g
4513 s&@docdir@&$docdir&g
4514 s&@infodir@&$infodir&g
4515 s&@localedir@&$localedir&g
4516 s&@mandir@&$mandir&g
4517 s&\\\${datarootdir}&$datarootdir&g' ;;
4518 esac
4519 _ACEOF
4520
4521 # Neutralize VPATH when `$srcdir' = `.'.
4522 # Shell code in configure.ac might set extrasub.
4523 # FIXME: do we really want to maintain this feature?
4524 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4525 ac_sed_extra="$ac_vpsub
4526 $extrasub
4527 _ACEOF
4528 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4529 :t
4530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4531 s|@configure_input@|$ac_sed_conf_input|;t t
4532 s&@top_builddir@&$ac_top_builddir_sub&;t t
4533 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4534 s&@srcdir@&$ac_srcdir&;t t
4535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4536 s&@top_srcdir@&$ac_top_srcdir&;t t
4537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4538 s&@builddir@&$ac_builddir&;t t
4539 s&@abs_builddir@&$ac_abs_builddir&;t t
4540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4541 $ac_datarootdir_hack
4542 "
4543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4544 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4545
4546 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4547 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4548 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4549 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4551 which seems to be undefined. Please make sure it is defined" >&5
4552 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4553 which seems to be undefined. Please make sure it is defined" >&2;}
4554
4555 rm -f "$ac_tmp/stdin"
4556 case $ac_file in
4557 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4558 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4559 esac \
4560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4561 ;;
4562 :H)
4563 #
4564 # CONFIG_HEADER
4565 #
4566 if test x"$ac_file" != x-; then
4567 {
4568 printf "%s\n" "/* $configure_input */" >&1 \
4569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4570 } >"$ac_tmp/config.h" \
4571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4572 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4574 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4575 else
4576 rm -f "$ac_file"
4577 mv "$ac_tmp/config.h" "$ac_file" \
4578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4579 fi
4580 else
4581 printf "%s\n" "/* $configure_input */" >&1 \
4582 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4583 || as_fn_error $? "could not create -" "$LINENO" 5
4584 fi
4585 ;;
4586
4587
4588 esac
4589
4590 done # for ac_tag
4591
4592
4593 as_fn_exit 0
4594 _ACEOF
4595 ac_clean_files=$ac_clean_files_save
4596
4597 testscip-shell system . . test. $ac_write_fail = 0 ||
4598 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4599
4600
4601 # configure is writing to config.log, and then calls config.status.
4602 # config.status does its own redirection, appending to config.log.
4603 # Unfortunately, on DOS this fails, as config.log is still kept open
4604 # by configure, so config.status won't be able to write to it; its
4605 # output is simply discarded. So we exec the FD to /dev/null,
4606 # effectively closing config.log, so it can be properly (re)opened and
4607 # appended to by config.status. When coming back to configure, we
4608 # need to make the FD available again.
4609 if testscip-shell system . . test. "$no_create" != yes; then
4610 ac_cs_success=:
4611 ac_config_status_args=
4612 testscip-shell system . . test. "$silent" = yes &&
4613 ac_config_status_args="$ac_config_status_args --quiet"
4614 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
4615 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4616 exec 5>>config.log
4617 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4618 # would make configure fail if this is the last instruction.
4619 $ac_cs_success || as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1
4620 fi
4621 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
4622 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4623 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4624 fi
4625
4626