Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for pinentry 1.3.3.
4 #
5 # Report bugs to <https://bugs.gnupg.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
21 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
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 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
247 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
248 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if testscip-shell system . . test. x$as_have_required = xno
263 then :
264 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
265 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
266 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
267 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and
271 $0: https://bugs.gnupg.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unsetscip-shell shell shell-project 0.0.0 as_fn_unset(). ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). ()
303 {
304 return $1
305 } # as_fn_set_status
306
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). ()
311 {
312 set +e
313 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
320 {
321 return $?
322 }
323 as_nop=as_fn_nop
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_pscip-shell shell shell-project 0.0.0 as_fn_mkdir_p(). ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
347 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
348 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 testscip-shell system . . test. -d "$as_dir" && break
366 done
367 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || 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"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). ()
377 {
378 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
387 then :
388 eval 'as_fn_append ()
389 {
390 eval $1+=\$2
391 }'
392 else $as_nop
393 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ()
394 {
395 eval $1=\$$1\$2
396 }
397 fi # as_fn_append
398
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
405 then :
406 eval 'as_fn_arith ()
407 {
408 as_val=$(( $* ))
409 }'
410 else $as_nop
411 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). ()
412 {
413 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
414 }
415 fi # as_fn_arith
416
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nopscip-shell shell shell-project 0.0.0 as_fn_nop(). ()
421 {
422 return $?
423 }
424 as_nop=as_fn_nop
425
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). ()
432 {
433 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
434 if testscip-shell system . . test. "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 fi
438 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
439 as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). $as_status
440 } # as_fn_error
441
442 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
443 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
447 fi
448
449 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
450 as_basename=basename
451 else
452 as_basename=false
453 fi
454
455 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
456 as_dirname=dirname
457 else
458 as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
465 printfscip-shell system . . printf. "%s\n" X/"$0" |
466 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\/\)$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\).*/{
475 s//\1/
476 q
477 }
478 s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sedscip-shell system . . sed. -n '
494 p
495 /[$]LINENO/=
496 ' <$as_myself |
497 sedscip-shell system . . sed. '
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
509 { 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; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echoscip-shell system . . echo. -n x` in #(((((
529 -n*)
530 case `echoscip-shell system . . echo. 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546
547 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
548 if testscip-shell system . . test. -d conf$$.dir; then
549 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
550 else
551 rmscip-shell system . . rm. -f conf$$.dir
552 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
553 fi
554 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
555 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
567 fi
568 else
569 as_ln_s='cp -pR'
570 fi
571 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
573
574 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
578 as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='pinentry'
613 PACKAGE_TARNAME='pinentry'
614 PACKAGE_VERSION='1.3.3'
615 PACKAGE_STRING='pinentry 1.3.3'
616 PACKAGE_BUGREPORT='https://bugs.gnupg.org'
617 PACKAGE_URL=''
618
619 ac_unique_file="pinentry/pinentry.h"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
650
651 ac_header_c_list=
652 ac_subst_vars='am__EXEEXT_FALSE
653 am__EXEEXT_TRUE
654 LTLIBOBJS
655 LIBOBJS
656 BUILD_DOC_FALSE
657 BUILD_DOC_TRUE
658 PINENTRY_DEFAULT
659 BUILD_PINENTRY_FLTK_FALSE
660 BUILD_PINENTRY_FLTK_TRUE
661 FLTKLIBS
662 FLTKCXXFLAGS
663 FLTKCFLAGS
664 FLTK_CONFIG
665 BUILD_PINENTRY_W32_FALSE
666 BUILD_PINENTRY_W32_TRUE
667 BUILD_PINENTRY_TQT_FALSE
668 BUILD_PINENTRY_TQT_TRUE
669 TQT_MOC
670 PINENTRY_TQT_LIBS
671 PINENTRY_TQT_CFLAGS
672 BUILD_PINENTRY_QT4_FALSE
673 BUILD_PINENTRY_QT4_TRUE
674 PINENTRY_QT4_LDFLAGS
675 MOC42
676 MOC4
677 PINENTRY_QT4_LIBS
678 PINENTRY_QT4_CFLAGS
679 KF6WINDOWSYSTEM_LIBS
680 KF6WINDOWSYSTEM_CFLAGS
681 BUILD_PINENTRY_QT6_FALSE
682 BUILD_PINENTRY_QT6_TRUE
683 PINENTRY_QT6_LDFLAGS
684 RCC6
685 MOC6
686 PINENTRY_QT6TEST_LIBS
687 PINENTRY_QT6TEST_CFLAGS
688 PINENTRY_QT6_LIBS
689 PINENTRY_QT6_CFLAGS
690 BUILD_PINENTRY_QT5_FALSE
691 BUILD_PINENTRY_QT5_TRUE
692 PINENTRY_QT5_LDFLAGS
693 RCC5_2
694 RCC5
695 QTCHOOSER
696 MOC5_2
697 MOC5
698 PINENTRY_QT5_X11_EXTRAS_LIBS
699 PINENTRY_QT5_X11_EXTRAS_CFLAGS
700 PINENTRY_QT5_REQUIRE_CPP11_LIBS
701 PINENTRY_QT5_REQUIRE_CPP11_CFLAGS
702 PINENTRY_QT5_LIBS
703 PINENTRY_QT5_CFLAGS
704 KF6GUIADDONS_LIBS
705 KF6GUIADDONS_CFLAGS
706 KF5WAYLANDCLIENT_LIBS
707 KF5WAYLANDCLIENT_CFLAGS
708 LIBX11_LIBS
709 LIBX11_CFLAGS
710 BUILD_WITH_LIBSECRET_FALSE
711 BUILD_WITH_LIBSECRET_TRUE
712 LIBSECRET_LIBS
713 LIBSECRET_CFLAGS
714 BUILD_PINENTRY_GNOME_3_FALSE
715 BUILD_PINENTRY_GNOME_3_TRUE
716 GNOME3_LIBS
717 GNOME3_CFLAGS
718 BUILD_PINENTRY_GTK_2_FALSE
719 BUILD_PINENTRY_GTK_2_TRUE
720 GTK2_LIBS
721 GTK2_CFLAGS
722 BUILD_PINENTRY_EFL_FALSE
723 BUILD_PINENTRY_EFL_TRUE
724 EFL_LIBS
725 EFL_CFLAGS
726 INSIDE_EMACS_FALSE
727 INSIDE_EMACS_TRUE
728 BUILD_PINENTRY_EMACS_FALSE
729 BUILD_PINENTRY_EMACS_TRUE
730 BUILD_LIBPINENTRY_EMACS_FALSE
731 BUILD_LIBPINENTRY_EMACS_TRUE
732 LTLIBICONV
733 LIBICONV
734 EGREP
735 GREP
736 BUILD_PINENTRY_TTY_FALSE
737 BUILD_PINENTRY_TTY_TRUE
738 FALLBACK_CURSES_FALSE
739 FALLBACK_CURSES_TRUE
740 BUILD_PINENTRY_CURSES_FALSE
741 BUILD_PINENTRY_CURSES_TRUE
742 BUILD_LIBPINENTRY_CURSES_FALSE
743 BUILD_LIBPINENTRY_CURSES_TRUE
744 LIBCURSES
745 LIBTERMCAP
746 LIBNCURSES
747 NCURSES_INCLUDE
748 NCURSES_LIBS
749 NCURSES_CFLAGS
750 LIBASSUAN_LIBS
751 LIBASSUAN_CFLAGS
752 LIBASSUAN_CONFIG
753 GPG_ERROR_MT_LIBS
754 GPG_ERROR_MT_CFLAGS
755 GPG_ERROR_LIBS
756 GPG_ERROR_CFLAGS
757 GPGRT_CONFIG
758 GPG_ERROR_CONFIG
759 COMMON_LIBS
760 COMMON_CFLAGS
761 HAVE_W32_SYSTEM_FALSE
762 HAVE_W32_SYSTEM_TRUE
763 HAVE_DOSISH_SYSTEM_FALSE
764 HAVE_DOSISH_SYSTEM_TRUE
765 GITLOG_TO_CHANGELOG
766 WINDRES
767 PKG_CONFIG
768 LN_S
769 am__fastdepCXX_FALSE
770 am__fastdepCXX_TRUE
771 CXXDEPMODE
772 ac_ct_CXX
773 CXXFLAGS
774 CXX
775 RANLIB
776 AR
777 CPP
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 MAINT
787 MAINTAINER_MODE_FALSE
788 MAINTAINER_MODE_TRUE
789 am__fastdepCC_FALSE
790 am__fastdepCC_TRUE
791 CCDEPMODE
792 am__nodep
793 AMDEPBACKSLASH
794 AMDEP_FALSE
795 AMDEP_TRUE
796 am__include
797 DEPDIR
798 OBJEXT
799 EXEEXT
800 ac_ct_CC
801 CPPFLAGS
802 LDFLAGS
803 CFLAGS
804 CC
805 AM_BACKSLASH
806 AM_DEFAULT_VERBOSITY
807 AM_DEFAULT_V
808 AM_V
809 CSCOPE
810 ETAGS
811 CTAGS
812 am__untar
813 am__tar
814 AMTAR
815 am__leading_dot
816 SET_MAKE
817 AWK
818 mkdir_p
819 MKDIR_P
820 INSTALL_STRIP_PROGRAM
821 STRIP
822 install_sh
823 MAKEINFO
824 AUTOHEADER
825 AUTOMAKE
826 AUTOCONF
827 ACLOCAL
828 VERSION
829 PACKAGE
830 CYGPATH_W
831 am__isrc
832 INSTALL_DATA
833 INSTALL_SCRIPT
834 INSTALL_PROGRAM
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL
874 am__quote'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_silent_rules
879 enable_dependency_tracking
880 enable_maintainer_mode
881 with_libgpg_error_prefix
882 with_gpg_error_prefix
883 with_libassuan_prefix
884 enable_pinentry_curses
885 enable_fallback_curses
886 enable_ncurses
887 with_ncurses_include_dir
888 enable_pinentry_tty
889 with_gnu_ld
890 enable_rpath
891 with_libiconv_prefix
892 enable_pinentry_emacs
893 enable_inside_emacs
894 enable_pinentry_efl
895 enable_pinentry_gtk2
896 enable_pinentry_gnome3
897 enable_libsecret
898 enable_pinentry_qt5
899 enable_pinentry_qt
900 enable_pinentry_qt4
901 enable_pinentry_tqt
902 enable_pinentry_fltk
903 enable_doc
904 '
905 ac_precious_vars='build_alias
906 host_alias
907 target_alias
908 CC
909 CFLAGS
910 LDFLAGS
911 LIBS
912 CPPFLAGS
913 CPP
914 CXX
915 CXXFLAGS
916 CCC
917 PKG_CONFIG
918 NCURSES_CFLAGS
919 NCURSES_LIBS
920 EFL_CFLAGS
921 EFL_LIBS
922 GTK2_CFLAGS
923 GTK2_LIBS
924 GNOME3_CFLAGS
925 GNOME3_LIBS
926 LIBSECRET_CFLAGS
927 LIBSECRET_LIBS
928 LIBX11_CFLAGS
929 LIBX11_LIBS
930 KF5WAYLANDCLIENT_CFLAGS
931 KF5WAYLANDCLIENT_LIBS
932 KF6GUIADDONS_CFLAGS
933 KF6GUIADDONS_LIBS
934 PINENTRY_QT5_CFLAGS
935 PINENTRY_QT5_LIBS
936 PINENTRY_QT5_REQUIRE_CPP11_CFLAGS
937 PINENTRY_QT5_REQUIRE_CPP11_LIBS
938 PINENTRY_QT5_X11_EXTRAS_CFLAGS
939 PINENTRY_QT5_X11_EXTRAS_LIBS
940 PINENTRY_QT6_CFLAGS
941 PINENTRY_QT6_LIBS
942 PINENTRY_QT6TEST_CFLAGS
943 PINENTRY_QT6TEST_LIBS
944 KF6WINDOWSYSTEM_CFLAGS
945 KF6WINDOWSYSTEM_LIBS
946 PINENTRY_QT4_CFLAGS
947 PINENTRY_QT4_LIBS
948 PINENTRY_TQT_CFLAGS
949 PINENTRY_TQT_LIBS'
950
951
952 # Initialize some variables set by options.
953 ac_init_help=
954 ac_init_version=false
955 ac_unrecognized_opts=
956 ac_unrecognized_sep=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
959 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
960 exec_prefix=NONE
961 no_create=
962 no_recursion=
963 prefix=NONE
964 program_prefix=NONE
965 program_suffix=NONE
966 program_transform_name=s,x,x,
967 silent=
968 site=
969 srcdir=
970 verbose=
971 x_includes=NONE
972 x_libraries=NONE
973
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir='${exec_prefix}/bin'
981 sbindir='${exec_prefix}/sbin'
982 libexecdir='${exec_prefix}/libexec'
983 datarootdir='${prefix}/share'
984 datadir='${datarootdir}'
985 sysconfdir='${prefix}/etc'
986 sharedstatedir='${prefix}/com'
987 localstatedir='${prefix}/var'
988 runstatedir='${localstatedir}/run'
989 includedir='${prefix}/include'
990 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
991 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
992 infodir='${datarootdir}/info'
993 htmldir='${docdir}'
994 dvidir='${docdir}'
995 pdfdir='${docdir}'
996 psdir='${docdir}'
997 libdir='${exec_prefix}/lib'
998 localedir='${datarootdir}/locale'
999 mandir='${datarootdir}/man'
1000
1001 ac_prev=
1002 ac_dashdash=
1003 for ac_option
1004 do
1005 # If the previous option needs an argument, assign it.
1006 if testscip-shell system . . test. -n "$ac_prev"; then
1007 eval $ac_prev=\$ac_option
1008 ac_prev=
1009 continue
1010 fi
1011
1012 case $ac_option in
1013 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 *=) ac_optarg= ;;
1015 *) ac_optarg=yes ;;
1016 esac
1017
1018 case $ac_dashdash$ac_option in
1019 --)
1020 ac_dashdash=yes ;;
1021
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1023 ac_prev=bindir ;;
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir=$ac_optarg ;;
1026
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev=build_alias ;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias=$ac_optarg ;;
1031
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev=cache_file ;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file=$ac_optarg ;;
1038
1039 --config-cache | -C)
1040 cache_file=config.cache ;;
1041
1042 -datadir | --datadir | --datadi | --datad)
1043 ac_prev=datadir ;;
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir=$ac_optarg ;;
1046
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev=datarootdir ;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir=$ac_optarg ;;
1053
1054 -disable-* | --disable-*)
1055 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1058 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "enable_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval enable_$ac_useropt=no ;;
1069
1070 -docdir | --docdir | --docdi | --doc | --do)
1071 ac_prev=docdir ;;
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir=$ac_optarg ;;
1074
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1076 ac_prev=dvidir ;;
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir=$ac_optarg ;;
1079
1080 -enable-* | --enable-*)
1081 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1084 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "enable_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval enable_$ac_useropt=\$ac_optarg ;;
1095
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev=exec_prefix ;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix=$ac_optarg ;;
1104
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1107 with_gas=yes ;;
1108
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help=long ;;
1111 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1112 ac_init_help=recursive ;;
1113 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1114 ac_init_help=short ;;
1115
1116 -host | --host | --hos | --ho)
1117 ac_prev=host_alias ;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias=$ac_optarg ;;
1120
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1122 ac_prev=htmldir ;;
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1124 | --ht=*)
1125 htmldir=$ac_optarg ;;
1126
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev=includedir ;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir=$ac_optarg ;;
1133
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1135 ac_prev=infodir ;;
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir=$ac_optarg ;;
1138
1139 -libdir | --libdir | --libdi | --libd)
1140 ac_prev=libdir ;;
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir=$ac_optarg ;;
1143
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev=libexecdir ;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir=$ac_optarg ;;
1150
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev=localedir ;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir=$ac_optarg ;;
1155
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev=localstatedir ;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir=$ac_optarg ;;
1162
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1164 ac_prev=mandir ;;
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir=$ac_optarg ;;
1167
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1170 with_fp=no ;;
1171
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1174 no_create=yes ;;
1175
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1178 no_recursion=yes ;;
1179
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev=oldincludedir ;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir=$ac_optarg ;;
1188
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1190 ac_prev=prefix ;;
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix=$ac_optarg ;;
1193
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev=program_prefix ;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix=$ac_optarg ;;
1200
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev=program_suffix ;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix=$ac_optarg ;;
1207
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev=program_transform_name ;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name=$ac_optarg ;;
1224
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1226 ac_prev=pdfdir ;;
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir=$ac_optarg ;;
1229
1230 -psdir | --psdir | --psdi | --psd | --ps)
1231 ac_prev=psdir ;;
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1233 psdir=$ac_optarg ;;
1234
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1237 silent=yes ;;
1238
1239 -runstatedir | --runstatedir | --runstatedi | --runstated \
1240 | --runstate | --runstat | --runsta | --runst | --runs \
1241 | --run | --ru | --r)
1242 ac_prev=runstatedir ;;
1243 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1244 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1245 | --run=* | --ru=* | --r=*)
1246 runstatedir=$ac_optarg ;;
1247
1248 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 ac_prev=sbindir ;;
1250 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 | --sbi=* | --sb=*)
1252 sbindir=$ac_optarg ;;
1253
1254 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1255 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1256 | --sharedst | --shareds | --shared | --share | --shar \
1257 | --sha | --sh)
1258 ac_prev=sharedstatedir ;;
1259 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1260 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1261 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 | --sha=* | --sh=*)
1263 sharedstatedir=$ac_optarg ;;
1264
1265 -site | --site | --sit)
1266 ac_prev=site ;;
1267 -site=* | --site=* | --sit=*)
1268 site=$ac_optarg ;;
1269
1270 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 ac_prev=srcdir ;;
1272 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1273 srcdir=$ac_optarg ;;
1274
1275 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1276 | --syscon | --sysco | --sysc | --sys | --sy)
1277 ac_prev=sysconfdir ;;
1278 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1279 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1280 sysconfdir=$ac_optarg ;;
1281
1282 -target | --target | --targe | --targ | --tar | --ta | --t)
1283 ac_prev=target_alias ;;
1284 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1285 target_alias=$ac_optarg ;;
1286
1287 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1288 verbose=yes ;;
1289
1290 -version | --version | --versio | --versi | --vers | -V)
1291 ac_init_version=: ;;
1292
1293 -with-* | --with-*)
1294 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1295 # Reject names that are not valid shell variable names.
1296 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1297 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1298 ac_useropt_orig=$ac_useropt
1299 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1300 case $ac_user_opts in
1301 *"
1302 "with_$ac_useropt"
1303 "*) ;;
1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305 ac_unrecognized_sep=', ';;
1306 esac
1307 eval with_$ac_useropt=\$ac_optarg ;;
1308
1309 -without-* | --without-*)
1310 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1311 # Reject names that are not valid shell variable names.
1312 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1313 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1314 ac_useropt_orig=$ac_useropt
1315 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1316 case $ac_user_opts in
1317 *"
1318 "with_$ac_useropt"
1319 "*) ;;
1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1321 ac_unrecognized_sep=', ';;
1322 esac
1323 eval with_$ac_useropt=no ;;
1324
1325 --x)
1326 # Obsolete; use --with-x.
1327 with_x=yes ;;
1328
1329 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1330 | --x-incl | --x-inc | --x-in | --x-i)
1331 ac_prev=x_includes ;;
1332 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1333 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1334 x_includes=$ac_optarg ;;
1335
1336 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1337 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1338 ac_prev=x_libraries ;;
1339 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1340 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1341 x_libraries=$ac_optarg ;;
1342
1343 -*) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized option: \`$ac_option'
1344 Try \`$0 --help' for more information"
1345 ;;
1346
1347 *=*)
1348 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1349 # Reject names that are not valid shell variable names.
1350 case $ac_envvar in #(
1351 '' | [0-9]* | *[!_$as_cr_alnum]* )
1352 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1353 esac
1354 eval $ac_envvar=\$ac_optarg
1355 export $ac_envvar ;;
1356
1357 *)
1358 # FIXME: should be removed in autoconf 3.0.
1359 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1360 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1361 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1362 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1363 ;;
1364
1365 esac
1366 done
1367
1368 if testscip-shell system . . test. -n "$ac_prev"; then
1369 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1370 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "missing argument to $ac_option"
1371 fi
1372
1373 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1374 case $enable_option_checking in
1375 no) ;;
1376 fatal) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1377 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1378 esac
1379 fi
1380
1381 # Check all directory arguments for consistency.
1382 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1383 datadir sysconfdir sharedstatedir localstatedir includedir \
1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1385 libdir localedir mandir runstatedir
1386 do
1387 eval ac_val=\$$ac_var
1388 # Remove trailing slashes.
1389 case $ac_val in
1390 */ )
1391 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1392 eval $ac_var=\$ac_val;;
1393 esac
1394 # Be sure to have absolute directory names.
1395 case $ac_val in
1396 [\\/$]* | ?:[\\/]* ) continue;;
1397 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 esac
1399 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1400 done
1401
1402 # There might be people who depend on the old broken behavior: `$host'
1403 # used to hold the argument of --host etc.
1404 # FIXME: To remove some day.
1405 build=$build_alias
1406 host=$host_alias
1407 target=$target_alias
1408
1409 # FIXME: To remove some day.
1410 if testscip-shell system . . test. "x$host_alias" != x; then
1411 if testscip-shell system . . test. "x$build_alias" = x; then
1412 cross_compiling=maybe
1413 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1414 cross_compiling=yes
1415 fi
1416 fi
1417
1418 ac_tool_prefix=
1419 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1420
1421 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1422
1423
1424 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1425 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1426 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1427 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "working directory cannot be determined"
1428 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "pwd does not report name of working directory"
1430
1431
1432 # Find the source files, if location was not specified.
1433 if testscip-shell system . . test. -z "$srcdir"; then
1434 ac_srcdir_defaulted=yes
1435 # Try the directory containing this script, then the parent directory.
1436 ac_confdir=`$as_dirname -- "$as_myself" ||
1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1438 X"$as_myself" : 'X\(//\)[^/]' \| \
1439 X"$as_myself" : 'X\(//\)$' \| \
1440 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1441 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1442 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 s//\1/
1444 q
1445 }
1446 /^X\(\/\/\)[^/].*/{
1447 s//\1/
1448 q
1449 }
1450 /^X\(\/\/\)$/{
1451 s//\1/
1452 q
1453 }
1454 /^X\(\/\).*/{
1455 s//\1/
1456 q
1457 }
1458 s/.*/./; q'`
1459 srcdir=$ac_confdir
1460 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1461 srcdir=..
1462 fi
1463 else
1464 ac_srcdir_defaulted=no
1465 fi
1466 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1467 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1468 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1469 fi
1470 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1471 ac_abs_confdir=`(
1472 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"
1473 pwdscip-shell system . . pwd.)`
1474 # When building in place, set srcdir=.
1475 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1476 srcdir=.
1477 fi
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1481 case $srcdir in
1482 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1483 esac
1484 for ac_var in $ac_precious_vars; do
1485 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_env_${ac_var}_value=\$${ac_var}
1487 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1489 done
1490
1491 #
1492 # Report the --help message.
1493 #
1494 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1497 catscip-shell system . . cat. <<_ACEOF
1498 \`configure' configures pinentry 1.3.3 to adapt to many kinds of systems.
1499
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1501
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1504
1505 Defaults for the options are specified in brackets.
1506
1507 Configuration:
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking ...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1517
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 [PREFIX]
1523
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1528
1529 For better control, use the options below.
1530
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/pinentry]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1552 _ACEOF
1553
1554 catscip-shell system . . cat. <<\_ACEOF
1555
1556 Program names:
1557 --program-prefix=PREFIX prepend PREFIX to installed program names
1558 --program-suffix=SUFFIX append SUFFIX to installed program names
1559 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1560
1561 System types:
1562 --build=BUILD configure for building on BUILD [guessed]
1563 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1564 _ACEOF
1565 fi
1566
1567 if testscip-shell system . . test. -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echoscip-shell system . . echo. "Configuration of pinentry 1.3.3:";;
1570 esac
1571 catscip-shell system . . cat. <<\_ACEOF
1572
1573 Optional Features:
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-silent-rules less verbose build output (undo: "make V=1")
1578 --disable-silent-rules verbose build output (undo: "make V=0")
1579 --enable-dependency-tracking
1580 do not reject slow dependency extractors
1581 --disable-dependency-tracking
1582 speeds up one-time build
1583 --enable-maintainer-mode
1584 enable make rules and dependencies not useful (and
1585 sometimes confusing) to the casual installer
1586 --enable-pinentry-curses
1587 build curses pinentry
1588 --enable-fallback-curses
1589 include curses fallback
1590 --disable-ncurses don't prefer -lncurses over -lcurses
1591 --enable-pinentry-tty build tty pinentry
1592 --disable-rpath do not hardcode runtime library paths
1593 --enable-pinentry-emacs build emacs pinentry
1594 --enable-inside-emacs include emacs hack
1595 --enable-pinentry-efl build EFL pinentry
1596 --enable-pinentry-gtk2 build GTK+-2 pinentry
1597 --enable-pinentry-gnome3
1598 build GNOME 3 pinentry
1599 --enable-libsecret optionally cache passphrases using libsecret
1600 --enable-pinentry-qt5 build Qt5 pinentry
1601 --disable-pinentry-qt5 Don't use qt5 even if it is available.
1602 --enable-pinentry-qt build Qt6 pinentry
1603 --enable-pinentry-qt4 build Qt4 pinentry
1604 --enable-pinentry-tqt build tqt pinentry
1605 --enable-pinentry-fltk build FLTK 1.3/1.4 pinentry
1606 --disable-doc do not build the documentation
1607
1608 Optional Packages:
1609 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1611 --with-libgpg-error-prefix=PFX
1612 prefix where GPG Error is installed (optional)
1613
1614 --with-libassuan-prefix=PFX
1615 prefix where LIBASSUAN is installed (optional)
1616 --with-ncurses-include-dir=DIR
1617 Set directory containing the include files for use
1618 with -lncurses, when it isn't installed as the
1619 default curses library. If DIR is "none", then no
1620 special ncurses include files are used.
1621 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1622 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1623 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1624
1625 Some influential environment variables:
1626 CC C compiler command
1627 CFLAGS C compiler flags
1628 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1629 nonstandard directory <lib dir>
1630 LIBS libraries to pass to the linker, e.g. -l<library>
1631 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1632 you have headers in a nonstandard directory <include dir>
1633 CPP C preprocessor
1634 CXX C++ compiler command
1635 CXXFLAGS C++ compiler flags
1636 PKG_CONFIG path to pkg-config utility
1637 NCURSES_CFLAGS
1638 C compiler flags for NCURSES, overriding pkg-config
1639 NCURSES_LIBS
1640 linker flags for NCURSES, overriding pkg-config
1641 EFL_CFLAGS C compiler flags for EFL, overriding pkg-config
1642 EFL_LIBS linker flags for EFL, overriding pkg-config
1643 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1644 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1645 GNOME3_CFLAGS
1646 C compiler flags for GNOME3, overriding pkg-config
1647 GNOME3_LIBS linker flags for GNOME3, overriding pkg-config
1648 LIBSECRET_CFLAGS
1649 C compiler flags for LIBSECRET, overriding pkg-config
1650 LIBSECRET_LIBS
1651 linker flags for LIBSECRET, overriding pkg-config
1652 LIBX11_CFLAGS
1653 C compiler flags for LIBX11, overriding pkg-config
1654 LIBX11_LIBS linker flags for LIBX11, overriding pkg-config
1655 KF5WAYLANDCLIENT_CFLAGS
1656 C compiler flags for KF5WAYLANDCLIENT, overriding pkg-config
1657 KF5WAYLANDCLIENT_LIBS
1658 linker flags for KF5WAYLANDCLIENT, overriding pkg-config
1659 KF6GUIADDONS_CFLAGS
1660 C compiler flags for KF6GUIADDONS, overriding pkg-config
1661 KF6GUIADDONS_LIBS
1662 linker flags for KF6GUIADDONS, overriding pkg-config
1663 PINENTRY_QT5_CFLAGS
1664 C compiler flags for PINENTRY_QT5, overriding pkg-config
1665 PINENTRY_QT5_LIBS
1666 linker flags for PINENTRY_QT5, overriding pkg-config
1667 PINENTRY_QT5_REQUIRE_CPP11_CFLAGS
1668 C compiler flags for PINENTRY_QT5_REQUIRE_CPP11, overriding
1669 pkg-config
1670 PINENTRY_QT5_REQUIRE_CPP11_LIBS
1671 linker flags for PINENTRY_QT5_REQUIRE_CPP11, overriding
1672 pkg-config
1673 PINENTRY_QT5_X11_EXTRAS_CFLAGS
1674 C compiler flags for PINENTRY_QT5_X11_EXTRAS, overriding
1675 pkg-config
1676 PINENTRY_QT5_X11_EXTRAS_LIBS
1677 linker flags for PINENTRY_QT5_X11_EXTRAS, overriding pkg-config
1678 PINENTRY_QT6_CFLAGS
1679 C compiler flags for PINENTRY_QT6, overriding pkg-config
1680 PINENTRY_QT6_LIBS
1681 linker flags for PINENTRY_QT6, overriding pkg-config
1682 PINENTRY_QT6TEST_CFLAGS
1683 C compiler flags for PINENTRY_QT6TEST, overriding pkg-config
1684 PINENTRY_QT6TEST_LIBS
1685 linker flags for PINENTRY_QT6TEST, overriding pkg-config
1686 KF6WINDOWSYSTEM_CFLAGS
1687 C compiler flags for KF6WINDOWSYSTEM, overriding pkg-config
1688 KF6WINDOWSYSTEM_LIBS
1689 linker flags for KF6WINDOWSYSTEM, overriding pkg-config
1690 PINENTRY_QT4_CFLAGS
1691 C compiler flags for PINENTRY_QT4, overriding pkg-config
1692 PINENTRY_QT4_LIBS
1693 linker flags for PINENTRY_QT4, overriding pkg-config
1694 PINENTRY_TQT_CFLAGS
1695 C compiler flags for PINENTRY_TQT, overriding pkg-config
1696 PINENTRY_TQT_LIBS
1697 linker flags for PINENTRY_TQT, overriding pkg-config
1698
1699 Use these variables to override the choices made by `configure' or to help
1700 it to find libraries and programs with nonstandard names/locations.
1701
1702 Report bugs to <https://bugs.gnupg.org>.
1703 _ACEOF
1704 ac_status=$?
1705 fi
1706
1707 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1708 # If there are subdirs, report their specific --help.
1709 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1710 testscip-shell system . . test. -d "$ac_dir" ||
1711 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1712 continue
1713 ac_builddir=.
1714
1715 case "$ac_dir" in
1716 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1717 *)
1718 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1719 # A ".." for each directory in $ac_dir_suffix.
1720 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1721 case $ac_top_builddir_sub in
1722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1724 esac ;;
1725 esac
1726 ac_abs_top_builddir=$ac_pwd
1727 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1728 # for backward compatibility:
1729 ac_top_builddir=$ac_top_build_prefix
1730
1731 case $srcdir in
1732 .) # We are building in place.
1733 ac_srcdir=.
1734 ac_top_srcdir=$ac_top_builddir_sub
1735 ac_abs_top_srcdir=$ac_pwd ;;
1736 [\\/]* | ?:[\\/]* ) # Absolute name.
1737 ac_srcdir=$srcdir$ac_dir_suffix;
1738 ac_top_srcdir=$srcdir
1739 ac_abs_top_srcdir=$srcdir ;;
1740 *) # Relative name.
1741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1742 ac_top_srcdir=$ac_top_build_prefix$srcdir
1743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1744 esac
1745 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1746
1747 cd "$ac_dir" || { ac_status=$?; continue; }
1748 # Check for configure.gnu first; this name is used for a wrapper for
1749 # Metaconfig's "Configure" on case-insensitive file systems.
1750 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1751 echoscip-shell system . . echo. &&
1752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1753 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1754 echoscip-shell system . . echo. &&
1755 $SHELL "$ac_srcdir/configure" --help=recursive
1756 else
1757 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1758 fi || ac_status=$?
1759 cd "$ac_pwd" || { ac_status=$?; break; }
1760 done
1761 fi
1762
1763 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1764 if $ac_init_version; then
1765 catscip-shell system . . cat. <<\_ACEOF
1766 pinentry configure 1.3.3
1767 generated by GNU Autoconf 2.71
1768
1769 Copyright (C) 2021 Free Software Foundation, Inc.
1770 This configure script is free software; the Free Software Foundation
1771 gives unlimited permission to copy, distribute and modify it.
1772 _ACEOF
1773 exit
1774 fi
1775
1776 ## ------------------------ ##
1777 ## Autoconf initialization. ##
1778 ## ------------------------ ##
1779
1780 # ac_fn_c_try_compile LINENO
1781 # --------------------------
1782 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). ()
1784 {
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1787 if { { ac_try="$ac_compile"
1788 case "(($ac_try" in
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1791 esac
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1794 (eval "$ac_compile") 2>conftest.err
1795 ac_status=$?
1796 if testscip-shell system . . test. -s conftest.err; then
1797 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1798 catscip-shell system . . cat. conftest.er1 >&5
1799 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1800 fi
1801 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 testscip-shell system . . test. $ac_status = 0; } && {
1803 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1804 testscip-shell system . . test. ! -s conftest.err
1805 } && testscip-shell system . . test. -s conftest.$ac_objext
1806 then :
1807 ac_retval=0
1808 else $as_nop
1809 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1810 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1811
1812 ac_retval=1
1813 fi
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1816
1817 } # ac_fn_c_try_compile
1818
1819 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1820 # -------------------------------------------------------
1821 # Tests whether HEADER exists and can be compiled using the include files in
1822 # INCLUDES, setting the cache variable VAR accordingly.
1823 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). ()
1824 {
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1828 if eval test \${$3+y}
1829 then :
1830 printfscip-shell system . . printf. %s "(cached) " >&6
1831 else $as_nop
1832 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1834 $4
1835 #include <$2>
1836 _ACEOF
1837 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
1838 then :
1839 eval "$3=yes"
1840 else $as_nop
1841 eval "$3=no"
1842 fi
1843 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1844 fi
1845 eval ac_res=\$$3
1846 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1850 } # ac_fn_c_check_header_compile
1851
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). ()
1856 {
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_cpp conftest.$ac_ext"
1859 case "(($ac_try" in
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1862 esac
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866 ac_status=$?
1867 if testscip-shell system . . test. -s conftest.err; then
1868 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1869 catscip-shell system . . cat. conftest.er1 >&5
1870 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1871 fi
1872 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1874 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875 testscip-shell system . . test. ! -s conftest.err
1876 }
1877 then :
1878 ac_retval=0
1879 else $as_nop
1880 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1881 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1882
1883 ac_retval=1
1884 fi
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1887
1888 } # ac_fn_c_try_cpp
1889
1890 # ac_fn_cxx_try_compile LINENO
1891 # ----------------------------
1892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). ()
1894 {
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1897 if { { ac_try="$ac_compile"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1904 (eval "$ac_compile") 2>conftest.err
1905 ac_status=$?
1906 if testscip-shell system . . test. -s conftest.err; then
1907 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1908 catscip-shell system . . cat. conftest.er1 >&5
1909 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1910 fi
1911 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 testscip-shell system . . test. $ac_status = 0; } && {
1913 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
1914 testscip-shell system . . test. ! -s conftest.err
1915 } && testscip-shell system . . test. -s conftest.$ac_objext
1916 then :
1917 ac_retval=0
1918 else $as_nop
1919 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1920 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1921
1922 ac_retval=1
1923 fi
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1926
1927 } # ac_fn_cxx_try_compile
1928
1929 # ac_fn_c_try_link LINENO
1930 # -----------------------
1931 # Try to link conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). ()
1933 {
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1936 if { { ac_try="$ac_link"
1937 case "(($ac_try" in
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1943 (eval "$ac_link") 2>conftest.err
1944 ac_status=$?
1945 if testscip-shell system . . test. -s conftest.err; then
1946 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1947 catscip-shell system . . cat. conftest.er1 >&5
1948 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1949 fi
1950 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 testscip-shell system . . test. $ac_status = 0; } && {
1952 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1953 testscip-shell system . . test. ! -s conftest.err
1954 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1955 testscip-shell system . . test. "$cross_compiling" = yes ||
1956 testscip-shell system . . test. -x conftest$ac_exeext
1957 }
1958 then :
1959 ac_retval=0
1960 else $as_nop
1961 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1962 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1963
1964 ac_retval=1
1965 fi
1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1968 # interfere with the next link command; also delete a directory that is
1969 # left behind by Apple's compiler. We do this before executing the actions.
1970 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
1973
1974 } # ac_fn_c_try_link
1975
1976 # ac_fn_c_check_func LINENO FUNC VAR
1977 # ----------------------------------
1978 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1979 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1984 if eval test \${$3+y}
1985 then :
1986 printfscip-shell system . . printf. %s "(cached) " >&6
1987 else $as_nop
1988 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1990 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1992 #define $2 innocuous_$2
1993
1994 /* System header to define __stub macros and hopefully few prototypes,
1995 which can conflict with char $2 (); below. */
1996
1997 #include <limits.h>
1998 #undef $2
1999
2000 /* Override any GCC internal prototype to avoid an error.
2001 Use char because int might match the return type of a GCC
2002 builtin and then its argument prototype would still apply. */
2003 #ifdef __cplusplus
2004 extern "C"
2005 #endif
2006 char $2 ();
2007 /* The GNU C library defines this for functions which it implements
2008 to always fail with ENOSYS. Some functions are actually named
2009 something starting with __ and the normal name is an alias. */
2010 #if defined __stub_$2 || defined __stub___$2
2011 choke me
2012 #endif
2013
2014 int
2015 main (void)
2016 {
2017 return $2 ();
2018 ;
2019 return 0;
2020 }
2021 _ACEOF
2022 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
2023 then :
2024 eval "$3=yes"
2025 else $as_nop
2026 eval "$3=no"
2027 fi
2028 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
2029 conftest$ac_exeext conftest.$ac_ext
2030 fi
2031 eval ac_res=\$$3
2032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035
2036 } # ac_fn_c_check_func
2037
2038 # ac_fn_c_find_uintX_t LINENO BITS VAR
2039 # ------------------------------------
2040 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2041 # accordingly.
2042 ac_fn_c_find_uintX_tscip-shell shell shell-project 0.0.0 ac_fn_c_find_uintX_t(). ()
2043 {
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2046 printfscip-shell system . . printf. %s "checking for uint$2_t... " >&6; }
2047 if eval test \${$3+y}
2048 then :
2049 printfscip-shell system . . printf. %s "(cached) " >&6
2050 else $as_nop
2051 eval "$3=no"
2052 # Order is important - never check a type that is potentially smaller
2053 # than half of the expected target width.
2054 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2055 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2056 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2058 $ac_includes_default
2059 int
2060 main (void)
2061 {
2062 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2063 test_array [0] = 0;
2064 return test_array [0];
2065
2066 ;
2067 return 0;
2068 }
2069 _ACEOF
2070 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2071 then :
2072 case $ac_type in #(
2073 uint$2_t) :
2074 eval "$3=yes" ;; #(
2075 *) :
2076 eval "$3=\$ac_type" ;;
2077 esac
2078 fi
2079 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2080 if eval test \"x\$"$3"\" = x"no"
2081 then :
2082
2083 else $as_nop
2084 break
2085 fi
2086 done
2087 fi
2088 eval ac_res=\$$3
2089 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2090 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092
2093 } # ac_fn_c_find_uintX_t
2094
2095 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2096 # -------------------------------------------
2097 # Tests whether TYPE exists after having included INCLUDES, setting cache
2098 # variable VAR accordingly.
2099 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). ()
2100 {
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
2104 if eval test \${$3+y}
2105 then :
2106 printfscip-shell system . . printf. %s "(cached) " >&6
2107 else $as_nop
2108 eval "$3=no"
2109 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111 $4
2112 int
2113 main (void)
2114 {
2115 if (sizeof ($2))
2116 return 0;
2117 ;
2118 return 0;
2119 }
2120 _ACEOF
2121 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2122 then :
2123 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2125 $4
2126 int
2127 main (void)
2128 {
2129 if (sizeof (($2)))
2130 return 0;
2131 ;
2132 return 0;
2133 }
2134 _ACEOF
2135 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
2136 then :
2137
2138 else $as_nop
2139 eval "$3=yes"
2140 fi
2141 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2142 fi
2143 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2144 fi
2145 eval ac_res=\$$3
2146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149
2150 } # ac_fn_c_check_type
2151
2152 # ac_fn_cxx_try_link LINENO
2153 # -------------------------
2154 # Try to link conftest.$ac_ext, and return whether this succeeded.
2155 ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). ()
2156 {
2157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2159 if { { ac_try="$ac_link"
2160 case "(($ac_try" in
2161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2162 *) ac_try_echo=$ac_try;;
2163 esac
2164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2165 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2166 (eval "$ac_link") 2>conftest.err
2167 ac_status=$?
2168 if testscip-shell system . . test. -s conftest.err; then
2169 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
2170 catscip-shell system . . cat. conftest.er1 >&5
2171 mvscip-shell system . . mv. -f conftest.er1 conftest.err
2172 fi
2173 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2174 testscip-shell system . . test. $ac_status = 0; } && {
2175 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
2176 testscip-shell system . . test. ! -s conftest.err
2177 } && testscip-shell system . . test. -s conftest$ac_exeext && {
2178 testscip-shell system . . test. "$cross_compiling" = yes ||
2179 testscip-shell system . . test. -x conftest$ac_exeext
2180 }
2181 then :
2182 ac_retval=0
2183 else $as_nop
2184 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2185 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2186
2187 ac_retval=1
2188 fi
2189 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2190 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2191 # interfere with the next link command; also delete a directory that is
2192 # left behind by Apple's compiler. We do this before executing the actions.
2193 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
2194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2195 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
2196
2197 } # ac_fn_cxx_try_link
2198 ac_configure_args_raw=
2199 for ac_arg
2200 do
2201 case $ac_arg in
2202 *\'*)
2203 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2204 esac
2205 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
2206 done
2207
2208 case $ac_configure_args_raw in
2209 *$as_nl*)
2210 ac_safe_unquote= ;;
2211 *)
2212 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2213 ac_unsafe_a="$ac_unsafe_z#~"
2214 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2215 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
2216 esac
2217
2218 catscip-shell system . . cat. >config.log <<_ACEOF
2219 This file contains any messages produced by compilers while
2220 running configure, to aid debugging if configure makes a mistake.
2221
2222 It was created by pinentry $as_me 1.3.3, which was
2223 generated by GNU Autoconf 2.71. Invocation command line was
2224
2225 $ $0$ac_configure_args_raw
2226
2227 _ACEOF
2228 exec 5>>config.log
2229 {
2230 catscip-shell system . . cat. <<_ASUNAME
2231 ## --------- ##
2232 ## Platform. ##
2233 ## --------- ##
2234
2235 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2236 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2237 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2238 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2239 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2240
2241 /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`
2242 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2243
2244 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2245 /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`
2246 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2247 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2248 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2249 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2250 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2251
2252 _ASUNAME
2253
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in $PATH
2256 do
2257 IFS=$as_save_IFS
2258 case $as_dir in #(((
2259 '') as_dir=./ ;;
2260 */) ;;
2261 *) as_dir=$as_dir/ ;;
2262 esac
2263 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
2264 done
2265 IFS=$as_save_IFS
2266
2267 } >&5
2268
2269 catscip-shell system . . cat. >&5 <<_ACEOF
2270
2271
2272 ## ----------- ##
2273 ## Core tests. ##
2274 ## ----------- ##
2275
2276 _ACEOF
2277
2278
2279 # Keep a trace of the command line.
2280 # Strip out --no-create and --no-recursion so they do not pile up.
2281 # Strip out --silent because we don't want to record it for future runs.
2282 # Also quote any args containing shell meta-characters.
2283 # Make two passes to allow for proper duplicate-argument suppression.
2284 ac_configure_args=
2285 ac_configure_args0=
2286 ac_configure_args1=
2287 ac_must_keep_next=false
2288 for ac_pass in 1 2
2289 do
2290 for ac_arg
2291 do
2292 case $ac_arg in
2293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2295 | -silent | --silent | --silen | --sile | --sil)
2296 continue ;;
2297 *\'*)
2298 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2299 esac
2300 case $ac_pass in
2301 1) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2302 2)
2303 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2304 if testscip-shell system . . test. $ac_must_keep_next = true; then
2305 ac_must_keep_next=false # Got value, back to normal.
2306 else
2307 case $ac_arg in
2308 *=* | --config-cache | -C | -disable-* | --disable-* \
2309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2311 | -with-* | --with-* | -without-* | --without-* | --x)
2312 case "$ac_configure_args0 " in
2313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2314 esac
2315 ;;
2316 -* ) ac_must_keep_next=true ;;
2317 esac
2318 fi
2319 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'"
2320 ;;
2321 esac
2322 done
2323 done
2324 { ac_configure_args0=; unset ac_configure_args0;}
2325 { ac_configure_args1=; unset ac_configure_args1;}
2326
2327 # When interrupted or exit'd, cleanup temporary files, and complete
2328 # config.log. We remove comments because anyway the quotes in there
2329 # would cause problems or look ugly.
2330 # WARNING: Use '\'' to represent an apostrophe within the trap.
2331 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2332 trap 'exit_status=$?
2333 # Sanitize IFS.
2334 IFS=" "" $as_nl"
2335 # Save into config.log some information that might help in debugging.
2336 {
2337 echo
2338
2339 printf "%s\n" "## ---------------- ##
2340 ## Cache variables. ##
2341 ## ---------------- ##"
2342 echo
2343 # The following way of writing the cache mishandles newlines in values,
2344 (
2345 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2346 eval ac_val=\$$ac_var
2347 case $ac_val in #(
2348 *${as_nl}*)
2349 case $ac_var in #(
2350 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2351 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2352 esac
2353 case $ac_var in #(
2354 _ | IFS | as_nl) ;; #(
2355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2356 *) { eval $ac_var=; unset $ac_var;} ;;
2357 esac ;;
2358 esac
2359 done
2360 (set) 2>&1 |
2361 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2362 *${as_nl}ac_space=\ *)
2363 sed -n \
2364 "s/'\''/'\''\\\\'\'''\''/g;
2365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2366 ;; #(
2367 *)
2368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2369 ;;
2370 esac |
2371 sort
2372 )
2373 echo
2374
2375 printf "%s\n" "## ----------------- ##
2376 ## Output variables. ##
2377 ## ----------------- ##"
2378 echo
2379 for ac_var in $ac_subst_vars
2380 do
2381 eval ac_val=\$$ac_var
2382 case $ac_val in
2383 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2384 esac
2385 printf "%s\n" "$ac_var='\''$ac_val'\''"
2386 done | sort
2387 echo
2388
2389 if test -n "$ac_subst_files"; then
2390 printf "%s\n" "## ------------------- ##
2391 ## File substitutions. ##
2392 ## ------------------- ##"
2393 echo
2394 for ac_var in $ac_subst_files
2395 do
2396 eval ac_val=\$$ac_var
2397 case $ac_val in
2398 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2399 esac
2400 printf "%s\n" "$ac_var='\''$ac_val'\''"
2401 done | sort
2402 echo
2403 fi
2404
2405 if test -s confdefs.h; then
2406 printf "%s\n" "## ----------- ##
2407 ## confdefs.h. ##
2408 ## ----------- ##"
2409 echo
2410 cat confdefs.h
2411 echo
2412 fi
2413 test "$ac_signal" != 0 &&
2414 printf "%s\n" "$as_me: caught signal $ac_signal"
2415 printf "%s\n" "$as_me: exit $exit_status"
2416 } >&5
2417 rm -f core *.core core.conftest.* &&
2418 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2419 exit $exit_status
2420 ' 0
2421 for ac_signal in 1 2 13 15; do
2422 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2423 done
2424 ac_signal=0
2425
2426 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2427 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2428
2429 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2430
2431 # Predefined preprocessor variables.
2432
2433 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2434
2435 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2436
2437 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2438
2439 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2440
2441 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2442
2443 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2444
2445
2446 # Let the site file select an alternate cache file if it wants to.
2447 # Prefer an explicitly selected file to automatically selected ones.
2448 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2449 ac_site_files="$CONFIG_SITE"
2450 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2451 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2452 else
2453 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2454 fi
2455
2456 for ac_site_file in $ac_site_files
2457 do
2458 case $ac_site_file in #(
2459 */*) :
2460 ;; #(
2461 *) :
2462 ac_site_file=./$ac_site_file ;;
2463 esac
2464 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2466 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2467 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2468 . "$ac_site_file" \
2469 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2470 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2471 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "failed to load site script $ac_site_file
2472 See \`config.log' for more details" "$LINENO" 5; }
2473 fi
2474 done
2475
2476 if testscip-shell system . . test. -r "$cache_file"; then
2477 # Some versions of bash will fail to source /dev/null (special files
2478 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2479 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2480 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2481 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2482 case $cache_file in
2483 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2484 *) . "./$cache_file";;
2485 esac
2486 fi
2487 else
2488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2489 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2490 >$cache_file
2491 fi
2492
2493 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2494 # Test code for whether the C compiler supports C89 (global declarations)
2495 ac_c_conftest_c89_globals='
2496 /* Does the compiler advertise C89 conformance?
2497 Do not test the value of __STDC__, because some compilers set it to 0
2498 while being otherwise adequately conformant. */
2499 #if !defined __STDC__
2500 # error "Compiler does not advertise C89 conformance"
2501 #endif
2502
2503 #include <stddef.h>
2504 #include <stdarg.h>
2505 struct stat;
2506 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2507 struct buf { int x; };
2508 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2509 static char *e (p, i)
2510 char **p;
2511 int i;
2512 {
2513 return p[i];
2514 }
2515 static char *f (char * (*g) (char **, int), char **p, ...)
2516 {
2517 char *s;
2518 va_list v;
2519 va_start (v,p);
2520 s = g (p, va_arg (v,int));
2521 va_end (v);
2522 return s;
2523 }
2524
2525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2526 function prototypes and stuff, but not \xHH hex character constants.
2527 These do not provoke an error unfortunately, instead are silently treated
2528 as an "x". The following induces an error, until -std is added to get
2529 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2530 array size at least. It is necessary to write \x00 == 0 to get something
2531 that is true only with -std. */
2532 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2533
2534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2535 inside strings and character constants. */
2536 #define FOO(x) '\''x'\''
2537 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2538
2539 int test (int i, double x);
2540 struct s1 {int (*f) (int a);};
2541 struct s2 {int (*f) (double a);};
2542 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2543 int, int);'
2544
2545 # Test code for whether the C compiler supports C89 (body of main).
2546 ac_c_conftest_c89_main='
2547 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2548 '
2549
2550 # Test code for whether the C compiler supports C99 (global declarations)
2551 ac_c_conftest_c99_globals='
2552 // Does the compiler advertise C99 conformance?
2553 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2554 # error "Compiler does not advertise C99 conformance"
2555 #endif
2556
2557 #include <stdbool.h>
2558 extern int puts (const char *);
2559 extern int printf (const char *, ...);
2560 extern int dprintf (int, const char *, ...);
2561 extern void *malloc (size_t);
2562
2563 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2564 // dprintf is used instead of fprintf to avoid needing to declare
2565 // FILE and stderr.
2566 #define debug(...) dprintf (2, __VA_ARGS__)
2567 #define showlist(...) puts (#__VA_ARGS__)
2568 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2569 static void
2570 test_varargs_macros (void)
2571 {
2572 int x = 1234;
2573 int y = 5678;
2574 debug ("Flag");
2575 debug ("X = %d\n", x);
2576 showlist (The first, second, and third items.);
2577 report (x>y, "x is %d but y is %d", x, y);
2578 }
2579
2580 // Check long long types.
2581 #define BIG64 18446744073709551615ull
2582 #define BIG32 4294967295ul
2583 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2584 #if !BIG_OK
2585 #error "your preprocessor is broken"
2586 #endif
2587 #if BIG_OK
2588 #else
2589 #error "your preprocessor is broken"
2590 #endif
2591 static long long int bignum = -9223372036854775807LL;
2592 static unsigned long long int ubignum = BIG64;
2593
2594 struct incomplete_array
2595 {
2596 int datasize;
2597 double data[];
2598 };
2599
2600 struct named_init {
2601 int number;
2602 const wchar_t *name;
2603 double average;
2604 };
2605
2606 typedef const char *ccp;
2607
2608 static inline int
2609 test_restrict (ccp restrict text)
2610 {
2611 // See if C++-style comments work.
2612 // Iterate through items via the restricted pointer.
2613 // Also check for declarations in for loops.
2614 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2615 continue;
2616 return 0;
2617 }
2618
2619 // Check varargs and va_copy.
2620 static bool
2621 test_varargs (const char *format, ...)
2622 {
2623 va_list args;
2624 va_start (args, format);
2625 va_list args_copy;
2626 va_copy (args_copy, args);
2627
2628 const char *str = "";
2629 int number = 0;
2630 float fnumber = 0;
2631
2632 while (*format)
2633 {
2634 switch (*format++)
2635 {
2636 case '\''s'\'': // string
2637 str = va_arg (args_copy, const char *);
2638 break;
2639 case '\''d'\'': // int
2640 number = va_arg (args_copy, int);
2641 break;
2642 case '\''f'\'': // float
2643 fnumber = va_arg (args_copy, double);
2644 break;
2645 default:
2646 break;
2647 }
2648 }
2649 va_end (args_copy);
2650 va_end (args);
2651
2652 return *str && number && fnumber;
2653 }
2654 '
2655
2656 # Test code for whether the C compiler supports C99 (body of main).
2657 ac_c_conftest_c99_main='
2658 // Check bool.
2659 _Bool success = false;
2660 success |= (argc != 0);
2661
2662 // Check restrict.
2663 if (test_restrict ("String literal") == 0)
2664 success = true;
2665 char *restrict newvar = "Another string";
2666
2667 // Check varargs.
2668 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2669 test_varargs_macros ();
2670
2671 // Check flexible array members.
2672 struct incomplete_array *ia =
2673 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2674 ia->datasize = 10;
2675 for (int i = 0; i < ia->datasize; ++i)
2676 ia->data[i] = i * 1.234;
2677
2678 // Check named initializers.
2679 struct named_init ni = {
2680 .number = 34,
2681 .name = L"Test wide string",
2682 .average = 543.34343,
2683 };
2684
2685 ni.number = 58;
2686
2687 int dynamic_array[ni.number];
2688 dynamic_array[0] = argv[0][0];
2689 dynamic_array[ni.number - 1] = 543;
2690
2691 // work around unused variable warnings
2692 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2693 || dynamic_array[ni.number - 1] != 543);
2694 '
2695
2696 # Test code for whether the C compiler supports C11 (global declarations)
2697 ac_c_conftest_c11_globals='
2698 // Does the compiler advertise C11 conformance?
2699 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2700 # error "Compiler does not advertise C11 conformance"
2701 #endif
2702
2703 // Check _Alignas.
2704 char _Alignas (double) aligned_as_double;
2705 char _Alignas (0) no_special_alignment;
2706 extern char aligned_as_int;
2707 char _Alignas (0) _Alignas (int) aligned_as_int;
2708
2709 // Check _Alignof.
2710 enum
2711 {
2712 int_alignment = _Alignof (int),
2713 int_array_alignment = _Alignof (int[100]),
2714 char_alignment = _Alignof (char)
2715 };
2716 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2717
2718 // Check _Noreturn.
2719 int _Noreturn does_not_return (void) { for (;;) continue; }
2720
2721 // Check _Static_assert.
2722 struct test_static_assert
2723 {
2724 int x;
2725 _Static_assert (sizeof (int) <= sizeof (long int),
2726 "_Static_assert does not work in struct");
2727 long int y;
2728 };
2729
2730 // Check UTF-8 literals.
2731 #define u8 syntax error!
2732 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2733
2734 // Check duplicate typedefs.
2735 typedef long *long_ptr;
2736 typedef long int *long_ptr;
2737 typedef long_ptr long_ptr;
2738
2739 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2740 struct anonymous
2741 {
2742 union {
2743 struct { int i; int j; };
2744 struct { int k; long int l; } w;
2745 };
2746 int m;
2747 } v1;
2748 '
2749
2750 # Test code for whether the C compiler supports C11 (body of main).
2751 ac_c_conftest_c11_main='
2752 _Static_assert ((offsetof (struct anonymous, i)
2753 == offsetof (struct anonymous, w.k)),
2754 "Anonymous union alignment botch");
2755 v1.i = 2;
2756 v1.w.k = 5;
2757 ok |= v1.i != 5;
2758 '
2759
2760 # Test code for whether the C compiler supports C11 (complete).
2761 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2762 ${ac_c_conftest_c99_globals}
2763 ${ac_c_conftest_c11_globals}
2764
2765 int
2766 main (int argc, char **argv)
2767 {
2768 int ok = 0;
2769 ${ac_c_conftest_c89_main}
2770 ${ac_c_conftest_c99_main}
2771 ${ac_c_conftest_c11_main}
2772 return ok;
2773 }
2774 "
2775
2776 # Test code for whether the C compiler supports C99 (complete).
2777 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2778 ${ac_c_conftest_c99_globals}
2779
2780 int
2781 main (int argc, char **argv)
2782 {
2783 int ok = 0;
2784 ${ac_c_conftest_c89_main}
2785 ${ac_c_conftest_c99_main}
2786 return ok;
2787 }
2788 "
2789
2790 # Test code for whether the C compiler supports C89 (complete).
2791 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2792
2793 int
2794 main (int argc, char **argv)
2795 {
2796 int ok = 0;
2797 ${ac_c_conftest_c89_main}
2798 return ok;
2799 }
2800 "
2801
2802 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2803 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2804 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2805 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2806 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2807 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2808 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2809 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2810 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2811 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2812 # Test code for whether the C++ compiler supports C++98 (global declarations)
2813 ac_cxx_conftest_cxx98_globals='
2814 // Does the compiler advertise C++98 conformance?
2815 #if !defined __cplusplus || __cplusplus < 199711L
2816 # error "Compiler does not advertise C++98 conformance"
2817 #endif
2818
2819 // These inclusions are to reject old compilers that
2820 // lack the unsuffixed header files.
2821 #include <cstdlib>
2822 #include <exception>
2823
2824 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2825 extern void assert (int);
2826 namespace std {
2827 extern int strcmp (const char *, const char *);
2828 }
2829
2830 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2831 using std::exception;
2832 using std::strcmp;
2833
2834 namespace {
2835
2836 void test_exception_syntax()
2837 {
2838 try {
2839 throw "test";
2840 } catch (const char *s) {
2841 // Extra parentheses suppress a warning when building autoconf itself,
2842 // due to lint rules shared with more typical C programs.
2843 assert (!(strcmp) (s, "test"));
2844 }
2845 }
2846
2847 template <typename T> struct test_template
2848 {
2849 T const val;
2850 explicit test_template(T t) : val(t) {}
2851 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2852 };
2853
2854 } // anonymous namespace
2855 '
2856
2857 # Test code for whether the C++ compiler supports C++98 (body of main)
2858 ac_cxx_conftest_cxx98_main='
2859 assert (argc);
2860 assert (! argv[0]);
2861 {
2862 test_exception_syntax ();
2863 test_template<double> tt (2.0);
2864 assert (tt.add (4) == 6.0);
2865 assert (true && !false);
2866 }
2867 '
2868
2869 # Test code for whether the C++ compiler supports C++11 (global declarations)
2870 ac_cxx_conftest_cxx11_globals='
2871 // Does the compiler advertise C++ 2011 conformance?
2872 #if !defined __cplusplus || __cplusplus < 201103L
2873 # error "Compiler does not advertise C++11 conformance"
2874 #endif
2875
2876 namespace cxx11test
2877 {
2878 constexpr int get_val() { return 20; }
2879
2880 struct testinit
2881 {
2882 int i;
2883 double d;
2884 };
2885
2886 class delegate
2887 {
2888 public:
2889 delegate(int n) : n(n) {}
2890 delegate(): delegate(2354) {}
2891
2892 virtual int getval() { return this->n; };
2893 protected:
2894 int n;
2895 };
2896
2897 class overridden : public delegate
2898 {
2899 public:
2900 overridden(int n): delegate(n) {}
2901 virtual int getval() override final { return this->n * 2; }
2902 };
2903
2904 class nocopy
2905 {
2906 public:
2907 nocopy(int i): i(i) {}
2908 nocopy() = default;
2909 nocopy(const nocopy&) = delete;
2910 nocopy & operator=(const nocopy&) = delete;
2911 private:
2912 int i;
2913 };
2914
2915 // for testing lambda expressions
2916 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2917 {
2918 return f(v);
2919 }
2920
2921 // for testing variadic templates and trailing return types
2922 template <typename V> auto sum(V first) -> V
2923 {
2924 return first;
2925 }
2926 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2927 {
2928 return first + sum(rest...);
2929 }
2930 }
2931 '
2932
2933 # Test code for whether the C++ compiler supports C++11 (body of main)
2934 ac_cxx_conftest_cxx11_main='
2935 {
2936 // Test auto and decltype
2937 auto a1 = 6538;
2938 auto a2 = 48573953.4;
2939 auto a3 = "String literal";
2940
2941 int total = 0;
2942 for (auto i = a3; *i; ++i) { total += *i; }
2943
2944 decltype(a2) a4 = 34895.034;
2945 }
2946 {
2947 // Test constexpr
2948 short sa[cxx11test::get_val()] = { 0 };
2949 }
2950 {
2951 // Test initializer lists
2952 cxx11test::testinit il = { 4323, 435234.23544 };
2953 }
2954 {
2955 // Test range-based for
2956 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2957 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2958 for (auto &x : array) { x += 23; }
2959 }
2960 {
2961 // Test lambda expressions
2962 using cxx11test::eval;
2963 assert (eval ([](int x) { return x*2; }, 21) == 42);
2964 double d = 2.0;
2965 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2966 assert (d == 5.0);
2967 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2968 assert (d == 5.0);
2969 }
2970 {
2971 // Test use of variadic templates
2972 using cxx11test::sum;
2973 auto a = sum(1);
2974 auto b = sum(1, 2);
2975 auto c = sum(1.0, 2.0, 3.0);
2976 }
2977 {
2978 // Test constructor delegation
2979 cxx11test::delegate d1;
2980 cxx11test::delegate d2();
2981 cxx11test::delegate d3(45);
2982 }
2983 {
2984 // Test override and final
2985 cxx11test::overridden o1(55464);
2986 }
2987 {
2988 // Test nullptr
2989 char *c = nullptr;
2990 }
2991 {
2992 // Test template brackets
2993 test_template<::test_template<int>> v(test_template<int>(12));
2994 }
2995 {
2996 // Unicode literals
2997 char const *utf8 = u8"UTF-8 string \u2500";
2998 char16_t const *utf16 = u"UTF-8 string \u2500";
2999 char32_t const *utf32 = U"UTF-32 string \u2500";
3000 }
3001 '
3002
3003 # Test code for whether the C compiler supports C++11 (complete).
3004 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3005 ${ac_cxx_conftest_cxx11_globals}
3006
3007 int
3008 main (int argc, char **argv)
3009 {
3010 int ok = 0;
3011 ${ac_cxx_conftest_cxx98_main}
3012 ${ac_cxx_conftest_cxx11_main}
3013 return ok;
3014 }
3015 "
3016
3017 # Test code for whether the C compiler supports C++98 (complete).
3018 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3019 int
3020 main (int argc, char **argv)
3021 {
3022 int ok = 0;
3023 ${ac_cxx_conftest_cxx98_main}
3024 return ok;
3025 }
3026 "
3027
3028
3029 # Auxiliary files required by this configure script.
3030 ac_aux_files="config.rpath config.guess config.sub compile missing install-sh"
3031
3032 # Locations in which to look for auxiliary files.
3033 ac_aux_dir_candidates="${srcdir}/build-aux"
3034
3035 # Search for a directory containing all of the required auxiliary files,
3036 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3037 # If we don't find one directory that contains all the files we need,
3038 # we report the set of missing files from the *first* directory in
3039 # $ac_aux_dir_candidates and give up.
3040 ac_missing_aux_files=""
3041 ac_first_candidate=:
3042 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 as_found=false
3045 for as_dir in $ac_aux_dir_candidates
3046 do
3047 IFS=$as_save_IFS
3048 case $as_dir in #(((
3049 '') as_dir=./ ;;
3050 */) ;;
3051 *) as_dir=$as_dir/ ;;
3052 esac
3053 as_found=:
3054
3055 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3056 ac_aux_dir_found=yes
3057 ac_install_sh=
3058 for ac_aux in $ac_aux_files
3059 do
3060 # As a special case, if "install-sh" is required, that requirement
3061 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3062 # and $ac_install_sh is set appropriately for whichever one is found.
3063 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
3064 then
3065 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
3066 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3067 ac_install_sh="${as_dir}install-sh -c"
3068 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
3069 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3070 ac_install_sh="${as_dir}install.sh -c"
3071 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
3072 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3073 ac_install_sh="${as_dir}shtool install -c"
3074 else
3075 ac_aux_dir_found=no
3076 if $ac_first_candidate; then
3077 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3078 else
3079 break
3080 fi
3081 fi
3082 else
3083 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
3084 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3085 else
3086 ac_aux_dir_found=no
3087 if $ac_first_candidate; then
3088 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3089 else
3090 break
3091 fi
3092 fi
3093 fi
3094 done
3095 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
3096 ac_aux_dir="$as_dir"
3097 break
3098 fi
3099 ac_first_candidate=false
3100
3101 as_found=false
3102 done
3103 IFS=$as_save_IFS
3104 if $as_found
3105 then :
3106
3107 else $as_nop
3108 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3109 fi
3110
3111
3112 # These three variables are undocumented and unsupported,
3113 # and are intended to be withdrawn in a future Autoconf release.
3114 # They can cause serious problems if a builder's source tree is in a directory
3115 # whose full name contains unusual characters.
3116 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
3117 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3118 fi
3119 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
3120 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3121 fi
3122 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
3123 ac_configure="$SHELL ${ac_aux_dir}configure"
3124 fi
3125
3126 # Check that the precious variables saved in the cache have kept the same
3127 # value.
3128 ac_cache_corrupted=false
3129 for ac_var in $ac_precious_vars; do
3130 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3131 eval ac_new_set=\$ac_env_${ac_var}_set
3132 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3133 eval ac_new_val=\$ac_env_${ac_var}_value
3134 case $ac_old_set,$ac_new_set in
3135 set,)
3136 { 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
3137 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3138 ac_cache_corrupted=: ;;
3139 ,set)
3140 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3141 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3142 ac_cache_corrupted=: ;;
3143 ,);;
3144 *)
3145 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
3146 # differences in whitespace do not lead to failure.
3147 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
3148 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
3149 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
3150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3151 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3152 ac_cache_corrupted=:
3153 else
3154 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3155 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3156 eval $ac_var=\$ac_old_val
3157 fi
3158 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3159 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3160 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3161 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3162 fi;;
3163 esac
3164 # Pass precious variables to config.status.
3165 if testscip-shell system . . test. "$ac_new_set" = set; then
3166 case $ac_new_val in
3167 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
3168 *) ac_arg=$ac_var=$ac_new_val ;;
3169 esac
3170 case " $ac_configure_args " in
3171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3172 *) as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
3173 esac
3174 fi
3175 done
3176 if $ac_cache_corrupted; then
3177 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3179 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3180 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3181 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3182 and start over" "$LINENO" 5
3183 fi
3184 ## -------------------- ##
3185 ## Main body of script. ##
3186 ## -------------------- ##
3187
3188 ac_ext=c
3189 ac_cpp='$CPP $CPPFLAGS'
3190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3193
3194
3195
3196
3197 ac_config_headers="$ac_config_headers config.h"
3198
3199
3200 am__api_version='1.16'
3201
3202
3203
3204 # Find a good install program. We prefer a C program (faster),
3205 # so one script is as good as another. But avoid the broken or
3206 # incompatible versions:
3207 # SysV /etc/install, /usr/sbin/install
3208 # SunOS /usr/etc/install
3209 # IRIX /sbin/install
3210 # AIX /bin/install
3211 # AmigaOS /C/install, which installs bootblocks on floppy discs
3212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3215 # OS/2's system install, which has a completely different semantic
3216 # ./install, which can be erroneously created by make from ./install.sh.
3217 # Reject install programs that cannot install multiple files.
3218 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3219 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
3220 if testscip-shell system . . test. -z "$INSTALL"; then
3221 if testscip-shell system . . test. ${ac_cv_path_install+y}
3222 then :
3223 printfscip-shell system . . printf. %s "(cached) " >&6
3224 else $as_nop
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3227 do
3228 IFS=$as_save_IFS
3229 case $as_dir in #(((
3230 '') as_dir=./ ;;
3231 */) ;;
3232 *) as_dir=$as_dir/ ;;
3233 esac
3234 # Account for fact that we put trailing slashes in our PATH walk.
3235 case $as_dir in #((
3236 ./ | /[cC]/* | \
3237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3238 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3239 /usr/ucb/* ) ;;
3240 *)
3241 # OSF1 and SCO ODT 3.0 have their own names for install.
3242 # Don't use installbsd from OSF since it installs stuff as root
3243 # by default.
3244 for ac_prog in ginstall scoinst install; do
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
3247 if testscip-shell system . . test. $ac_prog = install &&
3248 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3249 # AIX install. It has an incompatible calling convention.
3250 :
3251 elif testscip-shell system . . test. $ac_prog = install &&
3252 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3253 # program-specific install script used by HP pwplus--don't use.
3254 :
3255 else
3256 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3257 echoscip-shell system . . echo. one > conftest.one
3258 echoscip-shell system . . echo. two > conftest.two
3259 mkdirscip-shell system . . mkdir. conftest.dir
3260 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
3261 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
3262 testscip-shell system . . test. -s conftest.dir/conftest.one &&
3263 testscip-shell system . . test. -s conftest.dir/conftest.two
3264 then
3265 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3266 break 3
3267 fi
3268 fi
3269 fi
3270 done
3271 done
3272 ;;
3273 esac
3274
3275 done
3276 IFS=$as_save_IFS
3277
3278 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
3279
3280 fi
3281 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
3282 INSTALL=$ac_cv_path_install
3283 else
3284 # As a last resort, use the slow shell script. Don't cache a
3285 # value for INSTALL within a source directory, because that will
3286 # break other packages using the cache if that directory is
3287 # removed, or if the value is a relative name.
3288 INSTALL=$ac_install_sh
3289 fi
3290 fi
3291 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3292 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
3293
3294 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3295 # It thinks the first close brace ends the variable substitution.
3296 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3297
3298 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3299
3300 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3301
3302 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3303 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
3304 # Reject unsafe characters in $srcdir or the absolute working directory
3305 # name. Accept space and tab only in the latter.
3306 am_lf='
3307 '
3308 case `pwdscip-shell system . . pwd.` in
3309 *[\\\"\#\$\&\'\`$am_lf]*)
3310 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
3311 esac
3312 case $srcdir in
3313 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3314 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3315 esac
3316
3317 # Do 'set' in a subshell so we don't clobber the current shell's
3318 # arguments. Must try -L first in case configure is actually a
3319 # symlink; some systems play weird games with the mod time of symlinks
3320 # (eg FreeBSD returns the mod time of the symlink's containing
3321 # directory).
3322 if (
3323 am_has_slept=no
3324 for am_try in 1 2; do
3325 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
3326 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
3327 if testscip-shell system . . test. "$*" = "X"; then
3328 # -L didn't work.
3329 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
3330 fi
3331 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
3332 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
3333
3334 # If neither matched, then we have a broken ls. This can happen
3335 # if, for instance, CONFIG_SHELL is bash and it inherits a
3336 # broken ls alias from the environment. This has actually
3337 # happened. Such a system could not be considered "sane".
3338 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
3339 alias in your environment" "$LINENO" 5
3340 fi
3341 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
3342 break
3343 fi
3344 # Just in case.
3345 sleepscip-shell system . . sleep. 1
3346 am_has_slept=yes
3347 done
3348 testscip-shell system . . test. "$2" = conftest.file
3349 )
3350 then
3351 # Ok.
3352 :
3353 else
3354 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "newly created file is older than distributed files!
3355 Check your system clock" "$LINENO" 5
3356 fi
3357 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3358 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3359 # If we didn't sleep, we still need to ensure time stamps of config.status and
3360 # generated files are strictly newer.
3361 am_sleep_pid=
3362 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3363 ( sleepscip-shell system . . sleep. 1 ) &
3364 am_sleep_pid=$!
3365 fi
3366
3367 rmscip-shell system . . rm. -f conftest.file
3368
3369 testscip-shell system . . test. "$program_prefix" != NONE &&
3370 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3371 # Use a double $ so make ignores it.
3372 testscip-shell system . . test. "$program_suffix" != NONE &&
3373 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3374 # Double any \ or $.
3375 # By default was `s,x,x', remove it if useless.
3376 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3377 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
3378
3379
3380 # Expand $ac_aux_dir to an absolute path.
3381 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
3382
3383
3384 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
3385 MISSING="\${SHELL} '$am_aux_dir/missing'"
3386 fi
3387 # Use eval to expand $SHELL
3388 if eval "$MISSING --is-lightweight"; then
3389 am_missing_run="$MISSING "
3390 else
3391 am_missing_run=
3392 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3393 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3394 fi
3395
3396 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
3397 case $am_aux_dir in
3398 *\ * | *\ *)
3399 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3400 *)
3401 install_sh="\${SHELL} $am_aux_dir/install-sh"
3402 esac
3403 fi
3404
3405 # Installed binaries are usually stripped using 'strip' when the user
3406 # run "make install-strip". However 'strip' might not be the right
3407 # tool to use in cross-compilation environments, therefore Automake
3408 # will honor the 'STRIP' environment variable to overrule this program.
3409 if testscip-shell system . . test. "$cross_compiling" != no; then
3410 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3411 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3412 set dummy ${ac_tool_prefix}strip; ac_word=$2
3413 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3415 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
3416 then :
3417 printfscip-shell system . . printf. %s "(cached) " >&6
3418 else $as_nop
3419 if testscip-shell system . . test. -n "$STRIP"; then
3420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3421 else
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 for as_dir in $PATH
3424 do
3425 IFS=$as_save_IFS
3426 case $as_dir in #(((
3427 '') as_dir=./ ;;
3428 */) ;;
3429 *) as_dir=$as_dir/ ;;
3430 esac
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3434 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3435 break 2
3436 fi
3437 done
3438 done
3439 IFS=$as_save_IFS
3440
3441 fi
3442 fi
3443 STRIP=$ac_cv_prog_STRIP
3444 if testscip-shell system . . test. -n "$STRIP"; then
3445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3446 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
3447 else
3448 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3450 fi
3451
3452
3453 fi
3454 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
3455 ac_ct_STRIP=$STRIP
3456 # Extract the first word of "strip", so it can be a program name with args.
3457 set dummy strip; ac_word=$2
3458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3460 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
3461 then :
3462 printfscip-shell system . . printf. %s "(cached) " >&6
3463 else $as_nop
3464 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3465 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3466 else
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH
3469 do
3470 IFS=$as_save_IFS
3471 case $as_dir in #(((
3472 '') as_dir=./ ;;
3473 */) ;;
3474 *) as_dir=$as_dir/ ;;
3475 esac
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_ac_ct_STRIP="strip"
3479 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3480 break 2
3481 fi
3482 done
3483 done
3484 IFS=$as_save_IFS
3485
3486 fi
3487 fi
3488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3489 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
3490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3491 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
3492 else
3493 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3495 fi
3496
3497 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
3498 STRIP=":"
3499 else
3500 case $cross_compiling:$ac_tool_warned in
3501 yes:)
3502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned=yes ;;
3505 esac
3506 STRIP=$ac_ct_STRIP
3507 fi
3508 else
3509 STRIP="$ac_cv_prog_STRIP"
3510 fi
3511
3512 fi
3513 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3514
3515
3516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3517 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
3518 if testscip-shell system . . test. -z "$MKDIR_P"; then
3519 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
3520 then :
3521 printfscip-shell system . . printf. %s "(cached) " >&6
3522 else $as_nop
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3525 do
3526 IFS=$as_save_IFS
3527 case $as_dir in #(((
3528 '') as_dir=./ ;;
3529 */) ;;
3530 *) as_dir=$as_dir/ ;;
3531 esac
3532 for ac_prog in mkdir gmkdir; do
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
3535 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3536 'mkdir ('*'coreutils) '* | \
3537 'BusyBox '* | \
3538 'mkdir (fileutils) '4.1*)
3539 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3540 break 3;;
3541 esac
3542 done
3543 done
3544 done
3545 IFS=$as_save_IFS
3546
3547 fi
3548
3549 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
3550 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
3551 MKDIR_P="$ac_cv_path_mkdir -p"
3552 else
3553 # As a last resort, use the slow shell script. Don't cache a
3554 # value for MKDIR_P within a source directory, because that will
3555 # break other packages using the cache if that directory is
3556 # removed, or if the value is a relative name.
3557 MKDIR_P="$ac_install_sh -d"
3558 fi
3559 fi
3560 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3561 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
3562
3563 for ac_prog in gawk mawk nawk awk
3564 do
3565 # Extract the first word of "$ac_prog", so it can be a program name with args.
3566 set dummy $ac_prog; ac_word=$2
3567 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3569 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
3570 then :
3571 printfscip-shell system . . printf. %s "(cached) " >&6
3572 else $as_nop
3573 if testscip-shell system . . test. -n "$AWK"; then
3574 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3575 else
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 for as_dir in $PATH
3578 do
3579 IFS=$as_save_IFS
3580 case $as_dir in #(((
3581 '') as_dir=./ ;;
3582 */) ;;
3583 *) as_dir=$as_dir/ ;;
3584 esac
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_AWK="$ac_prog"
3588 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3589 break 2
3590 fi
3591 done
3592 done
3593 IFS=$as_save_IFS
3594
3595 fi
3596 fi
3597 AWK=$ac_cv_prog_AWK
3598 if testscip-shell system . . test. -n "$AWK"; then
3599 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3600 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
3601 else
3602 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3604 fi
3605
3606
3607 testscip-shell system . . test. -n "$AWK" && break
3608 done
3609
3610 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3611 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3612 set x ${MAKE-make}
3613 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3614 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3615 then :
3616 printfscip-shell system . . printf. %s "(cached) " >&6
3617 else $as_nop
3618 catscip-shell system . . cat. >conftest.make <<\_ACEOF
3619 SHELL = /bin/sh
3620 all:
3621 @echo '@@@%%%=$(MAKE)=@@@%%%'
3622 _ACEOF
3623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3624 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3625 *@@@%%%=?*=@@@%%%*)
3626 eval ac_cv_prog_make_${ac_make}_set=yes;;
3627 *)
3628 eval ac_cv_prog_make_${ac_make}_set=no;;
3629 esac
3630 rmscip-shell system . . rm. -f conftest.make
3631 fi
3632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3633 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3634 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3635 SET_MAKE=
3636 else
3637 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3639 SET_MAKE="MAKE=${MAKE-make}"
3640 fi
3641
3642 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3643 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3644 if testscip-shell system . . test. -d .tst; then
3645 am__leading_dot=.
3646 else
3647 am__leading_dot=_
3648 fi
3649 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3650
3651 # Check whether --enable-silent-rules was given.
3652 if testscip-shell system . . test. ${enable_silent_rules+y}
3653 then :
3654 enableval=$enable_silent_rules;
3655 fi
3656
3657 case $enable_silent_rules in # (((
3658 yes) AM_DEFAULT_VERBOSITY=0;;
3659 no) AM_DEFAULT_VERBOSITY=1;;
3660 *) AM_DEFAULT_VERBOSITY=1;;
3661 esac
3662 am_make=${MAKE-make}
3663 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3664 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
3665 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
3666 then :
3667 printfscip-shell system . . printf. %s "(cached) " >&6
3668 else $as_nop
3669 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
3670 BAR0=false
3671 BAR1=true
3672 V=1
3673 am__doit:
3674 @$(TRUE)
3675 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3676 am_cv_make_support_nested_variables=yes
3677 else
3678 am_cv_make_support_nested_variables=no
3679 fi
3680 fi
3681 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3682 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3683 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
3684 AM_V='$(V)'
3685 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3686 else
3687 AM_V=$AM_DEFAULT_VERBOSITY
3688 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3689 fi
3690 AM_BACKSLASH='\'
3691
3692 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3693 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3694 # is not polluted with repeated "-I."
3695 am__isrc=' -I$(srcdir)'
3696 # test to see if srcdir already configured
3697 if testscip-shell system . . test. -f $srcdir/config.status; then
3698 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3699 fi
3700 fi
3701
3702 # test whether we have cygpath
3703 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3704 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3705 CYGPATH_W='cygpath -w'
3706 else
3707 CYGPATH_W=echo
3708 fi
3709 fi
3710
3711
3712 # Define the identity of the package.
3713 PACKAGE='pinentry'
3714 VERSION='1.3.3'
3715
3716
3717 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3718
3719
3720 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3721
3722 # Some tools Automake needs.
3723
3724 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3725
3726
3727 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3728
3729
3730 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3731
3732
3733 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3734
3735
3736 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3737
3738 # For better backward compatibility. To be removed once Automake 1.9.x
3739 # dies out for good. For more background, see:
3740 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3741 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3742 mkdir_p='$(MKDIR_P)'
3743
3744 # We need awk for the "check" target (and possibly the TAP driver). The
3745 # system "awk" is bad on some platforms.
3746 # Always define AMTAR for backward compatibility. Yes, it's still used
3747 # in the wild :-( We should find a proper way to deprecate it ...
3748 AMTAR='$${TAR-tar}'
3749
3750
3751 # We'll loop over all known methods to create a tar archive until one works.
3752 _am_tools='gnutar pax cpio none'
3753
3754 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3755
3756
3757
3758
3759
3760 # Variables for tags utilities; see am/tags.am
3761 if testscip-shell system . . test. -z "$CTAGS"; then
3762 CTAGS=ctags
3763 fi
3764
3765 if testscip-shell system . . test. -z "$ETAGS"; then
3766 ETAGS=etags
3767 fi
3768
3769 if testscip-shell system . . test. -z "$CSCOPE"; then
3770 CSCOPE=cscope
3771 fi
3772
3773
3774
3775 # POSIX will say in a future version that running "rm -f" with no argument
3776 # is OK; and we want to be able to make that assumption in our Makefile
3777 # recipes. So use an aggressive probe to check that the usage we want is
3778 # actually supported "in the wild" to an acceptable degree.
3779 # See automake bug#10828.
3780 # To make any issue more visible, cause the running configure to be aborted
3781 # by default if the 'rm' program in use doesn't match our expectations; the
3782 # user can still override this though.
3783 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
3784 catscip-shell system . . cat. >&2 <<'END'
3785 Oops!
3786
3787 Your 'rm' program seems unable to run without file operands specified
3788 on the command line, even when the '-f' option is present. This is contrary
3789 to the behaviour of most rm programs out there, and not conforming with
3790 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3791
3792 Please tell [email protected] about your system, including the value
3793 of your $PATH and any error possibly output before this message. This
3794 can help us improve future automake versions.
3795
3796 END
3797 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3798 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
3799 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3800 echoscip-shell system . . echo. >&2
3801 else
3802 catscip-shell system . . cat. >&2 <<'END'
3803 Aborting the configuration process, to ensure you take notice of the issue.
3804
3805 You can download and install GNU coreutils to get an 'rm' implementation
3806 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3807
3808 If you want to complete the configuration process using your problematic
3809 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3810 to "yes", and re-run configure.
3811
3812 END
3813 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3814 fi
3815 fi
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827 DEPDIR="${am__leading_dot}deps"
3828
3829 ac_config_commands="$ac_config_commands depfiles"
3830
3831 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3832 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3833 catscip-shell system . . cat. > confinc.mk << 'END'
3834 am__doit:
3835 @echo this is the am__doit target >confinc.out
3836 .PHONY: am__doit
3837 END
3838 am__include="#"
3839 am__quote=
3840 # BSD make does it like this.
3841 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
3842 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3843 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
3844 _am_result=no
3845 for s in GNU BSD; do
3846 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3847 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
3848 ac_status=$?
3849 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }
3851 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
3852 '0:this is the am__doit target') :
3853 case $s in #(
3854 BSD) :
3855 am__include='.include' am__quote='"' ;; #(
3856 *) :
3857 am__include='include' am__quote='' ;;
3858 esac ;; #(
3859 *) :
3860 ;;
3861 esac
3862 if testscip-shell system . . test. "$am__include" != "#"; then
3863 _am_result="yes ($s style)"
3864 break
3865 fi
3866 done
3867 rmscip-shell system . . rm. -f confinc.* confmf.*
3868 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3869 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
3870
3871 # Check whether --enable-dependency-tracking was given.
3872 if testscip-shell system . . test. ${enable_dependency_tracking+y}
3873 then :
3874 enableval=$enable_dependency_tracking;
3875 fi
3876
3877 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3878 am_depcomp="$ac_aux_dir/depcomp"
3879 AMDEPBACKSLASH='\'
3880 am__nodep='_no'
3881 fi
3882 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3883 AMDEP_TRUE=
3884 AMDEP_FALSE='#'
3885 else
3886 AMDEP_TRUE='#'
3887 AMDEP_FALSE=
3888 fi
3889
3890
3891 ac_ext=c
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3897 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3898 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3901 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3902 then :
3903 printfscip-shell system . . printf. %s "(cached) " >&6
3904 else $as_nop
3905 if testscip-shell system . . test. -n "$CC"; then
3906 ac_cv_prog_CC="$CC" # Let the user override the test.
3907 else
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909 for as_dir in $PATH
3910 do
3911 IFS=$as_save_IFS
3912 case $as_dir in #(((
3913 '') as_dir=./ ;;
3914 */) ;;
3915 *) as_dir=$as_dir/ ;;
3916 esac
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3920 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3921 break 2
3922 fi
3923 done
3924 done
3925 IFS=$as_save_IFS
3926
3927 fi
3928 fi
3929 CC=$ac_cv_prog_CC
3930 if testscip-shell system . . test. -n "$CC"; then
3931 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3933 else
3934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3936 fi
3937
3938
3939 fi
3940 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3941 ac_ct_CC=$CC
3942 # Extract the first word of "gcc", so it can be a program name with args.
3943 set dummy gcc; ac_word=$2
3944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3946 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3947 then :
3948 printfscip-shell system . . printf. %s "(cached) " >&6
3949 else $as_nop
3950 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3952 else
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3955 do
3956 IFS=$as_save_IFS
3957 case $as_dir in #(((
3958 '') as_dir=./ ;;
3959 */) ;;
3960 *) as_dir=$as_dir/ ;;
3961 esac
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_ac_ct_CC="gcc"
3965 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3966 break 2
3967 fi
3968 done
3969 done
3970 IFS=$as_save_IFS
3971
3972 fi
3973 fi
3974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3975 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3976 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3977 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3978 else
3979 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3981 fi
3982
3983 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3984 CC=""
3985 else
3986 case $cross_compiling:$ac_tool_warned in
3987 yes:)
3988 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3989 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3990 ac_tool_warned=yes ;;
3991 esac
3992 CC=$ac_ct_CC
3993 fi
3994 else
3995 CC="$ac_cv_prog_CC"
3996 fi
3997
3998 if testscip-shell system . . test. -z "$CC"; then
3999 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4000 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4001 set dummy ${ac_tool_prefix}cc; ac_word=$2
4002 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4004 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4005 then :
4006 printfscip-shell system . . printf. %s "(cached) " >&6
4007 else $as_nop
4008 if testscip-shell system . . test. -n "$CC"; then
4009 ac_cv_prog_CC="$CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4013 do
4014 IFS=$as_save_IFS
4015 case $as_dir in #(((
4016 '') as_dir=./ ;;
4017 */) ;;
4018 *) as_dir=$as_dir/ ;;
4019 esac
4020 for ac_exec_ext in '' $ac_executable_extensions; do
4021 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_CC="${ac_tool_prefix}cc"
4023 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4024 break 2
4025 fi
4026 done
4027 done
4028 IFS=$as_save_IFS
4029
4030 fi
4031 fi
4032 CC=$ac_cv_prog_CC
4033 if testscip-shell system . . test. -n "$CC"; then
4034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4036 else
4037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4039 fi
4040
4041
4042 fi
4043 fi
4044 if testscip-shell system . . test. -z "$CC"; then
4045 # Extract the first word of "cc", so it can be a program name with args.
4046 set dummy cc; ac_word=$2
4047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4049 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4050 then :
4051 printfscip-shell system . . printf. %s "(cached) " >&6
4052 else $as_nop
4053 if testscip-shell system . . test. -n "$CC"; then
4054 ac_cv_prog_CC="$CC" # Let the user override the test.
4055 else
4056 ac_prog_rejected=no
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4059 do
4060 IFS=$as_save_IFS
4061 case $as_dir in #(((
4062 '') as_dir=./ ;;
4063 */) ;;
4064 *) as_dir=$as_dir/ ;;
4065 esac
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4068 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
4069 ac_prog_rejected=yes
4070 continue
4071 fi
4072 ac_cv_prog_CC="cc"
4073 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4074 break 2
4075 fi
4076 done
4077 done
4078 IFS=$as_save_IFS
4079
4080 if testscip-shell system . . test. $ac_prog_rejected = yes; then
4081 # We found a bogon in the path, so make sure we never use it.
4082 set dummy $ac_cv_prog_CC
4083 shift
4084 if testscip-shell system . . test. $# != 0; then
4085 # We chose a different compiler from the bogus one.
4086 # However, it has the same basename, so the bogon will be chosen
4087 # first if we set CC to just the basename; use the full file name.
4088 shift
4089 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4090 fi
4091 fi
4092 fi
4093 fi
4094 CC=$ac_cv_prog_CC
4095 if testscip-shell system . . test. -n "$CC"; then
4096 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4098 else
4099 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4101 fi
4102
4103
4104 fi
4105 if testscip-shell system . . test. -z "$CC"; then
4106 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4107 for ac_prog in cl.exe
4108 do
4109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4113 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4114 then :
4115 printfscip-shell system . . printf. %s "(cached) " >&6
4116 else $as_nop
4117 if testscip-shell system . . test. -n "$CC"; then
4118 ac_cv_prog_CC="$CC" # Let the user override the test.
4119 else
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 for as_dir in $PATH
4122 do
4123 IFS=$as_save_IFS
4124 case $as_dir in #(((
4125 '') as_dir=./ ;;
4126 */) ;;
4127 *) as_dir=$as_dir/ ;;
4128 esac
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4131 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4132 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4133 break 2
4134 fi
4135 done
4136 done
4137 IFS=$as_save_IFS
4138
4139 fi
4140 fi
4141 CC=$ac_cv_prog_CC
4142 if testscip-shell system . . test. -n "$CC"; then
4143 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4144 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4145 else
4146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4148 fi
4149
4150
4151 testscip-shell system . . test. -n "$CC" && break
4152 done
4153 fi
4154 if testscip-shell system . . test. -z "$CC"; then
4155 ac_ct_CC=$CC
4156 for ac_prog in cl.exe
4157 do
4158 # Extract the first word of "$ac_prog", so it can be a program name with args.
4159 set dummy $ac_prog; ac_word=$2
4160 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4162 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
4163 then :
4164 printfscip-shell system . . printf. %s "(cached) " >&6
4165 else $as_nop
4166 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4168 else
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 for as_dir in $PATH
4171 do
4172 IFS=$as_save_IFS
4173 case $as_dir in #(((
4174 '') as_dir=./ ;;
4175 */) ;;
4176 *) as_dir=$as_dir/ ;;
4177 esac
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_ac_ct_CC="$ac_prog"
4181 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4182 break 2
4183 fi
4184 done
4185 done
4186 IFS=$as_save_IFS
4187
4188 fi
4189 fi
4190 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4191 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4193 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
4194 else
4195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4197 fi
4198
4199
4200 testscip-shell system . . test. -n "$ac_ct_CC" && break
4201 done
4202
4203 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
4204 CC=""
4205 else
4206 case $cross_compiling:$ac_tool_warned in
4207 yes:)
4208 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4209 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4210 ac_tool_warned=yes ;;
4211 esac
4212 CC=$ac_ct_CC
4213 fi
4214 fi
4215
4216 fi
4217 if testscip-shell system . . test. -z "$CC"; then
4218 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4220 set dummy ${ac_tool_prefix}clang; ac_word=$2
4221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4223 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4224 then :
4225 printfscip-shell system . . printf. %s "(cached) " >&6
4226 else $as_nop
4227 if testscip-shell system . . test. -n "$CC"; then
4228 ac_cv_prog_CC="$CC" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4232 do
4233 IFS=$as_save_IFS
4234 case $as_dir in #(((
4235 '') as_dir=./ ;;
4236 */) ;;
4237 *) as_dir=$as_dir/ ;;
4238 esac
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_CC="${ac_tool_prefix}clang"
4242 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4243 break 2
4244 fi
4245 done
4246 done
4247 IFS=$as_save_IFS
4248
4249 fi
4250 fi
4251 CC=$ac_cv_prog_CC
4252 if testscip-shell system . . test. -n "$CC"; then
4253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4254 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4255 else
4256 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4258 fi
4259
4260
4261 fi
4262 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
4263 ac_ct_CC=$CC
4264 # Extract the first word of "clang", so it can be a program name with args.
4265 set dummy clang; ac_word=$2
4266 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4268 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
4269 then :
4270 printfscip-shell system . . printf. %s "(cached) " >&6
4271 else $as_nop
4272 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4274 else
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH
4277 do
4278 IFS=$as_save_IFS
4279 case $as_dir in #(((
4280 '') as_dir=./ ;;
4281 */) ;;
4282 *) as_dir=$as_dir/ ;;
4283 esac
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4286 ac_cv_prog_ac_ct_CC="clang"
4287 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4288 break 2
4289 fi
4290 done
4291 done
4292 IFS=$as_save_IFS
4293
4294 fi
4295 fi
4296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4297 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4298 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4299 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
4300 else
4301 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4303 fi
4304
4305 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
4306 CC=""
4307 else
4308 case $cross_compiling:$ac_tool_warned in
4309 yes:)
4310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312 ac_tool_warned=yes ;;
4313 esac
4314 CC=$ac_ct_CC
4315 fi
4316 else
4317 CC="$ac_cv_prog_CC"
4318 fi
4319
4320 fi
4321
4322
4323 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH
4326 See \`config.log' for more details" "$LINENO" 5; }
4327
4328 # Provide some information about the compiler.
4329 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4330 set X $ac_compile
4331 ac_compiler=$2
4332 for ac_option in --version -v -V -qversion -version; do
4333 { { ac_try="$ac_compiler $ac_option >&5"
4334 case "(($ac_try" in
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4340 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4341 ac_status=$?
4342 if testscip-shell system . . test. -s conftest.err; then
4343 sedscip-shell system . . sed. '10a\
4344 ... rest of stderr output deleted ...
4345 10q' conftest.err >conftest.er1
4346 catscip-shell system . . cat. conftest.er1 >&5
4347 fi
4348 rmscip-shell system . . rm. -f conftest.er1 conftest.err
4349 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 testscip-shell system . . test. $ac_status = 0; }
4351 done
4352
4353 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4355
4356 int
4357 main (void)
4358 {
4359
4360 ;
4361 return 0;
4362 }
4363 _ACEOF
4364 ac_clean_files_save=$ac_clean_files
4365 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4366 # Try to create an executable without -o first, disregard a.out.
4367 # It will help us diagnose broken compilers, and finding out an intuition
4368 # of exeext.
4369 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4370 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
4371 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
4372
4373 # The possible output files:
4374 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4375
4376 ac_rmfiles=
4377 for ac_file in $ac_files
4378 do
4379 case $ac_file in
4380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4381 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4382 esac
4383 done
4384 rmscip-shell system . . rm. -f $ac_rmfiles
4385
4386 if { { ac_try="$ac_link_default"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4393 (eval "$ac_link_default") 2>&5
4394 ac_status=$?
4395 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 testscip-shell system . . test. $ac_status = 0; }
4397 then :
4398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4401 # so that the user can short-circuit this test for compilers unknown to
4402 # Autoconf.
4403 for ac_file in $ac_files ''
4404 do
4405 testscip-shell system . . test. -f "$ac_file" || continue
4406 case $ac_file in
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4408 ;;
4409 [ab].out )
4410 # We found the default executable, but exeext='' is most
4411 # certainly right.
4412 break;;
4413 *.* )
4414 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
4415 then :; else
4416 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4417 fi
4418 # We set ac_cv_exeext here because the later test for it is not
4419 # safe: cross compilers may not add the suffix if given an `-o'
4420 # argument, so we may need to know it at that point already.
4421 # Even if this section looks crufty: it has the advantage of
4422 # actually working.
4423 break;;
4424 * )
4425 break;;
4426 esac
4427 done
4428 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
4429
4430 else $as_nop
4431 ac_file=''
4432 fi
4433 if testscip-shell system . . test. -z "$ac_file"
4434 then :
4435 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4437 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4438 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4439
4440 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4441 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4442 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "C compiler cannot create executables
4443 See \`config.log' for more details" "$LINENO" 5; }
4444 else $as_nop
4445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4446 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
4447 fi
4448 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4449 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
4450 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4451 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
4452 ac_exeext=$ac_cv_exeext
4453
4454 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4455 ac_clean_files=$ac_clean_files_save
4456 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4457 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
4458 if { { ac_try="$ac_link"
4459 case "(($ac_try" in
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4462 esac
4463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4465 (eval "$ac_link") 2>&5
4466 ac_status=$?
4467 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 testscip-shell system . . test. $ac_status = 0; }
4469 then :
4470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4472 # work properly (i.e., refer to `conftest.exe'), while it won't with
4473 # `rm'.
4474 for ac_file in conftest.exe conftest conftest.*; do
4475 testscip-shell system . . test. -f "$ac_file" || continue
4476 case $ac_file in
4477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4478 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4479 break;;
4480 * ) break;;
4481 esac
4482 done
4483 else $as_nop
4484 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
4487 See \`config.log' for more details" "$LINENO" 5; }
4488 fi
4489 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
4490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4491 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
4492
4493 rmscip-shell system . . rm. -f conftest.$ac_ext
4494 EXEEXT=$ac_cv_exeext
4495 ac_exeext=$EXEEXT
4496 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4498 #include <stdio.h>
4499 int
4500 main (void)
4501 {
4502 FILE *f = fopen ("conftest.out", "w");
4503 return ferror (f) || fclose (f) != 0;
4504
4505 ;
4506 return 0;
4507 }
4508 _ACEOF
4509 ac_clean_files="$ac_clean_files conftest.out"
4510 # Check that the compiler produces executables we can run. If not, either
4511 # the compiler is broken, or we cross compile.
4512 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4513 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
4514 if testscip-shell system . . test. "$cross_compiling" != yes; then
4515 { { ac_try="$ac_link"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4522 (eval "$ac_link") 2>&5
4523 ac_status=$?
4524 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 testscip-shell system . . test. $ac_status = 0; }
4526 if { ac_try='./conftest$ac_cv_exeext'
4527 { { case "(($ac_try" in
4528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4530 esac
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4533 (eval "$ac_try") 2>&5
4534 ac_status=$?
4535 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 testscip-shell system . . test. $ac_status = 0; }; }; then
4537 cross_compiling=no
4538 else
4539 if testscip-shell system . . test. "$cross_compiling" = maybe; then
4540 cross_compiling=yes
4541 else
4542 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4543 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4544 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). 77 "cannot run C compiled programs.
4545 If you meant to cross compile, use \`--host'.
4546 See \`config.log' for more details" "$LINENO" 5; }
4547 fi
4548 fi
4549 fi
4550 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4551 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
4552
4553 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4554 ac_clean_files=$ac_clean_files_save
4555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4556 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
4557 if testscip-shell system . . test. ${ac_cv_objext+y}
4558 then :
4559 printfscip-shell system . . printf. %s "(cached) " >&6
4560 else $as_nop
4561 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563
4564 int
4565 main (void)
4566 {
4567
4568 ;
4569 return 0;
4570 }
4571 _ACEOF
4572 rmscip-shell system . . rm. -f conftest.o conftest.obj
4573 if { { ac_try="$ac_compile"
4574 case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4580 (eval "$ac_compile") 2>&5
4581 ac_status=$?
4582 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583 testscip-shell system . . test. $ac_status = 0; }
4584 then :
4585 for ac_file in conftest.o conftest.obj conftest.*; do
4586 testscip-shell system . . test. -f "$ac_file" || continue;
4587 case $ac_file in
4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4589 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
4590 break;;
4591 esac
4592 done
4593 else $as_nop
4594 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4595 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4596
4597 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4598 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4599 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
4600 See \`config.log' for more details" "$LINENO" 5; }
4601 fi
4602 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
4603 fi
4604 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4605 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
4606 OBJEXT=$ac_cv_objext
4607 ac_objext=$OBJEXT
4608 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4609 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
4610 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
4611 then :
4612 printfscip-shell system . . printf. %s "(cached) " >&6
4613 else $as_nop
4614 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616
4617 int
4618 main (void)
4619 {
4620 #ifndef __GNUC__
4621 choke me
4622 #endif
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4629 then :
4630 ac_compiler_gnu=yes
4631 else $as_nop
4632 ac_compiler_gnu=no
4633 fi
4634 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4635 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4636
4637 fi
4638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4639 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4641
4642 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4643 GCC=yes
4644 else
4645 GCC=
4646 fi
4647 ac_test_CFLAGS=${CFLAGS+y}
4648 ac_save_CFLAGS=$CFLAGS
4649 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4650 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
4651 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
4652 then :
4653 printfscip-shell system . . printf. %s "(cached) " >&6
4654 else $as_nop
4655 ac_save_c_werror_flag=$ac_c_werror_flag
4656 ac_c_werror_flag=yes
4657 ac_cv_prog_cc_g=no
4658 CFLAGS="-g"
4659 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4661
4662 int
4663 main (void)
4664 {
4665
4666 ;
4667 return 0;
4668 }
4669 _ACEOF
4670 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4671 then :
4672 ac_cv_prog_cc_g=yes
4673 else $as_nop
4674 CFLAGS=""
4675 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4677
4678 int
4679 main (void)
4680 {
4681
4682 ;
4683 return 0;
4684 }
4685 _ACEOF
4686 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4687 then :
4688
4689 else $as_nop
4690 ac_c_werror_flag=$ac_save_c_werror_flag
4691 CFLAGS="-g"
4692 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694
4695 int
4696 main (void)
4697 {
4698
4699 ;
4700 return 0;
4701 }
4702 _ACEOF
4703 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4704 then :
4705 ac_cv_prog_cc_g=yes
4706 fi
4707 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4708 fi
4709 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4710 fi
4711 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4712 ac_c_werror_flag=$ac_save_c_werror_flag
4713 fi
4714 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4715 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
4716 if testscip-shell system . . test. $ac_test_CFLAGS; then
4717 CFLAGS=$ac_save_CFLAGS
4718 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
4719 if testscip-shell system . . test. "$GCC" = yes; then
4720 CFLAGS="-g -O2"
4721 else
4722 CFLAGS="-g"
4723 fi
4724 else
4725 if testscip-shell system . . test. "$GCC" = yes; then
4726 CFLAGS="-O2"
4727 else
4728 CFLAGS=
4729 fi
4730 fi
4731 ac_prog_cc_stdc=no
4732 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4733 then :
4734 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4735 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
4736 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
4737 then :
4738 printfscip-shell system . . printf. %s "(cached) " >&6
4739 else $as_nop
4740 ac_cv_prog_cc_c11=no
4741 ac_save_CC=$CC
4742 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4744 $ac_c_conftest_c11_program
4745 _ACEOF
4746 for ac_arg in '' -std=gnu11
4747 do
4748 CC="$ac_save_CC $ac_arg"
4749 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4750 then :
4751 ac_cv_prog_cc_c11=$ac_arg
4752 fi
4753 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4754 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
4755 done
4756 rmscip-shell system . . rm. -f conftest.$ac_ext
4757 CC=$ac_save_CC
4758 fi
4759
4760 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
4761 then :
4762 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4763 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4764 else $as_nop
4765 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
4766 then :
4767 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4768 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4769 else $as_nop
4770 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4771 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4772 CC="$CC $ac_cv_prog_cc_c11"
4773 fi
4774 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4775 ac_prog_cc_stdc=c11
4776 fi
4777 fi
4778 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4779 then :
4780 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4781 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
4782 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
4783 then :
4784 printfscip-shell system . . printf. %s "(cached) " >&6
4785 else $as_nop
4786 ac_cv_prog_cc_c99=no
4787 ac_save_CC=$CC
4788 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 $ac_c_conftest_c99_program
4791 _ACEOF
4792 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4793 do
4794 CC="$ac_save_CC $ac_arg"
4795 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4796 then :
4797 ac_cv_prog_cc_c99=$ac_arg
4798 fi
4799 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4800 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
4801 done
4802 rmscip-shell system . . rm. -f conftest.$ac_ext
4803 CC=$ac_save_CC
4804 fi
4805
4806 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
4807 then :
4808 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4809 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4810 else $as_nop
4811 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
4812 then :
4813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4814 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4815 else $as_nop
4816 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4817 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4818 CC="$CC $ac_cv_prog_cc_c99"
4819 fi
4820 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4821 ac_prog_cc_stdc=c99
4822 fi
4823 fi
4824 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4825 then :
4826 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4827 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
4828 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
4829 then :
4830 printfscip-shell system . . printf. %s "(cached) " >&6
4831 else $as_nop
4832 ac_cv_prog_cc_c89=no
4833 ac_save_CC=$CC
4834 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4836 $ac_c_conftest_c89_program
4837 _ACEOF
4838 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4839 do
4840 CC="$ac_save_CC $ac_arg"
4841 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
4842 then :
4843 ac_cv_prog_cc_c89=$ac_arg
4844 fi
4845 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4846 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4847 done
4848 rmscip-shell system . . rm. -f conftest.$ac_ext
4849 CC=$ac_save_CC
4850 fi
4851
4852 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
4853 then :
4854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4855 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4856 else $as_nop
4857 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
4858 then :
4859 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4860 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4861 else $as_nop
4862 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4863 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4864 CC="$CC $ac_cv_prog_cc_c89"
4865 fi
4866 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4867 ac_prog_cc_stdc=c89
4868 fi
4869 fi
4870
4871 ac_ext=c
4872 ac_cpp='$CPP $CPPFLAGS'
4873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4876
4877
4878 ac_ext=c
4879 ac_cpp='$CPP $CPPFLAGS'
4880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4884 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
4885 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
4886 then :
4887 printfscip-shell system . . printf. %s "(cached) " >&6
4888 else $as_nop
4889 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4891
4892 int
4893 main (void)
4894 {
4895
4896 ;
4897 return 0;
4898 }
4899 _ACEOF
4900 # Make sure it works both with $CC and with simple cc.
4901 # Following AC_PROG_CC_C_O, we do the test twice because some
4902 # compilers refuse to overwrite an existing .o file with -o,
4903 # though they will create one.
4904 am_cv_prog_cc_c_o=yes
4905 for am_i in 1 2; do
4906 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4907 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4908 ac_status=$?
4909 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } \
4911 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4912 : OK
4913 else
4914 am_cv_prog_cc_c_o=no
4915 break
4916 fi
4917 done
4918 rmscip-shell system . . rm. -f core conftest*
4919 unset am_i
4920 fi
4921 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4922 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4923 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4924 # Losing compiler, so override with the script.
4925 # FIXME: It is wrong to rewrite CC.
4926 # But if we don't then we get into trouble of one sort or another.
4927 # A longer-term fix would be to have automake use am__CC in this case,
4928 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4929 CC="$am_aux_dir/compile $CC"
4930 fi
4931 ac_ext=c
4932 ac_cpp='$CPP $CPPFLAGS'
4933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936
4937
4938 depcc="$CC" am_compiler_list=
4939
4940 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4941 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
4942 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
4943 then :
4944 printfscip-shell system . . printf. %s "(cached) " >&6
4945 else $as_nop
4946 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4947 # We make a subdir and do the tests there. Otherwise we can end up
4948 # making bogus files that we don't know about and never remove. For
4949 # instance it was reported that on HP-UX the gcc test will end up
4950 # making a dummy file named 'D' -- because '-MD' means "put the output
4951 # in D".
4952 rmscip-shell system . . rm. -rf conftest.dir
4953 mkdirscip-shell system . . mkdir. conftest.dir
4954 # Copy depcomp to subdir because otherwise we won't find it if we're
4955 # using a relative directory.
4956 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4957 cd conftest.dir
4958 # We will build objects and dependencies in a subdirectory because
4959 # it helps to detect inapplicable dependency modes. For instance
4960 # both Tru64's cc and ICC support -MD to output dependencies as a
4961 # side effect of compilation, but ICC will put the dependencies in
4962 # the current directory while Tru64 will put them in the object
4963 # directory.
4964 mkdirscip-shell system . . mkdir. sub
4965
4966 am_cv_CC_dependencies_compiler_type=none
4967 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4968 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4969 fi
4970 am__universal=false
4971 case " $depcc " in #(
4972 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4973 esac
4974
4975 for depmode in $am_compiler_list; do
4976 # Setup a source with many dependencies, because some compilers
4977 # like to wrap large dependency lists on column 80 (with \), and
4978 # we should not choose a depcomp mode which is confused by this.
4979 #
4980 # We need to recreate these files for each test, as the compiler may
4981 # overwrite some of them when testing with obscure command lines.
4982 # This happens at least with the AIX C compiler.
4983 : > sub/conftest.c
4984 for i in 1 2 3 4 5 6; do
4985 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4986 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4987 # Solaris 10 /bin/sh.
4988 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4989 done
4990 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4991
4992 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4993 # mode. It turns out that the SunPro C++ compiler does not properly
4994 # handle '-M -o', and we need to detect this. Also, some Intel
4995 # versions had trouble with output in subdirs.
4996 am__obj=sub/conftest.${OBJEXT-o}
4997 am__minus_obj="-o $am__obj"
4998 case $depmode in
4999 gcc)
5000 # This depmode causes a compiler race in universal mode.
5001 testscip-shell system . . test. "$am__universal" = false || continue
5002 ;;
5003 nosideeffect)
5004 # After this tag, mechanisms are not by side-effect, so they'll
5005 # only be used when explicitly requested.
5006 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
5007 continue
5008 else
5009 break
5010 fi
5011 ;;
5012 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5013 # This compiler won't grok '-c -o', but also, the minuso test has
5014 # not run yet. These depmodes are late enough in the game, and
5015 # so weak that their functioning should not be impacted.
5016 am__obj=conftest.${OBJEXT-o}
5017 am__minus_obj=
5018 ;;
5019 none) break ;;
5020 esac
5021 if depmode=$depmode \
5022 source=sub/conftest.c object=$am__obj \
5023 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5024 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5025 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
5026 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5027 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5028 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
5029 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5030 # icc doesn't choke on unknown options, it will just issue warnings
5031 # or remarks (even with -Werror). So we grep stderr for any message
5032 # that says an option was ignored or not supported.
5033 # When given -MP, icc 7.0 and 7.1 complain thusly:
5034 # icc: Command line warning: ignoring option '-M'; no argument required
5035 # The diagnosis changed in icc 8.0:
5036 # icc: Command line remark: option '-MP' not supported
5037 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
5038 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
5039 am_cv_CC_dependencies_compiler_type=$depmode
5040 break
5041 fi
5042 fi
5043 done
5044
5045 cd ..
5046 rmscip-shell system . . rm. -rf conftest.dir
5047 else
5048 am_cv_CC_dependencies_compiler_type=none
5049 fi
5050
5051 fi
5052 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5053 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5054 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5055
5056 if
5057 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
5058 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5059 am__fastdepCC_TRUE=
5060 am__fastdepCC_FALSE='#'
5061 else
5062 am__fastdepCC_TRUE='#'
5063 am__fastdepCC_FALSE=
5064 fi
5065
5066
5067
5068 ac_header= ac_cache=
5069 for ac_item in $ac_header_c_list
5070 do
5071 if testscip-shell system . . test. $ac_cache; then
5072 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5073 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5074 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
5075 fi
5076 ac_header= ac_cache=
5077 elif testscip-shell system . . test. $ac_header; then
5078 ac_cache=$ac_item
5079 else
5080 ac_header=$ac_item
5081 fi
5082 done
5083
5084
5085
5086
5087
5088
5089
5090
5091 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
5092 then :
5093
5094 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5095
5096 fi
5097
5098
5099
5100
5101
5102
5103 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5104 printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5105 if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y}
5106 then :
5107 printfscip-shell system . . printf. %s "(cached) " >&6
5108 else $as_nop
5109 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5111
5112 # define __EXTENSIONS__ 1
5113 $ac_includes_default
5114 int
5115 main (void)
5116 {
5117
5118 ;
5119 return 0;
5120 }
5121 _ACEOF
5122 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5123 then :
5124 ac_cv_safe_to_define___extensions__=yes
5125 else $as_nop
5126 ac_cv_safe_to_define___extensions__=no
5127 fi
5128 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5129 fi
5130 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5131 printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5132
5133 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5134 printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5135 if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y}
5136 then :
5137 printfscip-shell system . . printf. %s "(cached) " >&6
5138 else $as_nop
5139 ac_cv_should_define__xopen_source=no
5140 if testscip-shell system . . test. $ac_cv_header_wchar_h = yes
5141 then :
5142 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144
5145 #include <wchar.h>
5146 mbstate_t x;
5147 int
5148 main (void)
5149 {
5150
5151 ;
5152 return 0;
5153 }
5154 _ACEOF
5155 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5156 then :
5157
5158 else $as_nop
5159 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5161
5162 #define _XOPEN_SOURCE 500
5163 #include <wchar.h>
5164 mbstate_t x;
5165 int
5166 main (void)
5167 {
5168
5169 ;
5170 return 0;
5171 }
5172 _ACEOF
5173 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5174 then :
5175 ac_cv_should_define__xopen_source=yes
5176 fi
5177 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5178 fi
5179 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5180 fi
5181 fi
5182 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5183 printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5184
5185 printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5186
5187 printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5188
5189 printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5190
5191 printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5192
5193 printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5194
5195 printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5196
5197 printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5198
5199 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5200
5201 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5202
5203 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5204
5205 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5206
5207 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5208
5209 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5210
5211 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5212
5213 printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5214
5215 if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes
5216 then :
5217 MINIX=yes
5218 printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h
5219
5220 printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5221
5222 printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5223
5224 else $as_nop
5225 MINIX=
5226 fi
5227 if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes
5228 then :
5229 printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5230
5231 fi
5232 if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes
5233 then :
5234 printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5235
5236 fi
5237
5238
5239
5240 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5241 printfscip-shell system . . printf. %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5242 # Check whether --enable-maintainer-mode was given.
5243 if testscip-shell system . . test. ${enable_maintainer_mode+y}
5244 then :
5245 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5246 else $as_nop
5247 USE_MAINTAINER_MODE=no
5248 fi
5249
5250 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5251 printfscip-shell system . . printf. "%s\n" "$USE_MAINTAINER_MODE" >&6; }
5252 if testscip-shell system . . test. $USE_MAINTAINER_MODE = yes; then
5253 MAINTAINER_MODE_TRUE=
5254 MAINTAINER_MODE_FALSE='#'
5255 else
5256 MAINTAINER_MODE_TRUE='#'
5257 MAINTAINER_MODE_FALSE=
5258 fi
5259
5260 MAINT=$MAINTAINER_MODE_TRUE
5261
5262
5263
5264
5265
5266 # Make sure we can run config.sub.
5267 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
5268 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5269
5270 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5271 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
5272 if testscip-shell system . . test. ${ac_cv_build+y}
5273 then :
5274 printfscip-shell system . . printf. %s "(cached) " >&6
5275 else $as_nop
5276 ac_build_alias=$build_alias
5277 testscip-shell system . . test. "x$ac_build_alias" = x &&
5278 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5279 testscip-shell system . . test. "x$ac_build_alias" = x &&
5280 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
5281 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5282 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5283
5284 fi
5285 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5286 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
5287 case $ac_cv_build in
5288 *-*-*) ;;
5289 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
5290 esac
5291 build=$ac_cv_build
5292 ac_save_IFS=$IFS; IFS='-'
5293 set x $ac_cv_build
5294 shift
5295 build_cpu=$1
5296 build_vendor=$2
5297 shift; shift
5298 # Remember, the first character of IFS is used to create $*,
5299 # except with old shells:
5300 build_os=$*
5301 IFS=$ac_save_IFS
5302 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5303
5304
5305 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5306 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
5307 if testscip-shell system . . test. ${ac_cv_host+y}
5308 then :
5309 printfscip-shell system . . printf. %s "(cached) " >&6
5310 else $as_nop
5311 if testscip-shell system . . test. "x$host_alias" = x; then
5312 ac_cv_host=$ac_cv_build
5313 else
5314 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5315 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5316 fi
5317
5318 fi
5319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5320 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
5321 case $ac_cv_host in
5322 *-*-*) ;;
5323 *) as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
5324 esac
5325 host=$ac_cv_host
5326 ac_save_IFS=$IFS; IFS='-'
5327 set x $ac_cv_host
5328 shift
5329 host_cpu=$1
5330 host_vendor=$2
5331 shift; shift
5332 # Remember, the first character of IFS is used to create $*,
5333 # except with old shells:
5334 host_os=$*
5335 IFS=$ac_save_IFS
5336 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5337
5338
5339
5340
5341
5342
5343
5344
5345 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5346 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5347 set x ${MAKE-make}
5348 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5349 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
5350 then :
5351 printfscip-shell system . . printf. %s "(cached) " >&6
5352 else $as_nop
5353 catscip-shell system . . cat. >conftest.make <<\_ACEOF
5354 SHELL = /bin/sh
5355 all:
5356 @echo '@@@%%%=$(MAKE)=@@@%%%'
5357 _ACEOF
5358 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5359 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
5360 *@@@%%%=?*=@@@%%%*)
5361 eval ac_cv_prog_make_${ac_make}_set=yes;;
5362 *)
5363 eval ac_cv_prog_make_${ac_make}_set=no;;
5364 esac
5365 rmscip-shell system . . rm. -f conftest.make
5366 fi
5367 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5369 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
5370 SET_MAKE=
5371 else
5372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5374 SET_MAKE="MAKE=${MAKE-make}"
5375 fi
5376
5377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5378 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
5379 # Reject unsafe characters in $srcdir or the absolute working directory
5380 # name. Accept space and tab only in the latter.
5381 am_lf='
5382 '
5383 case `pwdscip-shell system . . pwd.` in
5384 *[\\\"\#\$\&\'\`$am_lf]*)
5385 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
5386 esac
5387 case $srcdir in
5388 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
5389 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5390 esac
5391
5392 # Do 'set' in a subshell so we don't clobber the current shell's
5393 # arguments. Must try -L first in case configure is actually a
5394 # symlink; some systems play weird games with the mod time of symlinks
5395 # (eg FreeBSD returns the mod time of the symlink's containing
5396 # directory).
5397 if (
5398 am_has_slept=no
5399 for am_try in 1 2; do
5400 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
5401 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
5402 if testscip-shell system . . test. "$*" = "X"; then
5403 # -L didn't work.
5404 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
5405 fi
5406 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
5407 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
5408
5409 # If neither matched, then we have a broken ls. This can happen
5410 # if, for instance, CONFIG_SHELL is bash and it inherits a
5411 # broken ls alias from the environment. This has actually
5412 # happened. Such a system could not be considered "sane".
5413 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
5414 alias in your environment" "$LINENO" 5
5415 fi
5416 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
5417 break
5418 fi
5419 # Just in case.
5420 sleepscip-shell system . . sleep. 1
5421 am_has_slept=yes
5422 done
5423 testscip-shell system . . test. "$2" = conftest.file
5424 )
5425 then
5426 # Ok.
5427 :
5428 else
5429 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "newly created file is older than distributed files!
5430 Check your system clock" "$LINENO" 5
5431 fi
5432 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5433 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
5434 # If we didn't sleep, we still need to ensure time stamps of config.status and
5435 # generated files are strictly newer.
5436 am_sleep_pid=
5437 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5438 ( sleepscip-shell system . . sleep. 1 ) &
5439 am_sleep_pid=$!
5440 fi
5441
5442 rmscip-shell system . . rm. -f conftest.file
5443
5444 missing_dir=`cd $ac_aux_dir && pwdscip-shell system . . pwd.`
5445
5446 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
5447
5448
5449 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5450
5451
5452 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
5453
5454
5455 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5456
5457
5458 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5459
5460 ac_ext=c
5461 ac_cpp='$CPP $CPPFLAGS'
5462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5465 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5467 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5468 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5470 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5471 then :
5472 printfscip-shell system . . printf. %s "(cached) " >&6
5473 else $as_nop
5474 if testscip-shell system . . test. -n "$CC"; then
5475 ac_cv_prog_CC="$CC" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5479 do
5480 IFS=$as_save_IFS
5481 case $as_dir in #(((
5482 '') as_dir=./ ;;
5483 */) ;;
5484 *) as_dir=$as_dir/ ;;
5485 esac
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5489 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5490 break 2
5491 fi
5492 done
5493 done
5494 IFS=$as_save_IFS
5495
5496 fi
5497 fi
5498 CC=$ac_cv_prog_CC
5499 if testscip-shell system . . test. -n "$CC"; then
5500 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5501 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5502 else
5503 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5505 fi
5506
5507
5508 fi
5509 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
5510 ac_ct_CC=$CC
5511 # Extract the first word of "gcc", so it can be a program name with args.
5512 set dummy gcc; ac_word=$2
5513 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5515 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5516 then :
5517 printfscip-shell system . . printf. %s "(cached) " >&6
5518 else $as_nop
5519 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5520 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5524 do
5525 IFS=$as_save_IFS
5526 case $as_dir in #(((
5527 '') as_dir=./ ;;
5528 */) ;;
5529 *) as_dir=$as_dir/ ;;
5530 esac
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_ac_ct_CC="gcc"
5534 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5535 break 2
5536 fi
5537 done
5538 done
5539 IFS=$as_save_IFS
5540
5541 fi
5542 fi
5543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5544 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5545 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5546 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5547 else
5548 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5550 fi
5551
5552 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5553 CC=""
5554 else
5555 case $cross_compiling:$ac_tool_warned in
5556 yes:)
5557 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned=yes ;;
5560 esac
5561 CC=$ac_ct_CC
5562 fi
5563 else
5564 CC="$ac_cv_prog_CC"
5565 fi
5566
5567 if testscip-shell system . . test. -z "$CC"; then
5568 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5570 set dummy ${ac_tool_prefix}cc; ac_word=$2
5571 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5573 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5574 then :
5575 printfscip-shell system . . printf. %s "(cached) " >&6
5576 else $as_nop
5577 if testscip-shell system . . test. -n "$CC"; then
5578 ac_cv_prog_CC="$CC" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5582 do
5583 IFS=$as_save_IFS
5584 case $as_dir in #(((
5585 '') as_dir=./ ;;
5586 */) ;;
5587 *) as_dir=$as_dir/ ;;
5588 esac
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_CC="${ac_tool_prefix}cc"
5592 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5593 break 2
5594 fi
5595 done
5596 done
5597 IFS=$as_save_IFS
5598
5599 fi
5600 fi
5601 CC=$ac_cv_prog_CC
5602 if testscip-shell system . . test. -n "$CC"; then
5603 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5604 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5605 else
5606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5608 fi
5609
5610
5611 fi
5612 fi
5613 if testscip-shell system . . test. -z "$CC"; then
5614 # Extract the first word of "cc", so it can be a program name with args.
5615 set dummy cc; ac_word=$2
5616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5618 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5619 then :
5620 printfscip-shell system . . printf. %s "(cached) " >&6
5621 else $as_nop
5622 if testscip-shell system . . test. -n "$CC"; then
5623 ac_cv_prog_CC="$CC" # Let the user override the test.
5624 else
5625 ac_prog_rejected=no
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5628 do
5629 IFS=$as_save_IFS
5630 case $as_dir in #(((
5631 '') as_dir=./ ;;
5632 */) ;;
5633 *) as_dir=$as_dir/ ;;
5634 esac
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5637 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
5638 ac_prog_rejected=yes
5639 continue
5640 fi
5641 ac_cv_prog_CC="cc"
5642 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5643 break 2
5644 fi
5645 done
5646 done
5647 IFS=$as_save_IFS
5648
5649 if testscip-shell system . . test. $ac_prog_rejected = yes; then
5650 # We found a bogon in the path, so make sure we never use it.
5651 set dummy $ac_cv_prog_CC
5652 shift
5653 if testscip-shell system . . test. $# != 0; then
5654 # We chose a different compiler from the bogus one.
5655 # However, it has the same basename, so the bogon will be chosen
5656 # first if we set CC to just the basename; use the full file name.
5657 shift
5658 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5659 fi
5660 fi
5661 fi
5662 fi
5663 CC=$ac_cv_prog_CC
5664 if testscip-shell system . . test. -n "$CC"; then
5665 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5666 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5667 else
5668 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5670 fi
5671
5672
5673 fi
5674 if testscip-shell system . . test. -z "$CC"; then
5675 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5676 for ac_prog in cl.exe
5677 do
5678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5680 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5682 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5683 then :
5684 printfscip-shell system . . printf. %s "(cached) " >&6
5685 else $as_nop
5686 if testscip-shell system . . test. -n "$CC"; then
5687 ac_cv_prog_CC="$CC" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5691 do
5692 IFS=$as_save_IFS
5693 case $as_dir in #(((
5694 '') as_dir=./ ;;
5695 */) ;;
5696 *) as_dir=$as_dir/ ;;
5697 esac
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5701 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5702 break 2
5703 fi
5704 done
5705 done
5706 IFS=$as_save_IFS
5707
5708 fi
5709 fi
5710 CC=$ac_cv_prog_CC
5711 if testscip-shell system . . test. -n "$CC"; then
5712 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5713 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5714 else
5715 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5717 fi
5718
5719
5720 testscip-shell system . . test. -n "$CC" && break
5721 done
5722 fi
5723 if testscip-shell system . . test. -z "$CC"; then
5724 ac_ct_CC=$CC
5725 for ac_prog in cl.exe
5726 do
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5731 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5732 then :
5733 printfscip-shell system . . printf. %s "(cached) " >&6
5734 else $as_nop
5735 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5740 do
5741 IFS=$as_save_IFS
5742 case $as_dir in #(((
5743 '') as_dir=./ ;;
5744 */) ;;
5745 *) as_dir=$as_dir/ ;;
5746 esac
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_ac_ct_CC="$ac_prog"
5750 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5751 break 2
5752 fi
5753 done
5754 done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5760 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5761 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5762 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5763 else
5764 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5766 fi
5767
5768
5769 testscip-shell system . . test. -n "$ac_ct_CC" && break
5770 done
5771
5772 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5773 CC=""
5774 else
5775 case $cross_compiling:$ac_tool_warned in
5776 yes:)
5777 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779 ac_tool_warned=yes ;;
5780 esac
5781 CC=$ac_ct_CC
5782 fi
5783 fi
5784
5785 fi
5786 if testscip-shell system . . test. -z "$CC"; then
5787 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5788 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5789 set dummy ${ac_tool_prefix}clang; ac_word=$2
5790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5792 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5793 then :
5794 printfscip-shell system . . printf. %s "(cached) " >&6
5795 else $as_nop
5796 if testscip-shell system . . test. -n "$CC"; then
5797 ac_cv_prog_CC="$CC" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5801 do
5802 IFS=$as_save_IFS
5803 case $as_dir in #(((
5804 '') as_dir=./ ;;
5805 */) ;;
5806 *) as_dir=$as_dir/ ;;
5807 esac
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_CC="${ac_tool_prefix}clang"
5811 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5812 break 2
5813 fi
5814 done
5815 done
5816 IFS=$as_save_IFS
5817
5818 fi
5819 fi
5820 CC=$ac_cv_prog_CC
5821 if testscip-shell system . . test. -n "$CC"; then
5822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5823 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5824 else
5825 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5827 fi
5828
5829
5830 fi
5831 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
5832 ac_ct_CC=$CC
5833 # Extract the first word of "clang", so it can be a program name with args.
5834 set dummy clang; ac_word=$2
5835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5837 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5838 then :
5839 printfscip-shell system . . printf. %s "(cached) " >&6
5840 else $as_nop
5841 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5846 do
5847 IFS=$as_save_IFS
5848 case $as_dir in #(((
5849 '') as_dir=./ ;;
5850 */) ;;
5851 *) as_dir=$as_dir/ ;;
5852 esac
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_ac_ct_CC="clang"
5856 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5857 break 2
5858 fi
5859 done
5860 done
5861 IFS=$as_save_IFS
5862
5863 fi
5864 fi
5865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5866 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5868 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5869 else
5870 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5872 fi
5873
5874 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5875 CC=""
5876 else
5877 case $cross_compiling:$ac_tool_warned in
5878 yes:)
5879 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5880 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5881 ac_tool_warned=yes ;;
5882 esac
5883 CC=$ac_ct_CC
5884 fi
5885 else
5886 CC="$ac_cv_prog_CC"
5887 fi
5888
5889 fi
5890
5891
5892 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5893 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5894 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable C compiler found in \$PATH
5895 See \`config.log' for more details" "$LINENO" 5; }
5896
5897 # Provide some information about the compiler.
5898 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5899 set X $ac_compile
5900 ac_compiler=$2
5901 for ac_option in --version -v -V -qversion -version; do
5902 { { ac_try="$ac_compiler $ac_option >&5"
5903 case "(($ac_try" in
5904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5905 *) ac_try_echo=$ac_try;;
5906 esac
5907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5908 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
5909 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5910 ac_status=$?
5911 if testscip-shell system . . test. -s conftest.err; then
5912 sedscip-shell system . . sed. '10a\
5913 ... rest of stderr output deleted ...
5914 10q' conftest.err >conftest.er1
5915 catscip-shell system . . cat. conftest.er1 >&5
5916 fi
5917 rmscip-shell system . . rm. -f conftest.er1 conftest.err
5918 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5919 testscip-shell system . . test. $ac_status = 0; }
5920 done
5921
5922 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5923 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
5924 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
5925 then :
5926 printfscip-shell system . . printf. %s "(cached) " >&6
5927 else $as_nop
5928 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930
5931 int
5932 main (void)
5933 {
5934 #ifndef __GNUC__
5935 choke me
5936 #endif
5937
5938 ;
5939 return 0;
5940 }
5941 _ACEOF
5942 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5943 then :
5944 ac_compiler_gnu=yes
5945 else $as_nop
5946 ac_compiler_gnu=no
5947 fi
5948 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5949 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5950
5951 fi
5952 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5953 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5955
5956 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
5957 GCC=yes
5958 else
5959 GCC=
5960 fi
5961 ac_test_CFLAGS=${CFLAGS+y}
5962 ac_save_CFLAGS=$CFLAGS
5963 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5964 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
5965 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
5966 then :
5967 printfscip-shell system . . printf. %s "(cached) " >&6
5968 else $as_nop
5969 ac_save_c_werror_flag=$ac_c_werror_flag
5970 ac_c_werror_flag=yes
5971 ac_cv_prog_cc_g=no
5972 CFLAGS="-g"
5973 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975
5976 int
5977 main (void)
5978 {
5979
5980 ;
5981 return 0;
5982 }
5983 _ACEOF
5984 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
5985 then :
5986 ac_cv_prog_cc_g=yes
5987 else $as_nop
5988 CFLAGS=""
5989 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5991
5992 int
5993 main (void)
5994 {
5995
5996 ;
5997 return 0;
5998 }
5999 _ACEOF
6000 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6001 then :
6002
6003 else $as_nop
6004 ac_c_werror_flag=$ac_save_c_werror_flag
6005 CFLAGS="-g"
6006 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6008
6009 int
6010 main (void)
6011 {
6012
6013 ;
6014 return 0;
6015 }
6016 _ACEOF
6017 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6018 then :
6019 ac_cv_prog_cc_g=yes
6020 fi
6021 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6022 fi
6023 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6024 fi
6025 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6026 ac_c_werror_flag=$ac_save_c_werror_flag
6027 fi
6028 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6029 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
6030 if testscip-shell system . . test. $ac_test_CFLAGS; then
6031 CFLAGS=$ac_save_CFLAGS
6032 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
6033 if testscip-shell system . . test. "$GCC" = yes; then
6034 CFLAGS="-g -O2"
6035 else
6036 CFLAGS="-g"
6037 fi
6038 else
6039 if testscip-shell system . . test. "$GCC" = yes; then
6040 CFLAGS="-O2"
6041 else
6042 CFLAGS=
6043 fi
6044 fi
6045 ac_prog_cc_stdc=no
6046 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
6047 then :
6048 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
6049 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
6050 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
6051 then :
6052 printfscip-shell system . . printf. %s "(cached) " >&6
6053 else $as_nop
6054 ac_cv_prog_cc_c11=no
6055 ac_save_CC=$CC
6056 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058 $ac_c_conftest_c11_program
6059 _ACEOF
6060 for ac_arg in '' -std=gnu11
6061 do
6062 CC="$ac_save_CC $ac_arg"
6063 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6064 then :
6065 ac_cv_prog_cc_c11=$ac_arg
6066 fi
6067 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
6068 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
6069 done
6070 rmscip-shell system . . rm. -f conftest.$ac_ext
6071 CC=$ac_save_CC
6072 fi
6073
6074 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
6075 then :
6076 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6077 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
6078 else $as_nop
6079 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
6080 then :
6081 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6082 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
6083 else $as_nop
6084 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6085 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6086 CC="$CC $ac_cv_prog_cc_c11"
6087 fi
6088 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
6089 ac_prog_cc_stdc=c11
6090 fi
6091 fi
6092 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
6093 then :
6094 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6095 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
6096 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
6097 then :
6098 printfscip-shell system . . printf. %s "(cached) " >&6
6099 else $as_nop
6100 ac_cv_prog_cc_c99=no
6101 ac_save_CC=$CC
6102 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 $ac_c_conftest_c99_program
6105 _ACEOF
6106 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
6107 do
6108 CC="$ac_save_CC $ac_arg"
6109 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6110 then :
6111 ac_cv_prog_cc_c99=$ac_arg
6112 fi
6113 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
6114 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
6115 done
6116 rmscip-shell system . . rm. -f conftest.$ac_ext
6117 CC=$ac_save_CC
6118 fi
6119
6120 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
6121 then :
6122 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6123 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
6124 else $as_nop
6125 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
6126 then :
6127 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6128 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
6129 else $as_nop
6130 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6131 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6132 CC="$CC $ac_cv_prog_cc_c99"
6133 fi
6134 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6135 ac_prog_cc_stdc=c99
6136 fi
6137 fi
6138 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
6139 then :
6140 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6141 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
6142 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
6143 then :
6144 printfscip-shell system . . printf. %s "(cached) " >&6
6145 else $as_nop
6146 ac_cv_prog_cc_c89=no
6147 ac_save_CC=$CC
6148 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 $ac_c_conftest_c89_program
6151 _ACEOF
6152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6153 do
6154 CC="$ac_save_CC $ac_arg"
6155 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
6156 then :
6157 ac_cv_prog_cc_c89=$ac_arg
6158 fi
6159 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
6160 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
6161 done
6162 rmscip-shell system . . rm. -f conftest.$ac_ext
6163 CC=$ac_save_CC
6164 fi
6165
6166 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
6167 then :
6168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6169 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
6170 else $as_nop
6171 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
6172 then :
6173 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6174 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
6175 else $as_nop
6176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6177 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6178 CC="$CC $ac_cv_prog_cc_c89"
6179 fi
6180 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6181 ac_prog_cc_stdc=c89
6182 fi
6183 fi
6184
6185 ac_ext=c
6186 ac_cpp='$CPP $CPPFLAGS'
6187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6190
6191
6192 ac_ext=c
6193 ac_cpp='$CPP $CPPFLAGS'
6194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6198 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
6199 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
6200 then :
6201 printfscip-shell system . . printf. %s "(cached) " >&6
6202 else $as_nop
6203 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205
6206 int
6207 main (void)
6208 {
6209
6210 ;
6211 return 0;
6212 }
6213 _ACEOF
6214 # Make sure it works both with $CC and with simple cc.
6215 # Following AC_PROG_CC_C_O, we do the test twice because some
6216 # compilers refuse to overwrite an existing .o file with -o,
6217 # though they will create one.
6218 am_cv_prog_cc_c_o=yes
6219 for am_i in 1 2; do
6220 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6221 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6222 ac_status=$?
6223 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } \
6225 && testscip-shell system . . test. -f conftest2.$ac_objext; then
6226 : OK
6227 else
6228 am_cv_prog_cc_c_o=no
6229 break
6230 fi
6231 done
6232 rmscip-shell system . . rm. -f core conftest*
6233 unset am_i
6234 fi
6235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6236 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6237 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
6238 # Losing compiler, so override with the script.
6239 # FIXME: It is wrong to rewrite CC.
6240 # But if we don't then we get into trouble of one sort or another.
6241 # A longer-term fix would be to have automake use am__CC in this case,
6242 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6243 CC="$am_aux_dir/compile $CC"
6244 fi
6245 ac_ext=c
6246 ac_cpp='$CPP $CPPFLAGS'
6247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6250
6251
6252 depcc="$CC" am_compiler_list=
6253
6254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6255 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
6256 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
6257 then :
6258 printfscip-shell system . . printf. %s "(cached) " >&6
6259 else $as_nop
6260 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
6261 # We make a subdir and do the tests there. Otherwise we can end up
6262 # making bogus files that we don't know about and never remove. For
6263 # instance it was reported that on HP-UX the gcc test will end up
6264 # making a dummy file named 'D' -- because '-MD' means "put the output
6265 # in D".
6266 rmscip-shell system . . rm. -rf conftest.dir
6267 mkdirscip-shell system . . mkdir. conftest.dir
6268 # Copy depcomp to subdir because otherwise we won't find it if we're
6269 # using a relative directory.
6270 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
6271 cd conftest.dir
6272 # We will build objects and dependencies in a subdirectory because
6273 # it helps to detect inapplicable dependency modes. For instance
6274 # both Tru64's cc and ICC support -MD to output dependencies as a
6275 # side effect of compilation, but ICC will put the dependencies in
6276 # the current directory while Tru64 will put them in the object
6277 # directory.
6278 mkdirscip-shell system . . mkdir. sub
6279
6280 am_cv_CC_dependencies_compiler_type=none
6281 if testscip-shell system . . test. "$am_compiler_list" = ""; then
6282 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6283 fi
6284 am__universal=false
6285 case " $depcc " in #(
6286 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6287 esac
6288
6289 for depmode in $am_compiler_list; do
6290 # Setup a source with many dependencies, because some compilers
6291 # like to wrap large dependency lists on column 80 (with \), and
6292 # we should not choose a depcomp mode which is confused by this.
6293 #
6294 # We need to recreate these files for each test, as the compiler may
6295 # overwrite some of them when testing with obscure command lines.
6296 # This happens at least with the AIX C compiler.
6297 : > sub/conftest.c
6298 for i in 1 2 3 4 5 6; do
6299 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
6300 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6301 # Solaris 10 /bin/sh.
6302 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
6303 done
6304 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6305
6306 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6307 # mode. It turns out that the SunPro C++ compiler does not properly
6308 # handle '-M -o', and we need to detect this. Also, some Intel
6309 # versions had trouble with output in subdirs.
6310 am__obj=sub/conftest.${OBJEXT-o}
6311 am__minus_obj="-o $am__obj"
6312 case $depmode in
6313 gcc)
6314 # This depmode causes a compiler race in universal mode.
6315 testscip-shell system . . test. "$am__universal" = false || continue
6316 ;;
6317 nosideeffect)
6318 # After this tag, mechanisms are not by side-effect, so they'll
6319 # only be used when explicitly requested.
6320 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
6321 continue
6322 else
6323 break
6324 fi
6325 ;;
6326 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6327 # This compiler won't grok '-c -o', but also, the minuso test has
6328 # not run yet. These depmodes are late enough in the game, and
6329 # so weak that their functioning should not be impacted.
6330 am__obj=conftest.${OBJEXT-o}
6331 am__minus_obj=
6332 ;;
6333 none) break ;;
6334 esac
6335 if depmode=$depmode \
6336 source=sub/conftest.c object=$am__obj \
6337 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6338 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6339 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
6340 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6341 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6342 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
6343 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
6344 # icc doesn't choke on unknown options, it will just issue warnings
6345 # or remarks (even with -Werror). So we grep stderr for any message
6346 # that says an option was ignored or not supported.
6347 # When given -MP, icc 7.0 and 7.1 complain thusly:
6348 # icc: Command line warning: ignoring option '-M'; no argument required
6349 # The diagnosis changed in icc 8.0:
6350 # icc: Command line remark: option '-MP' not supported
6351 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
6352 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
6353 am_cv_CC_dependencies_compiler_type=$depmode
6354 break
6355 fi
6356 fi
6357 done
6358
6359 cd ..
6360 rmscip-shell system . . rm. -rf conftest.dir
6361 else
6362 am_cv_CC_dependencies_compiler_type=none
6363 fi
6364
6365 fi
6366 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6367 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6368 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6369
6370 if
6371 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
6372 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6373 am__fastdepCC_TRUE=
6374 am__fastdepCC_FALSE='#'
6375 else
6376 am__fastdepCC_TRUE='#'
6377 am__fastdepCC_FALSE=
6378 fi
6379
6380
6381 ac_ext=c
6382 ac_cpp='$CPP $CPPFLAGS'
6383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6386 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6387 printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; }
6388 # On Suns, sometimes $CPP names a directory.
6389 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
6390 CPP=
6391 fi
6392 if testscip-shell system . . test. -z "$CPP"; then
6393 if testscip-shell system . . test. ${ac_cv_prog_CPP+y}
6394 then :
6395 printfscip-shell system . . printf. %s "(cached) " >&6
6396 else $as_nop
6397 # Double quotes because $CC needs to be expanded
6398 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
6399 do
6400 ac_preproc_ok=false
6401 for ac_c_preproc_warn_flag in '' yes
6402 do
6403 # Use a header file that comes with gcc, so configuring glibc
6404 # with a fresh cross-compiler works.
6405 # On the NeXT, cc -E runs the code through the compiler's parser,
6406 # not just through cpp. "Syntax error" is here to catch this case.
6407 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <limits.h>
6410 Syntax error
6411 _ACEOF
6412 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
6413 then :
6414
6415 else $as_nop
6416 # Broken: fails on valid input.
6417 continue
6418 fi
6419 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
6420
6421 # OK, works on sane cases. Now check whether nonexistent headers
6422 # can be detected and how.
6423 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #include <ac_nonexistent.h>
6426 _ACEOF
6427 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
6428 then :
6429 # Broken: success on invalid input.
6430 continue
6431 else $as_nop
6432 # Passes both tests.
6433 ac_preproc_ok=:
6434 break
6435 fi
6436 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
6437
6438 done
6439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6440 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
6441 if $ac_preproc_ok
6442 then :
6443 break
6444 fi
6445
6446 done
6447 ac_cv_prog_CPP=$CPP
6448
6449 fi
6450 CPP=$ac_cv_prog_CPP
6451 else
6452 ac_cv_prog_CPP=$CPP
6453 fi
6454 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6455 printfscip-shell system . . printf. "%s\n" "$CPP" >&6; }
6456 ac_preproc_ok=false
6457 for ac_c_preproc_warn_flag in '' yes
6458 do
6459 # Use a header file that comes with gcc, so configuring glibc
6460 # with a fresh cross-compiler works.
6461 # On the NeXT, cc -E runs the code through the compiler's parser,
6462 # not just through cpp. "Syntax error" is here to catch this case.
6463 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <limits.h>
6466 Syntax error
6467 _ACEOF
6468 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
6469 then :
6470
6471 else $as_nop
6472 # Broken: fails on valid input.
6473 continue
6474 fi
6475 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
6476
6477 # OK, works on sane cases. Now check whether nonexistent headers
6478 # can be detected and how.
6479 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #include <ac_nonexistent.h>
6482 _ACEOF
6483 if ac_fn_c_try_cppscip-shell shell shell-project 0.0.0 ac_fn_c_try_cpp(). "$LINENO"
6484 then :
6485 # Broken: success on invalid input.
6486 continue
6487 else $as_nop
6488 # Passes both tests.
6489 ac_preproc_ok=:
6490 break
6491 fi
6492 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
6493
6494 done
6495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6496 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
6497 if $ac_preproc_ok
6498 then :
6499
6500 else $as_nop
6501 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6502 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6503 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
6504 See \`config.log' for more details" "$LINENO" 5; }
6505 fi
6506
6507 ac_ext=c
6508 ac_cpp='$CPP $CPPFLAGS'
6509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6512
6513
6514 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6515 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6516 set dummy ${ac_tool_prefix}ar; ac_word=$2
6517 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6519 if testscip-shell system . . test. ${ac_cv_prog_AR+y}
6520 then :
6521 printfscip-shell system . . printf. %s "(cached) " >&6
6522 else $as_nop
6523 if testscip-shell system . . test. -n "$AR"; then
6524 ac_cv_prog_AR="$AR" # Let the user override the test.
6525 else
6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 for as_dir in $PATH
6528 do
6529 IFS=$as_save_IFS
6530 case $as_dir in #(((
6531 '') as_dir=./ ;;
6532 */) ;;
6533 *) as_dir=$as_dir/ ;;
6534 esac
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_AR="${ac_tool_prefix}ar"
6538 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6539 break 2
6540 fi
6541 done
6542 done
6543 IFS=$as_save_IFS
6544
6545 fi
6546 fi
6547 AR=$ac_cv_prog_AR
6548 if testscip-shell system . . test. -n "$AR"; then
6549 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6550 printfscip-shell system . . printf. "%s\n" "$AR" >&6; }
6551 else
6552 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6553 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6554 fi
6555
6556
6557 fi
6558 if testscip-shell system . . test. -z "$ac_cv_prog_AR"; then
6559 ac_ct_AR=$AR
6560 # Extract the first word of "ar", so it can be a program name with args.
6561 set dummy ar; ac_word=$2
6562 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6564 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y}
6565 then :
6566 printfscip-shell system . . printf. %s "(cached) " >&6
6567 else $as_nop
6568 if testscip-shell system . . test. -n "$ac_ct_AR"; then
6569 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6570 else
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6573 do
6574 IFS=$as_save_IFS
6575 case $as_dir in #(((
6576 '') as_dir=./ ;;
6577 */) ;;
6578 *) as_dir=$as_dir/ ;;
6579 esac
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6582 ac_cv_prog_ac_ct_AR="ar"
6583 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6584 break 2
6585 fi
6586 done
6587 done
6588 IFS=$as_save_IFS
6589
6590 fi
6591 fi
6592 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6593 if testscip-shell system . . test. -n "$ac_ct_AR"; then
6594 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6595 printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; }
6596 else
6597 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6599 fi
6600
6601 if testscip-shell system . . test. "x$ac_ct_AR" = x; then
6602 AR=":"
6603 else
6604 case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610 AR=$ac_ct_AR
6611 fi
6612 else
6613 AR="$ac_cv_prog_AR"
6614 fi
6615
6616 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6618 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6619 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6621 if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y}
6622 then :
6623 printfscip-shell system . . printf. %s "(cached) " >&6
6624 else $as_nop
6625 if testscip-shell system . . test. -n "$RANLIB"; then
6626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631 IFS=$as_save_IFS
6632 case $as_dir in #(((
6633 '') as_dir=./ ;;
6634 */) ;;
6635 *) as_dir=$as_dir/ ;;
6636 esac
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6639 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6640 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6641 break 2
6642 fi
6643 done
6644 done
6645 IFS=$as_save_IFS
6646
6647 fi
6648 fi
6649 RANLIB=$ac_cv_prog_RANLIB
6650 if testscip-shell system . . test. -n "$RANLIB"; then
6651 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6652 printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; }
6653 else
6654 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6656 fi
6657
6658
6659 fi
6660 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
6661 ac_ct_RANLIB=$RANLIB
6662 # Extract the first word of "ranlib", so it can be a program name with args.
6663 set dummy ranlib; ac_word=$2
6664 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6666 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y}
6667 then :
6668 printfscip-shell system . . printf. %s "(cached) " >&6
6669 else $as_nop
6670 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
6671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6675 do
6676 IFS=$as_save_IFS
6677 case $as_dir in #(((
6678 '') as_dir=./ ;;
6679 */) ;;
6680 *) as_dir=$as_dir/ ;;
6681 esac
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_RANLIB="ranlib"
6685 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6686 break 2
6687 fi
6688 done
6689 done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6695 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
6696 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6697 printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; }
6698 else
6699 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6701 fi
6702
6703 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
6704 RANLIB=":"
6705 else
6706 case $cross_compiling:$ac_tool_warned in
6707 yes:)
6708 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6711 esac
6712 RANLIB=$ac_ct_RANLIB
6713 fi
6714 else
6715 RANLIB="$ac_cv_prog_RANLIB"
6716 fi
6717
6718 # We need to check for cplusplus here because we may not do the test
6719 # for Qt and autoconf does does not allow that.
6720
6721
6722
6723
6724
6725
6726 ac_ext=cpp
6727 ac_cpp='$CXXCPP $CPPFLAGS'
6728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6731 if testscip-shell system . . test. -z "$CXX"; then
6732 if testscip-shell system . . test. -n "$CCC"; then
6733 CXX=$CCC
6734 else
6735 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
6737 do
6738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6740 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6742 if testscip-shell system . . test. ${ac_cv_prog_CXX+y}
6743 then :
6744 printfscip-shell system . . printf. %s "(cached) " >&6
6745 else $as_nop
6746 if testscip-shell system . . test. -n "$CXX"; then
6747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6748 else
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6751 do
6752 IFS=$as_save_IFS
6753 case $as_dir in #(((
6754 '') as_dir=./ ;;
6755 */) ;;
6756 *) as_dir=$as_dir/ ;;
6757 esac
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6760 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6761 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6762 break 2
6763 fi
6764 done
6765 done
6766 IFS=$as_save_IFS
6767
6768 fi
6769 fi
6770 CXX=$ac_cv_prog_CXX
6771 if testscip-shell system . . test. -n "$CXX"; then
6772 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6773 printfscip-shell system . . printf. "%s\n" "$CXX" >&6; }
6774 else
6775 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6777 fi
6778
6779
6780 testscip-shell system . . test. -n "$CXX" && break
6781 done
6782 fi
6783 if testscip-shell system . . test. -z "$CXX"; then
6784 ac_ct_CXX=$CXX
6785 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
6786 do
6787 # Extract the first word of "$ac_prog", so it can be a program name with args.
6788 set dummy $ac_prog; ac_word=$2
6789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6791 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y}
6792 then :
6793 printfscip-shell system . . printf. %s "(cached) " >&6
6794 else $as_nop
6795 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
6796 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6797 else
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6800 do
6801 IFS=$as_save_IFS
6802 case $as_dir in #(((
6803 '') as_dir=./ ;;
6804 */) ;;
6805 *) as_dir=$as_dir/ ;;
6806 esac
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ac_ct_CXX="$ac_prog"
6810 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811 break 2
6812 fi
6813 done
6814 done
6815 IFS=$as_save_IFS
6816
6817 fi
6818 fi
6819 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6820 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
6821 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6822 printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; }
6823 else
6824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6826 fi
6827
6828
6829 testscip-shell system . . test. -n "$ac_ct_CXX" && break
6830 done
6831
6832 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
6833 CXX="g++"
6834 else
6835 case $cross_compiling:$ac_tool_warned in
6836 yes:)
6837 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6838 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6839 ac_tool_warned=yes ;;
6840 esac
6841 CXX=$ac_ct_CXX
6842 fi
6843 fi
6844
6845 fi
6846 fi
6847 # Provide some information about the compiler.
6848 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6849 set X $ac_compile
6850 ac_compiler=$2
6851 for ac_option in --version -v -V -qversion; do
6852 { { ac_try="$ac_compiler $ac_option >&5"
6853 case "(($ac_try" in
6854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855 *) ac_try_echo=$ac_try;;
6856 esac
6857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6858 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
6859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6860 ac_status=$?
6861 if testscip-shell system . . test. -s conftest.err; then
6862 sedscip-shell system . . sed. '10a\
6863 ... rest of stderr output deleted ...
6864 10q' conftest.err >conftest.er1
6865 catscip-shell system . . cat. conftest.er1 >&5
6866 fi
6867 rmscip-shell system . . rm. -f conftest.er1 conftest.err
6868 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 testscip-shell system . . test. $ac_status = 0; }
6870 done
6871
6872 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6873 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; }
6874 if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y}
6875 then :
6876 printfscip-shell system . . printf. %s "(cached) " >&6
6877 else $as_nop
6878 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880
6881 int
6882 main (void)
6883 {
6884 #ifndef __GNUC__
6885 choke me
6886 #endif
6887
6888 ;
6889 return 0;
6890 }
6891 _ACEOF
6892 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
6893 then :
6894 ac_compiler_gnu=yes
6895 else $as_nop
6896 ac_compiler_gnu=no
6897 fi
6898 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6899 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6900
6901 fi
6902 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6903 printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6905
6906 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
6907 GXX=yes
6908 else
6909 GXX=
6910 fi
6911 ac_test_CXXFLAGS=${CXXFLAGS+y}
6912 ac_save_CXXFLAGS=$CXXFLAGS
6913 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6914 printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; }
6915 if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y}
6916 then :
6917 printfscip-shell system . . printf. %s "(cached) " >&6
6918 else $as_nop
6919 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6920 ac_cxx_werror_flag=yes
6921 ac_cv_prog_cxx_g=no
6922 CXXFLAGS="-g"
6923 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6924 /* end confdefs.h. */
6925
6926 int
6927 main (void)
6928 {
6929
6930 ;
6931 return 0;
6932 }
6933 _ACEOF
6934 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
6935 then :
6936 ac_cv_prog_cxx_g=yes
6937 else $as_nop
6938 CXXFLAGS=""
6939 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941
6942 int
6943 main (void)
6944 {
6945
6946 ;
6947 return 0;
6948 }
6949 _ACEOF
6950 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
6951 then :
6952
6953 else $as_nop
6954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6955 CXXFLAGS="-g"
6956 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958
6959 int
6960 main (void)
6961 {
6962
6963 ;
6964 return 0;
6965 }
6966 _ACEOF
6967 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
6968 then :
6969 ac_cv_prog_cxx_g=yes
6970 fi
6971 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6972 fi
6973 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6974 fi
6975 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6976 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6977 fi
6978 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6979 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6980 if testscip-shell system . . test. $ac_test_CXXFLAGS; then
6981 CXXFLAGS=$ac_save_CXXFLAGS
6982 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
6983 if testscip-shell system . . test. "$GXX" = yes; then
6984 CXXFLAGS="-g -O2"
6985 else
6986 CXXFLAGS="-g"
6987 fi
6988 else
6989 if testscip-shell system . . test. "$GXX" = yes; then
6990 CXXFLAGS="-O2"
6991 else
6992 CXXFLAGS=
6993 fi
6994 fi
6995 ac_prog_cxx_stdcxx=no
6996 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
6997 then :
6998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6999 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; }
7000 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y}
7001 then :
7002 printfscip-shell system . . printf. %s "(cached) " >&6
7003 else $as_nop
7004 ac_cv_prog_cxx_cxx11=no
7005 ac_save_CXX=$CXX
7006 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 $ac_cxx_conftest_cxx11_program
7009 _ACEOF
7010 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
7011 do
7012 CXX="$ac_save_CXX $ac_arg"
7013 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
7014 then :
7015 ac_cv_prog_cxx_cxx11=$ac_arg
7016 fi
7017 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
7018 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break
7019 done
7020 rmscip-shell system . . rm. -f conftest.$ac_ext
7021 CXX=$ac_save_CXX
7022 fi
7023
7024 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno
7025 then :
7026 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7027 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
7028 else $as_nop
7029 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x
7030 then :
7031 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7032 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
7033 else $as_nop
7034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
7035 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
7036 CXX="$CXX $ac_cv_prog_cxx_cxx11"
7037 fi
7038 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
7039 ac_prog_cxx_stdcxx=cxx11
7040 fi
7041 fi
7042 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
7043 then :
7044 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
7045 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; }
7046 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y}
7047 then :
7048 printfscip-shell system . . printf. %s "(cached) " >&6
7049 else $as_nop
7050 ac_cv_prog_cxx_cxx98=no
7051 ac_save_CXX=$CXX
7052 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 $ac_cxx_conftest_cxx98_program
7055 _ACEOF
7056 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
7057 do
7058 CXX="$ac_save_CXX $ac_arg"
7059 if ac_fn_cxx_try_compilescip-shell shell shell-project 0.0.0 ac_fn_cxx_try_compile(). "$LINENO"
7060 then :
7061 ac_cv_prog_cxx_cxx98=$ac_arg
7062 fi
7063 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
7064 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break
7065 done
7066 rmscip-shell system . . rm. -f conftest.$ac_ext
7067 CXX=$ac_save_CXX
7068 fi
7069
7070 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno
7071 then :
7072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7073 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
7074 else $as_nop
7075 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x
7076 then :
7077 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7078 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
7079 else $as_nop
7080 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
7081 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
7082 CXX="$CXX $ac_cv_prog_cxx_cxx98"
7083 fi
7084 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
7085 ac_prog_cxx_stdcxx=cxx98
7086 fi
7087 fi
7088
7089 ac_ext=c
7090 ac_cpp='$CPP $CPPFLAGS'
7091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7094
7095 depcc="$CXX" am_compiler_list=
7096
7097 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7098 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
7099 if testscip-shell system . . test. ${am_cv_CXX_dependencies_compiler_type+y}
7100 then :
7101 printfscip-shell system . . printf. %s "(cached) " >&6
7102 else $as_nop
7103 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
7104 # We make a subdir and do the tests there. Otherwise we can end up
7105 # making bogus files that we don't know about and never remove. For
7106 # instance it was reported that on HP-UX the gcc test will end up
7107 # making a dummy file named 'D' -- because '-MD' means "put the output
7108 # in D".
7109 rmscip-shell system . . rm. -rf conftest.dir
7110 mkdirscip-shell system . . mkdir. conftest.dir
7111 # Copy depcomp to subdir because otherwise we won't find it if we're
7112 # using a relative directory.
7113 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
7114 cd conftest.dir
7115 # We will build objects and dependencies in a subdirectory because
7116 # it helps to detect inapplicable dependency modes. For instance
7117 # both Tru64's cc and ICC support -MD to output dependencies as a
7118 # side effect of compilation, but ICC will put the dependencies in
7119 # the current directory while Tru64 will put them in the object
7120 # directory.
7121 mkdirscip-shell system . . mkdir. sub
7122
7123 am_cv_CXX_dependencies_compiler_type=none
7124 if testscip-shell system . . test. "$am_compiler_list" = ""; then
7125 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7126 fi
7127 am__universal=false
7128 case " $depcc " in #(
7129 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7130 esac
7131
7132 for depmode in $am_compiler_list; do
7133 # Setup a source with many dependencies, because some compilers
7134 # like to wrap large dependency lists on column 80 (with \), and
7135 # we should not choose a depcomp mode which is confused by this.
7136 #
7137 # We need to recreate these files for each test, as the compiler may
7138 # overwrite some of them when testing with obscure command lines.
7139 # This happens at least with the AIX C compiler.
7140 : > sub/conftest.c
7141 for i in 1 2 3 4 5 6; do
7142 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
7143 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7144 # Solaris 10 /bin/sh.
7145 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
7146 done
7147 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7148
7149 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7150 # mode. It turns out that the SunPro C++ compiler does not properly
7151 # handle '-M -o', and we need to detect this. Also, some Intel
7152 # versions had trouble with output in subdirs.
7153 am__obj=sub/conftest.${OBJEXT-o}
7154 am__minus_obj="-o $am__obj"
7155 case $depmode in
7156 gcc)
7157 # This depmode causes a compiler race in universal mode.
7158 testscip-shell system . . test. "$am__universal" = false || continue
7159 ;;
7160 nosideeffect)
7161 # After this tag, mechanisms are not by side-effect, so they'll
7162 # only be used when explicitly requested.
7163 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
7164 continue
7165 else
7166 break
7167 fi
7168 ;;
7169 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7170 # This compiler won't grok '-c -o', but also, the minuso test has
7171 # not run yet. These depmodes are late enough in the game, and
7172 # so weak that their functioning should not be impacted.
7173 am__obj=conftest.${OBJEXT-o}
7174 am__minus_obj=
7175 ;;
7176 none) break ;;
7177 esac
7178 if depmode=$depmode \
7179 source=sub/conftest.c object=$am__obj \
7180 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7181 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7182 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
7183 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7184 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7185 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
7186 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
7187 # icc doesn't choke on unknown options, it will just issue warnings
7188 # or remarks (even with -Werror). So we grep stderr for any message
7189 # that says an option was ignored or not supported.
7190 # When given -MP, icc 7.0 and 7.1 complain thusly:
7191 # icc: Command line warning: ignoring option '-M'; no argument required
7192 # The diagnosis changed in icc 8.0:
7193 # icc: Command line remark: option '-MP' not supported
7194 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
7195 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
7196 am_cv_CXX_dependencies_compiler_type=$depmode
7197 break
7198 fi
7199 fi
7200 done
7201
7202 cd ..
7203 rmscip-shell system . . rm. -rf conftest.dir
7204 else
7205 am_cv_CXX_dependencies_compiler_type=none
7206 fi
7207
7208 fi
7209 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7210 printfscip-shell system . . printf. "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
7211 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7212
7213 if
7214 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
7215 && testscip-shell system . . test. "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7216 am__fastdepCXX_TRUE=
7217 am__fastdepCXX_FALSE='#'
7218 else
7219 am__fastdepCXX_TRUE='#'
7220 am__fastdepCXX_FALSE=
7221 fi
7222
7223
7224 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7225 printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; }
7226 LN_S=$as_ln_s
7227 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
7228 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7229 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
7230 else
7231 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7232 printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; }
7233 fi
7234
7235
7236
7237 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7238 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7239 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7240 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7241 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7243 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
7244 then :
7245 printfscip-shell system . . printf. %s "(cached) " >&6
7246 else $as_nop
7247 case $PKG_CONFIG in
7248 [\\/]* | ?:[\\/]*)
7249 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7250 ;;
7251 *)
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7254 do
7255 IFS=$as_save_IFS
7256 case $as_dir in #(((
7257 '') as_dir=./ ;;
7258 */) ;;
7259 *) as_dir=$as_dir/ ;;
7260 esac
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7264 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 break 2
7266 fi
7267 done
7268 done
7269 IFS=$as_save_IFS
7270
7271 ;;
7272 esac
7273 fi
7274 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7275 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
7276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7277 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
7278 else
7279 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7281 fi
7282
7283
7284 fi
7285 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
7286 ac_pt_PKG_CONFIG=$PKG_CONFIG
7287 # Extract the first word of "pkg-config", so it can be a program name with args.
7288 set dummy pkg-config; ac_word=$2
7289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7291 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
7292 then :
7293 printfscip-shell system . . printf. %s "(cached) " >&6
7294 else $as_nop
7295 case $ac_pt_PKG_CONFIG in
7296 [\\/]* | ?:[\\/]*)
7297 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7298 ;;
7299 *)
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7302 do
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
7312 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7314 fi
7315 done
7316 done
7317 IFS=$as_save_IFS
7318
7319 ;;
7320 esac
7321 fi
7322 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7323 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
7324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7325 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
7326 else
7327 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7329 fi
7330
7331 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
7332 PKG_CONFIG=""
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 PKG_CONFIG=$ac_pt_PKG_CONFIG
7341 fi
7342 else
7343 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7344 fi
7345
7346 fi
7347 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
7348 _pkg_min_version=0.9.0
7349 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7350 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7351 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7352 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7353 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
7354 else
7355 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7357 PKG_CONFIG=""
7358 fi
7359
7360 fi
7361 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
7362 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7363 set dummy ${ac_tool_prefix}windres; ac_word=$2
7364 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7366 if testscip-shell system . . test. ${ac_cv_prog_WINDRES+y}
7367 then :
7368 printfscip-shell system . . printf. %s "(cached) " >&6
7369 else $as_nop
7370 if testscip-shell system . . test. -n "$WINDRES"; then
7371 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7375 do
7376 IFS=$as_save_IFS
7377 case $as_dir in #(((
7378 '') as_dir=./ ;;
7379 */) ;;
7380 *) as_dir=$as_dir/ ;;
7381 esac
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
7385 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 break 2
7387 fi
7388 done
7389 done
7390 IFS=$as_save_IFS
7391
7392 fi
7393 fi
7394 WINDRES=$ac_cv_prog_WINDRES
7395 if testscip-shell system . . test. -n "$WINDRES"; then
7396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
7397 printfscip-shell system . . printf. "%s\n" "$WINDRES" >&6; }
7398 else
7399 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7401 fi
7402
7403
7404 fi
7405 if testscip-shell system . . test. -z "$ac_cv_prog_WINDRES"; then
7406 ac_ct_WINDRES=$WINDRES
7407 # Extract the first word of "windres", so it can be a program name with args.
7408 set dummy windres; ac_word=$2
7409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7411 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_WINDRES+y}
7412 then :
7413 printfscip-shell system . . printf. %s "(cached) " >&6
7414 else $as_nop
7415 if testscip-shell system . . test. -n "$ac_ct_WINDRES"; then
7416 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7420 do
7421 IFS=$as_save_IFS
7422 case $as_dir in #(((
7423 '') as_dir=./ ;;
7424 */) ;;
7425 *) as_dir=$as_dir/ ;;
7426 esac
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_ac_ct_WINDRES="windres"
7430 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7431 break 2
7432 fi
7433 done
7434 done
7435 IFS=$as_save_IFS
7436
7437 fi
7438 fi
7439 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
7440 if testscip-shell system . . test. -n "$ac_ct_WINDRES"; then
7441 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
7442 printfscip-shell system . . printf. "%s\n" "$ac_ct_WINDRES" >&6; }
7443 else
7444 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7446 fi
7447
7448 if testscip-shell system . . test. "x$ac_ct_WINDRES" = x; then
7449 WINDRES=":"
7450 else
7451 case $cross_compiling:$ac_tool_warned in
7452 yes:)
7453 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7454 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7456 esac
7457 WINDRES=$ac_ct_WINDRES
7458 fi
7459 else
7460 WINDRES="$ac_cv_prog_WINDRES"
7461 fi
7462
7463 for ac_prog in gitlog-to-changelog
7464 do
7465 # Extract the first word of "$ac_prog", so it can be a program name with args.
7466 set dummy $ac_prog; ac_word=$2
7467 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7469 if testscip-shell system . . test. ${ac_cv_prog_GITLOG_TO_CHANGELOG+y}
7470 then :
7471 printfscip-shell system . . printf. %s "(cached) " >&6
7472 else $as_nop
7473 if testscip-shell system . . test. -n "$GITLOG_TO_CHANGELOG"; then
7474 ac_cv_prog_GITLOG_TO_CHANGELOG="$GITLOG_TO_CHANGELOG" # Let the user override the test.
7475 else
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 for as_dir in $PATH
7478 do
7479 IFS=$as_save_IFS
7480 case $as_dir in #(((
7481 '') as_dir=./ ;;
7482 */) ;;
7483 *) as_dir=$as_dir/ ;;
7484 esac
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_GITLOG_TO_CHANGELOG="$ac_prog"
7488 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7489 break 2
7490 fi
7491 done
7492 done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 GITLOG_TO_CHANGELOG=$ac_cv_prog_GITLOG_TO_CHANGELOG
7498 if testscip-shell system . . test. -n "$GITLOG_TO_CHANGELOG"; then
7499 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GITLOG_TO_CHANGELOG" >&5
7500 printfscip-shell system . . printf. "%s\n" "$GITLOG_TO_CHANGELOG" >&6; }
7501 else
7502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7504 fi
7505
7506
7507 testscip-shell system . . test. -n "$GITLOG_TO_CHANGELOG" && break
7508 done
7509 testscip-shell system . . test. -n "$GITLOG_TO_CHANGELOG" || GITLOG_TO_CHANGELOG="build-aux/gitlog-to-changelog"
7510
7511
7512
7513 have_dosish_system=no
7514 have_w32_system=no
7515 have_w32ce_system=no
7516 case "${host}" in
7517 *-mingw32*)
7518
7519 printfscip-shell system . . printf. "%s\n" "#define USE_ONLY_8DOT3 1" >>confdefs.h
7520
7521 have_dosish_system=yes
7522 have_w32_system=yes
7523 case "${host}" in
7524 *-mingw32ce*)
7525 have_w32ce_system=yes
7526 ;;
7527 *)
7528
7529 printfscip-shell system . . printf. "%s\n" "#define HAVE_DRIVE_LETTERS 1" >>confdefs.h
7530
7531 ;;
7532 esac
7533 ;;
7534 i?86-emx-os2 | i?86-*-os2*emx )
7535 # OS/2 with the EMX environment
7536 printfscip-shell system . . printf. "%s\n" "#define HAVE_DRIVE_LETTERS 1" >>confdefs.h
7537
7538 have_dosish_system=yes
7539 ;;
7540
7541 i?86-*-msdosdjgpp*)
7542 # DOS with the DJGPP environment
7543 printfscip-shell system . . printf. "%s\n" "#define HAVE_DRIVE_LETTERS 1" >>confdefs.h
7544
7545 have_dosish_system=yes
7546 ;;
7547 esac
7548
7549 if testscip-shell system . . test. "$have_dosish_system" = yes; then
7550
7551 printfscip-shell system . . printf. "%s\n" "#define HAVE_DOSISH_SYSTEM 1" >>confdefs.h
7552
7553 fi
7554 if testscip-shell system . . test. "$have_dosish_system" = yes; then
7555 HAVE_DOSISH_SYSTEM_TRUE=
7556 HAVE_DOSISH_SYSTEM_FALSE='#'
7557 else
7558 HAVE_DOSISH_SYSTEM_TRUE='#'
7559 HAVE_DOSISH_SYSTEM_FALSE=
7560 fi
7561
7562
7563 if testscip-shell system . . test. "$have_w32_system" = yes; then
7564
7565 printfscip-shell system . . printf. "%s\n" "#define HAVE_W32_SYSTEM 1" >>confdefs.h
7566
7567 fi
7568 if testscip-shell system . . test. "$have_w32_system" = yes; then
7569 HAVE_W32_SYSTEM_TRUE=
7570 HAVE_W32_SYSTEM_FALSE='#'
7571 else
7572 HAVE_W32_SYSTEM_TRUE='#'
7573 HAVE_W32_SYSTEM_FALSE=
7574 fi
7575
7576
7577
7578
7579
7580 if testscip-shell system . . test. "$GCC" = yes; then
7581 # Check whether gcc does not emit a diagnositc for unknown -Wno-*
7582 # options. This is the case for gcc >= 4.6
7583 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc ignores unknown -Wno-* options" >&5
7584 printfscip-shell system . . printf. %s "checking if gcc ignores unknown -Wno-* options... " >&6; }
7585 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7587
7588 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6 )
7589 #kickerror
7590 #endif
7591 int
7592 main (void)
7593 {
7594
7595 ;
7596 return 0;
7597 }
7598 _ACEOF
7599 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
7600 then :
7601 _gcc_silent_wno=yes
7602 else $as_nop
7603 _gcc_silent_wno=no
7604 fi
7605 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_gcc_silent_wno" >&5
7607 printfscip-shell system . . printf. "%s\n" "$_gcc_silent_wno" >&6; }
7608
7609 if testscip-shell system . . test. "$USE_MAINTAINER_MODE" = "yes"; then
7610 CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
7611 CFLAGS="$CFLAGS -Wformat -Wno-format-y2k -Wformat-security"
7612
7613 if testscip-shell system . . test. x"$_gcc_silent_wno" = xyes ; then
7614 _gcc_warn=yes
7615 else
7616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc supports -Wno-missing-field-initializers" >&5
7617 printfscip-shell system . . printf. %s "checking if gcc supports -Wno-missing-field-initializers... " >&6; }
7618 _gcc_cflags_save=$CFLAGS
7619 CFLAGS="-Wno-missing-field-initializers"
7620 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7622
7623 int
7624 main (void)
7625 {
7626
7627 ;
7628 return 0;
7629 }
7630 _ACEOF
7631 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
7632 then :
7633 _gcc_warn=yes
7634 else $as_nop
7635 _gcc_warn=no
7636 fi
7637 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_gcc_warn" >&5
7639 printfscip-shell system . . printf. "%s\n" "$_gcc_warn" >&6; }
7640 CFLAGS=$_gcc_cflags_save;
7641 fi
7642 if testscip-shell system . . test. x"$_gcc_warn" = xyes ; then
7643 CFLAGS="$CFLAGS -W -Wno-sign-compare -Wno-missing-field-initializers"
7644 fi
7645
7646 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc supports -Wdeclaration-after-statement" >&5
7647 printfscip-shell system . . printf. %s "checking if gcc supports -Wdeclaration-after-statement... " >&6; }
7648 _gcc_cflags_save=$CFLAGS
7649 CFLAGS="-Wdeclaration-after-statement"
7650 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652
7653 int
7654 main (void)
7655 {
7656
7657 ;
7658 return 0;
7659 }
7660 _ACEOF
7661 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
7662 then :
7663 _gcc_warn=yes
7664 else $as_nop
7665 _gcc_warn=no
7666 fi
7667 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7668 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_gcc_warn" >&5
7669 printfscip-shell system . . printf. "%s\n" "$_gcc_warn" >&6; }
7670 CFLAGS=$_gcc_cflags_save;
7671 if testscip-shell system . . test. x"$_gcc_warn" = xyes ; then
7672 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
7673 fi
7674
7675 CPPFLAGS="$CPPFLAGS -Wundef"
7676 else
7677 # Not in maintainer mode: Use standard warnings.
7678 CFLAGS="$CFLAGS -Wall"
7679 fi
7680
7681 CPPFLAGS="$CPPFLAGS -Wall"
7682
7683 if testscip-shell system . . test. x"$_gcc_silent_wno" = xyes ; then
7684 _gcc_warn=yes
7685 else
7686 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc supports -Wno-pointer-sign" >&5
7687 printfscip-shell system . . printf. %s "checking if gcc supports -Wno-pointer-sign... " >&6; }
7688 _gcc_cflags_save=$CFLAGS
7689 CFLAGS="-Wno-pointer-sign"
7690 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692
7693 int
7694 main (void)
7695 {
7696
7697 ;
7698 return 0;
7699 }
7700 _ACEOF
7701 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
7702 then :
7703 _gcc_warn=yes
7704 else $as_nop
7705 _gcc_warn=no
7706 fi
7707 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7708 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_gcc_warn" >&5
7709 printfscip-shell system . . printf. "%s\n" "$_gcc_warn" >&6; }
7710 CFLAGS=$_gcc_cflags_save;
7711 fi
7712 if testscip-shell system . . test. x"$_gcc_warn" = xyes ; then
7713 CFLAGS="$CFLAGS -Wno-pointer-sign"
7714 fi
7715
7716 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc supports -Wpointer-arith" >&5
7717 printfscip-shell system . . printf. %s "checking if gcc supports -Wpointer-arith... " >&6; }
7718 _gcc_cflags_save=$CFLAGS
7719 CFLAGS="-Wpointer-arith"
7720 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722
7723 int
7724 main (void)
7725 {
7726
7727 ;
7728 return 0;
7729 }
7730 _ACEOF
7731 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
7732 then :
7733 _gcc_warn=yes
7734 else $as_nop
7735 _gcc_warn=no
7736 fi
7737 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7738 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_gcc_warn" >&5
7739 printfscip-shell system . . printf. "%s\n" "$_gcc_warn" >&6; }
7740 CFLAGS=$_gcc_cflags_save;
7741 if testscip-shell system . . test. x"$_gcc_warn" = xyes ; then
7742 CFLAGS="$CFLAGS -Wpointer-arith"
7743 fi
7744 fi
7745
7746
7747 # Checks for header files.
7748 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
7749 if testscip-shell system . . test. "x$ac_cv_header_string_h" = xyes
7750 then :
7751 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
7752
7753 fi
7754 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
7755 if testscip-shell system . . test. "x$ac_cv_header_unistd_h" = xyes
7756 then :
7757 printfscip-shell system . . printf. "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
7758
7759 fi
7760 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
7761 if testscip-shell system . . test. "x$ac_cv_header_langinfo_h" = xyes
7762 then :
7763 printfscip-shell system . . printf. "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h
7764
7765 fi
7766 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
7767 if testscip-shell system . . test. "x$ac_cv_header_termio_h" = xyes
7768 then :
7769 printfscip-shell system . . printf. "%s\n" "#define HAVE_TERMIO_H 1" >>confdefs.h
7770
7771 fi
7772 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7773 if testscip-shell system . . test. "x$ac_cv_header_locale_h" = xyes
7774 then :
7775 printfscip-shell system . . printf. "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h
7776
7777 fi
7778 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
7779 if testscip-shell system . . test. "x$ac_cv_header_utime_h" = xyes
7780 then :
7781 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
7782
7783 fi
7784 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
7785 if testscip-shell system . . test. "x$ac_cv_header_wchar_h" = xyes
7786 then :
7787 printfscip-shell system . . printf. "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
7788
7789 fi
7790
7791
7792 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "seteuid" "ac_cv_func_seteuid"
7793 if testscip-shell system . . test. "x$ac_cv_func_seteuid" = xyes
7794 then :
7795 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
7796
7797 fi
7798 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
7799 if testscip-shell system . . test. "x$ac_cv_func_stpcpy" = xyes
7800 then :
7801 printfscip-shell system . . printf. "%s\n" "#define HAVE_STPCPY 1" >>confdefs.h
7802
7803 fi
7804 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "mmap" "ac_cv_func_mmap"
7805 if testscip-shell system . . test. "x$ac_cv_func_mmap" = xyes
7806 then :
7807 printfscip-shell system . . printf. "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
7808
7809 fi
7810 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "stat" "ac_cv_func_stat"
7811 if testscip-shell system . . test. "x$ac_cv_func_stat" = xyes
7812 then :
7813 printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT 1" >>confdefs.h
7814
7815 fi
7816
7817 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "mlock" "ac_cv_func_mlock"
7818 if testscip-shell system . . test. "x$ac_cv_func_mlock" = xyes
7819 then :
7820 printfscip-shell system . . printf. "%s\n" "#define HAVE_MLOCK 1" >>confdefs.h
7821
7822 fi
7823
7824 if testscip-shell system . . test. "$ac_cv_func_mlock" = "no"; then
7825 ac_fn_c_check_header_compilescip-shell shell shell-project 0.0.0 ac_fn_c_check_header_compile(). "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
7826 if testscip-shell system . . test. "x$ac_cv_header_sys_mman_h" = xyes
7827 then :
7828 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
7829
7830 fi
7831
7832 if testscip-shell system . . test. "$ac_cv_header_sys_mman_h" = "yes"; then
7833 # Add librt to LIBS:
7834 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for memlk in -lrt" >&5
7835 printfscip-shell system . . printf. %s "checking for memlk in -lrt... " >&6; }
7836 if testscip-shell system . . test. ${ac_cv_lib_rt_memlk+y}
7837 then :
7838 printfscip-shell system . . printf. %s "(cached) " >&6
7839 else $as_nop
7840 ac_check_lib_save_LIBS=$LIBS
7841 LIBS="-lrt $LIBS"
7842 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7844
7845 /* Override any GCC internal prototype to avoid an error.
7846 Use char because int might match the return type of a GCC
7847 builtin and then its argument prototype would still apply. */
7848 char memlk ();
7849 int
7850 main (void)
7851 {
7852 return memlk ();
7853 ;
7854 return 0;
7855 }
7856 _ACEOF
7857 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
7858 then :
7859 ac_cv_lib_rt_memlk=yes
7860 else $as_nop
7861 ac_cv_lib_rt_memlk=no
7862 fi
7863 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7864 conftest$ac_exeext conftest.$ac_ext
7865 LIBS=$ac_check_lib_save_LIBS
7866 fi
7867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_memlk" >&5
7868 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rt_memlk" >&6; }
7869 if testscip-shell system . . test. "x$ac_cv_lib_rt_memlk" = xyes
7870 then :
7871 printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h
7872
7873 LIBS="-lrt $LIBS"
7874
7875 fi
7876
7877 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mlock is in sys/mman.h" >&5
7878 printfscip-shell system . . printf. %s "checking whether mlock is in sys/mman.h... " >&6; }
7879 if testscip-shell system . . test. ${gnupg_cv_mlock_is_in_sys_mman+y}
7880 then :
7881 printfscip-shell system . . printf. %s "(cached) " >&6
7882 else $as_nop
7883 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885
7886 #include <assert.h>
7887 #ifdef HAVE_SYS_MMAN_H
7888 #include <sys/mman.h>
7889 #endif
7890
7891 int
7892 main (void)
7893 {
7894
7895 int i;
7896
7897 /* glibc defines this for functions which it implements
7898 * to always fail with ENOSYS. Some functions are actually
7899 * named something starting with __ and the normal name
7900 * is an alias. */
7901 #if defined (__stub_mlock) || defined (__stub___mlock)
7902 choke me
7903 #else
7904 mlock(&i, 4);
7905 #endif
7906 ; return 0;
7907
7908 ;
7909 return 0;
7910 }
7911 _ACEOF
7912 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
7913 then :
7914 gnupg_cv_mlock_is_in_sys_mman=yes
7915 else $as_nop
7916 gnupg_cv_mlock_is_in_sys_mman=no
7917 fi
7918 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7919 conftest$ac_exeext conftest.$ac_ext
7920 fi
7921 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_mlock_is_in_sys_mman" >&5
7922 printfscip-shell system . . printf. "%s\n" "$gnupg_cv_mlock_is_in_sys_mman" >&6; }
7923 if testscip-shell system . . test. "$gnupg_cv_mlock_is_in_sys_mman" = "yes"; then
7924
7925 printfscip-shell system . . printf. "%s\n" "#define HAVE_MLOCK 1" >>confdefs.h
7926
7927 fi
7928 fi
7929 fi
7930 if testscip-shell system . . test. "$ac_cv_func_mlock" = "yes"; then
7931 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "sysconf" "ac_cv_func_sysconf"
7932 if testscip-shell system . . test. "x$ac_cv_func_sysconf" = xyes
7933 then :
7934 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
7935
7936 fi
7937 ac_fn_c_check_funcscip-shell shell shell-project 0.0.0 ac_fn_c_check_func(). "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7938 if testscip-shell system . . test. "x$ac_cv_func_getpagesize" = xyes
7939 then :
7940 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETPAGESIZE 1" >>confdefs.h
7941
7942 fi
7943
7944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mlock is broken" >&5
7945 printfscip-shell system . . printf. %s "checking whether mlock is broken... " >&6; }
7946 if testscip-shell system . . test. ${gnupg_cv_have_broken_mlock+y}
7947 then :
7948 printfscip-shell system . . printf. %s "(cached) " >&6
7949 else $as_nop
7950 if testscip-shell system . . test. "$cross_compiling" = yes
7951 then :
7952 gnupg_cv_have_broken_mlock="assume-no"
7953
7954 else $as_nop
7955
7956 # ac_fn_c_try_run LINENO
7957 # ----------------------
7958 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
7959 # executables *can* be run.
7960 ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). ()
7961 {
7962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7963 if { { ac_try="$ac_link"
7964 case "(($ac_try" in
7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966 *) ac_try_echo=$ac_try;;
7967 esac
7968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7969 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
7970 (eval "$ac_link") 2>&5
7971 ac_status=$?
7972 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7973 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
7974 { { case "(($ac_try" in
7975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7976 *) ac_try_echo=$ac_try;;
7977 esac
7978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7979 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
7980 (eval "$ac_try") 2>&5
7981 ac_status=$?
7982 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7983 testscip-shell system . . test. $ac_status = 0; }; }
7984 then :
7985 ac_retval=0
7986 else $as_nop
7987 printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
7988 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
7989 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
7990
7991 ac_retval=$ac_status
7992 fi
7993 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
7994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
7995 as_fn_set_statusscip-shell shell shell-project 0.0.0 as_fn_set_status(). $ac_retval
7996
7997 } # ac_fn_c_try_run
7998 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000
8001 #include <stdlib.h>
8002 #include <unistd.h>
8003 #include <errno.h>
8004 #include <sys/mman.h>
8005 #include <sys/types.h>
8006 #include <fcntl.h>
8007
8008 int main()
8009 {
8010 char *pool;
8011 int err;
8012 long int pgsize;
8013
8014 #if defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE)
8015 pgsize = sysconf (_SC_PAGESIZE);
8016 #elif defined (HAVE_GETPAGESIZE)
8017 pgsize = getpagesize();
8018 #else
8019 pgsize = -1;
8020 #endif
8021
8022 if (pgsize == -1)
8023 pgsize = 4096;
8024
8025 pool = malloc( 4096 + pgsize );
8026 if( !pool )
8027 return 2;
8028 pool += (pgsize - ((size_t)pool % pgsize));
8029
8030 err = mlock( pool, 4096 );
8031 if( !err || errno == EPERM || errno == EAGAIN)
8032 return 0; /* okay */
8033
8034 return 1; /* hmmm */
8035 }
8036
8037 _ACEOF
8038 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
8039 then :
8040 gnupg_cv_have_broken_mlock="no"
8041 else $as_nop
8042 gnupg_cv_have_broken_mlock="yes"
8043 fi
8044 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8045 conftest.$ac_objext conftest.beam conftest.$ac_ext
8046 fi
8047
8048
8049 fi
8050
8051 if testscip-shell system . . test. "$gnupg_cv_have_broken_mlock" = "yes"; then
8052
8053 printfscip-shell system . . printf. "%s\n" "#define HAVE_BROKEN_MLOCK 1" >>confdefs.h
8054
8055 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8056 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
8057 else
8058 if testscip-shell system . . test. "$gnupg_cv_have_broken_mlock" = "no"; then
8059 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8061 else
8062 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
8063 printfscip-shell system . . printf. "%s\n" "assuming no" >&6; }
8064 fi
8065 fi
8066 fi
8067
8068
8069 ac_fn_c_find_uintX_tscip-shell shell shell-project 0.0.0 ac_fn_c_find_uintX_t(). "$LINENO" "32" "ac_cv_c_uint32_t"
8070 case $ac_cv_c_uint32_t in #(
8071 no|yes) ;; #(
8072 *)
8073
8074 printfscip-shell system . . printf. "%s\n" "#define _UINT32_T 1" >>confdefs.h
8075
8076
8077 printfscip-shell system . . printf. "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
8078 ;;
8079 esac
8080
8081
8082 # Common libraries and cflags.
8083 COMMON_CFLAGS=
8084 COMMON_LIBS=
8085
8086
8087
8088 #
8089 # libgpg-error is a library with error codes shared between GnuPG
8090 # related projects.
8091 #
8092 NEED_GPG_ERROR_VERSION=1.16
8093 have_gpg_error=no
8094
8095 gpg_error_config_prefix=""
8096
8097 # Check whether --with-libgpg-error-prefix was given.
8098 if testscip-shell system . . test. ${with_libgpg_error_prefix+y}
8099 then :
8100 withval=$with_libgpg_error_prefix; gpg_error_config_prefix="$withval"
8101 fi
8102
8103
8104
8105 # Check whether --with-gpg-error-prefix was given.
8106 if testscip-shell system . . test. ${with_gpg_error_prefix+y}
8107 then :
8108 withval=$with_gpg_error_prefix; gpg_error_config_prefix="$withval"
8109 fi
8110
8111
8112 if testscip-shell system . . test. x"${GPG_ERROR_CONFIG}" = x ; then
8113 if testscip-shell system . . test. x"${gpg_error_config_prefix}" != x ; then
8114 GPG_ERROR_CONFIG="${gpg_error_config_prefix}/bin/gpg-error-config"
8115 else
8116 case "${SYSROOT}" in
8117 /*)
8118 if testscip-shell system . . test. -x "${SYSROOT}/bin/gpg-error-config" ; then
8119 GPG_ERROR_CONFIG="${SYSROOT}/bin/gpg-error-config"
8120 fi
8121 ;;
8122 '')
8123 ;;
8124 *)
8125 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring \$SYSROOT as it is not an absolute path." >&5
8126 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Ignoring \$SYSROOT as it is not an absolute path." >&2;}
8127 ;;
8128 esac
8129 fi
8130 fi
8131
8132 # Extract the first word of "gpg-error-config", so it can be a program name with args.
8133 set dummy gpg-error-config; ac_word=$2
8134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8135 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8136 if testscip-shell system . . test. ${ac_cv_path_GPG_ERROR_CONFIG+y}
8137 then :
8138 printfscip-shell system . . printf. %s "(cached) " >&6
8139 else $as_nop
8140 case $GPG_ERROR_CONFIG in
8141 [\\/]* | ?:[\\/]*)
8142 ac_cv_path_GPG_ERROR_CONFIG="$GPG_ERROR_CONFIG" # Let the user override the test with a path.
8143 ;;
8144 *)
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 for as_dir in $PATH
8147 do
8148 IFS=$as_save_IFS
8149 case $as_dir in #(((
8150 '') as_dir=./ ;;
8151 */) ;;
8152 *) as_dir=$as_dir/ ;;
8153 esac
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8156 ac_cv_path_GPG_ERROR_CONFIG="$as_dir$ac_word$ac_exec_ext"
8157 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8158 break 2
8159 fi
8160 done
8161 done
8162 IFS=$as_save_IFS
8163
8164 testscip-shell system . . test. -z "$ac_cv_path_GPG_ERROR_CONFIG" && ac_cv_path_GPG_ERROR_CONFIG="no"
8165 ;;
8166 esac
8167 fi
8168 GPG_ERROR_CONFIG=$ac_cv_path_GPG_ERROR_CONFIG
8169 if testscip-shell system . . test. -n "$GPG_ERROR_CONFIG"; then
8170 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPG_ERROR_CONFIG" >&5
8171 printfscip-shell system . . printf. "%s\n" "$GPG_ERROR_CONFIG" >&6; }
8172 else
8173 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8175 fi
8176
8177
8178
8179 # Extract the first word of "gpgrt-config", so it can be a program name with args.
8180 set dummy gpgrt-config; ac_word=$2
8181 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8182 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8183 if testscip-shell system . . test. ${ac_cv_path_GPGRT_CONFIG+y}
8184 then :
8185 printfscip-shell system . . printf. %s "(cached) " >&6
8186 else $as_nop
8187 case $GPGRT_CONFIG in
8188 [\\/]* | ?:[\\/]*)
8189 ac_cv_path_GPGRT_CONFIG="$GPGRT_CONFIG" # Let the user override the test with a path.
8190 ;;
8191 *)
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 as_dummy="$prefix/bin:$PATH"
8194 for as_dir in $as_dummy
8195 do
8196 IFS=$as_save_IFS
8197 case $as_dir in #(((
8198 '') as_dir=./ ;;
8199 */) ;;
8200 *) as_dir=$as_dir/ ;;
8201 esac
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8204 ac_cv_path_GPGRT_CONFIG="$as_dir$ac_word$ac_exec_ext"
8205 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8206 break 2
8207 fi
8208 done
8209 done
8210 IFS=$as_save_IFS
8211
8212 testscip-shell system . . test. -z "$ac_cv_path_GPGRT_CONFIG" && ac_cv_path_GPGRT_CONFIG="no"
8213 ;;
8214 esac
8215 fi
8216 GPGRT_CONFIG=$ac_cv_path_GPGRT_CONFIG
8217 if testscip-shell system . . test. -n "$GPGRT_CONFIG"; then
8218 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPGRT_CONFIG" >&5
8219 printfscip-shell system . . printf. "%s\n" "$GPGRT_CONFIG" >&6; }
8220 else
8221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8223 fi
8224
8225
8226 if testscip-shell system . . test. "$GPGRT_CONFIG" != "no"; then
8227 # Determine gpgrt_libdir
8228 #
8229 # Get the prefix of gpgrt-config assuming it's something like:
8230 # <PREFIX>/bin/gpgrt-config
8231 gpgrt_prefix=${GPGRT_CONFIG%/*/*}
8232 possible_libdir1=${gpgrt_prefix}/lib
8233 # Determine by using system libdir-format with CC, it's like:
8234 # Normal style: /usr/lib
8235 # GNU cross style: /usr/<triplet>/lib
8236 # Debian style: /usr/lib/<multiarch-name>
8237 # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64
8238 # It is assumed that CC is specified to the one of host on cross build.
8239 if libdir_candidates=$(${CC:-cc} -print-search-dirs | \
8240 sed -n -e "/^libraries/{s/libraries: =//;s/:/\\
8241 /g;p;}"); then
8242 # From the output of -print-search-dirs, select valid pkgconfig dirs.
8243 libdir_candidates=$(for dir in $libdir_candidates; do
8244 if p=$(cd $dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && pwdscip-shell system . . pwd.); then
8245 testscip-shell system . . test. -d "$p/pkgconfig" && echoscip-shell system . . echo. $p;
8246 fi
8247 done)
8248
8249 for possible_libdir0 in $libdir_candidates; do
8250 # possible_libdir0:
8251 # Fallback candidate, the one of system-installed (by $CC)
8252 # (/usr/<triplet>/lib, /usr/lib/<multiarch-name> or /usr/lib32)
8253 # possible_libdir1:
8254 # Another candidate, user-locally-installed
8255 # (<gpgrt_prefix>/lib)
8256 # possible_libdir2
8257 # Most preferred
8258 # (<gpgrt_prefix>/<triplet>/lib,
8259 # <gpgrt_prefix>/lib/<multiarch-name> or <gpgrt_prefix>/lib32)
8260 if testscip-shell system . . test. "${possible_libdir0##*/}" = "lib"; then
8261 possible_prefix0=${possible_libdir0%/lib}
8262 possible_prefix0_triplet=${possible_prefix0##*/}
8263 if testscip-shell system . . test. -z "$possible_prefix0_triplet"; then
8264 continue
8265 fi
8266 possible_libdir2=${gpgrt_prefix}/$possible_prefix0_triplet/lib
8267 else
8268 possible_prefix0=${possible_libdir0%%/lib*}
8269 possible_libdir2=${gpgrt_prefix}${possible_libdir0#$possible_prefix0}
8270 fi
8271 if testscip-shell system . . test. -f ${possible_libdir2}/pkgconfig/gpg-error.pc; then
8272 gpgrt_libdir=${possible_libdir2}
8273 elif testscip-shell system . . test. -f ${possible_libdir1}/pkgconfig/gpg-error.pc; then
8274 gpgrt_libdir=${possible_libdir1}
8275 elif testscip-shell system . . test. -f ${possible_libdir0}/pkgconfig/gpg-error.pc; then
8276 gpgrt_libdir=${possible_libdir0}
8277 fi
8278 if testscip-shell system . . test. -n "$gpgrt_libdir"; then break; fi
8279 done
8280 fi
8281 if testscip-shell system . . test. -z "$gpgrt_libdir"; then
8282 # No valid pkgconfig dir in any of the system directories, fallback
8283 gpgrt_libdir=${possible_libdir1}
8284 fi
8285 else
8286 unset GPGRT_CONFIG
8287 fi
8288
8289 if testscip-shell system . . test. -n "$gpgrt_libdir"; then
8290 # Add the --libdir option to GPGRT_CONFIG
8291 GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir"
8292 # Make sure if gpgrt-config really works, by testing config gpg-error
8293 if ! $GPGRT_CONFIG gpg-error --exists; then
8294 # If it doesn't work, clear the GPGRT_CONFIG variable.
8295 unset GPGRT_CONFIG
8296 fi
8297 else
8298 # GPGRT_CONFIG found but no suitable dir for --libdir found.
8299 # This is a failure. Clear the GPGRT_CONFIG variable.
8300 unset GPGRT_CONFIG
8301 fi
8302
8303 if testscip-shell system . . test. x"$GPGRT_CONFIG" != x && testscip-shell system . . test. "$GPGRT_CONFIG" != "no"; then
8304 GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error"
8305 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Use gpgrt-config with $gpgrt_libdir as gpg-error-config" >&5
8306 printfscip-shell system . . printf. "%s\n" "$as_me: Use gpgrt-config with $gpgrt_libdir as gpg-error-config" >&6;}
8307 gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
8308 elif testscip-shell system . . test. x"$GPG_ERROR_CONFIG" != x && testscip-shell system . . test. "$GPG_ERROR_CONFIG" != "no"; then
8309 gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
8310 else
8311 gpg_error_config_version="0.0"
8312 fi
8313
8314 min_gpg_error_version="$NEED_GPG_ERROR_VERSION"
8315 ok=no
8316 if testscip-shell system . . test. "$GPG_ERROR_CONFIG" != "no"; then
8317 req_major=`echoscip-shell system . . echo. $min_gpg_error_version | \
8318 sed 's/\([0-9]*\)\.\([0-9]*\)/\1/'`
8319 req_minor=`echoscip-shell system . . echo. $min_gpg_error_version | \
8320 sed 's/\([0-9]*\)\.\([0-9]*\)/\2/'`
8321 major=`echoscip-shell system . . echo. $gpg_error_config_version | \
8322 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
8323 minor=`echoscip-shell system . . echo. $gpg_error_config_version | \
8324 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
8325 if testscip-shell system . . test. "$major" -gt "$req_major"; then
8326 ok=yes
8327 else
8328 if testscip-shell system . . test. "$major" -eq "$req_major"; then
8329 if testscip-shell system . . test. "$minor" -ge "$req_minor"; then
8330 ok=yes
8331 fi
8332 fi
8333 fi
8334 fi
8335 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GPG Error - version >= $min_gpg_error_version" >&5
8336 printfscip-shell system . . printf. %s "checking for GPG Error - version >= $min_gpg_error_version... " >&6; }
8337 if testscip-shell system . . test. $ok = yes; then
8338 GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG --cflags`
8339 GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG --libs`
8340 if testscip-shell system . . test. -z "$GPGRT_CONFIG"; then
8341 GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG --mt --cflags 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8342 GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG --mt --libs 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8343 else
8344 GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG --variable=mtcflags 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8345 GPG_ERROR_MT_CFLAGS="$GPG_ERROR_CFLAGS${GPG_ERROR_CFLAGS:+ }$GPG_ERROR_MT_CFLAGS"
8346 GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG --variable=mtlibs 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8347 GPG_ERROR_MT_LIBS="$GPG_ERROR_LIBS${GPG_ERROR_LIBS:+ }$GPG_ERROR_MT_LIBS"
8348 fi
8349 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($gpg_error_config_version)" >&5
8350 printfscip-shell system . . printf. "%s\n" "yes ($gpg_error_config_version)" >&6; }
8351 have_gpg_error=yes
8352 if testscip-shell system . . test. -z "$GPGRT_CONFIG"; then
8353 gpg_error_config_host=`$GPG_ERROR_CONFIG --host 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. none`
8354 else
8355 gpg_error_config_host=`$GPG_ERROR_CONFIG --variable=host 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. none`
8356 fi
8357 if testscip-shell system . . test. x"$gpg_error_config_host" != xnone ; then
8358 if testscip-shell system . . test. x"$gpg_error_config_host" != x"$host" ; then
8359 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
8360 ***
8361 *** The config script \"$GPG_ERROR_CONFIG\" was
8362 *** built for $gpg_error_config_host and thus may not match the
8363 *** used host $host.
8364 *** You may want to use the configure option --with-libgpg-error-prefix
8365 *** to specify a matching config script or use \$SYSROOT.
8366 ***" >&5
8367 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING:
8368 ***
8369 *** The config script \"$GPG_ERROR_CONFIG\" was
8370 *** built for $gpg_error_config_host and thus may not match the
8371 *** used host $host.
8372 *** You may want to use the configure option --with-libgpg-error-prefix
8373 *** to specify a matching config script or use \$SYSROOT.
8374 ***" >&2;}
8375 gpg_config_script_warn="$gpg_config_script_warn libgpg-error"
8376 fi
8377 fi
8378 else
8379 GPG_ERROR_CFLAGS=""
8380 GPG_ERROR_LIBS=""
8381 GPG_ERROR_MT_CFLAGS=""
8382 GPG_ERROR_MT_LIBS=""
8383 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8385 have_gpg_error=no
8386 fi
8387
8388
8389
8390
8391
8392 COMMON_CFLAGS="$GPG_ERROR_CFLAGS $COMMON_CFLAGS"
8393 COMMON_LIBS="$GPG_ERROR_LIBS $COMMON_LIBS"
8394
8395
8396 printfscip-shell system . . printf. "%s\n" "#define GPG_ERR_ENABLE_GETTEXT_MACROS 1" >>confdefs.h
8397
8398
8399
8400 #
8401 # libassuan is used for IPC
8402 #
8403 NEED_LIBASSUAN_API=2
8404 NEED_LIBASSUAN_VERSION=2.1.0
8405 have_libassuan=no
8406
8407 # Check whether --with-libassuan-prefix was given.
8408 if testscip-shell system . . test. ${with_libassuan_prefix+y}
8409 then :
8410 withval=$with_libassuan_prefix; libassuan_config_prefix="$withval"
8411 else $as_nop
8412 libassuan_config_prefix=""
8413 fi
8414
8415 if testscip-shell system . . test. x$libassuan_config_prefix != x ; then
8416 if testscip-shell system . . test. x${LIBASSUAN_CONFIG+set} != xset ; then
8417 LIBASSUAN_CONFIG=$libassuan_config_prefix/bin/libassuan-config
8418 fi
8419 fi
8420
8421 use_gpgrt_config=""
8422 if testscip-shell system . . test. x"$GPGRT_CONFIG" != x && testscip-shell system . . test. "$GPGRT_CONFIG" != "no"; then
8423 if $GPGRT_CONFIG libassuan --exists; then
8424 LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan"
8425 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Use gpgrt-config as libassuan-config" >&5
8426 printfscip-shell system . . printf. "%s\n" "$as_me: Use gpgrt-config as libassuan-config" >&6;}
8427 use_gpgrt_config=yes
8428 fi
8429 fi
8430 if testscip-shell system . . test. -z "$use_gpgrt_config"; then
8431 # Extract the first word of "libassuan-config", so it can be a program name with args.
8432 set dummy libassuan-config; ac_word=$2
8433 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8435 if testscip-shell system . . test. ${ac_cv_path_LIBASSUAN_CONFIG+y}
8436 then :
8437 printfscip-shell system . . printf. %s "(cached) " >&6
8438 else $as_nop
8439 case $LIBASSUAN_CONFIG in
8440 [\\/]* | ?:[\\/]*)
8441 ac_cv_path_LIBASSUAN_CONFIG="$LIBASSUAN_CONFIG" # Let the user override the test with a path.
8442 ;;
8443 *)
8444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 for as_dir in $PATH
8446 do
8447 IFS=$as_save_IFS
8448 case $as_dir in #(((
8449 '') as_dir=./ ;;
8450 */) ;;
8451 *) as_dir=$as_dir/ ;;
8452 esac
8453 for ac_exec_ext in '' $ac_executable_extensions; do
8454 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8455 ac_cv_path_LIBASSUAN_CONFIG="$as_dir$ac_word$ac_exec_ext"
8456 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8457 break 2
8458 fi
8459 done
8460 done
8461 IFS=$as_save_IFS
8462
8463 testscip-shell system . . test. -z "$ac_cv_path_LIBASSUAN_CONFIG" && ac_cv_path_LIBASSUAN_CONFIG="no"
8464 ;;
8465 esac
8466 fi
8467 LIBASSUAN_CONFIG=$ac_cv_path_LIBASSUAN_CONFIG
8468 if testscip-shell system . . test. -n "$LIBASSUAN_CONFIG"; then
8469 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBASSUAN_CONFIG" >&5
8470 printfscip-shell system . . printf. "%s\n" "$LIBASSUAN_CONFIG" >&6; }
8471 else
8472 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8474 fi
8475
8476
8477 fi
8478
8479 tmp="$NEED_LIBASSUAN_API:$NEED_LIBASSUAN_VERSION"
8480 if echoscip-shell system . . echo. "$tmp" | grepscip-shell system . . grep. ':' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then
8481 req_libassuan_api=`echoscip-shell system . . echo. "$tmp" | sedscip-shell system . . sed. 's/\(.*\):\(.*\)/\1/'`
8482 min_libassuan_version=`echoscip-shell system . . echo. "$tmp" | sedscip-shell system . . sed. 's/\(.*\):\(.*\)/\2/'`
8483 else
8484 req_libassuan_api=0
8485 min_libassuan_version="$tmp"
8486 fi
8487
8488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBASSUAN - version >= $min_libassuan_version" >&5
8489 printfscip-shell system . . printf. %s "checking for LIBASSUAN - version >= $min_libassuan_version... " >&6; }
8490 ok=no
8491 if testscip-shell system . . test. "$LIBASSUAN_CONFIG" != "no"; then
8492 req_major=`echoscip-shell system . . echo. $min_libassuan_version | \
8493 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8494 req_minor=`echoscip-shell system . . echo. $min_libassuan_version | \
8495 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8496 req_micro=`echoscip-shell system . . echo. $min_libassuan_version | \
8497 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8498
8499 if testscip-shell system . . test. -z "$use_gpgrt_config"; then
8500 libassuan_config_version=`$LIBASSUAN_CONFIG --version`
8501 else
8502 libassuan_config_version=`$LIBASSUAN_CONFIG --modversion`
8503 fi
8504 major=`echoscip-shell system . . echo. $libassuan_config_version | \
8505 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
8506 minor=`echoscip-shell system . . echo. $libassuan_config_version | \
8507 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
8508 micro=`echoscip-shell system . . echo. $libassuan_config_version | \
8509 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
8510
8511 if testscip-shell system . . test. "$major" -gt "$req_major"; then
8512 ok=yes
8513 else
8514 if testscip-shell system . . test. "$major" -eq "$req_major"; then
8515 if testscip-shell system . . test. "$minor" -gt "$req_minor"; then
8516 ok=yes
8517 else
8518 if testscip-shell system . . test. "$minor" -eq "$req_minor"; then
8519 if testscip-shell system . . test. "$micro" -ge "$req_micro"; then
8520 ok=yes
8521 fi
8522 fi
8523 fi
8524 fi
8525 fi
8526 fi
8527
8528 if testscip-shell system . . test. $ok = yes; then
8529 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($libassuan_config_version)" >&5
8530 printfscip-shell system . . printf. "%s\n" "yes ($libassuan_config_version)" >&6; }
8531
8532 printfscip-shell system . . printf. "%s\n" "#define LIBASSUAN_API_REQUESTED $req_libassuan_api" >>confdefs.h
8533
8534 else
8535 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8537 fi
8538
8539 if testscip-shell system . . test. $ok = yes; then
8540 if testscip-shell system . . test. "$req_libassuan_api" -gt 0 ; then
8541 if testscip-shell system . . test. -z "$use_gpgrt_config"; then
8542 tmp=`$LIBASSUAN_CONFIG --api-version 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. 0`
8543 else
8544 tmp=`$LIBASSUAN_CONFIG --variable=api_version 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. 0`
8545 fi
8546 if testscip-shell system . . test. "$tmp" -gt 0 ; then
8547 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBASSUAN API version" >&5
8548 printfscip-shell system . . printf. %s "checking LIBASSUAN API version... " >&6; }
8549 if testscip-shell system . . test. "$req_libassuan_api" -eq "$tmp" ; then
8550 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: okay" >&5
8551 printfscip-shell system . . printf. "%s\n" "okay" >&6; }
8552 elif testscip-shell system . . test. "$req_libassuan_api" -eq 2 && testscip-shell system . . test. "$tmp" -eq 3; then
8553 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: okay" >&5
8554 printfscip-shell system . . printf. "%s\n" "okay" >&6; }
8555 else
8556 ok=no
8557 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libassuan_api got=$tmp." >&5
8558 printfscip-shell system . . printf. "%s\n" "does not match. want=$req_libassuan_api got=$tmp." >&6; }
8559 fi
8560 fi
8561 fi
8562 fi
8563
8564 if testscip-shell system . . test. $ok = yes; then
8565 if testscip-shell system . . test. x"$host" != x ; then
8566 if testscip-shell system . . test. -z "$use_gpgrt_config"; then
8567 libassuan_config_host=`$LIBASSUAN_CONFIG --host 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. none`
8568 else
8569 libassuan_config_host=`$LIBASSUAN_CONFIG --variable=host 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. none`
8570 fi
8571 if testscip-shell system . . test. x"$libassuan_config_host" != xnone ; then
8572 if testscip-shell system . . test. x"$libassuan_config_host" != x"$host" ; then
8573 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
8574 ***
8575 *** The config script \"$LIBASSUAN_CONFIG\" was
8576 *** built for $libassuan_config_host and thus may not match the
8577 *** used host $host.
8578 *** You may want to use the configure option --with-libassuan-prefix
8579 *** to specify a matching config script.
8580 ***" >&5
8581 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING:
8582 ***
8583 *** The config script \"$LIBASSUAN_CONFIG\" was
8584 *** built for $libassuan_config_host and thus may not match the
8585 *** used host $host.
8586 *** You may want to use the configure option --with-libassuan-prefix
8587 *** to specify a matching config script.
8588 ***" >&2;}
8589 fi
8590 fi
8591 fi
8592 fi
8593
8594 if testscip-shell system . . test. $ok = yes; then
8595 LIBASSUAN_CFLAGS=`$LIBASSUAN_CONFIG --cflags`
8596 LIBASSUAN_LIBS=`$LIBASSUAN_CONFIG --libs`
8597 have_libassuan=yes
8598 else
8599 LIBASSUAN_CFLAGS=""
8600 LIBASSUAN_LIBS=""
8601 have_libassuan=no
8602 fi
8603
8604
8605
8606 if testscip-shell system . . test. "$have_libassuan" = "yes"; then
8607
8608 printfscip-shell system . . printf. "%s\n" "#define GNUPG_LIBASSUAN_VERSION \"$libassuan_version\"" >>confdefs.h
8609
8610 fi
8611
8612 COMMON_CFLAGS="$LIBASSUAN_CFLAGS $COMMON_CFLAGS"
8613 COMMON_LIBS="$LIBASSUAN_LIBS $COMMON_LIBS"
8614
8615
8616 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "byte" "ac_cv_type_byte" "$ac_includes_default"
8617 if testscip-shell system . . test. "x$ac_cv_type_byte" = xyes
8618 then :
8619
8620 printfscip-shell system . . printf. "%s\n" "#define HAVE_BYTE 1" >>confdefs.h
8621
8622
8623 fi
8624 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "ulong" "ac_cv_type_ulong" "$ac_includes_default"
8625 if testscip-shell system . . test. "x$ac_cv_type_ulong" = xyes
8626 then :
8627
8628 printfscip-shell system . . printf. "%s\n" "#define HAVE_ULONG 1" >>confdefs.h
8629
8630
8631 fi
8632 ac_fn_c_check_typescip-shell shell shell-project 0.0.0 ac_fn_c_check_type(). "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default"
8633 if testscip-shell system . . test. "x$ac_cv_type_u64" = xyes
8634 then :
8635
8636 printfscip-shell system . . printf. "%s\n" "#define HAVE_U64 1" >>confdefs.h
8637
8638
8639 fi
8640
8641
8642 # Check whether --enable-pinentry-curses was given.
8643 if testscip-shell system . . test. ${enable_pinentry_curses+y}
8644 then :
8645 enableval=$enable_pinentry_curses; pinentry_curses=$enableval
8646 else $as_nop
8647 pinentry_curses=maybe
8648 fi
8649
8650 # Check whether --enable-fallback-curses was given.
8651 if testscip-shell system . . test. ${enable_fallback_curses+y}
8652 then :
8653 enableval=$enable_fallback_curses; fallback_curses=$enableval
8654 else $as_nop
8655 fallback_curses=maybe
8656 fi
8657
8658
8659 if testscip-shell system . . test. "$pinentry_curses" != "no" || testscip-shell system . . test. "$fallback_curses" != "no"; then
8660
8661 # Check whether --enable-ncurses was given.
8662 if testscip-shell system . . test. ${enable_ncurses+y}
8663 then :
8664 enableval=$enable_ncurses;
8665 else $as_nop
8666 enable_ncurses=yes
8667 fi
8668
8669 if testscip-shell system . . test. "$enable_ncurses" = yes; then
8670
8671 pkg_failed=no
8672 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5
8673 printfscip-shell system . . printf. %s "checking for ncursesw... " >&6; }
8674
8675 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
8676 if testscip-shell system . . test. -n "$NCURSES_CFLAGS"; then
8677 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
8678 else
8679 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
8680 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
8681 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
8682 ac_status=$?
8683 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8684 testscip-shell system . . test. $ac_status = 0; }; then
8685 pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8686 else
8687 pkg_failed=yes
8688 fi
8689 fi
8690 else
8691 pkg_failed=untried
8692 fi
8693 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
8694 if testscip-shell system . . test. -n "$NCURSES_LIBS"; then
8695 pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
8696 else
8697 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
8698 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
8699 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
8700 ac_status=$?
8701 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8702 testscip-shell system . . test. $ac_status = 0; }; then
8703 pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8704 else
8705 pkg_failed=yes
8706 fi
8707 fi
8708 else
8709 pkg_failed=untried
8710 fi
8711
8712
8713
8714 if testscip-shell system . . test. $pkg_failed = yes; then
8715
8716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8717 _pkg_short_errors_supported=yes
8718 else
8719 _pkg_short_errors_supported=no
8720 fi
8721 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
8722 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ncursesw"`
8723 else
8724 NCURSES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ncursesw"`
8725 fi
8726 # Put the nasty error message in config.log where it belongs
8727 echoscip-shell system . . echo. "$NCURSES_PKG_ERRORS" >&5
8728
8729 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8731
8732
8733 pkg_failed=no
8734 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
8735 printfscip-shell system . . printf. %s "checking for ncurses... " >&6; }
8736
8737 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
8738 if testscip-shell system . . test. -n "$NCURSES_CFLAGS"; then
8739 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
8740 else
8741 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
8742 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
8743 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
8744 ac_status=$?
8745 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8746 testscip-shell system . . test. $ac_status = 0; }; then
8747 pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8748 else
8749 pkg_failed=yes
8750 fi
8751 fi
8752 else
8753 pkg_failed=untried
8754 fi
8755 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
8756 if testscip-shell system . . test. -n "$NCURSES_LIBS"; then
8757 pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
8758 else
8759 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
8760 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
8761 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
8762 ac_status=$?
8763 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8764 testscip-shell system . . test. $ac_status = 0; }; then
8765 pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8766 else
8767 pkg_failed=yes
8768 fi
8769 fi
8770 else
8771 pkg_failed=untried
8772 fi
8773
8774
8775
8776 if testscip-shell system . . test. $pkg_failed = yes; then
8777
8778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8779 _pkg_short_errors_supported=yes
8780 else
8781 _pkg_short_errors_supported=no
8782 fi
8783 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
8784 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ncurses"`
8785 else
8786 NCURSES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ncurses"`
8787 fi
8788 # Put the nasty error message in config.log where it belongs
8789 echoscip-shell system . . echo. "$NCURSES_PKG_ERRORS" >&5
8790
8791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8792 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8793
8794 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
8795 printfscip-shell system . . printf. %s "checking for initscr in -lncursesw... " >&6; }
8796 if testscip-shell system . . test. ${ac_cv_lib_ncursesw_initscr+y}
8797 then :
8798 printfscip-shell system . . printf. %s "(cached) " >&6
8799 else $as_nop
8800 ac_check_lib_save_LIBS=$LIBS
8801 LIBS="-lncursesw $LIBS"
8802 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804
8805 /* Override any GCC internal prototype to avoid an error.
8806 Use char because int might match the return type of a GCC
8807 builtin and then its argument prototype would still apply. */
8808 char initscr ();
8809 int
8810 main (void)
8811 {
8812 return initscr ();
8813 ;
8814 return 0;
8815 }
8816 _ACEOF
8817 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
8818 then :
8819 ac_cv_lib_ncursesw_initscr=yes
8820 else $as_nop
8821 ac_cv_lib_ncursesw_initscr=no
8822 fi
8823 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8826 fi
8827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
8828 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncursesw_initscr" >&6; }
8829 if testscip-shell system . . test. "x$ac_cv_lib_ncursesw_initscr" = xyes
8830 then :
8831 LIBNCURSES="-lncursesw"
8832 else $as_nop
8833 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
8834 printfscip-shell system . . printf. %s "checking for initscr in -lncurses... " >&6; }
8835 if testscip-shell system . . test. ${ac_cv_lib_ncurses_initscr+y}
8836 then :
8837 printfscip-shell system . . printf. %s "(cached) " >&6
8838 else $as_nop
8839 ac_check_lib_save_LIBS=$LIBS
8840 LIBS="-lncurses $LIBS"
8841 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843
8844 /* Override any GCC internal prototype to avoid an error.
8845 Use char because int might match the return type of a GCC
8846 builtin and then its argument prototype would still apply. */
8847 char initscr ();
8848 int
8849 main (void)
8850 {
8851 return initscr ();
8852 ;
8853 return 0;
8854 }
8855 _ACEOF
8856 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
8857 then :
8858 ac_cv_lib_ncurses_initscr=yes
8859 else $as_nop
8860 ac_cv_lib_ncurses_initscr=no
8861 fi
8862 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8863 conftest$ac_exeext conftest.$ac_ext
8864 LIBS=$ac_check_lib_save_LIBS
8865 fi
8866 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
8867 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncurses_initscr" >&6; }
8868 if testscip-shell system . . test. "x$ac_cv_lib_ncurses_initscr" = xyes
8869 then :
8870 LIBNCURSES="-lncurses"
8871 fi
8872
8873 fi
8874
8875 if testscip-shell system . . test. "$ac_cv_lib_ncursesw_initscr" = yes; then
8876 have_ncursesw=yes
8877 else
8878 have_ncursesw=no
8879 fi
8880
8881 elif testscip-shell system . . test. $pkg_failed = untried; then
8882
8883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
8884 printfscip-shell system . . printf. %s "checking for initscr in -lncursesw... " >&6; }
8885 if testscip-shell system . . test. ${ac_cv_lib_ncursesw_initscr+y}
8886 then :
8887 printfscip-shell system . . printf. %s "(cached) " >&6
8888 else $as_nop
8889 ac_check_lib_save_LIBS=$LIBS
8890 LIBS="-lncursesw $LIBS"
8891 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8893
8894 /* Override any GCC internal prototype to avoid an error.
8895 Use char because int might match the return type of a GCC
8896 builtin and then its argument prototype would still apply. */
8897 char initscr ();
8898 int
8899 main (void)
8900 {
8901 return initscr ();
8902 ;
8903 return 0;
8904 }
8905 _ACEOF
8906 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
8907 then :
8908 ac_cv_lib_ncursesw_initscr=yes
8909 else $as_nop
8910 ac_cv_lib_ncursesw_initscr=no
8911 fi
8912 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8915 fi
8916 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
8917 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncursesw_initscr" >&6; }
8918 if testscip-shell system . . test. "x$ac_cv_lib_ncursesw_initscr" = xyes
8919 then :
8920 LIBNCURSES="-lncursesw"
8921 else $as_nop
8922 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
8923 printfscip-shell system . . printf. %s "checking for initscr in -lncurses... " >&6; }
8924 if testscip-shell system . . test. ${ac_cv_lib_ncurses_initscr+y}
8925 then :
8926 printfscip-shell system . . printf. %s "(cached) " >&6
8927 else $as_nop
8928 ac_check_lib_save_LIBS=$LIBS
8929 LIBS="-lncurses $LIBS"
8930 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8932
8933 /* Override any GCC internal prototype to avoid an error.
8934 Use char because int might match the return type of a GCC
8935 builtin and then its argument prototype would still apply. */
8936 char initscr ();
8937 int
8938 main (void)
8939 {
8940 return initscr ();
8941 ;
8942 return 0;
8943 }
8944 _ACEOF
8945 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
8946 then :
8947 ac_cv_lib_ncurses_initscr=yes
8948 else $as_nop
8949 ac_cv_lib_ncurses_initscr=no
8950 fi
8951 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8952 conftest$ac_exeext conftest.$ac_ext
8953 LIBS=$ac_check_lib_save_LIBS
8954 fi
8955 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
8956 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncurses_initscr" >&6; }
8957 if testscip-shell system . . test. "x$ac_cv_lib_ncurses_initscr" = xyes
8958 then :
8959 LIBNCURSES="-lncurses"
8960 fi
8961
8962 fi
8963
8964 if testscip-shell system . . test. "$ac_cv_lib_ncursesw_initscr" = yes; then
8965 have_ncursesw=yes
8966 else
8967 have_ncursesw=no
8968 fi
8969
8970 else
8971 NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
8972 NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
8973 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8974 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
8975 LIBNCURSES="${NCURSES_LIBS}" have_ncursesw=no
8976 fi
8977
8978 elif testscip-shell system . . test. $pkg_failed = untried; then
8979
8980
8981 pkg_failed=no
8982 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
8983 printfscip-shell system . . printf. %s "checking for ncurses... " >&6; }
8984
8985 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
8986 if testscip-shell system . . test. -n "$NCURSES_CFLAGS"; then
8987 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
8988 else
8989 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
8990 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
8991 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
8992 ac_status=$?
8993 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8994 testscip-shell system . . test. $ac_status = 0; }; then
8995 pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
8996 else
8997 pkg_failed=yes
8998 fi
8999 fi
9000 else
9001 pkg_failed=untried
9002 fi
9003 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
9004 if testscip-shell system . . test. -n "$NCURSES_LIBS"; then
9005 pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
9006 else
9007 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
9008 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
9009 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
9010 ac_status=$?
9011 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9012 testscip-shell system . . test. $ac_status = 0; }; then
9013 pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
9014 else
9015 pkg_failed=yes
9016 fi
9017 fi
9018 else
9019 pkg_failed=untried
9020 fi
9021
9022
9023
9024 if testscip-shell system . . test. $pkg_failed = yes; then
9025
9026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9027 _pkg_short_errors_supported=yes
9028 else
9029 _pkg_short_errors_supported=no
9030 fi
9031 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
9032 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ncurses"`
9033 else
9034 NCURSES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ncurses"`
9035 fi
9036 # Put the nasty error message in config.log where it belongs
9037 echoscip-shell system . . echo. "$NCURSES_PKG_ERRORS" >&5
9038
9039 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9041
9042 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
9043 printfscip-shell system . . printf. %s "checking for initscr in -lncursesw... " >&6; }
9044 if testscip-shell system . . test. ${ac_cv_lib_ncursesw_initscr+y}
9045 then :
9046 printfscip-shell system . . printf. %s "(cached) " >&6
9047 else $as_nop
9048 ac_check_lib_save_LIBS=$LIBS
9049 LIBS="-lncursesw $LIBS"
9050 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9056 char initscr ();
9057 int
9058 main (void)
9059 {
9060 return initscr ();
9061 ;
9062 return 0;
9063 }
9064 _ACEOF
9065 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9066 then :
9067 ac_cv_lib_ncursesw_initscr=yes
9068 else $as_nop
9069 ac_cv_lib_ncursesw_initscr=no
9070 fi
9071 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9072 conftest$ac_exeext conftest.$ac_ext
9073 LIBS=$ac_check_lib_save_LIBS
9074 fi
9075 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
9076 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncursesw_initscr" >&6; }
9077 if testscip-shell system . . test. "x$ac_cv_lib_ncursesw_initscr" = xyes
9078 then :
9079 LIBNCURSES="-lncursesw"
9080 else $as_nop
9081 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
9082 printfscip-shell system . . printf. %s "checking for initscr in -lncurses... " >&6; }
9083 if testscip-shell system . . test. ${ac_cv_lib_ncurses_initscr+y}
9084 then :
9085 printfscip-shell system . . printf. %s "(cached) " >&6
9086 else $as_nop
9087 ac_check_lib_save_LIBS=$LIBS
9088 LIBS="-lncurses $LIBS"
9089 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9095 char initscr ();
9096 int
9097 main (void)
9098 {
9099 return initscr ();
9100 ;
9101 return 0;
9102 }
9103 _ACEOF
9104 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9105 then :
9106 ac_cv_lib_ncurses_initscr=yes
9107 else $as_nop
9108 ac_cv_lib_ncurses_initscr=no
9109 fi
9110 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9113 fi
9114 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
9115 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncurses_initscr" >&6; }
9116 if testscip-shell system . . test. "x$ac_cv_lib_ncurses_initscr" = xyes
9117 then :
9118 LIBNCURSES="-lncurses"
9119 fi
9120
9121 fi
9122
9123 if testscip-shell system . . test. "$ac_cv_lib_ncursesw_initscr" = yes; then
9124 have_ncursesw=yes
9125 else
9126 have_ncursesw=no
9127 fi
9128
9129 elif testscip-shell system . . test. $pkg_failed = untried; then
9130
9131 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
9132 printfscip-shell system . . printf. %s "checking for initscr in -lncursesw... " >&6; }
9133 if testscip-shell system . . test. ${ac_cv_lib_ncursesw_initscr+y}
9134 then :
9135 printfscip-shell system . . printf. %s "(cached) " >&6
9136 else $as_nop
9137 ac_check_lib_save_LIBS=$LIBS
9138 LIBS="-lncursesw $LIBS"
9139 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9145 char initscr ();
9146 int
9147 main (void)
9148 {
9149 return initscr ();
9150 ;
9151 return 0;
9152 }
9153 _ACEOF
9154 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9155 then :
9156 ac_cv_lib_ncursesw_initscr=yes
9157 else $as_nop
9158 ac_cv_lib_ncursesw_initscr=no
9159 fi
9160 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9163 fi
9164 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
9165 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncursesw_initscr" >&6; }
9166 if testscip-shell system . . test. "x$ac_cv_lib_ncursesw_initscr" = xyes
9167 then :
9168 LIBNCURSES="-lncursesw"
9169 else $as_nop
9170 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
9171 printfscip-shell system . . printf. %s "checking for initscr in -lncurses... " >&6; }
9172 if testscip-shell system . . test. ${ac_cv_lib_ncurses_initscr+y}
9173 then :
9174 printfscip-shell system . . printf. %s "(cached) " >&6
9175 else $as_nop
9176 ac_check_lib_save_LIBS=$LIBS
9177 LIBS="-lncurses $LIBS"
9178 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180
9181 /* Override any GCC internal prototype to avoid an error.
9182 Use char because int might match the return type of a GCC
9183 builtin and then its argument prototype would still apply. */
9184 char initscr ();
9185 int
9186 main (void)
9187 {
9188 return initscr ();
9189 ;
9190 return 0;
9191 }
9192 _ACEOF
9193 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9194 then :
9195 ac_cv_lib_ncurses_initscr=yes
9196 else $as_nop
9197 ac_cv_lib_ncurses_initscr=no
9198 fi
9199 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9202 fi
9203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
9204 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_ncurses_initscr" >&6; }
9205 if testscip-shell system . . test. "x$ac_cv_lib_ncurses_initscr" = xyes
9206 then :
9207 LIBNCURSES="-lncurses"
9208 fi
9209
9210 fi
9211
9212 if testscip-shell system . . test. "$ac_cv_lib_ncursesw_initscr" = yes; then
9213 have_ncursesw=yes
9214 else
9215 have_ncursesw=no
9216 fi
9217
9218 else
9219 NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
9220 NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
9221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9222 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
9223 LIBNCURSES="${NCURSES_LIBS}" have_ncursesw=no
9224 fi
9225
9226 else
9227 NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
9228 NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
9229 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9230 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
9231 LIBNCURSES="${NCURSES_LIBS}" have_ncursesw=yes
9232 fi
9233 if testscip-shell system . . test. "$LIBNCURSES"; then
9234 # Use ncurses header files instead of the ordinary ones, if possible;
9235 # is there a better way of doing this, that avoids looking in specific
9236 # directories?
9237
9238 # Check whether --with-ncurses-include-dir was given.
9239 if testscip-shell system . . test. ${with_ncurses_include_dir+y}
9240 then :
9241 withval=$with_ncurses_include_dir;
9242 fi
9243
9244 if testscip-shell system . . test. "${with_ncurses_include_dir+set}" = set; then
9245 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses include dir" >&5
9246 printfscip-shell system . . printf. %s "checking for ncurses include dir... " >&6; }
9247 case "$with_ncurses_include_dir" in
9248 no|none)
9249 inetutils_cv_includedir_ncurses=none;;
9250 *)
9251 inetutils_cv_includedir_ncurses="$with_ncurses_include_dir";;
9252 esac
9253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $inetutils_cv_includedir_ncurses" >&5
9254 printfscip-shell system . . printf. "%s\n" "$inetutils_cv_includedir_ncurses" >&6; }
9255 else
9256 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses include dir" >&5
9257 printfscip-shell system . . printf. %s "checking for ncurses include dir... " >&6; }
9258 if testscip-shell system . . test. ${inetutils_cv_includedir_ncurses+y}
9259 then :
9260 printfscip-shell system . . printf. %s "(cached) " >&6
9261 else $as_nop
9262 if testscip-shell system . . test. "$have_ncursesw" = yes; then
9263 ncursesdir=ncursesw
9264 else
9265 ncursesdir=ncurses
9266 fi
9267 for D in $includedir $prefix/include /local/includescip-shell filesystem . . `/local/include`. /usr/local/includescip-shell filesystem . . `/usr/local/include`. /includescip-shell filesystem . . `/include`. /usr/includescip-shell filesystem . . `/usr/include`.; do
9268 if testscip-shell system . . test. -d $D/$ncursesdir; then
9269 inetutils_cv_includedir_ncurses="$D/$ncursesdir"
9270 break
9271 fi
9272 testscip-shell system . . test. "$inetutils_cv_includedir_ncurses" \
9273 || inetutils_cv_includedir_ncurses=none
9274 done
9275 fi
9276 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $inetutils_cv_includedir_ncurses" >&5
9277 printfscip-shell system . . printf. "%s\n" "$inetutils_cv_includedir_ncurses" >&6; }
9278 fi
9279 if testscip-shell system . . test. "$inetutils_cv_includedir_ncurses" = none; then
9280 NCURSES_INCLUDE=""
9281 else
9282 NCURSES_INCLUDE="-I$inetutils_cv_includedir_ncurses"
9283 fi
9284 fi
9285 if testscip-shell system . . test. $have_ncursesw = yes; then
9286
9287 printfscip-shell system . . printf. "%s\n" "#define HAVE_NCURSESW 1" >>confdefs.h
9288
9289 fi
9290 fi
9291
9292
9293
9294
9295 if testscip-shell system . . test. "$LIBNCURSES"; then
9296 LIBTERMCAP="$LIBNCURSES"
9297 else
9298 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5
9299 printfscip-shell system . . printf. %s "checking for tgetent in -lcurses... " >&6; }
9300 if testscip-shell system . . test. ${ac_cv_lib_curses_tgetent+y}
9301 then :
9302 printfscip-shell system . . printf. %s "(cached) " >&6
9303 else $as_nop
9304 ac_check_lib_save_LIBS=$LIBS
9305 LIBS="-lcurses $LIBS"
9306 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9312 char tgetent ();
9313 int
9314 main (void)
9315 {
9316 return tgetent ();
9317 ;
9318 return 0;
9319 }
9320 _ACEOF
9321 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9322 then :
9323 ac_cv_lib_curses_tgetent=yes
9324 else $as_nop
9325 ac_cv_lib_curses_tgetent=no
9326 fi
9327 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9330 fi
9331 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tgetent" >&5
9332 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_curses_tgetent" >&6; }
9333 if testscip-shell system . . test. "x$ac_cv_lib_curses_tgetent" = xyes
9334 then :
9335 LIBTERMCAP=-lcurses
9336 fi
9337
9338 if testscip-shell system . . test. "$ac_cv_lib_curses_tgetent" = no; then
9339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
9340 printfscip-shell system . . printf. %s "checking for tgetent in -ltermcap... " >&6; }
9341 if testscip-shell system . . test. ${ac_cv_lib_termcap_tgetent+y}
9342 then :
9343 printfscip-shell system . . printf. %s "(cached) " >&6
9344 else $as_nop
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-ltermcap $LIBS"
9347 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9349
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9353 char tgetent ();
9354 int
9355 main (void)
9356 {
9357 return tgetent ();
9358 ;
9359 return 0;
9360 }
9361 _ACEOF
9362 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9363 then :
9364 ac_cv_lib_termcap_tgetent=yes
9365 else $as_nop
9366 ac_cv_lib_termcap_tgetent=no
9367 fi
9368 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9371 fi
9372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
9373 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_termcap_tgetent" >&6; }
9374 if testscip-shell system . . test. "x$ac_cv_lib_termcap_tgetent" = xyes
9375 then :
9376 LIBTERMCAP=-ltermcap
9377 fi
9378
9379 fi
9380 if testscip-shell system . . test. "$ac_cv_lib_termcap_tgetent" = no; then
9381 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
9382 printfscip-shell system . . printf. %s "checking for tgetent in -ltermlib... " >&6; }
9383 if testscip-shell system . . test. ${ac_cv_lib_termlib_tgetent+y}
9384 then :
9385 printfscip-shell system . . printf. %s "(cached) " >&6
9386 else $as_nop
9387 ac_check_lib_save_LIBS=$LIBS
9388 LIBS="-ltermlib $LIBS"
9389 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391
9392 /* Override any GCC internal prototype to avoid an error.
9393 Use char because int might match the return type of a GCC
9394 builtin and then its argument prototype would still apply. */
9395 char tgetent ();
9396 int
9397 main (void)
9398 {
9399 return tgetent ();
9400 ;
9401 return 0;
9402 }
9403 _ACEOF
9404 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9405 then :
9406 ac_cv_lib_termlib_tgetent=yes
9407 else $as_nop
9408 ac_cv_lib_termlib_tgetent=no
9409 fi
9410 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9413 fi
9414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
9415 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_termlib_tgetent" >&6; }
9416 if testscip-shell system . . test. "x$ac_cv_lib_termlib_tgetent" = xyes
9417 then :
9418 LIBTERMCAP=-ltermlib
9419 fi
9420
9421 fi
9422 fi
9423
9424
9425
9426
9427 if testscip-shell system . . test. "$LIBNCURSES"; then
9428 LIBCURSES="$LIBNCURSES" # ncurses doesn't require termcap
9429 else
9430 _IU_SAVE_LIBS="$LIBS"
9431 LIBS="$LIBTERMCAP"
9432 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
9433 printfscip-shell system . . printf. %s "checking for initscr in -lcurses... " >&6; }
9434 if testscip-shell system . . test. ${ac_cv_lib_curses_initscr+y}
9435 then :
9436 printfscip-shell system . . printf. %s "(cached) " >&6
9437 else $as_nop
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lcurses $LIBS"
9440 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 char initscr ();
9447 int
9448 main (void)
9449 {
9450 return initscr ();
9451 ;
9452 return 0;
9453 }
9454 _ACEOF
9455 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9456 then :
9457 ac_cv_lib_curses_initscr=yes
9458 else $as_nop
9459 ac_cv_lib_curses_initscr=no
9460 fi
9461 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_lib_save_LIBS
9464 fi
9465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
9466 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_curses_initscr" >&6; }
9467 if testscip-shell system . . test. "x$ac_cv_lib_curses_initscr" = xyes
9468 then :
9469 LIBCURSES="-lcurses"
9470 fi
9471
9472 if testscip-shell system . . test. "$LIBCURSES" && testscip-shell system . . test. "$LIBTERMCAP" \
9473 && testscip-shell system . . test. "$LIBCURSES" != "$LIBTERMCAP"; then
9474 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether curses needs $LIBTERMCAP" >&5
9475 printfscip-shell system . . printf. %s "checking whether curses needs $LIBTERMCAP... " >&6; }
9476 if testscip-shell system . . test. ${inetutils_cv_curses_needs_termcap+y}
9477 then :
9478 printfscip-shell system . . printf. %s "(cached) " >&6
9479 else $as_nop
9480 LIBS="$LIBCURSES"
9481 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9483 #include <curses.h>
9484 int
9485 main (void)
9486 {
9487 initscr ();
9488 ;
9489 return 0;
9490 }
9491 _ACEOF
9492 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
9493 then :
9494 inetutils_cv_curses_needs_termcap=no
9495 else $as_nop
9496 inetutils_cv_curses_needs_termcap=yes
9497 fi
9498 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9499 conftest$ac_exeext conftest.$ac_ext
9500 fi
9501 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $inetutils_cv_curses_needs_termcap" >&5
9502 printfscip-shell system . . printf. "%s\n" "$inetutils_cv_curses_needs_termcap" >&6; }
9503 if testscip-shell system . . test. $inetutils_cv_curses_needs_termcap = yes; then
9504 LIBCURSES="$LIBCURSES $LIBTERMCAP"
9505 fi
9506 fi
9507 LIBS="$_IU_SAVE_LIBS"
9508 fi
9509
9510 fi
9511 if testscip-shell system . . test. "$LIBCURSES"; then
9512 if testscip-shell system . . test. "$pinentry_curses" != "no"; then
9513 pinentry_curses=yes
9514 fi
9515 if testscip-shell system . . test. "$fallback_curses" != "no"; then
9516 fallback_curses=yes
9517
9518 printfscip-shell system . . printf. "%s\n" "#define FALLBACK_CURSES 1" >>confdefs.h
9519
9520 fi
9521 else
9522 if testscip-shell system . . test. "$pinentry_curses" = "yes" || testscip-shell system . . test. "$fallback_curses" = "yes"; then
9523 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
9524 ***
9525 *** The curses library is required. The latest version of
9526 *** ncurses is always available from ftp://ftp.gnu.org/gnu/ncurses/.
9527 ***" "$LINENO" 5
9528 fi
9529 pinentry_curses=no
9530 fallback_curses=no
9531 fi
9532 if testscip-shell system . . test. "$pinentry_curses" = "yes" \
9533 || testscip-shell system . . test. "$fallback_curses" = "yes"; then
9534 BUILD_LIBPINENTRY_CURSES_TRUE=
9535 BUILD_LIBPINENTRY_CURSES_FALSE='#'
9536 else
9537 BUILD_LIBPINENTRY_CURSES_TRUE='#'
9538 BUILD_LIBPINENTRY_CURSES_FALSE=
9539 fi
9540
9541 if testscip-shell system . . test. "$pinentry_curses" = "yes"; then
9542 BUILD_PINENTRY_CURSES_TRUE=
9543 BUILD_PINENTRY_CURSES_FALSE='#'
9544 else
9545 BUILD_PINENTRY_CURSES_TRUE='#'
9546 BUILD_PINENTRY_CURSES_FALSE=
9547 fi
9548
9549 if testscip-shell system . . test. "$fallback_curses" = "yes"; then
9550 FALLBACK_CURSES_TRUE=
9551 FALLBACK_CURSES_FALSE='#'
9552 else
9553 FALLBACK_CURSES_TRUE='#'
9554 FALLBACK_CURSES_FALSE=
9555 fi
9556
9557
9558 if testscip-shell system . . test. "$pinentry_curses" = "yes"; then
9559
9560 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_CURSES 1" >>confdefs.h
9561
9562 fi
9563
9564
9565 # Check whether --enable-pinentry-tty was given.
9566 if testscip-shell system . . test. ${enable_pinentry_tty+y}
9567 then :
9568 enableval=$enable_pinentry_tty; pinentry_tty=$enableval
9569 else $as_nop
9570 pinentry_tty=maybe
9571 fi
9572
9573 if testscip-shell system . . test. "$pinentry_tty" = "yes"; then
9574 BUILD_PINENTRY_TTY_TRUE=
9575 BUILD_PINENTRY_TTY_FALSE='#'
9576 else
9577 BUILD_PINENTRY_TTY_TRUE='#'
9578 BUILD_PINENTRY_TTY_FALSE=
9579 fi
9580
9581
9582 if testscip-shell system . . test. "$pinentry_tty" = "yes"; then
9583
9584 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_TTY 1" >>confdefs.h
9585
9586 fi
9587
9588
9589 if testscip-shell system . . test. "$pinentry_curses" = "yes" \
9590 || testscip-shell system . . test. "$fallback_curses" = "yes" ; then
9591
9592 if testscip-shell system . . test. "X$prefix" = "XNONE"; then
9593 acl_final_prefix="$ac_default_prefix"
9594 else
9595 acl_final_prefix="$prefix"
9596 fi
9597 if testscip-shell system . . test. "X$exec_prefix" = "XNONE"; then
9598 acl_final_exec_prefix='${prefix}'
9599 else
9600 acl_final_exec_prefix="$exec_prefix"
9601 fi
9602 acl_saved_prefix="$prefix"
9603 prefix="$acl_final_prefix"
9604 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9605 prefix="$acl_saved_prefix"
9606
9607
9608
9609 # Check whether --with-gnu-ld was given.
9610 if testscip-shell system . . test. ${with_gnu_ld+y}
9611 then :
9612 withval=$with_gnu_ld; testscip-shell system . . test. "$withval" = no || with_gnu_ld=yes
9613 else $as_nop
9614 with_gnu_ld=no
9615 fi
9616
9617 # Prepare PATH_SEPARATOR.
9618 # The user is always right.
9619 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
9620 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
9621 # contains only /bin. Note that ksh looks also at the FPATH variable,
9622 # so we have to set that as well for the test.
9623 PATH_SEPARATOR=:
9624 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
9625 && { (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
9626 || PATH_SEPARATOR=';'
9627 }
9628 fi
9629
9630 if testscip-shell system . . test. -n "$LD"; then
9631 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
9632 printfscip-shell system . . printf. %s "checking for ld... " >&6; }
9633 elif testscip-shell system . . test. "$GCC" = yes; then
9634 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
9635 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
9636 elif testscip-shell system . . test. "$with_gnu_ld" = yes; then
9637 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
9638 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
9639 else
9640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
9641 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
9642 fi
9643 if testscip-shell system . . test. -n "$LD"; then
9644 # Let the user override the test with a path.
9645 :
9646 else
9647 if testscip-shell system . . test. ${acl_cv_path_LD+y}
9648 then :
9649 printfscip-shell system . . printf. %s "(cached) " >&6
9650 else $as_nop
9651
9652 acl_cv_path_LD= # Final result of this test
9653 ac_prog=ld # Program to search in $PATH
9654 if testscip-shell system . . test. "$GCC" = yes; then
9655 # Check if gcc -print-prog-name=ld gives a path.
9656 case $host in
9657 *-*-mingw* | windows*)
9658 # gcc leaves a trailing carriage return which upsets mingw
9659 acl_output=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
9660 *)
9661 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
9662 esac
9663 case $acl_output in
9664 # Accept absolute paths.
9665 [\\/]* | ?:[\\/]*)
9666 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
9667 # Canonicalize the pathname of ld
9668 acl_output=`echoscip-shell system . . echo. "$acl_output" | sedscip-shell system . . sed. 's%\\\\%/%g'`
9669 while echoscip-shell system . . echo. "$acl_output" | grepscip-shell system . . grep. "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
9670 acl_output=`echoscip-shell system . . echo. $acl_output | sedscip-shell system . . sed. "s%$re_direlt%/%"`
9671 done
9672 # Got the pathname. No search in PATH is needed.
9673 acl_cv_path_LD="$acl_output"
9674 ac_prog=
9675 ;;
9676 "")
9677 # If it fails, then pretend we aren't using GCC.
9678 ;;
9679 *)
9680 # If it is relative, then search for the first ld in PATH.
9681 with_gnu_ld=unknown
9682 ;;
9683 esac
9684 fi
9685 if testscip-shell system . . test. -n "$ac_prog"; then
9686 # Search for $ac_prog in $PATH.
9687 acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
9688 for ac_dir in $PATH; do
9689 IFS="$acl_saved_IFS"
9690 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
9691 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
9692 acl_cv_path_LD="$ac_dir/$ac_prog"
9693 # Check to see if the program is GNU ld. I'd rather use --version,
9694 # but apparently some variants of GNU ld only accept -v.
9695 # Break only if it was the GNU/non-GNU ld that we prefer.
9696 case `"$acl_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
9697 *GNU* | *'with BFD'*)
9698 testscip-shell system . . test. "$with_gnu_ld" != no && break
9699 ;;
9700 *)
9701 testscip-shell system . . test. "$with_gnu_ld" != yes && break
9702 ;;
9703 esac
9704 fi
9705 done
9706 IFS="$acl_saved_IFS"
9707 fi
9708 case $host in
9709 *-*-aix*)
9710 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9712 #if defined __powerpc64__ || defined __LP64__
9713 int ok;
9714 #else
9715 error fail
9716 #endif
9717
9718 _ACEOF
9719 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
9720 then :
9721 # The compiler produces 64-bit code. Add option '-b64' so that the
9722 # linker groks 64-bit object files.
9723 case "$acl_cv_path_LD " in
9724 *" -b64 "*) ;;
9725 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
9726 esac
9727
9728 fi
9729 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9730 ;;
9731 sparc64-*-netbsd*)
9732 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9734 #if defined __sparcv9 || defined __arch64__
9735 int ok;
9736 #else
9737 error fail
9738 #endif
9739
9740 _ACEOF
9741 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
9742 then :
9743
9744 else $as_nop
9745 # The compiler produces 32-bit code. Add option '-m elf32_sparc'
9746 # so that the linker groks 32-bit object files.
9747 case "$acl_cv_path_LD " in
9748 *" -m elf32_sparc "*) ;;
9749 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
9750 esac
9751
9752 fi
9753 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9754 ;;
9755 esac
9756
9757 fi
9758
9759 LD="$acl_cv_path_LD"
9760 fi
9761 if testscip-shell system . . test. -n "$LD"; then
9762 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
9763 printfscip-shell system . . printf. "%s\n" "$LD" >&6; }
9764 else
9765 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 printfscip-shell system . . printf. "%s\n" "no" >&6; }
9767 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
9768 fi
9769 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
9770 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
9771 if testscip-shell system . . test. ${acl_cv_prog_gnu_ld+y}
9772 then :
9773 printfscip-shell system . . printf. %s "(cached) " >&6
9774 else $as_nop
9775 # I'd rather use --version here, but apparently some GNU lds only accept -v.
9776 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
9777 *GNU* | *'with BFD'*)
9778 acl_cv_prog_gnu_ld=yes
9779 ;;
9780 *)
9781 acl_cv_prog_gnu_ld=no
9782 ;;
9783 esac
9784 fi
9785 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
9786 printfscip-shell system . . printf. "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
9787 with_gnu_ld=$acl_cv_prog_gnu_ld
9788
9789
9790
9791
9792
9793 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
9794 printfscip-shell system . . printf. %s "checking for shared library run path origin... " >&6; }
9795 if testscip-shell system . . test. ${acl_cv_rpath+y}
9796 then :
9797 printfscip-shell system . . printf. %s "(cached) " >&6
9798 else $as_nop
9799
9800 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9801 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9802 . ./conftest.shscip-shell source . . `./conftest.sh`.
9803 rmscip-shell system . . rm. -f ./conftest.sh
9804 acl_cv_rpath=done
9805
9806 fi
9807 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
9808 printfscip-shell system . . printf. "%s\n" "$acl_cv_rpath" >&6; }
9809 wl="$acl_cv_wl"
9810 acl_libext="$acl_cv_libext"
9811 acl_shlibext="$acl_cv_shlibext"
9812 acl_libname_spec="$acl_cv_libname_spec"
9813 acl_library_names_spec="$acl_cv_library_names_spec"
9814 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9815 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9816 acl_hardcode_direct="$acl_cv_hardcode_direct"
9817 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
9818 # Check whether --enable-rpath was given.
9819 if testscip-shell system . . test. ${enable_rpath+y}
9820 then :
9821 enableval=$enable_rpath; :
9822 else $as_nop
9823 enable_rpath=yes
9824 fi
9825
9826
9827
9828
9829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
9830 printfscip-shell system . . printf. %s "checking 32-bit host C ABI... " >&6; }
9831 if testscip-shell system . . test. ${gl_cv_host_cpu_c_abi_32bit+y}
9832 then :
9833 printfscip-shell system . . printf. %s "(cached) " >&6
9834 else $as_nop
9835 case "$host_cpu" in
9836
9837 # CPUs that only support a 32-bit ABI.
9838 arc \
9839 | bfin \
9840 | cris* \
9841 | csky \
9842 | epiphany \
9843 | ft32 \
9844 | h8300 \
9845 | m68k \
9846 | microblaze | microblazeel \
9847 | nds32 | nds32le | nds32be \
9848 | nios2 | nios2eb | nios2el \
9849 | or1k* \
9850 | or32 \
9851 | sh | sh1234 | sh1234elb \
9852 | tic6x \
9853 | xtensa* )
9854 gl_cv_host_cpu_c_abi_32bit=yes
9855 ;;
9856
9857 # CPUs that only support a 64-bit ABI.
9858 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
9859 | mmix )
9860 gl_cv_host_cpu_c_abi_32bit=no
9861 ;;
9862
9863 *)
9864 if testscip-shell system . . test. -n "$gl_cv_host_cpu_c_abi"; then
9865 case "$gl_cv_host_cpu_c_abi" in
9866 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | loongarch32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
9867 gl_cv_host_cpu_c_abi_32bit=yes ;;
9868 x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | loongarch64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
9869 gl_cv_host_cpu_c_abi_32bit=no ;;
9870 *)
9871 gl_cv_host_cpu_c_abi_32bit=unknown ;;
9872 esac
9873 else
9874 gl_cv_host_cpu_c_abi_32bit=unknown
9875 fi
9876 if testscip-shell system . . test. $gl_cv_host_cpu_c_abi_32bit = unknown; then
9877 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int test_pointer_size[sizeof (void *) - 5];
9880
9881 _ACEOF
9882 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
9883 then :
9884 gl_cv_host_cpu_c_abi_32bit=no
9885 else $as_nop
9886 gl_cv_host_cpu_c_abi_32bit=yes
9887 fi
9888 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9889 fi
9890 ;;
9891 esac
9892
9893 fi
9894 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
9895 printfscip-shell system . . printf. "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
9896
9897 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
9898
9899
9900 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
9901 printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; }
9902 if testscip-shell system . . test. ${ac_cv_path_GREP+y}
9903 then :
9904 printfscip-shell system . . printf. %s "(cached) " >&6
9905 else $as_nop
9906 if testscip-shell system . . test. -z "$GREP"; then
9907 ac_path_GREP_found=false
9908 # Loop through the user's path and test for each of PROGNAME-LIST
9909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9911 do
9912 IFS=$as_save_IFS
9913 case $as_dir in #(((
9914 '') as_dir=./ ;;
9915 */) ;;
9916 *) as_dir=$as_dir/ ;;
9917 esac
9918 for ac_prog in grep ggrep
9919 do
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
9922 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_GREP" || continue
9923 # Check for GNU ac_path_GREP and select it if it is found.
9924 # Check for GNU $ac_path_GREP
9925 case `"$ac_path_GREP" --version 2>&1` in
9926 *GNU*)
9927 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9928 *)
9929 ac_count=0
9930 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
9931 while :
9932 do
9933 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
9934 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
9935 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
9936 printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl"
9937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
9938 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
9939 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
9940 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
9941 # Best one so far, save it but keep looking for a better one
9942 ac_cv_path_GREP="$ac_path_GREP"
9943 ac_path_GREP_max=$ac_count
9944 fi
9945 # 10*(2^10) chars as input seems more than enough
9946 testscip-shell system . . test. $ac_count -gt 10 && break
9947 done
9948 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
9949 esac
9950
9951 $ac_path_GREP_found && break 3
9952 done
9953 done
9954 done
9955 IFS=$as_save_IFS
9956 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
9957 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9958 fi
9959 else
9960 ac_cv_path_GREP=$GREP
9961 fi
9962
9963 fi
9964 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
9965 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; }
9966 GREP="$ac_cv_path_GREP"
9967
9968
9969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9970 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
9971 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
9972 then :
9973 printfscip-shell system . . printf. %s "(cached) " >&6
9974 else $as_nop
9975 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
9976 then ac_cv_path_EGREP="$GREP -E"
9977 else
9978 if testscip-shell system . . test. -z "$EGREP"; then
9979 ac_path_EGREP_found=false
9980 # Loop through the user's path and test for each of PROGNAME-LIST
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9983 do
9984 IFS=$as_save_IFS
9985 case $as_dir in #(((
9986 '') as_dir=./ ;;
9987 */) ;;
9988 *) as_dir=$as_dir/ ;;
9989 esac
9990 for ac_prog in egrep
9991 do
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
9994 as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$ac_path_EGREP" || continue
9995 # Check for GNU ac_path_EGREP and select it if it is found.
9996 # Check for GNU $ac_path_EGREP
9997 case `"$ac_path_EGREP" --version 2>&1` in
9998 *GNU*)
9999 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
10000 *)
10001 ac_count=0
10002 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
10003 while :
10004 do
10005 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
10006 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
10007 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
10008 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
10009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
10010 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
10011 as_fn_arithscip-shell shell shell-project 0.0.0 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
10012 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
10013 # Best one so far, save it but keep looking for a better one
10014 ac_cv_path_EGREP="$ac_path_EGREP"
10015 ac_path_EGREP_max=$ac_count
10016 fi
10017 # 10*(2^10) chars as input seems more than enough
10018 testscip-shell system . . test. $ac_count -gt 10 && break
10019 done
10020 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
10021 esac
10022
10023 $ac_path_EGREP_found && break 3
10024 done
10025 done
10026 done
10027 IFS=$as_save_IFS
10028 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
10029 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
10030 fi
10031 else
10032 ac_cv_path_EGREP=$EGREP
10033 fi
10034
10035 fi
10036 fi
10037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
10038 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
10039 EGREP="$ac_cv_path_EGREP"
10040
10041
10042
10043
10044
10045
10046 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
10047 printfscip-shell system . . printf. %s "checking for ELF binary format... " >&6; }
10048 if testscip-shell system . . test. ${gl_cv_elf+y}
10049 then :
10050 printfscip-shell system . . printf. %s "(cached) " >&6
10051 else $as_nop
10052 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
10055 Extensible Linking Format
10056 #endif
10057
10058 _ACEOF
10059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10060 $EGREP "Extensible Linking Format" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
10061 then :
10062 gl_cv_elf=yes
10063 else $as_nop
10064 gl_cv_elf=no
10065 fi
10066 rmscip-shell system . . rm. -rf conftest*
10067
10068
10069 fi
10070 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
10071 printfscip-shell system . . printf. "%s\n" "$gl_cv_elf" >&6; }
10072 if testscip-shell system . . test. $gl_cv_elf = yes; then
10073 # Extract the ELF class of a file (5th byte) in decimal.
10074 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
10075 if odscip-shell system . . od. -A x < /dev/nullscip-shell filesystem . . `/dev/null`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
10076 # Use POSIX od.
10077 func_elfclassscip-shell shell shell-project 0.0.0 func_elfclass(). ()
10078 {
10079 odscip-shell system . . od. -A n -t d1 -j 4 -N 1
10080 }
10081 else
10082 # Use BSD hexdump.
10083 func_elfclassscip-shell shell shell-project 0.0.0 func_elfclass(). ()
10084 {
10085 ddscip-shell system . . dd. bs=1 count=1 skip=4 2>/dev/nullscip-shell filesystem . . `/dev/null`. | hexdumpscip-shell system . . hexdump. -e '1/1 "%3d "'
10086 echoscip-shell system . . echo.
10087 }
10088 fi
10089 # Use 'expr', not 'test', to compare the values of func_elfclass, because on
10090 # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
10091 # not 1 or 2.
10092 case $HOST_CPU_C_ABI_32BIT in
10093 yes)
10094 # 32-bit ABI.
10095 acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). ()
10096 {
10097 exprscip-shell system . . expr. "`func_elfclassscip-shell shell shell-project 0.0.0 func_elfclass(). | sedscip-shell system . . sed. -e 's/[ ]//g'`" = 1 > /dev/nullscip-shell filesystem . . `/dev/null`.
10098 }
10099 ;;
10100 no)
10101 # 64-bit ABI.
10102 acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). ()
10103 {
10104 exprscip-shell system . . expr. "`func_elfclassscip-shell shell shell-project 0.0.0 func_elfclass(). | sedscip-shell system . . sed. -e 's/[ ]//g'`" = 2 > /dev/nullscip-shell filesystem . . `/dev/null`.
10105 }
10106 ;;
10107 *)
10108 # Unknown.
10109 acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). ()
10110 {
10111 :
10112 }
10113 ;;
10114 esac
10115 else
10116 acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). ()
10117 {
10118 :
10119 }
10120 fi
10121
10122 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
10123 printfscip-shell system . . printf. %s "checking for the common suffixes of directories in the library search path... " >&6; }
10124 if testscip-shell system . . test. ${acl_cv_libdirstems+y}
10125 then :
10126 printfscip-shell system . . printf. %s "(cached) " >&6
10127 else $as_nop
10128 acl_libdirstem=lib
10129 acl_libdirstem2=
10130 acl_libdirstem3=
10131 case "$host_os" in
10132 solaris*)
10133 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = no; then
10134 acl_libdirstem2=lib/64
10135 case "$host_cpu" in
10136 sparc*) acl_libdirstem3=lib/sparcv9 ;;
10137 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
10138 esac
10139 fi
10140 ;;
10141 netbsd*)
10142 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != no; then
10143 case "$host_cpu" in
10144 sparc*) acl_libdirstem2=lib/sparc ;;
10145 esac
10146 fi
10147 ;;
10148 *)
10149 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/nullscip-shell filesystem . . `/dev/null`. \
10150 | sedscip-shell system . . sed. -n -e 's,^libraries: ,,p' | sedscip-shell system . . sed. -e 's,^=,,'`
10151 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != no; then
10152 # 32-bit or unknown ABI.
10153 if testscip-shell system . . test. -d /usr/lib32scip-shell filesystem . . `/usr/lib32`.; then
10154 acl_libdirstem2=lib32
10155 fi
10156 fi
10157 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != yes; then
10158 # 64-bit or unknown ABI.
10159 if testscip-shell system . . test. -d /usr/lib64scip-shell filesystem . . `/usr/lib64`.; then
10160 acl_libdirstem3=lib64
10161 fi
10162 fi
10163 if testscip-shell system . . test. -n "$searchpath"; then
10164 acl_saved_IFS="${IFS= }"; IFS=":"
10165 for searchdir in $searchpath; do
10166 if testscip-shell system . . test. -d "$searchdir"; then
10167 case "$searchdir" in
10168 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
10169 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
10170 */../ | */.. )
10171 # Better ignore directories of this form. They are misleading.
10172 ;;
10173 *) searchdir=`cd "$searchdir" && pwdscip-shell system . . pwd.`
10174 case "$searchdir" in
10175 */lib32 ) acl_libdirstem2=lib32 ;;
10176 */lib64 ) acl_libdirstem3=lib64 ;;
10177 esac ;;
10178 esac
10179 fi
10180 done
10181 IFS="$acl_saved_IFS"
10182 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = yes; then
10183 # 32-bit ABI.
10184 acl_libdirstem3=
10185 fi
10186 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = no; then
10187 # 64-bit ABI.
10188 acl_libdirstem2=
10189 fi
10190 fi
10191 ;;
10192 esac
10193 testscip-shell system . . test. -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
10194 testscip-shell system . . test. -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
10195 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
10196
10197 fi
10198 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
10199 printfscip-shell system . . printf. "%s\n" "$acl_cv_libdirstems" >&6; }
10200 acl_libdirstem=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/,.*//'`
10201 acl_libdirstem2=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/^[^,]*,//' -e 's/,.*//'`
10202 acl_libdirstem3=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214 use_additional=yes
10215
10216 acl_saved_prefix="$prefix"
10217 prefix="$acl_final_prefix"
10218 acl_saved_exec_prefix="$exec_prefix"
10219 exec_prefix="$acl_final_exec_prefix"
10220
10221 eval additional_includedir=\"$includedir\"
10222 eval additional_libdir=\"$libdir\"
10223 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
10224 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
10225
10226 exec_prefix="$acl_saved_exec_prefix"
10227 prefix="$acl_saved_prefix"
10228
10229
10230 # Check whether --with-libiconv-prefix was given.
10231 if testscip-shell system . . test. ${with_libiconv_prefix+y}
10232 then :
10233 withval=$with_libiconv_prefix;
10234 if testscip-shell system . . test. "X$withval" = "Xno"; then
10235 use_additional=no
10236 else
10237 if testscip-shell system . . test. "X$withval" = "X"; then
10238
10239 acl_saved_prefix="$prefix"
10240 prefix="$acl_final_prefix"
10241 acl_saved_exec_prefix="$exec_prefix"
10242 exec_prefix="$acl_final_exec_prefix"
10243
10244 eval additional_includedir=\"$includedir\"
10245 eval additional_libdir=\"$libdir\"
10246 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
10247 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
10248
10249 exec_prefix="$acl_saved_exec_prefix"
10250 prefix="$acl_saved_prefix"
10251
10252 else
10253 additional_includedir="$withval/include"
10254 additional_libdir="$withval/$acl_libdirstem"
10255 additional_libdir2="$withval/$acl_libdirstem2"
10256 additional_libdir3="$withval/$acl_libdirstem3"
10257 fi
10258 fi
10259
10260 fi
10261
10262 if testscip-shell system . . test. "X$additional_libdir2" = "X$additional_libdir"; then
10263 additional_libdir2=
10264 fi
10265 if testscip-shell system . . test. "X$additional_libdir3" = "X$additional_libdir"; then
10266 additional_libdir3=
10267 fi
10268 LIBICONV=
10269 LTLIBICONV=
10270 INCICONV=
10271 LIBICONV_PREFIX=
10272 HAVE_LIBICONV=
10273 rpathdirs=
10274 ltrpathdirs=
10275 names_already_handled=
10276 names_next_round='iconv '
10277 while testscip-shell system . . test. -n "$names_next_round"; do
10278 names_this_round="$names_next_round"
10279 names_next_round=
10280 for name in $names_this_round; do
10281 already_handled=
10282 for n in $names_already_handled; do
10283 if testscip-shell system . . test. "$n" = "$name"; then
10284 already_handled=yes
10285 break
10286 fi
10287 done
10288 if testscip-shell system . . test. -z "$already_handled"; then
10289 names_already_handled="$names_already_handled $name"
10290 uppername=`echoscip-shell system . . echo. "$name" | sedscip-shell system . . sed. -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
10291 eval value=\"\$HAVE_LIB$uppername\"
10292 if testscip-shell system . . test. -n "$value"; then
10293 if testscip-shell system . . test. "$value" = yes; then
10294 eval value=\"\$LIB$uppername\"
10295 testscip-shell system . . test. -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
10296 eval value=\"\$LTLIB$uppername\"
10297 testscip-shell system . . test. -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
10298 else
10299 :
10300 fi
10301 else
10302 found_dir=
10303 found_la=
10304 found_so=
10305 found_a=
10306 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
10307 if testscip-shell system . . test. -n "$acl_shlibext"; then
10308 shrext=".$acl_shlibext" # typically: shrext=.so
10309 else
10310 shrext=
10311 fi
10312 if testscip-shell system . . test. $use_additional = yes; then
10313 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
10314 if testscip-shell system . . test. "X$found_dir" = "X"; then
10315 eval dir=\$$additional_libdir_variable
10316 if testscip-shell system . . test. -n "$dir"; then
10317 if testscip-shell system . . test. -n "$acl_shlibext"; then
10318 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
10319 found_dir="$dir"
10320 found_so="$dir/$libname$shrext"
10321 else
10322 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10323 ver=`(cd "$dir" && \
10324 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
10325 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
10326 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10327 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
10328 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
10329 found_dir="$dir"
10330 found_so="$dir/$libname$shrext.$ver"
10331 fi
10332 else
10333 eval library_names=\"$acl_library_names_spec\"
10334 for f in $library_names; do
10335 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$f"; then
10336 found_dir="$dir"
10337 found_so="$dir/$f"
10338 break
10339 fi
10340 done
10341 fi
10342 fi
10343 fi
10344 if testscip-shell system . . test. "X$found_dir" = "X"; then
10345 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass().; then
10346 found_dir="$dir"
10347 found_a="$dir/$libname.$acl_libext"
10348 fi
10349 fi
10350 if testscip-shell system . . test. "X$found_dir" != "X"; then
10351 if testscip-shell system . . test. -f "$dir/$libname.la"; then
10352 found_la="$dir/$libname.la"
10353 fi
10354 fi
10355 fi
10356 fi
10357 done
10358 fi
10359 if testscip-shell system . . test. "X$found_dir" = "X"; then
10360 for x in $LDFLAGS $LTLIBICONV; do
10361
10362 acl_saved_prefix="$prefix"
10363 prefix="$acl_final_prefix"
10364 acl_saved_exec_prefix="$exec_prefix"
10365 exec_prefix="$acl_final_exec_prefix"
10366 eval x=\"$x\"
10367 exec_prefix="$acl_saved_exec_prefix"
10368 prefix="$acl_saved_prefix"
10369
10370 case "$x" in
10371 -L*)
10372 dir=`echoscip-shell system . . echo. "X$x" | sedscip-shell system . . sed. -e 's/^X-L//'`
10373 if testscip-shell system . . test. -n "$acl_shlibext"; then
10374 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
10375 found_dir="$dir"
10376 found_so="$dir/$libname$shrext"
10377 else
10378 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10379 ver=`(cd "$dir" && \
10380 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
10381 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
10382 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10383 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
10384 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
10385 found_dir="$dir"
10386 found_so="$dir/$libname$shrext.$ver"
10387 fi
10388 else
10389 eval library_names=\"$acl_library_names_spec\"
10390 for f in $library_names; do
10391 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass(). < "$dir/$f"; then
10392 found_dir="$dir"
10393 found_so="$dir/$f"
10394 break
10395 fi
10396 done
10397 fi
10398 fi
10399 fi
10400 if testscip-shell system . . test. "X$found_dir" = "X"; then
10401 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell shell-project 0.0.0 acl_is_expected_elfclass().; then
10402 found_dir="$dir"
10403 found_a="$dir/$libname.$acl_libext"
10404 fi
10405 fi
10406 if testscip-shell system . . test. "X$found_dir" != "X"; then
10407 if testscip-shell system . . test. -f "$dir/$libname.la"; then
10408 found_la="$dir/$libname.la"
10409 fi
10410 fi
10411 ;;
10412 esac
10413 if testscip-shell system . . test. "X$found_dir" != "X"; then
10414 break
10415 fi
10416 done
10417 fi
10418 if testscip-shell system . . test. "X$found_dir" != "X"; then
10419 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10420 if testscip-shell system . . test. "X$found_so" != "X"; then
10421 if testscip-shell system . . test. "$enable_rpath" = no \
10422 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem" \
10423 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem2" \
10424 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem3"; then
10425 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10426 else
10427 haveit=
10428 for x in $ltrpathdirs; do
10429 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
10430 haveit=yes
10431 break
10432 fi
10433 done
10434 if testscip-shell system . . test. -z "$haveit"; then
10435 ltrpathdirs="$ltrpathdirs $found_dir"
10436 fi
10437 if testscip-shell system . . test. "$acl_hardcode_direct" = yes; then
10438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10439 else
10440 if testscip-shell system . . test. -n "$acl_hardcode_libdir_flag_spec" && testscip-shell system . . test. "$acl_hardcode_minus_L" = no; then
10441 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10442 haveit=
10443 for x in $rpathdirs; do
10444 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
10445 haveit=yes
10446 break
10447 fi
10448 done
10449 if testscip-shell system . . test. -z "$haveit"; then
10450 rpathdirs="$rpathdirs $found_dir"
10451 fi
10452 else
10453 haveit=
10454 for x in $LDFLAGS $LIBICONV; do
10455
10456 acl_saved_prefix="$prefix"
10457 prefix="$acl_final_prefix"
10458 acl_saved_exec_prefix="$exec_prefix"
10459 exec_prefix="$acl_final_exec_prefix"
10460 eval x=\"$x\"
10461 exec_prefix="$acl_saved_exec_prefix"
10462 prefix="$acl_saved_prefix"
10463
10464 if testscip-shell system . . test. "X$x" = "X-L$found_dir"; then
10465 haveit=yes
10466 break
10467 fi
10468 done
10469 if testscip-shell system . . test. -z "$haveit"; then
10470 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10471 fi
10472 if testscip-shell system . . test. "$acl_hardcode_minus_L" != no; then
10473 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10474 else
10475 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10476 fi
10477 fi
10478 fi
10479 fi
10480 else
10481 if testscip-shell system . . test. "X$found_a" != "X"; then
10482 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10483 else
10484 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10485 fi
10486 fi
10487 additional_includedir=
10488 case "$found_dir" in
10489 */$acl_libdirstem | */$acl_libdirstem/)
10490 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
10491 if testscip-shell system . . test. "$name" = 'iconv'; then
10492 LIBICONV_PREFIX="$basedir"
10493 fi
10494 additional_includedir="$basedir/include"
10495 ;;
10496 */$acl_libdirstem2 | */$acl_libdirstem2/)
10497 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
10498 if testscip-shell system . . test. "$name" = 'iconv'; then
10499 LIBICONV_PREFIX="$basedir"
10500 fi
10501 additional_includedir="$basedir/include"
10502 ;;
10503 */$acl_libdirstem3 | */$acl_libdirstem3/)
10504 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
10505 if testscip-shell system . . test. "$name" = 'iconv'; then
10506 LIBICONV_PREFIX="$basedir"
10507 fi
10508 additional_includedir="$basedir/include"
10509 ;;
10510 esac
10511 if testscip-shell system . . test. "X$additional_includedir" != "X"; then
10512 if testscip-shell system . . test. "X$additional_includedir" != "X/usr/include"; then
10513 haveit=
10514 if testscip-shell system . . test. "X$additional_includedir" = "X/usr/local/include"; then
10515 if testscip-shell system . . test. -n "$GCC"; then
10516 case $host_os in
10517 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
10518 esac
10519 fi
10520 fi
10521 if testscip-shell system . . test. -z "$haveit"; then
10522 for x in $CPPFLAGS $INCICONV; do
10523
10524 acl_saved_prefix="$prefix"
10525 prefix="$acl_final_prefix"
10526 acl_saved_exec_prefix="$exec_prefix"
10527 exec_prefix="$acl_final_exec_prefix"
10528 eval x=\"$x\"
10529 exec_prefix="$acl_saved_exec_prefix"
10530 prefix="$acl_saved_prefix"
10531
10532 if testscip-shell system . . test. "X$x" = "X-I$additional_includedir"; then
10533 haveit=yes
10534 break
10535 fi
10536 done
10537 if testscip-shell system . . test. -z "$haveit"; then
10538 if testscip-shell system . . test. -d "$additional_includedir"; then
10539 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10540 fi
10541 fi
10542 fi
10543 fi
10544 fi
10545 if testscip-shell system . . test. -n "$found_la"; then
10546 saved_libdir="$libdir"
10547 case "$found_la" in
10548 */* | *\\*) . "$found_la" ;;
10549 *) . "./$found_la" ;;
10550 esac
10551 libdir="$saved_libdir"
10552 for dep in $dependency_libs; do
10553 case "$dep" in
10554 -L*)
10555 dependency_libdir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-L//'`
10556 if testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
10557 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
10558 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
10559 haveit=
10560 if testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
10561 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
10562 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
10563 if testscip-shell system . . test. -n "$GCC"; then
10564 case $host_os in
10565 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
10566 esac
10567 fi
10568 fi
10569 if testscip-shell system . . test. -z "$haveit"; then
10570 haveit=
10571 for x in $LDFLAGS $LIBICONV; do
10572
10573 acl_saved_prefix="$prefix"
10574 prefix="$acl_final_prefix"
10575 acl_saved_exec_prefix="$exec_prefix"
10576 exec_prefix="$acl_final_exec_prefix"
10577 eval x=\"$x\"
10578 exec_prefix="$acl_saved_exec_prefix"
10579 prefix="$acl_saved_prefix"
10580
10581 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
10582 haveit=yes
10583 break
10584 fi
10585 done
10586 if testscip-shell system . . test. -z "$haveit"; then
10587 if testscip-shell system . . test. -d "$dependency_libdir"; then
10588 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
10589 fi
10590 fi
10591 haveit=
10592 for x in $LDFLAGS $LTLIBICONV; do
10593
10594 acl_saved_prefix="$prefix"
10595 prefix="$acl_final_prefix"
10596 acl_saved_exec_prefix="$exec_prefix"
10597 exec_prefix="$acl_final_exec_prefix"
10598 eval x=\"$x\"
10599 exec_prefix="$acl_saved_exec_prefix"
10600 prefix="$acl_saved_prefix"
10601
10602 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
10603 haveit=yes
10604 break
10605 fi
10606 done
10607 if testscip-shell system . . test. -z "$haveit"; then
10608 if testscip-shell system . . test. -d "$dependency_libdir"; then
10609 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
10610 fi
10611 fi
10612 fi
10613 fi
10614 ;;
10615 -R*)
10616 dir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-R//'`
10617 if testscip-shell system . . test. "$enable_rpath" != no; then
10618 haveit=
10619 for x in $rpathdirs; do
10620 if testscip-shell system . . test. "X$x" = "X$dir"; then
10621 haveit=yes
10622 break
10623 fi
10624 done
10625 if testscip-shell system . . test. -z "$haveit"; then
10626 rpathdirs="$rpathdirs $dir"
10627 fi
10628 haveit=
10629 for x in $ltrpathdirs; do
10630 if testscip-shell system . . test. "X$x" = "X$dir"; then
10631 haveit=yes
10632 break
10633 fi
10634 done
10635 if testscip-shell system . . test. -z "$haveit"; then
10636 ltrpathdirs="$ltrpathdirs $dir"
10637 fi
10638 fi
10639 ;;
10640 -l*)
10641 dep=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-l//'`
10642 if testscip-shell system . . test. "X$dep" != Xc \
10643 || case $host_os in
10644 linux* | gnu* | k*bsd*-gnu) falsescip-shell system . . false. ;;
10645 *) truescip-shell system . . true. ;;
10646 esac; then
10647 names_next_round="$names_next_round $dep"
10648 fi
10649 ;;
10650 *.la)
10651 names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10652 ;;
10653 *)
10654 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10655 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10656 ;;
10657 esac
10658 done
10659 fi
10660 else
10661 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10662 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10663 fi
10664 fi
10665 fi
10666 done
10667 done
10668 if testscip-shell system . . test. "X$rpathdirs" != "X"; then
10669 if testscip-shell system . . test. -n "$acl_hardcode_libdir_separator"; then
10670 alldirs=
10671 for found_dir in $rpathdirs; do
10672 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
10673 done
10674 acl_saved_libdir="$libdir"
10675 libdir="$alldirs"
10676 eval flag=\"$acl_hardcode_libdir_flag_spec\"
10677 libdir="$acl_saved_libdir"
10678 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10679 else
10680 for found_dir in $rpathdirs; do
10681 acl_saved_libdir="$libdir"
10682 libdir="$found_dir"
10683 eval flag=\"$acl_hardcode_libdir_flag_spec\"
10684 libdir="$acl_saved_libdir"
10685 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10686 done
10687 fi
10688 fi
10689 if testscip-shell system . . test. "X$ltrpathdirs" != "X"; then
10690 for found_dir in $ltrpathdirs; do
10691 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10692 done
10693 fi
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705 gl_saved_CPPFLAGS="$CPPFLAGS"
10706
10707 for element in $INCICONV; do
10708 haveit=
10709 for x in $CPPFLAGS; do
10710
10711 acl_saved_prefix="$prefix"
10712 prefix="$acl_final_prefix"
10713 acl_saved_exec_prefix="$exec_prefix"
10714 exec_prefix="$acl_final_exec_prefix"
10715 eval x=\"$x\"
10716 exec_prefix="$acl_saved_exec_prefix"
10717 prefix="$acl_saved_prefix"
10718
10719 if testscip-shell system . . test. "X$x" = "X$element"; then
10720 haveit=yes
10721 break
10722 fi
10723 done
10724 if testscip-shell system . . test. -z "$haveit"; then
10725 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10726 fi
10727 done
10728
10729
10730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
10731 printfscip-shell system . . printf. %s "checking for iconv... " >&6; }
10732 if testscip-shell system . . test. ${am_cv_func_iconv+y}
10733 then :
10734 printfscip-shell system . . printf. %s "(cached) " >&6
10735 else $as_nop
10736
10737 am_cv_func_iconv="no, consider installing GNU libiconv"
10738 am_cv_lib_iconv=no
10739 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741
10742 #include <stdlib.h>
10743 #include <iconv.h>
10744
10745 int
10746 main (void)
10747 {
10748 iconv_t cd = iconv_open("","");
10749 iconv(cd,NULL,NULL,NULL,NULL);
10750 iconv_close(cd);
10751 ;
10752 return 0;
10753 }
10754 _ACEOF
10755 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10756 then :
10757 am_cv_func_iconv=yes
10758 fi
10759 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10760 conftest$ac_exeext conftest.$ac_ext
10761 if testscip-shell system . . test. "$am_cv_func_iconv" != yes; then
10762 gl_saved_LIBS="$LIBS"
10763 LIBS="$LIBS $LIBICONV"
10764 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10766
10767 #include <stdlib.h>
10768 #include <iconv.h>
10769
10770 int
10771 main (void)
10772 {
10773 iconv_t cd = iconv_open("","");
10774 iconv(cd,NULL,NULL,NULL,NULL);
10775 iconv_close(cd);
10776 ;
10777 return 0;
10778 }
10779 _ACEOF
10780 if ac_fn_c_try_linkscip-shell shell shell-project 0.0.0 ac_fn_c_try_link(). "$LINENO"
10781 then :
10782 am_cv_lib_iconv=yes
10783 am_cv_func_iconv=yes
10784 fi
10785 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS="$gl_saved_LIBS"
10788 fi
10789
10790 fi
10791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
10792 printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv" >&6; }
10793 if testscip-shell system . . test. "$am_cv_func_iconv" = yes; then
10794 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
10795 printfscip-shell system . . printf. %s "checking for working iconv... " >&6; }
10796 if testscip-shell system . . test. ${am_cv_func_iconv_works+y}
10797 then :
10798 printfscip-shell system . . printf. %s "(cached) " >&6
10799 else $as_nop
10800
10801 gl_saved_LIBS="$LIBS"
10802 if testscip-shell system . . test. $am_cv_lib_iconv = yes; then
10803 LIBS="$LIBS $LIBICONV"
10804 fi
10805 am_cv_func_iconv_works=no
10806 for ac_iconv_const in '' 'const'; do
10807 if testscip-shell system . . test. "$cross_compiling" = yes
10808 then :
10809 case "$host_os" in
10810 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
10811 *) am_cv_func_iconv_works="guessing yes" ;;
10812 esac
10813 else $as_nop
10814 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816
10817 #include <iconv.h>
10818 #include <string.h>
10819
10820 #ifndef ICONV_CONST
10821 # define ICONV_CONST $ac_iconv_const
10822 #endif
10823
10824 int
10825 main (void)
10826 {
10827 int result = 0;
10828 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
10829 successful returns. This is even documented in
10830 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
10831 {
10832 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
10833 if (cd_utf8_to_88591 != (iconv_t)(-1))
10834 {
10835 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
10836 char buf[10];
10837 ICONV_CONST char *inptr = input;
10838 size_t inbytesleft = strlen (input);
10839 char *outptr = buf;
10840 size_t outbytesleft = sizeof (buf);
10841 size_t res = iconv (cd_utf8_to_88591,
10842 &inptr, &inbytesleft,
10843 &outptr, &outbytesleft);
10844 if (res == 0)
10845 result |= 1;
10846 iconv_close (cd_utf8_to_88591);
10847 }
10848 }
10849 /* Test against macOS 14.4 bug: Failures are not distinguishable from
10850 successful returns.
10851 POSIX:2018 says: "The iconv() function shall ... return the number of
10852 non-identical conversions performed."
10853 But here, the conversion always does transliteration (the suffixes
10854 "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and
10855 does not report when it does a non-identical conversion. */
10856 {
10857 iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
10858 if (cd_utf8_to_88591 != (iconv_t)(-1))
10859 {
10860 static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */
10861 char buf[10];
10862 ICONV_CONST char *inptr = input;
10863 size_t inbytesleft = strlen (input);
10864 char *outptr = buf;
10865 size_t outbytesleft = sizeof (buf);
10866 size_t res = iconv (cd_utf8_to_88591,
10867 &inptr, &inbytesleft,
10868 &outptr, &outbytesleft);
10869 /* Here:
10870 With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ.
10871 With musl libc, NetBSD 10, Solaris 11: res == 1.
10872 With macOS 14.4: res == 0, output is "l". */
10873 if (res == 0)
10874 result |= 2;
10875 iconv_close (cd_utf8_to_88591);
10876 }
10877 }
10878 /* Test against Solaris 10 bug: Failures are not distinguishable from
10879 successful returns. */
10880 {
10881 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
10882 if (cd_ascii_to_88591 != (iconv_t)(-1))
10883 {
10884 static ICONV_CONST char input[] = "\263";
10885 char buf[10];
10886 ICONV_CONST char *inptr = input;
10887 size_t inbytesleft = strlen (input);
10888 char *outptr = buf;
10889 size_t outbytesleft = sizeof (buf);
10890 size_t res = iconv (cd_ascii_to_88591,
10891 &inptr, &inbytesleft,
10892 &outptr, &outbytesleft);
10893 if (res == 0)
10894 result |= 4;
10895 iconv_close (cd_ascii_to_88591);
10896 }
10897 }
10898 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
10899 {
10900 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
10901 if (cd_88591_to_utf8 != (iconv_t)(-1))
10902 {
10903 static ICONV_CONST char input[] = "\304";
10904 static char buf[2] = { (char)0xDE, (char)0xAD };
10905 ICONV_CONST char *inptr = input;
10906 size_t inbytesleft = 1;
10907 char *outptr = buf;
10908 size_t outbytesleft = 1;
10909 size_t res = iconv (cd_88591_to_utf8,
10910 &inptr, &inbytesleft,
10911 &outptr, &outbytesleft);
10912 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
10913 result |= 8;
10914 iconv_close (cd_88591_to_utf8);
10915 }
10916 }
10917 #if 0 /* This bug could be worked around by the caller. */
10918 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
10919 {
10920 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
10921 if (cd_88591_to_utf8 != (iconv_t)(-1))
10922 {
10923 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
10924 char buf[50];
10925 ICONV_CONST char *inptr = input;
10926 size_t inbytesleft = strlen (input);
10927 char *outptr = buf;
10928 size_t outbytesleft = sizeof (buf);
10929 size_t res = iconv (cd_88591_to_utf8,
10930 &inptr, &inbytesleft,
10931 &outptr, &outbytesleft);
10932 if ((int)res > 0)
10933 result |= 16;
10934 iconv_close (cd_88591_to_utf8);
10935 }
10936 }
10937 #endif
10938 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
10939 provided. */
10940 {
10941 /* Try standardized names. */
10942 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
10943 /* Try IRIX, OSF/1 names. */
10944 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
10945 /* Try AIX names. */
10946 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
10947 /* Try HP-UX names. */
10948 iconv_t cd4 = iconv_open ("utf8", "eucJP");
10949 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
10950 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
10951 result |= 32;
10952 if (cd1 != (iconv_t)(-1))
10953 iconv_close (cd1);
10954 if (cd2 != (iconv_t)(-1))
10955 iconv_close (cd2);
10956 if (cd3 != (iconv_t)(-1))
10957 iconv_close (cd3);
10958 if (cd4 != (iconv_t)(-1))
10959 iconv_close (cd4);
10960 }
10961 return result;
10962
10963 ;
10964 return 0;
10965 }
10966 _ACEOF
10967 if ac_fn_c_try_runscip-shell shell shell-project 0.0.0 ac_fn_c_try_run(). "$LINENO"
10968 then :
10969 am_cv_func_iconv_works=yes
10970 fi
10971 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10972 conftest.$ac_objext conftest.beam conftest.$ac_ext
10973 fi
10974
10975 testscip-shell system . . test. "$am_cv_func_iconv_works" = no || break
10976 done
10977 LIBS="$gl_saved_LIBS"
10978
10979 fi
10980 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
10981 printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv_works" >&6; }
10982 case "$am_cv_func_iconv_works" in
10983 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
10984 *) am_func_iconv=yes ;;
10985 esac
10986 else
10987 am_func_iconv=no am_cv_lib_iconv=no
10988 fi
10989 if testscip-shell system . . test. "$am_func_iconv" = yes; then
10990
10991 printfscip-shell system . . printf. "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
10992
10993 fi
10994 if testscip-shell system . . test. "$am_cv_lib_iconv" = yes; then
10995 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
10996 printfscip-shell system . . printf. %s "checking how to link with libiconv... " >&6; }
10997 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
10998 printfscip-shell system . . printf. "%s\n" "$LIBICONV" >&6; }
10999 else
11000 CPPFLAGS="$gl_saved_CPPFLAGS"
11001 LIBICONV=
11002 LTLIBICONV=
11003 fi
11004
11005
11006
11007 if testscip-shell system . . test. "$am_cv_func_iconv" = yes; then
11008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
11009 printfscip-shell system . . printf. %s "checking whether iconv is compatible with its POSIX signature... " >&6; }
11010 if testscip-shell system . . test. ${gl_cv_iconv_nonconst+y}
11011 then :
11012 printfscip-shell system . . printf. %s "(cached) " >&6
11013 else $as_nop
11014 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016
11017 #include <stdlib.h>
11018 #include <iconv.h>
11019 extern
11020 #ifdef __cplusplus
11021 "C"
11022 #endif
11023 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
11024
11025 int
11026 main (void)
11027 {
11028
11029 ;
11030 return 0;
11031 }
11032 _ACEOF
11033 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
11034 then :
11035 gl_cv_iconv_nonconst=yes
11036 else $as_nop
11037 gl_cv_iconv_nonconst=no
11038 fi
11039 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11040
11041 fi
11042 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
11043 printfscip-shell system . . printf. "%s\n" "$gl_cv_iconv_nonconst" >&6; }
11044 else
11045 gl_cv_iconv_nonconst=yes
11046 fi
11047 if testscip-shell system . . test. $gl_cv_iconv_nonconst = yes; then
11048 iconv_arg1=""
11049 else
11050 iconv_arg1="const"
11051 fi
11052
11053 printfscip-shell system . . printf. "%s\n" "#define ICONV_CONST $iconv_arg1" >>confdefs.h
11054
11055
11056
11057 if testscip-shell system . . test. "$am_func_iconv" = yes; then
11058 if testscip-shell system . . test. -n "$LIBICONV"; then
11059 am_cv_func_iconv_summary='yes, in libiconv'
11060 else
11061 am_cv_func_iconv_summary='yes, in libc'
11062 fi
11063 else
11064 if testscip-shell system . . test. "$am_cv_func_iconv" = yes; then
11065 am_cv_func_iconv_summary='not working, consider installing GNU libiconv'
11066 else
11067 am_cv_func_iconv_summary='no, consider installing GNU libiconv'
11068 fi
11069 fi
11070
11071 if testscip-shell system . . test. "$am_cv_func_iconv" != "yes"; then
11072 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
11073 ***
11074 *** The iconv function is required. You can specify its location
11075 *** using the --with-libiconv-prefix=PREFIX option to configure.
11076 ***" "$LINENO" 5
11077 fi
11078 fi
11079
11080 # Check whether --enable-pinentry-emacs was given.
11081 if testscip-shell system . . test. ${enable_pinentry_emacs+y}
11082 then :
11083 enableval=$enable_pinentry_emacs; pinentry_emacs=$enableval
11084 else $as_nop
11085 pinentry_emacs=no
11086 fi
11087
11088 # Check whether --enable-inside-emacs was given.
11089 if testscip-shell system . . test. ${enable_inside_emacs+y}
11090 then :
11091 enableval=$enable_inside_emacs; inside_emacs=$enableval
11092 else $as_nop
11093 inside_emacs=maybe
11094 fi
11095
11096
11097 if testscip-shell system . . test. "$pinentry_emacs" != "no" || testscip-shell system . . test. "$inside_emacs" != "no"; then
11098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Unix domain socket is supported" >&5
11099 printfscip-shell system . . printf. %s "checking if Unix domain socket is supported... " >&6; }
11100 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11102
11103 #include <sys/socket.h>
11104 #include <sys/un.h>
11105
11106 int
11107 main (void)
11108 {
11109 int s = socket (AF_UNIX, SOCK_STREAM, 0);
11110 ;
11111 return 0;
11112 }
11113 _ACEOF
11114 if ac_fn_c_try_compilescip-shell shell shell-project 0.0.0 ac_fn_c_try_compile(). "$LINENO"
11115 then :
11116 _unixsock_works=yes
11117 else $as_nop
11118 _unixsock_works=no
11119 fi
11120 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11121 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_unixsock_works" >&5
11122 printfscip-shell system . . printf. "%s\n" "$_unixsock_works" >&6; }
11123 if testscip-shell system . . test. "$_unixsock_works" = "yes"; then
11124 if testscip-shell system . . test. "$pinentry_emacs" != "no"; then
11125 pinentry_emacs=yes
11126 fi
11127 if testscip-shell system . . test. "$inside_emacs" != "no"; then
11128 inside_emacs=yes
11129
11130 printfscip-shell system . . printf. "%s\n" "#define INSIDE_EMACS 1" >>confdefs.h
11131
11132 fi
11133 else
11134 if testscip-shell system . . test. "$pinentry_emacs" = "yes" || testscip-shell system . . test. "$inside_emacs" = "yes"; then
11135 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
11136 ***
11137 *** Support for Unix domain sockets is required.
11138 ***" "$LINENO" 5
11139 fi
11140 pinentry_emacs=no
11141 inside_emacs=no
11142 fi
11143 fi
11144
11145 if testscip-shell system . . test. "$pinentry_emacs" = "yes" \
11146 || testscip-shell system . . test. "$inside_emacs" = "yes"; then
11147 BUILD_LIBPINENTRY_EMACS_TRUE=
11148 BUILD_LIBPINENTRY_EMACS_FALSE='#'
11149 else
11150 BUILD_LIBPINENTRY_EMACS_TRUE='#'
11151 BUILD_LIBPINENTRY_EMACS_FALSE=
11152 fi
11153
11154 if testscip-shell system . . test. "$pinentry_emacs" = "yes"; then
11155 BUILD_PINENTRY_EMACS_TRUE=
11156 BUILD_PINENTRY_EMACS_FALSE='#'
11157 else
11158 BUILD_PINENTRY_EMACS_TRUE='#'
11159 BUILD_PINENTRY_EMACS_FALSE=
11160 fi
11161
11162 if testscip-shell system . . test. "$inside_emacs" = "yes"; then
11163 INSIDE_EMACS_TRUE=
11164 INSIDE_EMACS_FALSE='#'
11165 else
11166 INSIDE_EMACS_TRUE='#'
11167 INSIDE_EMACS_FALSE=
11168 fi
11169
11170
11171 if testscip-shell system . . test. "$pinentry_emacs" = "yes"; then
11172
11173 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_EMACS 1" >>confdefs.h
11174
11175 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-emacs is obsolete; Emacs version 26 or later never uses it." >&5
11176 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-emacs is obsolete; Emacs version 26 or later never uses it." >&2;}
11177 fi
11178
11179
11180
11181 # Check whether --enable-pinentry-efl was given.
11182 if testscip-shell system . . test. ${enable_pinentry_efl+y}
11183 then :
11184 enableval=$enable_pinentry_efl; pinentry_efl=$enableval
11185 else $as_nop
11186 pinentry_efl=maybe
11187 fi
11188
11189
11190 if testscip-shell system . . test. "$pinentry_efl" != "no"; then
11191
11192 pkg_failed=no
11193 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for elementary >= 1.18,ecore-x" >&5
11194 printfscip-shell system . . printf. %s "checking for elementary >= 1.18,ecore-x... " >&6; }
11195
11196 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11197 if testscip-shell system . . test. -n "$EFL_CFLAGS"; then
11198 pkg_cv_EFL_CFLAGS="$EFL_CFLAGS"
11199 else
11200 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11201 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary >= 1.18,ecore-x\""; } >&5
11202 ($PKG_CONFIG --exists --print-errors "elementary >= 1.18,ecore-x") 2>&5
11203 ac_status=$?
11204 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11205 testscip-shell system . . test. $ac_status = 0; }; then
11206 pkg_cv_EFL_CFLAGS=`$PKG_CONFIG --cflags "elementary >= 1.18,ecore-x" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11207 else
11208 pkg_failed=yes
11209 fi
11210 fi
11211 else
11212 pkg_failed=untried
11213 fi
11214 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11215 if testscip-shell system . . test. -n "$EFL_LIBS"; then
11216 pkg_cv_EFL_LIBS="$EFL_LIBS"
11217 else
11218 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11219 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary >= 1.18,ecore-x\""; } >&5
11220 ($PKG_CONFIG --exists --print-errors "elementary >= 1.18,ecore-x") 2>&5
11221 ac_status=$?
11222 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11223 testscip-shell system . . test. $ac_status = 0; }; then
11224 pkg_cv_EFL_LIBS=`$PKG_CONFIG --libs "elementary >= 1.18,ecore-x" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11225 else
11226 pkg_failed=yes
11227 fi
11228 fi
11229 else
11230 pkg_failed=untried
11231 fi
11232
11233
11234
11235 if testscip-shell system . . test. $pkg_failed = yes; then
11236
11237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11238 _pkg_short_errors_supported=yes
11239 else
11240 _pkg_short_errors_supported=no
11241 fi
11242 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11243 EFL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "elementary >= 1.18,ecore-x"`
11244 else
11245 EFL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "elementary >= 1.18,ecore-x"`
11246 fi
11247 # Put the nasty error message in config.log where it belongs
11248 echoscip-shell system . . echo. "$EFL_PKG_ERRORS" >&5
11249
11250 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11252
11253 if testscip-shell system . . test. "$pinentry_efl" = "yes"; then
11254 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
11255 ***
11256 *** efl (elementary >= 1.18, ecore-x) is required for pinentry-efl.
11257 ***" "$LINENO" 5
11258 else
11259 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the modules elementary or ecore-x" >&5
11260 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the modules elementary or ecore-x" >&2;}
11261 fi
11262 pinentry_efl=no
11263
11264
11265 elif testscip-shell system . . test. $pkg_failed = untried; then
11266
11267 if testscip-shell system . . test. "$pinentry_efl" = "yes"; then
11268 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
11269 ***
11270 *** efl (elementary >= 1.18, ecore-x) is required for pinentry-efl.
11271 ***" "$LINENO" 5
11272 else
11273 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the modules elementary or ecore-x" >&5
11274 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the modules elementary or ecore-x" >&2;}
11275 fi
11276 pinentry_efl=no
11277
11278
11279 else
11280 EFL_CFLAGS=$pkg_cv_EFL_CFLAGS
11281 EFL_LIBS=$pkg_cv_EFL_LIBS
11282 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11283 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11284
11285 pinentry_efl=yes
11286
11287 fi
11288 fi
11289 if testscip-shell system . . test. "$pinentry_efl" = "yes"; then
11290 BUILD_PINENTRY_EFL_TRUE=
11291 BUILD_PINENTRY_EFL_FALSE='#'
11292 else
11293 BUILD_PINENTRY_EFL_TRUE='#'
11294 BUILD_PINENTRY_EFL_FALSE=
11295 fi
11296
11297
11298 # Check whether --enable-pinentry-gtk2 was given.
11299 if testscip-shell system . . test. ${enable_pinentry_gtk2+y}
11300 then :
11301 enableval=$enable_pinentry_gtk2; pinentry_gtk_2=$enableval
11302 else $as_nop
11303 pinentry_gtk_2=maybe
11304 fi
11305
11306
11307 # Check whether --enable-pinentry-gnome3 was given.
11308 if testscip-shell system . . test. ${enable_pinentry_gnome3+y}
11309 then :
11310 enableval=$enable_pinentry_gnome3; pinentry_gnome_3=$enableval
11311 else $as_nop
11312 pinentry_gnome_3=maybe
11313 fi
11314
11315
11316 if testscip-shell system . . test. "$pinentry_gtk_2" != "no"; then
11317
11318 pkg_failed=no
11319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.12.0" >&5
11320 printfscip-shell system . . printf. %s "checking for gtk+-2.0 >= 2.12.0... " >&6; }
11321
11322 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11323 if testscip-shell system . . test. -n "$GTK2_CFLAGS"; then
11324 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
11325 else
11326 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11327 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12.0\""; } >&5
11328 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12.0") 2>&5
11329 ac_status=$?
11330 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11331 testscip-shell system . . test. $ac_status = 0; }; then
11332 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11333 else
11334 pkg_failed=yes
11335 fi
11336 fi
11337 else
11338 pkg_failed=untried
11339 fi
11340 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11341 if testscip-shell system . . test. -n "$GTK2_LIBS"; then
11342 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
11343 else
11344 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11345 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12.0\""; } >&5
11346 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12.0") 2>&5
11347 ac_status=$?
11348 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11349 testscip-shell system . . test. $ac_status = 0; }; then
11350 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11351 else
11352 pkg_failed=yes
11353 fi
11354 fi
11355 else
11356 pkg_failed=untried
11357 fi
11358
11359
11360
11361 if testscip-shell system . . test. $pkg_failed = yes; then
11362
11363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11364 _pkg_short_errors_supported=yes
11365 else
11366 _pkg_short_errors_supported=no
11367 fi
11368 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11369 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.12.0"`
11370 else
11371 GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.12.0"`
11372 fi
11373 # Put the nasty error message in config.log where it belongs
11374 echoscip-shell system . . echo. "$GTK2_PKG_ERRORS" >&5
11375
11376 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11378
11379 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gtk+-2.0" >&5
11380 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gtk+-2.0" >&2;}
11381 pinentry_gtk_2=no
11382
11383
11384 elif testscip-shell system . . test. $pkg_failed = untried; then
11385
11386 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gtk+-2.0" >&5
11387 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gtk+-2.0" >&2;}
11388 pinentry_gtk_2=no
11389
11390
11391 else
11392 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
11393 GTK2_LIBS=$pkg_cv_GTK2_LIBS
11394 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11395 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11396
11397 testscip-shell system . . test. "$pinentry_gtk_2" != "no" && pinentry_gtk_2=yes
11398 testscip-shell system . . test. "$pinentry_gnome_3" != "no" && pinentry_gnome_3=yes
11399
11400 fi
11401 fi
11402 if testscip-shell system . . test. "$pinentry_gtk_2" = "yes"; then
11403 BUILD_PINENTRY_GTK_2_TRUE=
11404 BUILD_PINENTRY_GTK_2_FALSE='#'
11405 else
11406 BUILD_PINENTRY_GTK_2_TRUE='#'
11407 BUILD_PINENTRY_GTK_2_FALSE=
11408 fi
11409
11410
11411 if testscip-shell system . . test. "$pinentry_gnome_3" != "no"; then
11412
11413 pkg_failed=no
11414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcr-4" >&5
11415 printfscip-shell system . . printf. %s "checking for gcr-4... " >&6; }
11416
11417 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11418 if testscip-shell system . . test. -n "$GNOME3_CFLAGS"; then
11419 pkg_cv_GNOME3_CFLAGS="$GNOME3_CFLAGS"
11420 else
11421 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11422 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-4\""; } >&5
11423 ($PKG_CONFIG --exists --print-errors "gcr-4") 2>&5
11424 ac_status=$?
11425 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426 testscip-shell system . . test. $ac_status = 0; }; then
11427 pkg_cv_GNOME3_CFLAGS=`$PKG_CONFIG --cflags "gcr-4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11428 else
11429 pkg_failed=yes
11430 fi
11431 fi
11432 else
11433 pkg_failed=untried
11434 fi
11435 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11436 if testscip-shell system . . test. -n "$GNOME3_LIBS"; then
11437 pkg_cv_GNOME3_LIBS="$GNOME3_LIBS"
11438 else
11439 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11440 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-4\""; } >&5
11441 ($PKG_CONFIG --exists --print-errors "gcr-4") 2>&5
11442 ac_status=$?
11443 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11444 testscip-shell system . . test. $ac_status = 0; }; then
11445 pkg_cv_GNOME3_LIBS=`$PKG_CONFIG --libs "gcr-4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11446 else
11447 pkg_failed=yes
11448 fi
11449 fi
11450 else
11451 pkg_failed=untried
11452 fi
11453
11454
11455
11456 if testscip-shell system . . test. $pkg_failed = yes; then
11457
11458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11459 _pkg_short_errors_supported=yes
11460 else
11461 _pkg_short_errors_supported=no
11462 fi
11463 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11464 GNOME3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gcr-4"`
11465 else
11466 GNOME3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gcr-4"`
11467 fi
11468 # Put the nasty error message in config.log where it belongs
11469 echoscip-shell system . . echo. "$GNOME3_PKG_ERRORS" >&5
11470
11471 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11472 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11473
11474 pkg_failed=no
11475 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcr-base-3" >&5
11476 printfscip-shell system . . printf. %s "checking for gcr-base-3... " >&6; }
11477
11478 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11479 if testscip-shell system . . test. -n "$GNOME3_CFLAGS"; then
11480 pkg_cv_GNOME3_CFLAGS="$GNOME3_CFLAGS"
11481 else
11482 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11483 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-base-3\""; } >&5
11484 ($PKG_CONFIG --exists --print-errors "gcr-base-3") 2>&5
11485 ac_status=$?
11486 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11487 testscip-shell system . . test. $ac_status = 0; }; then
11488 pkg_cv_GNOME3_CFLAGS=`$PKG_CONFIG --cflags "gcr-base-3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11489 else
11490 pkg_failed=yes
11491 fi
11492 fi
11493 else
11494 pkg_failed=untried
11495 fi
11496 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11497 if testscip-shell system . . test. -n "$GNOME3_LIBS"; then
11498 pkg_cv_GNOME3_LIBS="$GNOME3_LIBS"
11499 else
11500 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11501 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-base-3\""; } >&5
11502 ($PKG_CONFIG --exists --print-errors "gcr-base-3") 2>&5
11503 ac_status=$?
11504 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11505 testscip-shell system . . test. $ac_status = 0; }; then
11506 pkg_cv_GNOME3_LIBS=`$PKG_CONFIG --libs "gcr-base-3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11507 else
11508 pkg_failed=yes
11509 fi
11510 fi
11511 else
11512 pkg_failed=untried
11513 fi
11514
11515
11516
11517 if testscip-shell system . . test. $pkg_failed = yes; then
11518
11519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11520 _pkg_short_errors_supported=yes
11521 else
11522 _pkg_short_errors_supported=no
11523 fi
11524 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11525 GNOME3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gcr-base-3"`
11526 else
11527 GNOME3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gcr-base-3"`
11528 fi
11529 # Put the nasty error message in config.log where it belongs
11530 echoscip-shell system . . echo. "$GNOME3_PKG_ERRORS" >&5
11531
11532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11534
11535 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&5
11536 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&2;}
11537 pinentry_gnome_3=no
11538
11539
11540 elif testscip-shell system . . test. $pkg_failed = untried; then
11541
11542 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&5
11543 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&2;}
11544 pinentry_gnome_3=no
11545
11546
11547 else
11548 GNOME3_CFLAGS=$pkg_cv_GNOME3_CFLAGS
11549 GNOME3_LIBS=$pkg_cv_GNOME3_LIBS
11550 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11552
11553 pinentry_gnome_3=yes
11554
11555 printfscip-shell system . . printf. "%s\n" "#define GCR_API_SUBJECT_TO_CHANGE 1" >>confdefs.h
11556
11557
11558 fi
11559
11560 elif testscip-shell system . . test. $pkg_failed = untried; then
11561
11562 pkg_failed=no
11563 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcr-base-3" >&5
11564 printfscip-shell system . . printf. %s "checking for gcr-base-3... " >&6; }
11565
11566 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11567 if testscip-shell system . . test. -n "$GNOME3_CFLAGS"; then
11568 pkg_cv_GNOME3_CFLAGS="$GNOME3_CFLAGS"
11569 else
11570 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11571 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-base-3\""; } >&5
11572 ($PKG_CONFIG --exists --print-errors "gcr-base-3") 2>&5
11573 ac_status=$?
11574 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11575 testscip-shell system . . test. $ac_status = 0; }; then
11576 pkg_cv_GNOME3_CFLAGS=`$PKG_CONFIG --cflags "gcr-base-3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11577 else
11578 pkg_failed=yes
11579 fi
11580 fi
11581 else
11582 pkg_failed=untried
11583 fi
11584 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11585 if testscip-shell system . . test. -n "$GNOME3_LIBS"; then
11586 pkg_cv_GNOME3_LIBS="$GNOME3_LIBS"
11587 else
11588 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11589 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcr-base-3\""; } >&5
11590 ($PKG_CONFIG --exists --print-errors "gcr-base-3") 2>&5
11591 ac_status=$?
11592 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11593 testscip-shell system . . test. $ac_status = 0; }; then
11594 pkg_cv_GNOME3_LIBS=`$PKG_CONFIG --libs "gcr-base-3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11595 else
11596 pkg_failed=yes
11597 fi
11598 fi
11599 else
11600 pkg_failed=untried
11601 fi
11602
11603
11604
11605 if testscip-shell system . . test. $pkg_failed = yes; then
11606
11607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11608 _pkg_short_errors_supported=yes
11609 else
11610 _pkg_short_errors_supported=no
11611 fi
11612 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11613 GNOME3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gcr-base-3"`
11614 else
11615 GNOME3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gcr-base-3"`
11616 fi
11617 # Put the nasty error message in config.log where it belongs
11618 echoscip-shell system . . echo. "$GNOME3_PKG_ERRORS" >&5
11619
11620 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11621 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11622
11623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&5
11624 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&2;}
11625 pinentry_gnome_3=no
11626
11627
11628 elif testscip-shell system . . test. $pkg_failed = untried; then
11629
11630 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&5
11631 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module gcr-4 or gcr-base-3" >&2;}
11632 pinentry_gnome_3=no
11633
11634
11635 else
11636 GNOME3_CFLAGS=$pkg_cv_GNOME3_CFLAGS
11637 GNOME3_LIBS=$pkg_cv_GNOME3_LIBS
11638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11639 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11640
11641 pinentry_gnome_3=yes
11642
11643 printfscip-shell system . . printf. "%s\n" "#define GCR_API_SUBJECT_TO_CHANGE 1" >>confdefs.h
11644
11645
11646 fi
11647
11648 else
11649 GNOME3_CFLAGS=$pkg_cv_GNOME3_CFLAGS
11650 GNOME3_LIBS=$pkg_cv_GNOME3_LIBS
11651 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11652 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11653
11654 pinentry_gnome_3=yes
11655
11656 printfscip-shell system . . printf. "%s\n" "#define GCR_API_SUBJECT_TO_CHANGE 1" >>confdefs.h
11657
11658
11659 printfscip-shell system . . printf. "%s\n" "#define GCR_API_4 1" >>confdefs.h
11660
11661
11662 fi
11663 fi
11664
11665 if testscip-shell system . . test. "$pinentry_gnome_3" = "yes"; then
11666 BUILD_PINENTRY_GNOME_3_TRUE=
11667 BUILD_PINENTRY_GNOME_3_FALSE='#'
11668 else
11669 BUILD_PINENTRY_GNOME_3_TRUE='#'
11670 BUILD_PINENTRY_GNOME_3_FALSE=
11671 fi
11672
11673
11674 # Check whether --enable-libsecret was given.
11675 if testscip-shell system . . test. ${enable_libsecret+y}
11676 then :
11677 enableval=$enable_libsecret; libsecret=$enableval
11678 else $as_nop
11679 libsecret=maybe
11680 fi
11681
11682
11683 if testscip-shell system . . test. "$libsecret" != "no"; then
11684
11685 pkg_failed=no
11686 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsecret-1" >&5
11687 printfscip-shell system . . printf. %s "checking for libsecret-1... " >&6; }
11688
11689 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11690 if testscip-shell system . . test. -n "$LIBSECRET_CFLAGS"; then
11691 pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS"
11692 else
11693 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11694 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5
11695 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5
11696 ac_status=$?
11697 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11698 testscip-shell system . . test. $ac_status = 0; }; then
11699 pkg_cv_LIBSECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11700 else
11701 pkg_failed=yes
11702 fi
11703 fi
11704 else
11705 pkg_failed=untried
11706 fi
11707 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11708 if testscip-shell system . . test. -n "$LIBSECRET_LIBS"; then
11709 pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS"
11710 else
11711 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11712 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5
11713 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5
11714 ac_status=$?
11715 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11716 testscip-shell system . . test. $ac_status = 0; }; then
11717 pkg_cv_LIBSECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11718 else
11719 pkg_failed=yes
11720 fi
11721 fi
11722 else
11723 pkg_failed=untried
11724 fi
11725
11726
11727
11728 if testscip-shell system . . test. $pkg_failed = yes; then
11729
11730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11731 _pkg_short_errors_supported=yes
11732 else
11733 _pkg_short_errors_supported=no
11734 fi
11735 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11736 LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsecret-1"`
11737 else
11738 LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsecret-1"`
11739 fi
11740 # Put the nasty error message in config.log where it belongs
11741 echoscip-shell system . . echo. "$LIBSECRET_PKG_ERRORS" >&5
11742
11743 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11745
11746 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module libsecret-1" >&5
11747 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module libsecret-1" >&2;}
11748 libsecret=no
11749
11750
11751 elif testscip-shell system . . test. $pkg_failed = untried; then
11752
11753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module libsecret-1" >&5
11754 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module libsecret-1" >&2;}
11755 libsecret=no
11756
11757
11758 else
11759 LIBSECRET_CFLAGS=$pkg_cv_LIBSECRET_CFLAGS
11760 LIBSECRET_LIBS=$pkg_cv_LIBSECRET_LIBS
11761 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11762 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11763 libsecret=yes
11764 fi
11765 fi
11766 if testscip-shell system . . test. "$libsecret" = "yes"; then
11767 BUILD_WITH_LIBSECRET_TRUE=
11768 BUILD_WITH_LIBSECRET_FALSE='#'
11769 else
11770 BUILD_WITH_LIBSECRET_TRUE='#'
11771 BUILD_WITH_LIBSECRET_FALSE=
11772 fi
11773
11774 if testscip-shell system . . test. "$libsecret" = "yes"; then
11775
11776 printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBSECRET 1" >>confdefs.h
11777
11778
11779 COMMON_CFLAGS="$LIBSECRET_CFLAGS $COMMON_CFLAGS"
11780 COMMON_LIBS="$LIBSECRET_LIBS $COMMON_LIBS"
11781 fi
11782
11783 have_x11=no
11784 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
11785
11786 pkg_failed=no
11787 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11" >&5
11788 printfscip-shell system . . printf. %s "checking for x11... " >&6; }
11789
11790 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11791 if testscip-shell system . . test. -n "$LIBX11_CFLAGS"; then
11792 pkg_cv_LIBX11_CFLAGS="$LIBX11_CFLAGS"
11793 else
11794 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11795 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11796 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11797 ac_status=$?
11798 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11799 testscip-shell system . . test. $ac_status = 0; }; then
11800 pkg_cv_LIBX11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11801 else
11802 pkg_failed=yes
11803 fi
11804 fi
11805 else
11806 pkg_failed=untried
11807 fi
11808 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11809 if testscip-shell system . . test. -n "$LIBX11_LIBS"; then
11810 pkg_cv_LIBX11_LIBS="$LIBX11_LIBS"
11811 else
11812 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11813 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11814 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11815 ac_status=$?
11816 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11817 testscip-shell system . . test. $ac_status = 0; }; then
11818 pkg_cv_LIBX11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11819 else
11820 pkg_failed=yes
11821 fi
11822 fi
11823 else
11824 pkg_failed=untried
11825 fi
11826
11827
11828
11829 if testscip-shell system . . test. $pkg_failed = yes; then
11830
11831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11832 _pkg_short_errors_supported=yes
11833 else
11834 _pkg_short_errors_supported=no
11835 fi
11836 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11837 LIBX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
11838 else
11839 LIBX11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
11840 fi
11841 # Put the nasty error message in config.log where it belongs
11842 echoscip-shell system . . echo. "$LIBX11_PKG_ERRORS" >&5
11843
11844 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11846
11847 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module x11" >&5
11848 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module x11" >&2;}
11849 have_x11=no
11850
11851
11852 elif testscip-shell system . . test. $pkg_failed = untried; then
11853
11854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module x11" >&5
11855 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module x11" >&2;}
11856 have_x11=no
11857
11858
11859 else
11860 LIBX11_CFLAGS=$pkg_cv_LIBX11_CFLAGS
11861 LIBX11_LIBS=$pkg_cv_LIBX11_LIBS
11862 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11863 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11864 have_x11=yes
11865 fi
11866
11867 if testscip-shell system . . test. "$have_x11" = "yes"; then
11868
11869 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11 1" >>confdefs.h
11870
11871 fi
11872 fi
11873
11874 have_kf5waylandclient=no
11875 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
11876
11877 pkg_failed=no
11878 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for KF5WaylandClient >= 5.60" >&5
11879 printfscip-shell system . . printf. %s "checking for KF5WaylandClient >= 5.60... " >&6; }
11880
11881 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11882 if testscip-shell system . . test. -n "$KF5WAYLANDCLIENT_CFLAGS"; then
11883 pkg_cv_KF5WAYLANDCLIENT_CFLAGS="$KF5WAYLANDCLIENT_CFLAGS"
11884 else
11885 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11886 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF5WaylandClient >= 5.60\""; } >&5
11887 ($PKG_CONFIG --exists --print-errors "KF5WaylandClient >= 5.60") 2>&5
11888 ac_status=$?
11889 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11890 testscip-shell system . . test. $ac_status = 0; }; then
11891 pkg_cv_KF5WAYLANDCLIENT_CFLAGS=`$PKG_CONFIG --cflags "KF5WaylandClient >= 5.60" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11892 else
11893 pkg_failed=yes
11894 fi
11895 fi
11896 else
11897 pkg_failed=untried
11898 fi
11899 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11900 if testscip-shell system . . test. -n "$KF5WAYLANDCLIENT_LIBS"; then
11901 pkg_cv_KF5WAYLANDCLIENT_LIBS="$KF5WAYLANDCLIENT_LIBS"
11902 else
11903 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11904 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF5WaylandClient >= 5.60\""; } >&5
11905 ($PKG_CONFIG --exists --print-errors "KF5WaylandClient >= 5.60") 2>&5
11906 ac_status=$?
11907 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11908 testscip-shell system . . test. $ac_status = 0; }; then
11909 pkg_cv_KF5WAYLANDCLIENT_LIBS=`$PKG_CONFIG --libs "KF5WaylandClient >= 5.60" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11910 else
11911 pkg_failed=yes
11912 fi
11913 fi
11914 else
11915 pkg_failed=untried
11916 fi
11917
11918
11919
11920 if testscip-shell system . . test. $pkg_failed = yes; then
11921
11922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11923 _pkg_short_errors_supported=yes
11924 else
11925 _pkg_short_errors_supported=no
11926 fi
11927 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11928 KF5WAYLANDCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "KF5WaylandClient >= 5.60"`
11929 else
11930 KF5WAYLANDCLIENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "KF5WaylandClient >= 5.60"`
11931 fi
11932 # Put the nasty error message in config.log where it belongs
11933 echoscip-shell system . . echo. "$KF5WAYLANDCLIENT_PKG_ERRORS" >&5
11934
11935 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11937
11938 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF5WaylandClient" >&5
11939 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF5WaylandClient" >&2;}
11940 have_kf5waylandclient=no
11941
11942
11943 elif testscip-shell system . . test. $pkg_failed = untried; then
11944
11945 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF5WaylandClient" >&5
11946 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF5WaylandClient" >&2;}
11947 have_kf5waylandclient=no
11948
11949
11950 else
11951 KF5WAYLANDCLIENT_CFLAGS=$pkg_cv_KF5WAYLANDCLIENT_CFLAGS
11952 KF5WAYLANDCLIENT_LIBS=$pkg_cv_KF5WAYLANDCLIENT_LIBS
11953 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11954 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11955 have_kf5waylandclient=yes
11956 fi
11957 fi
11958
11959 have_kf6guiaddons=no
11960 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
11961
11962 pkg_failed=no
11963 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for KF6GuiAddons >= 5.240" >&5
11964 printfscip-shell system . . printf. %s "checking for KF6GuiAddons >= 5.240... " >&6; }
11965
11966 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11967 if testscip-shell system . . test. -n "$KF6GUIADDONS_CFLAGS"; then
11968 pkg_cv_KF6GUIADDONS_CFLAGS="$KF6GUIADDONS_CFLAGS"
11969 else
11970 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11971 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF6GuiAddons >= 5.240\""; } >&5
11972 ($PKG_CONFIG --exists --print-errors "KF6GuiAddons >= 5.240") 2>&5
11973 ac_status=$?
11974 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11975 testscip-shell system . . test. $ac_status = 0; }; then
11976 pkg_cv_KF6GUIADDONS_CFLAGS=`$PKG_CONFIG --cflags "KF6GuiAddons >= 5.240" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11977 else
11978 pkg_failed=yes
11979 fi
11980 fi
11981 else
11982 pkg_failed=untried
11983 fi
11984 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
11985 if testscip-shell system . . test. -n "$KF6GUIADDONS_LIBS"; then
11986 pkg_cv_KF6GUIADDONS_LIBS="$KF6GUIADDONS_LIBS"
11987 else
11988 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11989 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF6GuiAddons >= 5.240\""; } >&5
11990 ($PKG_CONFIG --exists --print-errors "KF6GuiAddons >= 5.240") 2>&5
11991 ac_status=$?
11992 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11993 testscip-shell system . . test. $ac_status = 0; }; then
11994 pkg_cv_KF6GUIADDONS_LIBS=`$PKG_CONFIG --libs "KF6GuiAddons >= 5.240" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11995 else
11996 pkg_failed=yes
11997 fi
11998 fi
11999 else
12000 pkg_failed=untried
12001 fi
12002
12003
12004
12005 if testscip-shell system . . test. $pkg_failed = yes; then
12006
12007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12008 _pkg_short_errors_supported=yes
12009 else
12010 _pkg_short_errors_supported=no
12011 fi
12012 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12013 KF6GUIADDONS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "KF6GuiAddons >= 5.240"`
12014 else
12015 KF6GUIADDONS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "KF6GuiAddons >= 5.240"`
12016 fi
12017 # Put the nasty error message in config.log where it belongs
12018 echoscip-shell system . . echo. "$KF6GUIADDONS_PKG_ERRORS" >&5
12019
12020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12022
12023 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF6GuiAddons" >&5
12024 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF6GuiAddons" >&2;}
12025 have_kf6guiaddons=no
12026
12027
12028 elif testscip-shell system . . test. $pkg_failed = untried; then
12029
12030 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF6GuiAddons" >&5
12031 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF6GuiAddons" >&2;}
12032 have_kf6guiaddons=no
12033
12034
12035 else
12036 KF6GUIADDONS_CFLAGS=$pkg_cv_KF6GUIADDONS_CFLAGS
12037 KF6GUIADDONS_LIBS=$pkg_cv_KF6GUIADDONS_LIBS
12038 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12039 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12040 have_kf6guiaddons=yes
12041 fi
12042 fi
12043
12044 # Check whether --enable-pinentry-qt5 was given.
12045 if testscip-shell system . . test. ${enable_pinentry_qt5+y}
12046 then :
12047 enableval=$enable_pinentry_qt5; pinentry_qt5=$enableval
12048 else $as_nop
12049 pinentry_qt5=maybe
12050 fi
12051
12052
12053
12054 if testscip-shell system . . test. "$pinentry_qt5" != "no"; then
12055
12056 # Check whether --enable-pinentry-qt5 was given.
12057 if testscip-shell system . . test. ${enable_pinentry_qt5+y}
12058 then :
12059 enableval=$enable_pinentry_qt5; enable_pinentry_qt5=$enableval
12060 else $as_nop
12061 enable_pinentry_qt5="try"
12062 fi
12063
12064
12065 have_qt5_libs="no";
12066 require_qt5_cpp11="no";
12067
12068 if testscip-shell system . . test. "$enable_pinentry_qt5" != "no"; then
12069
12070 pkg_failed=no
12071 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0" >&5
12072 printfscip-shell system . . printf. %s "checking for Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0... " >&6; }
12073
12074 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12075 if testscip-shell system . . test. -n "$PINENTRY_QT5_CFLAGS"; then
12076 pkg_cv_PINENTRY_QT5_CFLAGS="$PINENTRY_QT5_CFLAGS"
12077 else
12078 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12079 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0\""; } >&5
12080 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0") 2>&5
12081 ac_status=$?
12082 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12083 testscip-shell system . . test. $ac_status = 0; }; then
12084 pkg_cv_PINENTRY_QT5_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12085 else
12086 pkg_failed=yes
12087 fi
12088 fi
12089 else
12090 pkg_failed=untried
12091 fi
12092 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12093 if testscip-shell system . . test. -n "$PINENTRY_QT5_LIBS"; then
12094 pkg_cv_PINENTRY_QT5_LIBS="$PINENTRY_QT5_LIBS"
12095 else
12096 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12097 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0\""; } >&5
12098 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0") 2>&5
12099 ac_status=$?
12100 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12101 testscip-shell system . . test. $ac_status = 0; }; then
12102 pkg_cv_PINENTRY_QT5_LIBS=`$PKG_CONFIG --libs "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12103 else
12104 pkg_failed=yes
12105 fi
12106 fi
12107 else
12108 pkg_failed=untried
12109 fi
12110
12111
12112
12113 if testscip-shell system . . test. $pkg_failed = yes; then
12114
12115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12116 _pkg_short_errors_supported=yes
12117 else
12118 _pkg_short_errors_supported=no
12119 fi
12120 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12121 PINENTRY_QT5_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0"`
12122 else
12123 PINENTRY_QT5_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0"`
12124 fi
12125 # Put the nasty error message in config.log where it belongs
12126 echoscip-shell system . . echo. "$PINENTRY_QT5_PKG_ERRORS" >&5
12127
12128 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12130 have_qt5_libs="no"
12131 elif testscip-shell system . . test. $pkg_failed = untried; then
12132 have_qt5_libs="no"
12133 else
12134 PINENTRY_QT5_CFLAGS=$pkg_cv_PINENTRY_QT5_CFLAGS
12135 PINENTRY_QT5_LIBS=$pkg_cv_PINENTRY_QT5_LIBS
12136 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12137 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12138 have_qt5_libs="yes"
12139 fi
12140
12141 if "$PKG_CONFIG" --variable qt_config Qt5Core | grepscip-shell system . . grep. -q "reduce_relocations"; then
12142 PINENTRY_QT5_CFLAGS="$PINENTRY_QT5_CFLAGS -fpic"
12143 fi
12144 fi
12145 if testscip-shell system . . test. "$have_qt5_libs" = "yes"; then
12146
12147 pkg_failed=no
12148 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5Core >= 5.7.0" >&5
12149 printfscip-shell system . . printf. %s "checking for Qt5Core >= 5.7.0... " >&6; }
12150
12151 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12152 if testscip-shell system . . test. -n "$PINENTRY_QT5_REQUIRE_CPP11_CFLAGS"; then
12153 pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_CFLAGS="$PINENTRY_QT5_REQUIRE_CPP11_CFLAGS"
12154 else
12155 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12156 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.7.0\""; } >&5
12157 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.7.0") 2>&5
12158 ac_status=$?
12159 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12160 testscip-shell system . . test. $ac_status = 0; }; then
12161 pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core >= 5.7.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12162 else
12163 pkg_failed=yes
12164 fi
12165 fi
12166 else
12167 pkg_failed=untried
12168 fi
12169 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12170 if testscip-shell system . . test. -n "$PINENTRY_QT5_REQUIRE_CPP11_LIBS"; then
12171 pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_LIBS="$PINENTRY_QT5_REQUIRE_CPP11_LIBS"
12172 else
12173 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12174 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.7.0\""; } >&5
12175 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.7.0") 2>&5
12176 ac_status=$?
12177 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12178 testscip-shell system . . test. $ac_status = 0; }; then
12179 pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_LIBS=`$PKG_CONFIG --libs "Qt5Core >= 5.7.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12180 else
12181 pkg_failed=yes
12182 fi
12183 fi
12184 else
12185 pkg_failed=untried
12186 fi
12187
12188
12189
12190 if testscip-shell system . . test. $pkg_failed = yes; then
12191
12192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12193 _pkg_short_errors_supported=yes
12194 else
12195 _pkg_short_errors_supported=no
12196 fi
12197 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12198 PINENTRY_QT5_REQUIRE_CPP11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5Core >= 5.7.0"`
12199 else
12200 PINENTRY_QT5_REQUIRE_CPP11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5Core >= 5.7.0"`
12201 fi
12202 # Put the nasty error message in config.log where it belongs
12203 echoscip-shell system . . echo. "$PINENTRY_QT5_REQUIRE_CPP11_PKG_ERRORS" >&5
12204
12205 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12207 require_qt5_cpp11="no"
12208 elif testscip-shell system . . test. $pkg_failed = untried; then
12209 require_qt5_cpp11="no"
12210 else
12211 PINENTRY_QT5_REQUIRE_CPP11_CFLAGS=$pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_CFLAGS
12212 PINENTRY_QT5_REQUIRE_CPP11_LIBS=$pkg_cv_PINENTRY_QT5_REQUIRE_CPP11_LIBS
12213 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12214 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12215 require_qt5_cpp11="yes"
12216 fi
12217
12218 if testscip-shell system . . test. "${require_qt5_cpp11}" = "yes"; then
12219 PINENTRY_QT5_CFLAGS="$PINENTRY_QT5_CFLAGS -std=c++11"
12220 fi
12221
12222 qt5libdir=`"$PKG_CONFIG" --variable libdir Qt5Core`
12223 if testscip-shell system . . test. -n "$qt5libdir"; then
12224 if testscip-shell system . . test. "$enable_rpath" != "no"; then
12225 PINENTRY_QT5_LDFLAGS="$PINENTRY_QT5_LDFLAGS -Wl,-rpath \"$qt5libdir\""
12226 fi
12227 fi
12228
12229 if testscip-shell system . . test. "$have_x11" = "yes"; then
12230
12231 pkg_failed=no
12232 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5X11Extras >= 5.1.0" >&5
12233 printfscip-shell system . . printf. %s "checking for Qt5X11Extras >= 5.1.0... " >&6; }
12234
12235 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12236 if testscip-shell system . . test. -n "$PINENTRY_QT5_X11_EXTRAS_CFLAGS"; then
12237 pkg_cv_PINENTRY_QT5_X11_EXTRAS_CFLAGS="$PINENTRY_QT5_X11_EXTRAS_CFLAGS"
12238 else
12239 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12240 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras >= 5.1.0\""; } >&5
12241 ($PKG_CONFIG --exists --print-errors "Qt5X11Extras >= 5.1.0") 2>&5
12242 ac_status=$?
12243 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244 testscip-shell system . . test. $ac_status = 0; }; then
12245 pkg_cv_PINENTRY_QT5_X11_EXTRAS_CFLAGS=`$PKG_CONFIG --cflags "Qt5X11Extras >= 5.1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12246 else
12247 pkg_failed=yes
12248 fi
12249 fi
12250 else
12251 pkg_failed=untried
12252 fi
12253 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
12254 if testscip-shell system . . test. -n "$PINENTRY_QT5_X11_EXTRAS_LIBS"; then
12255 pkg_cv_PINENTRY_QT5_X11_EXTRAS_LIBS="$PINENTRY_QT5_X11_EXTRAS_LIBS"
12256 else
12257 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12258 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras >= 5.1.0\""; } >&5
12259 ($PKG_CONFIG --exists --print-errors "Qt5X11Extras >= 5.1.0") 2>&5
12260 ac_status=$?
12261 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12262 testscip-shell system . . test. $ac_status = 0; }; then
12263 pkg_cv_PINENTRY_QT5_X11_EXTRAS_LIBS=`$PKG_CONFIG --libs "Qt5X11Extras >= 5.1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12264 else
12265 pkg_failed=yes
12266 fi
12267 fi
12268 else
12269 pkg_failed=untried
12270 fi
12271
12272
12273
12274 if testscip-shell system . . test. $pkg_failed = yes; then
12275
12276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12277 _pkg_short_errors_supported=yes
12278 else
12279 _pkg_short_errors_supported=no
12280 fi
12281 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12282 PINENTRY_QT5_X11_EXTRAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5X11Extras >= 5.1.0"`
12283 else
12284 PINENTRY_QT5_X11_EXTRAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5X11Extras >= 5.1.0"`
12285 fi
12286 # Put the nasty error message in config.log where it belongs
12287 echoscip-shell system . . echo. "$PINENTRY_QT5_X11_EXTRAS_PKG_ERRORS" >&5
12288
12289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12291
12292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-qt will be built without Caps Lock warning on X11" >&5
12293 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-qt will be built without Caps Lock warning on X11" >&2;}
12294 have_qt5_x11extras="no"
12295
12296 elif testscip-shell system . . test. $pkg_failed = untried; then
12297
12298 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-qt will be built without Caps Lock warning on X11" >&5
12299 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-qt will be built without Caps Lock warning on X11" >&2;}
12300 have_qt5_x11extras="no"
12301
12302 else
12303 PINENTRY_QT5_X11_EXTRAS_CFLAGS=$pkg_cv_PINENTRY_QT5_X11_EXTRAS_CFLAGS
12304 PINENTRY_QT5_X11_EXTRAS_LIBS=$pkg_cv_PINENTRY_QT5_X11_EXTRAS_LIBS
12305 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12306 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12307 have_qt5_x11extras="yes"
12308 fi
12309 if testscip-shell system . . test. "$have_qt5_x11extras" = "yes"; then
12310 PINENTRY_QT5_CFLAGS="$LIBX11_CFLAGS $PINENTRY_QT5_CFLAGS $PINENTRY_QT5_X11_EXTRAS_CFLAGS"
12311 PINENTRY_QT5_LIBS="$LIBX11_LIBS $PINENTRY_QT5_LIBS $PINENTRY_QT5_X11_EXTRAS_LIBS"
12312 fi
12313 fi
12314
12315 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12316 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
12317 set dummy ${ac_tool_prefix}moc; ac_word=$2
12318 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12319 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12320 if testscip-shell system . . test. ${ac_cv_prog_MOC5+y}
12321 then :
12322 printfscip-shell system . . printf. %s "(cached) " >&6
12323 else $as_nop
12324 if testscip-shell system . . test. -n "$MOC5"; then
12325 ac_cv_prog_MOC5="$MOC5" # Let the user override the test.
12326 else
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12329 do
12330 IFS=$as_save_IFS
12331 case $as_dir in #(((
12332 '') as_dir=./ ;;
12333 */) ;;
12334 *) as_dir=$as_dir/ ;;
12335 esac
12336 for ac_exec_ext in '' $ac_executable_extensions; do
12337 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12338 ac_cv_prog_MOC5="${ac_tool_prefix}moc"
12339 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12340 break 2
12341 fi
12342 done
12343 done
12344 IFS=$as_save_IFS
12345
12346 fi
12347 fi
12348 MOC5=$ac_cv_prog_MOC5
12349 if testscip-shell system . . test. -n "$MOC5"; then
12350 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC5" >&5
12351 printfscip-shell system . . printf. "%s\n" "$MOC5" >&6; }
12352 else
12353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12354 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12355 fi
12356
12357
12358 fi
12359 if testscip-shell system . . test. -z "$ac_cv_prog_MOC5"; then
12360 ac_ct_MOC5=$MOC5
12361 # Extract the first word of "moc", so it can be a program name with args.
12362 set dummy moc; ac_word=$2
12363 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12365 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MOC5+y}
12366 then :
12367 printfscip-shell system . . printf. %s "(cached) " >&6
12368 else $as_nop
12369 if testscip-shell system . . test. -n "$ac_ct_MOC5"; then
12370 ac_cv_prog_ac_ct_MOC5="$ac_ct_MOC5" # Let the user override the test.
12371 else
12372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12373 for as_dir in $PATH
12374 do
12375 IFS=$as_save_IFS
12376 case $as_dir in #(((
12377 '') as_dir=./ ;;
12378 */) ;;
12379 *) as_dir=$as_dir/ ;;
12380 esac
12381 for ac_exec_ext in '' $ac_executable_extensions; do
12382 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12383 ac_cv_prog_ac_ct_MOC5="moc"
12384 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12385 break 2
12386 fi
12387 done
12388 done
12389 IFS=$as_save_IFS
12390
12391 fi
12392 fi
12393 ac_ct_MOC5=$ac_cv_prog_ac_ct_MOC5
12394 if testscip-shell system . . test. -n "$ac_ct_MOC5"; then
12395 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC5" >&5
12396 printfscip-shell system . . printf. "%s\n" "$ac_ct_MOC5" >&6; }
12397 else
12398 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12400 fi
12401
12402 if testscip-shell system . . test. "x$ac_ct_MOC5" = x; then
12403 MOC5=""
12404 else
12405 case $cross_compiling:$ac_tool_warned in
12406 yes:)
12407 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12408 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12409 ac_tool_warned=yes ;;
12410 esac
12411 MOC5=$ac_ct_MOC5
12412 fi
12413 else
12414 MOC5="$ac_cv_prog_MOC5"
12415 fi
12416
12417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking moc version" >&5
12418 printfscip-shell system . . printf. %s "checking moc version... " >&6; }
12419 mocversion=`$MOC5 -v 2>&1`
12420 mocversiongrep=`echoscip-shell system . . echo. $mocversion | grepscip-shell system . . grep. -E "Qt 5|moc 5"`
12421 if testscip-shell system . . test. x"$mocversiongrep" != x"$mocversion"; then
12422 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12424 # moc was not the qt5 one, try with moc-qt5
12425 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12426 # Extract the first word of "${ac_tool_prefix}moc-qt5", so it can be a program name with args.
12427 set dummy ${ac_tool_prefix}moc-qt5; ac_word=$2
12428 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12429 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12430 if testscip-shell system . . test. ${ac_cv_prog_MOC5_2+y}
12431 then :
12432 printfscip-shell system . . printf. %s "(cached) " >&6
12433 else $as_nop
12434 if testscip-shell system . . test. -n "$MOC5_2"; then
12435 ac_cv_prog_MOC5_2="$MOC5_2" # Let the user override the test.
12436 else
12437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12438 for as_dir in $PATH
12439 do
12440 IFS=$as_save_IFS
12441 case $as_dir in #(((
12442 '') as_dir=./ ;;
12443 */) ;;
12444 *) as_dir=$as_dir/ ;;
12445 esac
12446 for ac_exec_ext in '' $ac_executable_extensions; do
12447 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12448 ac_cv_prog_MOC5_2="${ac_tool_prefix}moc-qt5"
12449 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12450 break 2
12451 fi
12452 done
12453 done
12454 IFS=$as_save_IFS
12455
12456 fi
12457 fi
12458 MOC5_2=$ac_cv_prog_MOC5_2
12459 if testscip-shell system . . test. -n "$MOC5_2"; then
12460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC5_2" >&5
12461 printfscip-shell system . . printf. "%s\n" "$MOC5_2" >&6; }
12462 else
12463 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12465 fi
12466
12467
12468 fi
12469 if testscip-shell system . . test. -z "$ac_cv_prog_MOC5_2"; then
12470 ac_ct_MOC5_2=$MOC5_2
12471 # Extract the first word of "moc-qt5", so it can be a program name with args.
12472 set dummy moc-qt5; ac_word=$2
12473 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12474 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12475 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MOC5_2+y}
12476 then :
12477 printfscip-shell system . . printf. %s "(cached) " >&6
12478 else $as_nop
12479 if testscip-shell system . . test. -n "$ac_ct_MOC5_2"; then
12480 ac_cv_prog_ac_ct_MOC5_2="$ac_ct_MOC5_2" # Let the user override the test.
12481 else
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12484 do
12485 IFS=$as_save_IFS
12486 case $as_dir in #(((
12487 '') as_dir=./ ;;
12488 */) ;;
12489 *) as_dir=$as_dir/ ;;
12490 esac
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12493 ac_cv_prog_ac_ct_MOC5_2="moc-qt5"
12494 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12495 break 2
12496 fi
12497 done
12498 done
12499 IFS=$as_save_IFS
12500
12501 fi
12502 fi
12503 ac_ct_MOC5_2=$ac_cv_prog_ac_ct_MOC5_2
12504 if testscip-shell system . . test. -n "$ac_ct_MOC5_2"; then
12505 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC5_2" >&5
12506 printfscip-shell system . . printf. "%s\n" "$ac_ct_MOC5_2" >&6; }
12507 else
12508 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12510 fi
12511
12512 if testscip-shell system . . test. "x$ac_ct_MOC5_2" = x; then
12513 MOC5_2=""
12514 else
12515 case $cross_compiling:$ac_tool_warned in
12516 yes:)
12517 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12518 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12519 ac_tool_warned=yes ;;
12520 esac
12521 MOC5_2=$ac_ct_MOC5_2
12522 fi
12523 else
12524 MOC5_2="$ac_cv_prog_MOC5_2"
12525 fi
12526
12527 mocversion=`$MOC5_2 -v 2>&1`
12528 mocversiongrep=`echoscip-shell system . . echo. $mocversion | grepscip-shell system . . grep. -E "Qt 5|moc-qt5 5|moc 5"`
12529 if testscip-shell system . . test. x"$mocversiongrep" != x"$mocversion"; then
12530 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12531 # Extract the first word of "${ac_tool_prefix}qtchooser", so it can be a program name with args.
12532 set dummy ${ac_tool_prefix}qtchooser; ac_word=$2
12533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12534 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12535 if testscip-shell system . . test. ${ac_cv_prog_QTCHOOSER+y}
12536 then :
12537 printfscip-shell system . . printf. %s "(cached) " >&6
12538 else $as_nop
12539 if testscip-shell system . . test. -n "$QTCHOOSER"; then
12540 ac_cv_prog_QTCHOOSER="$QTCHOOSER" # Let the user override the test.
12541 else
12542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12543 for as_dir in $PATH
12544 do
12545 IFS=$as_save_IFS
12546 case $as_dir in #(((
12547 '') as_dir=./ ;;
12548 */) ;;
12549 *) as_dir=$as_dir/ ;;
12550 esac
12551 for ac_exec_ext in '' $ac_executable_extensions; do
12552 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12553 ac_cv_prog_QTCHOOSER="${ac_tool_prefix}qtchooser"
12554 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12555 break 2
12556 fi
12557 done
12558 done
12559 IFS=$as_save_IFS
12560
12561 fi
12562 fi
12563 QTCHOOSER=$ac_cv_prog_QTCHOOSER
12564 if testscip-shell system . . test. -n "$QTCHOOSER"; then
12565 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5
12566 printfscip-shell system . . printf. "%s\n" "$QTCHOOSER" >&6; }
12567 else
12568 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12570 fi
12571
12572
12573 fi
12574 if testscip-shell system . . test. -z "$ac_cv_prog_QTCHOOSER"; then
12575 ac_ct_QTCHOOSER=$QTCHOOSER
12576 # Extract the first word of "qtchooser", so it can be a program name with args.
12577 set dummy qtchooser; ac_word=$2
12578 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12579 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12580 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_QTCHOOSER+y}
12581 then :
12582 printfscip-shell system . . printf. %s "(cached) " >&6
12583 else $as_nop
12584 if testscip-shell system . . test. -n "$ac_ct_QTCHOOSER"; then
12585 ac_cv_prog_ac_ct_QTCHOOSER="$ac_ct_QTCHOOSER" # Let the user override the test.
12586 else
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $PATH
12589 do
12590 IFS=$as_save_IFS
12591 case $as_dir in #(((
12592 '') as_dir=./ ;;
12593 */) ;;
12594 *) as_dir=$as_dir/ ;;
12595 esac
12596 for ac_exec_ext in '' $ac_executable_extensions; do
12597 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12598 ac_cv_prog_ac_ct_QTCHOOSER="qtchooser"
12599 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12600 break 2
12601 fi
12602 done
12603 done
12604 IFS=$as_save_IFS
12605
12606 fi
12607 fi
12608 ac_ct_QTCHOOSER=$ac_cv_prog_ac_ct_QTCHOOSER
12609 if testscip-shell system . . test. -n "$ac_ct_QTCHOOSER"; then
12610 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_QTCHOOSER" >&5
12611 printfscip-shell system . . printf. "%s\n" "$ac_ct_QTCHOOSER" >&6; }
12612 else
12613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12614 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12615 fi
12616
12617 if testscip-shell system . . test. "x$ac_ct_QTCHOOSER" = x; then
12618 QTCHOOSER=""
12619 else
12620 case $cross_compiling:$ac_tool_warned in
12621 yes:)
12622 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12623 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12624 ac_tool_warned=yes ;;
12625 esac
12626 QTCHOOSER=$ac_ct_QTCHOOSER
12627 fi
12628 else
12629 QTCHOOSER="$ac_cv_prog_QTCHOOSER"
12630 fi
12631
12632 qt5tooldir=`QT_SELECT=qt5 qtchooser -print-env | grepscip-shell system . . grep. QTTOOLDIR | cutscip-shell system . . cut. -d '=' -f 2 | cutscip-shell system . . cut. -d \" -f 2`
12633 mocversion=`$qt5tooldir/moc -v 2>&1`
12634 mocversiongrep=`echoscip-shell system . . echo. $mocversion | grepscip-shell system . . grep. -E "Qt 5|moc 5"`
12635 if testscip-shell system . . test. x"$mocversiongrep" != x"$mocversion"; then
12636 # no valid moc found
12637 have_qt5_libs="no";
12638 else
12639 MOC5=$qt5tooldir/moc
12640 fi
12641 else
12642 MOC5=$MOC5_2
12643 fi
12644 fi
12645
12646 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12647 # Extract the first word of "${ac_tool_prefix}rcc", so it can be a program name with args.
12648 set dummy ${ac_tool_prefix}rcc; ac_word=$2
12649 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12650 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12651 if testscip-shell system . . test. ${ac_cv_prog_RCC5+y}
12652 then :
12653 printfscip-shell system . . printf. %s "(cached) " >&6
12654 else $as_nop
12655 if testscip-shell system . . test. -n "$RCC5"; then
12656 ac_cv_prog_RCC5="$RCC5" # Let the user override the test.
12657 else
12658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12659 for as_dir in $PATH
12660 do
12661 IFS=$as_save_IFS
12662 case $as_dir in #(((
12663 '') as_dir=./ ;;
12664 */) ;;
12665 *) as_dir=$as_dir/ ;;
12666 esac
12667 for ac_exec_ext in '' $ac_executable_extensions; do
12668 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12669 ac_cv_prog_RCC5="${ac_tool_prefix}rcc"
12670 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12671 break 2
12672 fi
12673 done
12674 done
12675 IFS=$as_save_IFS
12676
12677 fi
12678 fi
12679 RCC5=$ac_cv_prog_RCC5
12680 if testscip-shell system . . test. -n "$RCC5"; then
12681 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC5" >&5
12682 printfscip-shell system . . printf. "%s\n" "$RCC5" >&6; }
12683 else
12684 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12685 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12686 fi
12687
12688
12689 fi
12690 if testscip-shell system . . test. -z "$ac_cv_prog_RCC5"; then
12691 ac_ct_RCC5=$RCC5
12692 # Extract the first word of "rcc", so it can be a program name with args.
12693 set dummy rcc; ac_word=$2
12694 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12695 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12696 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RCC5+y}
12697 then :
12698 printfscip-shell system . . printf. %s "(cached) " >&6
12699 else $as_nop
12700 if testscip-shell system . . test. -n "$ac_ct_RCC5"; then
12701 ac_cv_prog_ac_ct_RCC5="$ac_ct_RCC5" # Let the user override the test.
12702 else
12703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12704 for as_dir in $PATH
12705 do
12706 IFS=$as_save_IFS
12707 case $as_dir in #(((
12708 '') as_dir=./ ;;
12709 */) ;;
12710 *) as_dir=$as_dir/ ;;
12711 esac
12712 for ac_exec_ext in '' $ac_executable_extensions; do
12713 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12714 ac_cv_prog_ac_ct_RCC5="rcc"
12715 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12716 break 2
12717 fi
12718 done
12719 done
12720 IFS=$as_save_IFS
12721
12722 fi
12723 fi
12724 ac_ct_RCC5=$ac_cv_prog_ac_ct_RCC5
12725 if testscip-shell system . . test. -n "$ac_ct_RCC5"; then
12726 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RCC5" >&5
12727 printfscip-shell system . . printf. "%s\n" "$ac_ct_RCC5" >&6; }
12728 else
12729 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12730 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12731 fi
12732
12733 if testscip-shell system . . test. "x$ac_ct_RCC5" = x; then
12734 RCC5=""
12735 else
12736 case $cross_compiling:$ac_tool_warned in
12737 yes:)
12738 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12739 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12740 ac_tool_warned=yes ;;
12741 esac
12742 RCC5=$ac_ct_RCC5
12743 fi
12744 else
12745 RCC5="$ac_cv_prog_RCC5"
12746 fi
12747
12748 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking rcc version" >&5
12749 printfscip-shell system . . printf. %s "checking rcc version... " >&6; }
12750 rccversion=`$RCC5 -v 2>&1`
12751 rccversiongrep=`echoscip-shell system . . echo. $rccversion | grepscip-shell system . . grep. -E "Qt 5|rcc 5"`
12752 if testscip-shell system . . test. x"$rccversiongrep" != x"$rccversion"; then
12753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12755 # rcc was not the qt5 one, try with rcc-qt5
12756 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12757 # Extract the first word of "${ac_tool_prefix}rcc-qt5", so it can be a program name with args.
12758 set dummy ${ac_tool_prefix}rcc-qt5; ac_word=$2
12759 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12760 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12761 if testscip-shell system . . test. ${ac_cv_prog_RCC5_2+y}
12762 then :
12763 printfscip-shell system . . printf. %s "(cached) " >&6
12764 else $as_nop
12765 if testscip-shell system . . test. -n "$RCC5_2"; then
12766 ac_cv_prog_RCC5_2="$RCC5_2" # Let the user override the test.
12767 else
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12770 do
12771 IFS=$as_save_IFS
12772 case $as_dir in #(((
12773 '') as_dir=./ ;;
12774 */) ;;
12775 *) as_dir=$as_dir/ ;;
12776 esac
12777 for ac_exec_ext in '' $ac_executable_extensions; do
12778 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12779 ac_cv_prog_RCC5_2="${ac_tool_prefix}rcc-qt5"
12780 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12781 break 2
12782 fi
12783 done
12784 done
12785 IFS=$as_save_IFS
12786
12787 fi
12788 fi
12789 RCC5_2=$ac_cv_prog_RCC5_2
12790 if testscip-shell system . . test. -n "$RCC5_2"; then
12791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC5_2" >&5
12792 printfscip-shell system . . printf. "%s\n" "$RCC5_2" >&6; }
12793 else
12794 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12796 fi
12797
12798
12799 fi
12800 if testscip-shell system . . test. -z "$ac_cv_prog_RCC5_2"; then
12801 ac_ct_RCC5_2=$RCC5_2
12802 # Extract the first word of "rcc-qt5", so it can be a program name with args.
12803 set dummy rcc-qt5; ac_word=$2
12804 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12805 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12806 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RCC5_2+y}
12807 then :
12808 printfscip-shell system . . printf. %s "(cached) " >&6
12809 else $as_nop
12810 if testscip-shell system . . test. -n "$ac_ct_RCC5_2"; then
12811 ac_cv_prog_ac_ct_RCC5_2="$ac_ct_RCC5_2" # Let the user override the test.
12812 else
12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12815 do
12816 IFS=$as_save_IFS
12817 case $as_dir in #(((
12818 '') as_dir=./ ;;
12819 */) ;;
12820 *) as_dir=$as_dir/ ;;
12821 esac
12822 for ac_exec_ext in '' $ac_executable_extensions; do
12823 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12824 ac_cv_prog_ac_ct_RCC5_2="rcc-qt5"
12825 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12826 break 2
12827 fi
12828 done
12829 done
12830 IFS=$as_save_IFS
12831
12832 fi
12833 fi
12834 ac_ct_RCC5_2=$ac_cv_prog_ac_ct_RCC5_2
12835 if testscip-shell system . . test. -n "$ac_ct_RCC5_2"; then
12836 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RCC5_2" >&5
12837 printfscip-shell system . . printf. "%s\n" "$ac_ct_RCC5_2" >&6; }
12838 else
12839 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12841 fi
12842
12843 if testscip-shell system . . test. "x$ac_ct_RCC5_2" = x; then
12844 RCC5_2=""
12845 else
12846 case $cross_compiling:$ac_tool_warned in
12847 yes:)
12848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12849 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12850 ac_tool_warned=yes ;;
12851 esac
12852 RCC5_2=$ac_ct_RCC5_2
12853 fi
12854 else
12855 RCC5_2="$ac_cv_prog_RCC5_2"
12856 fi
12857
12858 rccversion=`$RCC5_2 -v 2>&1`
12859 rccversiongrep=`echoscip-shell system . . echo. $rccversion | grepscip-shell system . . grep. -E "Qt 5|rcc-qt5 5|rcc 5"`
12860 if testscip-shell system . . test. x"$rccversiongrep" != x"$rccversion"; then
12861 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
12862 # Extract the first word of "${ac_tool_prefix}qtchooser", so it can be a program name with args.
12863 set dummy ${ac_tool_prefix}qtchooser; ac_word=$2
12864 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12866 if testscip-shell system . . test. ${ac_cv_prog_QTCHOOSER+y}
12867 then :
12868 printfscip-shell system . . printf. %s "(cached) " >&6
12869 else $as_nop
12870 if testscip-shell system . . test. -n "$QTCHOOSER"; then
12871 ac_cv_prog_QTCHOOSER="$QTCHOOSER" # Let the user override the test.
12872 else
12873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12874 for as_dir in $PATH
12875 do
12876 IFS=$as_save_IFS
12877 case $as_dir in #(((
12878 '') as_dir=./ ;;
12879 */) ;;
12880 *) as_dir=$as_dir/ ;;
12881 esac
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12884 ac_cv_prog_QTCHOOSER="${ac_tool_prefix}qtchooser"
12885 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12886 break 2
12887 fi
12888 done
12889 done
12890 IFS=$as_save_IFS
12891
12892 fi
12893 fi
12894 QTCHOOSER=$ac_cv_prog_QTCHOOSER
12895 if testscip-shell system . . test. -n "$QTCHOOSER"; then
12896 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5
12897 printfscip-shell system . . printf. "%s\n" "$QTCHOOSER" >&6; }
12898 else
12899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12901 fi
12902
12903
12904 fi
12905 if testscip-shell system . . test. -z "$ac_cv_prog_QTCHOOSER"; then
12906 ac_ct_QTCHOOSER=$QTCHOOSER
12907 # Extract the first word of "qtchooser", so it can be a program name with args.
12908 set dummy qtchooser; ac_word=$2
12909 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12910 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12911 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_QTCHOOSER+y}
12912 then :
12913 printfscip-shell system . . printf. %s "(cached) " >&6
12914 else $as_nop
12915 if testscip-shell system . . test. -n "$ac_ct_QTCHOOSER"; then
12916 ac_cv_prog_ac_ct_QTCHOOSER="$ac_ct_QTCHOOSER" # Let the user override the test.
12917 else
12918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12919 for as_dir in $PATH
12920 do
12921 IFS=$as_save_IFS
12922 case $as_dir in #(((
12923 '') as_dir=./ ;;
12924 */) ;;
12925 *) as_dir=$as_dir/ ;;
12926 esac
12927 for ac_exec_ext in '' $ac_executable_extensions; do
12928 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12929 ac_cv_prog_ac_ct_QTCHOOSER="qtchooser"
12930 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12931 break 2
12932 fi
12933 done
12934 done
12935 IFS=$as_save_IFS
12936
12937 fi
12938 fi
12939 ac_ct_QTCHOOSER=$ac_cv_prog_ac_ct_QTCHOOSER
12940 if testscip-shell system . . test. -n "$ac_ct_QTCHOOSER"; then
12941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_QTCHOOSER" >&5
12942 printfscip-shell system . . printf. "%s\n" "$ac_ct_QTCHOOSER" >&6; }
12943 else
12944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12946 fi
12947
12948 if testscip-shell system . . test. "x$ac_ct_QTCHOOSER" = x; then
12949 QTCHOOSER=""
12950 else
12951 case $cross_compiling:$ac_tool_warned in
12952 yes:)
12953 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12954 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12955 ac_tool_warned=yes ;;
12956 esac
12957 QTCHOOSER=$ac_ct_QTCHOOSER
12958 fi
12959 else
12960 QTCHOOSER="$ac_cv_prog_QTCHOOSER"
12961 fi
12962
12963 qt5tooldir=`QT_SELECT=qt5 qtchooser -print-env | grepscip-shell system . . grep. QTTOOLDIR | cutscip-shell system . . cut. -d '=' -f 2 | cutscip-shell system . . cut. -d \" -f 2`
12964 rccversion=`$qt5tooldir/rcc -v 2>&1`
12965 rccversiongrep=`echoscip-shell system . . echo. $rccversion | grepscip-shell system . . grep. -E "Qt 5|rcc 5"`
12966 if testscip-shell system . . test. x"$rccversiongrep" != x"$rccversion"; then
12967 # no valid rcc found
12968 have_qt5_libs="no";
12969 else
12970 RCC5=$qt5tooldir/rcc
12971 fi
12972 else
12973 RCC5=$RCC5_2
12974 fi
12975 fi
12976
12977 fi
12978
12979 if testscip-shell system . . test. "$have_qt5_libs" != "yes"; then
12980 if testscip-shell system . . test. "$pinentry_qt5" = "yes"; then
12981 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
12982 ***
12983 *** Qt5 (Qt5Core, Qt5Gui, Qt5Widgets) is required.
12984 ***" "$LINENO" 5
12985 else
12986 pinentry_qt5=no
12987 fi
12988 fi
12989 fi
12990
12991
12992
12993
12994
12995
12996 if testscip-shell system . . test. "$pinentry_qt5" != "no"; then
12997 pinentry_qt5=yes
12998 fi
12999 if testscip-shell system . . test. "$pinentry_qt5" = "yes"; then
13000 BUILD_PINENTRY_QT5_TRUE=
13001 BUILD_PINENTRY_QT5_FALSE='#'
13002 else
13003 BUILD_PINENTRY_QT5_TRUE='#'
13004 BUILD_PINENTRY_QT5_FALSE=
13005 fi
13006
13007 if testscip-shell system . . test. "$have_qt5_x11extras" = "yes"; then
13008
13009 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_QT5_X11 1" >>confdefs.h
13010
13011 else
13012
13013 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_QT5_X11 0" >>confdefs.h
13014
13015 fi
13016 if testscip-shell system . . test. "$have_kf5waylandclient" = "yes"; then
13017 PINENTRY_QT5_CFLAGS="$KF5WAYLANDCLIENT_CFLAGS $PINENTRY_QT5_CFLAGS -fPIC"
13018 PINENTRY_QT5_LIBS="$KF5WAYLANDCLIENT_LIBS $PINENTRY_QT5_LIBS"
13019
13020 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_QT5_WAYLAND 1" >>confdefs.h
13021
13022 else
13023 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
13024 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-qt5 will be built without Caps Lock warning on Wayland" >&5
13025 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-qt5 will be built without Caps Lock warning on Wayland" >&2;}
13026 fi
13027
13028 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_QT5_WAYLAND 0" >>confdefs.h
13029
13030 fi
13031
13032 # Check whether --enable-pinentry-qt was given.
13033 if testscip-shell system . . test. ${enable_pinentry_qt+y}
13034 then :
13035 enableval=$enable_pinentry_qt; pinentry_qt6=$enableval
13036 else $as_nop
13037 pinentry_qt6=maybe
13038 fi
13039
13040
13041
13042 if testscip-shell system . . test. "$pinentry_qt6" != "no"; then
13043
13044
13045 have_qt6_libs="no";
13046
13047
13048 pkg_failed=no
13049 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0" >&5
13050 printfscip-shell system . . printf. %s "checking for Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0... " >&6; }
13051
13052 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13053 if testscip-shell system . . test. -n "$PINENTRY_QT6_CFLAGS"; then
13054 pkg_cv_PINENTRY_QT6_CFLAGS="$PINENTRY_QT6_CFLAGS"
13055 else
13056 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13057 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0\""; } >&5
13058 ($PKG_CONFIG --exists --print-errors "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0") 2>&5
13059 ac_status=$?
13060 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13061 testscip-shell system . . test. $ac_status = 0; }; then
13062 pkg_cv_PINENTRY_QT6_CFLAGS=`$PKG_CONFIG --cflags "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13063 else
13064 pkg_failed=yes
13065 fi
13066 fi
13067 else
13068 pkg_failed=untried
13069 fi
13070 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13071 if testscip-shell system . . test. -n "$PINENTRY_QT6_LIBS"; then
13072 pkg_cv_PINENTRY_QT6_LIBS="$PINENTRY_QT6_LIBS"
13073 else
13074 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13075 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0\""; } >&5
13076 ($PKG_CONFIG --exists --print-errors "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0") 2>&5
13077 ac_status=$?
13078 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079 testscip-shell system . . test. $ac_status = 0; }; then
13080 pkg_cv_PINENTRY_QT6_LIBS=`$PKG_CONFIG --libs "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13081 else
13082 pkg_failed=yes
13083 fi
13084 fi
13085 else
13086 pkg_failed=untried
13087 fi
13088
13089
13090
13091 if testscip-shell system . . test. $pkg_failed = yes; then
13092
13093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13094 _pkg_short_errors_supported=yes
13095 else
13096 _pkg_short_errors_supported=no
13097 fi
13098 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
13099 PINENTRY_QT6_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0"`
13100 else
13101 PINENTRY_QT6_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt6Core >= 6.4.0 Qt6Gui >= 6.4.0 Qt6Widgets >= 6.4.0"`
13102 fi
13103 # Put the nasty error message in config.log where it belongs
13104 echoscip-shell system . . echo. "$PINENTRY_QT6_PKG_ERRORS" >&5
13105
13106 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13107 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13108 have_qt6_libs="no"
13109 elif testscip-shell system . . test. $pkg_failed = untried; then
13110 have_qt6_libs="no"
13111 else
13112 PINENTRY_QT6_CFLAGS=$pkg_cv_PINENTRY_QT6_CFLAGS
13113 PINENTRY_QT6_LIBS=$pkg_cv_PINENTRY_QT6_LIBS
13114 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13115 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
13116 have_qt6_libs="yes"
13117 fi
13118
13119
13120 pkg_failed=no
13121 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt6Test >= 6.4.0" >&5
13122 printfscip-shell system . . printf. %s "checking for Qt6Test >= 6.4.0... " >&6; }
13123
13124 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13125 if testscip-shell system . . test. -n "$PINENTRY_QT6TEST_CFLAGS"; then
13126 pkg_cv_PINENTRY_QT6TEST_CFLAGS="$PINENTRY_QT6TEST_CFLAGS"
13127 else
13128 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13129 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Test >= 6.4.0\""; } >&5
13130 ($PKG_CONFIG --exists --print-errors "Qt6Test >= 6.4.0") 2>&5
13131 ac_status=$?
13132 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13133 testscip-shell system . . test. $ac_status = 0; }; then
13134 pkg_cv_PINENTRY_QT6TEST_CFLAGS=`$PKG_CONFIG --cflags "Qt6Test >= 6.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13135 else
13136 pkg_failed=yes
13137 fi
13138 fi
13139 else
13140 pkg_failed=untried
13141 fi
13142 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13143 if testscip-shell system . . test. -n "$PINENTRY_QT6TEST_LIBS"; then
13144 pkg_cv_PINENTRY_QT6TEST_LIBS="$PINENTRY_QT6TEST_LIBS"
13145 else
13146 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13147 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Test >= 6.4.0\""; } >&5
13148 ($PKG_CONFIG --exists --print-errors "Qt6Test >= 6.4.0") 2>&5
13149 ac_status=$?
13150 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13151 testscip-shell system . . test. $ac_status = 0; }; then
13152 pkg_cv_PINENTRY_QT6TEST_LIBS=`$PKG_CONFIG --libs "Qt6Test >= 6.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13153 else
13154 pkg_failed=yes
13155 fi
13156 fi
13157 else
13158 pkg_failed=untried
13159 fi
13160
13161
13162
13163 if testscip-shell system . . test. $pkg_failed = yes; then
13164
13165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13166 _pkg_short_errors_supported=yes
13167 else
13168 _pkg_short_errors_supported=no
13169 fi
13170 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
13171 PINENTRY_QT6TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt6Test >= 6.4.0"`
13172 else
13173 PINENTRY_QT6TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt6Test >= 6.4.0"`
13174 fi
13175 # Put the nasty error message in config.log where it belongs
13176 echoscip-shell system . . echo. "$PINENTRY_QT6TEST_PKG_ERRORS" >&5
13177
13178 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13179 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13180 have_qt6test_libs="no"
13181 elif testscip-shell system . . test. $pkg_failed = untried; then
13182 have_qt6test_libs="no"
13183 else
13184 PINENTRY_QT6TEST_CFLAGS=$pkg_cv_PINENTRY_QT6TEST_CFLAGS
13185 PINENTRY_QT6TEST_LIBS=$pkg_cv_PINENTRY_QT6TEST_LIBS
13186 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13187 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
13188 have_qt6test_libs="yes"
13189 fi
13190
13191 if testscip-shell system . . test. "$have_qt6_libs" = "yes"; then
13192 # Qt6 moved moc to libexec
13193 qt6libexecdir=$($PKG_CONFIG --variable=libexecdir 'Qt6Core >= 6.4.0')
13194 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
13195 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
13196 set dummy ${ac_tool_prefix}moc; ac_word=$2
13197 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13198 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13199 if testscip-shell system . . test. ${ac_cv_path_MOC6+y}
13200 then :
13201 printfscip-shell system . . printf. %s "(cached) " >&6
13202 else $as_nop
13203 case $MOC6 in
13204 [\\/]* | ?:[\\/]*)
13205 ac_cv_path_MOC6="$MOC6" # Let the user override the test with a path.
13206 ;;
13207 *)
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $qt6libexecdir
13210 do
13211 IFS=$as_save_IFS
13212 case $as_dir in #(((
13213 '') as_dir=./ ;;
13214 */) ;;
13215 *) as_dir=$as_dir/ ;;
13216 esac
13217 for ac_exec_ext in '' $ac_executable_extensions; do
13218 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13219 ac_cv_path_MOC6="$as_dir$ac_word$ac_exec_ext"
13220 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13221 break 2
13222 fi
13223 done
13224 done
13225 IFS=$as_save_IFS
13226
13227 ;;
13228 esac
13229 fi
13230 MOC6=$ac_cv_path_MOC6
13231 if testscip-shell system . . test. -n "$MOC6"; then
13232 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC6" >&5
13233 printfscip-shell system . . printf. "%s\n" "$MOC6" >&6; }
13234 else
13235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13237 fi
13238
13239
13240 fi
13241 if testscip-shell system . . test. -z "$ac_cv_path_MOC6"; then
13242 ac_pt_MOC6=$MOC6
13243 # Extract the first word of "moc", so it can be a program name with args.
13244 set dummy moc; ac_word=$2
13245 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13246 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13247 if testscip-shell system . . test. ${ac_cv_path_ac_pt_MOC6+y}
13248 then :
13249 printfscip-shell system . . printf. %s "(cached) " >&6
13250 else $as_nop
13251 case $ac_pt_MOC6 in
13252 [\\/]* | ?:[\\/]*)
13253 ac_cv_path_ac_pt_MOC6="$ac_pt_MOC6" # Let the user override the test with a path.
13254 ;;
13255 *)
13256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13257 for as_dir in $qt6libexecdir
13258 do
13259 IFS=$as_save_IFS
13260 case $as_dir in #(((
13261 '') as_dir=./ ;;
13262 */) ;;
13263 *) as_dir=$as_dir/ ;;
13264 esac
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13267 ac_cv_path_ac_pt_MOC6="$as_dir$ac_word$ac_exec_ext"
13268 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13269 break 2
13270 fi
13271 done
13272 done
13273 IFS=$as_save_IFS
13274
13275 ;;
13276 esac
13277 fi
13278 ac_pt_MOC6=$ac_cv_path_ac_pt_MOC6
13279 if testscip-shell system . . test. -n "$ac_pt_MOC6"; then
13280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MOC6" >&5
13281 printfscip-shell system . . printf. "%s\n" "$ac_pt_MOC6" >&6; }
13282 else
13283 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13284 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13285 fi
13286
13287 if testscip-shell system . . test. "x$ac_pt_MOC6" = x; then
13288 MOC6=""
13289 else
13290 case $cross_compiling:$ac_tool_warned in
13291 yes:)
13292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13293 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13294 ac_tool_warned=yes ;;
13295 esac
13296 MOC6=$ac_pt_MOC6
13297 fi
13298 else
13299 MOC6="$ac_cv_path_MOC6"
13300 fi
13301
13302 if testscip-shell system . . test. -z "$MOC6"; then
13303 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: moc not found - Qt 6 binding will not be built." >&5
13304 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: moc not found - Qt 6 binding will not be built." >&2;}
13305 have_qt6_libs="no";
13306 fi
13307 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
13308 # Extract the first word of "${ac_tool_prefix}rcc", so it can be a program name with args.
13309 set dummy ${ac_tool_prefix}rcc; ac_word=$2
13310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13311 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13312 if testscip-shell system . . test. ${ac_cv_path_RCC6+y}
13313 then :
13314 printfscip-shell system . . printf. %s "(cached) " >&6
13315 else $as_nop
13316 case $RCC6 in
13317 [\\/]* | ?:[\\/]*)
13318 ac_cv_path_RCC6="$RCC6" # Let the user override the test with a path.
13319 ;;
13320 *)
13321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13322 for as_dir in $qt6libexecdir
13323 do
13324 IFS=$as_save_IFS
13325 case $as_dir in #(((
13326 '') as_dir=./ ;;
13327 */) ;;
13328 *) as_dir=$as_dir/ ;;
13329 esac
13330 for ac_exec_ext in '' $ac_executable_extensions; do
13331 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13332 ac_cv_path_RCC6="$as_dir$ac_word$ac_exec_ext"
13333 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13334 break 2
13335 fi
13336 done
13337 done
13338 IFS=$as_save_IFS
13339
13340 ;;
13341 esac
13342 fi
13343 RCC6=$ac_cv_path_RCC6
13344 if testscip-shell system . . test. -n "$RCC6"; then
13345 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCC6" >&5
13346 printfscip-shell system . . printf. "%s\n" "$RCC6" >&6; }
13347 else
13348 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13350 fi
13351
13352
13353 fi
13354 if testscip-shell system . . test. -z "$ac_cv_path_RCC6"; then
13355 ac_pt_RCC6=$RCC6
13356 # Extract the first word of "rcc", so it can be a program name with args.
13357 set dummy rcc; ac_word=$2
13358 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13359 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13360 if testscip-shell system . . test. ${ac_cv_path_ac_pt_RCC6+y}
13361 then :
13362 printfscip-shell system . . printf. %s "(cached) " >&6
13363 else $as_nop
13364 case $ac_pt_RCC6 in
13365 [\\/]* | ?:[\\/]*)
13366 ac_cv_path_ac_pt_RCC6="$ac_pt_RCC6" # Let the user override the test with a path.
13367 ;;
13368 *)
13369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13370 for as_dir in $qt6libexecdir
13371 do
13372 IFS=$as_save_IFS
13373 case $as_dir in #(((
13374 '') as_dir=./ ;;
13375 */) ;;
13376 *) as_dir=$as_dir/ ;;
13377 esac
13378 for ac_exec_ext in '' $ac_executable_extensions; do
13379 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13380 ac_cv_path_ac_pt_RCC6="$as_dir$ac_word$ac_exec_ext"
13381 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13382 break 2
13383 fi
13384 done
13385 done
13386 IFS=$as_save_IFS
13387
13388 ;;
13389 esac
13390 fi
13391 ac_pt_RCC6=$ac_cv_path_ac_pt_RCC6
13392 if testscip-shell system . . test. -n "$ac_pt_RCC6"; then
13393 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RCC6" >&5
13394 printfscip-shell system . . printf. "%s\n" "$ac_pt_RCC6" >&6; }
13395 else
13396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13397 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13398 fi
13399
13400 if testscip-shell system . . test. "x$ac_pt_RCC6" = x; then
13401 RCC6=""
13402 else
13403 case $cross_compiling:$ac_tool_warned in
13404 yes:)
13405 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13406 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13407 ac_tool_warned=yes ;;
13408 esac
13409 RCC6=$ac_pt_RCC6
13410 fi
13411 else
13412 RCC6="$ac_cv_path_RCC6"
13413 fi
13414
13415 if testscip-shell system . . test. -z "$RCC6"; then
13416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: rcc not found - Qt 6 binding will not be built." >&5
13417 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: rcc not found - Qt 6 binding will not be built." >&2;}
13418 have_qt6_libs="no";
13419 fi
13420 fi
13421
13422 if testscip-shell system . . test. "$have_qt6_libs" = "yes"; then
13423 if testscip-shell system . . test. "$have_w32_system" != yes; then
13424 mkspecsdir=$($PKG_CONFIG --variable mkspecsdir Qt6Platform)
13425 if testscip-shell system . . test. -z "$mkspecsdir"; then
13426 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Failed to determine Qt's mkspecs directory. Cannot check its build configuration." >&5
13427 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Failed to determine Qt's mkspecs directory. Cannot check its build configuration." >&2;}
13428 fi
13429 fi
13430
13431 # check if we need -fPIC
13432 if testscip-shell system . . test. -z "$use_reduce_relocations" && testscip-shell system . . test. -n "$mkspecsdir"; then
13433 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Qt was built with -fPIC" >&5
13434 printfscip-shell system . . printf. %s "checking whether Qt was built with -fPIC... " >&6; }
13435 if grepscip-shell system . . grep. -q "QT_CONFIG .* reduce_relocations" $mkspecsdir/qconfig.pri; then
13436 use_reduce_relocations="yes"
13437 else
13438 use_reduce_relocations="no"
13439 fi
13440 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $use_reduce_relocations" >&5
13441 printfscip-shell system . . printf. "%s\n" "$use_reduce_relocations" >&6; }
13442 fi
13443 if testscip-shell system . . test. "$use_reduce_relocations" = yes; then
13444 PINENTRY_QT6_CFLAGS="$PINENTRY_QT6_CFLAGS -fPIC"
13445 fi
13446
13447 # check if we need -mno-direct-extern-access
13448 if testscip-shell system . . test. "$have_no_direct_extern_access" = yes; then
13449 if testscip-shell system . . test. -z "$use_no_direct_extern_access" && testscip-shell system . . test. -n "$mkspecsdir"; then
13450 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Qt was built with -mno-direct-extern-access" >&5
13451 printfscip-shell system . . printf. %s "checking whether Qt was built with -mno-direct-extern-access... " >&6; }
13452 if grepscip-shell system . . grep. -q "QT_CONFIG .* no_direct_extern_access" $mkspecsdir/qconfig.pri; then
13453 use_no_direct_extern_access="yes"
13454 else
13455 use_no_direct_extern_access="no"
13456 fi
13457 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $use_no_direct_extern_access" >&5
13458 printfscip-shell system . . printf. "%s\n" "$use_no_direct_extern_access" >&6; }
13459 fi
13460 if testscip-shell system . . test. "$use_no_direct_extern_access" = yes; then
13461 PINENTRY_QT6_CFLAGS="$PINENTRY_QT6_CFLAGS -mno-direct-extern-access"
13462 fi
13463 fi
13464
13465 OLDCPPFLAGS=$CPPFLAGS
13466 OLDLIBS=$LIBS
13467
13468 CPPFLAGS=$PINENTRY_QT6_CFLAGS
13469 LIBS=$PINENTRY_QT6_LIBS
13470 ac_ext=cpp
13471 ac_cpp='$CXXCPP $CPPFLAGS'
13472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13475
13476 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a simple Qt program can be built" >&5
13477 printfscip-shell system . . printf. %s "checking whether a simple Qt program can be built... " >&6; }
13478 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480
13481 #include <QCoreApplication>
13482 int main (int argc, char **argv) {
13483 QCoreApplication app(argc, argv);
13484 app.exec();
13485 }
13486 _ACEOF
13487 if ac_fn_cxx_try_linkscip-shell shell shell-project 0.0.0 ac_fn_cxx_try_link(). "$LINENO"
13488 then :
13489 have_qt6_libs='yes'
13490 else $as_nop
13491 have_qt6_libs='no'
13492 fi
13493 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13494 conftest$ac_exeext conftest.$ac_ext
13495 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_qt6_libs" >&5
13496 printfscip-shell system . . printf. "%s\n" "$have_qt6_libs" >&6; }
13497 ac_ext=c
13498 ac_cpp='$CPP $CPPFLAGS'
13499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13502
13503
13504 CPPFLAGS=$OLDCPPFLAGS
13505 LIBS=$OLDLIBS
13506 fi
13507
13508 if testscip-shell system . . test. "$have_qt6_libs" != "yes"; then
13509 if testscip-shell system . . test. "$pinentry_qt6" = "yes"; then
13510 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
13511 ***
13512 *** Qt6 (Qt6Core, Qt6Gui, Qt6Widgets) is required.
13513 ***" "$LINENO" 5
13514 else
13515 pinentry_qt6=no
13516 fi
13517 fi
13518 fi
13519
13520
13521
13522
13523
13524
13525 if testscip-shell system . . test. "$pinentry_qt6" != "no"; then
13526 pinentry_qt6=yes
13527 fi
13528 if testscip-shell system . . test. "$pinentry_qt6" = "yes"; then
13529 BUILD_PINENTRY_QT6_TRUE=
13530 BUILD_PINENTRY_QT6_FALSE='#'
13531 else
13532 BUILD_PINENTRY_QT6_TRUE='#'
13533 BUILD_PINENTRY_QT6_FALSE=
13534 fi
13535
13536 if testscip-shell system . . test. "$have_kf6guiaddons" = "yes"; then
13537 PINENTRY_QT6_CFLAGS="$KF6GUIADDONS_CFLAGS $PINENTRY_QT6_CFLAGS"
13538 PINENTRY_QT6_LIBS="$KF6GUIADDONS_LIBS $PINENTRY_QT6_LIBS"
13539
13540 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_KGUIADDONS 1" >>confdefs.h
13541
13542 else
13543 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
13544 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-qt will be built without Caps Lock warning on Unix" >&5
13545 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-qt will be built without Caps Lock warning on Unix" >&2;}
13546 fi
13547
13548 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_KGUIADDONS 0" >>confdefs.h
13549
13550 fi
13551
13552 have_kf6windowsystem=no
13553 if testscip-shell system . . test. "$have_w32_system" != "yes" && testscip-shell system . . test. "$pinentry_qt6" = "yes"; then
13554
13555 pkg_failed=no
13556 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for KF6WindowSystem >= 5.240" >&5
13557 printfscip-shell system . . printf. %s "checking for KF6WindowSystem >= 5.240... " >&6; }
13558
13559 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13560 if testscip-shell system . . test. -n "$KF6WINDOWSYSTEM_CFLAGS"; then
13561 pkg_cv_KF6WINDOWSYSTEM_CFLAGS="$KF6WINDOWSYSTEM_CFLAGS"
13562 else
13563 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13564 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF6WindowSystem >= 5.240\""; } >&5
13565 ($PKG_CONFIG --exists --print-errors "KF6WindowSystem >= 5.240") 2>&5
13566 ac_status=$?
13567 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13568 testscip-shell system . . test. $ac_status = 0; }; then
13569 pkg_cv_KF6WINDOWSYSTEM_CFLAGS=`$PKG_CONFIG --cflags "KF6WindowSystem >= 5.240" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13570 else
13571 pkg_failed=yes
13572 fi
13573 fi
13574 else
13575 pkg_failed=untried
13576 fi
13577 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13578 if testscip-shell system . . test. -n "$KF6WINDOWSYSTEM_LIBS"; then
13579 pkg_cv_KF6WINDOWSYSTEM_LIBS="$KF6WINDOWSYSTEM_LIBS"
13580 else
13581 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13582 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"KF6WindowSystem >= 5.240\""; } >&5
13583 ($PKG_CONFIG --exists --print-errors "KF6WindowSystem >= 5.240") 2>&5
13584 ac_status=$?
13585 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13586 testscip-shell system . . test. $ac_status = 0; }; then
13587 pkg_cv_KF6WINDOWSYSTEM_LIBS=`$PKG_CONFIG --libs "KF6WindowSystem >= 5.240" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13588 else
13589 pkg_failed=yes
13590 fi
13591 fi
13592 else
13593 pkg_failed=untried
13594 fi
13595
13596
13597
13598 if testscip-shell system . . test. $pkg_failed = yes; then
13599
13600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13601 _pkg_short_errors_supported=yes
13602 else
13603 _pkg_short_errors_supported=no
13604 fi
13605 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
13606 KF6WINDOWSYSTEM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "KF6WindowSystem >= 5.240"`
13607 else
13608 KF6WINDOWSYSTEM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "KF6WindowSystem >= 5.240"`
13609 fi
13610 # Put the nasty error message in config.log where it belongs
13611 echoscip-shell system . . echo. "$KF6WINDOWSYSTEM_PKG_ERRORS" >&5
13612
13613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13615
13616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF6WindowSystem" >&5
13617 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF6WindowSystem" >&2;}
13618 have_kf6windowsystem=no
13619
13620
13621 elif testscip-shell system . . test. $pkg_failed = untried; then
13622
13623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config could not find the module KF6WindowSystem" >&5
13624 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pkg-config could not find the module KF6WindowSystem" >&2;}
13625 have_kf6windowsystem=no
13626
13627
13628 else
13629 KF6WINDOWSYSTEM_CFLAGS=$pkg_cv_KF6WINDOWSYSTEM_CFLAGS
13630 KF6WINDOWSYSTEM_LIBS=$pkg_cv_KF6WINDOWSYSTEM_LIBS
13631 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13632 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
13633 have_kf6windowsystem=yes
13634 fi
13635 fi
13636
13637 if testscip-shell system . . test. "$have_kf6windowsystem" = "yes"; then
13638 PINENTRY_QT6_CFLAGS="$KF6WINDOWSYSTEM_CFLAGS $PINENTRY_QT6_CFLAGS"
13639 PINENTRY_QT6_LIBS="$KF6WINDOWSYSTEM_LIBS $PINENTRY_QT6_LIBS"
13640
13641 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_KWINDOWSYSTEM 1" >>confdefs.h
13642
13643 else
13644 if testscip-shell system . . test. "$have_w32_system" != "yes"; then
13645 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pinentry-qt will be built without window parenting on wayland" >&5
13646 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: pinentry-qt will be built without window parenting on wayland" >&2;}
13647 fi
13648
13649 printfscip-shell system . . printf. "%s\n" "#define PINENTRY_KWINDOWSYSTEM 0" >>confdefs.h
13650
13651 fi
13652
13653 # Check whether --enable-pinentry-qt4 was given.
13654 if testscip-shell system . . test. ${enable_pinentry_qt4+y}
13655 then :
13656 enableval=$enable_pinentry_qt4; pinentry_qt4=$enableval
13657 else $as_nop
13658 pinentry_qt4=maybe
13659 fi
13660
13661
13662
13663 if testscip-shell system . . test. "$pinentry_qt4" != "no"; then
13664
13665 have_qt4_libs="no";
13666
13667 if testscip-shell system . . test. "$enable_pinentry_qt4" != "no"; then
13668
13669 pkg_failed=no
13670 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QtCore >= 4.6.0 QtGui >= 4.6.0" >&5
13671 printfscip-shell system . . printf. %s "checking for QtCore >= 4.6.0 QtGui >= 4.6.0... " >&6; }
13672
13673 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13674 if testscip-shell system . . test. -n "$PINENTRY_QT4_CFLAGS"; then
13675 pkg_cv_PINENTRY_QT4_CFLAGS="$PINENTRY_QT4_CFLAGS"
13676 else
13677 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13678 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.6.0 QtGui >= 4.6.0\""; } >&5
13679 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.6.0 QtGui >= 4.6.0") 2>&5
13680 ac_status=$?
13681 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13682 testscip-shell system . . test. $ac_status = 0; }; then
13683 pkg_cv_PINENTRY_QT4_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.6.0 QtGui >= 4.6.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13684 else
13685 pkg_failed=yes
13686 fi
13687 fi
13688 else
13689 pkg_failed=untried
13690 fi
13691 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
13692 if testscip-shell system . . test. -n "$PINENTRY_QT4_LIBS"; then
13693 pkg_cv_PINENTRY_QT4_LIBS="$PINENTRY_QT4_LIBS"
13694 else
13695 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
13696 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.6.0 QtGui >= 4.6.0\""; } >&5
13697 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.6.0 QtGui >= 4.6.0") 2>&5
13698 ac_status=$?
13699 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13700 testscip-shell system . . test. $ac_status = 0; }; then
13701 pkg_cv_PINENTRY_QT4_LIBS=`$PKG_CONFIG --libs "QtCore >= 4.6.0 QtGui >= 4.6.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13702 else
13703 pkg_failed=yes
13704 fi
13705 fi
13706 else
13707 pkg_failed=untried
13708 fi
13709
13710
13711
13712 if testscip-shell system . . test. $pkg_failed = yes; then
13713
13714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13715 _pkg_short_errors_supported=yes
13716 else
13717 _pkg_short_errors_supported=no
13718 fi
13719 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
13720 PINENTRY_QT4_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtCore >= 4.6.0 QtGui >= 4.6.0"`
13721 else
13722 PINENTRY_QT4_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore >= 4.6.0 QtGui >= 4.6.0"`
13723 fi
13724 # Put the nasty error message in config.log where it belongs
13725 echoscip-shell system . . echo. "$PINENTRY_QT4_PKG_ERRORS" >&5
13726
13727 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13729 have_qt4_libs="no"
13730 elif testscip-shell system . . test. $pkg_failed = untried; then
13731 have_qt4_libs="no"
13732 else
13733 PINENTRY_QT4_CFLAGS=$pkg_cv_PINENTRY_QT4_CFLAGS
13734 PINENTRY_QT4_LIBS=$pkg_cv_PINENTRY_QT4_LIBS
13735 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13736 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
13737 have_qt4_libs="yes"
13738 fi
13739 fi
13740 if testscip-shell system . . test. "$have_qt4_libs" = "yes"; then
13741 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
13742 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
13743 set dummy ${ac_tool_prefix}moc; ac_word=$2
13744 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13745 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13746 if testscip-shell system . . test. ${ac_cv_prog_MOC4+y}
13747 then :
13748 printfscip-shell system . . printf. %s "(cached) " >&6
13749 else $as_nop
13750 if testscip-shell system . . test. -n "$MOC4"; then
13751 ac_cv_prog_MOC4="$MOC4" # Let the user override the test.
13752 else
13753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13754 for as_dir in $PATH
13755 do
13756 IFS=$as_save_IFS
13757 case $as_dir in #(((
13758 '') as_dir=./ ;;
13759 */) ;;
13760 *) as_dir=$as_dir/ ;;
13761 esac
13762 for ac_exec_ext in '' $ac_executable_extensions; do
13763 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13764 ac_cv_prog_MOC4="${ac_tool_prefix}moc"
13765 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13766 break 2
13767 fi
13768 done
13769 done
13770 IFS=$as_save_IFS
13771
13772 fi
13773 fi
13774 MOC4=$ac_cv_prog_MOC4
13775 if testscip-shell system . . test. -n "$MOC4"; then
13776 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
13777 printfscip-shell system . . printf. "%s\n" "$MOC4" >&6; }
13778 else
13779 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13781 fi
13782
13783
13784 fi
13785 if testscip-shell system . . test. -z "$ac_cv_prog_MOC4"; then
13786 ac_ct_MOC4=$MOC4
13787 # Extract the first word of "moc", so it can be a program name with args.
13788 set dummy moc; ac_word=$2
13789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13790 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13791 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MOC4+y}
13792 then :
13793 printfscip-shell system . . printf. %s "(cached) " >&6
13794 else $as_nop
13795 if testscip-shell system . . test. -n "$ac_ct_MOC4"; then
13796 ac_cv_prog_ac_ct_MOC4="$ac_ct_MOC4" # Let the user override the test.
13797 else
13798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13799 for as_dir in $PATH
13800 do
13801 IFS=$as_save_IFS
13802 case $as_dir in #(((
13803 '') as_dir=./ ;;
13804 */) ;;
13805 *) as_dir=$as_dir/ ;;
13806 esac
13807 for ac_exec_ext in '' $ac_executable_extensions; do
13808 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13809 ac_cv_prog_ac_ct_MOC4="moc"
13810 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13811 break 2
13812 fi
13813 done
13814 done
13815 IFS=$as_save_IFS
13816
13817 fi
13818 fi
13819 ac_ct_MOC4=$ac_cv_prog_ac_ct_MOC4
13820 if testscip-shell system . . test. -n "$ac_ct_MOC4"; then
13821 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC4" >&5
13822 printfscip-shell system . . printf. "%s\n" "$ac_ct_MOC4" >&6; }
13823 else
13824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13825 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13826 fi
13827
13828 if testscip-shell system . . test. "x$ac_ct_MOC4" = x; then
13829 MOC4=""
13830 else
13831 case $cross_compiling:$ac_tool_warned in
13832 yes:)
13833 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13834 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13835 ac_tool_warned=yes ;;
13836 esac
13837 MOC4=$ac_ct_MOC4
13838 fi
13839 else
13840 MOC4="$ac_cv_prog_MOC4"
13841 fi
13842
13843 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking moc version" >&5
13844 printfscip-shell system . . printf. %s "checking moc version... " >&6; }
13845 mocversion=`$MOC4 -v 2>&1`
13846 mocversiongrep=`echoscip-shell system . . echo. $mocversion | grepscip-shell system . . grep. "Qt 4"`
13847 if testscip-shell system . . test. x"$mocversiongrep" != x"$mocversion"; then
13848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13850 # moc was not the qt4 one, try with moc-qt4
13851 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
13852 # Extract the first word of "${ac_tool_prefix}moc-qt4", so it can be a program name with args.
13853 set dummy ${ac_tool_prefix}moc-qt4; ac_word=$2
13854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13856 if testscip-shell system . . test. ${ac_cv_prog_MOC42+y}
13857 then :
13858 printfscip-shell system . . printf. %s "(cached) " >&6
13859 else $as_nop
13860 if testscip-shell system . . test. -n "$MOC42"; then
13861 ac_cv_prog_MOC42="$MOC42" # Let the user override the test.
13862 else
13863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13864 for as_dir in $PATH
13865 do
13866 IFS=$as_save_IFS
13867 case $as_dir in #(((
13868 '') as_dir=./ ;;
13869 */) ;;
13870 *) as_dir=$as_dir/ ;;
13871 esac
13872 for ac_exec_ext in '' $ac_executable_extensions; do
13873 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13874 ac_cv_prog_MOC42="${ac_tool_prefix}moc-qt4"
13875 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13876 break 2
13877 fi
13878 done
13879 done
13880 IFS=$as_save_IFS
13881
13882 fi
13883 fi
13884 MOC42=$ac_cv_prog_MOC42
13885 if testscip-shell system . . test. -n "$MOC42"; then
13886 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC42" >&5
13887 printfscip-shell system . . printf. "%s\n" "$MOC42" >&6; }
13888 else
13889 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13890 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13891 fi
13892
13893
13894 fi
13895 if testscip-shell system . . test. -z "$ac_cv_prog_MOC42"; then
13896 ac_ct_MOC42=$MOC42
13897 # Extract the first word of "moc-qt4", so it can be a program name with args.
13898 set dummy moc-qt4; ac_word=$2
13899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13900 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
13901 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MOC42+y}
13902 then :
13903 printfscip-shell system . . printf. %s "(cached) " >&6
13904 else $as_nop
13905 if testscip-shell system . . test. -n "$ac_ct_MOC42"; then
13906 ac_cv_prog_ac_ct_MOC42="$ac_ct_MOC42" # Let the user override the test.
13907 else
13908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13909 for as_dir in $PATH
13910 do
13911 IFS=$as_save_IFS
13912 case $as_dir in #(((
13913 '') as_dir=./ ;;
13914 */) ;;
13915 *) as_dir=$as_dir/ ;;
13916 esac
13917 for ac_exec_ext in '' $ac_executable_extensions; do
13918 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
13919 ac_cv_prog_ac_ct_MOC42="moc-qt4"
13920 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13921 break 2
13922 fi
13923 done
13924 done
13925 IFS=$as_save_IFS
13926
13927 fi
13928 fi
13929 ac_ct_MOC42=$ac_cv_prog_ac_ct_MOC42
13930 if testscip-shell system . . test. -n "$ac_ct_MOC42"; then
13931 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC42" >&5
13932 printfscip-shell system . . printf. "%s\n" "$ac_ct_MOC42" >&6; }
13933 else
13934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935 printfscip-shell system . . printf. "%s\n" "no" >&6; }
13936 fi
13937
13938 if testscip-shell system . . test. "x$ac_ct_MOC42" = x; then
13939 MOC42=""
13940 else
13941 case $cross_compiling:$ac_tool_warned in
13942 yes:)
13943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13944 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13945 ac_tool_warned=yes ;;
13946 esac
13947 MOC42=$ac_ct_MOC42
13948 fi
13949 else
13950 MOC42="$ac_cv_prog_MOC42"
13951 fi
13952
13953 mocversion=`$MOC42 -v 2>&1`
13954 mocversiongrep=`echoscip-shell system . . echo. $mocversion | grepscip-shell system . . grep. "Qt 4"`
13955 if testscip-shell system . . test. x"$mocversiongrep" != x"$mocversion"; then
13956 # no valid moc found
13957 have_qt4_libs="no";
13958 MOC4="not found"
13959 else
13960 MOC4=$MOC42
13961 fi
13962 fi
13963 fi
13964
13965 if testscip-shell system . . test. "$have_qt4_libs" != "yes"; then
13966 if testscip-shell system . . test. "$pinentry_qt4" = "yes"; then
13967 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
13968 ***
13969 *** Qt4 (QtCore, QtGui) is required.
13970 ***" "$LINENO" 5
13971 else
13972 pinentry_qt4=no
13973 fi
13974 fi
13975 fi
13976
13977
13978
13979
13980
13981
13982 if testscip-shell system . . test. "$pinentry_qt4" != "no"; then
13983 pinentry_qt4=yes
13984 fi
13985 if testscip-shell system . . test. "$pinentry_qt4" = "yes"; then
13986 BUILD_PINENTRY_QT4_TRUE=
13987 BUILD_PINENTRY_QT4_FALSE='#'
13988 else
13989 BUILD_PINENTRY_QT4_TRUE='#'
13990 BUILD_PINENTRY_QT4_FALSE=
13991 fi
13992
13993
13994 # Check whether --enable-pinentry-tqt was given.
13995 if testscip-shell system . . test. ${enable_pinentry_tqt+y}
13996 then :
13997 enableval=$enable_pinentry_tqt; pinentry_tqt=$enableval
13998 else $as_nop
13999 pinentry_tqt=no
14000 fi
14001
14002
14003 if testscip-shell system . . test. "$pinentry_tqt" != "no"; then
14004
14005 if testscip-shell system . . test. "$pinentry_qt5" = "yes" || testscip-shell system . . test. "$pinentry_qt4" = "yes"; then
14006 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
14007 ***
14008 *** Building both Qt and TQt pinentries is not supported.
14009 *** Use --disable-pinentry-qt and --disable-pinentry-qt4
14010 *** if you want the TQt pinentry.
14011 ***" "$LINENO" 5
14012 fi
14013
14014
14015 pkg_failed=no
14016 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tqt" >&5
14017 printfscip-shell system . . printf. %s "checking for tqt... " >&6; }
14018
14019 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14020 if testscip-shell system . . test. -n "$PINENTRY_TQT_CFLAGS"; then
14021 pkg_cv_PINENTRY_TQT_CFLAGS="$PINENTRY_TQT_CFLAGS"
14022 else
14023 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14024 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt\""; } >&5
14025 ($PKG_CONFIG --exists --print-errors "tqt") 2>&5
14026 ac_status=$?
14027 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028 testscip-shell system . . test. $ac_status = 0; }; then
14029 pkg_cv_PINENTRY_TQT_CFLAGS=`$PKG_CONFIG --cflags "tqt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14030 else
14031 pkg_failed=yes
14032 fi
14033 fi
14034 else
14035 pkg_failed=untried
14036 fi
14037 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14038 if testscip-shell system . . test. -n "$PINENTRY_TQT_LIBS"; then
14039 pkg_cv_PINENTRY_TQT_LIBS="$PINENTRY_TQT_LIBS"
14040 else
14041 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14042 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt\""; } >&5
14043 ($PKG_CONFIG --exists --print-errors "tqt") 2>&5
14044 ac_status=$?
14045 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14046 testscip-shell system . . test. $ac_status = 0; }; then
14047 pkg_cv_PINENTRY_TQT_LIBS=`$PKG_CONFIG --libs "tqt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14048 else
14049 pkg_failed=yes
14050 fi
14051 fi
14052 else
14053 pkg_failed=untried
14054 fi
14055
14056
14057
14058 if testscip-shell system . . test. $pkg_failed = yes; then
14059
14060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14061 _pkg_short_errors_supported=yes
14062 else
14063 _pkg_short_errors_supported=no
14064 fi
14065 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14066 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tqt"`
14067 else
14068 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tqt"`
14069 fi
14070 # Put the nasty error message in config.log where it belongs
14071 echoscip-shell system . . echo. "$PINENTRY_TQT_PKG_ERRORS" >&5
14072
14073 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14075
14076 pkg_failed=no
14077 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tqt-mt" >&5
14078 printfscip-shell system . . printf. %s "checking for tqt-mt... " >&6; }
14079
14080 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14081 if testscip-shell system . . test. -n "$PINENTRY_TQT_CFLAGS"; then
14082 pkg_cv_PINENTRY_TQT_CFLAGS="$PINENTRY_TQT_CFLAGS"
14083 else
14084 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14085 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt-mt\""; } >&5
14086 ($PKG_CONFIG --exists --print-errors "tqt-mt") 2>&5
14087 ac_status=$?
14088 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14089 testscip-shell system . . test. $ac_status = 0; }; then
14090 pkg_cv_PINENTRY_TQT_CFLAGS=`$PKG_CONFIG --cflags "tqt-mt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14091 else
14092 pkg_failed=yes
14093 fi
14094 fi
14095 else
14096 pkg_failed=untried
14097 fi
14098 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14099 if testscip-shell system . . test. -n "$PINENTRY_TQT_LIBS"; then
14100 pkg_cv_PINENTRY_TQT_LIBS="$PINENTRY_TQT_LIBS"
14101 else
14102 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14103 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt-mt\""; } >&5
14104 ($PKG_CONFIG --exists --print-errors "tqt-mt") 2>&5
14105 ac_status=$?
14106 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14107 testscip-shell system . . test. $ac_status = 0; }; then
14108 pkg_cv_PINENTRY_TQT_LIBS=`$PKG_CONFIG --libs "tqt-mt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14109 else
14110 pkg_failed=yes
14111 fi
14112 fi
14113 else
14114 pkg_failed=untried
14115 fi
14116
14117
14118
14119 if testscip-shell system . . test. $pkg_failed = yes; then
14120
14121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14122 _pkg_short_errors_supported=yes
14123 else
14124 _pkg_short_errors_supported=no
14125 fi
14126 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14127 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tqt-mt"`
14128 else
14129 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tqt-mt"`
14130 fi
14131 # Put the nasty error message in config.log where it belongs
14132 echoscip-shell system . . echo. "$PINENTRY_TQT_PKG_ERRORS" >&5
14133
14134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14135 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14136 have_tqt_libs=no
14137 elif testscip-shell system . . test. $pkg_failed = untried; then
14138 have_tqt_libs=no
14139 else
14140 PINENTRY_TQT_CFLAGS=$pkg_cv_PINENTRY_TQT_CFLAGS
14141 PINENTRY_TQT_LIBS=$pkg_cv_PINENTRY_TQT_LIBS
14142 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14143 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14144 have_tqt_libs=yes
14145 fi
14146 elif testscip-shell system . . test. $pkg_failed = untried; then
14147
14148 pkg_failed=no
14149 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tqt-mt" >&5
14150 printfscip-shell system . . printf. %s "checking for tqt-mt... " >&6; }
14151
14152 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14153 if testscip-shell system . . test. -n "$PINENTRY_TQT_CFLAGS"; then
14154 pkg_cv_PINENTRY_TQT_CFLAGS="$PINENTRY_TQT_CFLAGS"
14155 else
14156 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14157 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt-mt\""; } >&5
14158 ($PKG_CONFIG --exists --print-errors "tqt-mt") 2>&5
14159 ac_status=$?
14160 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14161 testscip-shell system . . test. $ac_status = 0; }; then
14162 pkg_cv_PINENTRY_TQT_CFLAGS=`$PKG_CONFIG --cflags "tqt-mt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14163 else
14164 pkg_failed=yes
14165 fi
14166 fi
14167 else
14168 pkg_failed=untried
14169 fi
14170 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
14171 if testscip-shell system . . test. -n "$PINENTRY_TQT_LIBS"; then
14172 pkg_cv_PINENTRY_TQT_LIBS="$PINENTRY_TQT_LIBS"
14173 else
14174 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14175 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tqt-mt\""; } >&5
14176 ($PKG_CONFIG --exists --print-errors "tqt-mt") 2>&5
14177 ac_status=$?
14178 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14179 testscip-shell system . . test. $ac_status = 0; }; then
14180 pkg_cv_PINENTRY_TQT_LIBS=`$PKG_CONFIG --libs "tqt-mt" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14181 else
14182 pkg_failed=yes
14183 fi
14184 fi
14185 else
14186 pkg_failed=untried
14187 fi
14188
14189
14190
14191 if testscip-shell system . . test. $pkg_failed = yes; then
14192
14193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14194 _pkg_short_errors_supported=yes
14195 else
14196 _pkg_short_errors_supported=no
14197 fi
14198 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14199 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tqt-mt"`
14200 else
14201 PINENTRY_TQT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tqt-mt"`
14202 fi
14203 # Put the nasty error message in config.log where it belongs
14204 echoscip-shell system . . echo. "$PINENTRY_TQT_PKG_ERRORS" >&5
14205
14206 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14207 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14208 have_tqt_libs=no
14209 elif testscip-shell system . . test. $pkg_failed = untried; then
14210 have_tqt_libs=no
14211 else
14212 PINENTRY_TQT_CFLAGS=$pkg_cv_PINENTRY_TQT_CFLAGS
14213 PINENTRY_TQT_LIBS=$pkg_cv_PINENTRY_TQT_LIBS
14214 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14215 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14216 have_tqt_libs=yes
14217 fi
14218 else
14219 PINENTRY_TQT_CFLAGS=$pkg_cv_PINENTRY_TQT_CFLAGS
14220 PINENTRY_TQT_LIBS=$pkg_cv_PINENTRY_TQT_LIBS
14221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14223 have_tqt_libs=yes
14224 fi
14225
14226 if testscip-shell system . . test. "$have_tqt_libs" = "yes"; then
14227 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
14228 # Extract the first word of "${ac_tool_prefix}tqmoc", so it can be a program name with args.
14229 set dummy ${ac_tool_prefix}tqmoc; ac_word=$2
14230 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14231 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
14232 if testscip-shell system . . test. ${ac_cv_prog_TQT_MOC+y}
14233 then :
14234 printfscip-shell system . . printf. %s "(cached) " >&6
14235 else $as_nop
14236 if testscip-shell system . . test. -n "$TQT_MOC"; then
14237 ac_cv_prog_TQT_MOC="$TQT_MOC" # Let the user override the test.
14238 else
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14241 do
14242 IFS=$as_save_IFS
14243 case $as_dir in #(((
14244 '') as_dir=./ ;;
14245 */) ;;
14246 *) as_dir=$as_dir/ ;;
14247 esac
14248 for ac_exec_ext in '' $ac_executable_extensions; do
14249 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
14250 ac_cv_prog_TQT_MOC="${ac_tool_prefix}tqmoc"
14251 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14252 break 2
14253 fi
14254 done
14255 done
14256 IFS=$as_save_IFS
14257
14258 fi
14259 fi
14260 TQT_MOC=$ac_cv_prog_TQT_MOC
14261 if testscip-shell system . . test. -n "$TQT_MOC"; then
14262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TQT_MOC" >&5
14263 printfscip-shell system . . printf. "%s\n" "$TQT_MOC" >&6; }
14264 else
14265 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14267 fi
14268
14269
14270 fi
14271 if testscip-shell system . . test. -z "$ac_cv_prog_TQT_MOC"; then
14272 ac_ct_TQT_MOC=$TQT_MOC
14273 # Extract the first word of "tqmoc", so it can be a program name with args.
14274 set dummy tqmoc; ac_word=$2
14275 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14276 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
14277 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_TQT_MOC+y}
14278 then :
14279 printfscip-shell system . . printf. %s "(cached) " >&6
14280 else $as_nop
14281 if testscip-shell system . . test. -n "$ac_ct_TQT_MOC"; then
14282 ac_cv_prog_ac_ct_TQT_MOC="$ac_ct_TQT_MOC" # Let the user override the test.
14283 else
14284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14285 for as_dir in $PATH
14286 do
14287 IFS=$as_save_IFS
14288 case $as_dir in #(((
14289 '') as_dir=./ ;;
14290 */) ;;
14291 *) as_dir=$as_dir/ ;;
14292 esac
14293 for ac_exec_ext in '' $ac_executable_extensions; do
14294 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
14295 ac_cv_prog_ac_ct_TQT_MOC="tqmoc"
14296 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14297 break 2
14298 fi
14299 done
14300 done
14301 IFS=$as_save_IFS
14302
14303 fi
14304 fi
14305 ac_ct_TQT_MOC=$ac_cv_prog_ac_ct_TQT_MOC
14306 if testscip-shell system . . test. -n "$ac_ct_TQT_MOC"; then
14307 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TQT_MOC" >&5
14308 printfscip-shell system . . printf. "%s\n" "$ac_ct_TQT_MOC" >&6; }
14309 else
14310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14311 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14312 fi
14313
14314 if testscip-shell system . . test. "x$ac_ct_TQT_MOC" = x; then
14315 TQT_MOC=""no""
14316 else
14317 case $cross_compiling:$ac_tool_warned in
14318 yes:)
14319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14320 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14321 ac_tool_warned=yes ;;
14322 esac
14323 TQT_MOC=$ac_ct_TQT_MOC
14324 fi
14325 else
14326 TQT_MOC="$ac_cv_prog_TQT_MOC"
14327 fi
14328
14329 fi
14330
14331 if testscip-shell system . . test. "$have_tqt_libs" = "yes" && testscip-shell system . . test. "$TQT_MOC" != "no"; then
14332 pinentry_tqt=yes
14333 else
14334 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: TQt is not found" >&5
14335 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: TQt is not found" >&2;}
14336 pinentry_tqt=no
14337 fi
14338
14339 fi
14340 if testscip-shell system . . test. "$pinentry_tqt" = "yes"; then
14341 BUILD_PINENTRY_TQT_TRUE=
14342 BUILD_PINENTRY_TQT_FALSE='#'
14343 else
14344 BUILD_PINENTRY_TQT_TRUE='#'
14345 BUILD_PINENTRY_TQT_FALSE=
14346 fi
14347
14348
14349 #
14350 # Check whether we should build the W32 pinentry. This is actually
14351 # the simplest check as we do this only for that platform.
14352 #
14353 pinentry_w32=no
14354 testscip-shell system . . test. $have_w32_system = yes && pinentry_w32=yes
14355 if testscip-shell system . . test. "$pinentry_w32" = "yes"; then
14356 BUILD_PINENTRY_W32_TRUE=
14357 BUILD_PINENTRY_W32_FALSE='#'
14358 else
14359 BUILD_PINENTRY_W32_TRUE='#'
14360 BUILD_PINENTRY_W32_FALSE=
14361 fi
14362
14363
14364 # Check whether --enable-pinentry-fltk was given.
14365 if testscip-shell system . . test. ${enable_pinentry_fltk+y}
14366 then :
14367 enableval=$enable_pinentry_fltk; pinentry_fltk=$enableval
14368 else $as_nop
14369 pinentry_fltk=maybe
14370 fi
14371
14372
14373 if testscip-shell system . . test. "$pinentry_fltk" != "no"; then
14374 # Extract the first word of "fltk-config", so it can be a program name with args.
14375 set dummy fltk-config; ac_word=$2
14376 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14377 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
14378 if testscip-shell system . . test. ${ac_cv_path_FLTK_CONFIG+y}
14379 then :
14380 printfscip-shell system . . printf. %s "(cached) " >&6
14381 else $as_nop
14382 case $FLTK_CONFIG in
14383 [\\/]* | ?:[\\/]*)
14384 ac_cv_path_FLTK_CONFIG="$FLTK_CONFIG" # Let the user override the test with a path.
14385 ;;
14386 *)
14387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14388 for as_dir in $PATH
14389 do
14390 IFS=$as_save_IFS
14391 case $as_dir in #(((
14392 '') as_dir=./ ;;
14393 */) ;;
14394 *) as_dir=$as_dir/ ;;
14395 esac
14396 for ac_exec_ext in '' $ac_executable_extensions; do
14397 if as_fn_executable_pscip-shell shell shell-project 0.0.0 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
14398 ac_cv_path_FLTK_CONFIG="$as_dir$ac_word$ac_exec_ext"
14399 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14400 break 2
14401 fi
14402 done
14403 done
14404 IFS=$as_save_IFS
14405
14406 testscip-shell system . . test. -z "$ac_cv_path_FLTK_CONFIG" && ac_cv_path_FLTK_CONFIG="no"
14407 ;;
14408 esac
14409 fi
14410 FLTK_CONFIG=$ac_cv_path_FLTK_CONFIG
14411 if testscip-shell system . . test. -n "$FLTK_CONFIG"; then
14412 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLTK_CONFIG" >&5
14413 printfscip-shell system . . printf. "%s\n" "$FLTK_CONFIG" >&6; }
14414 else
14415 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14416 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14417 fi
14418
14419
14420 if testscip-shell system . . test. x"${FLTK_CONFIG}" = xno ; then
14421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fltk-config is not found" >&5
14422 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: fltk-config is not found" >&2;}
14423 pinentry_fltk=no
14424 fi
14425 fi
14426
14427 if testscip-shell system . . test. "$pinentry_fltk" != "no"; then
14428 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FLTK 1.3/1.4" >&5
14429 printfscip-shell system . . printf. %s "checking for FLTK 1.3/1.4... " >&6; }
14430 FLTK_VERSION=`${FLTK_CONFIG} --api-version`
14431 if testscip-shell system . . test. ${FLTK_VERSION} != "1.3" && testscip-shell system . . test. ${FLTK_VERSION} != "1.4" ; then
14432 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14433 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14434 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: FLTK 1.3/1.4 not found (available $FLTK_VERSION)" >&5
14435 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: FLTK 1.3/1.4 not found (available $FLTK_VERSION)" >&2;}
14436 pinentry_fltk=no
14437 else
14438 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14439 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14440 FLTKCFLAGS=`${FLTK_CONFIG} --cflags`
14441 FLTKCXXFLAGS=`${FLTK_CONFIG} --cxxflags`
14442 FLTKLIBS=`${FLTK_CONFIG} --ldflags`
14443
14444
14445
14446 pinentry_fltk=yes
14447 fi
14448 fi
14449 if testscip-shell system . . test. "$pinentry_fltk" = "yes"; then
14450 BUILD_PINENTRY_FLTK_TRUE=
14451 BUILD_PINENTRY_FLTK_FALSE='#'
14452 else
14453 BUILD_PINENTRY_FLTK_TRUE='#'
14454 BUILD_PINENTRY_FLTK_FALSE=
14455 fi
14456
14457
14458 # Figure out the default pinentry. We are very conservative here.
14459 # Please change the order only after verifying that the preferred
14460 # pinentry really is better (more feature-complete and more secure).
14461
14462 if testscip-shell system . . test. "$pinentry_gtk_2" = "yes"; then
14463 PINENTRY_DEFAULT=pinentry-gtk-2
14464 else
14465 if testscip-shell system . . test. "$pinentry_qt6" = "yes"; then
14466 PINENTRY_DEFAULT=pinentry-qt
14467 else
14468 if testscip-shell system . . test. "$pinentry_qt5" = "yes"; then
14469 PINENTRY_DEFAULT=pinentry-qt5
14470 else
14471 if testscip-shell system . . test. "$pinentry_gnome_3" = "yes"; then
14472 PINENTRY_DEFAULT=pinentry-gnome3
14473 else
14474 if testscip-shell system . . test. "$pinentry_curses" = "yes"; then
14475 PINENTRY_DEFAULT=pinentry-curses
14476 else
14477 if testscip-shell system . . test. "$pinentry_tty" = "yes"; then
14478 PINENTRY_DEFAULT=pinentry-tty
14479 else
14480 if testscip-shell system . . test. "$pinentry_w32" = "yes"; then
14481 PINENTRY_DEFAULT=pinentry-w32
14482 else
14483 if testscip-shell system . . test. "$pinentry_fltk" = "yes"; then
14484 PINENTRY_DEFAULT=pinentry-fltk
14485 else
14486 if testscip-shell system . . test. "$pinentry_tqt" = "yes"; then
14487 PINENTRY_DEFAULT=pinentry-tqt
14488 else
14489 if testscip-shell system . . test. "$pinentry_efl" = "yes"; then
14490 PINENTRY_DEFAULT=pinentry-efl
14491 else
14492 if testscip-shell system . . test. "$pinentry_qt4" = "yes"; then
14493 PINENTRY_DEFAULT=pinentry-qt4
14494 else
14495 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "No pinentry enabled." "$LINENO" 5
14496 fi
14497 fi
14498 fi
14499 fi
14500 fi
14501 fi
14502 fi
14503 fi
14504 fi
14505 fi
14506 fi
14507
14508
14509 #
14510 # Print errors here so that they are visible all
14511 # together and the user can acquire them all together.
14512 #
14513 die=no
14514 if testscip-shell system . . test. "$have_gpg_error" = "no"; then
14515 die=yes
14516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}:
14517 ***
14518 *** You need libgpg-error to build this program.
14519 ** This library is for example available at
14520 *** ftp://ftp.gnupg.org/gcrypt/libgpg-error
14521 *** (at least version $NEED_GPG_ERROR_VERSION is required.)
14522 ***" >&5
14523 printfscip-shell system . . printf. "%s\n" "$as_me:
14524 ***
14525 *** You need libgpg-error to build this program.
14526 ** This library is for example available at
14527 *** ftp://ftp.gnupg.org/gcrypt/libgpg-error
14528 *** (at least version $NEED_GPG_ERROR_VERSION is required.)
14529 ***" >&6;}
14530 fi
14531
14532 if testscip-shell system . . test. "$have_libassuan" = "no"; then
14533 die=yes
14534 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}:
14535 ***
14536 *** You need libassuan to build this program.
14537 *** This library is for example available at
14538 *** ftp://ftp.gnupg.org/gcrypt/libassuan/
14539 *** (at least version $NEED_LIBASSUAN_VERSION (API $NEED_LIBASSUAN_API) is required).
14540 ***" >&5
14541 printfscip-shell system . . printf. "%s\n" "$as_me:
14542 ***
14543 *** You need libassuan to build this program.
14544 *** This library is for example available at
14545 *** ftp://ftp.gnupg.org/gcrypt/libassuan/
14546 *** (at least version $NEED_LIBASSUAN_VERSION (API $NEED_LIBASSUAN_API) is required).
14547 ***" >&6;}
14548 fi
14549
14550 if testscip-shell system . . test. "$die" = "yes"; then
14551 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "
14552 ***
14553 *** Required libraries not found. Please consult the above messages
14554 *** and install them before running configure again.
14555 ***" "$LINENO" 5
14556 fi
14557
14558
14559
14560 #
14561 # To avoid double inclusion of config.h which might happen at some
14562 # places, we add the usual double inclusion protection at the top of
14563 # config.h.
14564 #
14565
14566
14567 #
14568 # Stuff which goes at the bottom of config.h.
14569 #
14570
14571
14572 build_doc=yes
14573 # Check whether --enable-doc was given.
14574 if testscip-shell system . . test. ${enable_doc+y}
14575 then :
14576 enableval=$enable_doc; build_doc=$enableval
14577 else $as_nop
14578 build_doc=yes
14579 fi
14580
14581 if testscip-shell system . . test. "x$build_doc" != xno; then
14582 BUILD_DOC_TRUE=
14583 BUILD_DOC_FALSE='#'
14584 else
14585 BUILD_DOC_TRUE='#'
14586 BUILD_DOC_FALSE=
14587 fi
14588
14589
14590
14591 ac_config_files="$ac_config_files m4/Makefile secmem/Makefile pinentry/Makefile curses/Makefile tty/Makefile efl/Makefile emacs/Makefile gtk+-2/Makefile gnome3/Makefile qt/Makefile qt/icons/Makefile qt5/Makefile qt5/icons/Makefile qt4/Makefile tqt/Makefile w32/Makefile fltk/Makefile doc/Makefile Makefile qt/org.gnupg.pinentry-qt.desktop qt5/org.gnupg.pinentry-qt5.desktop"
14592
14593
14594 catscip-shell system . . cat. >confcache <<\_ACEOF
14595 # This file is a shell script that caches the results of configure
14596 # tests run on this system so they can be shared between configure
14597 # scripts and configure runs, see configure's option --config-cache.
14598 # It is not useful on other systems. If it contains results you don't
14599 # want to keep, you may remove or edit it.
14600 #
14601 # config.status only pays attention to the cache file if you give it
14602 # the --recheck option to rerun configure.
14603 #
14604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14606 # following values.
14607
14608 _ACEOF
14609
14610 # The following way of writing the cache mishandles newlines in values,
14611 # but we know of no workaround that is simple, portable, and efficient.
14612 # So, we kill variables containing newlines.
14613 # Ultrix sh set writes to stderr and can't be redirected directly,
14614 # and sets the high bit in the cache file unless we assign to the vars.
14615 (
14616 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14617 eval ac_val=\$$ac_var
14618 case $ac_val in #(
14619 *${as_nl}*)
14620 case $ac_var in #(
14621 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14622 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14623 esac
14624 case $ac_var in #(
14625 _ | IFS | as_nl) ;; #(
14626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14627 *) { eval $ac_var=; unset $ac_var;} ;;
14628 esac ;;
14629 esac
14630 done
14631
14632 (set) 2>&1 |
14633 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14634 *${as_nl}ac_space=\ *)
14635 # `set' does not quote correctly, so add quotes: double-quote
14636 # substitution turns \\\\ into \\, and sed turns \\ into \.
14637 sedscip-shell system . . sed. -n \
14638 "s/'/'\\\\''/g;
14639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14640 ;; #(
14641 *)
14642 # `set' quotes correctly as required by POSIX, so do not add quotes.
14643 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14644 ;;
14645 esac |
14646 sortscip-shell system . . sort.
14647 ) |
14648 sedscip-shell system . . sed. '
14649 /^ac_cv_env_/b end
14650 t clear
14651 :clear
14652 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
14653 t end
14654 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14655 :end' >>confcache
14656 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
14657 if testscip-shell system . . test. -w "$cache_file"; then
14658 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
14659 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14660 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
14661 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
14662 catscip-shell system . . cat. confcache >"$cache_file"
14663 else
14664 case $cache_file in #(
14665 */* | ?:*)
14666 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
14667 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
14668 *)
14669 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
14670 esac
14671 fi
14672 fi
14673 else
14674 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14675 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
14676 fi
14677 fi
14678 rmscip-shell system . . rm. -f confcache
14679
14680 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
14681 # Let make expand exec_prefix.
14682 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14683
14684 DEFS=-DHAVE_CONFIG_H
14685
14686 ac_libobjs=
14687 ac_ltlibobjs=
14688 U=
14689 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
14690 # 1. Remove the extension, and $U if already installed.
14691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14692 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
14693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14694 # will be set to the directory where LIBOBJS objects are built.
14695 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14696 as_fn_appendscip-shell shell shell-project 0.0.0 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14697 done
14698 LIBOBJS=$ac_libobjs
14699
14700 LTLIBOBJS=$ac_ltlibobjs
14701
14702
14703 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14704 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
14705 if testscip-shell system . . test. -n "$am_sleep_pid"; then
14706 # Hide warnings about reused PIDs.
14707 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
14708 fi
14709 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
14710 printfscip-shell system . . printf. "%s\n" "done" >&6; }
14711 if testscip-shell system . . test. -n "$EXEEXT"; then
14712 am__EXEEXT_TRUE=
14713 am__EXEEXT_FALSE='#'
14714 else
14715 am__EXEEXT_TRUE='#'
14716 am__EXEEXT_FALSE=
14717 fi
14718
14719 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
14720 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
14721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14722 fi
14723 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
14724 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
14725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14726 fi
14727 if testscip-shell system . . test. -z "${MAINTAINER_MODE_TRUE}" && testscip-shell system . . test. -z "${MAINTAINER_MODE_FALSE}"; then
14728 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"MAINTAINER_MODE\" was never defined.
14729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14730 fi
14731 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14732 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
14733 if testscip-shell system . . test. -n "$am_sleep_pid"; then
14734 # Hide warnings about reused PIDs.
14735 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
14736 fi
14737 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
14738 printfscip-shell system . . printf. "%s\n" "done" >&6; }
14739 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
14740 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
14741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14742 fi
14743 if testscip-shell system . . test. -z "${am__fastdepCXX_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCXX_FALSE}"; then
14744 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"am__fastdepCXX\" was never defined.
14745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14746 fi
14747 if testscip-shell system . . test. -z "${HAVE_DOSISH_SYSTEM_TRUE}" && testscip-shell system . . test. -z "${HAVE_DOSISH_SYSTEM_FALSE}"; then
14748 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"HAVE_DOSISH_SYSTEM\" was never defined.
14749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14750 fi
14751 if testscip-shell system . . test. -z "${HAVE_W32_SYSTEM_TRUE}" && testscip-shell system . . test. -z "${HAVE_W32_SYSTEM_FALSE}"; then
14752 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"HAVE_W32_SYSTEM\" was never defined.
14753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14754 fi
14755 if testscip-shell system . . test. -z "${BUILD_LIBPINENTRY_CURSES_TRUE}" && testscip-shell system . . test. -z "${BUILD_LIBPINENTRY_CURSES_FALSE}"; then
14756 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_LIBPINENTRY_CURSES\" was never defined.
14757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14758 fi
14759 if testscip-shell system . . test. -z "${BUILD_PINENTRY_CURSES_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_CURSES_FALSE}"; then
14760 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_CURSES\" was never defined.
14761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14762 fi
14763 if testscip-shell system . . test. -z "${FALLBACK_CURSES_TRUE}" && testscip-shell system . . test. -z "${FALLBACK_CURSES_FALSE}"; then
14764 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"FALLBACK_CURSES\" was never defined.
14765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14766 fi
14767 if testscip-shell system . . test. -z "${BUILD_PINENTRY_TTY_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_TTY_FALSE}"; then
14768 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_TTY\" was never defined.
14769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14770 fi
14771 if testscip-shell system . . test. -z "${BUILD_LIBPINENTRY_EMACS_TRUE}" && testscip-shell system . . test. -z "${BUILD_LIBPINENTRY_EMACS_FALSE}"; then
14772 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_LIBPINENTRY_EMACS\" was never defined.
14773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14774 fi
14775 if testscip-shell system . . test. -z "${BUILD_PINENTRY_EMACS_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_EMACS_FALSE}"; then
14776 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_EMACS\" was never defined.
14777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14778 fi
14779 if testscip-shell system . . test. -z "${INSIDE_EMACS_TRUE}" && testscip-shell system . . test. -z "${INSIDE_EMACS_FALSE}"; then
14780 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"INSIDE_EMACS\" was never defined.
14781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14782 fi
14783 if testscip-shell system . . test. -z "${BUILD_PINENTRY_EFL_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_EFL_FALSE}"; then
14784 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_EFL\" was never defined.
14785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14786 fi
14787 if testscip-shell system . . test. -z "${BUILD_PINENTRY_GTK_2_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_GTK_2_FALSE}"; then
14788 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_GTK_2\" was never defined.
14789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14790 fi
14791 if testscip-shell system . . test. -z "${BUILD_PINENTRY_GNOME_3_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_GNOME_3_FALSE}"; then
14792 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_GNOME_3\" was never defined.
14793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14794 fi
14795 if testscip-shell system . . test. -z "${BUILD_WITH_LIBSECRET_TRUE}" && testscip-shell system . . test. -z "${BUILD_WITH_LIBSECRET_FALSE}"; then
14796 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_WITH_LIBSECRET\" was never defined.
14797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14798 fi
14799 if testscip-shell system . . test. -z "${BUILD_PINENTRY_QT5_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_QT5_FALSE}"; then
14800 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_QT5\" was never defined.
14801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14802 fi
14803 if testscip-shell system . . test. -z "${BUILD_PINENTRY_QT6_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_QT6_FALSE}"; then
14804 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_QT6\" was never defined.
14805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806 fi
14807 if testscip-shell system . . test. -z "${BUILD_PINENTRY_QT4_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_QT4_FALSE}"; then
14808 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_QT4\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 fi
14811 if testscip-shell system . . test. -z "${BUILD_PINENTRY_TQT_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_TQT_FALSE}"; then
14812 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_TQT\" was never defined.
14813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14814 fi
14815 if testscip-shell system . . test. -z "${BUILD_PINENTRY_W32_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_W32_FALSE}"; then
14816 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_W32\" was never defined.
14817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14818 fi
14819 if testscip-shell system . . test. -z "${BUILD_PINENTRY_FLTK_TRUE}" && testscip-shell system . . test. -z "${BUILD_PINENTRY_FLTK_FALSE}"; then
14820 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_PINENTRY_FLTK\" was never defined.
14821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14822 fi
14823 if testscip-shell system . . test. -z "${BUILD_DOC_TRUE}" && testscip-shell system . . test. -z "${BUILD_DOC_FALSE}"; then
14824 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "conditional \"BUILD_DOC\" was never defined.
14825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14826 fi
14827
14828 : "${CONFIG_STATUS=./config.status}"
14829 ac_write_fail=0
14830 ac_clean_files_save=$ac_clean_files
14831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14832 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14833 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
14834 as_write_fail=0
14835 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14836 #! $SHELL
14837 # Generated by $as_me.
14838 # Run this file to recreate the current configuration.
14839 # Compiler output produced by configure, useful for debugging
14840 # configure, is in config.log if it exists.
14841
14842 debug=false
14843 ac_cs_recheck=false
14844 ac_cs_silent=false
14845
14846 SHELL=\${CONFIG_SHELL-$SHELL}
14847 export SHELL
14848 _ASEOF
14849 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14850 ## -------------------- ##
14851 ## M4sh Initialization. ##
14852 ## -------------------- ##
14853
14854 # Be more Bourne compatible
14855 DUALCASE=1; export DUALCASE # for MKS sh
14856 as_nop=:
14857 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
14858 then :
14859 emulate sh
14860 NULLCMD=:
14861 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14862 # is contrary to our usage. Disable this feature.
14863 alias -g '${1+"$@"}'='"$@"'
14864 setopt NO_GLOB_SUBST
14865 else $as_nop
14866 case `(set -o) 2>/dev/null` in #(
14867 *posix*) :
14868 set -o posix ;; #(
14869 *) :
14870 ;;
14871 esac
14872 fi
14873
14874
14875
14876 # Reset variables that may have inherited troublesome values from
14877 # the environment.
14878
14879 # IFS needs to be set, to space, tab, and newline, in precisely that order.
14880 # (If _AS_PATH_WALK were called with IFS unset, it would have the
14881 # side effect of setting IFS to empty, thus disabling word splitting.)
14882 # Quoting is to prevent editors from complaining about space-tab.
14883 as_nl='
14884 '
14885 export as_nl
14886 IFS=" "" $as_nl"
14887
14888 PS1='$ '
14889 PS2='> '
14890 PS4='+ '
14891
14892 # Ensure predictable behavior from utilities with locale-dependent output.
14893 LC_ALL=C
14894 export LC_ALL
14895 LANGUAGE=C
14896 export LANGUAGE
14897
14898 # We cannot yet rely on "unset" to work, but we need these variables
14899 # to be unset--not just set to an empty or harmless value--now, to
14900 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
14901 # also avoids known problems related to "unset" and subshell syntax
14902 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
14903 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
14904 do eval test \${$as_var+y} \
14905 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14906 done
14907
14908 # Ensure that fds 0, 1, and 2 are open.
14909 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
14910 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
14911 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
14912
14913 # The user is always right.
14914 if ${PATH_SEPARATOR+false} :; then
14915 PATH_SEPARATOR=:
14916 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14917 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14918 PATH_SEPARATOR=';'
14919 }
14920 fi
14921
14922
14923 # Find who we are. Look in the path if we contain no directory separator.
14924 as_myself=
14925 case $0 in #((
14926 *[\\/]* ) as_myself=$0 ;;
14927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14928 for as_dir in $PATH
14929 do
14930 IFS=$as_save_IFS
14931 case $as_dir in #(((
14932 '') as_dir=./ ;;
14933 */) ;;
14934 *) as_dir=$as_dir/ ;;
14935 esac
14936 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
14937 done
14938 IFS=$as_save_IFS
14939
14940 ;;
14941 esac
14942 # We did not find ourselves, most probably we were run as `sh COMMAND'
14943 # in which case we are not to be found in the path.
14944 if test "x$as_myself" = x; then
14945 as_myself=$0
14946 fi
14947 if test ! -f "$as_myself"; then
14948 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14949 exit 1
14950 fi
14951
14952
14953
14954 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14955 # ----------------------------------------
14956 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14957 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14958 # script with STATUS, using 1 if that was 0.
14959 as_fn_error ()
14960 {
14961 as_status=$1; test $as_status -eq 0 && as_status=1
14962 if test "$4"; then
14963 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14965 fi
14966 printf "%s\n" "$as_me: error: $2" >&2
14967 as_fn_exit $as_status
14968 } # as_fn_error
14969
14970
14971
14972 # as_fn_set_status STATUS
14973 # -----------------------
14974 # Set $? to STATUS, without forking.
14975 as_fn_set_status ()
14976 {
14977 return $1
14978 } # as_fn_set_status
14979
14980 # as_fn_exit STATUS
14981 # -----------------
14982 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14983 as_fn_exit ()
14984 {
14985 set +e
14986 as_fn_set_status $1
14987 exit $1
14988 } # as_fn_exit
14989
14990 # as_fn_unset VAR
14991 # ---------------
14992 # Portably unset VAR.
14993 as_fn_unset ()
14994 {
14995 { eval $1=; unset $1;}
14996 }
14997 as_unset=as_fn_unset
14998
14999 # as_fn_append VAR VALUE
15000 # ----------------------
15001 # Append the text in VALUE to the end of the definition contained in VAR. Take
15002 # advantage of any shell optimizations that allow amortized linear growth over
15003 # repeated appends, instead of the typical quadratic growth present in naive
15004 # implementations.
15005 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15006 then :
15007 eval 'as_fn_append ()
15008 {
15009 eval $1+=\$2
15010 }'
15011 else $as_nop
15012 as_fn_append ()
15013 {
15014 eval $1=\$$1\$2
15015 }
15016 fi # as_fn_append
15017
15018 # as_fn_arith ARG...
15019 # ------------------
15020 # Perform arithmetic evaluation on the ARGs, and store the result in the
15021 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15022 # must be portable across $(()) and expr.
15023 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15024 then :
15025 eval 'as_fn_arith ()
15026 {
15027 as_val=$(( $* ))
15028 }'
15029 else $as_nop
15030 as_fn_arith ()
15031 {
15032 as_val=`expr "$@" || test $? -eq 1`
15033 }
15034 fi # as_fn_arith
15035
15036
15037 if expr a : '\(a\)' >/dev/null 2>&1 &&
15038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15039 as_expr=expr
15040 else
15041 as_expr=false
15042 fi
15043
15044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15045 as_basename=basename
15046 else
15047 as_basename=false
15048 fi
15049
15050 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15051 as_dirname=dirname
15052 else
15053 as_dirname=false
15054 fi
15055
15056 as_me=`$as_basename -- "$0" ||
15057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15058 X"$0" : 'X\(//\)$' \| \
15059 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15060 printf "%s\n" X/"$0" |
15061 sed '/^.*\/\([^/][^/]*\)\/*$/{
15062 s//\1/
15063 q
15064 }
15065 /^X\/\(\/\/\)$/{
15066 s//\1/
15067 q
15068 }
15069 /^X\/\(\/\).*/{
15070 s//\1/
15071 q
15072 }
15073 s/.*/./; q'`
15074
15075 # Avoid depending upon Character Ranges.
15076 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15077 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15078 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15079 as_cr_digits='0123456789'
15080 as_cr_alnum=$as_cr_Letters$as_cr_digits
15081
15082
15083 # Determine whether it's possible to make 'echo' print without a newline.
15084 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15085 # for compatibility with existing Makefiles.
15086 ECHO_C= ECHO_N= ECHO_T=
15087 case `echo -n x` in #(((((
15088 -n*)
15089 case `echo 'xy\c'` in
15090 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15091 xy) ECHO_C='\c';;
15092 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15093 ECHO_T=' ';;
15094 esac;;
15095 *)
15096 ECHO_N='-n';;
15097 esac
15098
15099 # For backward compatibility with old third-party macros, we provide
15100 # the shell variables $as_echo and $as_echo_n. New code should use
15101 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15102 as_echo='printf %s\n'
15103 as_echo_n='printf %s'
15104
15105 rm -f conf$$ conf$$.exe conf$$.file
15106 if test -d conf$$.dir; then
15107 rm -f conf$$.dir/conf$$.file
15108 else
15109 rm -f conf$$.dir
15110 mkdir conf$$.dir 2>/dev/null
15111 fi
15112 if (echo >conf$$.file) 2>/dev/null; then
15113 if ln -s conf$$.file conf$$ 2>/dev/null; then
15114 as_ln_s='ln -s'
15115 # ... but there are two gotchas:
15116 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15117 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15118 # In both cases, we have to default to `cp -pR'.
15119 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15120 as_ln_s='cp -pR'
15121 elif ln conf$$.file conf$$ 2>/dev/null; then
15122 as_ln_s=ln
15123 else
15124 as_ln_s='cp -pR'
15125 fi
15126 else
15127 as_ln_s='cp -pR'
15128 fi
15129 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15130 rmdir conf$$.dir 2>/dev/null
15131
15132
15133 # as_fn_mkdir_p
15134 # -------------
15135 # Create "$as_dir" as a directory, including parents if necessary.
15136 as_fn_mkdir_p ()
15137 {
15138
15139 case $as_dir in #(
15140 -*) as_dir=./$as_dir;;
15141 esac
15142 test -d "$as_dir" || eval $as_mkdir_p || {
15143 as_dirs=
15144 while :; do
15145 case $as_dir in #(
15146 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15147 *) as_qdir=$as_dir;;
15148 esac
15149 as_dirs="'$as_qdir' $as_dirs"
15150 as_dir=`$as_dirname -- "$as_dir" ||
15151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15152 X"$as_dir" : 'X\(//\)[^/]' \| \
15153 X"$as_dir" : 'X\(//\)$' \| \
15154 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15155 printf "%s\n" X"$as_dir" |
15156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15157 s//\1/
15158 q
15159 }
15160 /^X\(\/\/\)[^/].*/{
15161 s//\1/
15162 q
15163 }
15164 /^X\(\/\/\)$/{
15165 s//\1/
15166 q
15167 }
15168 /^X\(\/\).*/{
15169 s//\1/
15170 q
15171 }
15172 s/.*/./; q'`
15173 test -d "$as_dir" && break
15174 done
15175 test -z "$as_dirs" || eval "mkdir $as_dirs"
15176 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15177
15178
15179 } # as_fn_mkdir_p
15180 if mkdir -p . 2>/dev/null; then
15181 as_mkdir_p='mkdir -p "$as_dir"'
15182 else
15183 test -d ./-p && rmdir ./-p
15184 as_mkdir_p=false
15185 fi
15186
15187
15188 # as_fn_executable_p FILE
15189 # -----------------------
15190 # Test if FILE is an executable regular file.
15191 as_fn_executable_p ()
15192 {
15193 test -f "$1" && test -x "$1"
15194 } # as_fn_executable_p
15195 as_test_x='test -x'
15196 as_executable_p=as_fn_executable_p
15197
15198 # Sed expression to map a string onto a valid CPP name.
15199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15200
15201 # Sed expression to map a string onto a valid variable name.
15202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15203
15204
15205 exec 6>&1
15206 ## ----------------------------------- ##
15207 ## Main body of $CONFIG_STATUS script. ##
15208 ## ----------------------------------- ##
15209 _ASEOF
15210 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
15211
15212 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15213 # Save the log message, to keep $0 and so on meaningful, and to
15214 # report actual input values of CONFIG_FILES etc. instead of their
15215 # values after options handling.
15216 ac_log="
15217 This file was extended by pinentry $as_me 1.3.3, which was
15218 generated by GNU Autoconf 2.71. Invocation command line was
15219
15220 CONFIG_FILES = $CONFIG_FILES
15221 CONFIG_HEADERS = $CONFIG_HEADERS
15222 CONFIG_LINKS = $CONFIG_LINKS
15223 CONFIG_COMMANDS = $CONFIG_COMMANDS
15224 $ $0 $@
15225
15226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15227 "
15228
15229 _ACEOF
15230
15231 case $ac_config_files in *"
15232 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15233 esac
15234
15235 case $ac_config_headers in *"
15236 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15237 esac
15238
15239
15240 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15241 # Files that config.status was made for.
15242 config_files="$ac_config_files"
15243 config_headers="$ac_config_headers"
15244 config_commands="$ac_config_commands"
15245
15246 _ACEOF
15247
15248 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15249 ac_cs_usage="\
15250 \`$as_me' instantiates files and other configuration actions
15251 from templates according to the current configuration. Unless the files
15252 and actions are specified as TAGs, all are instantiated by default.
15253
15254 Usage: $0 [OPTION]... [TAG]...
15255
15256 -h, --help print this help, then exit
15257 -V, --version print version number and configuration settings, then exit
15258 --config print configuration, then exit
15259 -q, --quiet, --silent
15260 do not print progress messages
15261 -d, --debug don't remove temporary files
15262 --recheck update $as_me by reconfiguring in the same conditions
15263 --file=FILE[:TEMPLATE]
15264 instantiate the configuration file FILE
15265 --header=FILE[:TEMPLATE]
15266 instantiate the configuration header FILE
15267
15268 Configuration files:
15269 $config_files
15270
15271 Configuration headers:
15272 $config_headers
15273
15274 Configuration commands:
15275 $config_commands
15276
15277 Report bugs to <https://bugs.gnupg.org>."
15278
15279 _ACEOF
15280 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
15281 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
15282 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15283 ac_cs_config='$ac_cs_config_escaped'
15284 ac_cs_version="\\
15285 pinentry config.status 1.3.3
15286 configured by $0, generated by GNU Autoconf 2.71,
15287 with options \\"\$ac_cs_config\\"
15288
15289 Copyright (C) 2021 Free Software Foundation, Inc.
15290 This config.status script is free software; the Free Software Foundation
15291 gives unlimited permission to copy, distribute and modify it."
15292
15293 ac_pwd='$ac_pwd'
15294 srcdir='$srcdir'
15295 INSTALL='$INSTALL'
15296 MKDIR_P='$MKDIR_P'
15297 AWK='$AWK'
15298 test -n "\$AWK" || AWK=awk
15299 _ACEOF
15300
15301 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15302 # The default lists apply if the user does not specify any file.
15303 ac_need_defaults=:
15304 while test $# != 0
15305 do
15306 case $1 in
15307 --*=?*)
15308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15309 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15310 ac_shift=:
15311 ;;
15312 --*=)
15313 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15314 ac_optarg=
15315 ac_shift=:
15316 ;;
15317 *)
15318 ac_option=$1
15319 ac_optarg=$2
15320 ac_shift=shift
15321 ;;
15322 esac
15323
15324 case $ac_option in
15325 # Handling of the options.
15326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15327 ac_cs_recheck=: ;;
15328 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15329 printf "%s\n" "$ac_cs_version"; exit ;;
15330 --config | --confi | --conf | --con | --co | --c )
15331 printf "%s\n" "$ac_cs_config"; exit ;;
15332 --debug | --debu | --deb | --de | --d | -d )
15333 debug=: ;;
15334 --file | --fil | --fi | --f )
15335 $ac_shift
15336 case $ac_optarg in
15337 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15338 '') as_fn_error $? "missing file argument" ;;
15339 esac
15340 as_fn_append CONFIG_FILES " '$ac_optarg'"
15341 ac_need_defaults=false;;
15342 --header | --heade | --head | --hea )
15343 $ac_shift
15344 case $ac_optarg in
15345 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15346 esac
15347 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15348 ac_need_defaults=false;;
15349 --he | --h)
15350 # Conflict between --help and --header
15351 as_fn_error $? "ambiguous option: \`$1'
15352 Try \`$0 --help' for more information.";;
15353 --help | --hel | -h )
15354 printf "%s\n" "$ac_cs_usage"; exit ;;
15355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15357 ac_cs_silent=: ;;
15358
15359 # This is an error.
15360 -*) as_fn_error $? "unrecognized option: \`$1'
15361 Try \`$0 --help' for more information." ;;
15362
15363 *) as_fn_append ac_config_targets " $1"
15364 ac_need_defaults=false ;;
15365
15366 esac
15367 shift
15368 done
15369
15370 ac_configure_extra_args=
15371
15372 if $ac_cs_silent; then
15373 exec 6>/dev/null
15374 ac_configure_extra_args="$ac_configure_extra_args --silent"
15375 fi
15376
15377 _ACEOF
15378 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15379 if \$ac_cs_recheck; then
15380 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15381 shift
15382 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
15383 CONFIG_SHELL='$SHELL'
15384 export CONFIG_SHELL
15385 exec "\$@"
15386 fi
15387
15388 _ACEOF
15389 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15390 exec 5>>config.log
15391 {
15392 echo
15393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15394 ## Running $as_me. ##
15395 _ASBOX
15396 printf "%s\n" "$ac_log"
15397 } >&5
15398
15399 _ACEOF
15400 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15401 #
15402 # INIT-COMMANDS
15403 #
15404 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15405
15406 _ACEOF
15407
15408 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15409
15410 # Handling of arguments.
15411 for ac_config_target in $ac_config_targets
15412 do
15413 case $ac_config_target in
15414 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15415 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15416 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15417 "secmem/Makefile") CONFIG_FILES="$CONFIG_FILES secmem/Makefile" ;;
15418 "pinentry/Makefile") CONFIG_FILES="$CONFIG_FILES pinentry/Makefile" ;;
15419 "curses/Makefile") CONFIG_FILES="$CONFIG_FILES curses/Makefile" ;;
15420 "tty/Makefile") CONFIG_FILES="$CONFIG_FILES tty/Makefile" ;;
15421 "efl/Makefile") CONFIG_FILES="$CONFIG_FILES efl/Makefile" ;;
15422 "emacs/Makefile") CONFIG_FILES="$CONFIG_FILES emacs/Makefile" ;;
15423 "gtk+-2/Makefile") CONFIG_FILES="$CONFIG_FILES gtk+-2/Makefile" ;;
15424 "gnome3/Makefile") CONFIG_FILES="$CONFIG_FILES gnome3/Makefile" ;;
15425 "qt/Makefile") CONFIG_FILES="$CONFIG_FILES qt/Makefile" ;;
15426 "qt/icons/Makefile") CONFIG_FILES="$CONFIG_FILES qt/icons/Makefile" ;;
15427 "qt5/Makefile") CONFIG_FILES="$CONFIG_FILES qt5/Makefile" ;;
15428 "qt5/icons/Makefile") CONFIG_FILES="$CONFIG_FILES qt5/icons/Makefile" ;;
15429 "qt4/Makefile") CONFIG_FILES="$CONFIG_FILES qt4/Makefile" ;;
15430 "tqt/Makefile") CONFIG_FILES="$CONFIG_FILES tqt/Makefile" ;;
15431 "w32/Makefile") CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;;
15432 "fltk/Makefile") CONFIG_FILES="$CONFIG_FILES fltk/Makefile" ;;
15433 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15434 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15435 "qt/org.gnupg.pinentry-qt.desktop") CONFIG_FILES="$CONFIG_FILES qt/org.gnupg.pinentry-qt.desktop" ;;
15436 "qt5/org.gnupg.pinentry-qt5.desktop") CONFIG_FILES="$CONFIG_FILES qt5/org.gnupg.pinentry-qt5.desktop" ;;
15437
15438 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15439 esac
15440 done
15441
15442
15443 # If the user did not use the arguments to specify the items to instantiate,
15444 # then the envvar interface is used. Set only those that are not.
15445 # We use the long form for the default assignment because of an extremely
15446 # bizarre bug on SunOS 4.1.3.
15447 if $ac_need_defaults; then
15448 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
15449 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
15450 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
15451 fi
15452
15453 # Have a temporary directory for convenience. Make it in the build tree
15454 # simply because there is no reason against having it here, and in addition,
15455 # creating and moving files from /tmp can sometimes cause problems.
15456 # Hook for its removal unless debugging.
15457 # Note that there is a small window in which the directory will not be cleaned:
15458 # after its creation but before its name has been assigned to `$tmp'.
15459 $debug ||
15460 {
15461 tmp= ac_tmp=
15462 trap 'exit_status=$?
15463 : "${ac_tmp:=$tmp}"
15464 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15465 ' 0
15466 trap 'as_fn_exit 1' 1 2 13 15
15467 }
15468 # Create a (secure) tmp directory for tmp files.
15469
15470 {
15471 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15472 test -d "$tmp"
15473 } ||
15474 {
15475 tmp=./conf$$-$RANDOM
15476 (umask 077 && mkdir "$tmp")
15477 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15478 ac_tmp=$tmp
15479
15480 # Set up the scripts for CONFIG_FILES section.
15481 # No need to generate them if there are no CONFIG_FILES.
15482 # This happens for instance with `./config.status config.h'.
15483 if test -n "$CONFIG_FILES"; then
15484
15485
15486 ac_cr=`echo X | tr X '\015'`
15487 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15488 # But we know of no other shell where ac_cr would be empty at this
15489 # point, so we can use a bashism as a fallback.
15490 if test "x$ac_cr" = x; then
15491 eval ac_cr=\$\'\\r\'
15492 fi
15493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15495 ac_cs_awk_cr='\\r'
15496 else
15497 ac_cs_awk_cr=$ac_cr
15498 fi
15499
15500 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15501 _ACEOF
15502
15503
15504 {
15505 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
15506 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
15507 echoscip-shell system . . echo. "_ACEOF"
15508 } >conf$$subs.sh ||
15509 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
15510 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
15511 ac_delim='%!_!# '
15512 for ac_last_try in false false false false false :; do
15513 . ./conf$$subs.sh ||
15514 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
15515
15516 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
15517 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
15518 break
15519 elif $ac_last_try; then
15520 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
15521 else
15522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15523 fi
15524 done
15525 rmscip-shell system . . rm. -f conf$$subs.sh
15526
15527 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15528 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15529 _ACEOF
15530 sedscip-shell system . . sed. -n '
15531 h
15532 s/^/S["/; s/!.*/"]=/
15533 p
15534 g
15535 s/^[^!]*!//
15536 :repl
15537 t repl
15538 s/'"$ac_delim"'$//
15539 t delim
15540 :nl
15541 h
15542 s/\(.\{148\}\)..*/\1/
15543 t more1
15544 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15545 p
15546 n
15547 b repl
15548 :more1
15549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15550 p
15551 g
15552 s/.\{148\}//
15553 t nl
15554 :delim
15555 h
15556 s/\(.\{148\}\)..*/\1/
15557 t more2
15558 s/["\\]/\\&/g; s/^/"/; s/$/"/
15559 p
15560 b
15561 :more2
15562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15563 p
15564 g
15565 s/.\{148\}//
15566 t delim
15567 ' <conf$$subs.awk | sedscip-shell system . . sed. '
15568 /^[^""]/{
15569 N
15570 s/\n//
15571 }
15572 ' >>$CONFIG_STATUS || ac_write_fail=1
15573 rmscip-shell system . . rm. -f conf$$subs.awk
15574 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15575 _ACAWK
15576 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15577 for (key in S) S_is_set[key] = 1
15578 FS = ""
15579
15580 }
15581 {
15582 line = $ 0
15583 nfields = split(line, field, "@")
15584 substed = 0
15585 len = length(field[1])
15586 for (i = 2; i < nfields; i++) {
15587 key = field[i]
15588 keylen = length(key)
15589 if (S_is_set[key]) {
15590 value = S[key]
15591 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15592 len += length(value) + length(field[++i])
15593 substed = 1
15594 } else
15595 len += 1 + keylen
15596 }
15597
15598 print line
15599 }
15600
15601 _ACAWK
15602 _ACEOF
15603 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15605 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15606 else
15607 cat
15608 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15609 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15610 _ACEOF
15611
15612 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15613 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15614 # trailing colons and then remove the whole line if VPATH becomes empty
15615 # (actually we leave an empty line to preserve line numbers).
15616 if testscip-shell system . . test. "x$srcdir" = x.; then
15617 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15618 h
15619 s///
15620 s/^/:/
15621 s/[ ]*$/:/
15622 s/:\$(srcdir):/:/g
15623 s/:\${srcdir}:/:/g
15624 s/:@srcdir@:/:/g
15625 s/^:*//
15626 s/:*$//
15627 x
15628 s/\(=[ ]*\).*/\1/
15629 G
15630 s/\n//
15631 s/^[^=]*=[ ]*$//
15632 }'
15633 fi
15634
15635 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15636 fi # test -n "$CONFIG_FILES"
15637
15638 # Set up the scripts for CONFIG_HEADERS section.
15639 # No need to generate them if there are no CONFIG_HEADERS.
15640 # This happens for instance with `./config.status Makefile'.
15641 if test -n "$CONFIG_HEADERS"; then
15642 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15643 BEGIN {
15644 _ACEOF
15645
15646 # Transform confdefs.h into an awk script `defines.awk', embedded as
15647 # here-document in config.status, that substitutes the proper values into
15648 # config.h.in to produce config.h.
15649
15650 # Create a delimiter string that does not exist in confdefs.h, to ease
15651 # handling of long lines.
15652 ac_delim='%!_!# '
15653 for ac_last_try in false false :; do
15654 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
15655 if testscip-shell system . . test. -z "$ac_tt"; then
15656 break
15657 elif $ac_last_try; then
15658 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15659 else
15660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15661 fi
15662 done
15663
15664 # For the awk script, D is an array of macro values keyed by name,
15665 # likewise P contains macro parameters if any. Preserve backslash
15666 # newline sequences.
15667
15668 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15669 sedscip-shell system . . sed. -n '
15670 s/.\{148\}/&'"$ac_delim"'/g
15671 t rset
15672 :rset
15673 s/^[ ]*#[ ]*define[ ][ ]*/ /
15674 t def
15675 d
15676 :def
15677 s/\\$//
15678 t bsnl
15679 s/["\\]/\\&/g
15680 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15681 D["\1"]=" \3"/p
15682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15683 d
15684 :bsnl
15685 s/["\\]/\\&/g
15686 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15687 D["\1"]=" \3\\\\\\n"\\/p
15688 t cont
15689 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15690 t cont
15691 d
15692 :cont
15693 n
15694 s/.\{148\}/&'"$ac_delim"'/g
15695 t clear
15696 :clear
15697 s/\\$//
15698 t bsnlc
15699 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15700 d
15701 :bsnlc
15702 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15703 b cont
15704 ' <confdefs.h | sedscip-shell system . . sed. '
15705 s/'"$ac_delim"'/"\\\
15706 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15707
15708 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15709 for (key in D) D_is_set[key] = 1
15710 FS = ""
15711 }
15712 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15713 line = \$ 0
15714 split(line, arg, " ")
15715 if (arg[1] == "#") {
15716 defundef = arg[2]
15717 mac1 = arg[3]
15718 } else {
15719 defundef = substr(arg[1], 2)
15720 mac1 = arg[2]
15721 }
15722 split(mac1, mac2, "(") #)
15723 macro = mac2[1]
15724 prefix = substr(line, 1, index(line, defundef) - 1)
15725 if (D_is_set[macro]) {
15726 # Preserve the white space surrounding the "#".
15727 print prefix "define", macro P[macro] D[macro]
15728 next
15729 } else {
15730 # Replace #undef with comments. This is necessary, for example,
15731 # in the case of _POSIX_SOURCE, which is predefined and required
15732 # on some systems where configure will not decide to define it.
15733 if (defundef == "undef") {
15734 print "/*", prefix defundef, macro, "*/"
15735 next
15736 }
15737 }
15738 }
15739 { print }
15740 _ACAWK
15741 _ACEOF
15742 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15743 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15744 fi # test -n "$CONFIG_HEADERS"
15745
15746
15747 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15748 shift
15749 for ac_tag
15750 do
15751 case $ac_tag in
15752 :[FHLC]) ac_mode=$ac_tag; continue;;
15753 esac
15754 case $ac_mode$ac_tag in
15755 :[FHL]*:*);;
15756 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15757 :[FH]-) ac_tag=-:-;;
15758 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15759 esac
15760 ac_save_IFS=$IFS
15761 IFS=:
15762 set x $ac_tag
15763 IFS=$ac_save_IFS
15764 shift
15765 ac_file=$1
15766 shift
15767
15768 case $ac_mode in
15769 :L) ac_source=$1;;
15770 :[FH])
15771 ac_file_inputs=
15772 for ac_f
15773 do
15774 case $ac_f in
15775 -) ac_f="$ac_tmp/stdin";;
15776 *) # Look for the file first in the build tree, then in the source tree
15777 # (if the path is not absolute). The absolute path cannot be DOS-style,
15778 # because $ac_f cannot contain `:'.
15779 test -f "$ac_f" ||
15780 case $ac_f in
15781 [\\/$]*) false;;
15782 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15783 esac ||
15784 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15785 esac
15786 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15787 as_fn_append ac_file_inputs " '$ac_f'"
15788 done
15789
15790 # Let's still pretend it is `configure' which instantiates (i.e., don't
15791 # use $as_me), people would be surprised to read:
15792 # /* config.h. Generated by config.status. */
15793 configure_input='Generated from '`
15794 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15795 `' by configure.'
15796 if test x"$ac_file" != x-; then
15797 configure_input="$ac_file. $configure_input"
15798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15799 printf "%s\n" "$as_me: creating $ac_file" >&6;}
15800 fi
15801 # Neutralize special characters interpreted by sed in replacement strings.
15802 case $configure_input in #(
15803 *\&* | *\|* | *\\* )
15804 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
15805 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15806 *) ac_sed_conf_input=$configure_input;;
15807 esac
15808
15809 case $ac_tag in
15810 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15812 esac
15813 ;;
15814 esac
15815
15816 ac_dir=`$as_dirname -- "$ac_file" ||
15817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15818 X"$ac_file" : 'X\(//\)[^/]' \| \
15819 X"$ac_file" : 'X\(//\)$' \| \
15820 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15821 printf "%s\n" X"$ac_file" |
15822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15823 s//\1/
15824 q
15825 }
15826 /^X\(\/\/\)[^/].*/{
15827 s//\1/
15828 q
15829 }
15830 /^X\(\/\/\)$/{
15831 s//\1/
15832 q
15833 }
15834 /^X\(\/\).*/{
15835 s//\1/
15836 q
15837 }
15838 s/.*/./; q'`
15839 as_dir="$ac_dir"; as_fn_mkdir_p
15840 ac_builddir=.
15841
15842 case "$ac_dir" in
15843 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15844 *)
15845 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
15846 # A ".." for each directory in $ac_dir_suffix.
15847 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15848 case $ac_top_builddir_sub in
15849 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15850 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15851 esac ;;
15852 esac
15853 ac_abs_top_builddir=$ac_pwd
15854 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15855 # for backward compatibility:
15856 ac_top_builddir=$ac_top_build_prefix
15857
15858 case $srcdir in
15859 .) # We are building in place.
15860 ac_srcdir=.
15861 ac_top_srcdir=$ac_top_builddir_sub
15862 ac_abs_top_srcdir=$ac_pwd ;;
15863 [\\/]* | ?:[\\/]* ) # Absolute name.
15864 ac_srcdir=$srcdir$ac_dir_suffix;
15865 ac_top_srcdir=$srcdir
15866 ac_abs_top_srcdir=$srcdir ;;
15867 *) # Relative name.
15868 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15869 ac_top_srcdir=$ac_top_build_prefix$srcdir
15870 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15871 esac
15872 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15873
15874
15875 case $ac_mode in
15876 :F)
15877 #
15878 # CONFIG_FILE
15879 #
15880
15881 case $INSTALL in
15882 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15883 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15884 esac
15885 ac_MKDIR_P=$MKDIR_P
15886 case $MKDIR_P in
15887 [\\/$]* | ?:[\\/]* ) ;;
15888 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15889 esac
15890 _ACEOF
15891
15892 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15893 # If the template does not know about datarootdir, expand it.
15894 # FIXME: This hack should be removed a few years after 2.60.
15895 ac_datarootdir_hack=; ac_datarootdir_seen=
15896 ac_sed_dataroot='
15897 /datarootdir/ {
15898 p
15899 q
15900 }
15901 /@datadir@/p
15902 /@docdir@/p
15903 /@infodir@/p
15904 /@localedir@/p
15905 /@mandir@/p'
15906 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15907 *datarootdir*) ac_datarootdir_seen=yes;;
15908 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15910 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15911 _ACEOF
15912 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15913 ac_datarootdir_hack='
15914 s&@datadir@&$datadir&g
15915 s&@docdir@&$docdir&g
15916 s&@infodir@&$infodir&g
15917 s&@localedir@&$localedir&g
15918 s&@mandir@&$mandir&g
15919 s&\\\${datarootdir}&$datarootdir&g' ;;
15920 esac
15921 _ACEOF
15922
15923 # Neutralize VPATH when `$srcdir' = `.'.
15924 # Shell code in configure.ac might set extrasub.
15925 # FIXME: do we really want to maintain this feature?
15926 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927 ac_sed_extra="$ac_vpsub
15928 $extrasub
15929 _ACEOF
15930 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15931 :t
15932 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15933 s|@configure_input@|$ac_sed_conf_input|;t t
15934 s&@top_builddir@&$ac_top_builddir_sub&;t t
15935 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15936 s&@srcdir@&$ac_srcdir&;t t
15937 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15938 s&@top_srcdir@&$ac_top_srcdir&;t t
15939 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15940 s&@builddir@&$ac_builddir&;t t
15941 s&@abs_builddir@&$ac_abs_builddir&;t t
15942 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15943 s&@INSTALL@&$ac_INSTALL&;t t
15944 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15945 $ac_datarootdir_hack
15946 "
15947 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15948 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15949
15950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15951 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15953 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15955 which seems to be undefined. Please make sure it is defined" >&5
15956 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15957 which seems to be undefined. Please make sure it is defined" >&2;}
15958
15959 rm -f "$ac_tmp/stdin"
15960 case $ac_file in
15961 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15962 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15963 esac \
15964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15965 ;;
15966 :H)
15967 #
15968 # CONFIG_HEADER
15969 #
15970 if test x"$ac_file" != x-; then
15971 {
15972 printf "%s\n" "/* $configure_input */" >&1 \
15973 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15974 } >"$ac_tmp/config.h" \
15975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15976 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15978 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
15979 else
15980 rm -f "$ac_file"
15981 mv "$ac_tmp/config.h" "$ac_file" \
15982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15983 fi
15984 else
15985 printf "%s\n" "/* $configure_input */" >&1 \
15986 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15987 || as_fn_error $? "could not create -" "$LINENO" 5
15988 fi
15989 # Compute "$ac_file"'s index in $config_headers.
15990 _am_arg="$ac_file"
15991 _am_stamp_count=1
15992 for _am_header in $config_headers :; do
15993 case $_am_header in
15994 $_am_arg | $_am_arg:* )
15995 break ;;
15996 * )
15997 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15998 esac
15999 done
16000 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16001 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16002 X"$_am_arg" : 'X\(//\)[^/]' \| \
16003 X"$_am_arg" : 'X\(//\)$' \| \
16004 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16005 printf "%s\n" X"$_am_arg" |
16006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16007 s//\1/
16008 q
16009 }
16010 /^X\(\/\/\)[^/].*/{
16011 s//\1/
16012 q
16013 }
16014 /^X\(\/\/\)$/{
16015 s//\1/
16016 q
16017 }
16018 /^X\(\/\).*/{
16019 s//\1/
16020 q
16021 }
16022 s/.*/./; q'`/stamp-h$_am_stamp_count
16023 ;;
16024
16025 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16026 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
16027 ;;
16028 esac
16029
16030
16031 case $ac_file$ac_mode in
16032 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16033 # Older Autoconf quotes --file arguments for eval, but not when files
16034 # are listed without --file. Let's play safe and only enable the eval
16035 # if we detect the quoting.
16036 # TODO: see whether this extra hack can be removed once we start
16037 # requiring Autoconf 2.70 or later.
16038 case $CONFIG_FILES in #(
16039 *\'*) :
16040 eval set x "$CONFIG_FILES" ;; #(
16041 *) :
16042 set x $CONFIG_FILES ;; #(
16043 *) :
16044 ;;
16045 esac
16046 shift
16047 # Used to flag and report bootstrapping failures.
16048 am_rc=0
16049 for am_mf
16050 do
16051 # Strip MF so we end up with the name of the file.
16052 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
16053 # Check whether this is an Automake generated Makefile which includes
16054 # dependency-tracking related rules and includes.
16055 # Grep'ing the whole file directly is not great: AIX grep has a line
16056 # limit of 2048, but all sed's we know have understand at least 4000.
16057 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16058 || continue
16059 am_dirpart=`$as_dirname -- "$am_mf" ||
16060 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16061 X"$am_mf" : 'X\(//\)[^/]' \| \
16062 X"$am_mf" : 'X\(//\)$' \| \
16063 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16064 printf "%s\n" X"$am_mf" |
16065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16066 s//\1/
16067 q
16068 }
16069 /^X\(\/\/\)[^/].*/{
16070 s//\1/
16071 q
16072 }
16073 /^X\(\/\/\)$/{
16074 s//\1/
16075 q
16076 }
16077 /^X\(\/\).*/{
16078 s//\1/
16079 q
16080 }
16081 s/.*/./; q'`
16082 am_filepart=`$as_basename -- "$am_mf" ||
16083 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16084 X"$am_mf" : 'X\(//\)$' \| \
16085 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16086 printf "%s\n" X/"$am_mf" |
16087 sed '/^.*\/\([^/][^/]*\)\/*$/{
16088 s//\1/
16089 q
16090 }
16091 /^X\/\(\/\/\)$/{
16092 s//\1/
16093 q
16094 }
16095 /^X\/\(\/\).*/{
16096 s//\1/
16097 q
16098 }
16099 s/.*/./; q'`
16100 { echo "$as_me:$LINENO: cd "$am_dirpart" \
16101 && sed -e '/# am--include-marker/d' "$am_filepart" \
16102 | $MAKE -f - am--depfiles" >&5
16103 (cd "$am_dirpart" \
16104 && sed -e '/# am--include-marker/d' "$am_filepart" \
16105 | $MAKE -f - am--depfiles) >&5 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } || am_rc=$?
16109 done
16110 if test $am_rc -ne 0; then
16111 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16112 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16113 as_fn_error $? "Something went wrong bootstrapping makefile fragments
16114 for automatic dependency tracking. If GNU make was not used, consider
16115 re-running the configure script with MAKE=\"gmake\" (or whatever is
16116 necessary). You can also try re-running configure with the
16117 '--disable-dependency-tracking' option to at least be able to build
16118 the package (albeit without support for automatic dependency tracking).
16119 See \`config.log' for more details" "$LINENO" 5; }
16120 fi
16121 { am_dirpart=; unset am_dirpart;}
16122 { am_filepart=; unset am_filepart;}
16123 { am_mf=; unset am_mf;}
16124 { am_rc=; unset am_rc;}
16125 rm -f conftest-deps.mk
16126 }
16127 ;;
16128
16129 esac
16130 done # for ac_tag
16131
16132
16133 as_fn_exit 0
16134 _ACEOF
16135 ac_clean_files=$ac_clean_files_save
16136
16137 testscip-shell system . . test. $ac_write_fail = 0 ||
16138 as_fn_errorscip-shell shell shell-project 0.0.0 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16139
16140
16141 # configure is writing to config.log, and then calls config.status.
16142 # config.status does its own redirection, appending to config.log.
16143 # Unfortunately, on DOS this fails, as config.log is still kept open
16144 # by configure, so config.status won't be able to write to it; its
16145 # output is simply discarded. So we exec the FD to /dev/null,
16146 # effectively closing config.log, so it can be properly (re)opened and
16147 # appended to by config.status. When coming back to configure, we
16148 # need to make the FD available again.
16149 if testscip-shell system . . test. "$no_create" != yes; then
16150 ac_cs_success=:
16151 ac_config_status_args=
16152 testscip-shell system . . test. "$silent" = yes &&
16153 ac_config_status_args="$ac_config_status_args --quiet"
16154 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
16155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16156 exec 5>>config.log
16157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16158 # would make configure fail if this is the last instruction.
16159 $ac_cs_success || as_fn_exitscip-shell shell shell-project 0.0.0 as_fn_exit(). 1
16160 fi
16161 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
16162 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16163 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16164 fi
16165
16166
16167 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}:
16168
16169 Pinentry v${VERSION} has been configured as follows:
16170
16171 Revision: 9a7b78e (39547)
16172 Platform: $host
16173
16174 Curses Pinentry ..: $pinentry_curses
16175 TTY Pinentry .....: $pinentry_tty
16176 Emacs Pinentry ...: $pinentry_emacs
16177 EFL Pinentry .....: $pinentry_efl
16178 GTK+-2 Pinentry ..: $pinentry_gtk_2
16179 GNOME 3 Pinentry .: $pinentry_gnome_3
16180 Qt6 Pinentry .....: $pinentry_qt6
16181 Qt5 Pinentry .....: $pinentry_qt5
16182 Qt4 Pinentry .....: $pinentry_qt4
16183 TQt Pinentry .....: $pinentry_tqt
16184 W32 Pinentry .....: $pinentry_w32
16185 FLTK Pinentry ....: $pinentry_fltk
16186
16187 Fallback to Curses: $fallback_curses
16188 Emacs integration : $inside_emacs
16189
16190 libsecret ........: $libsecret
16191
16192 Default Pinentry .: $PINENTRY_DEFAULT
16193 " >&5
16194 printfscip-shell system . . printf. "%s\n" "$as_me:
16195
16196 Pinentry v${VERSION} has been configured as follows:
16197
16198 Revision: 9a7b78e (39547)
16199 Platform: $host
16200
16201 Curses Pinentry ..: $pinentry_curses
16202 TTY Pinentry .....: $pinentry_tty
16203 Emacs Pinentry ...: $pinentry_emacs
16204 EFL Pinentry .....: $pinentry_efl
16205 GTK+-2 Pinentry ..: $pinentry_gtk_2
16206 GNOME 3 Pinentry .: $pinentry_gnome_3
16207 Qt6 Pinentry .....: $pinentry_qt6
16208 Qt5 Pinentry .....: $pinentry_qt5
16209 Qt4 Pinentry .....: $pinentry_qt4
16210 TQt Pinentry .....: $pinentry_tqt
16211 W32 Pinentry .....: $pinentry_w32
16212 FLTK Pinentry ....: $pinentry_fltk
16213
16214 Fallback to Curses: $fallback_curses
16215 Emacs integration : $inside_emacs
16216
16217 libsecret ........: $libsecret
16218
16219 Default Pinentry .: $PINENTRY_DEFAULT
16220 " >&6;}
16221