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