Debian Codegraph @

xdpyinfo/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 xdpyinfo 1.3.4.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdpyinfo/-/issues>.
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://gitlab.freedesktop.org/xorg/app/xdpyinfo/-/issues
272 $0: about your system, including any error possibly output
273 $0: before this message. Then install a modern shell, or
274 $0: manually run the script under such a shell if you do
275 $0: have one."
276 fi
277 exit 1
278 fi
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unsetscip-shell shell x11-utils 7.7+7 as_fn_unset(). ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_statusscip-shell shell x11-utils 7.7+7 as_fn_set_status(). ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exitscip-shell shell x11-utils 7.7+7 as_fn_exit(). ()
312 {
313 set +e
314 as_fn_set_statusscip-shell shell x11-utils 7.7+7 as_fn_set_status(). $1
315 exit $1
316 } # as_fn_exit
317 # as_fn_nop
318 # ---------
319 # Do nothing but, unlike ":", preserve the value of $?.
320 as_fn_nopscip-shell shell x11-utils 7.7+7 as_fn_nop(). ()
321 {
322 return $?
323 }
324 as_nop=as_fn_nop
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_pscip-shell shell x11-utils 7.7+7 as_fn_mkdir_p(). ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
348 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
349 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 testscip-shell system . . test. -d "$as_dir" && break
367 done
368 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). ()
378 {
379 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else $as_nop
394 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ()
395 {
396 eval $1=\$$1\$2
397 }
398 fi # as_fn_append
399
400 # as_fn_arith ARG...
401 # ------------------
402 # Perform arithmetic evaluation on the ARGs, and store the result in the
403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
404 # must be portable across $(()) and expr.
405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
406 then :
407 eval 'as_fn_arith ()
408 {
409 as_val=$(( $* ))
410 }'
411 else $as_nop
412 as_fn_arithscip-shell shell x11-utils 7.7+7 as_fn_arith(). ()
413 {
414 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
415 }
416 fi # as_fn_arith
417
418 # as_fn_nop
419 # ---------
420 # Do nothing but, unlike ":", preserve the value of $?.
421 as_fn_nopscip-shell shell x11-utils 7.7+7 as_fn_nop(). ()
422 {
423 return $?
424 }
425 as_nop=as_fn_nop
426
427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
428 # ----------------------------------------
429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431 # script with STATUS, using 1 if that was 0.
432 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). ()
433 {
434 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
435 if testscip-shell system . . test. "$4"; then
436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 fi
439 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
440 as_fn_exitscip-shell shell x11-utils 7.7+7 as_fn_exit(). $as_status
441 } # as_fn_error
442
443 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
444 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
445 as_expr=expr
446 else
447 as_expr=false
448 fi
449
450 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
451 as_basename=basename
452 else
453 as_basename=false
454 fi
455
456 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
457 as_dirname=dirname
458 else
459 as_dirname=false
460 fi
461
462 as_me=`$as_basename -- "$0" ||
463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464 X"$0" : 'X\(//\)$' \| \
465 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
466 printfscip-shell system . . printf. "%s\n" X/"$0" |
467 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
468 s//\1/
469 q
470 }
471 /^X\/\(\/\/\)$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\).*/{
476 s//\1/
477 q
478 }
479 s/.*/./; q'`
480
481 # Avoid depending upon Character Ranges.
482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
485 as_cr_digits='0123456789'
486 as_cr_alnum=$as_cr_Letters$as_cr_digits
487
488
489 as_lineno_1=$LINENO as_lineno_1a=$LINENO
490 as_lineno_2=$LINENO as_lineno_2a=$LINENO
491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 sedscip-shell system . . sed. -n '
495 p
496 /[$]LINENO/=
497 ' <$as_myself |
498 sedscip-shell system . . sed. '
499 s/[$]LINENO.*/&-/
500 t lineno
501 b
502 :lineno
503 N
504 :loop
505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506 t loop
507 s/-\n.*//
508 ' >$as_me.lineno &&
509 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
510 { 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 x11-utils 7.7+7 as_fn_exit(). 1; }
511
512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513 # already done that, so ensure we don't try to do so again and fall
514 # in an infinite loop. This has already happened in practice.
515 _as_can_reexec=no; export _as_can_reexec
516 # Don't try to exec as it changes $[0], causing all sort of problems
517 # (the dirname of $[0] is not the place where we might find the
518 # original and so on. Autoconf is especially sensitive to this).
519 . "./$as_me.lineno"
520 # Exit status is that of the last command.
521 exit
522 }
523
524
525 # Determine whether it's possible to make 'echo' print without a newline.
526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527 # for compatibility with existing Makefiles.
528 ECHO_C= ECHO_N= ECHO_T=
529 case `echoscip-shell system . . echo. -n x` in #(((((
530 -n*)
531 case `echoscip-shell system . . echo. 'xy\c'` in
532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
533 xy) ECHO_C='\c';;
534 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
535 ECHO_T=' ';;
536 esac;;
537 *)
538 ECHO_N='-n';;
539 esac
540
541 # For backward compatibility with old third-party macros, we provide
542 # the shell variables $as_echo and $as_echo_n. New code should use
543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544 as_echo='printf %s\n'
545 as_echo_n='printf %s'
546
547
548 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
549 if testscip-shell system . . test. -d conf$$.dir; then
550 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
551 else
552 rmscip-shell system . . rm. -f conf$$.dir
553 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
554 fi
555 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
556 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
557 as_ln_s='ln -s'
558 # ... but there are two gotchas:
559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561 # In both cases, we have to default to `cp -pR'.
562 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
563 as_ln_s='cp -pR'
564 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
565 as_ln_s=ln
566 else
567 as_ln_s='cp -pR'
568 fi
569 else
570 as_ln_s='cp -pR'
571 fi
572 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
574
575 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
576 as_mkdir_p='mkdir -p "$as_dir"'
577 else
578 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
579 as_mkdir_p=false
580 fi
581
582 as_test_x='test -x'
583 as_executable_p=as_fn_executable_p
584
585 # Sed expression to map a string onto a valid CPP name.
586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587
588 # Sed expression to map a string onto a valid variable name.
589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590
591
592 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
593 exec 6>&1
594
595 # Name of the host.
596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 # so uname gets run too.
598 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
599
600 #
601 # Initializations.
602 #
603 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
604 ac_clean_files=
605 ac_config_libobj_dir=.
606 LIBOBJS=
607 cross_compiling=no
608 subdirs=
609 MFLAGS=
610 MAKEFLAGS=
611
612 # Identity of this package.
613 PACKAGE_NAME='xdpyinfo'
614 PACKAGE_TARNAME='xdpyinfo'
615 PACKAGE_VERSION='1.3.4'
616 PACKAGE_STRING='xdpyinfo 1.3.4'
617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xdpyinfo/-/issues'
618 PACKAGE_URL=''
619
620 ac_unique_file="Makefile.am"
621 # Factoring default headers for most tests.
622 ac_includes_default="\
623 #include <stddef.h>
624 #ifdef HAVE_STDIO_H
625 # include <stdio.h>
626 #endif
627 #ifdef HAVE_STDLIB_H
628 # include <stdlib.h>
629 #endif
630 #ifdef HAVE_STRING_H
631 # include <string.h>
632 #endif
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
635 #endif
636 #ifdef HAVE_STDINT_H
637 # include <stdint.h>
638 #endif
639 #ifdef HAVE_STRINGS_H
640 # include <strings.h>
641 #endif
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
644 #endif
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
647 #endif
648 #ifdef HAVE_UNISTD_H
649 # include <unistd.h>
650 #endif"
651
652 ac_header_c_list=
653 ac_subst_vars='am__EXEEXT_FALSE
654 am__EXEEXT_TRUE
655 LTLIBOBJS
656 LIBOBJS
657 LINT_FALSE
658 LINT_TRUE
659 LINT_FLAGS
660 LINT
661 DPY_XTST_LIBS
662 DPY_XTST_CFLAGS
663 DPY_DMX_LIBS
664 DPY_DMX_CFLAGS
665 DPY_XINERAMA_LIBS
666 DPY_XINERAMA_CFLAGS
667 DPY_XCOMPOSITE_LIBS
668 DPY_XCOMPOSITE_CFLAGS
669 DPY_XRENDER_LIBS
670 DPY_XRENDER_CFLAGS
671 DPY_XINPUT_LIBS
672 DPY_XINPUT_CFLAGS
673 DPY_XF86MISC_LIBS
674 DPY_XF86MISC_CFLAGS
675 DPY_XF86DGA_LIBS
676 DPY_XF86DGA_CFLAGS
677 DPY_XF86VIDMODE_LIBS
678 DPY_XF86VIDMODE_CFLAGS
679 DPY_XKB_LIBS
680 DPY_XKB_CFLAGS
681 DPY_XEXT_LIBS
682 DPY_XEXT_CFLAGS
683 DPY_X11_LIBS
684 DPY_X11_CFLAGS
685 XDPYINFO_LIBS
686 XDPYINFO_CFLAGS
687 MAN_SUBSTS
688 XORG_MAN_PAGE
689 ADMIN_MAN_DIR
690 DRIVER_MAN_DIR
691 MISC_MAN_DIR
692 FILE_MAN_DIR
693 LIB_MAN_DIR
694 APP_MAN_DIR
695 ADMIN_MAN_SUFFIX
696 DRIVER_MAN_SUFFIX
697 MISC_MAN_SUFFIX
698 FILE_MAN_SUFFIX
699 LIB_MAN_SUFFIX
700 APP_MAN_SUFFIX
701 SED
702 host_os
703 host_vendor
704 host_cpu
705 host
706 build_os
707 build_vendor
708 build_cpu
709 build
710 INSTALL_CMD
711 PKG_CONFIG_LIBDIR
712 PKG_CONFIG_PATH
713 PKG_CONFIG
714 CHANGELOG_CMD
715 STRICT_CFLAGS
716 CWARNFLAGS
717 BASE_CFLAGS
718 am__fastdepCC_FALSE
719 am__fastdepCC_TRUE
720 CCDEPMODE
721 am__nodep
722 AMDEPBACKSLASH
723 AMDEP_FALSE
724 AMDEP_TRUE
725 am__include
726 DEPDIR
727 OBJEXT
728 EXEEXT
729 ac_ct_CC
730 CPPFLAGS
731 LDFLAGS
732 CFLAGS
733 CC
734 AM_BACKSLASH
735 AM_DEFAULT_VERBOSITY
736 AM_DEFAULT_V
737 AM_V
738 CSCOPE
739 ETAGS
740 CTAGS
741 am__untar
742 am__tar
743 AMTAR
744 am__leading_dot
745 SET_MAKE
746 AWK
747 mkdir_p
748 MKDIR_P
749 INSTALL_STRIP_PROGRAM
750 STRIP
751 install_sh
752 MAKEINFO
753 AUTOHEADER
754 AUTOMAKE
755 AUTOCONF
756 ACLOCAL
757 VERSION
758 PACKAGE
759 CYGPATH_W
760 am__isrc
761 INSTALL_DATA
762 INSTALL_SCRIPT
763 INSTALL_PROGRAM
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 runstatedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL
803 am__quote'
804 ac_subst_files=''
805 ac_user_opts='
806 enable_option_checking
807 enable_silent_rules
808 enable_dependency_tracking
809 enable_selective_werror
810 enable_strict_compilation
811 with_dga
812 with_xf86misc
813 with_xinerama
814 with_dmx
815 with_lint
816 '
817 ac_precious_vars='build_alias
818 host_alias
819 target_alias
820 CC
821 CFLAGS
822 LDFLAGS
823 LIBS
824 CPPFLAGS
825 PKG_CONFIG
826 PKG_CONFIG_PATH
827 PKG_CONFIG_LIBDIR
828 XDPYINFO_CFLAGS
829 XDPYINFO_LIBS
830 DPY_X11_CFLAGS
831 DPY_X11_LIBS
832 DPY_XEXT_CFLAGS
833 DPY_XEXT_LIBS
834 DPY_XKB_CFLAGS
835 DPY_XKB_LIBS
836 DPY_XF86VIDMODE_CFLAGS
837 DPY_XF86VIDMODE_LIBS
838 DPY_XF86DGA_CFLAGS
839 DPY_XF86DGA_LIBS
840 DPY_XF86MISC_CFLAGS
841 DPY_XF86MISC_LIBS
842 DPY_XINPUT_CFLAGS
843 DPY_XINPUT_LIBS
844 DPY_XRENDER_CFLAGS
845 DPY_XRENDER_LIBS
846 DPY_XCOMPOSITE_CFLAGS
847 DPY_XCOMPOSITE_LIBS
848 DPY_XINERAMA_CFLAGS
849 DPY_XINERAMA_LIBS
850 DPY_DMX_CFLAGS
851 DPY_DMX_LIBS
852 DPY_XTST_CFLAGS
853 DPY_XTST_LIBS
854 LINT
855 LINT_FLAGS'
856
857
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
879
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 runstatedir='${localstatedir}/run'
895 includedir='${prefix}/include'
896 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
897 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir='${datarootdir}/info'
899 htmldir='${docdir}'
900 dvidir='${docdir}'
901 pdfdir='${docdir}'
902 psdir='${docdir}'
903 libdir='${exec_prefix}/lib'
904 localedir='${datarootdir}/locale'
905 mandir='${datarootdir}/man'
906
907 ac_prev=
908 ac_dashdash=
909 for ac_option
910 do
911 # If the previous option needs an argument, assign it.
912 if testscip-shell system . . test. -n "$ac_prev"; then
913 eval $ac_prev=\$ac_option
914 ac_prev=
915 continue
916 fi
917
918 case $ac_option in
919 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 *=) ac_optarg= ;;
921 *) ac_optarg=yes ;;
922 esac
923
924 case $ac_dashdash$ac_option in
925 --)
926 ac_dashdash=yes ;;
927
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
929 ac_prev=bindir ;;
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931 bindir=$ac_optarg ;;
932
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
937
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
944
945 --config-cache | -C)
946 cache_file=config.cache ;;
947
948 -datadir | --datadir | --datadi | --datad)
949 ac_prev=datadir ;;
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
952
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
959
960 -disable-* | --disable-*)
961 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
964 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
967 case $ac_user_opts in
968 *"
969 "enable_$ac_useropt"
970 "*) ;;
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
973 esac
974 eval enable_$ac_useropt=no ;;
975
976 -docdir | --docdir | --docdi | --doc | --do)
977 ac_prev=docdir ;;
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 docdir=$ac_optarg ;;
980
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982 ac_prev=dvidir ;;
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 dvidir=$ac_optarg ;;
985
986 -enable-* | --enable-*)
987 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
990 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
993 case $ac_user_opts in
994 *"
995 "enable_$ac_useropt"
996 "*) ;;
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
999 esac
1000 eval enable_$ac_useropt=\$ac_optarg ;;
1001
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1010
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1013 with_gas=yes ;;
1014
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1021
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1026
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 ac_prev=htmldir ;;
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 | --ht=*)
1031 htmldir=$ac_optarg ;;
1032
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1039
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 ac_prev=infodir ;;
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1044
1045 -libdir | --libdir | --libdi | --libd)
1046 ac_prev=libdir ;;
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1049
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1056
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1061
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1068
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 ac_prev=mandir ;;
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1073
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1076 with_fp=no ;;
1077
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1080 no_create=yes ;;
1081
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084 no_recursion=yes ;;
1085
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1094
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 ac_prev=prefix ;;
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1099
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1106
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1113
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1130
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 ac_prev=pdfdir ;;
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1135
1136 -psdir | --psdir | --psdi | --psd | --ps)
1137 ac_prev=psdir ;;
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139 psdir=$ac_optarg ;;
1140
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1143 silent=yes ;;
1144
1145 -runstatedir | --runstatedir | --runstatedi | --runstated \
1146 | --runstate | --runstat | --runsta | --runst | --runs \
1147 | --run | --ru | --r)
1148 ac_prev=runstatedir ;;
1149 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1150 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1151 | --run=* | --ru=* | --r=*)
1152 runstatedir=$ac_optarg ;;
1153
1154 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1155 ac_prev=sbindir ;;
1156 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1157 | --sbi=* | --sb=*)
1158 sbindir=$ac_optarg ;;
1159
1160 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1161 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1162 | --sharedst | --shareds | --shared | --share | --shar \
1163 | --sha | --sh)
1164 ac_prev=sharedstatedir ;;
1165 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1166 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1167 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1168 | --sha=* | --sh=*)
1169 sharedstatedir=$ac_optarg ;;
1170
1171 -site | --site | --sit)
1172 ac_prev=site ;;
1173 -site=* | --site=* | --sit=*)
1174 site=$ac_optarg ;;
1175
1176 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1177 ac_prev=srcdir ;;
1178 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1179 srcdir=$ac_optarg ;;
1180
1181 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1182 | --syscon | --sysco | --sysc | --sys | --sy)
1183 ac_prev=sysconfdir ;;
1184 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1185 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1186 sysconfdir=$ac_optarg ;;
1187
1188 -target | --target | --targe | --targ | --tar | --ta | --t)
1189 ac_prev=target_alias ;;
1190 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1191 target_alias=$ac_optarg ;;
1192
1193 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1194 verbose=yes ;;
1195
1196 -version | --version | --versio | --versi | --vers | -V)
1197 ac_init_version=: ;;
1198
1199 -with-* | --with-*)
1200 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1203 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1204 ac_useropt_orig=$ac_useropt
1205 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1207 *"
1208 "with_$ac_useropt"
1209 "*) ;;
1210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1211 ac_unrecognized_sep=', ';;
1212 esac
1213 eval with_$ac_useropt=\$ac_optarg ;;
1214
1215 -without-* | --without-*)
1216 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1217 # Reject names that are not valid shell variable names.
1218 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1219 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1220 ac_useropt_orig=$ac_useropt
1221 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1223 *"
1224 "with_$ac_useropt"
1225 "*) ;;
1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1227 ac_unrecognized_sep=', ';;
1228 esac
1229 eval with_$ac_useropt=no ;;
1230
1231 --x)
1232 # Obsolete; use --with-x.
1233 with_x=yes ;;
1234
1235 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1236 | --x-incl | --x-inc | --x-in | --x-i)
1237 ac_prev=x_includes ;;
1238 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1239 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1240 x_includes=$ac_optarg ;;
1241
1242 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1243 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1244 ac_prev=x_libraries ;;
1245 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1246 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1247 x_libraries=$ac_optarg ;;
1248
1249 -*) as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "unrecognized option: \`$ac_option'
1250 Try \`$0 --help' for more information"
1251 ;;
1252
1253 *=*)
1254 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 case $ac_envvar in #(
1257 '' | [0-9]* | *[!_$as_cr_alnum]* )
1258 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1259 esac
1260 eval $ac_envvar=\$ac_optarg
1261 export $ac_envvar ;;
1262
1263 *)
1264 # FIXME: should be removed in autoconf 3.0.
1265 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1267 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1269 ;;
1270
1271 esac
1272 done
1273
1274 if testscip-shell system . . test. -n "$ac_prev"; then
1275 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1276 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "missing argument to $ac_option"
1277 fi
1278
1279 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1280 case $enable_option_checking in
1281 no) ;;
1282 fatal) as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1283 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 esac
1285 fi
1286
1287 # Check all directory arguments for consistency.
1288 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir runstatedir
1292 do
1293 eval ac_val=\$$ac_var
1294 # Remove trailing slashes.
1295 case $ac_val in
1296 */ )
1297 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1298 eval $ac_var=\$ac_val;;
1299 esac
1300 # Be sure to have absolute directory names.
1301 case $ac_val in
1302 [\\/$]* | ?:[\\/]* ) continue;;
1303 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1304 esac
1305 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1306 done
1307
1308 # There might be people who depend on the old broken behavior: `$host'
1309 # used to hold the argument of --host etc.
1310 # FIXME: To remove some day.
1311 build=$build_alias
1312 host=$host_alias
1313 target=$target_alias
1314
1315 # FIXME: To remove some day.
1316 if testscip-shell system . . test. "x$host_alias" != x; then
1317 if testscip-shell system . . test. "x$build_alias" = x; then
1318 cross_compiling=maybe
1319 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1320 cross_compiling=yes
1321 fi
1322 fi
1323
1324 ac_tool_prefix=
1325 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1326
1327 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1328
1329
1330 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1331 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1332 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1333 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "working directory cannot be determined"
1334 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1335 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "pwd does not report name of working directory"
1336
1337
1338 # Find the source files, if location was not specified.
1339 if testscip-shell system . . test. -z "$srcdir"; then
1340 ac_srcdir_defaulted=yes
1341 # Try the directory containing this script, then the parent directory.
1342 ac_confdir=`$as_dirname -- "$as_myself" ||
1343 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1344 X"$as_myself" : 'X\(//\)[^/]' \| \
1345 X"$as_myself" : 'X\(//\)$' \| \
1346 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1347 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1348 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349 s//\1/
1350 q
1351 }
1352 /^X\(\/\/\)[^/].*/{
1353 s//\1/
1354 q
1355 }
1356 /^X\(\/\/\)$/{
1357 s//\1/
1358 q
1359 }
1360 /^X\(\/\).*/{
1361 s//\1/
1362 q
1363 }
1364 s/.*/./; q'`
1365 srcdir=$ac_confdir
1366 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1367 srcdir=..
1368 fi
1369 else
1370 ac_srcdir_defaulted=no
1371 fi
1372 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1373 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1374 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1375 fi
1376 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 ac_abs_confdir=`(
1378 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "$ac_msg"
1379 pwdscip-shell system . . pwd.)`
1380 # When building in place, set srcdir=.
1381 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1382 srcdir=.
1383 fi
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1387 case $srcdir in
1388 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 esac
1390 for ac_var in $ac_precious_vars; do
1391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_${ac_var}_value=\$${ac_var}
1393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1395 done
1396
1397 #
1398 # Report the --help message.
1399 #
1400 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1403 catscip-shell system . . cat. <<_ACEOF
1404 \`configure' configures xdpyinfo 1.3.4 to adapt to many kinds of systems.
1405
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1407
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1410
1411 Defaults for the options are specified in brackets.
1412
1413 Configuration:
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking ...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 [PREFIX]
1429
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1434
1435 For better control, use the options below.
1436
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/xdpyinfo]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1458 _ACEOF
1459
1460 catscip-shell system . . cat. <<\_ACEOF
1461
1462 Program names:
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1466
1467 System types:
1468 --build=BUILD configure for building on BUILD [guessed]
1469 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1470 _ACEOF
1471 fi
1472
1473 if testscip-shell system . . test. -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive ) echoscip-shell system . . echo. "Configuration of xdpyinfo 1.3.4:";;
1476 esac
1477 catscip-shell system . . cat. <<\_ACEOF
1478
1479 Optional Features:
1480 --disable-option-checking ignore unrecognized --enable/--with options
1481 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1482 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1483 --enable-silent-rules less verbose build output (undo: "make V=1")
1484 --disable-silent-rules verbose build output (undo: "make V=0")
1485 --enable-dependency-tracking
1486 do not reject slow dependency extractors
1487 --disable-dependency-tracking
1488 speeds up one-time build
1489 --disable-selective-werror
1490 Turn off selective compiler errors. (default:
1491 enabled)
1492 --enable-strict-compilation
1493 Enable all warnings from compiler and make them
1494 errors (default: disabled)
1495
1496 Optional Packages:
1497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1499 --without-dga Disable dga support.
1500 --with-xf86misc Enable xf86misc support.
1501 --without-xinerama Disable xinerama support.
1502 --with-dmx Enable dmx support.
1503 --with-lint Use a lint-style source code checker (default:
1504 disabled)
1505
1506 Some influential environment variables:
1507 CC C compiler command
1508 CFLAGS C compiler flags
1509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1510 nonstandard directory <lib dir>
1511 LIBS libraries to pass to the linker, e.g. -l<library>
1512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1513 you have headers in a nonstandard directory <include dir>
1514 PKG_CONFIG path to pkg-config utility
1515 PKG_CONFIG_PATH
1516 directories to add to pkg-config's search path
1517 PKG_CONFIG_LIBDIR
1518 path overriding pkg-config's built-in search path
1519 XDPYINFO_CFLAGS
1520 C compiler flags for XDPYINFO, overriding pkg-config
1521 XDPYINFO_LIBS
1522 linker flags for XDPYINFO, overriding pkg-config
1523 DPY_X11_CFLAGS
1524 C compiler flags for DPY_X11, overriding pkg-config
1525 DPY_X11_LIBS
1526 linker flags for DPY_X11, overriding pkg-config
1527 DPY_XEXT_CFLAGS
1528 C compiler flags for DPY_XEXT, overriding pkg-config
1529 DPY_XEXT_LIBS
1530 linker flags for DPY_XEXT, overriding pkg-config
1531 DPY_XKB_CFLAGS
1532 C compiler flags for DPY_XKB, overriding pkg-config
1533 DPY_XKB_LIBS
1534 linker flags for DPY_XKB, overriding pkg-config
1535 DPY_XF86VIDMODE_CFLAGS
1536 C compiler flags for DPY_XF86VIDMODE, overriding pkg-config
1537 DPY_XF86VIDMODE_LIBS
1538 linker flags for DPY_XF86VIDMODE, overriding pkg-config
1539 DPY_XF86DGA_CFLAGS
1540 C compiler flags for DPY_XF86DGA, overriding pkg-config
1541 DPY_XF86DGA_LIBS
1542 linker flags for DPY_XF86DGA, overriding pkg-config
1543 DPY_XF86MISC_CFLAGS
1544 C compiler flags for DPY_XF86MISC, overriding pkg-config
1545 DPY_XF86MISC_LIBS
1546 linker flags for DPY_XF86MISC, overriding pkg-config
1547 DPY_XINPUT_CFLAGS
1548 C compiler flags for DPY_XINPUT, overriding pkg-config
1549 DPY_XINPUT_LIBS
1550 linker flags for DPY_XINPUT, overriding pkg-config
1551 DPY_XRENDER_CFLAGS
1552 C compiler flags for DPY_XRENDER, overriding pkg-config
1553 DPY_XRENDER_LIBS
1554 linker flags for DPY_XRENDER, overriding pkg-config
1555 DPY_XCOMPOSITE_CFLAGS
1556 C compiler flags for DPY_XCOMPOSITE, overriding pkg-config
1557 DPY_XCOMPOSITE_LIBS
1558 linker flags for DPY_XCOMPOSITE, overriding pkg-config
1559 DPY_XINERAMA_CFLAGS
1560 C compiler flags for DPY_XINERAMA, overriding pkg-config
1561 DPY_XINERAMA_LIBS
1562 linker flags for DPY_XINERAMA, overriding pkg-config
1563 DPY_DMX_CFLAGS
1564 C compiler flags for DPY_DMX, overriding pkg-config
1565 DPY_DMX_LIBS
1566 linker flags for DPY_DMX, overriding pkg-config
1567 DPY_XTST_CFLAGS
1568 C compiler flags for DPY_XTST, overriding pkg-config
1569 DPY_XTST_LIBS
1570 linker flags for DPY_XTST, overriding pkg-config
1571 LINT Path to a lint-style command
1572 LINT_FLAGS Flags for the lint-style command
1573
1574 Use these variables to override the choices made by `configure' or to help
1575 it to find libraries and programs with nonstandard names/locations.
1576
1577 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdpyinfo/-/issues>.
1578 _ACEOF
1579 ac_status=$?
1580 fi
1581
1582 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1583 # If there are subdirs, report their specific --help.
1584 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1585 testscip-shell system . . test. -d "$ac_dir" ||
1586 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1587 continue
1588 ac_builddir=.
1589
1590 case "$ac_dir" in
1591 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 *)
1593 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1594 # A ".." for each directory in $ac_dir_suffix.
1595 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1596 case $ac_top_builddir_sub in
1597 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1599 esac ;;
1600 esac
1601 ac_abs_top_builddir=$ac_pwd
1602 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1603 # for backward compatibility:
1604 ac_top_builddir=$ac_top_build_prefix
1605
1606 case $srcdir in
1607 .) # We are building in place.
1608 ac_srcdir=.
1609 ac_top_srcdir=$ac_top_builddir_sub
1610 ac_abs_top_srcdir=$ac_pwd ;;
1611 [\\/]* | ?:[\\/]* ) # Absolute name.
1612 ac_srcdir=$srcdir$ac_dir_suffix;
1613 ac_top_srcdir=$srcdir
1614 ac_abs_top_srcdir=$srcdir ;;
1615 *) # Relative name.
1616 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1617 ac_top_srcdir=$ac_top_build_prefix$srcdir
1618 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1619 esac
1620 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1621
1622 cd "$ac_dir" || { ac_status=$?; continue; }
1623 # Check for configure.gnu first; this name is used for a wrapper for
1624 # Metaconfig's "Configure" on case-insensitive file systems.
1625 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1626 echoscip-shell system . . echo. &&
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1629 echoscip-shell system . . echo. &&
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1631 else
1632 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633 fi || ac_status=$?
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1635 done
1636 fi
1637
1638 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1640 catscip-shell system . . cat. <<\_ACEOF
1641 xdpyinfo configure 1.3.4
1642 generated by GNU Autoconf 2.71
1643
1644 Copyright (C) 2021 Free Software Foundation, Inc.
1645 This configure script is free software; the Free Software Foundation
1646 gives unlimited permission to copy, distribute and modify it.
1647 _ACEOF
1648 exit
1649 fi
1650
1651 ## ------------------------ ##
1652 ## Autoconf initialization. ##
1653 ## ------------------------ ##
1654
1655 # ac_fn_c_try_compile LINENO
1656 # --------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). ()
1659 {
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1662 if { { ac_try="$ac_compile"
1663 case "(($ac_try" in
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1670 ac_status=$?
1671 if testscip-shell system . . test. -s conftest.err; then
1672 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1673 catscip-shell system . . cat. conftest.er1 >&5
1674 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1675 fi
1676 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 testscip-shell system . . test. $ac_status = 0; } && {
1678 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1679 testscip-shell system . . test. ! -s conftest.err
1680 } && testscip-shell system . . test. -s conftest.$ac_objext
1681 then :
1682 ac_retval=0
1683 else $as_nop
1684 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1685 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=1
1688 fi
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 as_fn_set_statusscip-shell shell x11-utils 7.7+7 as_fn_set_status(). $ac_retval
1691
1692 } # ac_fn_c_try_compile
1693
1694 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1695 # ------------------------------------------------------------------
1696 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1697 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1698 ac_fn_check_declscip-shell shell x11-utils 7.7+7 ac_fn_check_decl(). ()
1699 {
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'`
1702 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1703 printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; }
1704 if eval test \${$3+y}
1705 then :
1706 printfscip-shell system . . printf. %s "(cached) " >&6
1707 else $as_nop
1708 as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1709 eval ac_save_FLAGS=\$$6
1710 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). $6 " $5"
1711 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 $4
1714 int
1715 main (void)
1716 {
1717 #ifndef $as_decl_name
1718 #ifdef __cplusplus
1719 (void) $as_decl_use;
1720 #else
1721 (void) $as_decl_name;
1722 #endif
1723 #endif
1724
1725 ;
1726 return 0;
1727 }
1728 _ACEOF
1729 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
1730 then :
1731 eval "$3=yes"
1732 else $as_nop
1733 eval "$3=no"
1734 fi
1735 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1736 eval $6=\$ac_save_FLAGS
1737
1738 fi
1739 eval ac_res=\$$3
1740 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743
1744 } # ac_fn_check_decl
1745
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). ()
1751 {
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1755 if eval test \${$3+y}
1756 then :
1757 printfscip-shell system . . printf. %s "(cached) " >&6
1758 else $as_nop
1759 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1761 $4
1762 #include <$2>
1763 _ACEOF
1764 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
1765 then :
1766 eval "$3=yes"
1767 else $as_nop
1768 eval "$3=no"
1769 fi
1770 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1771 fi
1772 eval ac_res=\$$3
1773 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1777 } # ac_fn_c_check_header_compile
1778
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1787 case "(($ac_try" in
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1790 esac
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1794 ac_status=$?
1795 if testscip-shell system . . test. -s conftest.err; then
1796 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1797 catscip-shell system . . cat. conftest.er1 >&5
1798 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1799 fi
1800 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 testscip-shell system . . test. $ac_status = 0; } && {
1802 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1803 testscip-shell system . . test. ! -s conftest.err
1804 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1805 testscip-shell system . . test. "$cross_compiling" = yes ||
1806 testscip-shell system . . test. -x conftest$ac_exeext
1807 }
1808 then :
1809 ac_retval=0
1810 else $as_nop
1811 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1812 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1813
1814 ac_retval=1
1815 fi
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_statusscip-shell shell x11-utils 7.7+7 as_fn_set_status(). $ac_retval
1823
1824 } # ac_fn_c_try_link
1825 ac_configure_args_raw=
1826 for ac_arg
1827 do
1828 case $ac_arg in
1829 *\'*)
1830 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1831 esac
1832 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
1833 done
1834
1835 case $ac_configure_args_raw in
1836 *$as_nl*)
1837 ac_safe_unquote= ;;
1838 *)
1839 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1840 ac_unsafe_a="$ac_unsafe_z#~"
1841 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1842 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
1843 esac
1844
1845 catscip-shell system . . cat. >config.log <<_ACEOF
1846 This file contains any messages produced by compilers while
1847 running configure, to aid debugging if configure makes a mistake.
1848
1849 It was created by xdpyinfo $as_me 1.3.4, which was
1850 generated by GNU Autoconf 2.71. Invocation command line was
1851
1852 $ $0$ac_configure_args_raw
1853
1854 _ACEOF
1855 exec 5>>config.log
1856 {
1857 catscip-shell system . . cat. <<_ASUNAME
1858 ## --------- ##
1859 ## Platform. ##
1860 ## --------- ##
1861
1862 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1863 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1864 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1865 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1866 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1867
1868 /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`
1869 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1870
1871 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1872 /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`
1873 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1874 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1875 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1876 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1877 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1878
1879 _ASUNAME
1880
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH
1883 do
1884 IFS=$as_save_IFS
1885 case $as_dir in #(((
1886 '') as_dir=./ ;;
1887 */) ;;
1888 *) as_dir=$as_dir/ ;;
1889 esac
1890 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
1891 done
1892 IFS=$as_save_IFS
1893
1894 } >&5
1895
1896 catscip-shell system . . cat. >&5 <<_ACEOF
1897
1898
1899 ## ----------- ##
1900 ## Core tests. ##
1901 ## ----------- ##
1902
1903 _ACEOF
1904
1905
1906 # Keep a trace of the command line.
1907 # Strip out --no-create and --no-recursion so they do not pile up.
1908 # Strip out --silent because we don't want to record it for future runs.
1909 # Also quote any args containing shell meta-characters.
1910 # Make two passes to allow for proper duplicate-argument suppression.
1911 ac_configure_args=
1912 ac_configure_args0=
1913 ac_configure_args1=
1914 ac_must_keep_next=false
1915 for ac_pass in 1 2
1916 do
1917 for ac_arg
1918 do
1919 case $ac_arg in
1920 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1922 | -silent | --silent | --silen | --sile | --sil)
1923 continue ;;
1924 *\'*)
1925 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1926 esac
1927 case $ac_pass in
1928 1) as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
1929 2)
1930 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_configure_args1 " '$ac_arg'"
1931 if testscip-shell system . . test. $ac_must_keep_next = true; then
1932 ac_must_keep_next=false # Got value, back to normal.
1933 else
1934 case $ac_arg in
1935 *=* | --config-cache | -C | -disable-* | --disable-* \
1936 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1937 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1938 | -with-* | --with-* | -without-* | --without-* | --x)
1939 case "$ac_configure_args0 " in
1940 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 esac
1942 ;;
1943 -* ) ac_must_keep_next=true ;;
1944 esac
1945 fi
1946 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_configure_args " '$ac_arg'"
1947 ;;
1948 esac
1949 done
1950 done
1951 { ac_configure_args0=; unset ac_configure_args0;}
1952 { ac_configure_args1=; unset ac_configure_args1;}
1953
1954 # When interrupted or exit'd, cleanup temporary files, and complete
1955 # config.log. We remove comments because anyway the quotes in there
1956 # would cause problems or look ugly.
1957 # WARNING: Use '\'' to represent an apostrophe within the trap.
1958 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1959 trap 'exit_status=$?
1960 # Sanitize IFS.
1961 IFS=" "" $as_nl"
1962 # Save into config.log some information that might help in debugging.
1963 {
1964 echo
1965
1966 printf "%s\n" "## ---------------- ##
1967 ## Cache variables. ##
1968 ## ---------------- ##"
1969 echo
1970 # The following way of writing the cache mishandles newlines in values,
1971 (
1972 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1973 eval ac_val=\$$ac_var
1974 case $ac_val in #(
1975 *${as_nl}*)
1976 case $ac_var in #(
1977 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1978 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1979 esac
1980 case $ac_var in #(
1981 _ | IFS | as_nl) ;; #(
1982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1983 *) { eval $ac_var=; unset $ac_var;} ;;
1984 esac ;;
1985 esac
1986 done
1987 (set) 2>&1 |
1988 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1989 *${as_nl}ac_space=\ *)
1990 sed -n \
1991 "s/'\''/'\''\\\\'\'''\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1993 ;; #(
1994 *)
1995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1996 ;;
1997 esac |
1998 sort
1999 )
2000 echo
2001
2002 printf "%s\n" "## ----------------- ##
2003 ## Output variables. ##
2004 ## ----------------- ##"
2005 echo
2006 for ac_var in $ac_subst_vars
2007 do
2008 eval ac_val=\$$ac_var
2009 case $ac_val in
2010 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011 esac
2012 printf "%s\n" "$ac_var='\''$ac_val'\''"
2013 done | sort
2014 echo
2015
2016 if test -n "$ac_subst_files"; then
2017 printf "%s\n" "## ------------------- ##
2018 ## File substitutions. ##
2019 ## ------------------- ##"
2020 echo
2021 for ac_var in $ac_subst_files
2022 do
2023 eval ac_val=\$$ac_var
2024 case $ac_val in
2025 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 esac
2027 printf "%s\n" "$ac_var='\''$ac_val'\''"
2028 done | sort
2029 echo
2030 fi
2031
2032 if test -s confdefs.h; then
2033 printf "%s\n" "## ----------- ##
2034 ## confdefs.h. ##
2035 ## ----------- ##"
2036 echo
2037 cat confdefs.h
2038 echo
2039 fi
2040 test "$ac_signal" != 0 &&
2041 printf "%s\n" "$as_me: caught signal $ac_signal"
2042 printf "%s\n" "$as_me: exit $exit_status"
2043 } >&5
2044 rm -f core *.core core.conftest.* &&
2045 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2046 exit $exit_status
2047 ' 0
2048 for ac_signal in 1 2 13 15; do
2049 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2050 done
2051 ac_signal=0
2052
2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2054 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2055
2056 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2057
2058 # Predefined preprocessor variables.
2059
2060 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2061
2062 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2063
2064 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2065
2066 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2067
2068 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2069
2070 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2071
2072
2073 # Let the site file select an alternate cache file if it wants to.
2074 # Prefer an explicitly selected file to automatically selected ones.
2075 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2076 ac_site_files="$CONFIG_SITE"
2077 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2078 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2079 else
2080 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2081 fi
2082
2083 for ac_site_file in $ac_site_files
2084 do
2085 case $ac_site_file in #(
2086 */*) :
2087 ;; #(
2088 *) :
2089 ac_site_file=./$ac_site_file ;;
2090 esac
2091 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2092 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2093 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2094 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2095 . "$ac_site_file" \
2096 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2097 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2098 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "failed to load site script $ac_site_file
2099 See \`config.log' for more details" "$LINENO" 5; }
2100 fi
2101 done
2102
2103 if testscip-shell system . . test. -r "$cache_file"; then
2104 # Some versions of bash will fail to source /dev/null (special files
2105 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2106 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2107 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2108 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2109 case $cache_file in
2110 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2111 *) . "./$cache_file";;
2112 esac
2113 fi
2114 else
2115 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2116 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2117 >$cache_file
2118 fi
2119
2120 # Test code for whether the C compiler supports C89 (global declarations)
2121 ac_c_conftest_c89_globals='
2122 /* Does the compiler advertise C89 conformance?
2123 Do not test the value of __STDC__, because some compilers set it to 0
2124 while being otherwise adequately conformant. */
2125 #if !defined __STDC__
2126 # error "Compiler does not advertise C89 conformance"
2127 #endif
2128
2129 #include <stddef.h>
2130 #include <stdarg.h>
2131 struct stat;
2132 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2133 struct buf { int x; };
2134 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2135 static char *e (p, i)
2136 char **p;
2137 int i;
2138 {
2139 return p[i];
2140 }
2141 static char *f (char * (*g) (char **, int), char **p, ...)
2142 {
2143 char *s;
2144 va_list v;
2145 va_start (v,p);
2146 s = g (p, va_arg (v,int));
2147 va_end (v);
2148 return s;
2149 }
2150
2151 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2152 function prototypes and stuff, but not \xHH hex character constants.
2153 These do not provoke an error unfortunately, instead are silently treated
2154 as an "x". The following induces an error, until -std is added to get
2155 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2156 array size at least. It is necessary to write \x00 == 0 to get something
2157 that is true only with -std. */
2158 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2159
2160 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2161 inside strings and character constants. */
2162 #define FOO(x) '\''x'\''
2163 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2164
2165 int test (int i, double x);
2166 struct s1 {int (*f) (int a);};
2167 struct s2 {int (*f) (double a);};
2168 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2169 int, int);'
2170
2171 # Test code for whether the C compiler supports C89 (body of main).
2172 ac_c_conftest_c89_main='
2173 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2174 '
2175
2176 # Test code for whether the C compiler supports C99 (global declarations)
2177 ac_c_conftest_c99_globals='
2178 // Does the compiler advertise C99 conformance?
2179 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2180 # error "Compiler does not advertise C99 conformance"
2181 #endif
2182
2183 #include <stdbool.h>
2184 extern int puts (const char *);
2185 extern int printf (const char *, ...);
2186 extern int dprintf (int, const char *, ...);
2187 extern void *malloc (size_t);
2188
2189 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2190 // dprintf is used instead of fprintf to avoid needing to declare
2191 // FILE and stderr.
2192 #define debug(...) dprintf (2, __VA_ARGS__)
2193 #define showlist(...) puts (#__VA_ARGS__)
2194 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2195 static void
2196 test_varargs_macros (void)
2197 {
2198 int x = 1234;
2199 int y = 5678;
2200 debug ("Flag");
2201 debug ("X = %d\n", x);
2202 showlist (The first, second, and third items.);
2203 report (x>y, "x is %d but y is %d", x, y);
2204 }
2205
2206 // Check long long types.
2207 #define BIG64 18446744073709551615ull
2208 #define BIG32 4294967295ul
2209 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2210 #if !BIG_OK
2211 #error "your preprocessor is broken"
2212 #endif
2213 #if BIG_OK
2214 #else
2215 #error "your preprocessor is broken"
2216 #endif
2217 static long long int bignum = -9223372036854775807LL;
2218 static unsigned long long int ubignum = BIG64;
2219
2220 struct incomplete_array
2221 {
2222 int datasize;
2223 double data[];
2224 };
2225
2226 struct named_init {
2227 int number;
2228 const wchar_t *name;
2229 double average;
2230 };
2231
2232 typedef const char *ccp;
2233
2234 static inline int
2235 test_restrict (ccp restrict text)
2236 {
2237 // See if C++-style comments work.
2238 // Iterate through items via the restricted pointer.
2239 // Also check for declarations in for loops.
2240 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2241 continue;
2242 return 0;
2243 }
2244
2245 // Check varargs and va_copy.
2246 static bool
2247 test_varargs (const char *format, ...)
2248 {
2249 va_list args;
2250 va_start (args, format);
2251 va_list args_copy;
2252 va_copy (args_copy, args);
2253
2254 const char *str = "";
2255 int number = 0;
2256 float fnumber = 0;
2257
2258 while (*format)
2259 {
2260 switch (*format++)
2261 {
2262 case '\''s'\'': // string
2263 str = va_arg (args_copy, const char *);
2264 break;
2265 case '\''d'\'': // int
2266 number = va_arg (args_copy, int);
2267 break;
2268 case '\''f'\'': // float
2269 fnumber = va_arg (args_copy, double);
2270 break;
2271 default:
2272 break;
2273 }
2274 }
2275 va_end (args_copy);
2276 va_end (args);
2277
2278 return *str && number && fnumber;
2279 }
2280 '
2281
2282 # Test code for whether the C compiler supports C99 (body of main).
2283 ac_c_conftest_c99_main='
2284 // Check bool.
2285 _Bool success = false;
2286 success |= (argc != 0);
2287
2288 // Check restrict.
2289 if (test_restrict ("String literal") == 0)
2290 success = true;
2291 char *restrict newvar = "Another string";
2292
2293 // Check varargs.
2294 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2295 test_varargs_macros ();
2296
2297 // Check flexible array members.
2298 struct incomplete_array *ia =
2299 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2300 ia->datasize = 10;
2301 for (int i = 0; i < ia->datasize; ++i)
2302 ia->data[i] = i * 1.234;
2303
2304 // Check named initializers.
2305 struct named_init ni = {
2306 .number = 34,
2307 .name = L"Test wide string",
2308 .average = 543.34343,
2309 };
2310
2311 ni.number = 58;
2312
2313 int dynamic_array[ni.number];
2314 dynamic_array[0] = argv[0][0];
2315 dynamic_array[ni.number - 1] = 543;
2316
2317 // work around unused variable warnings
2318 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2319 || dynamic_array[ni.number - 1] != 543);
2320 '
2321
2322 # Test code for whether the C compiler supports C11 (global declarations)
2323 ac_c_conftest_c11_globals='
2324 // Does the compiler advertise C11 conformance?
2325 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2326 # error "Compiler does not advertise C11 conformance"
2327 #endif
2328
2329 // Check _Alignas.
2330 char _Alignas (double) aligned_as_double;
2331 char _Alignas (0) no_special_alignment;
2332 extern char aligned_as_int;
2333 char _Alignas (0) _Alignas (int) aligned_as_int;
2334
2335 // Check _Alignof.
2336 enum
2337 {
2338 int_alignment = _Alignof (int),
2339 int_array_alignment = _Alignof (int[100]),
2340 char_alignment = _Alignof (char)
2341 };
2342 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2343
2344 // Check _Noreturn.
2345 int _Noreturn does_not_return (void) { for (;;) continue; }
2346
2347 // Check _Static_assert.
2348 struct test_static_assert
2349 {
2350 int x;
2351 _Static_assert (sizeof (int) <= sizeof (long int),
2352 "_Static_assert does not work in struct");
2353 long int y;
2354 };
2355
2356 // Check UTF-8 literals.
2357 #define u8 syntax error!
2358 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2359
2360 // Check duplicate typedefs.
2361 typedef long *long_ptr;
2362 typedef long int *long_ptr;
2363 typedef long_ptr long_ptr;
2364
2365 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2366 struct anonymous
2367 {
2368 union {
2369 struct { int i; int j; };
2370 struct { int k; long int l; } w;
2371 };
2372 int m;
2373 } v1;
2374 '
2375
2376 # Test code for whether the C compiler supports C11 (body of main).
2377 ac_c_conftest_c11_main='
2378 _Static_assert ((offsetof (struct anonymous, i)
2379 == offsetof (struct anonymous, w.k)),
2380 "Anonymous union alignment botch");
2381 v1.i = 2;
2382 v1.w.k = 5;
2383 ok |= v1.i != 5;
2384 '
2385
2386 # Test code for whether the C compiler supports C11 (complete).
2387 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2388 ${ac_c_conftest_c99_globals}
2389 ${ac_c_conftest_c11_globals}
2390
2391 int
2392 main (int argc, char **argv)
2393 {
2394 int ok = 0;
2395 ${ac_c_conftest_c89_main}
2396 ${ac_c_conftest_c99_main}
2397 ${ac_c_conftest_c11_main}
2398 return ok;
2399 }
2400 "
2401
2402 # Test code for whether the C compiler supports C99 (complete).
2403 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2404 ${ac_c_conftest_c99_globals}
2405
2406 int
2407 main (int argc, char **argv)
2408 {
2409 int ok = 0;
2410 ${ac_c_conftest_c89_main}
2411 ${ac_c_conftest_c99_main}
2412 return ok;
2413 }
2414 "
2415
2416 # Test code for whether the C compiler supports C89 (complete).
2417 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2418
2419 int
2420 main (int argc, char **argv)
2421 {
2422 int ok = 0;
2423 ${ac_c_conftest_c89_main}
2424 return ok;
2425 }
2426 "
2427
2428 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2429 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2430 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2431 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2432 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2433 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2434 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2435 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2436 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2437
2438 # Auxiliary files required by this configure script.
2439 ac_aux_files="config.guess config.sub compile missing install-sh"
2440
2441 # Locations in which to look for auxiliary files.
2442 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2443
2444 # Search for a directory containing all of the required auxiliary files,
2445 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2446 # If we don't find one directory that contains all the files we need,
2447 # we report the set of missing files from the *first* directory in
2448 # $ac_aux_dir_candidates and give up.
2449 ac_missing_aux_files=""
2450 ac_first_candidate=:
2451 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 as_found=false
2454 for as_dir in $ac_aux_dir_candidates
2455 do
2456 IFS=$as_save_IFS
2457 case $as_dir in #(((
2458 '') as_dir=./ ;;
2459 */) ;;
2460 *) as_dir=$as_dir/ ;;
2461 esac
2462 as_found=:
2463
2464 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2465 ac_aux_dir_found=yes
2466 ac_install_sh=
2467 for ac_aux in $ac_aux_files
2468 do
2469 # As a special case, if "install-sh" is required, that requirement
2470 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2471 # and $ac_install_sh is set appropriately for whichever one is found.
2472 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
2473 then
2474 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
2475 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2476 ac_install_sh="${as_dir}install-sh -c"
2477 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
2478 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2479 ac_install_sh="${as_dir}install.sh -c"
2480 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
2481 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2482 ac_install_sh="${as_dir}shtool install -c"
2483 else
2484 ac_aux_dir_found=no
2485 if $ac_first_candidate; then
2486 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2487 else
2488 break
2489 fi
2490 fi
2491 else
2492 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
2493 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2494 else
2495 ac_aux_dir_found=no
2496 if $ac_first_candidate; then
2497 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2498 else
2499 break
2500 fi
2501 fi
2502 fi
2503 done
2504 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
2505 ac_aux_dir="$as_dir"
2506 break
2507 fi
2508 ac_first_candidate=false
2509
2510 as_found=false
2511 done
2512 IFS=$as_save_IFS
2513 if $as_found
2514 then :
2515
2516 else $as_nop
2517 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2518 fi
2519
2520
2521 # These three variables are undocumented and unsupported,
2522 # and are intended to be withdrawn in a future Autoconf release.
2523 # They can cause serious problems if a builder's source tree is in a directory
2524 # whose full name contains unusual characters.
2525 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
2526 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2527 fi
2528 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
2529 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2530 fi
2531 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
2532 ac_configure="$SHELL ${ac_aux_dir}configure"
2533 fi
2534
2535 # Check that the precious variables saved in the cache have kept the same
2536 # value.
2537 ac_cache_corrupted=false
2538 for ac_var in $ac_precious_vars; do
2539 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2540 eval ac_new_set=\$ac_env_${ac_var}_set
2541 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2542 eval ac_new_val=\$ac_env_${ac_var}_value
2543 case $ac_old_set,$ac_new_set in
2544 set,)
2545 { 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
2546 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547 ac_cache_corrupted=: ;;
2548 ,set)
2549 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551 ac_cache_corrupted=: ;;
2552 ,);;
2553 *)
2554 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2555 # differences in whitespace do not lead to failure.
2556 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2557 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2558 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2559 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561 ac_cache_corrupted=:
2562 else
2563 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565 eval $ac_var=\$ac_old_val
2566 fi
2567 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2568 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2570 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2571 fi;;
2572 esac
2573 # Pass precious variables to config.status.
2574 if testscip-shell system . . test. "$ac_new_set" = set; then
2575 case $ac_new_val in
2576 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2577 *) ac_arg=$ac_var=$ac_new_val ;;
2578 esac
2579 case " $ac_configure_args " in
2580 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2581 *) as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2582 esac
2583 fi
2584 done
2585 if $ac_cache_corrupted; then
2586 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2590 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2591 and start over" "$LINENO" 5
2592 fi
2593 ## -------------------- ##
2594 ## Main body of script. ##
2595 ## -------------------- ##
2596
2597 ac_ext=c
2598 ac_cpp='$CPP $CPPFLAGS'
2599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2602
2603
2604
2605 ac_config_headers="$ac_config_headers config.h"
2606
2607
2608 # Initialize Automake
2609 am__api_version='1.16'
2610
2611
2612
2613 # Find a good install program. We prefer a C program (faster),
2614 # so one script is as good as another. But avoid the broken or
2615 # incompatible versions:
2616 # SysV /etc/install, /usr/sbin/install
2617 # SunOS /usr/etc/install
2618 # IRIX /sbin/install
2619 # AIX /bin/install
2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2624 # OS/2's system install, which has a completely different semantic
2625 # ./install, which can be erroneously created by make from ./install.sh.
2626 # Reject install programs that cannot install multiple files.
2627 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2628 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
2629 if testscip-shell system . . test. -z "$INSTALL"; then
2630 if testscip-shell system . . test. ${ac_cv_path_install+y}
2631 then :
2632 printfscip-shell system . . printf. %s "(cached) " >&6
2633 else $as_nop
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 for as_dir in $PATH
2636 do
2637 IFS=$as_save_IFS
2638 case $as_dir in #(((
2639 '') as_dir=./ ;;
2640 */) ;;
2641 *) as_dir=$as_dir/ ;;
2642 esac
2643 # Account for fact that we put trailing slashes in our PATH walk.
2644 case $as_dir in #((
2645 ./ | /[cC]/* | \
2646 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2647 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2648 /usr/ucb/* ) ;;
2649 *)
2650 # OSF1 and SCO ODT 3.0 have their own names for install.
2651 # Don't use installbsd from OSF since it installs stuff as root
2652 # by default.
2653 for ac_prog in ginstall scoinst install; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
2656 if testscip-shell system . . test. $ac_prog = install &&
2657 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2658 # AIX install. It has an incompatible calling convention.
2659 :
2660 elif testscip-shell system . . test. $ac_prog = install &&
2661 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2662 # program-specific install script used by HP pwplus--don't use.
2663 :
2664 else
2665 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2666 echoscip-shell system . . echo. one > conftest.one
2667 echoscip-shell system . . echo. two > conftest.two
2668 mkdirscip-shell system . . mkdir. conftest.dir
2669 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
2670 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
2671 testscip-shell system . . test. -s conftest.dir/conftest.one &&
2672 testscip-shell system . . test. -s conftest.dir/conftest.two
2673 then
2674 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2675 break 3
2676 fi
2677 fi
2678 fi
2679 done
2680 done
2681 ;;
2682 esac
2683
2684 done
2685 IFS=$as_save_IFS
2686
2687 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2688
2689 fi
2690 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
2691 INSTALL=$ac_cv_path_install
2692 else
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for INSTALL within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 INSTALL=$ac_install_sh
2698 fi
2699 fi
2700 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2701 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
2702
2703 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2704 # It thinks the first close brace ends the variable substitution.
2705 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2706
2707 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2708
2709 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2710
2711 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2712 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
2713 # Reject unsafe characters in $srcdir or the absolute working directory
2714 # name. Accept space and tab only in the latter.
2715 am_lf='
2716 '
2717 case `pwdscip-shell system . . pwd.` in
2718 *[\\\"\#\$\&\'\`$am_lf]*)
2719 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
2720 esac
2721 case $srcdir in
2722 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2723 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2724 esac
2725
2726 # Do 'set' in a subshell so we don't clobber the current shell's
2727 # arguments. Must try -L first in case configure is actually a
2728 # symlink; some systems play weird games with the mod time of symlinks
2729 # (eg FreeBSD returns the mod time of the symlink's containing
2730 # directory).
2731 if (
2732 am_has_slept=no
2733 for am_try in 1 2; do
2734 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
2735 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
2736 if testscip-shell system . . test. "$*" = "X"; then
2737 # -L didn't work.
2738 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
2739 fi
2740 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
2741 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
2742
2743 # If neither matched, then we have a broken ls. This can happen
2744 # if, for instance, CONFIG_SHELL is bash and it inherits a
2745 # broken ls alias from the environment. This has actually
2746 # happened. Such a system could not be considered "sane".
2747 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
2748 alias in your environment" "$LINENO" 5
2749 fi
2750 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
2751 break
2752 fi
2753 # Just in case.
2754 sleepscip-shell system . . sleep. 1
2755 am_has_slept=yes
2756 done
2757 testscip-shell system . . test. "$2" = conftest.file
2758 )
2759 then
2760 # Ok.
2761 :
2762 else
2763 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "newly created file is older than distributed files!
2764 Check your system clock" "$LINENO" 5
2765 fi
2766 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2767 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
2768 # If we didn't sleep, we still need to ensure time stamps of config.status and
2769 # generated files are strictly newer.
2770 am_sleep_pid=
2771 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2772 ( sleepscip-shell system . . sleep. 1 ) &
2773 am_sleep_pid=$!
2774 fi
2775
2776 rmscip-shell system . . rm. -f conftest.file
2777
2778 testscip-shell system . . test. "$program_prefix" != NONE &&
2779 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2780 # Use a double $ so make ignores it.
2781 testscip-shell system . . test. "$program_suffix" != NONE &&
2782 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2783 # Double any \ or $.
2784 # By default was `s,x,x', remove it if useless.
2785 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2786 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
2787
2788
2789 # Expand $ac_aux_dir to an absolute path.
2790 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
2791
2792
2793 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
2794 MISSING="\${SHELL} '$am_aux_dir/missing'"
2795 fi
2796 # Use eval to expand $SHELL
2797 if eval "$MISSING --is-lightweight"; then
2798 am_missing_run="$MISSING "
2799 else
2800 am_missing_run=
2801 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2802 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2803 fi
2804
2805 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
2806 case $am_aux_dir in
2807 *\ * | *\ *)
2808 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2809 *)
2810 install_sh="\${SHELL} $am_aux_dir/install-sh"
2811 esac
2812 fi
2813
2814 # Installed binaries are usually stripped using 'strip' when the user
2815 # run "make install-strip". However 'strip' might not be the right
2816 # tool to use in cross-compilation environments, therefore Automake
2817 # will honor the 'STRIP' environment variable to overrule this program.
2818 if testscip-shell system . . test. "$cross_compiling" != no; then
2819 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2820 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2821 set dummy ${ac_tool_prefix}strip; ac_word=$2
2822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2824 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
2825 then :
2826 printfscip-shell system . . printf. %s "(cached) " >&6
2827 else $as_nop
2828 if testscip-shell system . . test. -n "$STRIP"; then
2829 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834 IFS=$as_save_IFS
2835 case $as_dir in #(((
2836 '') as_dir=./ ;;
2837 */) ;;
2838 *) as_dir=$as_dir/ ;;
2839 esac
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2843 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2844 break 2
2845 fi
2846 done
2847 done
2848 IFS=$as_save_IFS
2849
2850 fi
2851 fi
2852 STRIP=$ac_cv_prog_STRIP
2853 if testscip-shell system . . test. -n "$STRIP"; then
2854 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2855 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
2856 else
2857 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2859 fi
2860
2861
2862 fi
2863 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
2864 ac_ct_STRIP=$STRIP
2865 # Extract the first word of "strip", so it can be a program name with args.
2866 set dummy strip; ac_word=$2
2867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2869 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
2870 then :
2871 printfscip-shell system . . printf. %s "(cached) " >&6
2872 else $as_nop
2873 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2875 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 for as_dir in $PATH
2878 do
2879 IFS=$as_save_IFS
2880 case $as_dir in #(((
2881 '') as_dir=./ ;;
2882 */) ;;
2883 *) as_dir=$as_dir/ ;;
2884 esac
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_ac_ct_STRIP="strip"
2888 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2889 break 2
2890 fi
2891 done
2892 done
2893 IFS=$as_save_IFS
2894
2895 fi
2896 fi
2897 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2898 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2900 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
2901 else
2902 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2904 fi
2905
2906 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
2907 STRIP=":"
2908 else
2909 case $cross_compiling:$ac_tool_warned in
2910 yes:)
2911 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2912 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2913 ac_tool_warned=yes ;;
2914 esac
2915 STRIP=$ac_ct_STRIP
2916 fi
2917 else
2918 STRIP="$ac_cv_prog_STRIP"
2919 fi
2920
2921 fi
2922 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2923
2924
2925 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2926 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
2927 if testscip-shell system . . test. -z "$MKDIR_P"; then
2928 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
2929 then :
2930 printfscip-shell system . . printf. %s "(cached) " >&6
2931 else $as_nop
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2934 do
2935 IFS=$as_save_IFS
2936 case $as_dir in #(((
2937 '') as_dir=./ ;;
2938 */) ;;
2939 *) as_dir=$as_dir/ ;;
2940 esac
2941 for ac_prog in mkdir gmkdir; do
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
2944 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2945 'mkdir ('*'coreutils) '* | \
2946 'BusyBox '* | \
2947 'mkdir (fileutils) '4.1*)
2948 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2949 break 3;;
2950 esac
2951 done
2952 done
2953 done
2954 IFS=$as_save_IFS
2955
2956 fi
2957
2958 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
2959 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
2960 MKDIR_P="$ac_cv_path_mkdir -p"
2961 else
2962 # As a last resort, use the slow shell script. Don't cache a
2963 # value for MKDIR_P within a source directory, because that will
2964 # break other packages using the cache if that directory is
2965 # removed, or if the value is a relative name.
2966 MKDIR_P="$ac_install_sh -d"
2967 fi
2968 fi
2969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2970 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
2971
2972 for ac_prog in gawk mawk nawk awk
2973 do
2974 # Extract the first word of "$ac_prog", so it can be a program name with args.
2975 set dummy $ac_prog; ac_word=$2
2976 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2978 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
2979 then :
2980 printfscip-shell system . . printf. %s "(cached) " >&6
2981 else $as_nop
2982 if testscip-shell system . . test. -n "$AWK"; then
2983 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2984 else
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 for as_dir in $PATH
2987 do
2988 IFS=$as_save_IFS
2989 case $as_dir in #(((
2990 '') as_dir=./ ;;
2991 */) ;;
2992 *) as_dir=$as_dir/ ;;
2993 esac
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_AWK="$ac_prog"
2997 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2998 break 2
2999 fi
3000 done
3001 done
3002 IFS=$as_save_IFS
3003
3004 fi
3005 fi
3006 AWK=$ac_cv_prog_AWK
3007 if testscip-shell system . . test. -n "$AWK"; then
3008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3009 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
3010 else
3011 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3013 fi
3014
3015
3016 testscip-shell system . . test. -n "$AWK" && break
3017 done
3018
3019 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3020 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3021 set x ${MAKE-make}
3022 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3023 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3024 then :
3025 printfscip-shell system . . printf. %s "(cached) " >&6
3026 else $as_nop
3027 catscip-shell system . . cat. >conftest.make <<\_ACEOF
3028 SHELL = /bin/sh
3029 all:
3030 @echo '@@@%%%=$(MAKE)=@@@%%%'
3031 _ACEOF
3032 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3033 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3034 *@@@%%%=?*=@@@%%%*)
3035 eval ac_cv_prog_make_${ac_make}_set=yes;;
3036 *)
3037 eval ac_cv_prog_make_${ac_make}_set=no;;
3038 esac
3039 rmscip-shell system . . rm. -f conftest.make
3040 fi
3041 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3042 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3043 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3044 SET_MAKE=
3045 else
3046 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3048 SET_MAKE="MAKE=${MAKE-make}"
3049 fi
3050
3051 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3052 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3053 if testscip-shell system . . test. -d .tst; then
3054 am__leading_dot=.
3055 else
3056 am__leading_dot=_
3057 fi
3058 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
3059
3060 # Check whether --enable-silent-rules was given.
3061 if testscip-shell system . . test. ${enable_silent_rules+y}
3062 then :
3063 enableval=$enable_silent_rules;
3064 fi
3065
3066 case $enable_silent_rules in # (((
3067 yes) AM_DEFAULT_VERBOSITY=0;;
3068 no) AM_DEFAULT_VERBOSITY=1;;
3069 *) AM_DEFAULT_VERBOSITY=1;;
3070 esac
3071 am_make=${MAKE-make}
3072 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3073 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
3074 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
3075 then :
3076 printfscip-shell system . . printf. %s "(cached) " >&6
3077 else $as_nop
3078 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
3079 BAR0=false
3080 BAR1=true
3081 V=1
3082 am__doit:
3083 @$(TRUE)
3084 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3085 am_cv_make_support_nested_variables=yes
3086 else
3087 am_cv_make_support_nested_variables=no
3088 fi
3089 fi
3090 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3091 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3092 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
3093 AM_V='$(V)'
3094 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3095 else
3096 AM_V=$AM_DEFAULT_VERBOSITY
3097 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3098 fi
3099 AM_BACKSLASH='\'
3100
3101 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3102 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3103 # is not polluted with repeated "-I."
3104 am__isrc=' -I$(srcdir)'
3105 # test to see if srcdir already configured
3106 if testscip-shell system . . test. -f $srcdir/config.status; then
3107 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3108 fi
3109 fi
3110
3111 # test whether we have cygpath
3112 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3113 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3114 CYGPATH_W='cygpath -w'
3115 else
3116 CYGPATH_W=echo
3117 fi
3118 fi
3119
3120
3121 # Define the identity of the package.
3122 PACKAGE='xdpyinfo'
3123 VERSION='1.3.4'
3124
3125
3126 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3127
3128
3129 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3130
3131 # Some tools Automake needs.
3132
3133 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3134
3135
3136 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3137
3138
3139 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3140
3141
3142 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3143
3144
3145 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3146
3147 # For better backward compatibility. To be removed once Automake 1.9.x
3148 # dies out for good. For more background, see:
3149 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3150 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3151 mkdir_p='$(MKDIR_P)'
3152
3153 # We need awk for the "check" target (and possibly the TAP driver). The
3154 # system "awk" is bad on some platforms.
3155 # Always define AMTAR for backward compatibility. Yes, it's still used
3156 # in the wild :-( We should find a proper way to deprecate it ...
3157 AMTAR='$${TAR-tar}'
3158
3159
3160 # We'll loop over all known methods to create a tar archive until one works.
3161 _am_tools='gnutar pax cpio none'
3162
3163 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3164
3165
3166
3167
3168
3169 # Variables for tags utilities; see am/tags.am
3170 if testscip-shell system . . test. -z "$CTAGS"; then
3171 CTAGS=ctags
3172 fi
3173
3174 if testscip-shell system . . test. -z "$ETAGS"; then
3175 ETAGS=etags
3176 fi
3177
3178 if testscip-shell system . . test. -z "$CSCOPE"; then
3179 CSCOPE=cscope
3180 fi
3181
3182
3183
3184 # POSIX will say in a future version that running "rm -f" with no argument
3185 # is OK; and we want to be able to make that assumption in our Makefile
3186 # recipes. So use an aggressive probe to check that the usage we want is
3187 # actually supported "in the wild" to an acceptable degree.
3188 # See automake bug#10828.
3189 # To make any issue more visible, cause the running configure to be aborted
3190 # by default if the 'rm' program in use doesn't match our expectations; the
3191 # user can still override this though.
3192 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
3193 catscip-shell system . . cat. >&2 <<'END'
3194 Oops!
3195
3196 Your 'rm' program seems unable to run without file operands specified
3197 on the command line, even when the '-f' option is present. This is contrary
3198 to the behaviour of most rm programs out there, and not conforming with
3199 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3200
3201 Please tell [email protected] about your system, including the value
3202 of your $PATH and any error possibly output before this message. This
3203 can help us improve future automake versions.
3204
3205 END
3206 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3207 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
3208 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3209 echoscip-shell system . . echo. >&2
3210 else
3211 catscip-shell system . . cat. >&2 <<'END'
3212 Aborting the configuration process, to ensure you take notice of the issue.
3213
3214 You can download and install GNU coreutils to get an 'rm' implementation
3215 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3216
3217 If you want to complete the configuration process using your problematic
3218 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3219 to "yes", and re-run configure.
3220
3221 END
3222 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3223 fi
3224 fi
3225
3226
3227 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248 DEPDIR="${am__leading_dot}deps"
3249
3250 ac_config_commands="$ac_config_commands depfiles"
3251
3252 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3253 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3254 catscip-shell system . . cat. > confinc.mk << 'END'
3255 am__doit:
3256 @echo this is the am__doit target >confinc.out
3257 .PHONY: am__doit
3258 END
3259 am__include="#"
3260 am__quote=
3261 # BSD make does it like this.
3262 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
3263 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3264 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
3265 _am_result=no
3266 for s in GNU BSD; do
3267 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3268 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
3269 ac_status=$?
3270 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }
3272 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
3273 '0:this is the am__doit target') :
3274 case $s in #(
3275 BSD) :
3276 am__include='.include' am__quote='"' ;; #(
3277 *) :
3278 am__include='include' am__quote='' ;;
3279 esac ;; #(
3280 *) :
3281 ;;
3282 esac
3283 if testscip-shell system . . test. "$am__include" != "#"; then
3284 _am_result="yes ($s style)"
3285 break
3286 fi
3287 done
3288 rmscip-shell system . . rm. -f confinc.* confmf.*
3289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3290 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
3291
3292 # Check whether --enable-dependency-tracking was given.
3293 if testscip-shell system . . test. ${enable_dependency_tracking+y}
3294 then :
3295 enableval=$enable_dependency_tracking;
3296 fi
3297
3298 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3299 am_depcomp="$ac_aux_dir/depcomp"
3300 AMDEPBACKSLASH='\'
3301 am__nodep='_no'
3302 fi
3303 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
3304 AMDEP_TRUE=
3305 AMDEP_FALSE='#'
3306 else
3307 AMDEP_TRUE='#'
3308 AMDEP_FALSE=
3309 fi
3310
3311
3312 ac_ext=c
3313 ac_cpp='$CPP $CPPFLAGS'
3314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3322 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3323 then :
3324 printfscip-shell system . . printf. %s "(cached) " >&6
3325 else $as_nop
3326 if testscip-shell system . . test. -n "$CC"; then
3327 ac_cv_prog_CC="$CC" # Let the user override the test.
3328 else
3329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330 for as_dir in $PATH
3331 do
3332 IFS=$as_save_IFS
3333 case $as_dir in #(((
3334 '') as_dir=./ ;;
3335 */) ;;
3336 *) as_dir=$as_dir/ ;;
3337 esac
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3341 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3342 break 2
3343 fi
3344 done
3345 done
3346 IFS=$as_save_IFS
3347
3348 fi
3349 fi
3350 CC=$ac_cv_prog_CC
3351 if testscip-shell system . . test. -n "$CC"; then
3352 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3354 else
3355 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3357 fi
3358
3359
3360 fi
3361 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3362 ac_ct_CC=$CC
3363 # Extract the first word of "gcc", so it can be a program name with args.
3364 set dummy gcc; ac_word=$2
3365 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3367 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3368 then :
3369 printfscip-shell system . . printf. %s "(cached) " >&6
3370 else $as_nop
3371 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3372 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3376 do
3377 IFS=$as_save_IFS
3378 case $as_dir in #(((
3379 '') as_dir=./ ;;
3380 */) ;;
3381 *) as_dir=$as_dir/ ;;
3382 esac
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_ac_ct_CC="gcc"
3386 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3387 break 2
3388 fi
3389 done
3390 done
3391 IFS=$as_save_IFS
3392
3393 fi
3394 fi
3395 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3396 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3397 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3398 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3399 else
3400 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3402 fi
3403
3404 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3405 CC=""
3406 else
3407 case $cross_compiling:$ac_tool_warned in
3408 yes:)
3409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3410 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3411 ac_tool_warned=yes ;;
3412 esac
3413 CC=$ac_ct_CC
3414 fi
3415 else
3416 CC="$ac_cv_prog_CC"
3417 fi
3418
3419 if testscip-shell system . . test. -z "$CC"; then
3420 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3421 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3422 set dummy ${ac_tool_prefix}cc; ac_word=$2
3423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3425 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3426 then :
3427 printfscip-shell system . . printf. %s "(cached) " >&6
3428 else $as_nop
3429 if testscip-shell system . . test. -n "$CC"; then
3430 ac_cv_prog_CC="$CC" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3434 do
3435 IFS=$as_save_IFS
3436 case $as_dir in #(((
3437 '') as_dir=./ ;;
3438 */) ;;
3439 *) as_dir=$as_dir/ ;;
3440 esac
3441 for ac_exec_ext in '' $ac_executable_extensions; do
3442 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3443 ac_cv_prog_CC="${ac_tool_prefix}cc"
3444 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3445 break 2
3446 fi
3447 done
3448 done
3449 IFS=$as_save_IFS
3450
3451 fi
3452 fi
3453 CC=$ac_cv_prog_CC
3454 if testscip-shell system . . test. -n "$CC"; then
3455 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3456 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3457 else
3458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3460 fi
3461
3462
3463 fi
3464 fi
3465 if testscip-shell system . . test. -z "$CC"; then
3466 # Extract the first word of "cc", so it can be a program name with args.
3467 set dummy cc; ac_word=$2
3468 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3470 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3471 then :
3472 printfscip-shell system . . printf. %s "(cached) " >&6
3473 else $as_nop
3474 if testscip-shell system . . test. -n "$CC"; then
3475 ac_cv_prog_CC="$CC" # Let the user override the test.
3476 else
3477 ac_prog_rejected=no
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3480 do
3481 IFS=$as_save_IFS
3482 case $as_dir in #(((
3483 '') as_dir=./ ;;
3484 */) ;;
3485 *) as_dir=$as_dir/ ;;
3486 esac
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3489 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3490 ac_prog_rejected=yes
3491 continue
3492 fi
3493 ac_cv_prog_CC="cc"
3494 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3495 break 2
3496 fi
3497 done
3498 done
3499 IFS=$as_save_IFS
3500
3501 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3502 # We found a bogon in the path, so make sure we never use it.
3503 set dummy $ac_cv_prog_CC
3504 shift
3505 if testscip-shell system . . test. $# != 0; then
3506 # We chose a different compiler from the bogus one.
3507 # However, it has the same basename, so the bogon will be chosen
3508 # first if we set CC to just the basename; use the full file name.
3509 shift
3510 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3511 fi
3512 fi
3513 fi
3514 fi
3515 CC=$ac_cv_prog_CC
3516 if testscip-shell system . . test. -n "$CC"; then
3517 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3519 else
3520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3522 fi
3523
3524
3525 fi
3526 if testscip-shell system . . test. -z "$CC"; then
3527 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3528 for ac_prog in cl.exe
3529 do
3530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3534 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3535 then :
3536 printfscip-shell system . . printf. %s "(cached) " >&6
3537 else $as_nop
3538 if testscip-shell system . . test. -n "$CC"; then
3539 ac_cv_prog_CC="$CC" # Let the user override the test.
3540 else
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 for as_dir in $PATH
3543 do
3544 IFS=$as_save_IFS
3545 case $as_dir in #(((
3546 '') as_dir=./ ;;
3547 */) ;;
3548 *) as_dir=$as_dir/ ;;
3549 esac
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3553 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3554 break 2
3555 fi
3556 done
3557 done
3558 IFS=$as_save_IFS
3559
3560 fi
3561 fi
3562 CC=$ac_cv_prog_CC
3563 if testscip-shell system . . test. -n "$CC"; then
3564 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3565 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3566 else
3567 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3569 fi
3570
3571
3572 testscip-shell system . . test. -n "$CC" && break
3573 done
3574 fi
3575 if testscip-shell system . . test. -z "$CC"; then
3576 ac_ct_CC=$CC
3577 for ac_prog in cl.exe
3578 do
3579 # Extract the first word of "$ac_prog", so it can be a program name with args.
3580 set dummy $ac_prog; ac_word=$2
3581 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3583 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3584 then :
3585 printfscip-shell system . . printf. %s "(cached) " >&6
3586 else $as_nop
3587 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593 IFS=$as_save_IFS
3594 case $as_dir in #(((
3595 '') as_dir=./ ;;
3596 */) ;;
3597 *) as_dir=$as_dir/ ;;
3598 esac
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_ac_ct_CC="$ac_prog"
3602 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3603 break 2
3604 fi
3605 done
3606 done
3607 IFS=$as_save_IFS
3608
3609 fi
3610 fi
3611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3612 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3615 else
3616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3618 fi
3619
3620
3621 testscip-shell system . . test. -n "$ac_ct_CC" && break
3622 done
3623
3624 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3625 CC=""
3626 else
3627 case $cross_compiling:$ac_tool_warned in
3628 yes:)
3629 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned=yes ;;
3632 esac
3633 CC=$ac_ct_CC
3634 fi
3635 fi
3636
3637 fi
3638 if testscip-shell system . . test. -z "$CC"; then
3639 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3640 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3641 set dummy ${ac_tool_prefix}clang; ac_word=$2
3642 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3644 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3645 then :
3646 printfscip-shell system . . printf. %s "(cached) " >&6
3647 else $as_nop
3648 if testscip-shell system . . test. -n "$CC"; then
3649 ac_cv_prog_CC="$CC" # Let the user override the test.
3650 else
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3653 do
3654 IFS=$as_save_IFS
3655 case $as_dir in #(((
3656 '') as_dir=./ ;;
3657 */) ;;
3658 *) as_dir=$as_dir/ ;;
3659 esac
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_CC="${ac_tool_prefix}clang"
3663 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3664 break 2
3665 fi
3666 done
3667 done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if testscip-shell system . . test. -n "$CC"; then
3674 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3676 else
3677 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3679 fi
3680
3681
3682 fi
3683 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "clang", so it can be a program name with args.
3686 set dummy clang; ac_word=$2
3687 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3689 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3690 then :
3691 printfscip-shell system . . printf. %s "(cached) " >&6
3692 else $as_nop
3693 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3694 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3698 do
3699 IFS=$as_save_IFS
3700 case $as_dir in #(((
3701 '') as_dir=./ ;;
3702 */) ;;
3703 *) as_dir=$as_dir/ ;;
3704 esac
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_ac_ct_CC="clang"
3708 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3709 break 2
3710 fi
3711 done
3712 done
3713 IFS=$as_save_IFS
3714
3715 fi
3716 fi
3717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3718 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3720 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3721 else
3722 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3724 fi
3725
3726 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3727 CC=""
3728 else
3729 case $cross_compiling:$ac_tool_warned in
3730 yes:)
3731 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3732 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3733 ac_tool_warned=yes ;;
3734 esac
3735 CC=$ac_ct_CC
3736 fi
3737 else
3738 CC="$ac_cv_prog_CC"
3739 fi
3740
3741 fi
3742
3743
3744 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3747 See \`config.log' for more details" "$LINENO" 5; }
3748
3749 # Provide some information about the compiler.
3750 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3751 set X $ac_compile
3752 ac_compiler=$2
3753 for ac_option in --version -v -V -qversion -version; do
3754 { { ac_try="$ac_compiler $ac_option >&5"
3755 case "(($ac_try" in
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3758 esac
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3762 ac_status=$?
3763 if testscip-shell system . . test. -s conftest.err; then
3764 sedscip-shell system . . sed. '10a\
3765 ... rest of stderr output deleted ...
3766 10q' conftest.err >conftest.er1
3767 catscip-shell system . . cat. conftest.er1 >&5
3768 fi
3769 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3770 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 testscip-shell system . . test. $ac_status = 0; }
3772 done
3773
3774 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3776
3777 int
3778 main (void)
3779 {
3780
3781 ;
3782 return 0;
3783 }
3784 _ACEOF
3785 ac_clean_files_save=$ac_clean_files
3786 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3787 # Try to create an executable without -o first, disregard a.out.
3788 # It will help us diagnose broken compilers, and finding out an intuition
3789 # of exeext.
3790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3791 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
3792 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3793
3794 # The possible output files:
3795 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3796
3797 ac_rmfiles=
3798 for ac_file in $ac_files
3799 do
3800 case $ac_file in
3801 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3802 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3803 esac
3804 done
3805 rmscip-shell system . . rm. -f $ac_rmfiles
3806
3807 if { { ac_try="$ac_link_default"
3808 case "(($ac_try" in
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3811 esac
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3814 (eval "$ac_link_default") 2>&5
3815 ac_status=$?
3816 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 testscip-shell system . . test. $ac_status = 0; }
3818 then :
3819 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3821 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3822 # so that the user can short-circuit this test for compilers unknown to
3823 # Autoconf.
3824 for ac_file in $ac_files ''
3825 do
3826 testscip-shell system . . test. -f "$ac_file" || continue
3827 case $ac_file in
3828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3829 ;;
3830 [ab].out )
3831 # We found the default executable, but exeext='' is most
3832 # certainly right.
3833 break;;
3834 *.* )
3835 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
3836 then :; else
3837 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3838 fi
3839 # We set ac_cv_exeext here because the later test for it is not
3840 # safe: cross compilers may not add the suffix if given an `-o'
3841 # argument, so we may need to know it at that point already.
3842 # Even if this section looks crufty: it has the advantage of
3843 # actually working.
3844 break;;
3845 * )
3846 break;;
3847 esac
3848 done
3849 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
3850
3851 else $as_nop
3852 ac_file=''
3853 fi
3854 if testscip-shell system . . test. -z "$ac_file"
3855 then :
3856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3858 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3859 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3860
3861 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). 77 "C compiler cannot create executables
3864 See \`config.log' for more details" "$LINENO" 5; }
3865 else $as_nop
3866 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3867 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3868 fi
3869 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3870 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
3871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3872 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
3873 ac_exeext=$ac_cv_exeext
3874
3875 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3876 ac_clean_files=$ac_clean_files_save
3877 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3878 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
3879 if { { ac_try="$ac_link"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3886 (eval "$ac_link") 2>&5
3887 ac_status=$?
3888 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889 testscip-shell system . . test. $ac_status = 0; }
3890 then :
3891 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3892 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3893 # work properly (i.e., refer to `conftest.exe'), while it won't with
3894 # `rm'.
3895 for ac_file in conftest.exe conftest conftest.*; do
3896 testscip-shell system . . test. -f "$ac_file" || continue
3897 case $ac_file in
3898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3899 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3900 break;;
3901 * ) break;;
3902 esac
3903 done
3904 else $as_nop
3905 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3906 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3907 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
3908 See \`config.log' for more details" "$LINENO" 5; }
3909 fi
3910 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
3911 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3912 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
3913
3914 rmscip-shell system . . rm. -f conftest.$ac_ext
3915 EXEEXT=$ac_cv_exeext
3916 ac_exeext=$EXEEXT
3917 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3919 #include <stdio.h>
3920 int
3921 main (void)
3922 {
3923 FILE *f = fopen ("conftest.out", "w");
3924 return ferror (f) || fclose (f) != 0;
3925
3926 ;
3927 return 0;
3928 }
3929 _ACEOF
3930 ac_clean_files="$ac_clean_files conftest.out"
3931 # Check that the compiler produces executables we can run. If not, either
3932 # the compiler is broken, or we cross compile.
3933 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3934 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
3935 if testscip-shell system . . test. "$cross_compiling" != yes; then
3936 { { ac_try="$ac_link"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3943 (eval "$ac_link") 2>&5
3944 ac_status=$?
3945 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 testscip-shell system . . test. $ac_status = 0; }
3947 if { ac_try='./conftest$ac_cv_exeext'
3948 { { case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3954 (eval "$ac_try") 2>&5
3955 ac_status=$?
3956 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 testscip-shell system . . test. $ac_status = 0; }; }; then
3958 cross_compiling=no
3959 else
3960 if testscip-shell system . . test. "$cross_compiling" = maybe; then
3961 cross_compiling=yes
3962 else
3963 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). 77 "cannot run C compiled programs.
3966 If you meant to cross compile, use \`--host'.
3967 See \`config.log' for more details" "$LINENO" 5; }
3968 fi
3969 fi
3970 fi
3971 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3972 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
3973
3974 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3975 ac_clean_files=$ac_clean_files_save
3976 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3977 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
3978 if testscip-shell system . . test. ${ac_cv_objext+y}
3979 then :
3980 printfscip-shell system . . printf. %s "(cached) " >&6
3981 else $as_nop
3982 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main (void)
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 rmscip-shell system . . rm. -f conftest.o conftest.obj
3994 if { { ac_try="$ac_compile"
3995 case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4001 (eval "$ac_compile") 2>&5
4002 ac_status=$?
4003 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 testscip-shell system . . test. $ac_status = 0; }
4005 then :
4006 for ac_file in conftest.o conftest.obj conftest.*; do
4007 testscip-shell system . . test. -f "$ac_file" || continue;
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4010 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
4011 break;;
4012 esac
4013 done
4014 else $as_nop
4015 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4016 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4017
4018 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
4021 See \`config.log' for more details" "$LINENO" 5; }
4022 fi
4023 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
4024 fi
4025 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4026 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
4027 OBJEXT=$ac_cv_objext
4028 ac_objext=$OBJEXT
4029 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4030 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
4031 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
4032 then :
4033 printfscip-shell system . . printf. %s "(cached) " >&6
4034 else $as_nop
4035 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4037
4038 int
4039 main (void)
4040 {
4041 #ifndef __GNUC__
4042 choke me
4043 #endif
4044
4045 ;
4046 return 0;
4047 }
4048 _ACEOF
4049 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4050 then :
4051 ac_compiler_gnu=yes
4052 else $as_nop
4053 ac_compiler_gnu=no
4054 fi
4055 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4056 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4057
4058 fi
4059 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4060 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4062
4063 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4064 GCC=yes
4065 else
4066 GCC=
4067 fi
4068 ac_test_CFLAGS=${CFLAGS+y}
4069 ac_save_CFLAGS=$CFLAGS
4070 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4071 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
4072 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
4073 then :
4074 printfscip-shell system . . printf. %s "(cached) " >&6
4075 else $as_nop
4076 ac_save_c_werror_flag=$ac_c_werror_flag
4077 ac_c_werror_flag=yes
4078 ac_cv_prog_cc_g=no
4079 CFLAGS="-g"
4080 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082
4083 int
4084 main (void)
4085 {
4086
4087 ;
4088 return 0;
4089 }
4090 _ACEOF
4091 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4092 then :
4093 ac_cv_prog_cc_g=yes
4094 else $as_nop
4095 CFLAGS=""
4096 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098
4099 int
4100 main (void)
4101 {
4102
4103 ;
4104 return 0;
4105 }
4106 _ACEOF
4107 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4108 then :
4109
4110 else $as_nop
4111 ac_c_werror_flag=$ac_save_c_werror_flag
4112 CFLAGS="-g"
4113 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4115
4116 int
4117 main (void)
4118 {
4119
4120 ;
4121 return 0;
4122 }
4123 _ACEOF
4124 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4125 then :
4126 ac_cv_prog_cc_g=yes
4127 fi
4128 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4129 fi
4130 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4131 fi
4132 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4133 ac_c_werror_flag=$ac_save_c_werror_flag
4134 fi
4135 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4136 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
4137 if testscip-shell system . . test. $ac_test_CFLAGS; then
4138 CFLAGS=$ac_save_CFLAGS
4139 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
4140 if testscip-shell system . . test. "$GCC" = yes; then
4141 CFLAGS="-g -O2"
4142 else
4143 CFLAGS="-g"
4144 fi
4145 else
4146 if testscip-shell system . . test. "$GCC" = yes; then
4147 CFLAGS="-O2"
4148 else
4149 CFLAGS=
4150 fi
4151 fi
4152 ac_prog_cc_stdc=no
4153 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4154 then :
4155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4156 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
4157 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
4158 then :
4159 printfscip-shell system . . printf. %s "(cached) " >&6
4160 else $as_nop
4161 ac_cv_prog_cc_c11=no
4162 ac_save_CC=$CC
4163 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 $ac_c_conftest_c11_program
4166 _ACEOF
4167 for ac_arg in '' -std=gnu11
4168 do
4169 CC="$ac_save_CC $ac_arg"
4170 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4171 then :
4172 ac_cv_prog_cc_c11=$ac_arg
4173 fi
4174 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4175 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
4176 done
4177 rmscip-shell system . . rm. -f conftest.$ac_ext
4178 CC=$ac_save_CC
4179 fi
4180
4181 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
4182 then :
4183 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4184 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4185 else $as_nop
4186 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
4187 then :
4188 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4189 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4190 else $as_nop
4191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4192 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4193 CC="$CC $ac_cv_prog_cc_c11"
4194 fi
4195 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4196 ac_prog_cc_stdc=c11
4197 fi
4198 fi
4199 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4200 then :
4201 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4202 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
4203 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
4204 then :
4205 printfscip-shell system . . printf. %s "(cached) " >&6
4206 else $as_nop
4207 ac_cv_prog_cc_c99=no
4208 ac_save_CC=$CC
4209 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211 $ac_c_conftest_c99_program
4212 _ACEOF
4213 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4214 do
4215 CC="$ac_save_CC $ac_arg"
4216 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4217 then :
4218 ac_cv_prog_cc_c99=$ac_arg
4219 fi
4220 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4221 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
4222 done
4223 rmscip-shell system . . rm. -f conftest.$ac_ext
4224 CC=$ac_save_CC
4225 fi
4226
4227 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
4228 then :
4229 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4230 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4231 else $as_nop
4232 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
4233 then :
4234 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4235 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4236 else $as_nop
4237 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4238 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4239 CC="$CC $ac_cv_prog_cc_c99"
4240 fi
4241 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4242 ac_prog_cc_stdc=c99
4243 fi
4244 fi
4245 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4246 then :
4247 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4248 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
4249 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
4250 then :
4251 printfscip-shell system . . printf. %s "(cached) " >&6
4252 else $as_nop
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 $ac_c_conftest_c89_program
4258 _ACEOF
4259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4260 do
4261 CC="$ac_save_CC $ac_arg"
4262 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4263 then :
4264 ac_cv_prog_cc_c89=$ac_arg
4265 fi
4266 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4267 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4268 done
4269 rmscip-shell system . . rm. -f conftest.$ac_ext
4270 CC=$ac_save_CC
4271 fi
4272
4273 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
4274 then :
4275 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4276 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4277 else $as_nop
4278 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
4279 then :
4280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4281 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4282 else $as_nop
4283 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4284 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4285 CC="$CC $ac_cv_prog_cc_c89"
4286 fi
4287 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4288 ac_prog_cc_stdc=c89
4289 fi
4290 fi
4291
4292 ac_ext=c
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4297
4298
4299 ac_ext=c
4300 ac_cpp='$CPP $CPPFLAGS'
4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4305 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
4306 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
4307 then :
4308 printfscip-shell system . . printf. %s "(cached) " >&6
4309 else $as_nop
4310 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4312
4313 int
4314 main (void)
4315 {
4316
4317 ;
4318 return 0;
4319 }
4320 _ACEOF
4321 # Make sure it works both with $CC and with simple cc.
4322 # Following AC_PROG_CC_C_O, we do the test twice because some
4323 # compilers refuse to overwrite an existing .o file with -o,
4324 # though they will create one.
4325 am_cv_prog_cc_c_o=yes
4326 for am_i in 1 2; do
4327 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4328 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4329 ac_status=$?
4330 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } \
4332 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4333 : OK
4334 else
4335 am_cv_prog_cc_c_o=no
4336 break
4337 fi
4338 done
4339 rmscip-shell system . . rm. -f core conftest*
4340 unset am_i
4341 fi
4342 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4343 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4344 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4345 # Losing compiler, so override with the script.
4346 # FIXME: It is wrong to rewrite CC.
4347 # But if we don't then we get into trouble of one sort or another.
4348 # A longer-term fix would be to have automake use am__CC in this case,
4349 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4350 CC="$am_aux_dir/compile $CC"
4351 fi
4352 ac_ext=c
4353 ac_cpp='$CPP $CPPFLAGS'
4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357
4358
4359 depcc="$CC" am_compiler_list=
4360
4361 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4362 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
4363 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
4364 then :
4365 printfscip-shell system . . printf. %s "(cached) " >&6
4366 else $as_nop
4367 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4368 # We make a subdir and do the tests there. Otherwise we can end up
4369 # making bogus files that we don't know about and never remove. For
4370 # instance it was reported that on HP-UX the gcc test will end up
4371 # making a dummy file named 'D' -- because '-MD' means "put the output
4372 # in D".
4373 rmscip-shell system . . rm. -rf conftest.dir
4374 mkdirscip-shell system . . mkdir. conftest.dir
4375 # Copy depcomp to subdir because otherwise we won't find it if we're
4376 # using a relative directory.
4377 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4378 cd conftest.dir
4379 # We will build objects and dependencies in a subdirectory because
4380 # it helps to detect inapplicable dependency modes. For instance
4381 # both Tru64's cc and ICC support -MD to output dependencies as a
4382 # side effect of compilation, but ICC will put the dependencies in
4383 # the current directory while Tru64 will put them in the object
4384 # directory.
4385 mkdirscip-shell system . . mkdir. sub
4386
4387 am_cv_CC_dependencies_compiler_type=none
4388 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4389 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4390 fi
4391 am__universal=false
4392 case " $depcc " in #(
4393 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4394 esac
4395
4396 for depmode in $am_compiler_list; do
4397 # Setup a source with many dependencies, because some compilers
4398 # like to wrap large dependency lists on column 80 (with \), and
4399 # we should not choose a depcomp mode which is confused by this.
4400 #
4401 # We need to recreate these files for each test, as the compiler may
4402 # overwrite some of them when testing with obscure command lines.
4403 # This happens at least with the AIX C compiler.
4404 : > sub/conftest.c
4405 for i in 1 2 3 4 5 6; do
4406 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4407 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4408 # Solaris 10 /bin/sh.
4409 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4410 done
4411 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412
4413 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4414 # mode. It turns out that the SunPro C++ compiler does not properly
4415 # handle '-M -o', and we need to detect this. Also, some Intel
4416 # versions had trouble with output in subdirs.
4417 am__obj=sub/conftest.${OBJEXT-o}
4418 am__minus_obj="-o $am__obj"
4419 case $depmode in
4420 gcc)
4421 # This depmode causes a compiler race in universal mode.
4422 testscip-shell system . . test. "$am__universal" = false || continue
4423 ;;
4424 nosideeffect)
4425 # After this tag, mechanisms are not by side-effect, so they'll
4426 # only be used when explicitly requested.
4427 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4428 continue
4429 else
4430 break
4431 fi
4432 ;;
4433 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4434 # This compiler won't grok '-c -o', but also, the minuso test has
4435 # not run yet. These depmodes are late enough in the game, and
4436 # so weak that their functioning should not be impacted.
4437 am__obj=conftest.${OBJEXT-o}
4438 am__minus_obj=
4439 ;;
4440 none) break ;;
4441 esac
4442 if depmode=$depmode \
4443 source=sub/conftest.c object=$am__obj \
4444 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4445 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4446 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4447 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4448 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4449 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4450 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4451 # icc doesn't choke on unknown options, it will just issue warnings
4452 # or remarks (even with -Werror). So we grep stderr for any message
4453 # that says an option was ignored or not supported.
4454 # When given -MP, icc 7.0 and 7.1 complain thusly:
4455 # icc: Command line warning: ignoring option '-M'; no argument required
4456 # The diagnosis changed in icc 8.0:
4457 # icc: Command line remark: option '-MP' not supported
4458 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4459 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4460 am_cv_CC_dependencies_compiler_type=$depmode
4461 break
4462 fi
4463 fi
4464 done
4465
4466 cd ..
4467 rmscip-shell system . . rm. -rf conftest.dir
4468 else
4469 am_cv_CC_dependencies_compiler_type=none
4470 fi
4471
4472 fi
4473 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4474 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4475 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4476
4477 if
4478 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4479 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4480 am__fastdepCC_TRUE=
4481 am__fastdepCC_FALSE='#'
4482 else
4483 am__fastdepCC_TRUE='#'
4484 am__fastdepCC_FALSE=
4485 fi
4486
4487
4488
4489 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
4490 printfscip-shell system . . printf. %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
4491 if testscip-shell system . . test. ${ac_cv_c_undeclared_builtin_options+y}
4492 then :
4493 printfscip-shell system . . printf. %s "(cached) " >&6
4494 else $as_nop
4495 ac_save_CFLAGS=$CFLAGS
4496 ac_cv_c_undeclared_builtin_options='cannot detect'
4497 for ac_arg in '' -fno-builtin; do
4498 CFLAGS="$ac_save_CFLAGS $ac_arg"
4499 # This test program should *not* compile successfully.
4500 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502
4503 int
4504 main (void)
4505 {
4506 (void) strchr;
4507 ;
4508 return 0;
4509 }
4510 _ACEOF
4511 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4512 then :
4513
4514 else $as_nop
4515 # This test program should compile successfully.
4516 # No library function is consistently available on
4517 # freestanding implementations, so test against a dummy
4518 # declaration. Include always-available headers on the
4519 # off chance that they somehow elicit warnings.
4520 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522 #include <float.h>
4523 #include <limits.h>
4524 #include <stdarg.h>
4525 #include <stddef.h>
4526 extern void ac_decl (int, char *);
4527
4528 int
4529 main (void)
4530 {
4531 (void) ac_decl (0, (char *) 0);
4532 (void) ac_decl;
4533
4534 ;
4535 return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4539 then :
4540 if testscip-shell system . . test. x"$ac_arg" = x
4541 then :
4542 ac_cv_c_undeclared_builtin_options='none needed'
4543 else $as_nop
4544 ac_cv_c_undeclared_builtin_options=$ac_arg
4545 fi
4546 break
4547 fi
4548 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4549 fi
4550 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4551 done
4552 CFLAGS=$ac_save_CFLAGS
4553
4554 fi
4555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
4556 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
4557 case $ac_cv_c_undeclared_builtin_options in #(
4558 'cannot detect') :
4559 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4560 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4561 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot make $CC report undeclared builtins
4562 See \`config.log' for more details" "$LINENO" 5; } ;; #(
4563 'none needed') :
4564 ac_c_undeclared_builtin_options='' ;; #(
4565 *) :
4566 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
4567 esac
4568
4569 ac_header= ac_cache=
4570 for ac_item in $ac_header_c_list
4571 do
4572 if testscip-shell system . . test. $ac_cache; then
4573 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4574 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4575 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
4576 fi
4577 ac_header= ac_cache=
4578 elif testscip-shell system . . test. $ac_header; then
4579 ac_cache=$ac_item
4580 else
4581 ac_header=$ac_item
4582 fi
4583 done
4584
4585
4586
4587
4588
4589
4590
4591
4592 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
4593 then :
4594
4595 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4596
4597 fi
4598
4599
4600
4601
4602 ac_fn_check_declscip-shell shell x11-utils 7.7+7 ac_fn_check_decl(). "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
4603 if testscip-shell system . . test. "x$ac_cv_have_decl___clang__" = xyes
4604 then :
4605 CLANGCC="yes"
4606 else $as_nop
4607 CLANGCC="no"
4608 fi
4609 ac_fn_check_declscip-shell shell x11-utils 7.7+7 ac_fn_check_decl(). "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
4610 if testscip-shell system . . test. "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
4611 then :
4612 INTELCC="yes"
4613 else $as_nop
4614 INTELCC="no"
4615 fi
4616 ac_fn_check_declscip-shell shell x11-utils 7.7+7 ac_fn_check_decl(). "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
4617 if testscip-shell system . . test. "x$ac_cv_have_decl___SUNPRO_C" = xyes
4618 then :
4619 SUNCC="yes"
4620 else $as_nop
4621 SUNCC="no"
4622 fi
4623
4624
4625
4626
4627
4628
4629
4630
4631 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4632 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4633 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4634 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4637 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
4638 then :
4639 printfscip-shell system . . printf. %s "(cached) " >&6
4640 else $as_nop
4641 case $PKG_CONFIG in
4642 [\\/]* | ?:[\\/]*)
4643 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4644 ;;
4645 *)
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4648 do
4649 IFS=$as_save_IFS
4650 case $as_dir in #(((
4651 '') as_dir=./ ;;
4652 */) ;;
4653 *) as_dir=$as_dir/ ;;
4654 esac
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4657 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4658 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4659 break 2
4660 fi
4661 done
4662 done
4663 IFS=$as_save_IFS
4664
4665 ;;
4666 esac
4667 fi
4668 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4669 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
4670 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4671 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
4672 else
4673 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4675 fi
4676
4677
4678 fi
4679 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
4680 ac_pt_PKG_CONFIG=$PKG_CONFIG
4681 # Extract the first word of "pkg-config", so it can be a program name with args.
4682 set dummy pkg-config; ac_word=$2
4683 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4685 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4686 then :
4687 printfscip-shell system . . printf. %s "(cached) " >&6
4688 else $as_nop
4689 case $ac_pt_PKG_CONFIG in
4690 [\\/]* | ?:[\\/]*)
4691 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4692 ;;
4693 *)
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4696 do
4697 IFS=$as_save_IFS
4698 case $as_dir in #(((
4699 '') as_dir=./ ;;
4700 */) ;;
4701 *) as_dir=$as_dir/ ;;
4702 esac
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4706 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4707 break 2
4708 fi
4709 done
4710 done
4711 IFS=$as_save_IFS
4712
4713 ;;
4714 esac
4715 fi
4716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4717 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
4718 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4719 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4720 else
4721 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4723 fi
4724
4725 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
4726 PKG_CONFIG=""
4727 else
4728 case $cross_compiling:$ac_tool_warned in
4729 yes:)
4730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4731 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4732 ac_tool_warned=yes ;;
4733 esac
4734 PKG_CONFIG=$ac_pt_PKG_CONFIG
4735 fi
4736 else
4737 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4738 fi
4739
4740 fi
4741 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
4742 _pkg_min_version=0.9.0
4743 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4744 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4745 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4746 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4747 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
4748 else
4749 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4751 PKG_CONFIG=""
4752 fi
4753 fi
4754
4755
4756 # Make sure we can run config.sub.
4757 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
4758 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4759
4760 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4761 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
4762 if testscip-shell system . . test. ${ac_cv_build+y}
4763 then :
4764 printfscip-shell system . . printf. %s "(cached) " >&6
4765 else $as_nop
4766 ac_build_alias=$build_alias
4767 testscip-shell system . . test. "x$ac_build_alias" = x &&
4768 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4769 testscip-shell system . . test. "x$ac_build_alias" = x &&
4770 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
4771 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4772 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4773
4774 fi
4775 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4776 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
4777 case $ac_cv_build in
4778 *-*-*) ;;
4779 *) as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
4780 esac
4781 build=$ac_cv_build
4782 ac_save_IFS=$IFS; IFS='-'
4783 set x $ac_cv_build
4784 shift
4785 build_cpu=$1
4786 build_vendor=$2
4787 shift; shift
4788 # Remember, the first character of IFS is used to create $*,
4789 # except with old shells:
4790 build_os=$*
4791 IFS=$ac_save_IFS
4792 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
4793
4794
4795 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4796 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
4797 if testscip-shell system . . test. ${ac_cv_host+y}
4798 then :
4799 printfscip-shell system . . printf. %s "(cached) " >&6
4800 else $as_nop
4801 if testscip-shell system . . test. "x$host_alias" = x; then
4802 ac_cv_host=$ac_cv_build
4803 else
4804 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4805 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4806 fi
4807
4808 fi
4809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4810 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
4811 case $ac_cv_host in
4812 *-*-*) ;;
4813 *) as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
4814 esac
4815 host=$ac_cv_host
4816 ac_save_IFS=$IFS; IFS='-'
4817 set x $ac_cv_host
4818 shift
4819 host_cpu=$1
4820 host_vendor=$2
4821 shift; shift
4822 # Remember, the first character of IFS is used to create $*,
4823 # except with old shells:
4824 host_os=$*
4825 IFS=$ac_save_IFS
4826 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
4827
4828
4829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4830 printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; }
4831 if testscip-shell system . . test. ${ac_cv_path_SED+y}
4832 then :
4833 printfscip-shell system . . printf. %s "(cached) " >&6
4834 else $as_nop
4835 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4836 for ac_i in 1 2 3 4 5 6 7; do
4837 ac_script="$ac_script$as_nl$ac_script"
4838 done
4839 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
4840 { ac_script=; unset ac_script;}
4841 if testscip-shell system . . test. -z "$SED"; then
4842 ac_path_SED_found=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH
4846 do
4847 IFS=$as_save_IFS
4848 case $as_dir in #(((
4849 '') as_dir=./ ;;
4850 */) ;;
4851 *) as_dir=$as_dir/ ;;
4852 esac
4853 for ac_prog in sed gsed
4854 do
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4857 as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$ac_path_SED" || continue
4858 # Check for GNU ac_path_SED and select it if it is found.
4859 # Check for GNU $ac_path_SED
4860 case `"$ac_path_SED" --version 2>&1` in
4861 *GNU*)
4862 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4863 *)
4864 ac_count=0
4865 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
4866 while :
4867 do
4868 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
4869 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
4870 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
4871 printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl"
4872 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
4873 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
4874 as_fn_arithscip-shell shell x11-utils 7.7+7 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
4875 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
4876 # Best one so far, save it but keep looking for a better one
4877 ac_cv_path_SED="$ac_path_SED"
4878 ac_path_SED_max=$ac_count
4879 fi
4880 # 10*(2^10) chars as input seems more than enough
4881 testscip-shell system . . test. $ac_count -gt 10 && break
4882 done
4883 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
4884 esac
4885
4886 $ac_path_SED_found && break 3
4887 done
4888 done
4889 done
4890 IFS=$as_save_IFS
4891 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
4892 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4893 fi
4894 else
4895 ac_cv_path_SED=$SED
4896 fi
4897
4898 fi
4899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4900 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; }
4901 SED="$ac_cv_path_SED"
4902 rmscip-shell system . . rm. -f conftest.sed
4903
4904
4905
4906
4907
4908
4909 # Check whether --enable-selective-werror was given.
4910 if testscip-shell system . . test. ${enable_selective_werror+y}
4911 then :
4912 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
4913 else $as_nop
4914 SELECTIVE_WERROR=yes
4915 fi
4916
4917
4918
4919
4920
4921 # -v is too short to test reliably with XORG_TESTSET_CFLAG
4922 if testscip-shell system . . test. "x$SUNCC" = "xyes"; then
4923 BASE_CFLAGS="-v"
4924 else
4925 BASE_CFLAGS=""
4926 fi
4927
4928 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942 xorg_testset_save_CFLAGS="$CFLAGS"
4943
4944 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4945 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4947 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4948 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
4949 then :
4950 printfscip-shell system . . printf. %s "(cached) " >&6
4951 else $as_nop
4952 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 int i;
4955 _ACEOF
4956 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4957 then :
4958 xorg_cv_cc_flag_unknown_warning_option=yes
4959 else $as_nop
4960 xorg_cv_cc_flag_unknown_warning_option=no
4961 fi
4962 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4963 fi
4964 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4965 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4966 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4967 CFLAGS="$xorg_testset_save_CFLAGS"
4968 fi
4969
4970 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4971 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4972 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4973 fi
4974 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4975 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4976 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4977 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
4978 then :
4979 printfscip-shell system . . printf. %s "(cached) " >&6
4980 else $as_nop
4981 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4983 int i;
4984 _ACEOF
4985 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
4986 then :
4987 xorg_cv_cc_flag_unused_command_line_argument=yes
4988 else $as_nop
4989 xorg_cv_cc_flag_unused_command_line_argument=no
4990 fi
4991 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4992 fi
4993 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4994 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4995 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4996 CFLAGS="$xorg_testset_save_CFLAGS"
4997 fi
4998
4999 found="no"
5000
5001 if testscip-shell system . . test. $found = "no" ; then
5002 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5003 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5004 fi
5005
5006 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5007 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5008 fi
5009
5010 CFLAGS="$CFLAGS -Wall"
5011
5012 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
5013 printfscip-shell system . . printf. %s "checking if $CC supports -Wall... " >&6; }
5014 cacheid=xorg_cv_cc_flag__Wall
5015 if eval test \${$cacheid+y}
5016 then :
5017 printfscip-shell system . . printf. %s "(cached) " >&6
5018 else $as_nop
5019 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5021 int i;
5022 int
5023 main (void)
5024 {
5025
5026 ;
5027 return 0;
5028 }
5029 _ACEOF
5030 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5031 then :
5032 eval $cacheid=yes
5033 else $as_nop
5034 eval $cacheid=no
5035 fi
5036 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5037 conftest$ac_exeext conftest.$ac_ext
5038 fi
5039
5040
5041 CFLAGS="$xorg_testset_save_CFLAGS"
5042
5043 eval supported=\$$cacheid
5044 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5045 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5046 if testscip-shell system . . test. "$supported" = "yes" ; then
5047 BASE_CFLAGS="$BASE_CFLAGS -Wall"
5048 found="yes"
5049 fi
5050 fi
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066 xorg_testset_save_CFLAGS="$CFLAGS"
5067
5068 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5069 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5070 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5071 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5072 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5073 then :
5074 printfscip-shell system . . printf. %s "(cached) " >&6
5075 else $as_nop
5076 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5078 int i;
5079 _ACEOF
5080 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5081 then :
5082 xorg_cv_cc_flag_unknown_warning_option=yes
5083 else $as_nop
5084 xorg_cv_cc_flag_unknown_warning_option=no
5085 fi
5086 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5087 fi
5088 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5089 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5090 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5091 CFLAGS="$xorg_testset_save_CFLAGS"
5092 fi
5093
5094 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5095 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5096 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5097 fi
5098 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5099 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5100 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5101 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5102 then :
5103 printfscip-shell system . . printf. %s "(cached) " >&6
5104 else $as_nop
5105 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 int i;
5108 _ACEOF
5109 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5110 then :
5111 xorg_cv_cc_flag_unused_command_line_argument=yes
5112 else $as_nop
5113 xorg_cv_cc_flag_unused_command_line_argument=no
5114 fi
5115 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5116 fi
5117 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5118 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5119 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5120 CFLAGS="$xorg_testset_save_CFLAGS"
5121 fi
5122
5123 found="no"
5124
5125 if testscip-shell system . . test. $found = "no" ; then
5126 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5127 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5128 fi
5129
5130 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5131 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5132 fi
5133
5134 CFLAGS="$CFLAGS -Wpointer-arith"
5135
5136 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
5137 printfscip-shell system . . printf. %s "checking if $CC supports -Wpointer-arith... " >&6; }
5138 cacheid=xorg_cv_cc_flag__Wpointer_arith
5139 if eval test \${$cacheid+y}
5140 then :
5141 printfscip-shell system . . printf. %s "(cached) " >&6
5142 else $as_nop
5143 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5144 /* end confdefs.h. */
5145 int i;
5146 int
5147 main (void)
5148 {
5149
5150 ;
5151 return 0;
5152 }
5153 _ACEOF
5154 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5155 then :
5156 eval $cacheid=yes
5157 else $as_nop
5158 eval $cacheid=no
5159 fi
5160 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5161 conftest$ac_exeext conftest.$ac_ext
5162 fi
5163
5164
5165 CFLAGS="$xorg_testset_save_CFLAGS"
5166
5167 eval supported=\$$cacheid
5168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5169 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5170 if testscip-shell system . . test. "$supported" = "yes" ; then
5171 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
5172 found="yes"
5173 fi
5174 fi
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190 xorg_testset_save_CFLAGS="$CFLAGS"
5191
5192 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5193 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5194 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5195 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5196 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5197 then :
5198 printfscip-shell system . . printf. %s "(cached) " >&6
5199 else $as_nop
5200 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5202 int i;
5203 _ACEOF
5204 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5205 then :
5206 xorg_cv_cc_flag_unknown_warning_option=yes
5207 else $as_nop
5208 xorg_cv_cc_flag_unknown_warning_option=no
5209 fi
5210 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5211 fi
5212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5213 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5214 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5215 CFLAGS="$xorg_testset_save_CFLAGS"
5216 fi
5217
5218 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5219 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5220 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5221 fi
5222 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5223 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5224 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5225 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5226 then :
5227 printfscip-shell system . . printf. %s "(cached) " >&6
5228 else $as_nop
5229 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5231 int i;
5232 _ACEOF
5233 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5234 then :
5235 xorg_cv_cc_flag_unused_command_line_argument=yes
5236 else $as_nop
5237 xorg_cv_cc_flag_unused_command_line_argument=no
5238 fi
5239 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5240 fi
5241 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5242 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5243 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5244 CFLAGS="$xorg_testset_save_CFLAGS"
5245 fi
5246
5247 found="no"
5248
5249 if testscip-shell system . . test. $found = "no" ; then
5250 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5251 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5252 fi
5253
5254 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5255 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5256 fi
5257
5258 CFLAGS="$CFLAGS -Wmissing-declarations"
5259
5260 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
5261 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-declarations... " >&6; }
5262 cacheid=xorg_cv_cc_flag__Wmissing_declarations
5263 if eval test \${$cacheid+y}
5264 then :
5265 printfscip-shell system . . printf. %s "(cached) " >&6
5266 else $as_nop
5267 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5269 int i;
5270 int
5271 main (void)
5272 {
5273
5274 ;
5275 return 0;
5276 }
5277 _ACEOF
5278 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5279 then :
5280 eval $cacheid=yes
5281 else $as_nop
5282 eval $cacheid=no
5283 fi
5284 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5285 conftest$ac_exeext conftest.$ac_ext
5286 fi
5287
5288
5289 CFLAGS="$xorg_testset_save_CFLAGS"
5290
5291 eval supported=\$$cacheid
5292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5293 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5294 if testscip-shell system . . test. "$supported" = "yes" ; then
5295 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
5296 found="yes"
5297 fi
5298 fi
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314 xorg_testset_save_CFLAGS="$CFLAGS"
5315
5316 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5317 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5318 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5319 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5320 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5321 then :
5322 printfscip-shell system . . printf. %s "(cached) " >&6
5323 else $as_nop
5324 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5326 int i;
5327 _ACEOF
5328 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5329 then :
5330 xorg_cv_cc_flag_unknown_warning_option=yes
5331 else $as_nop
5332 xorg_cv_cc_flag_unknown_warning_option=no
5333 fi
5334 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5335 fi
5336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5337 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5338 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5339 CFLAGS="$xorg_testset_save_CFLAGS"
5340 fi
5341
5342 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5343 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5344 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5345 fi
5346 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5347 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5348 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5349 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5350 then :
5351 printfscip-shell system . . printf. %s "(cached) " >&6
5352 else $as_nop
5353 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 int i;
5356 _ACEOF
5357 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5358 then :
5359 xorg_cv_cc_flag_unused_command_line_argument=yes
5360 else $as_nop
5361 xorg_cv_cc_flag_unused_command_line_argument=no
5362 fi
5363 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5364 fi
5365 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5366 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5367 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5368 CFLAGS="$xorg_testset_save_CFLAGS"
5369 fi
5370
5371 found="no"
5372
5373 if testscip-shell system . . test. $found = "no" ; then
5374 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5375 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5376 fi
5377
5378 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5379 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5380 fi
5381
5382 CFLAGS="$CFLAGS -Wformat=2"
5383
5384 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5385 printfscip-shell system . . printf. %s "checking if $CC supports -Wformat=2... " >&6; }
5386 cacheid=xorg_cv_cc_flag__Wformat_2
5387 if eval test \${$cacheid+y}
5388 then :
5389 printfscip-shell system . . printf. %s "(cached) " >&6
5390 else $as_nop
5391 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5393 int i;
5394 int
5395 main (void)
5396 {
5397
5398 ;
5399 return 0;
5400 }
5401 _ACEOF
5402 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5403 then :
5404 eval $cacheid=yes
5405 else $as_nop
5406 eval $cacheid=no
5407 fi
5408 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5409 conftest$ac_exeext conftest.$ac_ext
5410 fi
5411
5412
5413 CFLAGS="$xorg_testset_save_CFLAGS"
5414
5415 eval supported=\$$cacheid
5416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5417 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5418 if testscip-shell system . . test. "$supported" = "yes" ; then
5419 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
5420 found="yes"
5421 fi
5422 fi
5423
5424 if testscip-shell system . . test. $found = "no" ; then
5425 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5426 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5427 fi
5428
5429 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5430 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5431 fi
5432
5433 CFLAGS="$CFLAGS -Wformat"
5434
5435 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5436 printfscip-shell system . . printf. %s "checking if $CC supports -Wformat... " >&6; }
5437 cacheid=xorg_cv_cc_flag__Wformat
5438 if eval test \${$cacheid+y}
5439 then :
5440 printfscip-shell system . . printf. %s "(cached) " >&6
5441 else $as_nop
5442 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5444 int i;
5445 int
5446 main (void)
5447 {
5448
5449 ;
5450 return 0;
5451 }
5452 _ACEOF
5453 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5454 then :
5455 eval $cacheid=yes
5456 else $as_nop
5457 eval $cacheid=no
5458 fi
5459 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5460 conftest$ac_exeext conftest.$ac_ext
5461 fi
5462
5463
5464 CFLAGS="$xorg_testset_save_CFLAGS"
5465
5466 eval supported=\$$cacheid
5467 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5468 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5469 if testscip-shell system . . test. "$supported" = "yes" ; then
5470 BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5471 found="yes"
5472 fi
5473 fi
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491 xorg_testset_save_CFLAGS="$CFLAGS"
5492
5493 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5494 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5495 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5496 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5497 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5498 then :
5499 printfscip-shell system . . printf. %s "(cached) " >&6
5500 else $as_nop
5501 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 int i;
5504 _ACEOF
5505 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5506 then :
5507 xorg_cv_cc_flag_unknown_warning_option=yes
5508 else $as_nop
5509 xorg_cv_cc_flag_unknown_warning_option=no
5510 fi
5511 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5512 fi
5513 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5514 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5515 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5516 CFLAGS="$xorg_testset_save_CFLAGS"
5517 fi
5518
5519 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5520 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5521 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5522 fi
5523 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5524 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5525 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5526 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5527 then :
5528 printfscip-shell system . . printf. %s "(cached) " >&6
5529 else $as_nop
5530 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5532 int i;
5533 _ACEOF
5534 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5535 then :
5536 xorg_cv_cc_flag_unused_command_line_argument=yes
5537 else $as_nop
5538 xorg_cv_cc_flag_unused_command_line_argument=no
5539 fi
5540 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5541 fi
5542 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5543 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5544 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5545 CFLAGS="$xorg_testset_save_CFLAGS"
5546 fi
5547
5548 found="no"
5549
5550 if testscip-shell system . . test. $found = "no" ; then
5551 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5552 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5553 fi
5554
5555 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5556 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5557 fi
5558
5559 CFLAGS="$CFLAGS -Wstrict-prototypes"
5560
5561 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5562 printfscip-shell system . . printf. %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
5563 cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5564 if eval test \${$cacheid+y}
5565 then :
5566 printfscip-shell system . . printf. %s "(cached) " >&6
5567 else $as_nop
5568 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5570 int i;
5571 int
5572 main (void)
5573 {
5574
5575 ;
5576 return 0;
5577 }
5578 _ACEOF
5579 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5580 then :
5581 eval $cacheid=yes
5582 else $as_nop
5583 eval $cacheid=no
5584 fi
5585 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5586 conftest$ac_exeext conftest.$ac_ext
5587 fi
5588
5589
5590 CFLAGS="$xorg_testset_save_CFLAGS"
5591
5592 eval supported=\$$cacheid
5593 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5594 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5595 if testscip-shell system . . test. "$supported" = "yes" ; then
5596 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
5597 found="yes"
5598 fi
5599 fi
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615 xorg_testset_save_CFLAGS="$CFLAGS"
5616
5617 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5618 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5619 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5620 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5621 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5622 then :
5623 printfscip-shell system . . printf. %s "(cached) " >&6
5624 else $as_nop
5625 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 int i;
5628 _ACEOF
5629 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5630 then :
5631 xorg_cv_cc_flag_unknown_warning_option=yes
5632 else $as_nop
5633 xorg_cv_cc_flag_unknown_warning_option=no
5634 fi
5635 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5636 fi
5637 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5638 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5639 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5640 CFLAGS="$xorg_testset_save_CFLAGS"
5641 fi
5642
5643 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5644 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5645 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5646 fi
5647 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5648 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5649 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5650 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5651 then :
5652 printfscip-shell system . . printf. %s "(cached) " >&6
5653 else $as_nop
5654 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656 int i;
5657 _ACEOF
5658 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5659 then :
5660 xorg_cv_cc_flag_unused_command_line_argument=yes
5661 else $as_nop
5662 xorg_cv_cc_flag_unused_command_line_argument=no
5663 fi
5664 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5665 fi
5666 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5667 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5668 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5669 CFLAGS="$xorg_testset_save_CFLAGS"
5670 fi
5671
5672 found="no"
5673
5674 if testscip-shell system . . test. $found = "no" ; then
5675 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5676 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5677 fi
5678
5679 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5680 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5681 fi
5682
5683 CFLAGS="$CFLAGS -Wmissing-prototypes"
5684
5685 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5686 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
5687 cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5688 if eval test \${$cacheid+y}
5689 then :
5690 printfscip-shell system . . printf. %s "(cached) " >&6
5691 else $as_nop
5692 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 int i;
5695 int
5696 main (void)
5697 {
5698
5699 ;
5700 return 0;
5701 }
5702 _ACEOF
5703 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5704 then :
5705 eval $cacheid=yes
5706 else $as_nop
5707 eval $cacheid=no
5708 fi
5709 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5710 conftest$ac_exeext conftest.$ac_ext
5711 fi
5712
5713
5714 CFLAGS="$xorg_testset_save_CFLAGS"
5715
5716 eval supported=\$$cacheid
5717 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5718 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5719 if testscip-shell system . . test. "$supported" = "yes" ; then
5720 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
5721 found="yes"
5722 fi
5723 fi
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739 xorg_testset_save_CFLAGS="$CFLAGS"
5740
5741 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5742 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5743 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5744 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5745 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5746 then :
5747 printfscip-shell system . . printf. %s "(cached) " >&6
5748 else $as_nop
5749 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 int i;
5752 _ACEOF
5753 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5754 then :
5755 xorg_cv_cc_flag_unknown_warning_option=yes
5756 else $as_nop
5757 xorg_cv_cc_flag_unknown_warning_option=no
5758 fi
5759 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5760 fi
5761 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5762 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5763 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5764 CFLAGS="$xorg_testset_save_CFLAGS"
5765 fi
5766
5767 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5768 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5769 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5770 fi
5771 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5772 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5773 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5774 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5775 then :
5776 printfscip-shell system . . printf. %s "(cached) " >&6
5777 else $as_nop
5778 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5779 /* end confdefs.h. */
5780 int i;
5781 _ACEOF
5782 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5783 then :
5784 xorg_cv_cc_flag_unused_command_line_argument=yes
5785 else $as_nop
5786 xorg_cv_cc_flag_unused_command_line_argument=no
5787 fi
5788 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5789 fi
5790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5791 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5792 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5793 CFLAGS="$xorg_testset_save_CFLAGS"
5794 fi
5795
5796 found="no"
5797
5798 if testscip-shell system . . test. $found = "no" ; then
5799 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5800 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5801 fi
5802
5803 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5804 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5805 fi
5806
5807 CFLAGS="$CFLAGS -Wnested-externs"
5808
5809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5810 printfscip-shell system . . printf. %s "checking if $CC supports -Wnested-externs... " >&6; }
5811 cacheid=xorg_cv_cc_flag__Wnested_externs
5812 if eval test \${$cacheid+y}
5813 then :
5814 printfscip-shell system . . printf. %s "(cached) " >&6
5815 else $as_nop
5816 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5818 int i;
5819 int
5820 main (void)
5821 {
5822
5823 ;
5824 return 0;
5825 }
5826 _ACEOF
5827 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5828 then :
5829 eval $cacheid=yes
5830 else $as_nop
5831 eval $cacheid=no
5832 fi
5833 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5834 conftest$ac_exeext conftest.$ac_ext
5835 fi
5836
5837
5838 CFLAGS="$xorg_testset_save_CFLAGS"
5839
5840 eval supported=\$$cacheid
5841 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5842 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5843 if testscip-shell system . . test. "$supported" = "yes" ; then
5844 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
5845 found="yes"
5846 fi
5847 fi
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863 xorg_testset_save_CFLAGS="$CFLAGS"
5864
5865 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5867 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5868 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5869 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5870 then :
5871 printfscip-shell system . . printf. %s "(cached) " >&6
5872 else $as_nop
5873 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5875 int i;
5876 _ACEOF
5877 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5878 then :
5879 xorg_cv_cc_flag_unknown_warning_option=yes
5880 else $as_nop
5881 xorg_cv_cc_flag_unknown_warning_option=no
5882 fi
5883 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5884 fi
5885 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5886 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5887 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5888 CFLAGS="$xorg_testset_save_CFLAGS"
5889 fi
5890
5891 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5892 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5893 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5894 fi
5895 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5896 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5897 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5898 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5899 then :
5900 printfscip-shell system . . printf. %s "(cached) " >&6
5901 else $as_nop
5902 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5904 int i;
5905 _ACEOF
5906 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
5907 then :
5908 xorg_cv_cc_flag_unused_command_line_argument=yes
5909 else $as_nop
5910 xorg_cv_cc_flag_unused_command_line_argument=no
5911 fi
5912 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5913 fi
5914 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5915 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5916 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5917 CFLAGS="$xorg_testset_save_CFLAGS"
5918 fi
5919
5920 found="no"
5921
5922 if testscip-shell system . . test. $found = "no" ; then
5923 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5924 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5925 fi
5926
5927 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5928 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5929 fi
5930
5931 CFLAGS="$CFLAGS -Wbad-function-cast"
5932
5933 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5934 printfscip-shell system . . printf. %s "checking if $CC supports -Wbad-function-cast... " >&6; }
5935 cacheid=xorg_cv_cc_flag__Wbad_function_cast
5936 if eval test \${$cacheid+y}
5937 then :
5938 printfscip-shell system . . printf. %s "(cached) " >&6
5939 else $as_nop
5940 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5942 int i;
5943 int
5944 main (void)
5945 {
5946
5947 ;
5948 return 0;
5949 }
5950 _ACEOF
5951 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
5952 then :
5953 eval $cacheid=yes
5954 else $as_nop
5955 eval $cacheid=no
5956 fi
5957 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5958 conftest$ac_exeext conftest.$ac_ext
5959 fi
5960
5961
5962 CFLAGS="$xorg_testset_save_CFLAGS"
5963
5964 eval supported=\$$cacheid
5965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5966 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5967 if testscip-shell system . . test. "$supported" = "yes" ; then
5968 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
5969 found="yes"
5970 fi
5971 fi
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987 xorg_testset_save_CFLAGS="$CFLAGS"
5988
5989 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5990 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5991 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5992 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5993 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5994 then :
5995 printfscip-shell system . . printf. %s "(cached) " >&6
5996 else $as_nop
5997 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 int i;
6000 _ACEOF
6001 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6002 then :
6003 xorg_cv_cc_flag_unknown_warning_option=yes
6004 else $as_nop
6005 xorg_cv_cc_flag_unknown_warning_option=no
6006 fi
6007 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6008 fi
6009 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6010 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6011 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6012 CFLAGS="$xorg_testset_save_CFLAGS"
6013 fi
6014
6015 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6016 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6017 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6018 fi
6019 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6021 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6022 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6023 then :
6024 printfscip-shell system . . printf. %s "(cached) " >&6
6025 else $as_nop
6026 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6028 int i;
6029 _ACEOF
6030 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6031 then :
6032 xorg_cv_cc_flag_unused_command_line_argument=yes
6033 else $as_nop
6034 xorg_cv_cc_flag_unused_command_line_argument=no
6035 fi
6036 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6037 fi
6038 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6039 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6040 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6041 CFLAGS="$xorg_testset_save_CFLAGS"
6042 fi
6043
6044 found="no"
6045
6046 if testscip-shell system . . test. $found = "no" ; then
6047 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6048 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6049 fi
6050
6051 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6052 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6053 fi
6054
6055 CFLAGS="$CFLAGS -Wold-style-definition"
6056
6057 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
6058 printfscip-shell system . . printf. %s "checking if $CC supports -Wold-style-definition... " >&6; }
6059 cacheid=xorg_cv_cc_flag__Wold_style_definition
6060 if eval test \${$cacheid+y}
6061 then :
6062 printfscip-shell system . . printf. %s "(cached) " >&6
6063 else $as_nop
6064 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6066 int i;
6067 int
6068 main (void)
6069 {
6070
6071 ;
6072 return 0;
6073 }
6074 _ACEOF
6075 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6076 then :
6077 eval $cacheid=yes
6078 else $as_nop
6079 eval $cacheid=no
6080 fi
6081 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6082 conftest$ac_exeext conftest.$ac_ext
6083 fi
6084
6085
6086 CFLAGS="$xorg_testset_save_CFLAGS"
6087
6088 eval supported=\$$cacheid
6089 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6090 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6091 if testscip-shell system . . test. "$supported" = "yes" ; then
6092 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
6093 found="yes"
6094 fi
6095 fi
6096
6097 if testscip-shell system . . test. $found = "no" ; then
6098 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6099 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6100 fi
6101
6102 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6103 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6104 fi
6105
6106 CFLAGS="$CFLAGS -fd"
6107
6108 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
6109 printfscip-shell system . . printf. %s "checking if $CC supports -fd... " >&6; }
6110 cacheid=xorg_cv_cc_flag__fd
6111 if eval test \${$cacheid+y}
6112 then :
6113 printfscip-shell system . . printf. %s "(cached) " >&6
6114 else $as_nop
6115 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 int i;
6118 int
6119 main (void)
6120 {
6121
6122 ;
6123 return 0;
6124 }
6125 _ACEOF
6126 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6127 then :
6128 eval $cacheid=yes
6129 else $as_nop
6130 eval $cacheid=no
6131 fi
6132 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6133 conftest$ac_exeext conftest.$ac_ext
6134 fi
6135
6136
6137 CFLAGS="$xorg_testset_save_CFLAGS"
6138
6139 eval supported=\$$cacheid
6140 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6141 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6142 if testscip-shell system . . test. "$supported" = "yes" ; then
6143 BASE_CFLAGS="$BASE_CFLAGS -fd"
6144 found="yes"
6145 fi
6146 fi
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162 xorg_testset_save_CFLAGS="$CFLAGS"
6163
6164 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6165 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6166 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6167 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6168 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6169 then :
6170 printfscip-shell system . . printf. %s "(cached) " >&6
6171 else $as_nop
6172 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 int i;
6175 _ACEOF
6176 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6177 then :
6178 xorg_cv_cc_flag_unknown_warning_option=yes
6179 else $as_nop
6180 xorg_cv_cc_flag_unknown_warning_option=no
6181 fi
6182 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6183 fi
6184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6185 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6186 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6187 CFLAGS="$xorg_testset_save_CFLAGS"
6188 fi
6189
6190 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6191 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6192 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6193 fi
6194 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6196 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6197 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6198 then :
6199 printfscip-shell system . . printf. %s "(cached) " >&6
6200 else $as_nop
6201 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 int i;
6204 _ACEOF
6205 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6206 then :
6207 xorg_cv_cc_flag_unused_command_line_argument=yes
6208 else $as_nop
6209 xorg_cv_cc_flag_unused_command_line_argument=no
6210 fi
6211 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6212 fi
6213 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6214 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6215 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6216 CFLAGS="$xorg_testset_save_CFLAGS"
6217 fi
6218
6219 found="no"
6220
6221 if testscip-shell system . . test. $found = "no" ; then
6222 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6223 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6224 fi
6225
6226 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6227 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6228 fi
6229
6230 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
6231
6232 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
6233 printfscip-shell system . . printf. %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
6234 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
6235 if eval test \${$cacheid+y}
6236 then :
6237 printfscip-shell system . . printf. %s "(cached) " >&6
6238 else $as_nop
6239 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 int i;
6242 int
6243 main (void)
6244 {
6245
6246 ;
6247 return 0;
6248 }
6249 _ACEOF
6250 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6251 then :
6252 eval $cacheid=yes
6253 else $as_nop
6254 eval $cacheid=no
6255 fi
6256 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6257 conftest$ac_exeext conftest.$ac_ext
6258 fi
6259
6260
6261 CFLAGS="$xorg_testset_save_CFLAGS"
6262
6263 eval supported=\$$cacheid
6264 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6265 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6266 if testscip-shell system . . test. "$supported" = "yes" ; then
6267 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
6268 found="yes"
6269 fi
6270 fi
6271
6272
6273
6274
6275
6276 # This chunk adds additional warnings that could catch undesired effects.
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290 xorg_testset_save_CFLAGS="$CFLAGS"
6291
6292 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6293 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6294 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6295 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6296 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6297 then :
6298 printfscip-shell system . . printf. %s "(cached) " >&6
6299 else $as_nop
6300 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 int i;
6303 _ACEOF
6304 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6305 then :
6306 xorg_cv_cc_flag_unknown_warning_option=yes
6307 else $as_nop
6308 xorg_cv_cc_flag_unknown_warning_option=no
6309 fi
6310 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6311 fi
6312 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6313 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6314 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6315 CFLAGS="$xorg_testset_save_CFLAGS"
6316 fi
6317
6318 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6319 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6320 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6321 fi
6322 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6324 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6325 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6326 then :
6327 printfscip-shell system . . printf. %s "(cached) " >&6
6328 else $as_nop
6329 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6331 int i;
6332 _ACEOF
6333 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6334 then :
6335 xorg_cv_cc_flag_unused_command_line_argument=yes
6336 else $as_nop
6337 xorg_cv_cc_flag_unused_command_line_argument=no
6338 fi
6339 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6340 fi
6341 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6342 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6343 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6344 CFLAGS="$xorg_testset_save_CFLAGS"
6345 fi
6346
6347 found="no"
6348
6349 if testscip-shell system . . test. $found = "no" ; then
6350 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6351 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6352 fi
6353
6354 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6355 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6356 fi
6357
6358 CFLAGS="$CFLAGS -Wunused"
6359
6360 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
6361 printfscip-shell system . . printf. %s "checking if $CC supports -Wunused... " >&6; }
6362 cacheid=xorg_cv_cc_flag__Wunused
6363 if eval test \${$cacheid+y}
6364 then :
6365 printfscip-shell system . . printf. %s "(cached) " >&6
6366 else $as_nop
6367 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6369 int i;
6370 int
6371 main (void)
6372 {
6373
6374 ;
6375 return 0;
6376 }
6377 _ACEOF
6378 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6379 then :
6380 eval $cacheid=yes
6381 else $as_nop
6382 eval $cacheid=no
6383 fi
6384 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6385 conftest$ac_exeext conftest.$ac_ext
6386 fi
6387
6388
6389 CFLAGS="$xorg_testset_save_CFLAGS"
6390
6391 eval supported=\$$cacheid
6392 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6393 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6394 if testscip-shell system . . test. "$supported" = "yes" ; then
6395 BASE_CFLAGS="$BASE_CFLAGS -Wunused"
6396 found="yes"
6397 fi
6398 fi
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414 xorg_testset_save_CFLAGS="$CFLAGS"
6415
6416 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6417 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6418 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6419 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6420 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6421 then :
6422 printfscip-shell system . . printf. %s "(cached) " >&6
6423 else $as_nop
6424 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 int i;
6427 _ACEOF
6428 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6429 then :
6430 xorg_cv_cc_flag_unknown_warning_option=yes
6431 else $as_nop
6432 xorg_cv_cc_flag_unknown_warning_option=no
6433 fi
6434 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6435 fi
6436 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6437 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6438 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6439 CFLAGS="$xorg_testset_save_CFLAGS"
6440 fi
6441
6442 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6443 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6444 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6445 fi
6446 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6447 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6448 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6449 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6450 then :
6451 printfscip-shell system . . printf. %s "(cached) " >&6
6452 else $as_nop
6453 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 int i;
6456 _ACEOF
6457 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6458 then :
6459 xorg_cv_cc_flag_unused_command_line_argument=yes
6460 else $as_nop
6461 xorg_cv_cc_flag_unused_command_line_argument=no
6462 fi
6463 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6464 fi
6465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6466 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6467 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6468 CFLAGS="$xorg_testset_save_CFLAGS"
6469 fi
6470
6471 found="no"
6472
6473 if testscip-shell system . . test. $found = "no" ; then
6474 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6475 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6476 fi
6477
6478 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6479 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6480 fi
6481
6482 CFLAGS="$CFLAGS -Wuninitialized"
6483
6484 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6485 printfscip-shell system . . printf. %s "checking if $CC supports -Wuninitialized... " >&6; }
6486 cacheid=xorg_cv_cc_flag__Wuninitialized
6487 if eval test \${$cacheid+y}
6488 then :
6489 printfscip-shell system . . printf. %s "(cached) " >&6
6490 else $as_nop
6491 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 int i;
6494 int
6495 main (void)
6496 {
6497
6498 ;
6499 return 0;
6500 }
6501 _ACEOF
6502 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6503 then :
6504 eval $cacheid=yes
6505 else $as_nop
6506 eval $cacheid=no
6507 fi
6508 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6509 conftest$ac_exeext conftest.$ac_ext
6510 fi
6511
6512
6513 CFLAGS="$xorg_testset_save_CFLAGS"
6514
6515 eval supported=\$$cacheid
6516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6517 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6518 if testscip-shell system . . test. "$supported" = "yes" ; then
6519 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6520 found="yes"
6521 fi
6522 fi
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538 xorg_testset_save_CFLAGS="$CFLAGS"
6539
6540 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6541 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6542 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6543 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6544 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6545 then :
6546 printfscip-shell system . . printf. %s "(cached) " >&6
6547 else $as_nop
6548 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 int i;
6551 _ACEOF
6552 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6553 then :
6554 xorg_cv_cc_flag_unknown_warning_option=yes
6555 else $as_nop
6556 xorg_cv_cc_flag_unknown_warning_option=no
6557 fi
6558 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6559 fi
6560 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6561 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6562 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6563 CFLAGS="$xorg_testset_save_CFLAGS"
6564 fi
6565
6566 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6567 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6568 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6569 fi
6570 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6571 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6572 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6573 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6574 then :
6575 printfscip-shell system . . printf. %s "(cached) " >&6
6576 else $as_nop
6577 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6579 int i;
6580 _ACEOF
6581 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6582 then :
6583 xorg_cv_cc_flag_unused_command_line_argument=yes
6584 else $as_nop
6585 xorg_cv_cc_flag_unused_command_line_argument=no
6586 fi
6587 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6588 fi
6589 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6590 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6591 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6592 CFLAGS="$xorg_testset_save_CFLAGS"
6593 fi
6594
6595 found="no"
6596
6597 if testscip-shell system . . test. $found = "no" ; then
6598 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6599 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6600 fi
6601
6602 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6603 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6604 fi
6605
6606 CFLAGS="$CFLAGS -Wshadow"
6607
6608 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6609 printfscip-shell system . . printf. %s "checking if $CC supports -Wshadow... " >&6; }
6610 cacheid=xorg_cv_cc_flag__Wshadow
6611 if eval test \${$cacheid+y}
6612 then :
6613 printfscip-shell system . . printf. %s "(cached) " >&6
6614 else $as_nop
6615 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 int i;
6618 int
6619 main (void)
6620 {
6621
6622 ;
6623 return 0;
6624 }
6625 _ACEOF
6626 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6627 then :
6628 eval $cacheid=yes
6629 else $as_nop
6630 eval $cacheid=no
6631 fi
6632 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6633 conftest$ac_exeext conftest.$ac_ext
6634 fi
6635
6636
6637 CFLAGS="$xorg_testset_save_CFLAGS"
6638
6639 eval supported=\$$cacheid
6640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6641 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6642 if testscip-shell system . . test. "$supported" = "yes" ; then
6643 BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
6644 found="yes"
6645 fi
6646 fi
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662 xorg_testset_save_CFLAGS="$CFLAGS"
6663
6664 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6665 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6666 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6667 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6668 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6669 then :
6670 printfscip-shell system . . printf. %s "(cached) " >&6
6671 else $as_nop
6672 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 /* end confdefs.h. */
6674 int i;
6675 _ACEOF
6676 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6677 then :
6678 xorg_cv_cc_flag_unknown_warning_option=yes
6679 else $as_nop
6680 xorg_cv_cc_flag_unknown_warning_option=no
6681 fi
6682 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6683 fi
6684 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6685 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6686 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6687 CFLAGS="$xorg_testset_save_CFLAGS"
6688 fi
6689
6690 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6691 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6692 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6693 fi
6694 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6695 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6696 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6697 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6698 then :
6699 printfscip-shell system . . printf. %s "(cached) " >&6
6700 else $as_nop
6701 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6703 int i;
6704 _ACEOF
6705 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6706 then :
6707 xorg_cv_cc_flag_unused_command_line_argument=yes
6708 else $as_nop
6709 xorg_cv_cc_flag_unused_command_line_argument=no
6710 fi
6711 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6712 fi
6713 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6714 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6715 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6716 CFLAGS="$xorg_testset_save_CFLAGS"
6717 fi
6718
6719 found="no"
6720
6721 if testscip-shell system . . test. $found = "no" ; then
6722 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6723 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6724 fi
6725
6726 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6727 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6728 fi
6729
6730 CFLAGS="$CFLAGS -Wmissing-noreturn"
6731
6732 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6733 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
6734 cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6735 if eval test \${$cacheid+y}
6736 then :
6737 printfscip-shell system . . printf. %s "(cached) " >&6
6738 else $as_nop
6739 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 int i;
6742 int
6743 main (void)
6744 {
6745
6746 ;
6747 return 0;
6748 }
6749 _ACEOF
6750 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6751 then :
6752 eval $cacheid=yes
6753 else $as_nop
6754 eval $cacheid=no
6755 fi
6756 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6757 conftest$ac_exeext conftest.$ac_ext
6758 fi
6759
6760
6761 CFLAGS="$xorg_testset_save_CFLAGS"
6762
6763 eval supported=\$$cacheid
6764 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6765 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6766 if testscip-shell system . . test. "$supported" = "yes" ; then
6767 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
6768 found="yes"
6769 fi
6770 fi
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786 xorg_testset_save_CFLAGS="$CFLAGS"
6787
6788 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6789 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6791 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6792 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6793 then :
6794 printfscip-shell system . . printf. %s "(cached) " >&6
6795 else $as_nop
6796 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6798 int i;
6799 _ACEOF
6800 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6801 then :
6802 xorg_cv_cc_flag_unknown_warning_option=yes
6803 else $as_nop
6804 xorg_cv_cc_flag_unknown_warning_option=no
6805 fi
6806 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6807 fi
6808 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6809 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6810 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6811 CFLAGS="$xorg_testset_save_CFLAGS"
6812 fi
6813
6814 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6815 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6816 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6817 fi
6818 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6819 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6820 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6821 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6822 then :
6823 printfscip-shell system . . printf. %s "(cached) " >&6
6824 else $as_nop
6825 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 int i;
6828 _ACEOF
6829 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6830 then :
6831 xorg_cv_cc_flag_unused_command_line_argument=yes
6832 else $as_nop
6833 xorg_cv_cc_flag_unused_command_line_argument=no
6834 fi
6835 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6836 fi
6837 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6838 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6839 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6840 CFLAGS="$xorg_testset_save_CFLAGS"
6841 fi
6842
6843 found="no"
6844
6845 if testscip-shell system . . test. $found = "no" ; then
6846 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6847 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6848 fi
6849
6850 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6851 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6852 fi
6853
6854 CFLAGS="$CFLAGS -Wmissing-format-attribute"
6855
6856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6857 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6858 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6859 if eval test \${$cacheid+y}
6860 then :
6861 printfscip-shell system . . printf. %s "(cached) " >&6
6862 else $as_nop
6863 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 int i;
6866 int
6867 main (void)
6868 {
6869
6870 ;
6871 return 0;
6872 }
6873 _ACEOF
6874 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6875 then :
6876 eval $cacheid=yes
6877 else $as_nop
6878 eval $cacheid=no
6879 fi
6880 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6881 conftest$ac_exeext conftest.$ac_ext
6882 fi
6883
6884
6885 CFLAGS="$xorg_testset_save_CFLAGS"
6886
6887 eval supported=\$$cacheid
6888 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6889 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6890 if testscip-shell system . . test. "$supported" = "yes" ; then
6891 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
6892 found="yes"
6893 fi
6894 fi
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910 xorg_testset_save_CFLAGS="$CFLAGS"
6911
6912 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6913 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6914 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6915 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6916 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6917 then :
6918 printfscip-shell system . . printf. %s "(cached) " >&6
6919 else $as_nop
6920 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 int i;
6923 _ACEOF
6924 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6925 then :
6926 xorg_cv_cc_flag_unknown_warning_option=yes
6927 else $as_nop
6928 xorg_cv_cc_flag_unknown_warning_option=no
6929 fi
6930 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6931 fi
6932 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6933 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6934 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6935 CFLAGS="$xorg_testset_save_CFLAGS"
6936 fi
6937
6938 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6939 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6940 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6941 fi
6942 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6944 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6945 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6946 then :
6947 printfscip-shell system . . printf. %s "(cached) " >&6
6948 else $as_nop
6949 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h. */
6951 int i;
6952 _ACEOF
6953 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
6954 then :
6955 xorg_cv_cc_flag_unused_command_line_argument=yes
6956 else $as_nop
6957 xorg_cv_cc_flag_unused_command_line_argument=no
6958 fi
6959 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6960 fi
6961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6962 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6963 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6964 CFLAGS="$xorg_testset_save_CFLAGS"
6965 fi
6966
6967 found="no"
6968
6969 if testscip-shell system . . test. $found = "no" ; then
6970 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6971 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6972 fi
6973
6974 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6975 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6976 fi
6977
6978 CFLAGS="$CFLAGS -Wredundant-decls"
6979
6980 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6981 printfscip-shell system . . printf. %s "checking if $CC supports -Wredundant-decls... " >&6; }
6982 cacheid=xorg_cv_cc_flag__Wredundant_decls
6983 if eval test \${$cacheid+y}
6984 then :
6985 printfscip-shell system . . printf. %s "(cached) " >&6
6986 else $as_nop
6987 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 int i;
6990 int
6991 main (void)
6992 {
6993
6994 ;
6995 return 0;
6996 }
6997 _ACEOF
6998 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
6999 then :
7000 eval $cacheid=yes
7001 else $as_nop
7002 eval $cacheid=no
7003 fi
7004 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7005 conftest$ac_exeext conftest.$ac_ext
7006 fi
7007
7008
7009 CFLAGS="$xorg_testset_save_CFLAGS"
7010
7011 eval supported=\$$cacheid
7012 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7013 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7014 if testscip-shell system . . test. "$supported" = "yes" ; then
7015 BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
7016 found="yes"
7017 fi
7018 fi
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034 xorg_testset_save_CFLAGS="$CFLAGS"
7035
7036 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7037 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7038 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7039 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7040 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7041 then :
7042 printfscip-shell system . . printf. %s "(cached) " >&6
7043 else $as_nop
7044 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 int i;
7047 _ACEOF
7048 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7049 then :
7050 xorg_cv_cc_flag_unknown_warning_option=yes
7051 else $as_nop
7052 xorg_cv_cc_flag_unknown_warning_option=no
7053 fi
7054 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7055 fi
7056 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7057 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7058 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7059 CFLAGS="$xorg_testset_save_CFLAGS"
7060 fi
7061
7062 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7063 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7064 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7065 fi
7066 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7067 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7068 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7069 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7070 then :
7071 printfscip-shell system . . printf. %s "(cached) " >&6
7072 else $as_nop
7073 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7075 int i;
7076 _ACEOF
7077 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7078 then :
7079 xorg_cv_cc_flag_unused_command_line_argument=yes
7080 else $as_nop
7081 xorg_cv_cc_flag_unused_command_line_argument=no
7082 fi
7083 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7084 fi
7085 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7086 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7087 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7088 CFLAGS="$xorg_testset_save_CFLAGS"
7089 fi
7090
7091 found="no"
7092
7093 if testscip-shell system . . test. $found = "no" ; then
7094 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7095 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7096 fi
7097
7098 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7099 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7100 fi
7101
7102 CFLAGS="$CFLAGS -Wlogical-op"
7103
7104 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
7105 printfscip-shell system . . printf. %s "checking if $CC supports -Wlogical-op... " >&6; }
7106 cacheid=xorg_cv_cc_flag__Wlogical_op
7107 if eval test \${$cacheid+y}
7108 then :
7109 printfscip-shell system . . printf. %s "(cached) " >&6
7110 else $as_nop
7111 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 int i;
7114 int
7115 main (void)
7116 {
7117
7118 ;
7119 return 0;
7120 }
7121 _ACEOF
7122 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7123 then :
7124 eval $cacheid=yes
7125 else $as_nop
7126 eval $cacheid=no
7127 fi
7128 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7129 conftest$ac_exeext conftest.$ac_ext
7130 fi
7131
7132
7133 CFLAGS="$xorg_testset_save_CFLAGS"
7134
7135 eval supported=\$$cacheid
7136 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7137 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7138 if testscip-shell system . . test. "$supported" = "yes" ; then
7139 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
7140 found="yes"
7141 fi
7142 fi
7143
7144
7145
7146 # These are currently disabled because they are noisy. They will be enabled
7147 # in the future once the codebase is sufficiently modernized to silence
7148 # them. For now, I don't want them to drown out the other warnings.
7149 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
7150 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
7151 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
7152
7153 # Turn some warnings into errors, so we don't accidentally get successful builds
7154 # when there are problems that should be fixed.
7155
7156 if testscip-shell system . . test. "x$SELECTIVE_WERROR" = "xyes" ; then
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170 xorg_testset_save_CFLAGS="$CFLAGS"
7171
7172 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7173 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7174 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7175 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7176 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7177 then :
7178 printfscip-shell system . . printf. %s "(cached) " >&6
7179 else $as_nop
7180 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 int i;
7183 _ACEOF
7184 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7185 then :
7186 xorg_cv_cc_flag_unknown_warning_option=yes
7187 else $as_nop
7188 xorg_cv_cc_flag_unknown_warning_option=no
7189 fi
7190 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7191 fi
7192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7193 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7194 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7195 CFLAGS="$xorg_testset_save_CFLAGS"
7196 fi
7197
7198 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7199 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7200 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7201 fi
7202 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7204 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7205 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7206 then :
7207 printfscip-shell system . . printf. %s "(cached) " >&6
7208 else $as_nop
7209 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 int i;
7212 _ACEOF
7213 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7214 then :
7215 xorg_cv_cc_flag_unused_command_line_argument=yes
7216 else $as_nop
7217 xorg_cv_cc_flag_unused_command_line_argument=no
7218 fi
7219 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7220 fi
7221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7222 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7223 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7224 CFLAGS="$xorg_testset_save_CFLAGS"
7225 fi
7226
7227 found="no"
7228
7229 if testscip-shell system . . test. $found = "no" ; then
7230 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7231 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7232 fi
7233
7234 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7235 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7236 fi
7237
7238 CFLAGS="$CFLAGS -Werror=implicit"
7239
7240 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
7241 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=implicit... " >&6; }
7242 cacheid=xorg_cv_cc_flag__Werror_implicit
7243 if eval test \${$cacheid+y}
7244 then :
7245 printfscip-shell system . . printf. %s "(cached) " >&6
7246 else $as_nop
7247 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 int i;
7250 int
7251 main (void)
7252 {
7253
7254 ;
7255 return 0;
7256 }
7257 _ACEOF
7258 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7259 then :
7260 eval $cacheid=yes
7261 else $as_nop
7262 eval $cacheid=no
7263 fi
7264 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7265 conftest$ac_exeext conftest.$ac_ext
7266 fi
7267
7268
7269 CFLAGS="$xorg_testset_save_CFLAGS"
7270
7271 eval supported=\$$cacheid
7272 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7273 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7274 if testscip-shell system . . test. "$supported" = "yes" ; then
7275 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
7276 found="yes"
7277 fi
7278 fi
7279
7280 if testscip-shell system . . test. $found = "no" ; then
7281 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7282 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7283 fi
7284
7285 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7286 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7287 fi
7288
7289 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
7290
7291 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
7292 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
7293 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
7294 if eval test \${$cacheid+y}
7295 then :
7296 printfscip-shell system . . printf. %s "(cached) " >&6
7297 else $as_nop
7298 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 int i;
7301 int
7302 main (void)
7303 {
7304
7305 ;
7306 return 0;
7307 }
7308 _ACEOF
7309 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7310 then :
7311 eval $cacheid=yes
7312 else $as_nop
7313 eval $cacheid=no
7314 fi
7315 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7316 conftest$ac_exeext conftest.$ac_ext
7317 fi
7318
7319
7320 CFLAGS="$xorg_testset_save_CFLAGS"
7321
7322 eval supported=\$$cacheid
7323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7324 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7325 if testscip-shell system . . test. "$supported" = "yes" ; then
7326 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
7327 found="yes"
7328 fi
7329 fi
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345 xorg_testset_save_CFLAGS="$CFLAGS"
7346
7347 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7348 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7349 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7350 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7351 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7352 then :
7353 printfscip-shell system . . printf. %s "(cached) " >&6
7354 else $as_nop
7355 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357 int i;
7358 _ACEOF
7359 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7360 then :
7361 xorg_cv_cc_flag_unknown_warning_option=yes
7362 else $as_nop
7363 xorg_cv_cc_flag_unknown_warning_option=no
7364 fi
7365 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7366 fi
7367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7368 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7369 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7370 CFLAGS="$xorg_testset_save_CFLAGS"
7371 fi
7372
7373 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7374 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7375 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7376 fi
7377 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7378 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7379 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7380 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7381 then :
7382 printfscip-shell system . . printf. %s "(cached) " >&6
7383 else $as_nop
7384 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7386 int i;
7387 _ACEOF
7388 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7389 then :
7390 xorg_cv_cc_flag_unused_command_line_argument=yes
7391 else $as_nop
7392 xorg_cv_cc_flag_unused_command_line_argument=no
7393 fi
7394 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7395 fi
7396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7397 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7398 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7399 CFLAGS="$xorg_testset_save_CFLAGS"
7400 fi
7401
7402 found="no"
7403
7404 if testscip-shell system . . test. $found = "no" ; then
7405 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7406 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7407 fi
7408
7409 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7410 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7411 fi
7412
7413 CFLAGS="$CFLAGS -Werror=nonnull"
7414
7415 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
7416 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=nonnull... " >&6; }
7417 cacheid=xorg_cv_cc_flag__Werror_nonnull
7418 if eval test \${$cacheid+y}
7419 then :
7420 printfscip-shell system . . printf. %s "(cached) " >&6
7421 else $as_nop
7422 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7424 int i;
7425 int
7426 main (void)
7427 {
7428
7429 ;
7430 return 0;
7431 }
7432 _ACEOF
7433 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7434 then :
7435 eval $cacheid=yes
7436 else $as_nop
7437 eval $cacheid=no
7438 fi
7439 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7440 conftest$ac_exeext conftest.$ac_ext
7441 fi
7442
7443
7444 CFLAGS="$xorg_testset_save_CFLAGS"
7445
7446 eval supported=\$$cacheid
7447 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7448 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7449 if testscip-shell system . . test. "$supported" = "yes" ; then
7450 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
7451 found="yes"
7452 fi
7453 fi
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469 xorg_testset_save_CFLAGS="$CFLAGS"
7470
7471 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7472 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7473 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7474 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7475 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7476 then :
7477 printfscip-shell system . . printf. %s "(cached) " >&6
7478 else $as_nop
7479 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7480 /* end confdefs.h. */
7481 int i;
7482 _ACEOF
7483 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7484 then :
7485 xorg_cv_cc_flag_unknown_warning_option=yes
7486 else $as_nop
7487 xorg_cv_cc_flag_unknown_warning_option=no
7488 fi
7489 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7490 fi
7491 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7492 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7493 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7494 CFLAGS="$xorg_testset_save_CFLAGS"
7495 fi
7496
7497 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7498 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7499 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7500 fi
7501 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7502 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7503 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7504 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7505 then :
7506 printfscip-shell system . . printf. %s "(cached) " >&6
7507 else $as_nop
7508 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 int i;
7511 _ACEOF
7512 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7513 then :
7514 xorg_cv_cc_flag_unused_command_line_argument=yes
7515 else $as_nop
7516 xorg_cv_cc_flag_unused_command_line_argument=no
7517 fi
7518 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7519 fi
7520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7521 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7522 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7523 CFLAGS="$xorg_testset_save_CFLAGS"
7524 fi
7525
7526 found="no"
7527
7528 if testscip-shell system . . test. $found = "no" ; then
7529 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7530 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7531 fi
7532
7533 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7534 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7535 fi
7536
7537 CFLAGS="$CFLAGS -Werror=init-self"
7538
7539 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7540 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=init-self... " >&6; }
7541 cacheid=xorg_cv_cc_flag__Werror_init_self
7542 if eval test \${$cacheid+y}
7543 then :
7544 printfscip-shell system . . printf. %s "(cached) " >&6
7545 else $as_nop
7546 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7548 int i;
7549 int
7550 main (void)
7551 {
7552
7553 ;
7554 return 0;
7555 }
7556 _ACEOF
7557 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7558 then :
7559 eval $cacheid=yes
7560 else $as_nop
7561 eval $cacheid=no
7562 fi
7563 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7564 conftest$ac_exeext conftest.$ac_ext
7565 fi
7566
7567
7568 CFLAGS="$xorg_testset_save_CFLAGS"
7569
7570 eval supported=\$$cacheid
7571 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7572 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7573 if testscip-shell system . . test. "$supported" = "yes" ; then
7574 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
7575 found="yes"
7576 fi
7577 fi
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593 xorg_testset_save_CFLAGS="$CFLAGS"
7594
7595 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7596 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7597 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7598 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7599 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7600 then :
7601 printfscip-shell system . . printf. %s "(cached) " >&6
7602 else $as_nop
7603 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7605 int i;
7606 _ACEOF
7607 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7608 then :
7609 xorg_cv_cc_flag_unknown_warning_option=yes
7610 else $as_nop
7611 xorg_cv_cc_flag_unknown_warning_option=no
7612 fi
7613 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7614 fi
7615 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7616 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7617 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7618 CFLAGS="$xorg_testset_save_CFLAGS"
7619 fi
7620
7621 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7622 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7623 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7624 fi
7625 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7627 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7628 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7629 then :
7630 printfscip-shell system . . printf. %s "(cached) " >&6
7631 else $as_nop
7632 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7633 /* end confdefs.h. */
7634 int i;
7635 _ACEOF
7636 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7637 then :
7638 xorg_cv_cc_flag_unused_command_line_argument=yes
7639 else $as_nop
7640 xorg_cv_cc_flag_unused_command_line_argument=no
7641 fi
7642 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7643 fi
7644 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7645 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7646 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7647 CFLAGS="$xorg_testset_save_CFLAGS"
7648 fi
7649
7650 found="no"
7651
7652 if testscip-shell system . . test. $found = "no" ; then
7653 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7654 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7655 fi
7656
7657 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7658 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7659 fi
7660
7661 CFLAGS="$CFLAGS -Werror=main"
7662
7663 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7664 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=main... " >&6; }
7665 cacheid=xorg_cv_cc_flag__Werror_main
7666 if eval test \${$cacheid+y}
7667 then :
7668 printfscip-shell system . . printf. %s "(cached) " >&6
7669 else $as_nop
7670 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 int i;
7673 int
7674 main (void)
7675 {
7676
7677 ;
7678 return 0;
7679 }
7680 _ACEOF
7681 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7682 then :
7683 eval $cacheid=yes
7684 else $as_nop
7685 eval $cacheid=no
7686 fi
7687 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7688 conftest$ac_exeext conftest.$ac_ext
7689 fi
7690
7691
7692 CFLAGS="$xorg_testset_save_CFLAGS"
7693
7694 eval supported=\$$cacheid
7695 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7696 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7697 if testscip-shell system . . test. "$supported" = "yes" ; then
7698 BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
7699 found="yes"
7700 fi
7701 fi
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717 xorg_testset_save_CFLAGS="$CFLAGS"
7718
7719 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7720 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7721 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7722 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7723 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7724 then :
7725 printfscip-shell system . . printf. %s "(cached) " >&6
7726 else $as_nop
7727 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7729 int i;
7730 _ACEOF
7731 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7732 then :
7733 xorg_cv_cc_flag_unknown_warning_option=yes
7734 else $as_nop
7735 xorg_cv_cc_flag_unknown_warning_option=no
7736 fi
7737 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7738 fi
7739 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7740 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7741 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7742 CFLAGS="$xorg_testset_save_CFLAGS"
7743 fi
7744
7745 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7746 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7747 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7748 fi
7749 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7750 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7751 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7752 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7753 then :
7754 printfscip-shell system . . printf. %s "(cached) " >&6
7755 else $as_nop
7756 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7758 int i;
7759 _ACEOF
7760 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7761 then :
7762 xorg_cv_cc_flag_unused_command_line_argument=yes
7763 else $as_nop
7764 xorg_cv_cc_flag_unused_command_line_argument=no
7765 fi
7766 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 fi
7768 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7769 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7770 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7771 CFLAGS="$xorg_testset_save_CFLAGS"
7772 fi
7773
7774 found="no"
7775
7776 if testscip-shell system . . test. $found = "no" ; then
7777 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7778 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7779 fi
7780
7781 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7782 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7783 fi
7784
7785 CFLAGS="$CFLAGS -Werror=missing-braces"
7786
7787 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7788 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=missing-braces... " >&6; }
7789 cacheid=xorg_cv_cc_flag__Werror_missing_braces
7790 if eval test \${$cacheid+y}
7791 then :
7792 printfscip-shell system . . printf. %s "(cached) " >&6
7793 else $as_nop
7794 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796 int i;
7797 int
7798 main (void)
7799 {
7800
7801 ;
7802 return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7806 then :
7807 eval $cacheid=yes
7808 else $as_nop
7809 eval $cacheid=no
7810 fi
7811 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7812 conftest$ac_exeext conftest.$ac_ext
7813 fi
7814
7815
7816 CFLAGS="$xorg_testset_save_CFLAGS"
7817
7818 eval supported=\$$cacheid
7819 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7820 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7821 if testscip-shell system . . test. "$supported" = "yes" ; then
7822 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
7823 found="yes"
7824 fi
7825 fi
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841 xorg_testset_save_CFLAGS="$CFLAGS"
7842
7843 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7844 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7845 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7846 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7847 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7848 then :
7849 printfscip-shell system . . printf. %s "(cached) " >&6
7850 else $as_nop
7851 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 int i;
7854 _ACEOF
7855 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7856 then :
7857 xorg_cv_cc_flag_unknown_warning_option=yes
7858 else $as_nop
7859 xorg_cv_cc_flag_unknown_warning_option=no
7860 fi
7861 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7862 fi
7863 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7864 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7865 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7866 CFLAGS="$xorg_testset_save_CFLAGS"
7867 fi
7868
7869 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7870 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7872 fi
7873 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7874 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7875 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7876 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7877 then :
7878 printfscip-shell system . . printf. %s "(cached) " >&6
7879 else $as_nop
7880 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7882 int i;
7883 _ACEOF
7884 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7885 then :
7886 xorg_cv_cc_flag_unused_command_line_argument=yes
7887 else $as_nop
7888 xorg_cv_cc_flag_unused_command_line_argument=no
7889 fi
7890 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7891 fi
7892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7893 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7894 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7895 CFLAGS="$xorg_testset_save_CFLAGS"
7896 fi
7897
7898 found="no"
7899
7900 if testscip-shell system . . test. $found = "no" ; then
7901 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7902 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7903 fi
7904
7905 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7906 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7907 fi
7908
7909 CFLAGS="$CFLAGS -Werror=sequence-point"
7910
7911 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7912 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=sequence-point... " >&6; }
7913 cacheid=xorg_cv_cc_flag__Werror_sequence_point
7914 if eval test \${$cacheid+y}
7915 then :
7916 printfscip-shell system . . printf. %s "(cached) " >&6
7917 else $as_nop
7918 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int i;
7921 int
7922 main (void)
7923 {
7924
7925 ;
7926 return 0;
7927 }
7928 _ACEOF
7929 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
7930 then :
7931 eval $cacheid=yes
7932 else $as_nop
7933 eval $cacheid=no
7934 fi
7935 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7936 conftest$ac_exeext conftest.$ac_ext
7937 fi
7938
7939
7940 CFLAGS="$xorg_testset_save_CFLAGS"
7941
7942 eval supported=\$$cacheid
7943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7944 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7945 if testscip-shell system . . test. "$supported" = "yes" ; then
7946 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
7947 found="yes"
7948 fi
7949 fi
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965 xorg_testset_save_CFLAGS="$CFLAGS"
7966
7967 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7968 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7970 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7971 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7972 then :
7973 printfscip-shell system . . printf. %s "(cached) " >&6
7974 else $as_nop
7975 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 int i;
7978 _ACEOF
7979 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
7980 then :
7981 xorg_cv_cc_flag_unknown_warning_option=yes
7982 else $as_nop
7983 xorg_cv_cc_flag_unknown_warning_option=no
7984 fi
7985 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 fi
7987 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7988 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7989 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7990 CFLAGS="$xorg_testset_save_CFLAGS"
7991 fi
7992
7993 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7994 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7996 fi
7997 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7998 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7999 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8000 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8001 then :
8002 printfscip-shell system . . printf. %s "(cached) " >&6
8003 else $as_nop
8004 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int i;
8007 _ACEOF
8008 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8009 then :
8010 xorg_cv_cc_flag_unused_command_line_argument=yes
8011 else $as_nop
8012 xorg_cv_cc_flag_unused_command_line_argument=no
8013 fi
8014 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8015 fi
8016 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8017 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8018 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8019 CFLAGS="$xorg_testset_save_CFLAGS"
8020 fi
8021
8022 found="no"
8023
8024 if testscip-shell system . . test. $found = "no" ; then
8025 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8027 fi
8028
8029 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8030 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8031 fi
8032
8033 CFLAGS="$CFLAGS -Werror=return-type"
8034
8035 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
8036 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=return-type... " >&6; }
8037 cacheid=xorg_cv_cc_flag__Werror_return_type
8038 if eval test \${$cacheid+y}
8039 then :
8040 printfscip-shell system . . printf. %s "(cached) " >&6
8041 else $as_nop
8042 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8044 int i;
8045 int
8046 main (void)
8047 {
8048
8049 ;
8050 return 0;
8051 }
8052 _ACEOF
8053 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8054 then :
8055 eval $cacheid=yes
8056 else $as_nop
8057 eval $cacheid=no
8058 fi
8059 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8060 conftest$ac_exeext conftest.$ac_ext
8061 fi
8062
8063
8064 CFLAGS="$xorg_testset_save_CFLAGS"
8065
8066 eval supported=\$$cacheid
8067 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8068 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8069 if testscip-shell system . . test. "$supported" = "yes" ; then
8070 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
8071 found="yes"
8072 fi
8073 fi
8074
8075 if testscip-shell system . . test. $found = "no" ; then
8076 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8077 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8078 fi
8079
8080 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8081 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8082 fi
8083
8084 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
8085
8086 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
8087 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
8088 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
8089 if eval test \${$cacheid+y}
8090 then :
8091 printfscip-shell system . . printf. %s "(cached) " >&6
8092 else $as_nop
8093 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8095 int i;
8096 int
8097 main (void)
8098 {
8099
8100 ;
8101 return 0;
8102 }
8103 _ACEOF
8104 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8105 then :
8106 eval $cacheid=yes
8107 else $as_nop
8108 eval $cacheid=no
8109 fi
8110 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8111 conftest$ac_exeext conftest.$ac_ext
8112 fi
8113
8114
8115 CFLAGS="$xorg_testset_save_CFLAGS"
8116
8117 eval supported=\$$cacheid
8118 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8119 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8120 if testscip-shell system . . test. "$supported" = "yes" ; then
8121 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
8122 found="yes"
8123 fi
8124 fi
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140 xorg_testset_save_CFLAGS="$CFLAGS"
8141
8142 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8143 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8144 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8145 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8146 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8147 then :
8148 printfscip-shell system . . printf. %s "(cached) " >&6
8149 else $as_nop
8150 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int i;
8153 _ACEOF
8154 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8155 then :
8156 xorg_cv_cc_flag_unknown_warning_option=yes
8157 else $as_nop
8158 xorg_cv_cc_flag_unknown_warning_option=no
8159 fi
8160 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8161 fi
8162 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8163 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8164 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8165 CFLAGS="$xorg_testset_save_CFLAGS"
8166 fi
8167
8168 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8169 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8170 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8171 fi
8172 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8173 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8174 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8175 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8176 then :
8177 printfscip-shell system . . printf. %s "(cached) " >&6
8178 else $as_nop
8179 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 int i;
8182 _ACEOF
8183 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8184 then :
8185 xorg_cv_cc_flag_unused_command_line_argument=yes
8186 else $as_nop
8187 xorg_cv_cc_flag_unused_command_line_argument=no
8188 fi
8189 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8190 fi
8191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8192 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8193 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8194 CFLAGS="$xorg_testset_save_CFLAGS"
8195 fi
8196
8197 found="no"
8198
8199 if testscip-shell system . . test. $found = "no" ; then
8200 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8201 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8202 fi
8203
8204 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8205 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8206 fi
8207
8208 CFLAGS="$CFLAGS -Werror=trigraphs"
8209
8210 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
8211 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=trigraphs... " >&6; }
8212 cacheid=xorg_cv_cc_flag__Werror_trigraphs
8213 if eval test \${$cacheid+y}
8214 then :
8215 printfscip-shell system . . printf. %s "(cached) " >&6
8216 else $as_nop
8217 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int i;
8220 int
8221 main (void)
8222 {
8223
8224 ;
8225 return 0;
8226 }
8227 _ACEOF
8228 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8229 then :
8230 eval $cacheid=yes
8231 else $as_nop
8232 eval $cacheid=no
8233 fi
8234 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8235 conftest$ac_exeext conftest.$ac_ext
8236 fi
8237
8238
8239 CFLAGS="$xorg_testset_save_CFLAGS"
8240
8241 eval supported=\$$cacheid
8242 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8243 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8244 if testscip-shell system . . test. "$supported" = "yes" ; then
8245 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
8246 found="yes"
8247 fi
8248 fi
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264 xorg_testset_save_CFLAGS="$CFLAGS"
8265
8266 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8267 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8268 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8269 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8270 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8271 then :
8272 printfscip-shell system . . printf. %s "(cached) " >&6
8273 else $as_nop
8274 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int i;
8277 _ACEOF
8278 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8279 then :
8280 xorg_cv_cc_flag_unknown_warning_option=yes
8281 else $as_nop
8282 xorg_cv_cc_flag_unknown_warning_option=no
8283 fi
8284 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8285 fi
8286 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8287 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8288 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8289 CFLAGS="$xorg_testset_save_CFLAGS"
8290 fi
8291
8292 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8293 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8294 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8295 fi
8296 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8297 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8298 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8299 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8300 then :
8301 printfscip-shell system . . printf. %s "(cached) " >&6
8302 else $as_nop
8303 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int i;
8306 _ACEOF
8307 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8308 then :
8309 xorg_cv_cc_flag_unused_command_line_argument=yes
8310 else $as_nop
8311 xorg_cv_cc_flag_unused_command_line_argument=no
8312 fi
8313 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8314 fi
8315 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8316 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8317 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8318 CFLAGS="$xorg_testset_save_CFLAGS"
8319 fi
8320
8321 found="no"
8322
8323 if testscip-shell system . . test. $found = "no" ; then
8324 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8325 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8326 fi
8327
8328 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8329 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8330 fi
8331
8332 CFLAGS="$CFLAGS -Werror=array-bounds"
8333
8334 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
8335 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=array-bounds... " >&6; }
8336 cacheid=xorg_cv_cc_flag__Werror_array_bounds
8337 if eval test \${$cacheid+y}
8338 then :
8339 printfscip-shell system . . printf. %s "(cached) " >&6
8340 else $as_nop
8341 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int i;
8344 int
8345 main (void)
8346 {
8347
8348 ;
8349 return 0;
8350 }
8351 _ACEOF
8352 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8353 then :
8354 eval $cacheid=yes
8355 else $as_nop
8356 eval $cacheid=no
8357 fi
8358 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8359 conftest$ac_exeext conftest.$ac_ext
8360 fi
8361
8362
8363 CFLAGS="$xorg_testset_save_CFLAGS"
8364
8365 eval supported=\$$cacheid
8366 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8367 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8368 if testscip-shell system . . test. "$supported" = "yes" ; then
8369 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
8370 found="yes"
8371 fi
8372 fi
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388 xorg_testset_save_CFLAGS="$CFLAGS"
8389
8390 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8391 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8392 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8393 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8394 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8395 then :
8396 printfscip-shell system . . printf. %s "(cached) " >&6
8397 else $as_nop
8398 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int i;
8401 _ACEOF
8402 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8403 then :
8404 xorg_cv_cc_flag_unknown_warning_option=yes
8405 else $as_nop
8406 xorg_cv_cc_flag_unknown_warning_option=no
8407 fi
8408 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8409 fi
8410 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8411 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8412 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8413 CFLAGS="$xorg_testset_save_CFLAGS"
8414 fi
8415
8416 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8417 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8418 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8419 fi
8420 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8422 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8423 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8424 then :
8425 printfscip-shell system . . printf. %s "(cached) " >&6
8426 else $as_nop
8427 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int i;
8430 _ACEOF
8431 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8432 then :
8433 xorg_cv_cc_flag_unused_command_line_argument=yes
8434 else $as_nop
8435 xorg_cv_cc_flag_unused_command_line_argument=no
8436 fi
8437 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8438 fi
8439 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8440 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8441 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8442 CFLAGS="$xorg_testset_save_CFLAGS"
8443 fi
8444
8445 found="no"
8446
8447 if testscip-shell system . . test. $found = "no" ; then
8448 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8449 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8450 fi
8451
8452 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8453 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8454 fi
8455
8456 CFLAGS="$CFLAGS -Werror=write-strings"
8457
8458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
8459 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=write-strings... " >&6; }
8460 cacheid=xorg_cv_cc_flag__Werror_write_strings
8461 if eval test \${$cacheid+y}
8462 then :
8463 printfscip-shell system . . printf. %s "(cached) " >&6
8464 else $as_nop
8465 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int i;
8468 int
8469 main (void)
8470 {
8471
8472 ;
8473 return 0;
8474 }
8475 _ACEOF
8476 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8477 then :
8478 eval $cacheid=yes
8479 else $as_nop
8480 eval $cacheid=no
8481 fi
8482 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8483 conftest$ac_exeext conftest.$ac_ext
8484 fi
8485
8486
8487 CFLAGS="$xorg_testset_save_CFLAGS"
8488
8489 eval supported=\$$cacheid
8490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8491 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8492 if testscip-shell system . . test. "$supported" = "yes" ; then
8493 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
8494 found="yes"
8495 fi
8496 fi
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512 xorg_testset_save_CFLAGS="$CFLAGS"
8513
8514 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8515 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8517 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8518 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8519 then :
8520 printfscip-shell system . . printf. %s "(cached) " >&6
8521 else $as_nop
8522 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8524 int i;
8525 _ACEOF
8526 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8527 then :
8528 xorg_cv_cc_flag_unknown_warning_option=yes
8529 else $as_nop
8530 xorg_cv_cc_flag_unknown_warning_option=no
8531 fi
8532 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8533 fi
8534 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8535 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8536 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8537 CFLAGS="$xorg_testset_save_CFLAGS"
8538 fi
8539
8540 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8541 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8542 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8543 fi
8544 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8545 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8546 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8547 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8548 then :
8549 printfscip-shell system . . printf. %s "(cached) " >&6
8550 else $as_nop
8551 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 int i;
8554 _ACEOF
8555 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8556 then :
8557 xorg_cv_cc_flag_unused_command_line_argument=yes
8558 else $as_nop
8559 xorg_cv_cc_flag_unused_command_line_argument=no
8560 fi
8561 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8562 fi
8563 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8564 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8565 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8566 CFLAGS="$xorg_testset_save_CFLAGS"
8567 fi
8568
8569 found="no"
8570
8571 if testscip-shell system . . test. $found = "no" ; then
8572 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8573 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8574 fi
8575
8576 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8577 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8578 fi
8579
8580 CFLAGS="$CFLAGS -Werror=address"
8581
8582 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8583 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=address... " >&6; }
8584 cacheid=xorg_cv_cc_flag__Werror_address
8585 if eval test \${$cacheid+y}
8586 then :
8587 printfscip-shell system . . printf. %s "(cached) " >&6
8588 else $as_nop
8589 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int i;
8592 int
8593 main (void)
8594 {
8595
8596 ;
8597 return 0;
8598 }
8599 _ACEOF
8600 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8601 then :
8602 eval $cacheid=yes
8603 else $as_nop
8604 eval $cacheid=no
8605 fi
8606 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8607 conftest$ac_exeext conftest.$ac_ext
8608 fi
8609
8610
8611 CFLAGS="$xorg_testset_save_CFLAGS"
8612
8613 eval supported=\$$cacheid
8614 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8615 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8616 if testscip-shell system . . test. "$supported" = "yes" ; then
8617 BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
8618 found="yes"
8619 fi
8620 fi
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636 xorg_testset_save_CFLAGS="$CFLAGS"
8637
8638 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8639 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8641 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8642 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8643 then :
8644 printfscip-shell system . . printf. %s "(cached) " >&6
8645 else $as_nop
8646 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int i;
8649 _ACEOF
8650 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8651 then :
8652 xorg_cv_cc_flag_unknown_warning_option=yes
8653 else $as_nop
8654 xorg_cv_cc_flag_unknown_warning_option=no
8655 fi
8656 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8657 fi
8658 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8659 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8660 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8661 CFLAGS="$xorg_testset_save_CFLAGS"
8662 fi
8663
8664 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8665 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8666 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8667 fi
8668 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8669 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8670 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8671 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8672 then :
8673 printfscip-shell system . . printf. %s "(cached) " >&6
8674 else $as_nop
8675 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int i;
8678 _ACEOF
8679 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8680 then :
8681 xorg_cv_cc_flag_unused_command_line_argument=yes
8682 else $as_nop
8683 xorg_cv_cc_flag_unused_command_line_argument=no
8684 fi
8685 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8686 fi
8687 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8688 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8689 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8690 CFLAGS="$xorg_testset_save_CFLAGS"
8691 fi
8692
8693 found="no"
8694
8695 if testscip-shell system . . test. $found = "no" ; then
8696 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8697 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8698 fi
8699
8700 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8701 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8702 fi
8703
8704 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8705
8706 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8707 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8708 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
8709 if eval test \${$cacheid+y}
8710 then :
8711 printfscip-shell system . . printf. %s "(cached) " >&6
8712 else $as_nop
8713 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int i;
8716 int
8717 main (void)
8718 {
8719
8720 ;
8721 return 0;
8722 }
8723 _ACEOF
8724 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8725 then :
8726 eval $cacheid=yes
8727 else $as_nop
8728 eval $cacheid=no
8729 fi
8730 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8731 conftest$ac_exeext conftest.$ac_ext
8732 fi
8733
8734
8735 CFLAGS="$xorg_testset_save_CFLAGS"
8736
8737 eval supported=\$$cacheid
8738 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8739 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8740 if testscip-shell system . . test. "$supported" = "yes" ; then
8741 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
8742 found="yes"
8743 fi
8744 fi
8745
8746 if testscip-shell system . . test. $found = "no" ; then
8747 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8748 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8749 fi
8750
8751 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8752 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8753 fi
8754
8755 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8756
8757 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8758 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8759 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
8760 if eval test \${$cacheid+y}
8761 then :
8762 printfscip-shell system . . printf. %s "(cached) " >&6
8763 else $as_nop
8764 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int i;
8767 int
8768 main (void)
8769 {
8770
8771 ;
8772 return 0;
8773 }
8774 _ACEOF
8775 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8776 then :
8777 eval $cacheid=yes
8778 else $as_nop
8779 eval $cacheid=no
8780 fi
8781 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8782 conftest$ac_exeext conftest.$ac_ext
8783 fi
8784
8785
8786 CFLAGS="$xorg_testset_save_CFLAGS"
8787
8788 eval supported=\$$cacheid
8789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8790 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8791 if testscip-shell system . . test. "$supported" = "yes" ; then
8792 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8793 found="yes"
8794 fi
8795 fi
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811 xorg_testset_save_CFLAGS="$CFLAGS"
8812
8813 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8814 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8815 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8816 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8817 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8818 then :
8819 printfscip-shell system . . printf. %s "(cached) " >&6
8820 else $as_nop
8821 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int i;
8824 _ACEOF
8825 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8826 then :
8827 xorg_cv_cc_flag_unknown_warning_option=yes
8828 else $as_nop
8829 xorg_cv_cc_flag_unknown_warning_option=no
8830 fi
8831 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8832 fi
8833 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8834 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8835 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8836 CFLAGS="$xorg_testset_save_CFLAGS"
8837 fi
8838
8839 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8840 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8841 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8842 fi
8843 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8844 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8845 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8846 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8847 then :
8848 printfscip-shell system . . printf. %s "(cached) " >&6
8849 else $as_nop
8850 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8852 int i;
8853 _ACEOF
8854 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8855 then :
8856 xorg_cv_cc_flag_unused_command_line_argument=yes
8857 else $as_nop
8858 xorg_cv_cc_flag_unused_command_line_argument=no
8859 fi
8860 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8861 fi
8862 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8863 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8864 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8865 CFLAGS="$xorg_testset_save_CFLAGS"
8866 fi
8867
8868 found="no"
8869
8870 if testscip-shell system . . test. $found = "no" ; then
8871 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8873 fi
8874
8875 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8876 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8877 fi
8878
8879 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8880
8881 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8882 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8883 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
8884 if eval test \${$cacheid+y}
8885 then :
8886 printfscip-shell system . . printf. %s "(cached) " >&6
8887 else $as_nop
8888 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8890 int i;
8891 int
8892 main (void)
8893 {
8894
8895 ;
8896 return 0;
8897 }
8898 _ACEOF
8899 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
8900 then :
8901 eval $cacheid=yes
8902 else $as_nop
8903 eval $cacheid=no
8904 fi
8905 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8906 conftest$ac_exeext conftest.$ac_ext
8907 fi
8908
8909
8910 CFLAGS="$xorg_testset_save_CFLAGS"
8911
8912 eval supported=\$$cacheid
8913 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8914 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8915 if testscip-shell system . . test. "$supported" = "yes" ; then
8916 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
8917 found="yes"
8918 fi
8919 fi
8920
8921 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
8922 else
8923 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
8924 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938 xorg_testset_save_CFLAGS="$CFLAGS"
8939
8940 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8941 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8942 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8943 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8944 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8945 then :
8946 printfscip-shell system . . printf. %s "(cached) " >&6
8947 else $as_nop
8948 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8949 /* end confdefs.h. */
8950 int i;
8951 _ACEOF
8952 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8953 then :
8954 xorg_cv_cc_flag_unknown_warning_option=yes
8955 else $as_nop
8956 xorg_cv_cc_flag_unknown_warning_option=no
8957 fi
8958 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8959 fi
8960 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8961 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8962 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8963 CFLAGS="$xorg_testset_save_CFLAGS"
8964 fi
8965
8966 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8967 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8968 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8969 fi
8970 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8971 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8972 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8973 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8974 then :
8975 printfscip-shell system . . printf. %s "(cached) " >&6
8976 else $as_nop
8977 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8979 int i;
8980 _ACEOF
8981 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
8982 then :
8983 xorg_cv_cc_flag_unused_command_line_argument=yes
8984 else $as_nop
8985 xorg_cv_cc_flag_unused_command_line_argument=no
8986 fi
8987 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8988 fi
8989 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8990 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8991 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8992 CFLAGS="$xorg_testset_save_CFLAGS"
8993 fi
8994
8995 found="no"
8996
8997 if testscip-shell system . . test. $found = "no" ; then
8998 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8999 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9000 fi
9001
9002 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9003 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9004 fi
9005
9006 CFLAGS="$CFLAGS -Wimplicit"
9007
9008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
9009 printfscip-shell system . . printf. %s "checking if $CC supports -Wimplicit... " >&6; }
9010 cacheid=xorg_cv_cc_flag__Wimplicit
9011 if eval test \${$cacheid+y}
9012 then :
9013 printfscip-shell system . . printf. %s "(cached) " >&6
9014 else $as_nop
9015 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 int i;
9018 int
9019 main (void)
9020 {
9021
9022 ;
9023 return 0;
9024 }
9025 _ACEOF
9026 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9027 then :
9028 eval $cacheid=yes
9029 else $as_nop
9030 eval $cacheid=no
9031 fi
9032 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9033 conftest$ac_exeext conftest.$ac_ext
9034 fi
9035
9036
9037 CFLAGS="$xorg_testset_save_CFLAGS"
9038
9039 eval supported=\$$cacheid
9040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9041 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9042 if testscip-shell system . . test. "$supported" = "yes" ; then
9043 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
9044 found="yes"
9045 fi
9046 fi
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062 xorg_testset_save_CFLAGS="$CFLAGS"
9063
9064 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9065 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9066 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9067 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9068 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9069 then :
9070 printfscip-shell system . . printf. %s "(cached) " >&6
9071 else $as_nop
9072 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 int i;
9075 _ACEOF
9076 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9077 then :
9078 xorg_cv_cc_flag_unknown_warning_option=yes
9079 else $as_nop
9080 xorg_cv_cc_flag_unknown_warning_option=no
9081 fi
9082 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9083 fi
9084 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9085 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9086 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9087 CFLAGS="$xorg_testset_save_CFLAGS"
9088 fi
9089
9090 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9091 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9092 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9093 fi
9094 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9095 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9096 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9097 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9098 then :
9099 printfscip-shell system . . printf. %s "(cached) " >&6
9100 else $as_nop
9101 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 int i;
9104 _ACEOF
9105 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9106 then :
9107 xorg_cv_cc_flag_unused_command_line_argument=yes
9108 else $as_nop
9109 xorg_cv_cc_flag_unused_command_line_argument=no
9110 fi
9111 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9112 fi
9113 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9114 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9115 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9116 CFLAGS="$xorg_testset_save_CFLAGS"
9117 fi
9118
9119 found="no"
9120
9121 if testscip-shell system . . test. $found = "no" ; then
9122 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9123 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9124 fi
9125
9126 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9127 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9128 fi
9129
9130 CFLAGS="$CFLAGS -Wnonnull"
9131
9132 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
9133 printfscip-shell system . . printf. %s "checking if $CC supports -Wnonnull... " >&6; }
9134 cacheid=xorg_cv_cc_flag__Wnonnull
9135 if eval test \${$cacheid+y}
9136 then :
9137 printfscip-shell system . . printf. %s "(cached) " >&6
9138 else $as_nop
9139 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141 int i;
9142 int
9143 main (void)
9144 {
9145
9146 ;
9147 return 0;
9148 }
9149 _ACEOF
9150 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9151 then :
9152 eval $cacheid=yes
9153 else $as_nop
9154 eval $cacheid=no
9155 fi
9156 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9157 conftest$ac_exeext conftest.$ac_ext
9158 fi
9159
9160
9161 CFLAGS="$xorg_testset_save_CFLAGS"
9162
9163 eval supported=\$$cacheid
9164 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9165 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9166 if testscip-shell system . . test. "$supported" = "yes" ; then
9167 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
9168 found="yes"
9169 fi
9170 fi
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186 xorg_testset_save_CFLAGS="$CFLAGS"
9187
9188 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9189 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9190 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9191 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9192 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9193 then :
9194 printfscip-shell system . . printf. %s "(cached) " >&6
9195 else $as_nop
9196 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9198 int i;
9199 _ACEOF
9200 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9201 then :
9202 xorg_cv_cc_flag_unknown_warning_option=yes
9203 else $as_nop
9204 xorg_cv_cc_flag_unknown_warning_option=no
9205 fi
9206 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9207 fi
9208 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9209 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9210 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9211 CFLAGS="$xorg_testset_save_CFLAGS"
9212 fi
9213
9214 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9215 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9216 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9217 fi
9218 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9219 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9220 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9221 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9222 then :
9223 printfscip-shell system . . printf. %s "(cached) " >&6
9224 else $as_nop
9225 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9227 int i;
9228 _ACEOF
9229 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9230 then :
9231 xorg_cv_cc_flag_unused_command_line_argument=yes
9232 else $as_nop
9233 xorg_cv_cc_flag_unused_command_line_argument=no
9234 fi
9235 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9236 fi
9237 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9238 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9239 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9240 CFLAGS="$xorg_testset_save_CFLAGS"
9241 fi
9242
9243 found="no"
9244
9245 if testscip-shell system . . test. $found = "no" ; then
9246 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9247 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9248 fi
9249
9250 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9251 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9252 fi
9253
9254 CFLAGS="$CFLAGS -Winit-self"
9255
9256 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
9257 printfscip-shell system . . printf. %s "checking if $CC supports -Winit-self... " >&6; }
9258 cacheid=xorg_cv_cc_flag__Winit_self
9259 if eval test \${$cacheid+y}
9260 then :
9261 printfscip-shell system . . printf. %s "(cached) " >&6
9262 else $as_nop
9263 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9265 int i;
9266 int
9267 main (void)
9268 {
9269
9270 ;
9271 return 0;
9272 }
9273 _ACEOF
9274 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9275 then :
9276 eval $cacheid=yes
9277 else $as_nop
9278 eval $cacheid=no
9279 fi
9280 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9281 conftest$ac_exeext conftest.$ac_ext
9282 fi
9283
9284
9285 CFLAGS="$xorg_testset_save_CFLAGS"
9286
9287 eval supported=\$$cacheid
9288 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9289 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9290 if testscip-shell system . . test. "$supported" = "yes" ; then
9291 BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
9292 found="yes"
9293 fi
9294 fi
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310 xorg_testset_save_CFLAGS="$CFLAGS"
9311
9312 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9313 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9314 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9315 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9316 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9317 then :
9318 printfscip-shell system . . printf. %s "(cached) " >&6
9319 else $as_nop
9320 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9322 int i;
9323 _ACEOF
9324 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9325 then :
9326 xorg_cv_cc_flag_unknown_warning_option=yes
9327 else $as_nop
9328 xorg_cv_cc_flag_unknown_warning_option=no
9329 fi
9330 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9331 fi
9332 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9333 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9334 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9335 CFLAGS="$xorg_testset_save_CFLAGS"
9336 fi
9337
9338 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9339 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9340 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9341 fi
9342 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9343 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9344 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9345 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9346 then :
9347 printfscip-shell system . . printf. %s "(cached) " >&6
9348 else $as_nop
9349 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9351 int i;
9352 _ACEOF
9353 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9354 then :
9355 xorg_cv_cc_flag_unused_command_line_argument=yes
9356 else $as_nop
9357 xorg_cv_cc_flag_unused_command_line_argument=no
9358 fi
9359 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9360 fi
9361 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9362 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9363 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9364 CFLAGS="$xorg_testset_save_CFLAGS"
9365 fi
9366
9367 found="no"
9368
9369 if testscip-shell system . . test. $found = "no" ; then
9370 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9371 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9372 fi
9373
9374 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9375 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9376 fi
9377
9378 CFLAGS="$CFLAGS -Wmain"
9379
9380 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
9381 printfscip-shell system . . printf. %s "checking if $CC supports -Wmain... " >&6; }
9382 cacheid=xorg_cv_cc_flag__Wmain
9383 if eval test \${$cacheid+y}
9384 then :
9385 printfscip-shell system . . printf. %s "(cached) " >&6
9386 else $as_nop
9387 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int i;
9390 int
9391 main (void)
9392 {
9393
9394 ;
9395 return 0;
9396 }
9397 _ACEOF
9398 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9399 then :
9400 eval $cacheid=yes
9401 else $as_nop
9402 eval $cacheid=no
9403 fi
9404 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9405 conftest$ac_exeext conftest.$ac_ext
9406 fi
9407
9408
9409 CFLAGS="$xorg_testset_save_CFLAGS"
9410
9411 eval supported=\$$cacheid
9412 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9413 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9414 if testscip-shell system . . test. "$supported" = "yes" ; then
9415 BASE_CFLAGS="$BASE_CFLAGS -Wmain"
9416 found="yes"
9417 fi
9418 fi
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434 xorg_testset_save_CFLAGS="$CFLAGS"
9435
9436 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9437 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9438 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9439 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9440 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9441 then :
9442 printfscip-shell system . . printf. %s "(cached) " >&6
9443 else $as_nop
9444 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9446 int i;
9447 _ACEOF
9448 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9449 then :
9450 xorg_cv_cc_flag_unknown_warning_option=yes
9451 else $as_nop
9452 xorg_cv_cc_flag_unknown_warning_option=no
9453 fi
9454 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9455 fi
9456 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9457 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9458 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9459 CFLAGS="$xorg_testset_save_CFLAGS"
9460 fi
9461
9462 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9463 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9464 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9465 fi
9466 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9467 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9468 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9469 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9470 then :
9471 printfscip-shell system . . printf. %s "(cached) " >&6
9472 else $as_nop
9473 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int i;
9476 _ACEOF
9477 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9478 then :
9479 xorg_cv_cc_flag_unused_command_line_argument=yes
9480 else $as_nop
9481 xorg_cv_cc_flag_unused_command_line_argument=no
9482 fi
9483 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9484 fi
9485 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9486 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9487 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9488 CFLAGS="$xorg_testset_save_CFLAGS"
9489 fi
9490
9491 found="no"
9492
9493 if testscip-shell system . . test. $found = "no" ; then
9494 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9495 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9496 fi
9497
9498 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9499 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9500 fi
9501
9502 CFLAGS="$CFLAGS -Wmissing-braces"
9503
9504 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
9505 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-braces... " >&6; }
9506 cacheid=xorg_cv_cc_flag__Wmissing_braces
9507 if eval test \${$cacheid+y}
9508 then :
9509 printfscip-shell system . . printf. %s "(cached) " >&6
9510 else $as_nop
9511 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int i;
9514 int
9515 main (void)
9516 {
9517
9518 ;
9519 return 0;
9520 }
9521 _ACEOF
9522 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9523 then :
9524 eval $cacheid=yes
9525 else $as_nop
9526 eval $cacheid=no
9527 fi
9528 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9529 conftest$ac_exeext conftest.$ac_ext
9530 fi
9531
9532
9533 CFLAGS="$xorg_testset_save_CFLAGS"
9534
9535 eval supported=\$$cacheid
9536 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9537 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9538 if testscip-shell system . . test. "$supported" = "yes" ; then
9539 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
9540 found="yes"
9541 fi
9542 fi
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558 xorg_testset_save_CFLAGS="$CFLAGS"
9559
9560 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9561 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9562 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9563 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9564 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9565 then :
9566 printfscip-shell system . . printf. %s "(cached) " >&6
9567 else $as_nop
9568 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 int i;
9571 _ACEOF
9572 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9573 then :
9574 xorg_cv_cc_flag_unknown_warning_option=yes
9575 else $as_nop
9576 xorg_cv_cc_flag_unknown_warning_option=no
9577 fi
9578 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9579 fi
9580 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9581 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9582 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9583 CFLAGS="$xorg_testset_save_CFLAGS"
9584 fi
9585
9586 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9587 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9588 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9589 fi
9590 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9591 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9592 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9593 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9594 then :
9595 printfscip-shell system . . printf. %s "(cached) " >&6
9596 else $as_nop
9597 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9599 int i;
9600 _ACEOF
9601 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9602 then :
9603 xorg_cv_cc_flag_unused_command_line_argument=yes
9604 else $as_nop
9605 xorg_cv_cc_flag_unused_command_line_argument=no
9606 fi
9607 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9608 fi
9609 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9610 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9611 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9612 CFLAGS="$xorg_testset_save_CFLAGS"
9613 fi
9614
9615 found="no"
9616
9617 if testscip-shell system . . test. $found = "no" ; then
9618 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9619 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9620 fi
9621
9622 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9623 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9624 fi
9625
9626 CFLAGS="$CFLAGS -Wsequence-point"
9627
9628 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9629 printfscip-shell system . . printf. %s "checking if $CC supports -Wsequence-point... " >&6; }
9630 cacheid=xorg_cv_cc_flag__Wsequence_point
9631 if eval test \${$cacheid+y}
9632 then :
9633 printfscip-shell system . . printf. %s "(cached) " >&6
9634 else $as_nop
9635 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9637 int i;
9638 int
9639 main (void)
9640 {
9641
9642 ;
9643 return 0;
9644 }
9645 _ACEOF
9646 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9647 then :
9648 eval $cacheid=yes
9649 else $as_nop
9650 eval $cacheid=no
9651 fi
9652 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9653 conftest$ac_exeext conftest.$ac_ext
9654 fi
9655
9656
9657 CFLAGS="$xorg_testset_save_CFLAGS"
9658
9659 eval supported=\$$cacheid
9660 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9661 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9662 if testscip-shell system . . test. "$supported" = "yes" ; then
9663 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
9664 found="yes"
9665 fi
9666 fi
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682 xorg_testset_save_CFLAGS="$CFLAGS"
9683
9684 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9685 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9686 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9687 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9688 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9689 then :
9690 printfscip-shell system . . printf. %s "(cached) " >&6
9691 else $as_nop
9692 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9694 int i;
9695 _ACEOF
9696 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9697 then :
9698 xorg_cv_cc_flag_unknown_warning_option=yes
9699 else $as_nop
9700 xorg_cv_cc_flag_unknown_warning_option=no
9701 fi
9702 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9703 fi
9704 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9705 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9706 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9707 CFLAGS="$xorg_testset_save_CFLAGS"
9708 fi
9709
9710 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9711 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9712 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9713 fi
9714 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9715 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9716 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9717 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9718 then :
9719 printfscip-shell system . . printf. %s "(cached) " >&6
9720 else $as_nop
9721 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9723 int i;
9724 _ACEOF
9725 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9726 then :
9727 xorg_cv_cc_flag_unused_command_line_argument=yes
9728 else $as_nop
9729 xorg_cv_cc_flag_unused_command_line_argument=no
9730 fi
9731 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9732 fi
9733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9734 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9735 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9736 CFLAGS="$xorg_testset_save_CFLAGS"
9737 fi
9738
9739 found="no"
9740
9741 if testscip-shell system . . test. $found = "no" ; then
9742 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9743 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9744 fi
9745
9746 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9747 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9748 fi
9749
9750 CFLAGS="$CFLAGS -Wreturn-type"
9751
9752 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9753 printfscip-shell system . . printf. %s "checking if $CC supports -Wreturn-type... " >&6; }
9754 cacheid=xorg_cv_cc_flag__Wreturn_type
9755 if eval test \${$cacheid+y}
9756 then :
9757 printfscip-shell system . . printf. %s "(cached) " >&6
9758 else $as_nop
9759 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9761 int i;
9762 int
9763 main (void)
9764 {
9765
9766 ;
9767 return 0;
9768 }
9769 _ACEOF
9770 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9771 then :
9772 eval $cacheid=yes
9773 else $as_nop
9774 eval $cacheid=no
9775 fi
9776 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9777 conftest$ac_exeext conftest.$ac_ext
9778 fi
9779
9780
9781 CFLAGS="$xorg_testset_save_CFLAGS"
9782
9783 eval supported=\$$cacheid
9784 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9785 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9786 if testscip-shell system . . test. "$supported" = "yes" ; then
9787 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
9788 found="yes"
9789 fi
9790 fi
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806 xorg_testset_save_CFLAGS="$CFLAGS"
9807
9808 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9809 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9810 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9811 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9812 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9813 then :
9814 printfscip-shell system . . printf. %s "(cached) " >&6
9815 else $as_nop
9816 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9818 int i;
9819 _ACEOF
9820 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9821 then :
9822 xorg_cv_cc_flag_unknown_warning_option=yes
9823 else $as_nop
9824 xorg_cv_cc_flag_unknown_warning_option=no
9825 fi
9826 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9827 fi
9828 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9829 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9830 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9831 CFLAGS="$xorg_testset_save_CFLAGS"
9832 fi
9833
9834 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9835 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9837 fi
9838 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9839 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9840 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9841 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9842 then :
9843 printfscip-shell system . . printf. %s "(cached) " >&6
9844 else $as_nop
9845 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int i;
9848 _ACEOF
9849 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9850 then :
9851 xorg_cv_cc_flag_unused_command_line_argument=yes
9852 else $as_nop
9853 xorg_cv_cc_flag_unused_command_line_argument=no
9854 fi
9855 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9856 fi
9857 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9858 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9859 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9860 CFLAGS="$xorg_testset_save_CFLAGS"
9861 fi
9862
9863 found="no"
9864
9865 if testscip-shell system . . test. $found = "no" ; then
9866 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9867 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9868 fi
9869
9870 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9871 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9872 fi
9873
9874 CFLAGS="$CFLAGS -Wtrigraphs"
9875
9876 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9877 printfscip-shell system . . printf. %s "checking if $CC supports -Wtrigraphs... " >&6; }
9878 cacheid=xorg_cv_cc_flag__Wtrigraphs
9879 if eval test \${$cacheid+y}
9880 then :
9881 printfscip-shell system . . printf. %s "(cached) " >&6
9882 else $as_nop
9883 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int i;
9886 int
9887 main (void)
9888 {
9889
9890 ;
9891 return 0;
9892 }
9893 _ACEOF
9894 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
9895 then :
9896 eval $cacheid=yes
9897 else $as_nop
9898 eval $cacheid=no
9899 fi
9900 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9901 conftest$ac_exeext conftest.$ac_ext
9902 fi
9903
9904
9905 CFLAGS="$xorg_testset_save_CFLAGS"
9906
9907 eval supported=\$$cacheid
9908 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9909 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9910 if testscip-shell system . . test. "$supported" = "yes" ; then
9911 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
9912 found="yes"
9913 fi
9914 fi
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930 xorg_testset_save_CFLAGS="$CFLAGS"
9931
9932 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9933 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9935 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9936 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9937 then :
9938 printfscip-shell system . . printf. %s "(cached) " >&6
9939 else $as_nop
9940 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 int i;
9943 _ACEOF
9944 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9945 then :
9946 xorg_cv_cc_flag_unknown_warning_option=yes
9947 else $as_nop
9948 xorg_cv_cc_flag_unknown_warning_option=no
9949 fi
9950 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9951 fi
9952 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9953 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9954 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9955 CFLAGS="$xorg_testset_save_CFLAGS"
9956 fi
9957
9958 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9959 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9960 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9961 fi
9962 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9963 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9964 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9965 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9966 then :
9967 printfscip-shell system . . printf. %s "(cached) " >&6
9968 else $as_nop
9969 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int i;
9972 _ACEOF
9973 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
9974 then :
9975 xorg_cv_cc_flag_unused_command_line_argument=yes
9976 else $as_nop
9977 xorg_cv_cc_flag_unused_command_line_argument=no
9978 fi
9979 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9980 fi
9981 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9982 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9983 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9984 CFLAGS="$xorg_testset_save_CFLAGS"
9985 fi
9986
9987 found="no"
9988
9989 if testscip-shell system . . test. $found = "no" ; then
9990 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9991 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9992 fi
9993
9994 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9995 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9996 fi
9997
9998 CFLAGS="$CFLAGS -Warray-bounds"
9999
10000 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
10001 printfscip-shell system . . printf. %s "checking if $CC supports -Warray-bounds... " >&6; }
10002 cacheid=xorg_cv_cc_flag__Warray_bounds
10003 if eval test \${$cacheid+y}
10004 then :
10005 printfscip-shell system . . printf. %s "(cached) " >&6
10006 else $as_nop
10007 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int i;
10010 int
10011 main (void)
10012 {
10013
10014 ;
10015 return 0;
10016 }
10017 _ACEOF
10018 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10019 then :
10020 eval $cacheid=yes
10021 else $as_nop
10022 eval $cacheid=no
10023 fi
10024 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10025 conftest$ac_exeext conftest.$ac_ext
10026 fi
10027
10028
10029 CFLAGS="$xorg_testset_save_CFLAGS"
10030
10031 eval supported=\$$cacheid
10032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10033 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10034 if testscip-shell system . . test. "$supported" = "yes" ; then
10035 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
10036 found="yes"
10037 fi
10038 fi
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054 xorg_testset_save_CFLAGS="$CFLAGS"
10055
10056 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10057 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10058 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10059 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10060 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10061 then :
10062 printfscip-shell system . . printf. %s "(cached) " >&6
10063 else $as_nop
10064 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 int i;
10067 _ACEOF
10068 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10069 then :
10070 xorg_cv_cc_flag_unknown_warning_option=yes
10071 else $as_nop
10072 xorg_cv_cc_flag_unknown_warning_option=no
10073 fi
10074 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10075 fi
10076 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10077 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10078 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10079 CFLAGS="$xorg_testset_save_CFLAGS"
10080 fi
10081
10082 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10083 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10084 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10085 fi
10086 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10087 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10088 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10089 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10090 then :
10091 printfscip-shell system . . printf. %s "(cached) " >&6
10092 else $as_nop
10093 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int i;
10096 _ACEOF
10097 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10098 then :
10099 xorg_cv_cc_flag_unused_command_line_argument=yes
10100 else $as_nop
10101 xorg_cv_cc_flag_unused_command_line_argument=no
10102 fi
10103 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10104 fi
10105 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10106 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10107 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10108 CFLAGS="$xorg_testset_save_CFLAGS"
10109 fi
10110
10111 found="no"
10112
10113 if testscip-shell system . . test. $found = "no" ; then
10114 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10115 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10116 fi
10117
10118 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10119 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10120 fi
10121
10122 CFLAGS="$CFLAGS -Wwrite-strings"
10123
10124 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
10125 printfscip-shell system . . printf. %s "checking if $CC supports -Wwrite-strings... " >&6; }
10126 cacheid=xorg_cv_cc_flag__Wwrite_strings
10127 if eval test \${$cacheid+y}
10128 then :
10129 printfscip-shell system . . printf. %s "(cached) " >&6
10130 else $as_nop
10131 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int i;
10134 int
10135 main (void)
10136 {
10137
10138 ;
10139 return 0;
10140 }
10141 _ACEOF
10142 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10143 then :
10144 eval $cacheid=yes
10145 else $as_nop
10146 eval $cacheid=no
10147 fi
10148 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10149 conftest$ac_exeext conftest.$ac_ext
10150 fi
10151
10152
10153 CFLAGS="$xorg_testset_save_CFLAGS"
10154
10155 eval supported=\$$cacheid
10156 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10157 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10158 if testscip-shell system . . test. "$supported" = "yes" ; then
10159 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
10160 found="yes"
10161 fi
10162 fi
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178 xorg_testset_save_CFLAGS="$CFLAGS"
10179
10180 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10181 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10182 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10183 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10184 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10185 then :
10186 printfscip-shell system . . printf. %s "(cached) " >&6
10187 else $as_nop
10188 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int i;
10191 _ACEOF
10192 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10193 then :
10194 xorg_cv_cc_flag_unknown_warning_option=yes
10195 else $as_nop
10196 xorg_cv_cc_flag_unknown_warning_option=no
10197 fi
10198 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10199 fi
10200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10201 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10202 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10203 CFLAGS="$xorg_testset_save_CFLAGS"
10204 fi
10205
10206 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10207 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10208 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10209 fi
10210 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10211 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10212 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10213 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10214 then :
10215 printfscip-shell system . . printf. %s "(cached) " >&6
10216 else $as_nop
10217 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int i;
10220 _ACEOF
10221 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10222 then :
10223 xorg_cv_cc_flag_unused_command_line_argument=yes
10224 else $as_nop
10225 xorg_cv_cc_flag_unused_command_line_argument=no
10226 fi
10227 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10228 fi
10229 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10230 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10231 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10232 CFLAGS="$xorg_testset_save_CFLAGS"
10233 fi
10234
10235 found="no"
10236
10237 if testscip-shell system . . test. $found = "no" ; then
10238 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10239 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10240 fi
10241
10242 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10244 fi
10245
10246 CFLAGS="$CFLAGS -Waddress"
10247
10248 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
10249 printfscip-shell system . . printf. %s "checking if $CC supports -Waddress... " >&6; }
10250 cacheid=xorg_cv_cc_flag__Waddress
10251 if eval test \${$cacheid+y}
10252 then :
10253 printfscip-shell system . . printf. %s "(cached) " >&6
10254 else $as_nop
10255 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int i;
10258 int
10259 main (void)
10260 {
10261
10262 ;
10263 return 0;
10264 }
10265 _ACEOF
10266 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10267 then :
10268 eval $cacheid=yes
10269 else $as_nop
10270 eval $cacheid=no
10271 fi
10272 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10273 conftest$ac_exeext conftest.$ac_ext
10274 fi
10275
10276
10277 CFLAGS="$xorg_testset_save_CFLAGS"
10278
10279 eval supported=\$$cacheid
10280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10281 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10282 if testscip-shell system . . test. "$supported" = "yes" ; then
10283 BASE_CFLAGS="$BASE_CFLAGS -Waddress"
10284 found="yes"
10285 fi
10286 fi
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302 xorg_testset_save_CFLAGS="$CFLAGS"
10303
10304 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10305 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10306 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10307 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10308 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10309 then :
10310 printfscip-shell system . . printf. %s "(cached) " >&6
10311 else $as_nop
10312 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 int i;
10315 _ACEOF
10316 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10317 then :
10318 xorg_cv_cc_flag_unknown_warning_option=yes
10319 else $as_nop
10320 xorg_cv_cc_flag_unknown_warning_option=no
10321 fi
10322 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10323 fi
10324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10325 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10326 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10327 CFLAGS="$xorg_testset_save_CFLAGS"
10328 fi
10329
10330 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10331 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10332 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10333 fi
10334 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10335 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10336 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10337 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10338 then :
10339 printfscip-shell system . . printf. %s "(cached) " >&6
10340 else $as_nop
10341 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int i;
10344 _ACEOF
10345 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10346 then :
10347 xorg_cv_cc_flag_unused_command_line_argument=yes
10348 else $as_nop
10349 xorg_cv_cc_flag_unused_command_line_argument=no
10350 fi
10351 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10352 fi
10353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10354 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10355 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10356 CFLAGS="$xorg_testset_save_CFLAGS"
10357 fi
10358
10359 found="no"
10360
10361 if testscip-shell system . . test. $found = "no" ; then
10362 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10363 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10364 fi
10365
10366 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10367 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10368 fi
10369
10370 CFLAGS="$CFLAGS -Wint-to-pointer-cast"
10371
10372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
10373 printfscip-shell system . . printf. %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
10374 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
10375 if eval test \${$cacheid+y}
10376 then :
10377 printfscip-shell system . . printf. %s "(cached) " >&6
10378 else $as_nop
10379 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10381 int i;
10382 int
10383 main (void)
10384 {
10385
10386 ;
10387 return 0;
10388 }
10389 _ACEOF
10390 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10391 then :
10392 eval $cacheid=yes
10393 else $as_nop
10394 eval $cacheid=no
10395 fi
10396 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10397 conftest$ac_exeext conftest.$ac_ext
10398 fi
10399
10400
10401 CFLAGS="$xorg_testset_save_CFLAGS"
10402
10403 eval supported=\$$cacheid
10404 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10405 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10406 if testscip-shell system . . test. "$supported" = "yes" ; then
10407 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
10408 found="yes"
10409 fi
10410 fi
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426 xorg_testset_save_CFLAGS="$CFLAGS"
10427
10428 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10429 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10430 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10431 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10432 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10433 then :
10434 printfscip-shell system . . printf. %s "(cached) " >&6
10435 else $as_nop
10436 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int i;
10439 _ACEOF
10440 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10441 then :
10442 xorg_cv_cc_flag_unknown_warning_option=yes
10443 else $as_nop
10444 xorg_cv_cc_flag_unknown_warning_option=no
10445 fi
10446 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10447 fi
10448 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10449 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10450 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10451 CFLAGS="$xorg_testset_save_CFLAGS"
10452 fi
10453
10454 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10455 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10456 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10457 fi
10458 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10459 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10460 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10461 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10462 then :
10463 printfscip-shell system . . printf. %s "(cached) " >&6
10464 else $as_nop
10465 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 int i;
10468 _ACEOF
10469 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10470 then :
10471 xorg_cv_cc_flag_unused_command_line_argument=yes
10472 else $as_nop
10473 xorg_cv_cc_flag_unused_command_line_argument=no
10474 fi
10475 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10476 fi
10477 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10478 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10479 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10480 CFLAGS="$xorg_testset_save_CFLAGS"
10481 fi
10482
10483 found="no"
10484
10485 if testscip-shell system . . test. $found = "no" ; then
10486 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10487 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10488 fi
10489
10490 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10491 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10492 fi
10493
10494 CFLAGS="$CFLAGS -Wpointer-to-int-cast"
10495
10496 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
10497 printfscip-shell system . . printf. %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
10498 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
10499 if eval test \${$cacheid+y}
10500 then :
10501 printfscip-shell system . . printf. %s "(cached) " >&6
10502 else $as_nop
10503 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10505 int i;
10506 int
10507 main (void)
10508 {
10509
10510 ;
10511 return 0;
10512 }
10513 _ACEOF
10514 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10515 then :
10516 eval $cacheid=yes
10517 else $as_nop
10518 eval $cacheid=no
10519 fi
10520 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10521 conftest$ac_exeext conftest.$ac_ext
10522 fi
10523
10524
10525 CFLAGS="$xorg_testset_save_CFLAGS"
10526
10527 eval supported=\$$cacheid
10528 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10529 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10530 if testscip-shell system . . test. "$supported" = "yes" ; then
10531 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
10532 found="yes"
10533 fi
10534 fi
10535
10536
10537 fi
10538
10539
10540
10541
10542
10543
10544
10545 CWARNFLAGS="$BASE_CFLAGS"
10546 if testscip-shell system . . test. "x$GCC" = xyes ; then
10547 CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
10548 fi
10549
10550
10551
10552
10553
10554
10555
10556
10557 # Check whether --enable-strict-compilation was given.
10558 if testscip-shell system . . test. ${enable_strict_compilation+y}
10559 then :
10560 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
10561 else $as_nop
10562 STRICT_COMPILE=no
10563 fi
10564
10565
10566
10567
10568
10569
10570 STRICT_CFLAGS=""
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584 xorg_testset_save_CFLAGS="$CFLAGS"
10585
10586 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10587 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10588 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10589 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10590 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10591 then :
10592 printfscip-shell system . . printf. %s "(cached) " >&6
10593 else $as_nop
10594 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int i;
10597 _ACEOF
10598 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10599 then :
10600 xorg_cv_cc_flag_unknown_warning_option=yes
10601 else $as_nop
10602 xorg_cv_cc_flag_unknown_warning_option=no
10603 fi
10604 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10605 fi
10606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10607 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10608 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10609 CFLAGS="$xorg_testset_save_CFLAGS"
10610 fi
10611
10612 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10613 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10614 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10615 fi
10616 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10617 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10618 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10619 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10620 then :
10621 printfscip-shell system . . printf. %s "(cached) " >&6
10622 else $as_nop
10623 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10625 int i;
10626 _ACEOF
10627 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10628 then :
10629 xorg_cv_cc_flag_unused_command_line_argument=yes
10630 else $as_nop
10631 xorg_cv_cc_flag_unused_command_line_argument=no
10632 fi
10633 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10634 fi
10635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10636 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10637 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10638 CFLAGS="$xorg_testset_save_CFLAGS"
10639 fi
10640
10641 found="no"
10642
10643 if testscip-shell system . . test. $found = "no" ; then
10644 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10645 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10646 fi
10647
10648 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10649 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10650 fi
10651
10652 CFLAGS="$CFLAGS -pedantic"
10653
10654 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10655 printfscip-shell system . . printf. %s "checking if $CC supports -pedantic... " >&6; }
10656 cacheid=xorg_cv_cc_flag__pedantic
10657 if eval test \${$cacheid+y}
10658 then :
10659 printfscip-shell system . . printf. %s "(cached) " >&6
10660 else $as_nop
10661 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10663 int i;
10664 int
10665 main (void)
10666 {
10667
10668 ;
10669 return 0;
10670 }
10671 _ACEOF
10672 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10673 then :
10674 eval $cacheid=yes
10675 else $as_nop
10676 eval $cacheid=no
10677 fi
10678 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10679 conftest$ac_exeext conftest.$ac_ext
10680 fi
10681
10682
10683 CFLAGS="$xorg_testset_save_CFLAGS"
10684
10685 eval supported=\$$cacheid
10686 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10687 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10688 if testscip-shell system . . test. "$supported" = "yes" ; then
10689 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
10690 found="yes"
10691 fi
10692 fi
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708 xorg_testset_save_CFLAGS="$CFLAGS"
10709
10710 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10711 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10712 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10713 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10714 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10715 then :
10716 printfscip-shell system . . printf. %s "(cached) " >&6
10717 else $as_nop
10718 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 int i;
10721 _ACEOF
10722 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10723 then :
10724 xorg_cv_cc_flag_unknown_warning_option=yes
10725 else $as_nop
10726 xorg_cv_cc_flag_unknown_warning_option=no
10727 fi
10728 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10729 fi
10730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10731 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10732 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10733 CFLAGS="$xorg_testset_save_CFLAGS"
10734 fi
10735
10736 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10737 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10738 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10739 fi
10740 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10741 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10742 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10743 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10744 then :
10745 printfscip-shell system . . printf. %s "(cached) " >&6
10746 else $as_nop
10747 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10749 int i;
10750 _ACEOF
10751 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10752 then :
10753 xorg_cv_cc_flag_unused_command_line_argument=yes
10754 else $as_nop
10755 xorg_cv_cc_flag_unused_command_line_argument=no
10756 fi
10757 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10758 fi
10759 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10760 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10761 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10762 CFLAGS="$xorg_testset_save_CFLAGS"
10763 fi
10764
10765 found="no"
10766
10767 if testscip-shell system . . test. $found = "no" ; then
10768 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10769 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10770 fi
10771
10772 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10773 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10774 fi
10775
10776 CFLAGS="$CFLAGS -Werror"
10777
10778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10779 printfscip-shell system . . printf. %s "checking if $CC supports -Werror... " >&6; }
10780 cacheid=xorg_cv_cc_flag__Werror
10781 if eval test \${$cacheid+y}
10782 then :
10783 printfscip-shell system . . printf. %s "(cached) " >&6
10784 else $as_nop
10785 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 int i;
10788 int
10789 main (void)
10790 {
10791
10792 ;
10793 return 0;
10794 }
10795 _ACEOF
10796 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10797 then :
10798 eval $cacheid=yes
10799 else $as_nop
10800 eval $cacheid=no
10801 fi
10802 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 fi
10805
10806
10807 CFLAGS="$xorg_testset_save_CFLAGS"
10808
10809 eval supported=\$$cacheid
10810 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10811 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10812 if testscip-shell system . . test. "$supported" = "yes" ; then
10813 STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
10814 found="yes"
10815 fi
10816 fi
10817
10818 if testscip-shell system . . test. $found = "no" ; then
10819 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10820 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10821 fi
10822
10823 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10824 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10825 fi
10826
10827 CFLAGS="$CFLAGS -errwarn"
10828
10829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10830 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn... " >&6; }
10831 cacheid=xorg_cv_cc_flag__errwarn
10832 if eval test \${$cacheid+y}
10833 then :
10834 printfscip-shell system . . printf. %s "(cached) " >&6
10835 else $as_nop
10836 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10838 int i;
10839 int
10840 main (void)
10841 {
10842
10843 ;
10844 return 0;
10845 }
10846 _ACEOF
10847 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10848 then :
10849 eval $cacheid=yes
10850 else $as_nop
10851 eval $cacheid=no
10852 fi
10853 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10854 conftest$ac_exeext conftest.$ac_ext
10855 fi
10856
10857
10858 CFLAGS="$xorg_testset_save_CFLAGS"
10859
10860 eval supported=\$$cacheid
10861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10862 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10863 if testscip-shell system . . test. "$supported" = "yes" ; then
10864 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
10865 found="yes"
10866 fi
10867 fi
10868
10869
10870
10871 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
10872 # activate it with -Werror, so we add it here explicitly.
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886 xorg_testset_save_CFLAGS="$CFLAGS"
10887
10888 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10889 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10890 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10891 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10892 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10893 then :
10894 printfscip-shell system . . printf. %s "(cached) " >&6
10895 else $as_nop
10896 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10898 int i;
10899 _ACEOF
10900 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10901 then :
10902 xorg_cv_cc_flag_unknown_warning_option=yes
10903 else $as_nop
10904 xorg_cv_cc_flag_unknown_warning_option=no
10905 fi
10906 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10907 fi
10908 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10909 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10910 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10911 CFLAGS="$xorg_testset_save_CFLAGS"
10912 fi
10913
10914 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10915 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10916 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10917 fi
10918 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10919 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10920 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10921 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10922 then :
10923 printfscip-shell system . . printf. %s "(cached) " >&6
10924 else $as_nop
10925 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 int i;
10928 _ACEOF
10929 if ac_fn_c_try_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_try_compile(). "$LINENO"
10930 then :
10931 xorg_cv_cc_flag_unused_command_line_argument=yes
10932 else $as_nop
10933 xorg_cv_cc_flag_unused_command_line_argument=no
10934 fi
10935 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10936 fi
10937 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10938 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10939 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10940 CFLAGS="$xorg_testset_save_CFLAGS"
10941 fi
10942
10943 found="no"
10944
10945 if testscip-shell system . . test. $found = "no" ; then
10946 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10947 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10948 fi
10949
10950 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10951 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10952 fi
10953
10954 CFLAGS="$CFLAGS -Werror=attributes"
10955
10956 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10957 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=attributes... " >&6; }
10958 cacheid=xorg_cv_cc_flag__Werror_attributes
10959 if eval test \${$cacheid+y}
10960 then :
10961 printfscip-shell system . . printf. %s "(cached) " >&6
10962 else $as_nop
10963 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 int i;
10966 int
10967 main (void)
10968 {
10969
10970 ;
10971 return 0;
10972 }
10973 _ACEOF
10974 if ac_fn_c_try_linkscip-shell shell x11-utils 7.7+7 ac_fn_c_try_link(). "$LINENO"
10975 then :
10976 eval $cacheid=yes
10977 else $as_nop
10978 eval $cacheid=no
10979 fi
10980 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10981 conftest$ac_exeext conftest.$ac_ext
10982 fi
10983
10984
10985 CFLAGS="$xorg_testset_save_CFLAGS"
10986
10987 eval supported=\$$cacheid
10988 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10989 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10990 if testscip-shell system . . test. "$supported" = "yes" ; then
10991 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
10992 found="yes"
10993 fi
10994 fi
10995
10996
10997
10998 if testscip-shell system . . test. "x$STRICT_COMPILE" = "xyes"; then
10999 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
11000 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
11001 fi
11002
11003
11004
11005
11006
11007
11008
11009
11010 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
11011 #define PACKAGE_VERSION_MAJOR `echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 1`
11012 _ACEOF
11013
11014 PVM=`echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 2 | cutscip-shell system . . cut. -d - -f 1`
11015 if testscip-shell system . . test. "x$PVM" = "x"; then
11016 PVM="0"
11017 fi
11018
11019 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
11020
11021 PVP=`echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 3 | cutscip-shell system . . cut. -d - -f 1`
11022 if testscip-shell system . . test. "x$PVP" = "x"; then
11023 PVP="0"
11024 fi
11025
11026 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
11027
11028
11029
11030 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
11031 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
11032 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
11033 touch \$(top_srcdir)/ChangeLog; \
11034 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
11035
11036
11037
11038
11039 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
11040 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
11041 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
11042 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
11043 touch \$(top_srcdir)/INSTALL; \
11044 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
11045
11046
11047
11048
11049
11050
11051 case $host_os in
11052 solaris*)
11053 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
11054 # check for a man page file found in later versions that use
11055 # traditional section numbers instead
11056 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
11057 printfscip-shell system . . printf. %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
11058 if testscip-shell system . . test. ${ac_cv_file__usr_share_man_man7_attributes_7+y}
11059 then :
11060 printfscip-shell system . . printf. %s "(cached) " >&6
11061 else $as_nop
11062 testscip-shell system . . test. "$cross_compiling" = yes &&
11063 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "cannot check for file existence when cross compiling" "$LINENO" 5
11064 if testscip-shell system . . test. -r "/usr/share/man/man7/attributes.7scip-shell filesystem . . `/usr/share/man/man7/attributes.7`."; then
11065 ac_cv_file__usr_share_man_man7_attributes_7=yes
11066 else
11067 ac_cv_file__usr_share_man_man7_attributes_7=no
11068 fi
11069 fi
11070 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
11071 printfscip-shell system . . printf. "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
11072 if testscip-shell system . . test. "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
11073 then :
11074 SYSV_MAN_SECTIONS=false
11075 else $as_nop
11076 SYSV_MAN_SECTIONS=true
11077 fi
11078
11079 ;;
11080 *) SYSV_MAN_SECTIONS=false ;;
11081 esac
11082
11083 if testscip-shell system . . test. x$APP_MAN_SUFFIX = x ; then
11084 APP_MAN_SUFFIX=1
11085 fi
11086 if testscip-shell system . . test. x$APP_MAN_DIR = x ; then
11087 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
11088 fi
11089
11090 if testscip-shell system . . test. x$LIB_MAN_SUFFIX = x ; then
11091 LIB_MAN_SUFFIX=3
11092 fi
11093 if testscip-shell system . . test. x$LIB_MAN_DIR = x ; then
11094 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
11095 fi
11096
11097 if testscip-shell system . . test. x$FILE_MAN_SUFFIX = x ; then
11098 case $SYSV_MAN_SECTIONS in
11099 true) FILE_MAN_SUFFIX=4 ;;
11100 *) FILE_MAN_SUFFIX=5 ;;
11101 esac
11102 fi
11103 if testscip-shell system . . test. x$FILE_MAN_DIR = x ; then
11104 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
11105 fi
11106
11107 if testscip-shell system . . test. x$MISC_MAN_SUFFIX = x ; then
11108 case $SYSV_MAN_SECTIONS in
11109 true) MISC_MAN_SUFFIX=5 ;;
11110 *) MISC_MAN_SUFFIX=7 ;;
11111 esac
11112 fi
11113 if testscip-shell system . . test. x$MISC_MAN_DIR = x ; then
11114 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
11115 fi
11116
11117 if testscip-shell system . . test. x$DRIVER_MAN_SUFFIX = x ; then
11118 case $SYSV_MAN_SECTIONS in
11119 true) DRIVER_MAN_SUFFIX=7 ;;
11120 *) DRIVER_MAN_SUFFIX=4 ;;
11121 esac
11122 fi
11123 if testscip-shell system . . test. x$DRIVER_MAN_DIR = x ; then
11124 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
11125 fi
11126
11127 if testscip-shell system . . test. x$ADMIN_MAN_SUFFIX = x ; then
11128 case $SYSV_MAN_SECTIONS in
11129 true) ADMIN_MAN_SUFFIX=1m ;;
11130 *) ADMIN_MAN_SUFFIX=8 ;;
11131 esac
11132 fi
11133 if testscip-shell system . . test. x$ADMIN_MAN_DIR = x ; then
11134 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
11135 fi
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151 XORG_MAN_PAGE="X Version 11"
11152
11153 MAN_SUBSTS="\
11154 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11155 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11156 -e 's|__xservername__|Xorg|g' \
11157 -e 's|__xconfigfile__|xorg.conf|g' \
11158 -e 's|__projectroot__|\$(prefix)|g' \
11159 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
11160 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
11161 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
11162 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
11163 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
11164 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
11165 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
11166
11167
11168
11169 # Check whether --enable-silent-rules was given.
11170 if testscip-shell system . . test. ${enable_silent_rules+y}
11171 then :
11172 enableval=$enable_silent_rules;
11173 fi
11174
11175 case $enable_silent_rules in # (((
11176 yes) AM_DEFAULT_VERBOSITY=0;;
11177 no) AM_DEFAULT_VERBOSITY=1;;
11178 *) AM_DEFAULT_VERBOSITY=0;;
11179 esac
11180 am_make=${MAKE-make}
11181 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
11182 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
11183 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
11184 then :
11185 printfscip-shell system . . printf. %s "(cached) " >&6
11186 else $as_nop
11187 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
11188 BAR0=false
11189 BAR1=true
11190 V=1
11191 am__doit:
11192 @$(TRUE)
11193 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
11194 am_cv_make_support_nested_variables=yes
11195 else
11196 am_cv_make_support_nested_variables=no
11197 fi
11198 fi
11199 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
11200 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
11201 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
11202 AM_V='$(V)'
11203 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
11204 else
11205 AM_V=$AM_DEFAULT_VERBOSITY
11206 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
11207 fi
11208 AM_BACKSLASH='\'
11209
11210
11211
11212
11213 # Checks for pkg-config packages
11214
11215 pkg_failed=no
11216 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDPYINFO" >&5
11217 printfscip-shell system . . printf. %s "checking for XDPYINFO... " >&6; }
11218
11219 if testscip-shell system . . test. -n "$XDPYINFO_CFLAGS"; then
11220 pkg_cv_XDPYINFO_CFLAGS="$XDPYINFO_CFLAGS"
11221 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11222 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11223 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext x11 xtst x11-xcb xcb xproto >= 7.0.22\""; } >&5
11224 ($PKG_CONFIG --exists --print-errors "xext x11 xtst x11-xcb xcb xproto >= 7.0.22") 2>&5
11225 ac_status=$?
11226 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11227 testscip-shell system . . test. $ac_status = 0; }; then
11228 pkg_cv_XDPYINFO_CFLAGS=`$PKG_CONFIG --cflags "xext x11 xtst x11-xcb xcb xproto >= 7.0.22" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11229 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11230 else
11231 pkg_failed=yes
11232 fi
11233 else
11234 pkg_failed=untried
11235 fi
11236 if testscip-shell system . . test. -n "$XDPYINFO_LIBS"; then
11237 pkg_cv_XDPYINFO_LIBS="$XDPYINFO_LIBS"
11238 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11239 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11240 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext x11 xtst x11-xcb xcb xproto >= 7.0.22\""; } >&5
11241 ($PKG_CONFIG --exists --print-errors "xext x11 xtst x11-xcb xcb xproto >= 7.0.22") 2>&5
11242 ac_status=$?
11243 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11244 testscip-shell system . . test. $ac_status = 0; }; then
11245 pkg_cv_XDPYINFO_LIBS=`$PKG_CONFIG --libs "xext x11 xtst x11-xcb xcb xproto >= 7.0.22" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11246 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11247 else
11248 pkg_failed=yes
11249 fi
11250 else
11251 pkg_failed=untried
11252 fi
11253
11254
11255
11256 if testscip-shell system . . test. $pkg_failed = yes; then
11257 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11258 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11259
11260 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11261 _pkg_short_errors_supported=yes
11262 else
11263 _pkg_short_errors_supported=no
11264 fi
11265 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11266 XDPYINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext x11 xtst x11-xcb xcb xproto >= 7.0.22" 2>&1`
11267 else
11268 XDPYINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext x11 xtst x11-xcb xcb xproto >= 7.0.22" 2>&1`
11269 fi
11270 # Put the nasty error message in config.log where it belongs
11271 echoscip-shell system . . echo. "$XDPYINFO_PKG_ERRORS" >&5
11272
11273 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "Package requirements (xext x11 xtst x11-xcb xcb xproto >= 7.0.22) were not met:
11274
11275 $XDPYINFO_PKG_ERRORS
11276
11277 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11278 installed software in a non-standard prefix.
11279
11280 Alternatively, you may set the environment variables XDPYINFO_CFLAGS
11281 and XDPYINFO_LIBS to avoid the need to call pkg-config.
11282 See the pkg-config man page for more details." "$LINENO" 5
11283 elif testscip-shell system . . test. $pkg_failed = untried; then
11284 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11286 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11287 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11288 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
11289 is in your PATH or set the PKG_CONFIG environment variable to the full
11290 path to pkg-config.
11291
11292 Alternatively, you may set the environment variables XDPYINFO_CFLAGS
11293 and XDPYINFO_LIBS to avoid the need to call pkg-config.
11294 See the pkg-config man page for more details.
11295
11296 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11297 See \`config.log' for more details" "$LINENO" 5; }
11298 else
11299 XDPYINFO_CFLAGS=$pkg_cv_XDPYINFO_CFLAGS
11300 XDPYINFO_LIBS=$pkg_cv_XDPYINFO_LIBS
11301 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11302 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11303
11304 fi
11305
11306 # This is used below to allow <X11/Xlib.h> to be found
11307
11308 pkg_failed=no
11309 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_X11" >&5
11310 printfscip-shell system . . printf. %s "checking for DPY_X11... " >&6; }
11311
11312 if testscip-shell system . . test. -n "$DPY_X11_CFLAGS"; then
11313 pkg_cv_DPY_X11_CFLAGS="$DPY_X11_CFLAGS"
11314 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11315 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11316 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11317 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11318 ac_status=$?
11319 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11320 testscip-shell system . . test. $ac_status = 0; }; then
11321 pkg_cv_DPY_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11322 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11323 else
11324 pkg_failed=yes
11325 fi
11326 else
11327 pkg_failed=untried
11328 fi
11329 if testscip-shell system . . test. -n "$DPY_X11_LIBS"; then
11330 pkg_cv_DPY_X11_LIBS="$DPY_X11_LIBS"
11331 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11332 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11333 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11334 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11335 ac_status=$?
11336 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11337 testscip-shell system . . test. $ac_status = 0; }; then
11338 pkg_cv_DPY_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11339 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11340 else
11341 pkg_failed=yes
11342 fi
11343 else
11344 pkg_failed=untried
11345 fi
11346
11347
11348
11349 if testscip-shell system . . test. $pkg_failed = yes; then
11350 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11351 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11352
11353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11354 _pkg_short_errors_supported=yes
11355 else
11356 _pkg_short_errors_supported=no
11357 fi
11358 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11359 DPY_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
11360 else
11361 DPY_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
11362 fi
11363 # Put the nasty error message in config.log where it belongs
11364 echoscip-shell system . . echo. "$DPY_X11_PKG_ERRORS" >&5
11365
11366 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "Package requirements (x11) were not met:
11367
11368 $DPY_X11_PKG_ERRORS
11369
11370 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11371 installed software in a non-standard prefix.
11372
11373 Alternatively, you may set the environment variables DPY_X11_CFLAGS
11374 and DPY_X11_LIBS to avoid the need to call pkg-config.
11375 See the pkg-config man page for more details." "$LINENO" 5
11376 elif testscip-shell system . . test. $pkg_failed = untried; then
11377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11379 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11380 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11381 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
11382 is in your PATH or set the PKG_CONFIG environment variable to the full
11383 path to pkg-config.
11384
11385 Alternatively, you may set the environment variables DPY_X11_CFLAGS
11386 and DPY_X11_LIBS to avoid the need to call pkg-config.
11387 See the pkg-config man page for more details.
11388
11389 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11390 See \`config.log' for more details" "$LINENO" 5; }
11391 else
11392 DPY_X11_CFLAGS=$pkg_cv_DPY_X11_CFLAGS
11393 DPY_X11_LIBS=$pkg_cv_DPY_X11_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 fi
11398
11399
11400 pkg_failed=no
11401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XEXT" >&5
11402 printfscip-shell system . . printf. %s "checking for DPY_XEXT... " >&6; }
11403
11404 if testscip-shell system . . test. -n "$DPY_XEXT_CFLAGS"; then
11405 pkg_cv_DPY_XEXT_CFLAGS="$DPY_XEXT_CFLAGS"
11406 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11407 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11408 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
11409 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
11410 ac_status=$?
11411 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11412 testscip-shell system . . test. $ac_status = 0; }; then
11413 pkg_cv_DPY_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11414 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11415 else
11416 pkg_failed=yes
11417 fi
11418 else
11419 pkg_failed=untried
11420 fi
11421 if testscip-shell system . . test. -n "$DPY_XEXT_LIBS"; then
11422 pkg_cv_DPY_XEXT_LIBS="$DPY_XEXT_LIBS"
11423 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11424 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11425 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
11426 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
11427 ac_status=$?
11428 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11429 testscip-shell system . . test. $ac_status = 0; }; then
11430 pkg_cv_DPY_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11431 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11432 else
11433 pkg_failed=yes
11434 fi
11435 else
11436 pkg_failed=untried
11437 fi
11438
11439
11440
11441 if testscip-shell system . . test. $pkg_failed = yes; then
11442 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11444
11445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11446 _pkg_short_errors_supported=yes
11447 else
11448 _pkg_short_errors_supported=no
11449 fi
11450 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11451 DPY_XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
11452 else
11453 DPY_XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
11454 fi
11455 # Put the nasty error message in config.log where it belongs
11456 echoscip-shell system . . echo. "$DPY_XEXT_PKG_ERRORS" >&5
11457
11458 echoscip-shell system . . echo. "not found"
11459 elif testscip-shell system . . test. $pkg_failed = untried; then
11460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11461 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11462 echoscip-shell system . . echo. "not found"
11463 else
11464 DPY_XEXT_CFLAGS=$pkg_cv_DPY_XEXT_CFLAGS
11465 DPY_XEXT_LIBS=$pkg_cv_DPY_XEXT_LIBS
11466 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11467 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11468 SAVE_CPPFLAGS="$CPPFLAGS"
11469 CPPFLAGS="$CPPFLAGS $DPY_XEXT_CFLAGS $DPY_X11_CFLAGS"
11470 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/multibuf.h" "ac_cv_header_X11_extensions_multibuf_h" "#include <X11/Xlib.h>
11471 "
11472 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_multibuf_h" = xyes
11473 then :
11474 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_MULTIBUF_H 1" >>confdefs.h
11475
11476 fi
11477 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#include <X11/Xlib.h>
11478 "
11479 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_XShm_h" = xyes
11480 then :
11481 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
11482
11483 fi
11484
11485 CPPFLAGS="$SAVE_CPPFLAGS"
11486 fi
11487
11488
11489 pkg_failed=no
11490 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XKB" >&5
11491 printfscip-shell system . . printf. %s "checking for DPY_XKB... " >&6; }
11492
11493 if testscip-shell system . . test. -n "$DPY_XKB_CFLAGS"; then
11494 pkg_cv_DPY_XKB_CFLAGS="$DPY_XKB_CFLAGS"
11495 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11496 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11497 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11498 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11499 ac_status=$?
11500 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 testscip-shell system . . test. $ac_status = 0; }; then
11502 pkg_cv_DPY_XKB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11503 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11504 else
11505 pkg_failed=yes
11506 fi
11507 else
11508 pkg_failed=untried
11509 fi
11510 if testscip-shell system . . test. -n "$DPY_XKB_LIBS"; then
11511 pkg_cv_DPY_XKB_LIBS="$DPY_XKB_LIBS"
11512 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11513 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11514 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
11515 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
11516 ac_status=$?
11517 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11518 testscip-shell system . . test. $ac_status = 0; }; then
11519 pkg_cv_DPY_XKB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11520 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11521 else
11522 pkg_failed=yes
11523 fi
11524 else
11525 pkg_failed=untried
11526 fi
11527
11528
11529
11530 if testscip-shell system . . test. $pkg_failed = yes; then
11531 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11533
11534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11535 _pkg_short_errors_supported=yes
11536 else
11537 _pkg_short_errors_supported=no
11538 fi
11539 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11540 DPY_XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
11541 else
11542 DPY_XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
11543 fi
11544 # Put the nasty error message in config.log where it belongs
11545 echoscip-shell system . . echo. "$DPY_XKB_PKG_ERRORS" >&5
11546
11547 echoscip-shell system . . echo. "not found"
11548 elif testscip-shell system . . test. $pkg_failed = untried; then
11549 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11551 echoscip-shell system . . echo. "not found"
11552 else
11553 DPY_XKB_CFLAGS=$pkg_cv_DPY_XKB_CFLAGS
11554 DPY_XKB_LIBS=$pkg_cv_DPY_XKB_LIBS
11555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11556 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11557 SAVE_CPPFLAGS="$CPPFLAGS"
11558 CPPFLAGS="$CPPFLAGS $DPY_XKB_CFLAGS $DPY_X11_CFLAGS"
11559 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/XKB.h" "ac_cv_header_X11_extensions_XKB_h" "#include <X11/Xlib.h>
11560 "
11561 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_XKB_h" = xyes
11562 then :
11563 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XKB_H 1" >>confdefs.h
11564
11565 fi
11566 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#include <X11/Xlib.h>
11567 "
11568 if testscip-shell system . . test. "x$ac_cv_header_X11_XKBlib_h" = xyes
11569 then :
11570 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
11571
11572 fi
11573
11574 CPPFLAGS="$SAVE_CPPFLAGS"
11575 fi
11576
11577
11578 pkg_failed=no
11579 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XF86VIDMODE" >&5
11580 printfscip-shell system . . printf. %s "checking for DPY_XF86VIDMODE... " >&6; }
11581
11582 if testscip-shell system . . test. -n "$DPY_XF86VIDMODE_CFLAGS"; then
11583 pkg_cv_DPY_XF86VIDMODE_CFLAGS="$DPY_XF86VIDMODE_CFLAGS"
11584 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11585 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11586 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm\""; } >&5
11587 ($PKG_CONFIG --exists --print-errors "xxf86vm") 2>&5
11588 ac_status=$?
11589 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11590 testscip-shell system . . test. $ac_status = 0; }; then
11591 pkg_cv_DPY_XF86VIDMODE_CFLAGS=`$PKG_CONFIG --cflags "xxf86vm" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11592 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11593 else
11594 pkg_failed=yes
11595 fi
11596 else
11597 pkg_failed=untried
11598 fi
11599 if testscip-shell system . . test. -n "$DPY_XF86VIDMODE_LIBS"; then
11600 pkg_cv_DPY_XF86VIDMODE_LIBS="$DPY_XF86VIDMODE_LIBS"
11601 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11602 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11603 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm\""; } >&5
11604 ($PKG_CONFIG --exists --print-errors "xxf86vm") 2>&5
11605 ac_status=$?
11606 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607 testscip-shell system . . test. $ac_status = 0; }; then
11608 pkg_cv_DPY_XF86VIDMODE_LIBS=`$PKG_CONFIG --libs "xxf86vm" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11609 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11610 else
11611 pkg_failed=yes
11612 fi
11613 else
11614 pkg_failed=untried
11615 fi
11616
11617
11618
11619 if testscip-shell system . . test. $pkg_failed = yes; then
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 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11624 _pkg_short_errors_supported=yes
11625 else
11626 _pkg_short_errors_supported=no
11627 fi
11628 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11629 DPY_XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xxf86vm" 2>&1`
11630 else
11631 DPY_XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xxf86vm" 2>&1`
11632 fi
11633 # Put the nasty error message in config.log where it belongs
11634 echoscip-shell system . . echo. "$DPY_XF86VIDMODE_PKG_ERRORS" >&5
11635
11636 echoscip-shell system . . echo. "not found"
11637 elif testscip-shell system . . test. $pkg_failed = untried; then
11638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11640 echoscip-shell system . . echo. "not found"
11641 else
11642 DPY_XF86VIDMODE_CFLAGS=$pkg_cv_DPY_XF86VIDMODE_CFLAGS
11643 DPY_XF86VIDMODE_LIBS=$pkg_cv_DPY_XF86VIDMODE_LIBS
11644 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11646 SAVE_CPPFLAGS="$CPPFLAGS"
11647 CPPFLAGS="$CPPFLAGS $DPY_XF86VIDMODE_CFLAGS $DPY_X11_CFLAGS"
11648 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#include <X11/Xlib.h>
11649 "
11650 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
11651 then :
11652 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
11653
11654 fi
11655 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86vmstr.h" "ac_cv_header_X11_extensions_xf86vmstr_h" "#include <X11/Xlib.h>
11656 "
11657 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86vmstr_h" = xyes
11658 then :
11659 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMSTR_H 1" >>confdefs.h
11660
11661 fi
11662 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#include <X11/Xlib.h>
11663 "
11664 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
11665 then :
11666 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
11667
11668 fi
11669
11670 CPPFLAGS="$SAVE_CPPFLAGS"
11671 fi
11672
11673
11674 # Check whether --with-dga was given.
11675 if testscip-shell system . . test. ${with_dga+y}
11676 then :
11677 withval=$with_dga; USE_DGA="$withval"
11678 else $as_nop
11679 USE_DGA="yes"
11680 fi
11681
11682 if testscip-shell system . . test. "x$USE_DGA" != "xno" ; then
11683
11684 pkg_failed=no
11685 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XF86DGA" >&5
11686 printfscip-shell system . . printf. %s "checking for DPY_XF86DGA... " >&6; }
11687
11688 if testscip-shell system . . test. -n "$DPY_XF86DGA_CFLAGS"; then
11689 pkg_cv_DPY_XF86DGA_CFLAGS="$DPY_XF86DGA_CFLAGS"
11690 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11691 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11692 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86dga\""; } >&5
11693 ($PKG_CONFIG --exists --print-errors "xxf86dga") 2>&5
11694 ac_status=$?
11695 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11696 testscip-shell system . . test. $ac_status = 0; }; then
11697 pkg_cv_DPY_XF86DGA_CFLAGS=`$PKG_CONFIG --cflags "xxf86dga" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11698 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11699 else
11700 pkg_failed=yes
11701 fi
11702 else
11703 pkg_failed=untried
11704 fi
11705 if testscip-shell system . . test. -n "$DPY_XF86DGA_LIBS"; then
11706 pkg_cv_DPY_XF86DGA_LIBS="$DPY_XF86DGA_LIBS"
11707 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11708 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11709 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86dga\""; } >&5
11710 ($PKG_CONFIG --exists --print-errors "xxf86dga") 2>&5
11711 ac_status=$?
11712 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 testscip-shell system . . test. $ac_status = 0; }; then
11714 pkg_cv_DPY_XF86DGA_LIBS=`$PKG_CONFIG --libs "xxf86dga" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11715 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11716 else
11717 pkg_failed=yes
11718 fi
11719 else
11720 pkg_failed=untried
11721 fi
11722
11723
11724
11725 if testscip-shell system . . test. $pkg_failed = yes; then
11726 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11728
11729 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11730 _pkg_short_errors_supported=yes
11731 else
11732 _pkg_short_errors_supported=no
11733 fi
11734 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11735 DPY_XF86DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xxf86dga" 2>&1`
11736 else
11737 DPY_XF86DGA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xxf86dga" 2>&1`
11738 fi
11739 # Put the nasty error message in config.log where it belongs
11740 echoscip-shell system . . echo. "$DPY_XF86DGA_PKG_ERRORS" >&5
11741
11742 echoscip-shell system . . echo. "not found"
11743 elif testscip-shell system . . test. $pkg_failed = untried; then
11744 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11746 echoscip-shell system . . echo. "not found"
11747 else
11748 DPY_XF86DGA_CFLAGS=$pkg_cv_DPY_XF86DGA_CFLAGS
11749 DPY_XF86DGA_LIBS=$pkg_cv_DPY_XF86DGA_LIBS
11750 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11751 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11752 SAVE_CPPFLAGS="$CPPFLAGS"
11753 CPPFLAGS="$CPPFLAGS $DPY_XF86DGA_CFLAGS $DPY_X11_CFLAGS"
11754 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/Xxf86dga.h" "ac_cv_header_X11_extensions_Xxf86dga_h" "#include <X11/Xlib.h>
11755 #include <X11/Xproto.h>
11756 "
11757 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_Xxf86dga_h" = xyes
11758 then :
11759 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XXF86DGA_H 1" >>confdefs.h
11760
11761 fi
11762 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86dgaproto.h" "ac_cv_header_X11_extensions_xf86dgaproto_h" "#include <X11/Xlib.h>
11763 #include <X11/Xproto.h>
11764 "
11765 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86dgaproto_h" = xyes
11766 then :
11767 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86DGAPROTO_H 1" >>confdefs.h
11768
11769 fi
11770 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86dga.h" "ac_cv_header_X11_extensions_xf86dga_h" "#include <X11/Xlib.h>
11771 #include <X11/Xproto.h>
11772 "
11773 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86dga_h" = xyes
11774 then :
11775 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86DGA_H 1" >>confdefs.h
11776
11777 fi
11778 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86dgastr.h" "ac_cv_header_X11_extensions_xf86dgastr_h" "#include <X11/Xlib.h>
11779 #include <X11/Xproto.h>
11780 "
11781 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86dgastr_h" = xyes
11782 then :
11783 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86DGASTR_H 1" >>confdefs.h
11784
11785 fi
11786
11787 CPPFLAGS="$SAVE_CPPFLAGS"
11788 fi
11789 else
11790 echoscip-shell system . . echo. "without dga"
11791 fi
11792
11793
11794
11795 # Check whether --with-xf86misc was given.
11796 if testscip-shell system . . test. ${with_xf86misc+y}
11797 then :
11798 withval=$with_xf86misc; USE_XF86MISC="$withval"
11799 else $as_nop
11800 USE_XF86MISC="no"
11801 fi
11802
11803 if testscip-shell system . . test. "x$USE_XF86MISC" != "xno" ; then
11804
11805 pkg_failed=no
11806 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XF86MISC" >&5
11807 printfscip-shell system . . printf. %s "checking for DPY_XF86MISC... " >&6; }
11808
11809 if testscip-shell system . . test. -n "$DPY_XF86MISC_CFLAGS"; then
11810 pkg_cv_DPY_XF86MISC_CFLAGS="$DPY_XF86MISC_CFLAGS"
11811 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
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 \"xxf86misc\""; } >&5
11814 ($PKG_CONFIG --exists --print-errors "xxf86misc") 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_DPY_XF86MISC_CFLAGS=`$PKG_CONFIG --cflags "xxf86misc" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11819 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11820 else
11821 pkg_failed=yes
11822 fi
11823 else
11824 pkg_failed=untried
11825 fi
11826 if testscip-shell system . . test. -n "$DPY_XF86MISC_LIBS"; then
11827 pkg_cv_DPY_XF86MISC_LIBS="$DPY_XF86MISC_LIBS"
11828 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11829 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11830 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86misc\""; } >&5
11831 ($PKG_CONFIG --exists --print-errors "xxf86misc") 2>&5
11832 ac_status=$?
11833 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11834 testscip-shell system . . test. $ac_status = 0; }; then
11835 pkg_cv_DPY_XF86MISC_LIBS=`$PKG_CONFIG --libs "xxf86misc" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11836 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11837 else
11838 pkg_failed=yes
11839 fi
11840 else
11841 pkg_failed=untried
11842 fi
11843
11844
11845
11846 if testscip-shell system . . test. $pkg_failed = yes; then
11847 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11849
11850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11851 _pkg_short_errors_supported=yes
11852 else
11853 _pkg_short_errors_supported=no
11854 fi
11855 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11856 DPY_XF86MISC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xxf86misc" 2>&1`
11857 else
11858 DPY_XF86MISC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xxf86misc" 2>&1`
11859 fi
11860 # Put the nasty error message in config.log where it belongs
11861 echoscip-shell system . . echo. "$DPY_XF86MISC_PKG_ERRORS" >&5
11862
11863 echoscip-shell system . . echo. "not found"
11864 elif testscip-shell system . . test. $pkg_failed = untried; then
11865 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11867 echoscip-shell system . . echo. "not found"
11868 else
11869 DPY_XF86MISC_CFLAGS=$pkg_cv_DPY_XF86MISC_CFLAGS
11870 DPY_XF86MISC_LIBS=$pkg_cv_DPY_XF86MISC_LIBS
11871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11872 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11873 SAVE_CPPFLAGS="$CPPFLAGS"
11874 CPPFLAGS="$CPPFLAGS $DPY_XF86MISC_CFLAGS $DPY_X11_CFLAGS"
11875 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86misc.h" "ac_cv_header_X11_extensions_xf86misc_h" "#include <X11/Xlib.h>
11876 #include <X11/Xproto.h>
11877 "
11878 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86misc_h" = xyes
11879 then :
11880 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86MISC_H 1" >>confdefs.h
11881
11882 fi
11883 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/xf86mscstr.h" "ac_cv_header_X11_extensions_xf86mscstr_h" "#include <X11/Xlib.h>
11884 #include <X11/Xproto.h>
11885 "
11886 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_xf86mscstr_h" = xyes
11887 then :
11888 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XF86MSCSTR_H 1" >>confdefs.h
11889
11890 fi
11891
11892 CPPFLAGS="$SAVE_CPPFLAGS"
11893 fi
11894 else
11895 echoscip-shell system . . echo. "without xf86misc"
11896 fi
11897
11898
11899 pkg_failed=no
11900 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XINPUT" >&5
11901 printfscip-shell system . . printf. %s "checking for DPY_XINPUT... " >&6; }
11902
11903 if testscip-shell system . . test. -n "$DPY_XINPUT_CFLAGS"; then
11904 pkg_cv_DPY_XINPUT_CFLAGS="$DPY_XINPUT_CFLAGS"
11905 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11906 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11907 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
11908 ($PKG_CONFIG --exists --print-errors "xi") 2>&5
11909 ac_status=$?
11910 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11911 testscip-shell system . . test. $ac_status = 0; }; then
11912 pkg_cv_DPY_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "xi" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11913 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11914 else
11915 pkg_failed=yes
11916 fi
11917 else
11918 pkg_failed=untried
11919 fi
11920 if testscip-shell system . . test. -n "$DPY_XINPUT_LIBS"; then
11921 pkg_cv_DPY_XINPUT_LIBS="$DPY_XINPUT_LIBS"
11922 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11923 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11924 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
11925 ($PKG_CONFIG --exists --print-errors "xi") 2>&5
11926 ac_status=$?
11927 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928 testscip-shell system . . test. $ac_status = 0; }; then
11929 pkg_cv_DPY_XINPUT_LIBS=`$PKG_CONFIG --libs "xi" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11930 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11931 else
11932 pkg_failed=yes
11933 fi
11934 else
11935 pkg_failed=untried
11936 fi
11937
11938
11939
11940 if testscip-shell system . . test. $pkg_failed = yes; then
11941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11942 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11943
11944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11945 _pkg_short_errors_supported=yes
11946 else
11947 _pkg_short_errors_supported=no
11948 fi
11949 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11950 DPY_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi" 2>&1`
11951 else
11952 DPY_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi" 2>&1`
11953 fi
11954 # Put the nasty error message in config.log where it belongs
11955 echoscip-shell system . . echo. "$DPY_XINPUT_PKG_ERRORS" >&5
11956
11957 echoscip-shell system . . echo. "not found"
11958 elif testscip-shell system . . test. $pkg_failed = untried; then
11959 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11961 echoscip-shell system . . echo. "not found"
11962 else
11963 DPY_XINPUT_CFLAGS=$pkg_cv_DPY_XINPUT_CFLAGS
11964 DPY_XINPUT_LIBS=$pkg_cv_DPY_XINPUT_LIBS
11965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11967 SAVE_CPPFLAGS="$CPPFLAGS"
11968 CPPFLAGS="$CPPFLAGS $DPY_XINPUT_CFLAGS $DPY_X11_CFLAGS"
11969 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#include <X11/Xlib.h>
11970 "
11971 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_XInput_h" = xyes
11972 then :
11973 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
11974
11975 fi
11976
11977 CPPFLAGS="$SAVE_CPPFLAGS"
11978 fi
11979
11980
11981 pkg_failed=no
11982 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XRENDER" >&5
11983 printfscip-shell system . . printf. %s "checking for DPY_XRENDER... " >&6; }
11984
11985 if testscip-shell system . . test. -n "$DPY_XRENDER_CFLAGS"; then
11986 pkg_cv_DPY_XRENDER_CFLAGS="$DPY_XRENDER_CFLAGS"
11987 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
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 \"xrender\""; } >&5
11990 ($PKG_CONFIG --exists --print-errors "xrender") 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_DPY_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11995 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11996 else
11997 pkg_failed=yes
11998 fi
11999 else
12000 pkg_failed=untried
12001 fi
12002 if testscip-shell system . . test. -n "$DPY_XRENDER_LIBS"; then
12003 pkg_cv_DPY_XRENDER_LIBS="$DPY_XRENDER_LIBS"
12004 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12005 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12006 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender\""; } >&5
12007 ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
12008 ac_status=$?
12009 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010 testscip-shell system . . test. $ac_status = 0; }; then
12011 pkg_cv_DPY_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12012 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12013 else
12014 pkg_failed=yes
12015 fi
12016 else
12017 pkg_failed=untried
12018 fi
12019
12020
12021
12022 if testscip-shell system . . test. $pkg_failed = yes; then
12023 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12025
12026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12027 _pkg_short_errors_supported=yes
12028 else
12029 _pkg_short_errors_supported=no
12030 fi
12031 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12032 DPY_XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender" 2>&1`
12033 else
12034 DPY_XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender" 2>&1`
12035 fi
12036 # Put the nasty error message in config.log where it belongs
12037 echoscip-shell system . . echo. "$DPY_XRENDER_PKG_ERRORS" >&5
12038
12039 echoscip-shell system . . echo. "not found"
12040 elif testscip-shell system . . test. $pkg_failed = untried; then
12041 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12043 echoscip-shell system . . echo. "not found"
12044 else
12045 DPY_XRENDER_CFLAGS=$pkg_cv_DPY_XRENDER_CFLAGS
12046 DPY_XRENDER_LIBS=$pkg_cv_DPY_XRENDER_LIBS
12047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12048 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12049 SAVE_CPPFLAGS="$CPPFLAGS"
12050 CPPFLAGS="$CPPFLAGS $DPY_XRENDER_CFLAGS $DPY_X11_CFLAGS"
12051 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#include <X11/Xlib.h>
12052 "
12053 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
12054 then :
12055 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
12056
12057 fi
12058
12059 CPPFLAGS="$SAVE_CPPFLAGS"
12060 fi
12061
12062
12063 pkg_failed=no
12064 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XCOMPOSITE" >&5
12065 printfscip-shell system . . printf. %s "checking for DPY_XCOMPOSITE... " >&6; }
12066
12067 if testscip-shell system . . test. -n "$DPY_XCOMPOSITE_CFLAGS"; then
12068 pkg_cv_DPY_XCOMPOSITE_CFLAGS="$DPY_XCOMPOSITE_CFLAGS"
12069 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12070 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12071 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite\""; } >&5
12072 ($PKG_CONFIG --exists --print-errors "xcomposite") 2>&5
12073 ac_status=$?
12074 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075 testscip-shell system . . test. $ac_status = 0; }; then
12076 pkg_cv_DPY_XCOMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcomposite" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12077 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12078 else
12079 pkg_failed=yes
12080 fi
12081 else
12082 pkg_failed=untried
12083 fi
12084 if testscip-shell system . . test. -n "$DPY_XCOMPOSITE_LIBS"; then
12085 pkg_cv_DPY_XCOMPOSITE_LIBS="$DPY_XCOMPOSITE_LIBS"
12086 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12087 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12088 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite\""; } >&5
12089 ($PKG_CONFIG --exists --print-errors "xcomposite") 2>&5
12090 ac_status=$?
12091 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092 testscip-shell system . . test. $ac_status = 0; }; then
12093 pkg_cv_DPY_XCOMPOSITE_LIBS=`$PKG_CONFIG --libs "xcomposite" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12094 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12095 else
12096 pkg_failed=yes
12097 fi
12098 else
12099 pkg_failed=untried
12100 fi
12101
12102
12103
12104 if testscip-shell system . . test. $pkg_failed = yes; then
12105 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12107
12108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12109 _pkg_short_errors_supported=yes
12110 else
12111 _pkg_short_errors_supported=no
12112 fi
12113 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12114 DPY_XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcomposite" 2>&1`
12115 else
12116 DPY_XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcomposite" 2>&1`
12117 fi
12118 # Put the nasty error message in config.log where it belongs
12119 echoscip-shell system . . echo. "$DPY_XCOMPOSITE_PKG_ERRORS" >&5
12120
12121 echoscip-shell system . . echo. "not found"
12122 elif testscip-shell system . . test. $pkg_failed = untried; then
12123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12125 echoscip-shell system . . echo. "not found"
12126 else
12127 DPY_XCOMPOSITE_CFLAGS=$pkg_cv_DPY_XCOMPOSITE_CFLAGS
12128 DPY_XCOMPOSITE_LIBS=$pkg_cv_DPY_XCOMPOSITE_LIBS
12129 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12130 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12131 SAVE_CPPFLAGS="$CPPFLAGS"
12132 CPPFLAGS="$CPPFLAGS $DPY_XCOMPOSITE_CFLAGS $DPY_X11_CFLAGS"
12133 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#include <X11/Xlib.h>
12134 "
12135 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
12136 then :
12137 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
12138
12139 fi
12140
12141 CPPFLAGS="$SAVE_CPPFLAGS"
12142 fi
12143
12144
12145 # Check whether --with-xinerama was given.
12146 if testscip-shell system . . test. ${with_xinerama+y}
12147 then :
12148 withval=$with_xinerama; USE_XINERAMA="$withval"
12149 else $as_nop
12150 USE_XINERAMA="yes"
12151 fi
12152
12153 if testscip-shell system . . test. "x$USE_XINERAMA" != "xno" ; then
12154
12155 pkg_failed=no
12156 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XINERAMA" >&5
12157 printfscip-shell system . . printf. %s "checking for DPY_XINERAMA... " >&6; }
12158
12159 if testscip-shell system . . test. -n "$DPY_XINERAMA_CFLAGS"; then
12160 pkg_cv_DPY_XINERAMA_CFLAGS="$DPY_XINERAMA_CFLAGS"
12161 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12162 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12163 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
12164 ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
12165 ac_status=$?
12166 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167 testscip-shell system . . test. $ac_status = 0; }; then
12168 pkg_cv_DPY_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12169 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12170 else
12171 pkg_failed=yes
12172 fi
12173 else
12174 pkg_failed=untried
12175 fi
12176 if testscip-shell system . . test. -n "$DPY_XINERAMA_LIBS"; then
12177 pkg_cv_DPY_XINERAMA_LIBS="$DPY_XINERAMA_LIBS"
12178 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12179 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12180 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
12181 ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
12182 ac_status=$?
12183 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12184 testscip-shell system . . test. $ac_status = 0; }; then
12185 pkg_cv_DPY_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12186 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12187 else
12188 pkg_failed=yes
12189 fi
12190 else
12191 pkg_failed=untried
12192 fi
12193
12194
12195
12196 if testscip-shell system . . test. $pkg_failed = yes; then
12197 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12198 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12199
12200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12201 _pkg_short_errors_supported=yes
12202 else
12203 _pkg_short_errors_supported=no
12204 fi
12205 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12206 DPY_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xinerama" 2>&1`
12207 else
12208 DPY_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xinerama" 2>&1`
12209 fi
12210 # Put the nasty error message in config.log where it belongs
12211 echoscip-shell system . . echo. "$DPY_XINERAMA_PKG_ERRORS" >&5
12212
12213 echoscip-shell system . . echo. "not found"
12214 elif testscip-shell system . . test. $pkg_failed = untried; then
12215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12216 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12217 echoscip-shell system . . echo. "not found"
12218 else
12219 DPY_XINERAMA_CFLAGS=$pkg_cv_DPY_XINERAMA_CFLAGS
12220 DPY_XINERAMA_LIBS=$pkg_cv_DPY_XINERAMA_LIBS
12221 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12222 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12223 SAVE_CPPFLAGS="$CPPFLAGS"
12224 CPPFLAGS="$CPPFLAGS $DPY_XINERAMA_CFLAGS $DPY_X11_CFLAGS"
12225 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#include <X11/Xlib.h>
12226 "
12227 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
12228 then :
12229 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
12230
12231 fi
12232
12233 CPPFLAGS="$SAVE_CPPFLAGS"
12234 fi
12235 else
12236 echoscip-shell system . . echo. "without xinerama"
12237 fi
12238
12239
12240 # Check whether --with-dmx was given.
12241 if testscip-shell system . . test. ${with_dmx+y}
12242 then :
12243 withval=$with_dmx; USE_DMX="$withval"
12244 else $as_nop
12245 USE_DMX="no"
12246 fi
12247
12248 if testscip-shell system . . test. "x$USE_DMX" != "xno" ; then
12249
12250 pkg_failed=no
12251 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_DMX" >&5
12252 printfscip-shell system . . printf. %s "checking for DPY_DMX... " >&6; }
12253
12254 if testscip-shell system . . test. -n "$DPY_DMX_CFLAGS"; then
12255 pkg_cv_DPY_DMX_CFLAGS="$DPY_DMX_CFLAGS"
12256 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
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 \"dmx\""; } >&5
12259 ($PKG_CONFIG --exists --print-errors "dmx") 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_DPY_DMX_CFLAGS=`$PKG_CONFIG --cflags "dmx" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12264 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12265 else
12266 pkg_failed=yes
12267 fi
12268 else
12269 pkg_failed=untried
12270 fi
12271 if testscip-shell system . . test. -n "$DPY_DMX_LIBS"; then
12272 pkg_cv_DPY_DMX_LIBS="$DPY_DMX_LIBS"
12273 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12274 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12275 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dmx\""; } >&5
12276 ($PKG_CONFIG --exists --print-errors "dmx") 2>&5
12277 ac_status=$?
12278 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 testscip-shell system . . test. $ac_status = 0; }; then
12280 pkg_cv_DPY_DMX_LIBS=`$PKG_CONFIG --libs "dmx" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12281 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12282 else
12283 pkg_failed=yes
12284 fi
12285 else
12286 pkg_failed=untried
12287 fi
12288
12289
12290
12291 if testscip-shell system . . test. $pkg_failed = yes; then
12292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12294
12295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12296 _pkg_short_errors_supported=yes
12297 else
12298 _pkg_short_errors_supported=no
12299 fi
12300 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12301 DPY_DMX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dmx" 2>&1`
12302 else
12303 DPY_DMX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dmx" 2>&1`
12304 fi
12305 # Put the nasty error message in config.log where it belongs
12306 echoscip-shell system . . echo. "$DPY_DMX_PKG_ERRORS" >&5
12307
12308 echoscip-shell system . . echo. "not found"
12309 elif testscip-shell system . . test. $pkg_failed = untried; then
12310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12312 echoscip-shell system . . echo. "not found"
12313 else
12314 DPY_DMX_CFLAGS=$pkg_cv_DPY_DMX_CFLAGS
12315 DPY_DMX_LIBS=$pkg_cv_DPY_DMX_LIBS
12316 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12317 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12318 SAVE_CPPFLAGS="$CPPFLAGS"
12319 CPPFLAGS="$CPPFLAGS $DPY_DMX_CFLAGS $DPY_X11_CFLAGS"
12320 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/dmxext.h" "ac_cv_header_X11_extensions_dmxext_h" "#include <X11/Xlib.h>
12321 "
12322 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_dmxext_h" = xyes
12323 then :
12324 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_DMXEXT_H 1" >>confdefs.h
12325
12326 fi
12327
12328 CPPFLAGS="$SAVE_CPPFLAGS"
12329 fi
12330 else
12331 echoscip-shell system . . echo. "without dmx"
12332 fi
12333
12334
12335 pkg_failed=no
12336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPY_XTST" >&5
12337 printfscip-shell system . . printf. %s "checking for DPY_XTST... " >&6; }
12338
12339 if testscip-shell system . . test. -n "$DPY_XTST_CFLAGS"; then
12340 pkg_cv_DPY_XTST_CFLAGS="$DPY_XTST_CFLAGS"
12341 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12342 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12343 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
12344 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
12345 ac_status=$?
12346 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12347 testscip-shell system . . test. $ac_status = 0; }; then
12348 pkg_cv_DPY_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12349 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12350 else
12351 pkg_failed=yes
12352 fi
12353 else
12354 pkg_failed=untried
12355 fi
12356 if testscip-shell system . . test. -n "$DPY_XTST_LIBS"; then
12357 pkg_cv_DPY_XTST_LIBS="$DPY_XTST_LIBS"
12358 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
12359 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
12360 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
12361 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
12362 ac_status=$?
12363 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12364 testscip-shell system . . test. $ac_status = 0; }; then
12365 pkg_cv_DPY_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
12366 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
12367 else
12368 pkg_failed=yes
12369 fi
12370 else
12371 pkg_failed=untried
12372 fi
12373
12374
12375
12376 if testscip-shell system . . test. $pkg_failed = yes; then
12377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12379
12380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12381 _pkg_short_errors_supported=yes
12382 else
12383 _pkg_short_errors_supported=no
12384 fi
12385 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
12386 DPY_XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xtst" 2>&1`
12387 else
12388 DPY_XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xtst" 2>&1`
12389 fi
12390 # Put the nasty error message in config.log where it belongs
12391 echoscip-shell system . . echo. "$DPY_XTST_PKG_ERRORS" >&5
12392
12393 echoscip-shell system . . echo. "not found"
12394 elif testscip-shell system . . test. $pkg_failed = untried; then
12395 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12396 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12397 echoscip-shell system . . echo. "not found"
12398 else
12399 DPY_XTST_CFLAGS=$pkg_cv_DPY_XTST_CFLAGS
12400 DPY_XTST_LIBS=$pkg_cv_DPY_XTST_LIBS
12401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
12403 SAVE_CPPFLAGS="$CPPFLAGS"
12404 CPPFLAGS="$CPPFLAGS $DPY_XTST_CFLAGS $DPY_X11_CFLAGS"
12405 ac_fn_c_check_header_compilescip-shell shell x11-utils 7.7+7 ac_fn_c_check_header_compile(). "$LINENO" "X11/extensions/record.h" "ac_cv_header_X11_extensions_record_h" "#include <X11/Xlib.h>
12406 "
12407 if testscip-shell system . . test. "x$ac_cv_header_X11_extensions_record_h" = xyes
12408 then :
12409 printfscip-shell system . . printf. "%s\n" "#define HAVE_X11_EXTENSIONS_RECORD_H 1" >>confdefs.h
12410
12411 fi
12412
12413 CPPFLAGS="$SAVE_CPPFLAGS"
12414 fi
12415
12416
12417
12418
12419
12420
12421 # Check whether --with-lint was given.
12422 if testscip-shell system . . test. ${with_lint+y}
12423 then :
12424 withval=$with_lint; use_lint=$withval
12425 else $as_nop
12426 use_lint=no
12427 fi
12428
12429
12430 # Obtain platform specific info like program name and options
12431 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
12432 case $host_os in
12433 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
12434 lint_name=splint
12435 lint_options="-badflag"
12436 ;;
12437 *freebsd* | *netbsd*)
12438 lint_name=lint
12439 lint_options="-u -b"
12440 ;;
12441 *solaris*)
12442 lint_name=lint
12443 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
12444 ;;
12445 esac
12446
12447 # Test for the presence of the program (either guessed by the code or spelled out by the user)
12448 if testscip-shell system . . test. "x$use_lint" = x"yes" ; then
12449 # Extract the first word of "$lint_name", so it can be a program name with args.
12450 set dummy $lint_name; ac_word=$2
12451 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12452 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12453 if testscip-shell system . . test. ${ac_cv_path_LINT+y}
12454 then :
12455 printfscip-shell system . . printf. %s "(cached) " >&6
12456 else $as_nop
12457 case $LINT in
12458 [\\/]* | ?:[\\/]*)
12459 ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
12460 ;;
12461 *)
12462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12463 for as_dir in $PATH
12464 do
12465 IFS=$as_save_IFS
12466 case $as_dir in #(((
12467 '') as_dir=./ ;;
12468 */) ;;
12469 *) as_dir=$as_dir/ ;;
12470 esac
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if as_fn_executable_pscip-shell shell x11-utils 7.7+7 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12473 ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
12474 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12475 break 2
12476 fi
12477 done
12478 done
12479 IFS=$as_save_IFS
12480
12481 ;;
12482 esac
12483 fi
12484 LINT=$ac_cv_path_LINT
12485 if testscip-shell system . . test. -n "$LINT"; then
12486 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
12487 printfscip-shell system . . printf. "%s\n" "$LINT" >&6; }
12488 else
12489 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12491 fi
12492
12493
12494 if testscip-shell system . . test. "x$LINT" = "x"; then
12495 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
12496 fi
12497 elif testscip-shell system . . test. "x$use_lint" = x"no" ; then
12498 if testscip-shell system . . test. "x$LINT" != "x"; then
12499 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
12500 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
12501 fi
12502 else
12503 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
12504 fi
12505
12506 # User supplied flags override default flags
12507 if testscip-shell system . . test. "x$LINT_FLAGS" != "x"; then
12508 lint_options=$LINT_FLAGS
12509 fi
12510
12511 LINT_FLAGS=$lint_options
12512
12513 if testscip-shell system . . test. "x$LINT" != x; then
12514 LINT_TRUE=
12515 LINT_FALSE='#'
12516 else
12517 LINT_TRUE='#'
12518 LINT_FALSE=
12519 fi
12520
12521
12522
12523
12524 ac_config_files="$ac_config_files Makefile man/Makefile"
12525
12526 catscip-shell system . . cat. >confcache <<\_ACEOF
12527 # This file is a shell script that caches the results of configure
12528 # tests run on this system so they can be shared between configure
12529 # scripts and configure runs, see configure's option --config-cache.
12530 # It is not useful on other systems. If it contains results you don't
12531 # want to keep, you may remove or edit it.
12532 #
12533 # config.status only pays attention to the cache file if you give it
12534 # the --recheck option to rerun configure.
12535 #
12536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12538 # following values.
12539
12540 _ACEOF
12541
12542 # The following way of writing the cache mishandles newlines in values,
12543 # but we know of no workaround that is simple, portable, and efficient.
12544 # So, we kill variables containing newlines.
12545 # Ultrix sh set writes to stderr and can't be redirected directly,
12546 # and sets the high bit in the cache file unless we assign to the vars.
12547 (
12548 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12549 eval ac_val=\$$ac_var
12550 case $ac_val in #(
12551 *${as_nl}*)
12552 case $ac_var in #(
12553 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12554 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12555 esac
12556 case $ac_var in #(
12557 _ | IFS | as_nl) ;; #(
12558 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12559 *) { eval $ac_var=; unset $ac_var;} ;;
12560 esac ;;
12561 esac
12562 done
12563
12564 (set) 2>&1 |
12565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12566 *${as_nl}ac_space=\ *)
12567 # `set' does not quote correctly, so add quotes: double-quote
12568 # substitution turns \\\\ into \\, and sed turns \\ into \.
12569 sedscip-shell system . . sed. -n \
12570 "s/'/'\\\\''/g;
12571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12572 ;; #(
12573 *)
12574 # `set' quotes correctly as required by POSIX, so do not add quotes.
12575 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12576 ;;
12577 esac |
12578 sortscip-shell system . . sort.
12579 ) |
12580 sedscip-shell system . . sed. '
12581 /^ac_cv_env_/b end
12582 t clear
12583 :clear
12584 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
12585 t end
12586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12587 :end' >>confcache
12588 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
12589 if testscip-shell system . . test. -w "$cache_file"; then
12590 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
12591 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12592 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
12593 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
12594 catscip-shell system . . cat. confcache >"$cache_file"
12595 else
12596 case $cache_file in #(
12597 */* | ?:*)
12598 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
12599 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
12600 *)
12601 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
12602 esac
12603 fi
12604 fi
12605 else
12606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12607 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
12608 fi
12609 fi
12610 rmscip-shell system . . rm. -f confcache
12611
12612 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
12613 # Let make expand exec_prefix.
12614 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12615
12616 DEFS=-DHAVE_CONFIG_H
12617
12618 ac_libobjs=
12619 ac_ltlibobjs=
12620 U=
12621 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
12622 # 1. Remove the extension, and $U if already installed.
12623 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12624 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
12625 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12626 # will be set to the directory where LIBOBJS objects are built.
12627 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12628 as_fn_appendscip-shell shell x11-utils 7.7+7 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12629 done
12630 LIBOBJS=$ac_libobjs
12631
12632 LTLIBOBJS=$ac_ltlibobjs
12633
12634
12635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12636 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
12637 if testscip-shell system . . test. -n "$am_sleep_pid"; then
12638 # Hide warnings about reused PIDs.
12639 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12640 fi
12641 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
12642 printfscip-shell system . . printf. "%s\n" "done" >&6; }
12643 if testscip-shell system . . test. -n "$EXEEXT"; then
12644 am__EXEEXT_TRUE=
12645 am__EXEEXT_FALSE='#'
12646 else
12647 am__EXEEXT_TRUE='#'
12648 am__EXEEXT_FALSE=
12649 fi
12650
12651 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
12652 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
12653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12654 fi
12655 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
12656 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
12657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12658 fi
12659 if testscip-shell system . . test. -z "${LINT_TRUE}" && testscip-shell system . . test. -z "${LINT_FALSE}"; then
12660 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "conditional \"LINT\" was never defined.
12661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12662 fi
12663
12664 : "${CONFIG_STATUS=./config.status}"
12665 ac_write_fail=0
12666 ac_clean_files_save=$ac_clean_files
12667 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12668 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12669 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
12670 as_write_fail=0
12671 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12672 #! $SHELL
12673 # Generated by $as_me.
12674 # Run this file to recreate the current configuration.
12675 # Compiler output produced by configure, useful for debugging
12676 # configure, is in config.log if it exists.
12677
12678 debug=false
12679 ac_cs_recheck=false
12680 ac_cs_silent=false
12681
12682 SHELL=\${CONFIG_SHELL-$SHELL}
12683 export SHELL
12684 _ASEOF
12685 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12686 ## -------------------- ##
12687 ## M4sh Initialization. ##
12688 ## -------------------- ##
12689
12690 # Be more Bourne compatible
12691 DUALCASE=1; export DUALCASE # for MKS sh
12692 as_nop=:
12693 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
12694 then :
12695 emulate sh
12696 NULLCMD=:
12697 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12698 # is contrary to our usage. Disable this feature.
12699 alias -g '${1+"$@"}'='"$@"'
12700 setopt NO_GLOB_SUBST
12701 else $as_nop
12702 case `(set -o) 2>/dev/null` in #(
12703 *posix*) :
12704 set -o posix ;; #(
12705 *) :
12706 ;;
12707 esac
12708 fi
12709
12710
12711
12712 # Reset variables that may have inherited troublesome values from
12713 # the environment.
12714
12715 # IFS needs to be set, to space, tab, and newline, in precisely that order.
12716 # (If _AS_PATH_WALK were called with IFS unset, it would have the
12717 # side effect of setting IFS to empty, thus disabling word splitting.)
12718 # Quoting is to prevent editors from complaining about space-tab.
12719 as_nl='
12720 '
12721 export as_nl
12722 IFS=" "" $as_nl"
12723
12724 PS1='$ '
12725 PS2='> '
12726 PS4='+ '
12727
12728 # Ensure predictable behavior from utilities with locale-dependent output.
12729 LC_ALL=C
12730 export LC_ALL
12731 LANGUAGE=C
12732 export LANGUAGE
12733
12734 # We cannot yet rely on "unset" to work, but we need these variables
12735 # to be unset--not just set to an empty or harmless value--now, to
12736 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
12737 # also avoids known problems related to "unset" and subshell syntax
12738 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
12739 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
12740 do eval test \${$as_var+y} \
12741 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12742 done
12743
12744 # Ensure that fds 0, 1, and 2 are open.
12745 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
12746 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
12747 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
12748
12749 # The user is always right.
12750 if ${PATH_SEPARATOR+false} :; then
12751 PATH_SEPARATOR=:
12752 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12753 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12754 PATH_SEPARATOR=';'
12755 }
12756 fi
12757
12758
12759 # Find who we are. Look in the path if we contain no directory separator.
12760 as_myself=
12761 case $0 in #((
12762 *[\\/]* ) as_myself=$0 ;;
12763 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $PATH
12765 do
12766 IFS=$as_save_IFS
12767 case $as_dir in #(((
12768 '') as_dir=./ ;;
12769 */) ;;
12770 *) as_dir=$as_dir/ ;;
12771 esac
12772 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
12773 done
12774 IFS=$as_save_IFS
12775
12776 ;;
12777 esac
12778 # We did not find ourselves, most probably we were run as `sh COMMAND'
12779 # in which case we are not to be found in the path.
12780 if test "x$as_myself" = x; then
12781 as_myself=$0
12782 fi
12783 if test ! -f "$as_myself"; then
12784 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12785 exit 1
12786 fi
12787
12788
12789
12790 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12791 # ----------------------------------------
12792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12794 # script with STATUS, using 1 if that was 0.
12795 as_fn_error ()
12796 {
12797 as_status=$1; test $as_status -eq 0 && as_status=1
12798 if test "$4"; then
12799 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12801 fi
12802 printf "%s\n" "$as_me: error: $2" >&2
12803 as_fn_exit $as_status
12804 } # as_fn_error
12805
12806
12807
12808 # as_fn_set_status STATUS
12809 # -----------------------
12810 # Set $? to STATUS, without forking.
12811 as_fn_set_status ()
12812 {
12813 return $1
12814 } # as_fn_set_status
12815
12816 # as_fn_exit STATUS
12817 # -----------------
12818 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12819 as_fn_exit ()
12820 {
12821 set +e
12822 as_fn_set_status $1
12823 exit $1
12824 } # as_fn_exit
12825
12826 # as_fn_unset VAR
12827 # ---------------
12828 # Portably unset VAR.
12829 as_fn_unset ()
12830 {
12831 { eval $1=; unset $1;}
12832 }
12833 as_unset=as_fn_unset
12834
12835 # as_fn_append VAR VALUE
12836 # ----------------------
12837 # Append the text in VALUE to the end of the definition contained in VAR. Take
12838 # advantage of any shell optimizations that allow amortized linear growth over
12839 # repeated appends, instead of the typical quadratic growth present in naive
12840 # implementations.
12841 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
12842 then :
12843 eval 'as_fn_append ()
12844 {
12845 eval $1+=\$2
12846 }'
12847 else $as_nop
12848 as_fn_append ()
12849 {
12850 eval $1=\$$1\$2
12851 }
12852 fi # as_fn_append
12853
12854 # as_fn_arith ARG...
12855 # ------------------
12856 # Perform arithmetic evaluation on the ARGs, and store the result in the
12857 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12858 # must be portable across $(()) and expr.
12859 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
12860 then :
12861 eval 'as_fn_arith ()
12862 {
12863 as_val=$(( $* ))
12864 }'
12865 else $as_nop
12866 as_fn_arith ()
12867 {
12868 as_val=`expr "$@" || test $? -eq 1`
12869 }
12870 fi # as_fn_arith
12871
12872
12873 if expr a : '\(a\)' >/dev/null 2>&1 &&
12874 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12875 as_expr=expr
12876 else
12877 as_expr=false
12878 fi
12879
12880 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12881 as_basename=basename
12882 else
12883 as_basename=false
12884 fi
12885
12886 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12887 as_dirname=dirname
12888 else
12889 as_dirname=false
12890 fi
12891
12892 as_me=`$as_basename -- "$0" ||
12893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12894 X"$0" : 'X\(//\)$' \| \
12895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12896 printf "%s\n" X/"$0" |
12897 sed '/^.*\/\([^/][^/]*\)\/*$/{
12898 s//\1/
12899 q
12900 }
12901 /^X\/\(\/\/\)$/{
12902 s//\1/
12903 q
12904 }
12905 /^X\/\(\/\).*/{
12906 s//\1/
12907 q
12908 }
12909 s/.*/./; q'`
12910
12911 # Avoid depending upon Character Ranges.
12912 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12913 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12914 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12915 as_cr_digits='0123456789'
12916 as_cr_alnum=$as_cr_Letters$as_cr_digits
12917
12918
12919 # Determine whether it's possible to make 'echo' print without a newline.
12920 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
12921 # for compatibility with existing Makefiles.
12922 ECHO_C= ECHO_N= ECHO_T=
12923 case `echo -n x` in #(((((
12924 -n*)
12925 case `echo 'xy\c'` in
12926 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12927 xy) ECHO_C='\c';;
12928 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12929 ECHO_T=' ';;
12930 esac;;
12931 *)
12932 ECHO_N='-n';;
12933 esac
12934
12935 # For backward compatibility with old third-party macros, we provide
12936 # the shell variables $as_echo and $as_echo_n. New code should use
12937 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
12938 as_echo='printf %s\n'
12939 as_echo_n='printf %s'
12940
12941 rm -f conf$$ conf$$.exe conf$$.file
12942 if test -d conf$$.dir; then
12943 rm -f conf$$.dir/conf$$.file
12944 else
12945 rm -f conf$$.dir
12946 mkdir conf$$.dir 2>/dev/null
12947 fi
12948 if (echo >conf$$.file) 2>/dev/null; then
12949 if ln -s conf$$.file conf$$ 2>/dev/null; then
12950 as_ln_s='ln -s'
12951 # ... but there are two gotchas:
12952 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12953 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12954 # In both cases, we have to default to `cp -pR'.
12955 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12956 as_ln_s='cp -pR'
12957 elif ln conf$$.file conf$$ 2>/dev/null; then
12958 as_ln_s=ln
12959 else
12960 as_ln_s='cp -pR'
12961 fi
12962 else
12963 as_ln_s='cp -pR'
12964 fi
12965 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12966 rmdir conf$$.dir 2>/dev/null
12967
12968
12969 # as_fn_mkdir_p
12970 # -------------
12971 # Create "$as_dir" as a directory, including parents if necessary.
12972 as_fn_mkdir_p ()
12973 {
12974
12975 case $as_dir in #(
12976 -*) as_dir=./$as_dir;;
12977 esac
12978 test -d "$as_dir" || eval $as_mkdir_p || {
12979 as_dirs=
12980 while :; do
12981 case $as_dir in #(
12982 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12983 *) as_qdir=$as_dir;;
12984 esac
12985 as_dirs="'$as_qdir' $as_dirs"
12986 as_dir=`$as_dirname -- "$as_dir" ||
12987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12988 X"$as_dir" : 'X\(//\)[^/]' \| \
12989 X"$as_dir" : 'X\(//\)$' \| \
12990 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12991 printf "%s\n" X"$as_dir" |
12992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12993 s//\1/
12994 q
12995 }
12996 /^X\(\/\/\)[^/].*/{
12997 s//\1/
12998 q
12999 }
13000 /^X\(\/\/\)$/{
13001 s//\1/
13002 q
13003 }
13004 /^X\(\/\).*/{
13005 s//\1/
13006 q
13007 }
13008 s/.*/./; q'`
13009 test -d "$as_dir" && break
13010 done
13011 test -z "$as_dirs" || eval "mkdir $as_dirs"
13012 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13013
13014
13015 } # as_fn_mkdir_p
13016 if mkdir -p . 2>/dev/null; then
13017 as_mkdir_p='mkdir -p "$as_dir"'
13018 else
13019 test -d ./-p && rmdir ./-p
13020 as_mkdir_p=false
13021 fi
13022
13023
13024 # as_fn_executable_p FILE
13025 # -----------------------
13026 # Test if FILE is an executable regular file.
13027 as_fn_executable_p ()
13028 {
13029 test -f "$1" && test -x "$1"
13030 } # as_fn_executable_p
13031 as_test_x='test -x'
13032 as_executable_p=as_fn_executable_p
13033
13034 # Sed expression to map a string onto a valid CPP name.
13035 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13036
13037 # Sed expression to map a string onto a valid variable name.
13038 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13039
13040
13041 exec 6>&1
13042 ## ----------------------------------- ##
13043 ## Main body of $CONFIG_STATUS script. ##
13044 ## ----------------------------------- ##
13045 _ASEOF
13046 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
13047
13048 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13049 # Save the log message, to keep $0 and so on meaningful, and to
13050 # report actual input values of CONFIG_FILES etc. instead of their
13051 # values after options handling.
13052 ac_log="
13053 This file was extended by xdpyinfo $as_me 1.3.4, which was
13054 generated by GNU Autoconf 2.71. Invocation command line was
13055
13056 CONFIG_FILES = $CONFIG_FILES
13057 CONFIG_HEADERS = $CONFIG_HEADERS
13058 CONFIG_LINKS = $CONFIG_LINKS
13059 CONFIG_COMMANDS = $CONFIG_COMMANDS
13060 $ $0 $@
13061
13062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13063 "
13064
13065 _ACEOF
13066
13067 case $ac_config_files in *"
13068 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13069 esac
13070
13071 case $ac_config_headers in *"
13072 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13073 esac
13074
13075
13076 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13077 # Files that config.status was made for.
13078 config_files="$ac_config_files"
13079 config_headers="$ac_config_headers"
13080 config_commands="$ac_config_commands"
13081
13082 _ACEOF
13083
13084 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13085 ac_cs_usage="\
13086 \`$as_me' instantiates files and other configuration actions
13087 from templates according to the current configuration. Unless the files
13088 and actions are specified as TAGs, all are instantiated by default.
13089
13090 Usage: $0 [OPTION]... [TAG]...
13091
13092 -h, --help print this help, then exit
13093 -V, --version print version number and configuration settings, then exit
13094 --config print configuration, then exit
13095 -q, --quiet, --silent
13096 do not print progress messages
13097 -d, --debug don't remove temporary files
13098 --recheck update $as_me by reconfiguring in the same conditions
13099 --file=FILE[:TEMPLATE]
13100 instantiate the configuration file FILE
13101 --header=FILE[:TEMPLATE]
13102 instantiate the configuration header FILE
13103
13104 Configuration files:
13105 $config_files
13106
13107 Configuration headers:
13108 $config_headers
13109
13110 Configuration commands:
13111 $config_commands
13112
13113 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdpyinfo/-/issues>."
13114
13115 _ACEOF
13116 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
13117 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
13118 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13119 ac_cs_config='$ac_cs_config_escaped'
13120 ac_cs_version="\\
13121 xdpyinfo config.status 1.3.4
13122 configured by $0, generated by GNU Autoconf 2.71,
13123 with options \\"\$ac_cs_config\\"
13124
13125 Copyright (C) 2021 Free Software Foundation, Inc.
13126 This config.status script is free software; the Free Software Foundation
13127 gives unlimited permission to copy, distribute and modify it."
13128
13129 ac_pwd='$ac_pwd'
13130 srcdir='$srcdir'
13131 INSTALL='$INSTALL'
13132 MKDIR_P='$MKDIR_P'
13133 AWK='$AWK'
13134 test -n "\$AWK" || AWK=awk
13135 _ACEOF
13136
13137 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13138 # The default lists apply if the user does not specify any file.
13139 ac_need_defaults=:
13140 while test $# != 0
13141 do
13142 case $1 in
13143 --*=?*)
13144 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13145 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13146 ac_shift=:
13147 ;;
13148 --*=)
13149 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13150 ac_optarg=
13151 ac_shift=:
13152 ;;
13153 *)
13154 ac_option=$1
13155 ac_optarg=$2
13156 ac_shift=shift
13157 ;;
13158 esac
13159
13160 case $ac_option in
13161 # Handling of the options.
13162 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13163 ac_cs_recheck=: ;;
13164 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13165 printf "%s\n" "$ac_cs_version"; exit ;;
13166 --config | --confi | --conf | --con | --co | --c )
13167 printf "%s\n" "$ac_cs_config"; exit ;;
13168 --debug | --debu | --deb | --de | --d | -d )
13169 debug=: ;;
13170 --file | --fil | --fi | --f )
13171 $ac_shift
13172 case $ac_optarg in
13173 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13174 '') as_fn_error $? "missing file argument" ;;
13175 esac
13176 as_fn_append CONFIG_FILES " '$ac_optarg'"
13177 ac_need_defaults=false;;
13178 --header | --heade | --head | --hea )
13179 $ac_shift
13180 case $ac_optarg in
13181 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13182 esac
13183 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13184 ac_need_defaults=false;;
13185 --he | --h)
13186 # Conflict between --help and --header
13187 as_fn_error $? "ambiguous option: \`$1'
13188 Try \`$0 --help' for more information.";;
13189 --help | --hel | -h )
13190 printf "%s\n" "$ac_cs_usage"; exit ;;
13191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13192 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13193 ac_cs_silent=: ;;
13194
13195 # This is an error.
13196 -*) as_fn_error $? "unrecognized option: \`$1'
13197 Try \`$0 --help' for more information." ;;
13198
13199 *) as_fn_append ac_config_targets " $1"
13200 ac_need_defaults=false ;;
13201
13202 esac
13203 shift
13204 done
13205
13206 ac_configure_extra_args=
13207
13208 if $ac_cs_silent; then
13209 exec 6>/dev/null
13210 ac_configure_extra_args="$ac_configure_extra_args --silent"
13211 fi
13212
13213 _ACEOF
13214 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13215 if \$ac_cs_recheck; then
13216 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13217 shift
13218 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
13219 CONFIG_SHELL='$SHELL'
13220 export CONFIG_SHELL
13221 exec "\$@"
13222 fi
13223
13224 _ACEOF
13225 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13226 exec 5>>config.log
13227 {
13228 echo
13229 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13230 ## Running $as_me. ##
13231 _ASBOX
13232 printf "%s\n" "$ac_log"
13233 } >&5
13234
13235 _ACEOF
13236 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13237 #
13238 # INIT-COMMANDS
13239 #
13240 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13241
13242 _ACEOF
13243
13244 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13245
13246 # Handling of arguments.
13247 for ac_config_target in $ac_config_targets
13248 do
13249 case $ac_config_target in
13250 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13251 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13252 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13253 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13254
13255 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13256 esac
13257 done
13258
13259
13260 # If the user did not use the arguments to specify the items to instantiate,
13261 # then the envvar interface is used. Set only those that are not.
13262 # We use the long form for the default assignment because of an extremely
13263 # bizarre bug on SunOS 4.1.3.
13264 if $ac_need_defaults; then
13265 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
13266 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
13267 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
13268 fi
13269
13270 # Have a temporary directory for convenience. Make it in the build tree
13271 # simply because there is no reason against having it here, and in addition,
13272 # creating and moving files from /tmp can sometimes cause problems.
13273 # Hook for its removal unless debugging.
13274 # Note that there is a small window in which the directory will not be cleaned:
13275 # after its creation but before its name has been assigned to `$tmp'.
13276 $debug ||
13277 {
13278 tmp= ac_tmp=
13279 trap 'exit_status=$?
13280 : "${ac_tmp:=$tmp}"
13281 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13282 ' 0
13283 trap 'as_fn_exit 1' 1 2 13 15
13284 }
13285 # Create a (secure) tmp directory for tmp files.
13286
13287 {
13288 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13289 test -d "$tmp"
13290 } ||
13291 {
13292 tmp=./conf$$-$RANDOM
13293 (umask 077 && mkdir "$tmp")
13294 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13295 ac_tmp=$tmp
13296
13297 # Set up the scripts for CONFIG_FILES section.
13298 # No need to generate them if there are no CONFIG_FILES.
13299 # This happens for instance with `./config.status config.h'.
13300 if test -n "$CONFIG_FILES"; then
13301
13302
13303 ac_cr=`echo X | tr X '\015'`
13304 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13305 # But we know of no other shell where ac_cr would be empty at this
13306 # point, so we can use a bashism as a fallback.
13307 if test "x$ac_cr" = x; then
13308 eval ac_cr=\$\'\\r\'
13309 fi
13310 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13311 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13312 ac_cs_awk_cr='\\r'
13313 else
13314 ac_cs_awk_cr=$ac_cr
13315 fi
13316
13317 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13318 _ACEOF
13319
13320
13321 {
13322 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
13323 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
13324 echoscip-shell system . . echo. "_ACEOF"
13325 } >conf$$subs.sh ||
13326 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
13327 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
13328 ac_delim='%!_!# '
13329 for ac_last_try in false false false false false :; do
13330 . ./conf$$subs.sh ||
13331 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
13332
13333 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
13334 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
13335 break
13336 elif $ac_last_try; then
13337 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
13338 else
13339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13340 fi
13341 done
13342 rmscip-shell system . . rm. -f conf$$subs.sh
13343
13344 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13345 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13346 _ACEOF
13347 sedscip-shell system . . sed. -n '
13348 h
13349 s/^/S["/; s/!.*/"]=/
13350 p
13351 g
13352 s/^[^!]*!//
13353 :repl
13354 t repl
13355 s/'"$ac_delim"'$//
13356 t delim
13357 :nl
13358 h
13359 s/\(.\{148\}\)..*/\1/
13360 t more1
13361 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13362 p
13363 n
13364 b repl
13365 :more1
13366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13367 p
13368 g
13369 s/.\{148\}//
13370 t nl
13371 :delim
13372 h
13373 s/\(.\{148\}\)..*/\1/
13374 t more2
13375 s/["\\]/\\&/g; s/^/"/; s/$/"/
13376 p
13377 b
13378 :more2
13379 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13380 p
13381 g
13382 s/.\{148\}//
13383 t delim
13384 ' <conf$$subs.awk | sedscip-shell system . . sed. '
13385 /^[^""]/{
13386 N
13387 s/\n//
13388 }
13389 ' >>$CONFIG_STATUS || ac_write_fail=1
13390 rmscip-shell system . . rm. -f conf$$subs.awk
13391 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13392 _ACAWK
13393 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13394 for (key in S) S_is_set[key] = 1
13395 FS = ""
13396
13397 }
13398 {
13399 line = $ 0
13400 nfields = split(line, field, "@")
13401 substed = 0
13402 len = length(field[1])
13403 for (i = 2; i < nfields; i++) {
13404 key = field[i]
13405 keylen = length(key)
13406 if (S_is_set[key]) {
13407 value = S[key]
13408 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13409 len += length(value) + length(field[++i])
13410 substed = 1
13411 } else
13412 len += 1 + keylen
13413 }
13414
13415 print line
13416 }
13417
13418 _ACAWK
13419 _ACEOF
13420 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13421 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13422 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13423 else
13424 cat
13425 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13426 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13427 _ACEOF
13428
13429 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13430 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13431 # trailing colons and then remove the whole line if VPATH becomes empty
13432 # (actually we leave an empty line to preserve line numbers).
13433 if testscip-shell system . . test. "x$srcdir" = x.; then
13434 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13435 h
13436 s///
13437 s/^/:/
13438 s/[ ]*$/:/
13439 s/:\$(srcdir):/:/g
13440 s/:\${srcdir}:/:/g
13441 s/:@srcdir@:/:/g
13442 s/^:*//
13443 s/:*$//
13444 x
13445 s/\(=[ ]*\).*/\1/
13446 G
13447 s/\n//
13448 s/^[^=]*=[ ]*$//
13449 }'
13450 fi
13451
13452 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13453 fi # test -n "$CONFIG_FILES"
13454
13455 # Set up the scripts for CONFIG_HEADERS section.
13456 # No need to generate them if there are no CONFIG_HEADERS.
13457 # This happens for instance with `./config.status Makefile'.
13458 if test -n "$CONFIG_HEADERS"; then
13459 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13460 BEGIN {
13461 _ACEOF
13462
13463 # Transform confdefs.h into an awk script `defines.awk', embedded as
13464 # here-document in config.status, that substitutes the proper values into
13465 # config.h.in to produce config.h.
13466
13467 # Create a delimiter string that does not exist in confdefs.h, to ease
13468 # handling of long lines.
13469 ac_delim='%!_!# '
13470 for ac_last_try in false false :; do
13471 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
13472 if testscip-shell system . . test. -z "$ac_tt"; then
13473 break
13474 elif $ac_last_try; then
13475 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13476 else
13477 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13478 fi
13479 done
13480
13481 # For the awk script, D is an array of macro values keyed by name,
13482 # likewise P contains macro parameters if any. Preserve backslash
13483 # newline sequences.
13484
13485 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13486 sedscip-shell system . . sed. -n '
13487 s/.\{148\}/&'"$ac_delim"'/g
13488 t rset
13489 :rset
13490 s/^[ ]*#[ ]*define[ ][ ]*/ /
13491 t def
13492 d
13493 :def
13494 s/\\$//
13495 t bsnl
13496 s/["\\]/\\&/g
13497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13498 D["\1"]=" \3"/p
13499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13500 d
13501 :bsnl
13502 s/["\\]/\\&/g
13503 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13504 D["\1"]=" \3\\\\\\n"\\/p
13505 t cont
13506 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13507 t cont
13508 d
13509 :cont
13510 n
13511 s/.\{148\}/&'"$ac_delim"'/g
13512 t clear
13513 :clear
13514 s/\\$//
13515 t bsnlc
13516 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13517 d
13518 :bsnlc
13519 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13520 b cont
13521 ' <confdefs.h | sedscip-shell system . . sed. '
13522 s/'"$ac_delim"'/"\\\
13523 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13524
13525 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13526 for (key in D) D_is_set[key] = 1
13527 FS = ""
13528 }
13529 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13530 line = \$ 0
13531 split(line, arg, " ")
13532 if (arg[1] == "#") {
13533 defundef = arg[2]
13534 mac1 = arg[3]
13535 } else {
13536 defundef = substr(arg[1], 2)
13537 mac1 = arg[2]
13538 }
13539 split(mac1, mac2, "(") #)
13540 macro = mac2[1]
13541 prefix = substr(line, 1, index(line, defundef) - 1)
13542 if (D_is_set[macro]) {
13543 # Preserve the white space surrounding the "#".
13544 print prefix "define", macro P[macro] D[macro]
13545 next
13546 } else {
13547 # Replace #undef with comments. This is necessary, for example,
13548 # in the case of _POSIX_SOURCE, which is predefined and required
13549 # on some systems where configure will not decide to define it.
13550 if (defundef == "undef") {
13551 print "/*", prefix defundef, macro, "*/"
13552 next
13553 }
13554 }
13555 }
13556 { print }
13557 _ACAWK
13558 _ACEOF
13559 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13560 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13561 fi # test -n "$CONFIG_HEADERS"
13562
13563
13564 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13565 shift
13566 for ac_tag
13567 do
13568 case $ac_tag in
13569 :[FHLC]) ac_mode=$ac_tag; continue;;
13570 esac
13571 case $ac_mode$ac_tag in
13572 :[FHL]*:*);;
13573 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13574 :[FH]-) ac_tag=-:-;;
13575 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13576 esac
13577 ac_save_IFS=$IFS
13578 IFS=:
13579 set x $ac_tag
13580 IFS=$ac_save_IFS
13581 shift
13582 ac_file=$1
13583 shift
13584
13585 case $ac_mode in
13586 :L) ac_source=$1;;
13587 :[FH])
13588 ac_file_inputs=
13589 for ac_f
13590 do
13591 case $ac_f in
13592 -) ac_f="$ac_tmp/stdin";;
13593 *) # Look for the file first in the build tree, then in the source tree
13594 # (if the path is not absolute). The absolute path cannot be DOS-style,
13595 # because $ac_f cannot contain `:'.
13596 test -f "$ac_f" ||
13597 case $ac_f in
13598 [\\/$]*) false;;
13599 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13600 esac ||
13601 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13602 esac
13603 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13604 as_fn_append ac_file_inputs " '$ac_f'"
13605 done
13606
13607 # Let's still pretend it is `configure' which instantiates (i.e., don't
13608 # use $as_me), people would be surprised to read:
13609 # /* config.h. Generated by config.status. */
13610 configure_input='Generated from '`
13611 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13612 `' by configure.'
13613 if test x"$ac_file" != x-; then
13614 configure_input="$ac_file. $configure_input"
13615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13616 printf "%s\n" "$as_me: creating $ac_file" >&6;}
13617 fi
13618 # Neutralize special characters interpreted by sed in replacement strings.
13619 case $configure_input in #(
13620 *\&* | *\|* | *\\* )
13621 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
13622 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13623 *) ac_sed_conf_input=$configure_input;;
13624 esac
13625
13626 case $ac_tag in
13627 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13629 esac
13630 ;;
13631 esac
13632
13633 ac_dir=`$as_dirname -- "$ac_file" ||
13634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13635 X"$ac_file" : 'X\(//\)[^/]' \| \
13636 X"$ac_file" : 'X\(//\)$' \| \
13637 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13638 printf "%s\n" X"$ac_file" |
13639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13640 s//\1/
13641 q
13642 }
13643 /^X\(\/\/\)[^/].*/{
13644 s//\1/
13645 q
13646 }
13647 /^X\(\/\/\)$/{
13648 s//\1/
13649 q
13650 }
13651 /^X\(\/\).*/{
13652 s//\1/
13653 q
13654 }
13655 s/.*/./; q'`
13656 as_dir="$ac_dir"; as_fn_mkdir_p
13657 ac_builddir=.
13658
13659 case "$ac_dir" in
13660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13661 *)
13662 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
13663 # A ".." for each directory in $ac_dir_suffix.
13664 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13665 case $ac_top_builddir_sub in
13666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13668 esac ;;
13669 esac
13670 ac_abs_top_builddir=$ac_pwd
13671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13672 # for backward compatibility:
13673 ac_top_builddir=$ac_top_build_prefix
13674
13675 case $srcdir in
13676 .) # We are building in place.
13677 ac_srcdir=.
13678 ac_top_srcdir=$ac_top_builddir_sub
13679 ac_abs_top_srcdir=$ac_pwd ;;
13680 [\\/]* | ?:[\\/]* ) # Absolute name.
13681 ac_srcdir=$srcdir$ac_dir_suffix;
13682 ac_top_srcdir=$srcdir
13683 ac_abs_top_srcdir=$srcdir ;;
13684 *) # Relative name.
13685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13686 ac_top_srcdir=$ac_top_build_prefix$srcdir
13687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13688 esac
13689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13690
13691
13692 case $ac_mode in
13693 :F)
13694 #
13695 # CONFIG_FILE
13696 #
13697
13698 case $INSTALL in
13699 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13700 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13701 esac
13702 ac_MKDIR_P=$MKDIR_P
13703 case $MKDIR_P in
13704 [\\/$]* | ?:[\\/]* ) ;;
13705 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13706 esac
13707 _ACEOF
13708
13709 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13710 # If the template does not know about datarootdir, expand it.
13711 # FIXME: This hack should be removed a few years after 2.60.
13712 ac_datarootdir_hack=; ac_datarootdir_seen=
13713 ac_sed_dataroot='
13714 /datarootdir/ {
13715 p
13716 q
13717 }
13718 /@datadir@/p
13719 /@docdir@/p
13720 /@infodir@/p
13721 /@localedir@/p
13722 /@mandir@/p'
13723 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13724 *datarootdir*) ac_datarootdir_seen=yes;;
13725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13727 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13728 _ACEOF
13729 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13730 ac_datarootdir_hack='
13731 s&@datadir@&$datadir&g
13732 s&@docdir@&$docdir&g
13733 s&@infodir@&$infodir&g
13734 s&@localedir@&$localedir&g
13735 s&@mandir@&$mandir&g
13736 s&\\\${datarootdir}&$datarootdir&g' ;;
13737 esac
13738 _ACEOF
13739
13740 # Neutralize VPATH when `$srcdir' = `.'.
13741 # Shell code in configure.ac might set extrasub.
13742 # FIXME: do we really want to maintain this feature?
13743 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13744 ac_sed_extra="$ac_vpsub
13745 $extrasub
13746 _ACEOF
13747 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13748 :t
13749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13750 s|@configure_input@|$ac_sed_conf_input|;t t
13751 s&@top_builddir@&$ac_top_builddir_sub&;t t
13752 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13753 s&@srcdir@&$ac_srcdir&;t t
13754 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13755 s&@top_srcdir@&$ac_top_srcdir&;t t
13756 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13757 s&@builddir@&$ac_builddir&;t t
13758 s&@abs_builddir@&$ac_abs_builddir&;t t
13759 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13760 s&@INSTALL@&$ac_INSTALL&;t t
13761 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13762 $ac_datarootdir_hack
13763 "
13764 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13765 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13766
13767 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13768 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13770 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13772 which seems to be undefined. Please make sure it is defined" >&5
13773 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13774 which seems to be undefined. Please make sure it is defined" >&2;}
13775
13776 rm -f "$ac_tmp/stdin"
13777 case $ac_file in
13778 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13779 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13780 esac \
13781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13782 ;;
13783 :H)
13784 #
13785 # CONFIG_HEADER
13786 #
13787 if test x"$ac_file" != x-; then
13788 {
13789 printf "%s\n" "/* $configure_input */" >&1 \
13790 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13791 } >"$ac_tmp/config.h" \
13792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13793 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13795 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
13796 else
13797 rm -f "$ac_file"
13798 mv "$ac_tmp/config.h" "$ac_file" \
13799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13800 fi
13801 else
13802 printf "%s\n" "/* $configure_input */" >&1 \
13803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13804 || as_fn_error $? "could not create -" "$LINENO" 5
13805 fi
13806 # Compute "$ac_file"'s index in $config_headers.
13807 _am_arg="$ac_file"
13808 _am_stamp_count=1
13809 for _am_header in $config_headers :; do
13810 case $_am_header in
13811 $_am_arg | $_am_arg:* )
13812 break ;;
13813 * )
13814 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13815 esac
13816 done
13817 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13818 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13819 X"$_am_arg" : 'X\(//\)[^/]' \| \
13820 X"$_am_arg" : 'X\(//\)$' \| \
13821 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13822 printf "%s\n" X"$_am_arg" |
13823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13824 s//\1/
13825 q
13826 }
13827 /^X\(\/\/\)[^/].*/{
13828 s//\1/
13829 q
13830 }
13831 /^X\(\/\/\)$/{
13832 s//\1/
13833 q
13834 }
13835 /^X\(\/\).*/{
13836 s//\1/
13837 q
13838 }
13839 s/.*/./; q'`/stamp-h$_am_stamp_count
13840 ;;
13841
13842 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13843 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
13844 ;;
13845 esac
13846
13847
13848 case $ac_file$ac_mode in
13849 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13850 # Older Autoconf quotes --file arguments for eval, but not when files
13851 # are listed without --file. Let's play safe and only enable the eval
13852 # if we detect the quoting.
13853 # TODO: see whether this extra hack can be removed once we start
13854 # requiring Autoconf 2.70 or later.
13855 case $CONFIG_FILES in #(
13856 *\'*) :
13857 eval set x "$CONFIG_FILES" ;; #(
13858 *) :
13859 set x $CONFIG_FILES ;; #(
13860 *) :
13861 ;;
13862 esac
13863 shift
13864 # Used to flag and report bootstrapping failures.
13865 am_rc=0
13866 for am_mf
13867 do
13868 # Strip MF so we end up with the name of the file.
13869 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
13870 # Check whether this is an Automake generated Makefile which includes
13871 # dependency-tracking related rules and includes.
13872 # Grep'ing the whole file directly is not great: AIX grep has a line
13873 # limit of 2048, but all sed's we know have understand at least 4000.
13874 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
13875 || continue
13876 am_dirpart=`$as_dirname -- "$am_mf" ||
13877 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13878 X"$am_mf" : 'X\(//\)[^/]' \| \
13879 X"$am_mf" : 'X\(//\)$' \| \
13880 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13881 printf "%s\n" X"$am_mf" |
13882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13883 s//\1/
13884 q
13885 }
13886 /^X\(\/\/\)[^/].*/{
13887 s//\1/
13888 q
13889 }
13890 /^X\(\/\/\)$/{
13891 s//\1/
13892 q
13893 }
13894 /^X\(\/\).*/{
13895 s//\1/
13896 q
13897 }
13898 s/.*/./; q'`
13899 am_filepart=`$as_basename -- "$am_mf" ||
13900 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
13901 X"$am_mf" : 'X\(//\)$' \| \
13902 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13903 printf "%s\n" X/"$am_mf" |
13904 sed '/^.*\/\([^/][^/]*\)\/*$/{
13905 s//\1/
13906 q
13907 }
13908 /^X\/\(\/\/\)$/{
13909 s//\1/
13910 q
13911 }
13912 /^X\/\(\/\).*/{
13913 s//\1/
13914 q
13915 }
13916 s/.*/./; q'`
13917 { echo "$as_me:$LINENO: cd "$am_dirpart" \
13918 && sed -e '/# am--include-marker/d' "$am_filepart" \
13919 | $MAKE -f - am--depfiles" >&5
13920 (cd "$am_dirpart" \
13921 && sed -e '/# am--include-marker/d' "$am_filepart" \
13922 | $MAKE -f - am--depfiles) >&5 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } || am_rc=$?
13926 done
13927 if test $am_rc -ne 0; then
13928 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13929 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13930 as_fn_error $? "Something went wrong bootstrapping makefile fragments
13931 for automatic dependency tracking. If GNU make was not used, consider
13932 re-running the configure script with MAKE=\"gmake\" (or whatever is
13933 necessary). You can also try re-running configure with the
13934 '--disable-dependency-tracking' option to at least be able to build
13935 the package (albeit without support for automatic dependency tracking).
13936 See \`config.log' for more details" "$LINENO" 5; }
13937 fi
13938 { am_dirpart=; unset am_dirpart;}
13939 { am_filepart=; unset am_filepart;}
13940 { am_mf=; unset am_mf;}
13941 { am_rc=; unset am_rc;}
13942 rm -f conftest-deps.mk
13943 }
13944 ;;
13945
13946 esac
13947 done # for ac_tag
13948
13949
13950 as_fn_exit 0
13951 _ACEOF
13952 ac_clean_files=$ac_clean_files_save
13953
13954 testscip-shell system . . test. $ac_write_fail = 0 ||
13955 as_fn_errorscip-shell shell x11-utils 7.7+7 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13956
13957
13958 # configure is writing to config.log, and then calls config.status.
13959 # config.status does its own redirection, appending to config.log.
13960 # Unfortunately, on DOS this fails, as config.log is still kept open
13961 # by configure, so config.status won't be able to write to it; its
13962 # output is simply discarded. So we exec the FD to /dev/null,
13963 # effectively closing config.log, so it can be properly (re)opened and
13964 # appended to by config.status. When coming back to configure, we
13965 # need to make the FD available again.
13966 if testscip-shell system . . test. "$no_create" != yes; then
13967 ac_cs_success=:
13968 ac_config_status_args=
13969 testscip-shell system . . test. "$silent" = yes &&
13970 ac_config_status_args="$ac_config_status_args --quiet"
13971 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
13972 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13973 exec 5>>config.log
13974 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13975 # would make configure fail if this is the last instruction.
13976 $ac_cs_success || as_fn_exitscip-shell shell x11-utils 7.7+7 as_fn_exit(). 1
13977 fi
13978 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
13979 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13980 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13981 fi
13982
13983