Debian Codegraph @

sessreg/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 sessreg 1.1.3.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/-/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/sessreg/-/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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 as_fn_exit(). ()
312 {
313 set +e
314 as_fn_set_statusscip-shell shell x11-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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='sessreg'
614 PACKAGE_TARNAME='sessreg'
615 PACKAGE_VERSION='1.1.3'
616 PACKAGE_STRING='sessreg 1.1.3'
617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/sessreg/-/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 SESSREG_LIBS
658 SESSREG_CFLAGS
659 LINT_FALSE
660 LINT_TRUE
661 LINT_FLAGS
662 LINT
663 MAN_SUBSTS
664 XORG_MAN_PAGE
665 ADMIN_MAN_DIR
666 DRIVER_MAN_DIR
667 MISC_MAN_DIR
668 FILE_MAN_DIR
669 LIB_MAN_DIR
670 APP_MAN_DIR
671 ADMIN_MAN_SUFFIX
672 DRIVER_MAN_SUFFIX
673 MISC_MAN_SUFFIX
674 FILE_MAN_SUFFIX
675 LIB_MAN_SUFFIX
676 APP_MAN_SUFFIX
677 SED
678 host_os
679 host_vendor
680 host_cpu
681 host
682 build_os
683 build_vendor
684 build_cpu
685 build
686 INSTALL_CMD
687 PKG_CONFIG_LIBDIR
688 PKG_CONFIG_PATH
689 PKG_CONFIG
690 CHANGELOG_CMD
691 STRICT_CFLAGS
692 CWARNFLAGS
693 BASE_CFLAGS
694 AM_BACKSLASH
695 AM_DEFAULT_VERBOSITY
696 AM_DEFAULT_V
697 AM_V
698 CSCOPE
699 ETAGS
700 CTAGS
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__include
709 DEPDIR
710 am__untar
711 am__tar
712 AMTAR
713 am__leading_dot
714 SET_MAKE
715 AWK
716 mkdir_p
717 MKDIR_P
718 INSTALL_STRIP_PROGRAM
719 STRIP
720 install_sh
721 MAKEINFO
722 AUTOHEADER
723 AUTOMAKE
724 AUTOCONF
725 ACLOCAL
726 VERSION
727 PACKAGE
728 CYGPATH_W
729 am__isrc
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 OBJEXT
734 EXEEXT
735 ac_ct_CC
736 CPPFLAGS
737 LDFLAGS
738 CFLAGS
739 CC
740 target_alias
741 host_alias
742 build_alias
743 LIBS
744 ECHO_T
745 ECHO_N
746 ECHO_C
747 DEFS
748 mandir
749 localedir
750 libdir
751 psdir
752 pdfdir
753 dvidir
754 htmldir
755 infodir
756 docdir
757 oldincludedir
758 includedir
759 runstatedir
760 localstatedir
761 sharedstatedir
762 sysconfdir
763 datadir
764 datarootdir
765 libexecdir
766 sbindir
767 bindir
768 program_transform_name
769 prefix
770 exec_prefix
771 PACKAGE_URL
772 PACKAGE_BUGREPORT
773 PACKAGE_STRING
774 PACKAGE_VERSION
775 PACKAGE_TARNAME
776 PACKAGE_NAME
777 PATH_SEPARATOR
778 SHELL
779 am__quote'
780 ac_subst_files=''
781 ac_user_opts='
782 enable_option_checking
783 enable_largefile
784 enable_dependency_tracking
785 enable_silent_rules
786 enable_selective_werror
787 enable_strict_compilation
788 with_lint
789 '
790 ac_precious_vars='build_alias
791 host_alias
792 target_alias
793 CC
794 CFLAGS
795 LDFLAGS
796 LIBS
797 CPPFLAGS
798 PKG_CONFIG
799 PKG_CONFIG_PATH
800 PKG_CONFIG_LIBDIR
801 LINT
802 LINT_FLAGS
803 SESSREG_CFLAGS
804 SESSREG_LIBS'
805
806
807 # Initialize some variables set by options.
808 ac_init_help=
809 ac_init_version=false
810 ac_unrecognized_opts=
811 ac_unrecognized_sep=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
814 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
815 exec_prefix=NONE
816 no_create=
817 no_recursion=
818 prefix=NONE
819 program_prefix=NONE
820 program_suffix=NONE
821 program_transform_name=s,x,x,
822 silent=
823 site=
824 srcdir=
825 verbose=
826 x_includes=NONE
827 x_libraries=NONE
828
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir='${exec_prefix}/bin'
836 sbindir='${exec_prefix}/sbin'
837 libexecdir='${exec_prefix}/libexec'
838 datarootdir='${prefix}/share'
839 datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 runstatedir='${localstatedir}/run'
844 includedir='${prefix}/include'
845 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
846 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
847 infodir='${datarootdir}/info'
848 htmldir='${docdir}'
849 dvidir='${docdir}'
850 pdfdir='${docdir}'
851 psdir='${docdir}'
852 libdir='${exec_prefix}/lib'
853 localedir='${datarootdir}/locale'
854 mandir='${datarootdir}/man'
855
856 ac_prev=
857 ac_dashdash=
858 for ac_option
859 do
860 # If the previous option needs an argument, assign it.
861 if testscip-shell system . . test. -n "$ac_prev"; then
862 eval $ac_prev=\$ac_option
863 ac_prev=
864 continue
865 fi
866
867 case $ac_option in
868 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
869 *=) ac_optarg= ;;
870 *) ac_optarg=yes ;;
871 esac
872
873 case $ac_dashdash$ac_option in
874 --)
875 ac_dashdash=yes ;;
876
877 -bindir | --bindir | --bindi | --bind | --bin | --bi)
878 ac_prev=bindir ;;
879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
880 bindir=$ac_optarg ;;
881
882 -build | --build | --buil | --bui | --bu)
883 ac_prev=build_alias ;;
884 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
885 build_alias=$ac_optarg ;;
886
887 -cache-file | --cache-file | --cache-fil | --cache-fi \
888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889 ac_prev=cache_file ;;
890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892 cache_file=$ac_optarg ;;
893
894 --config-cache | -C)
895 cache_file=config.cache ;;
896
897 -datadir | --datadir | --datadi | --datad)
898 ac_prev=datadir ;;
899 -datadir=* | --datadir=* | --datadi=* | --datad=*)
900 datadir=$ac_optarg ;;
901
902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903 | --dataroo | --dataro | --datar)
904 ac_prev=datarootdir ;;
905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907 datarootdir=$ac_optarg ;;
908
909 -disable-* | --disable-*)
910 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
913 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
914 ac_useropt_orig=$ac_useropt
915 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
916 case $ac_user_opts in
917 *"
918 "enable_$ac_useropt"
919 "*) ;;
920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep=', ';;
922 esac
923 eval enable_$ac_useropt=no ;;
924
925 -docdir | --docdir | --docdi | --doc | --do)
926 ac_prev=docdir ;;
927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
928 docdir=$ac_optarg ;;
929
930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
931 ac_prev=dvidir ;;
932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
933 dvidir=$ac_optarg ;;
934
935 -enable-* | --enable-*)
936 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
939 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
942 case $ac_user_opts in
943 *"
944 "enable_$ac_useropt"
945 "*) ;;
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
948 esac
949 eval enable_$ac_useropt=\$ac_optarg ;;
950
951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953 | --exec | --exe | --ex)
954 ac_prev=exec_prefix ;;
955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957 | --exec=* | --exe=* | --ex=*)
958 exec_prefix=$ac_optarg ;;
959
960 -gas | --gas | --ga | --g)
961 # Obsolete; use --with-gas.
962 with_gas=yes ;;
963
964 -help | --help | --hel | --he | -h)
965 ac_init_help=long ;;
966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967 ac_init_help=recursive ;;
968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969 ac_init_help=short ;;
970
971 -host | --host | --hos | --ho)
972 ac_prev=host_alias ;;
973 -host=* | --host=* | --hos=* | --ho=*)
974 host_alias=$ac_optarg ;;
975
976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977 ac_prev=htmldir ;;
978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979 | --ht=*)
980 htmldir=$ac_optarg ;;
981
982 -includedir | --includedir | --includedi | --included | --include \
983 | --includ | --inclu | --incl | --inc)
984 ac_prev=includedir ;;
985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986 | --includ=* | --inclu=* | --incl=* | --inc=*)
987 includedir=$ac_optarg ;;
988
989 -infodir | --infodir | --infodi | --infod | --info | --inf)
990 ac_prev=infodir ;;
991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992 infodir=$ac_optarg ;;
993
994 -libdir | --libdir | --libdi | --libd)
995 ac_prev=libdir ;;
996 -libdir=* | --libdir=* | --libdi=* | --libd=*)
997 libdir=$ac_optarg ;;
998
999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000 | --libexe | --libex | --libe)
1001 ac_prev=libexecdir ;;
1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003 | --libexe=* | --libex=* | --libe=*)
1004 libexecdir=$ac_optarg ;;
1005
1006 -localedir | --localedir | --localedi | --localed | --locale)
1007 ac_prev=localedir ;;
1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009 localedir=$ac_optarg ;;
1010
1011 -localstatedir | --localstatedir | --localstatedi | --localstated \
1012 | --localstate | --localstat | --localsta | --localst | --locals)
1013 ac_prev=localstatedir ;;
1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016 localstatedir=$ac_optarg ;;
1017
1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019 ac_prev=mandir ;;
1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021 mandir=$ac_optarg ;;
1022
1023 -nfp | --nfp | --nf)
1024 # Obsolete; use --without-fp.
1025 with_fp=no ;;
1026
1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028 | --no-cr | --no-c | -n)
1029 no_create=yes ;;
1030
1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1033 no_recursion=yes ;;
1034
1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037 | --oldin | --oldi | --old | --ol | --o)
1038 ac_prev=oldincludedir ;;
1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042 oldincludedir=$ac_optarg ;;
1043
1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045 ac_prev=prefix ;;
1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047 prefix=$ac_optarg ;;
1048
1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1050 | --program-pre | --program-pr | --program-p)
1051 ac_prev=program_prefix ;;
1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054 program_prefix=$ac_optarg ;;
1055
1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1057 | --program-suf | --program-su | --program-s)
1058 ac_prev=program_suffix ;;
1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061 program_suffix=$ac_optarg ;;
1062
1063 -program-transform-name | --program-transform-name \
1064 | --program-transform-nam | --program-transform-na \
1065 | --program-transform-n | --program-transform- \
1066 | --program-transform | --program-transfor \
1067 | --program-transfo | --program-transf \
1068 | --program-trans | --program-tran \
1069 | --progr-tra | --program-tr | --program-t)
1070 ac_prev=program_transform_name ;;
1071 -program-transform-name=* | --program-transform-name=* \
1072 | --program-transform-nam=* | --program-transform-na=* \
1073 | --program-transform-n=* | --program-transform-=* \
1074 | --program-transform=* | --program-transfor=* \
1075 | --program-transfo=* | --program-transf=* \
1076 | --program-trans=* | --program-tran=* \
1077 | --progr-tra=* | --program-tr=* | --program-t=*)
1078 program_transform_name=$ac_optarg ;;
1079
1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081 ac_prev=pdfdir ;;
1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083 pdfdir=$ac_optarg ;;
1084
1085 -psdir | --psdir | --psdi | --psd | --ps)
1086 ac_prev=psdir ;;
1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088 psdir=$ac_optarg ;;
1089
1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091 | -silent | --silent | --silen | --sile | --sil)
1092 silent=yes ;;
1093
1094 -runstatedir | --runstatedir | --runstatedi | --runstated \
1095 | --runstate | --runstat | --runsta | --runst | --runs \
1096 | --run | --ru | --r)
1097 ac_prev=runstatedir ;;
1098 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1099 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1100 | --run=* | --ru=* | --r=*)
1101 runstatedir=$ac_optarg ;;
1102
1103 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1104 ac_prev=sbindir ;;
1105 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1106 | --sbi=* | --sb=*)
1107 sbindir=$ac_optarg ;;
1108
1109 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1110 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1111 | --sharedst | --shareds | --shared | --share | --shar \
1112 | --sha | --sh)
1113 ac_prev=sharedstatedir ;;
1114 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1115 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1116 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1117 | --sha=* | --sh=*)
1118 sharedstatedir=$ac_optarg ;;
1119
1120 -site | --site | --sit)
1121 ac_prev=site ;;
1122 -site=* | --site=* | --sit=*)
1123 site=$ac_optarg ;;
1124
1125 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1126 ac_prev=srcdir ;;
1127 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1128 srcdir=$ac_optarg ;;
1129
1130 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1131 | --syscon | --sysco | --sysc | --sys | --sy)
1132 ac_prev=sysconfdir ;;
1133 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1134 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1135 sysconfdir=$ac_optarg ;;
1136
1137 -target | --target | --targe | --targ | --tar | --ta | --t)
1138 ac_prev=target_alias ;;
1139 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1140 target_alias=$ac_optarg ;;
1141
1142 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1143 verbose=yes ;;
1144
1145 -version | --version | --versio | --versi | --vers | -V)
1146 ac_init_version=: ;;
1147
1148 -with-* | --with-*)
1149 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1152 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1153 ac_useropt_orig=$ac_useropt
1154 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1156 *"
1157 "with_$ac_useropt"
1158 "*) ;;
1159 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 ac_unrecognized_sep=', ';;
1161 esac
1162 eval with_$ac_useropt=\$ac_optarg ;;
1163
1164 -without-* | --without-*)
1165 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1168 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1172 *"
1173 "with_$ac_useropt"
1174 "*) ;;
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1177 esac
1178 eval with_$ac_useropt=no ;;
1179
1180 --x)
1181 # Obsolete; use --with-x.
1182 with_x=yes ;;
1183
1184 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185 | --x-incl | --x-inc | --x-in | --x-i)
1186 ac_prev=x_includes ;;
1187 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189 x_includes=$ac_optarg ;;
1190
1191 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193 ac_prev=x_libraries ;;
1194 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196 x_libraries=$ac_optarg ;;
1197
1198 -*) as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "unrecognized option: \`$ac_option'
1199 Try \`$0 --help' for more information"
1200 ;;
1201
1202 *=*)
1203 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 case $ac_envvar in #(
1206 '' | [0-9]* | *[!_$as_cr_alnum]* )
1207 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1208 esac
1209 eval $ac_envvar=\$ac_optarg
1210 export $ac_envvar ;;
1211
1212 *)
1213 # FIXME: should be removed in autoconf 3.0.
1214 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1216 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 ;;
1219
1220 esac
1221 done
1222
1223 if testscip-shell system . . test. -n "$ac_prev"; then
1224 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1225 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "missing argument to $ac_option"
1226 fi
1227
1228 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1229 case $enable_option_checking in
1230 no) ;;
1231 fatal) as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1232 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233 esac
1234 fi
1235
1236 # Check all directory arguments for consistency.
1237 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238 datadir sysconfdir sharedstatedir localstatedir includedir \
1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240 libdir localedir mandir runstatedir
1241 do
1242 eval ac_val=\$$ac_var
1243 # Remove trailing slashes.
1244 case $ac_val in
1245 */ )
1246 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247 eval $ac_var=\$ac_val;;
1248 esac
1249 # Be sure to have absolute directory names.
1250 case $ac_val in
1251 [\\/$]* | ?:[\\/]* ) continue;;
1252 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253 esac
1254 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1255 done
1256
1257 # There might be people who depend on the old broken behavior: `$host'
1258 # used to hold the argument of --host etc.
1259 # FIXME: To remove some day.
1260 build=$build_alias
1261 host=$host_alias
1262 target=$target_alias
1263
1264 # FIXME: To remove some day.
1265 if testscip-shell system . . test. "x$host_alias" != x; then
1266 if testscip-shell system . . test. "x$build_alias" = x; then
1267 cross_compiling=maybe
1268 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1269 cross_compiling=yes
1270 fi
1271 fi
1272
1273 ac_tool_prefix=
1274 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1275
1276 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1277
1278
1279 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1280 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1281 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1282 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "working directory cannot be determined"
1283 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "pwd does not report name of working directory"
1285
1286
1287 # Find the source files, if location was not specified.
1288 if testscip-shell system . . test. -z "$srcdir"; then
1289 ac_srcdir_defaulted=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir=`$as_dirname -- "$as_myself" ||
1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1296 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1297 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 s//\1/
1299 q
1300 }
1301 /^X\(\/\/\)[^/].*/{
1302 s//\1/
1303 q
1304 }
1305 /^X\(\/\/\)$/{
1306 s//\1/
1307 q
1308 }
1309 /^X\(\/\).*/{
1310 s//\1/
1311 q
1312 }
1313 s/.*/./; q'`
1314 srcdir=$ac_confdir
1315 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1316 srcdir=..
1317 fi
1318 else
1319 ac_srcdir_defaulted=no
1320 fi
1321 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1322 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1323 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1324 fi
1325 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1326 ac_abs_confdir=`(
1327 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "$ac_msg"
1328 pwdscip-shell system . . pwd.)`
1329 # When building in place, set srcdir=.
1330 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1331 srcdir=.
1332 fi
1333 # Remove unnecessary trailing slashes from srcdir.
1334 # Double slashes in file names in object file debugging info
1335 # mess up M-x gdb in Emacs.
1336 case $srcdir in
1337 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338 esac
1339 for ac_var in $ac_precious_vars; do
1340 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1341 eval ac_env_${ac_var}_value=\$${ac_var}
1342 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1343 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1344 done
1345
1346 #
1347 # Report the --help message.
1348 #
1349 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1352 catscip-shell system . . cat. <<_ACEOF
1353 \`configure' configures sessreg 1.1.3 to adapt to many kinds of systems.
1354
1355 Usage: $0 [OPTION]... [VAR=VALUE]...
1356
1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358 VAR=VALUE. See below for descriptions of some of the useful variables.
1359
1360 Defaults for the options are specified in brackets.
1361
1362 Configuration:
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking ...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372
1373 Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 [PREFIX]
1378
1379 By default, \`make install' will install all the files in
1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382 for instance \`--prefix=\$HOME'.
1383
1384 For better control, use the options below.
1385
1386 Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/sessreg]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1407 _ACEOF
1408
1409 catscip-shell system . . cat. <<\_ACEOF
1410
1411 Program names:
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1415
1416 System types:
1417 --build=BUILD configure for building on BUILD [guessed]
1418 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1419 _ACEOF
1420 fi
1421
1422 if testscip-shell system . . test. -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive ) echoscip-shell system . . echo. "Configuration of sessreg 1.1.3:";;
1425 esac
1426 catscip-shell system . . cat. <<\_ACEOF
1427
1428 Optional Features:
1429 --disable-option-checking ignore unrecognized --enable/--with options
1430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1432 --disable-largefile omit support for large files
1433 --enable-dependency-tracking
1434 do not reject slow dependency extractors
1435 --disable-dependency-tracking
1436 speeds up one-time build
1437 --enable-silent-rules less verbose build output (undo: "make V=1")
1438 --disable-silent-rules verbose build output (undo: "make V=0")
1439 --disable-selective-werror
1440 Turn off selective compiler errors. (default:
1441 enabled)
1442 --enable-strict-compilation
1443 Enable all warnings from compiler and make them
1444 errors (default: disabled)
1445
1446 Optional Packages:
1447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1449 --with-lint Use a lint-style source code checker (default:
1450 disabled)
1451
1452 Some influential environment variables:
1453 CC C compiler command
1454 CFLAGS C compiler flags
1455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1456 nonstandard directory <lib dir>
1457 LIBS libraries to pass to the linker, e.g. -l<library>
1458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1459 you have headers in a nonstandard directory <include dir>
1460 PKG_CONFIG path to pkg-config utility
1461 PKG_CONFIG_PATH
1462 directories to add to pkg-config's search path
1463 PKG_CONFIG_LIBDIR
1464 path overriding pkg-config's built-in search path
1465 LINT Path to a lint-style command
1466 LINT_FLAGS Flags for the lint-style command
1467 SESSREG_CFLAGS
1468 C compiler flags for SESSREG, overriding pkg-config
1469 SESSREG_LIBS
1470 linker flags for SESSREG, overriding pkg-config
1471
1472 Use these variables to override the choices made by `configure' or to help
1473 it to find libraries and programs with nonstandard names/locations.
1474
1475 Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/-/issues>.
1476 _ACEOF
1477 ac_status=$?
1478 fi
1479
1480 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1481 # If there are subdirs, report their specific --help.
1482 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1483 testscip-shell system . . test. -d "$ac_dir" ||
1484 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1485 continue
1486 ac_builddir=.
1487
1488 case "$ac_dir" in
1489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *)
1491 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497 esac ;;
1498 esac
1499 ac_abs_top_builddir=$ac_pwd
1500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir=$ac_top_build_prefix
1503
1504 case $srcdir in
1505 .) # We are building in place.
1506 ac_srcdir=.
1507 ac_top_srcdir=$ac_top_builddir_sub
1508 ac_abs_top_srcdir=$ac_pwd ;;
1509 [\\/]* | ?:[\\/]* ) # Absolute name.
1510 ac_srcdir=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir=$srcdir
1512 ac_abs_top_srcdir=$srcdir ;;
1513 *) # Relative name.
1514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517 esac
1518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519
1520 cd "$ac_dir" || { ac_status=$?; continue; }
1521 # Check for configure.gnu first; this name is used for a wrapper for
1522 # Metaconfig's "Configure" on case-insensitive file systems.
1523 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1524 echoscip-shell system . . echo. &&
1525 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1526 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1527 echoscip-shell system . . echo. &&
1528 $SHELL "$ac_srcdir/configure" --help=recursive
1529 else
1530 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 fi || ac_status=$?
1532 cd "$ac_pwd" || { ac_status=$?; break; }
1533 done
1534 fi
1535
1536 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1537 if $ac_init_version; then
1538 catscip-shell system . . cat. <<\_ACEOF
1539 sessreg configure 1.1.3
1540 generated by GNU Autoconf 2.71
1541
1542 Copyright (C) 2021 Free Software Foundation, Inc.
1543 This configure script is free software; the Free Software Foundation
1544 gives unlimited permission to copy, distribute and modify it.
1545 _ACEOF
1546 exit
1547 fi
1548
1549 ## ------------------------ ##
1550 ## Autoconf initialization. ##
1551 ## ------------------------ ##
1552
1553 # ac_fn_c_try_compile LINENO
1554 # --------------------------
1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1556 ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). ()
1557 {
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1560 if { { ac_try="$ac_compile"
1561 case "(($ac_try" in
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1564 esac
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1567 (eval "$ac_compile") 2>conftest.err
1568 ac_status=$?
1569 if testscip-shell system . . test. -s conftest.err; then
1570 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1571 catscip-shell system . . cat. conftest.er1 >&5
1572 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1573 fi
1574 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 testscip-shell system . . test. $ac_status = 0; } && {
1576 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1577 testscip-shell system . . test. ! -s conftest.err
1578 } && testscip-shell system . . test. -s conftest.$ac_objext
1579 then :
1580 ac_retval=0
1581 else $as_nop
1582 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1583 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1584
1585 ac_retval=1
1586 fi
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_statusscip-shell shell x11-xserver-utils 7.7+11 as_fn_set_status(). $ac_retval
1589
1590 } # ac_fn_c_try_compile
1591
1592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists and can be compiled using the include files in
1595 # INCLUDES, setting the cache variable VAR accordingly.
1596 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). ()
1597 {
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1601 if eval test \${$3+y}
1602 then :
1603 printfscip-shell system . . printf. %s "(cached) " >&6
1604 else $as_nop
1605 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1607 $4
1608 #include <$2>
1609 _ACEOF
1610 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1611 then :
1612 eval "$3=yes"
1613 else $as_nop
1614 eval "$3=no"
1615 fi
1616 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1617 fi
1618 eval ac_res=\$$3
1619 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622
1623 } # ac_fn_c_check_header_compile
1624
1625 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1626 # ------------------------------------------------------------------
1627 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1628 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1629 ac_fn_check_declscip-shell shell x11-xserver-utils 7.7+11 ac_fn_check_decl(). ()
1630 {
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'`
1633 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1634 printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; }
1635 if eval test \${$3+y}
1636 then :
1637 printfscip-shell system . . printf. %s "(cached) " >&6
1638 else $as_nop
1639 as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1640 eval ac_save_FLAGS=\$$6
1641 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). $6 " $5"
1642 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1644 $4
1645 int
1646 main (void)
1647 {
1648 #ifndef $as_decl_name
1649 #ifdef __cplusplus
1650 (void) $as_decl_use;
1651 #else
1652 (void) $as_decl_name;
1653 #endif
1654 #endif
1655
1656 ;
1657 return 0;
1658 }
1659 _ACEOF
1660 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1661 then :
1662 eval "$3=yes"
1663 else $as_nop
1664 eval "$3=no"
1665 fi
1666 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1667 eval $6=\$ac_save_FLAGS
1668
1669 fi
1670 eval ac_res=\$$3
1671 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674
1675 } # ac_fn_check_decl
1676
1677 # ac_fn_c_try_link LINENO
1678 # -----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). ()
1681 {
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1684 if { { ac_try="$ac_link"
1685 case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>conftest.err
1692 ac_status=$?
1693 if testscip-shell system . . test. -s conftest.err; then
1694 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1695 catscip-shell system . . cat. conftest.er1 >&5
1696 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1697 fi
1698 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 testscip-shell system . . test. $ac_status = 0; } && {
1700 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1701 testscip-shell system . . test. ! -s conftest.err
1702 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1703 testscip-shell system . . test. "$cross_compiling" = yes ||
1704 testscip-shell system . . test. -x conftest$ac_exeext
1705 }
1706 then :
1707 ac_retval=0
1708 else $as_nop
1709 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1710 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1711
1712 ac_retval=1
1713 fi
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1716 # interfere with the next link command; also delete a directory that is
1717 # left behind by Apple's compiler. We do this before executing the actions.
1718 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_statusscip-shell shell x11-xserver-utils 7.7+11 as_fn_set_status(). $ac_retval
1721
1722 } # ac_fn_c_try_link
1723
1724 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1725 # ----------------------------------------------------
1726 # Tries to find if the field MEMBER exists in type AGGR, after including
1727 # INCLUDES, setting cache variable VAR accordingly.
1728 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1732 printfscip-shell system . . printf. %s "checking for $2.$3... " >&6; }
1733 if eval test \${$4+y}
1734 then :
1735 printfscip-shell system . . printf. %s "(cached) " >&6
1736 else $as_nop
1737 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1739 $5
1740 int
1741 main (void)
1742 {
1743 static $2 ac_aggr;
1744 if (ac_aggr.$3)
1745 return 0;
1746 ;
1747 return 0;
1748 }
1749 _ACEOF
1750 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1751 then :
1752 eval "$4=yes"
1753 else $as_nop
1754 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1756 $5
1757 int
1758 main (void)
1759 {
1760 static $2 ac_aggr;
1761 if (sizeof ac_aggr.$3)
1762 return 0;
1763 ;
1764 return 0;
1765 }
1766 _ACEOF
1767 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1768 then :
1769 eval "$4=yes"
1770 else $as_nop
1771 eval "$4=no"
1772 fi
1773 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1774 fi
1775 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1776 fi
1777 eval ac_res=\$$4
1778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781
1782 } # ac_fn_c_check_member
1783
1784 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1785 # -------------------------------------------
1786 # Tests whether TYPE exists after having included INCLUDES, setting cache
1787 # variable VAR accordingly.
1788 ac_fn_c_check_typescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_type(). ()
1789 {
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1793 if eval test \${$3+y}
1794 then :
1795 printfscip-shell system . . printf. %s "(cached) " >&6
1796 else $as_nop
1797 eval "$3=no"
1798 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1800 $4
1801 int
1802 main (void)
1803 {
1804 if (sizeof ($2))
1805 return 0;
1806 ;
1807 return 0;
1808 }
1809 _ACEOF
1810 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1811 then :
1812 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1814 $4
1815 int
1816 main (void)
1817 {
1818 if (sizeof (($2)))
1819 return 0;
1820 ;
1821 return 0;
1822 }
1823 _ACEOF
1824 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
1825 then :
1826
1827 else $as_nop
1828 eval "$3=yes"
1829 fi
1830 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1831 fi
1832 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1833 fi
1834 eval ac_res=\$$3
1835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838
1839 } # ac_fn_c_check_type
1840
1841 # ac_fn_c_check_func LINENO FUNC VAR
1842 # ----------------------------------
1843 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1844 ac_fn_c_check_funcscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_func(). ()
1845 {
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1849 if eval test \${$3+y}
1850 then :
1851 printfscip-shell system . . printf. %s "(cached) " >&6
1852 else $as_nop
1853 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1857 #define $2 innocuous_$2
1858
1859 /* System header to define __stub macros and hopefully few prototypes,
1860 which can conflict with char $2 (); below. */
1861
1862 #include <limits.h>
1863 #undef $2
1864
1865 /* Override any GCC internal prototype to avoid an error.
1866 Use char because int might match the return type of a GCC
1867 builtin and then its argument prototype would still apply. */
1868 #ifdef __cplusplus
1869 extern "C"
1870 #endif
1871 char $2 ();
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined __stub_$2 || defined __stub___$2
1876 choke me
1877 #endif
1878
1879 int
1880 main (void)
1881 {
1882 return $2 ();
1883 ;
1884 return 0;
1885 }
1886 _ACEOF
1887 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
1888 then :
1889 eval "$3=yes"
1890 else $as_nop
1891 eval "$3=no"
1892 fi
1893 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
1894 conftest$ac_exeext conftest.$ac_ext
1895 fi
1896 eval ac_res=\$$3
1897 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901 } # ac_fn_c_check_func
1902 ac_configure_args_raw=
1903 for ac_arg
1904 do
1905 case $ac_arg in
1906 *\'*)
1907 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1908 esac
1909 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
1910 done
1911
1912 case $ac_configure_args_raw in
1913 *$as_nl*)
1914 ac_safe_unquote= ;;
1915 *)
1916 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1917 ac_unsafe_a="$ac_unsafe_z#~"
1918 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1919 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
1920 esac
1921
1922 catscip-shell system . . cat. >config.log <<_ACEOF
1923 This file contains any messages produced by compilers while
1924 running configure, to aid debugging if configure makes a mistake.
1925
1926 It was created by sessreg $as_me 1.1.3, which was
1927 generated by GNU Autoconf 2.71. Invocation command line was
1928
1929 $ $0$ac_configure_args_raw
1930
1931 _ACEOF
1932 exec 5>>config.log
1933 {
1934 catscip-shell system . . cat. <<_ASUNAME
1935 ## --------- ##
1936 ## Platform. ##
1937 ## --------- ##
1938
1939 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1940 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1941 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1942 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1943 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1944
1945 /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`
1946 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1947
1948 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1949 /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`
1950 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1951 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1952 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1953 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1954 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1955
1956 _ASUNAME
1957
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 for as_dir in $PATH
1960 do
1961 IFS=$as_save_IFS
1962 case $as_dir in #(((
1963 '') as_dir=./ ;;
1964 */) ;;
1965 *) as_dir=$as_dir/ ;;
1966 esac
1967 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
1968 done
1969 IFS=$as_save_IFS
1970
1971 } >&5
1972
1973 catscip-shell system . . cat. >&5 <<_ACEOF
1974
1975
1976 ## ----------- ##
1977 ## Core tests. ##
1978 ## ----------- ##
1979
1980 _ACEOF
1981
1982
1983 # Keep a trace of the command line.
1984 # Strip out --no-create and --no-recursion so they do not pile up.
1985 # Strip out --silent because we don't want to record it for future runs.
1986 # Also quote any args containing shell meta-characters.
1987 # Make two passes to allow for proper duplicate-argument suppression.
1988 ac_configure_args=
1989 ac_configure_args0=
1990 ac_configure_args1=
1991 ac_must_keep_next=false
1992 for ac_pass in 1 2
1993 do
1994 for ac_arg
1995 do
1996 case $ac_arg in
1997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1999 | -silent | --silent | --silen | --sile | --sil)
2000 continue ;;
2001 *\'*)
2002 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2003 esac
2004 case $ac_pass in
2005 1) as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2006 2)
2007 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2008 if testscip-shell system . . test. $ac_must_keep_next = true; then
2009 ac_must_keep_next=false # Got value, back to normal.
2010 else
2011 case $ac_arg in
2012 *=* | --config-cache | -C | -disable-* | --disable-* \
2013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2015 | -with-* | --with-* | -without-* | --without-* | --x)
2016 case "$ac_configure_args0 " in
2017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2018 esac
2019 ;;
2020 -* ) ac_must_keep_next=true ;;
2021 esac
2022 fi
2023 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_configure_args " '$ac_arg'"
2024 ;;
2025 esac
2026 done
2027 done
2028 { ac_configure_args0=; unset ac_configure_args0;}
2029 { ac_configure_args1=; unset ac_configure_args1;}
2030
2031 # When interrupted or exit'd, cleanup temporary files, and complete
2032 # config.log. We remove comments because anyway the quotes in there
2033 # would cause problems or look ugly.
2034 # WARNING: Use '\'' to represent an apostrophe within the trap.
2035 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2036 trap 'exit_status=$?
2037 # Sanitize IFS.
2038 IFS=" "" $as_nl"
2039 # Save into config.log some information that might help in debugging.
2040 {
2041 echo
2042
2043 printf "%s\n" "## ---------------- ##
2044 ## Cache variables. ##
2045 ## ---------------- ##"
2046 echo
2047 # The following way of writing the cache mishandles newlines in values,
2048 (
2049 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2050 eval ac_val=\$$ac_var
2051 case $ac_val in #(
2052 *${as_nl}*)
2053 case $ac_var in #(
2054 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2055 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2056 esac
2057 case $ac_var in #(
2058 _ | IFS | as_nl) ;; #(
2059 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2060 *) { eval $ac_var=; unset $ac_var;} ;;
2061 esac ;;
2062 esac
2063 done
2064 (set) 2>&1 |
2065 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2066 *${as_nl}ac_space=\ *)
2067 sed -n \
2068 "s/'\''/'\''\\\\'\'''\''/g;
2069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2070 ;; #(
2071 *)
2072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2073 ;;
2074 esac |
2075 sort
2076 )
2077 echo
2078
2079 printf "%s\n" "## ----------------- ##
2080 ## Output variables. ##
2081 ## ----------------- ##"
2082 echo
2083 for ac_var in $ac_subst_vars
2084 do
2085 eval ac_val=\$$ac_var
2086 case $ac_val in
2087 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2088 esac
2089 printf "%s\n" "$ac_var='\''$ac_val'\''"
2090 done | sort
2091 echo
2092
2093 if test -n "$ac_subst_files"; then
2094 printf "%s\n" "## ------------------- ##
2095 ## File substitutions. ##
2096 ## ------------------- ##"
2097 echo
2098 for ac_var in $ac_subst_files
2099 do
2100 eval ac_val=\$$ac_var
2101 case $ac_val in
2102 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103 esac
2104 printf "%s\n" "$ac_var='\''$ac_val'\''"
2105 done | sort
2106 echo
2107 fi
2108
2109 if test -s confdefs.h; then
2110 printf "%s\n" "## ----------- ##
2111 ## confdefs.h. ##
2112 ## ----------- ##"
2113 echo
2114 cat confdefs.h
2115 echo
2116 fi
2117 test "$ac_signal" != 0 &&
2118 printf "%s\n" "$as_me: caught signal $ac_signal"
2119 printf "%s\n" "$as_me: exit $exit_status"
2120 } >&5
2121 rm -f core *.core core.conftest.* &&
2122 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2123 exit $exit_status
2124 ' 0
2125 for ac_signal in 1 2 13 15; do
2126 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2127 done
2128 ac_signal=0
2129
2130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2131 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2132
2133 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2134
2135 # Predefined preprocessor variables.
2136
2137 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2138
2139 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2140
2141 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2142
2143 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2144
2145 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2146
2147 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2148
2149
2150 # Let the site file select an alternate cache file if it wants to.
2151 # Prefer an explicitly selected file to automatically selected ones.
2152 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2153 ac_site_files="$CONFIG_SITE"
2154 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2155 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2156 else
2157 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2158 fi
2159
2160 for ac_site_file in $ac_site_files
2161 do
2162 case $ac_site_file in #(
2163 */*) :
2164 ;; #(
2165 *) :
2166 ac_site_file=./$ac_site_file ;;
2167 esac
2168 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2169 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2170 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2171 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2172 . "$ac_site_file" \
2173 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2174 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2175 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "failed to load site script $ac_site_file
2176 See \`config.log' for more details" "$LINENO" 5; }
2177 fi
2178 done
2179
2180 if testscip-shell system . . test. -r "$cache_file"; then
2181 # Some versions of bash will fail to source /dev/null (special files
2182 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2183 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2185 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2186 case $cache_file in
2187 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2188 *) . "./$cache_file";;
2189 esac
2190 fi
2191 else
2192 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2193 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2194 >$cache_file
2195 fi
2196
2197 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2198 # Test code for whether the C compiler supports C89 (global declarations)
2199 ac_c_conftest_c89_globals='
2200 /* Does the compiler advertise C89 conformance?
2201 Do not test the value of __STDC__, because some compilers set it to 0
2202 while being otherwise adequately conformant. */
2203 #if !defined __STDC__
2204 # error "Compiler does not advertise C89 conformance"
2205 #endif
2206
2207 #include <stddef.h>
2208 #include <stdarg.h>
2209 struct stat;
2210 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2211 struct buf { int x; };
2212 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2213 static char *e (p, i)
2214 char **p;
2215 int i;
2216 {
2217 return p[i];
2218 }
2219 static char *f (char * (*g) (char **, int), char **p, ...)
2220 {
2221 char *s;
2222 va_list v;
2223 va_start (v,p);
2224 s = g (p, va_arg (v,int));
2225 va_end (v);
2226 return s;
2227 }
2228
2229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2230 function prototypes and stuff, but not \xHH hex character constants.
2231 These do not provoke an error unfortunately, instead are silently treated
2232 as an "x". The following induces an error, until -std is added to get
2233 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2234 array size at least. It is necessary to write \x00 == 0 to get something
2235 that is true only with -std. */
2236 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2237
2238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2239 inside strings and character constants. */
2240 #define FOO(x) '\''x'\''
2241 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2242
2243 int test (int i, double x);
2244 struct s1 {int (*f) (int a);};
2245 struct s2 {int (*f) (double a);};
2246 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2247 int, int);'
2248
2249 # Test code for whether the C compiler supports C89 (body of main).
2250 ac_c_conftest_c89_main='
2251 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2252 '
2253
2254 # Test code for whether the C compiler supports C99 (global declarations)
2255 ac_c_conftest_c99_globals='
2256 // Does the compiler advertise C99 conformance?
2257 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2258 # error "Compiler does not advertise C99 conformance"
2259 #endif
2260
2261 #include <stdbool.h>
2262 extern int puts (const char *);
2263 extern int printf (const char *, ...);
2264 extern int dprintf (int, const char *, ...);
2265 extern void *malloc (size_t);
2266
2267 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2268 // dprintf is used instead of fprintf to avoid needing to declare
2269 // FILE and stderr.
2270 #define debug(...) dprintf (2, __VA_ARGS__)
2271 #define showlist(...) puts (#__VA_ARGS__)
2272 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2273 static void
2274 test_varargs_macros (void)
2275 {
2276 int x = 1234;
2277 int y = 5678;
2278 debug ("Flag");
2279 debug ("X = %d\n", x);
2280 showlist (The first, second, and third items.);
2281 report (x>y, "x is %d but y is %d", x, y);
2282 }
2283
2284 // Check long long types.
2285 #define BIG64 18446744073709551615ull
2286 #define BIG32 4294967295ul
2287 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2288 #if !BIG_OK
2289 #error "your preprocessor is broken"
2290 #endif
2291 #if BIG_OK
2292 #else
2293 #error "your preprocessor is broken"
2294 #endif
2295 static long long int bignum = -9223372036854775807LL;
2296 static unsigned long long int ubignum = BIG64;
2297
2298 struct incomplete_array
2299 {
2300 int datasize;
2301 double data[];
2302 };
2303
2304 struct named_init {
2305 int number;
2306 const wchar_t *name;
2307 double average;
2308 };
2309
2310 typedef const char *ccp;
2311
2312 static inline int
2313 test_restrict (ccp restrict text)
2314 {
2315 // See if C++-style comments work.
2316 // Iterate through items via the restricted pointer.
2317 // Also check for declarations in for loops.
2318 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2319 continue;
2320 return 0;
2321 }
2322
2323 // Check varargs and va_copy.
2324 static bool
2325 test_varargs (const char *format, ...)
2326 {
2327 va_list args;
2328 va_start (args, format);
2329 va_list args_copy;
2330 va_copy (args_copy, args);
2331
2332 const char *str = "";
2333 int number = 0;
2334 float fnumber = 0;
2335
2336 while (*format)
2337 {
2338 switch (*format++)
2339 {
2340 case '\''s'\'': // string
2341 str = va_arg (args_copy, const char *);
2342 break;
2343 case '\''d'\'': // int
2344 number = va_arg (args_copy, int);
2345 break;
2346 case '\''f'\'': // float
2347 fnumber = va_arg (args_copy, double);
2348 break;
2349 default:
2350 break;
2351 }
2352 }
2353 va_end (args_copy);
2354 va_end (args);
2355
2356 return *str && number && fnumber;
2357 }
2358 '
2359
2360 # Test code for whether the C compiler supports C99 (body of main).
2361 ac_c_conftest_c99_main='
2362 // Check bool.
2363 _Bool success = false;
2364 success |= (argc != 0);
2365
2366 // Check restrict.
2367 if (test_restrict ("String literal") == 0)
2368 success = true;
2369 char *restrict newvar = "Another string";
2370
2371 // Check varargs.
2372 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2373 test_varargs_macros ();
2374
2375 // Check flexible array members.
2376 struct incomplete_array *ia =
2377 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2378 ia->datasize = 10;
2379 for (int i = 0; i < ia->datasize; ++i)
2380 ia->data[i] = i * 1.234;
2381
2382 // Check named initializers.
2383 struct named_init ni = {
2384 .number = 34,
2385 .name = L"Test wide string",
2386 .average = 543.34343,
2387 };
2388
2389 ni.number = 58;
2390
2391 int dynamic_array[ni.number];
2392 dynamic_array[0] = argv[0][0];
2393 dynamic_array[ni.number - 1] = 543;
2394
2395 // work around unused variable warnings
2396 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2397 || dynamic_array[ni.number - 1] != 543);
2398 '
2399
2400 # Test code for whether the C compiler supports C11 (global declarations)
2401 ac_c_conftest_c11_globals='
2402 // Does the compiler advertise C11 conformance?
2403 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2404 # error "Compiler does not advertise C11 conformance"
2405 #endif
2406
2407 // Check _Alignas.
2408 char _Alignas (double) aligned_as_double;
2409 char _Alignas (0) no_special_alignment;
2410 extern char aligned_as_int;
2411 char _Alignas (0) _Alignas (int) aligned_as_int;
2412
2413 // Check _Alignof.
2414 enum
2415 {
2416 int_alignment = _Alignof (int),
2417 int_array_alignment = _Alignof (int[100]),
2418 char_alignment = _Alignof (char)
2419 };
2420 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2421
2422 // Check _Noreturn.
2423 int _Noreturn does_not_return (void) { for (;;) continue; }
2424
2425 // Check _Static_assert.
2426 struct test_static_assert
2427 {
2428 int x;
2429 _Static_assert (sizeof (int) <= sizeof (long int),
2430 "_Static_assert does not work in struct");
2431 long int y;
2432 };
2433
2434 // Check UTF-8 literals.
2435 #define u8 syntax error!
2436 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2437
2438 // Check duplicate typedefs.
2439 typedef long *long_ptr;
2440 typedef long int *long_ptr;
2441 typedef long_ptr long_ptr;
2442
2443 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2444 struct anonymous
2445 {
2446 union {
2447 struct { int i; int j; };
2448 struct { int k; long int l; } w;
2449 };
2450 int m;
2451 } v1;
2452 '
2453
2454 # Test code for whether the C compiler supports C11 (body of main).
2455 ac_c_conftest_c11_main='
2456 _Static_assert ((offsetof (struct anonymous, i)
2457 == offsetof (struct anonymous, w.k)),
2458 "Anonymous union alignment botch");
2459 v1.i = 2;
2460 v1.w.k = 5;
2461 ok |= v1.i != 5;
2462 '
2463
2464 # Test code for whether the C compiler supports C11 (complete).
2465 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2466 ${ac_c_conftest_c99_globals}
2467 ${ac_c_conftest_c11_globals}
2468
2469 int
2470 main (int argc, char **argv)
2471 {
2472 int ok = 0;
2473 ${ac_c_conftest_c89_main}
2474 ${ac_c_conftest_c99_main}
2475 ${ac_c_conftest_c11_main}
2476 return ok;
2477 }
2478 "
2479
2480 # Test code for whether the C compiler supports C99 (complete).
2481 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2482 ${ac_c_conftest_c99_globals}
2483
2484 int
2485 main (int argc, char **argv)
2486 {
2487 int ok = 0;
2488 ${ac_c_conftest_c89_main}
2489 ${ac_c_conftest_c99_main}
2490 return ok;
2491 }
2492 "
2493
2494 # Test code for whether the C compiler supports C89 (complete).
2495 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2496
2497 int
2498 main (int argc, char **argv)
2499 {
2500 int ok = 0;
2501 ${ac_c_conftest_c89_main}
2502 return ok;
2503 }
2504 "
2505
2506 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2507 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2508 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2509 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2510 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2511 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2512 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2513 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2514 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2515 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2516
2517 # Auxiliary files required by this configure script.
2518 ac_aux_files="config.guess config.sub missing install-sh compile"
2519
2520 # Locations in which to look for auxiliary files.
2521 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2522
2523 # Search for a directory containing all of the required auxiliary files,
2524 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2525 # If we don't find one directory that contains all the files we need,
2526 # we report the set of missing files from the *first* directory in
2527 # $ac_aux_dir_candidates and give up.
2528 ac_missing_aux_files=""
2529 ac_first_candidate=:
2530 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 as_found=false
2533 for as_dir in $ac_aux_dir_candidates
2534 do
2535 IFS=$as_save_IFS
2536 case $as_dir in #(((
2537 '') as_dir=./ ;;
2538 */) ;;
2539 *) as_dir=$as_dir/ ;;
2540 esac
2541 as_found=:
2542
2543 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2544 ac_aux_dir_found=yes
2545 ac_install_sh=
2546 for ac_aux in $ac_aux_files
2547 do
2548 # As a special case, if "install-sh" is required, that requirement
2549 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2550 # and $ac_install_sh is set appropriately for whichever one is found.
2551 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
2552 then
2553 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
2554 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2555 ac_install_sh="${as_dir}install-sh -c"
2556 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
2557 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2558 ac_install_sh="${as_dir}install.sh -c"
2559 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
2560 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2561 ac_install_sh="${as_dir}shtool install -c"
2562 else
2563 ac_aux_dir_found=no
2564 if $ac_first_candidate; then
2565 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2566 else
2567 break
2568 fi
2569 fi
2570 else
2571 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
2572 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2573 else
2574 ac_aux_dir_found=no
2575 if $ac_first_candidate; then
2576 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2577 else
2578 break
2579 fi
2580 fi
2581 fi
2582 done
2583 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
2584 ac_aux_dir="$as_dir"
2585 break
2586 fi
2587 ac_first_candidate=false
2588
2589 as_found=false
2590 done
2591 IFS=$as_save_IFS
2592 if $as_found
2593 then :
2594
2595 else $as_nop
2596 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2597 fi
2598
2599
2600 # These three variables are undocumented and unsupported,
2601 # and are intended to be withdrawn in a future Autoconf release.
2602 # They can cause serious problems if a builder's source tree is in a directory
2603 # whose full name contains unusual characters.
2604 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
2605 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2606 fi
2607 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
2608 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2609 fi
2610 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
2611 ac_configure="$SHELL ${ac_aux_dir}configure"
2612 fi
2613
2614 # Check that the precious variables saved in the cache have kept the same
2615 # value.
2616 ac_cache_corrupted=false
2617 for ac_var in $ac_precious_vars; do
2618 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2619 eval ac_new_set=\$ac_env_${ac_var}_set
2620 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2621 eval ac_new_val=\$ac_env_${ac_var}_value
2622 case $ac_old_set,$ac_new_set in
2623 set,)
2624 { 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
2625 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2626 ac_cache_corrupted=: ;;
2627 ,set)
2628 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2629 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2630 ac_cache_corrupted=: ;;
2631 ,);;
2632 *)
2633 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2634 # differences in whitespace do not lead to failure.
2635 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2636 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2637 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2639 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2640 ac_cache_corrupted=:
2641 else
2642 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2643 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2644 eval $ac_var=\$ac_old_val
2645 fi
2646 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2647 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2648 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2649 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2650 fi;;
2651 esac
2652 # Pass precious variables to config.status.
2653 if testscip-shell system . . test. "$ac_new_set" = set; then
2654 case $ac_new_val in
2655 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2656 *) ac_arg=$ac_var=$ac_new_val ;;
2657 esac
2658 case " $ac_configure_args " in
2659 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2660 *) as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2661 esac
2662 fi
2663 done
2664 if $ac_cache_corrupted; then
2665 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2667 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2668 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2669 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2670 and start over" "$LINENO" 5
2671 fi
2672 ## -------------------- ##
2673 ## Main body of script. ##
2674 ## -------------------- ##
2675
2676 ac_ext=c
2677 ac_cpp='$CPP $CPPFLAGS'
2678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681
2682
2683
2684 ac_config_headers="$ac_config_headers config.h"
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697 # Expand $ac_aux_dir to an absolute path.
2698 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
2699
2700 ac_ext=c
2701 ac_cpp='$CPP $CPPFLAGS'
2702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2705 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2707 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2708 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2710 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
2711 then :
2712 printfscip-shell system . . printf. %s "(cached) " >&6
2713 else $as_nop
2714 if testscip-shell system . . test. -n "$CC"; then
2715 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720 IFS=$as_save_IFS
2721 case $as_dir in #(((
2722 '') as_dir=./ ;;
2723 */) ;;
2724 *) as_dir=$as_dir/ ;;
2725 esac
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2729 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2730 break 2
2731 fi
2732 done
2733 done
2734 IFS=$as_save_IFS
2735
2736 fi
2737 fi
2738 CC=$ac_cv_prog_CC
2739 if testscip-shell system . . test. -n "$CC"; then
2740 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2741 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
2742 else
2743 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2745 fi
2746
2747
2748 fi
2749 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
2750 ac_ct_CC=$CC
2751 # Extract the first word of "gcc", so it can be a program name with args.
2752 set dummy gcc; ac_word=$2
2753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2755 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
2756 then :
2757 printfscip-shell system . . printf. %s "(cached) " >&6
2758 else $as_nop
2759 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2761 else
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2764 do
2765 IFS=$as_save_IFS
2766 case $as_dir in #(((
2767 '') as_dir=./ ;;
2768 */) ;;
2769 *) as_dir=$as_dir/ ;;
2770 esac
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2773 ac_cv_prog_ac_ct_CC="gcc"
2774 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2775 break 2
2776 fi
2777 done
2778 done
2779 IFS=$as_save_IFS
2780
2781 fi
2782 fi
2783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2784 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2785 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2786 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
2787 else
2788 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2790 fi
2791
2792 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
2793 CC=""
2794 else
2795 case $cross_compiling:$ac_tool_warned in
2796 yes:)
2797 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2798 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2799 ac_tool_warned=yes ;;
2800 esac
2801 CC=$ac_ct_CC
2802 fi
2803 else
2804 CC="$ac_cv_prog_CC"
2805 fi
2806
2807 if testscip-shell system . . test. -z "$CC"; then
2808 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2810 set dummy ${ac_tool_prefix}cc; ac_word=$2
2811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2813 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
2814 then :
2815 printfscip-shell system . . printf. %s "(cached) " >&6
2816 else $as_nop
2817 if testscip-shell system . . test. -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2819 else
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 for as_dir in $PATH
2822 do
2823 IFS=$as_save_IFS
2824 case $as_dir in #(((
2825 '') as_dir=./ ;;
2826 */) ;;
2827 *) as_dir=$as_dir/ ;;
2828 esac
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_CC="${ac_tool_prefix}cc"
2832 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2833 break 2
2834 fi
2835 done
2836 done
2837 IFS=$as_save_IFS
2838
2839 fi
2840 fi
2841 CC=$ac_cv_prog_CC
2842 if testscip-shell system . . test. -n "$CC"; then
2843 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
2845 else
2846 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2848 fi
2849
2850
2851 fi
2852 fi
2853 if testscip-shell system . . test. -z "$CC"; then
2854 # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc; ac_word=$2
2856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2858 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
2859 then :
2860 printfscip-shell system . . printf. %s "(cached) " >&6
2861 else $as_nop
2862 if testscip-shell system . . test. -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 else
2865 ac_prog_rejected=no
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH
2868 do
2869 IFS=$as_save_IFS
2870 case $as_dir in #(((
2871 '') as_dir=./ ;;
2872 */) ;;
2873 *) as_dir=$as_dir/ ;;
2874 esac
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2877 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
2878 ac_prog_rejected=yes
2879 continue
2880 fi
2881 ac_cv_prog_CC="cc"
2882 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2883 break 2
2884 fi
2885 done
2886 done
2887 IFS=$as_save_IFS
2888
2889 if testscip-shell system . . test. $ac_prog_rejected = yes; then
2890 # We found a bogon in the path, so make sure we never use it.
2891 set dummy $ac_cv_prog_CC
2892 shift
2893 if testscip-shell system . . test. $# != 0; then
2894 # We chose a different compiler from the bogus one.
2895 # However, it has the same basename, so the bogon will be chosen
2896 # first if we set CC to just the basename; use the full file name.
2897 shift
2898 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2899 fi
2900 fi
2901 fi
2902 fi
2903 CC=$ac_cv_prog_CC
2904 if testscip-shell system . . test. -n "$CC"; then
2905 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
2907 else
2908 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2910 fi
2911
2912
2913 fi
2914 if testscip-shell system . . test. -z "$CC"; then
2915 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2916 for ac_prog in cl.exe
2917 do
2918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2920 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2922 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
2923 then :
2924 printfscip-shell system . . printf. %s "(cached) " >&6
2925 else $as_nop
2926 if testscip-shell system . . test. -n "$CC"; then
2927 ac_cv_prog_CC="$CC" # Let the user override the test.
2928 else
2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 for as_dir in $PATH
2931 do
2932 IFS=$as_save_IFS
2933 case $as_dir in #(((
2934 '') as_dir=./ ;;
2935 */) ;;
2936 *) as_dir=$as_dir/ ;;
2937 esac
2938 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2941 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2942 break 2
2943 fi
2944 done
2945 done
2946 IFS=$as_save_IFS
2947
2948 fi
2949 fi
2950 CC=$ac_cv_prog_CC
2951 if testscip-shell system . . test. -n "$CC"; then
2952 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2953 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
2954 else
2955 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2957 fi
2958
2959
2960 testscip-shell system . . test. -n "$CC" && break
2961 done
2962 fi
2963 if testscip-shell system . . test. -z "$CC"; then
2964 ac_ct_CC=$CC
2965 for ac_prog in cl.exe
2966 do
2967 # Extract the first word of "$ac_prog", so it can be a program name with args.
2968 set dummy $ac_prog; ac_word=$2
2969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2971 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
2972 then :
2973 printfscip-shell system . . printf. %s "(cached) " >&6
2974 else $as_nop
2975 if testscip-shell system . . test. -n "$ac_ct_CC"; then
2976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2977 else
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2980 do
2981 IFS=$as_save_IFS
2982 case $as_dir in #(((
2983 '') as_dir=./ ;;
2984 */) ;;
2985 *) as_dir=$as_dir/ ;;
2986 esac
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_ac_ct_CC="$ac_prog"
2990 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2991 break 2
2992 fi
2993 done
2994 done
2995 IFS=$as_save_IFS
2996
2997 fi
2998 fi
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3003 else
3004 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3006 fi
3007
3008
3009 testscip-shell system . . test. -n "$ac_ct_CC" && break
3010 done
3011
3012 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3013 CC=""
3014 else
3015 case $cross_compiling:$ac_tool_warned in
3016 yes:)
3017 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned=yes ;;
3020 esac
3021 CC=$ac_ct_CC
3022 fi
3023 fi
3024
3025 fi
3026 if testscip-shell system . . test. -z "$CC"; then
3027 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}clang; ac_word=$2
3030 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3032 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3033 then :
3034 printfscip-shell system . . printf. %s "(cached) " >&6
3035 else $as_nop
3036 if testscip-shell system . . test. -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042 IFS=$as_save_IFS
3043 case $as_dir in #(((
3044 '') as_dir=./ ;;
3045 */) ;;
3046 *) as_dir=$as_dir/ ;;
3047 esac
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC="${ac_tool_prefix}clang"
3051 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3052 break 2
3053 fi
3054 done
3055 done
3056 IFS=$as_save_IFS
3057
3058 fi
3059 fi
3060 CC=$ac_cv_prog_CC
3061 if testscip-shell system . . test. -n "$CC"; then
3062 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3063 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3064 else
3065 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3067 fi
3068
3069
3070 fi
3071 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3072 ac_ct_CC=$CC
3073 # Extract the first word of "clang", so it can be a program name with args.
3074 set dummy clang; ac_word=$2
3075 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3077 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3078 then :
3079 printfscip-shell system . . printf. %s "(cached) " >&6
3080 else $as_nop
3081 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3083 else
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3086 do
3087 IFS=$as_save_IFS
3088 case $as_dir in #(((
3089 '') as_dir=./ ;;
3090 */) ;;
3091 *) as_dir=$as_dir/ ;;
3092 esac
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_ac_ct_CC="clang"
3096 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3097 break 2
3098 fi
3099 done
3100 done
3101 IFS=$as_save_IFS
3102
3103 fi
3104 fi
3105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3106 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3107 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3108 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3109 else
3110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3112 fi
3113
3114 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3115 CC=""
3116 else
3117 case $cross_compiling:$ac_tool_warned in
3118 yes:)
3119 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3120 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned=yes ;;
3122 esac
3123 CC=$ac_ct_CC
3124 fi
3125 else
3126 CC="$ac_cv_prog_CC"
3127 fi
3128
3129 fi
3130
3131
3132 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3135 See \`config.log' for more details" "$LINENO" 5; }
3136
3137 # Provide some information about the compiler.
3138 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3139 set X $ac_compile
3140 ac_compiler=$2
3141 for ac_option in --version -v -V -qversion -version; do
3142 { { ac_try="$ac_compiler $ac_option >&5"
3143 case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3146 esac
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3149 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3150 ac_status=$?
3151 if testscip-shell system . . test. -s conftest.err; then
3152 sedscip-shell system . . sed. '10a\
3153 ... rest of stderr output deleted ...
3154 10q' conftest.err >conftest.er1
3155 catscip-shell system . . cat. conftest.er1 >&5
3156 fi
3157 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3158 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159 testscip-shell system . . test. $ac_status = 0; }
3160 done
3161
3162 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3164
3165 int
3166 main (void)
3167 {
3168
3169 ;
3170 return 0;
3171 }
3172 _ACEOF
3173 ac_clean_files_save=$ac_clean_files
3174 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3175 # Try to create an executable without -o first, disregard a.out.
3176 # It will help us diagnose broken compilers, and finding out an intuition
3177 # of exeext.
3178 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3179 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
3180 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3181
3182 # The possible output files:
3183 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3184
3185 ac_rmfiles=
3186 for ac_file in $ac_files
3187 do
3188 case $ac_file in
3189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3190 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3191 esac
3192 done
3193 rmscip-shell system . . rm. -f $ac_rmfiles
3194
3195 if { { ac_try="$ac_link_default"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3202 (eval "$ac_link_default") 2>&5
3203 ac_status=$?
3204 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3205 testscip-shell system . . test. $ac_status = 0; }
3206 then :
3207 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3208 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3209 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3210 # so that the user can short-circuit this test for compilers unknown to
3211 # Autoconf.
3212 for ac_file in $ac_files ''
3213 do
3214 testscip-shell system . . test. -f "$ac_file" || continue
3215 case $ac_file in
3216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3217 ;;
3218 [ab].out )
3219 # We found the default executable, but exeext='' is most
3220 # certainly right.
3221 break;;
3222 *.* )
3223 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
3224 then :; else
3225 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3226 fi
3227 # We set ac_cv_exeext here because the later test for it is not
3228 # safe: cross compilers may not add the suffix if given an `-o'
3229 # argument, so we may need to know it at that point already.
3230 # Even if this section looks crufty: it has the advantage of
3231 # actually working.
3232 break;;
3233 * )
3234 break;;
3235 esac
3236 done
3237 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
3238
3239 else $as_nop
3240 ac_file=''
3241 fi
3242 if testscip-shell system . . test. -z "$ac_file"
3243 then :
3244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3246 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3247 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3248
3249 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). 77 "C compiler cannot create executables
3252 See \`config.log' for more details" "$LINENO" 5; }
3253 else $as_nop
3254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3256 fi
3257 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3258 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
3259 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3260 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
3261 ac_exeext=$ac_cv_exeext
3262
3263 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3264 ac_clean_files=$ac_clean_files_save
3265 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3266 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
3267 if { { ac_try="$ac_link"
3268 case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3271 esac
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3274 (eval "$ac_link") 2>&5
3275 ac_status=$?
3276 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 testscip-shell system . . test. $ac_status = 0; }
3278 then :
3279 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3280 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3281 # work properly (i.e., refer to `conftest.exe'), while it won't with
3282 # `rm'.
3283 for ac_file in conftest.exe conftest conftest.*; do
3284 testscip-shell system . . test. -f "$ac_file" || continue
3285 case $ac_file in
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3288 break;;
3289 * ) break;;
3290 esac
3291 done
3292 else $as_nop
3293 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
3296 See \`config.log' for more details" "$LINENO" 5; }
3297 fi
3298 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
3299 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3300 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
3301
3302 rmscip-shell system . . rm. -f conftest.$ac_ext
3303 EXEEXT=$ac_cv_exeext
3304 ac_exeext=$EXEEXT
3305 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3307 #include <stdio.h>
3308 int
3309 main (void)
3310 {
3311 FILE *f = fopen ("conftest.out", "w");
3312 return ferror (f) || fclose (f) != 0;
3313
3314 ;
3315 return 0;
3316 }
3317 _ACEOF
3318 ac_clean_files="$ac_clean_files conftest.out"
3319 # Check that the compiler produces executables we can run. If not, either
3320 # the compiler is broken, or we cross compile.
3321 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3322 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
3323 if testscip-shell system . . test. "$cross_compiling" != yes; then
3324 { { ac_try="$ac_link"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3331 (eval "$ac_link") 2>&5
3332 ac_status=$?
3333 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 testscip-shell system . . test. $ac_status = 0; }
3335 if { ac_try='./conftest$ac_cv_exeext'
3336 { { case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3339 esac
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3342 (eval "$ac_try") 2>&5
3343 ac_status=$?
3344 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 testscip-shell system . . test. $ac_status = 0; }; }; then
3346 cross_compiling=no
3347 else
3348 if testscip-shell system . . test. "$cross_compiling" = maybe; then
3349 cross_compiling=yes
3350 else
3351 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). 77 "cannot run C compiled programs.
3354 If you meant to cross compile, use \`--host'.
3355 See \`config.log' for more details" "$LINENO" 5; }
3356 fi
3357 fi
3358 fi
3359 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3360 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
3361
3362 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3363 ac_clean_files=$ac_clean_files_save
3364 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3365 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
3366 if testscip-shell system . . test. ${ac_cv_objext+y}
3367 then :
3368 printfscip-shell system . . printf. %s "(cached) " >&6
3369 else $as_nop
3370 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3372
3373 int
3374 main (void)
3375 {
3376
3377 ;
3378 return 0;
3379 }
3380 _ACEOF
3381 rmscip-shell system . . rm. -f conftest.o conftest.obj
3382 if { { ac_try="$ac_compile"
3383 case "(($ac_try" in
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3386 esac
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3389 (eval "$ac_compile") 2>&5
3390 ac_status=$?
3391 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 testscip-shell system . . test. $ac_status = 0; }
3393 then :
3394 for ac_file in conftest.o conftest.obj conftest.*; do
3395 testscip-shell system . . test. -f "$ac_file" || continue;
3396 case $ac_file in
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3398 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
3399 break;;
3400 esac
3401 done
3402 else $as_nop
3403 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3404 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3405
3406 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
3409 See \`config.log' for more details" "$LINENO" 5; }
3410 fi
3411 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
3412 fi
3413 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3414 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
3415 OBJEXT=$ac_cv_objext
3416 ac_objext=$OBJEXT
3417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3418 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
3419 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
3420 then :
3421 printfscip-shell system . . printf. %s "(cached) " >&6
3422 else $as_nop
3423 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3425
3426 int
3427 main (void)
3428 {
3429 #ifndef __GNUC__
3430 choke me
3431 #endif
3432
3433 ;
3434 return 0;
3435 }
3436 _ACEOF
3437 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3438 then :
3439 ac_compiler_gnu=yes
3440 else $as_nop
3441 ac_compiler_gnu=no
3442 fi
3443 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3444 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3445
3446 fi
3447 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3448 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450
3451 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
3452 GCC=yes
3453 else
3454 GCC=
3455 fi
3456 ac_test_CFLAGS=${CFLAGS+y}
3457 ac_save_CFLAGS=$CFLAGS
3458 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3459 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
3460 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
3461 then :
3462 printfscip-shell system . . printf. %s "(cached) " >&6
3463 else $as_nop
3464 ac_save_c_werror_flag=$ac_c_werror_flag
3465 ac_c_werror_flag=yes
3466 ac_cv_prog_cc_g=no
3467 CFLAGS="-g"
3468 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3470
3471 int
3472 main (void)
3473 {
3474
3475 ;
3476 return 0;
3477 }
3478 _ACEOF
3479 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3480 then :
3481 ac_cv_prog_cc_g=yes
3482 else $as_nop
3483 CFLAGS=""
3484 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3486
3487 int
3488 main (void)
3489 {
3490
3491 ;
3492 return 0;
3493 }
3494 _ACEOF
3495 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3496 then :
3497
3498 else $as_nop
3499 ac_c_werror_flag=$ac_save_c_werror_flag
3500 CFLAGS="-g"
3501 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3503
3504 int
3505 main (void)
3506 {
3507
3508 ;
3509 return 0;
3510 }
3511 _ACEOF
3512 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3513 then :
3514 ac_cv_prog_cc_g=yes
3515 fi
3516 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3517 fi
3518 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3519 fi
3520 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3521 ac_c_werror_flag=$ac_save_c_werror_flag
3522 fi
3523 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3524 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
3525 if testscip-shell system . . test. $ac_test_CFLAGS; then
3526 CFLAGS=$ac_save_CFLAGS
3527 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
3528 if testscip-shell system . . test. "$GCC" = yes; then
3529 CFLAGS="-g -O2"
3530 else
3531 CFLAGS="-g"
3532 fi
3533 else
3534 if testscip-shell system . . test. "$GCC" = yes; then
3535 CFLAGS="-O2"
3536 else
3537 CFLAGS=
3538 fi
3539 fi
3540 ac_prog_cc_stdc=no
3541 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
3542 then :
3543 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3544 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
3545 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
3546 then :
3547 printfscip-shell system . . printf. %s "(cached) " >&6
3548 else $as_nop
3549 ac_cv_prog_cc_c11=no
3550 ac_save_CC=$CC
3551 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3553 $ac_c_conftest_c11_program
3554 _ACEOF
3555 for ac_arg in '' -std=gnu11
3556 do
3557 CC="$ac_save_CC $ac_arg"
3558 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3559 then :
3560 ac_cv_prog_cc_c11=$ac_arg
3561 fi
3562 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
3563 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
3564 done
3565 rmscip-shell system . . rm. -f conftest.$ac_ext
3566 CC=$ac_save_CC
3567 fi
3568
3569 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
3570 then :
3571 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3572 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
3573 else $as_nop
3574 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
3575 then :
3576 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3577 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
3578 else $as_nop
3579 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3580 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3581 CC="$CC $ac_cv_prog_cc_c11"
3582 fi
3583 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3584 ac_prog_cc_stdc=c11
3585 fi
3586 fi
3587 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
3588 then :
3589 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3590 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
3591 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
3592 then :
3593 printfscip-shell system . . printf. %s "(cached) " >&6
3594 else $as_nop
3595 ac_cv_prog_cc_c99=no
3596 ac_save_CC=$CC
3597 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3599 $ac_c_conftest_c99_program
3600 _ACEOF
3601 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3602 do
3603 CC="$ac_save_CC $ac_arg"
3604 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3605 then :
3606 ac_cv_prog_cc_c99=$ac_arg
3607 fi
3608 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
3609 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
3610 done
3611 rmscip-shell system . . rm. -f conftest.$ac_ext
3612 CC=$ac_save_CC
3613 fi
3614
3615 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
3616 then :
3617 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3618 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
3619 else $as_nop
3620 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
3621 then :
3622 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3623 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
3624 else $as_nop
3625 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3626 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3627 CC="$CC $ac_cv_prog_cc_c99"
3628 fi
3629 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3630 ac_prog_cc_stdc=c99
3631 fi
3632 fi
3633 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
3634 then :
3635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3636 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
3637 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
3638 then :
3639 printfscip-shell system . . printf. %s "(cached) " >&6
3640 else $as_nop
3641 ac_cv_prog_cc_c89=no
3642 ac_save_CC=$CC
3643 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3645 $ac_c_conftest_c89_program
3646 _ACEOF
3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3648 do
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3651 then :
3652 ac_cv_prog_cc_c89=$ac_arg
3653 fi
3654 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
3655 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
3656 done
3657 rmscip-shell system . . rm. -f conftest.$ac_ext
3658 CC=$ac_save_CC
3659 fi
3660
3661 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
3662 then :
3663 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3664 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
3665 else $as_nop
3666 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
3667 then :
3668 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3669 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
3670 else $as_nop
3671 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3672 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3673 CC="$CC $ac_cv_prog_cc_c89"
3674 fi
3675 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3676 ac_prog_cc_stdc=c89
3677 fi
3678 fi
3679
3680 ac_ext=c
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685
3686
3687 ac_ext=c
3688 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3693 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
3694 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
3695 then :
3696 printfscip-shell system . . printf. %s "(cached) " >&6
3697 else $as_nop
3698 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700
3701 int
3702 main (void)
3703 {
3704
3705 ;
3706 return 0;
3707 }
3708 _ACEOF
3709 # Make sure it works both with $CC and with simple cc.
3710 # Following AC_PROG_CC_C_O, we do the test twice because some
3711 # compilers refuse to overwrite an existing .o file with -o,
3712 # though they will create one.
3713 am_cv_prog_cc_c_o=yes
3714 for am_i in 1 2; do
3715 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3716 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3717 ac_status=$?
3718 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } \
3720 && testscip-shell system . . test. -f conftest2.$ac_objext; then
3721 : OK
3722 else
3723 am_cv_prog_cc_c_o=no
3724 break
3725 fi
3726 done
3727 rmscip-shell system . . rm. -f core conftest*
3728 unset am_i
3729 fi
3730 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3731 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3732 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
3733 # Losing compiler, so override with the script.
3734 # FIXME: It is wrong to rewrite CC.
3735 # But if we don't then we get into trouble of one sort or another.
3736 # A longer-term fix would be to have automake use am__CC in this case,
3737 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3738 CC="$am_aux_dir/compile $CC"
3739 fi
3740 ac_ext=c
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3745
3746
3747
3748 ac_header= ac_cache=
3749 for ac_item in $ac_header_c_list
3750 do
3751 if testscip-shell system . . test. $ac_cache; then
3752 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3753 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3754 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
3755 fi
3756 ac_header= ac_cache=
3757 elif testscip-shell system . . test. $ac_header; then
3758 ac_cache=$ac_item
3759 else
3760 ac_header=$ac_item
3761 fi
3762 done
3763
3764
3765
3766
3767
3768
3769
3770
3771 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
3772 then :
3773
3774 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3775
3776 fi
3777
3778
3779
3780
3781
3782
3783 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3784 printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3785 if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y}
3786 then :
3787 printfscip-shell system . . printf. %s "(cached) " >&6
3788 else $as_nop
3789 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3791
3792 # define __EXTENSIONS__ 1
3793 $ac_includes_default
3794 int
3795 main (void)
3796 {
3797
3798 ;
3799 return 0;
3800 }
3801 _ACEOF
3802 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3803 then :
3804 ac_cv_safe_to_define___extensions__=yes
3805 else $as_nop
3806 ac_cv_safe_to_define___extensions__=no
3807 fi
3808 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3809 fi
3810 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3811 printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
3812
3813 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
3814 printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
3815 if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y}
3816 then :
3817 printfscip-shell system . . printf. %s "(cached) " >&6
3818 else $as_nop
3819 ac_cv_should_define__xopen_source=no
3820 if testscip-shell system . . test. $ac_cv_header_wchar_h = yes
3821 then :
3822 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3824
3825 #include <wchar.h>
3826 mbstate_t x;
3827 int
3828 main (void)
3829 {
3830
3831 ;
3832 return 0;
3833 }
3834 _ACEOF
3835 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3836 then :
3837
3838 else $as_nop
3839 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3841
3842 #define _XOPEN_SOURCE 500
3843 #include <wchar.h>
3844 mbstate_t x;
3845 int
3846 main (void)
3847 {
3848
3849 ;
3850 return 0;
3851 }
3852 _ACEOF
3853 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3854 then :
3855 ac_cv_should_define__xopen_source=yes
3856 fi
3857 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3858 fi
3859 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3860 fi
3861 fi
3862 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
3863 printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
3864
3865 printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
3866
3867 printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
3868
3869 printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
3870
3871 printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
3872
3873 printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
3874
3875 printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
3876
3877 printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3878
3879 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
3880
3881 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
3882
3883 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
3884
3885 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
3886
3887 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
3888
3889 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
3890
3891 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
3892
3893 printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
3894
3895 if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes
3896 then :
3897 MINIX=yes
3898 printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h
3899
3900 printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
3901
3902 printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
3903
3904 else $as_nop
3905 MINIX=
3906 fi
3907 if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes
3908 then :
3909 printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
3910
3911 fi
3912 if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes
3913 then :
3914 printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
3915
3916 fi
3917
3918 # Check whether --enable-largefile was given.
3919 if testscip-shell system . . test. ${enable_largefile+y}
3920 then :
3921 enableval=$enable_largefile;
3922 fi
3923
3924 if testscip-shell system . . test. "$enable_largefile" != no; then
3925
3926 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3927 printfscip-shell system . . printf. %s "checking for special C compiler options needed for large files... " >&6; }
3928 if testscip-shell system . . test. ${ac_cv_sys_largefile_CC+y}
3929 then :
3930 printfscip-shell system . . printf. %s "(cached) " >&6
3931 else $as_nop
3932 ac_cv_sys_largefile_CC=no
3933 if testscip-shell system . . test. "$GCC" != yes; then
3934 ac_save_CC=$CC
3935 while :; do
3936 # IRIX 6.2 and later do not support large files by default,
3937 # so use the C compiler's -n32 option if that helps.
3938 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3940 #include <sys/types.h>
3941 /* Check that off_t can represent 2**63 - 1 correctly.
3942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3943 since some C++ compilers masquerading as C compilers
3944 incorrectly reject 9223372036854775807. */
3945 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
3946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3947 && LARGE_OFF_T % 2147483647 == 1)
3948 ? 1 : -1];
3949 int
3950 main (void)
3951 {
3952
3953 ;
3954 return 0;
3955 }
3956 _ACEOF
3957 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3958 then :
3959 break
3960 fi
3961 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
3962 CC="$CC -n32"
3963 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
3964 then :
3965 ac_cv_sys_largefile_CC=' -n32'; break
3966 fi
3967 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
3968 break
3969 done
3970 CC=$ac_save_CC
3971 rmscip-shell system . . rm. -f conftest.$ac_ext
3972 fi
3973 fi
3974 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3975 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
3976 if testscip-shell system . . test. "$ac_cv_sys_largefile_CC" != no; then
3977 CC=$CC$ac_cv_sys_largefile_CC
3978 fi
3979
3980 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3981 printfscip-shell system . . printf. %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3982 if testscip-shell system . . test. ${ac_cv_sys_file_offset_bits+y}
3983 then :
3984 printfscip-shell system . . printf. %s "(cached) " >&6
3985 else $as_nop
3986 while :; do
3987 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3989 #include <sys/types.h>
3990 /* Check that off_t can represent 2**63 - 1 correctly.
3991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3992 since some C++ compilers masquerading as C compilers
3993 incorrectly reject 9223372036854775807. */
3994 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
3995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3996 && LARGE_OFF_T % 2147483647 == 1)
3997 ? 1 : -1];
3998 int
3999 main (void)
4000 {
4001
4002 ;
4003 return 0;
4004 }
4005 _ACEOF
4006 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4007 then :
4008 ac_cv_sys_file_offset_bits=no; break
4009 fi
4010 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4011 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4013 #define _FILE_OFFSET_BITS 64
4014 #include <sys/types.h>
4015 /* Check that off_t can represent 2**63 - 1 correctly.
4016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4017 since some C++ compilers masquerading as C compilers
4018 incorrectly reject 9223372036854775807. */
4019 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4021 && LARGE_OFF_T % 2147483647 == 1)
4022 ? 1 : -1];
4023 int
4024 main (void)
4025 {
4026
4027 ;
4028 return 0;
4029 }
4030 _ACEOF
4031 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4032 then :
4033 ac_cv_sys_file_offset_bits=64; break
4034 fi
4035 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4036 ac_cv_sys_file_offset_bits=unknown
4037 break
4038 done
4039 fi
4040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4041 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
4042 case $ac_cv_sys_file_offset_bits in #(
4043 no | unknown) ;;
4044 *)
4045 printfscip-shell system . . printf. "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
4046 ;;
4047 esac
4048 rmscip-shell system . . rm. -rf conftest*
4049 if testscip-shell system . . test. $ac_cv_sys_file_offset_bits = unknown; then
4050 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4051 printfscip-shell system . . printf. %s "checking for _LARGE_FILES value needed for large files... " >&6; }
4052 if testscip-shell system . . test. ${ac_cv_sys_large_files+y}
4053 then :
4054 printfscip-shell system . . printf. %s "(cached) " >&6
4055 else $as_nop
4056 while :; do
4057 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4059 #include <sys/types.h>
4060 /* Check that off_t can represent 2**63 - 1 correctly.
4061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4062 since some C++ compilers masquerading as C compilers
4063 incorrectly reject 9223372036854775807. */
4064 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4066 && LARGE_OFF_T % 2147483647 == 1)
4067 ? 1 : -1];
4068 int
4069 main (void)
4070 {
4071
4072 ;
4073 return 0;
4074 }
4075 _ACEOF
4076 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4077 then :
4078 ac_cv_sys_large_files=no; break
4079 fi
4080 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4081 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4083 #define _LARGE_FILES 1
4084 #include <sys/types.h>
4085 /* Check that off_t can represent 2**63 - 1 correctly.
4086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4087 since some C++ compilers masquerading as C compilers
4088 incorrectly reject 9223372036854775807. */
4089 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4091 && LARGE_OFF_T % 2147483647 == 1)
4092 ? 1 : -1];
4093 int
4094 main (void)
4095 {
4096
4097 ;
4098 return 0;
4099 }
4100 _ACEOF
4101 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4102 then :
4103 ac_cv_sys_large_files=1; break
4104 fi
4105 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4106 ac_cv_sys_large_files=unknown
4107 break
4108 done
4109 fi
4110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4111 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_large_files" >&6; }
4112 case $ac_cv_sys_large_files in #(
4113 no | unknown) ;;
4114 *)
4115 printfscip-shell system . . printf. "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
4116 ;;
4117 esac
4118 rmscip-shell system . . rm. -rf conftest*
4119 fi
4120 fi
4121
4122
4123 # Initialize Automake
4124 am__api_version='1.16'
4125
4126
4127 # Find a good install program. We prefer a C program (faster),
4128 # so one script is as good as another. But avoid the broken or
4129 # incompatible versions:
4130 # SysV /etc/install, /usr/sbin/install
4131 # SunOS /usr/etc/install
4132 # IRIX /sbin/install
4133 # AIX /bin/install
4134 # AmigaOS /C/install, which installs bootblocks on floppy discs
4135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4138 # OS/2's system install, which has a completely different semantic
4139 # ./install, which can be erroneously created by make from ./install.sh.
4140 # Reject install programs that cannot install multiple files.
4141 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4142 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
4143 if testscip-shell system . . test. -z "$INSTALL"; then
4144 if testscip-shell system . . test. ${ac_cv_path_install+y}
4145 then :
4146 printfscip-shell system . . printf. %s "(cached) " >&6
4147 else $as_nop
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 for as_dir in $PATH
4150 do
4151 IFS=$as_save_IFS
4152 case $as_dir in #(((
4153 '') as_dir=./ ;;
4154 */) ;;
4155 *) as_dir=$as_dir/ ;;
4156 esac
4157 # Account for fact that we put trailing slashes in our PATH walk.
4158 case $as_dir in #((
4159 ./ | /[cC]/* | \
4160 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4161 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4162 /usr/ucb/* ) ;;
4163 *)
4164 # OSF1 and SCO ODT 3.0 have their own names for install.
4165 # Don't use installbsd from OSF since it installs stuff as root
4166 # by default.
4167 for ac_prog in ginstall scoinst install; do
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
4170 if testscip-shell system . . test. $ac_prog = install &&
4171 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4172 # AIX install. It has an incompatible calling convention.
4173 :
4174 elif testscip-shell system . . test. $ac_prog = install &&
4175 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4176 # program-specific install script used by HP pwplus--don't use.
4177 :
4178 else
4179 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
4180 echoscip-shell system . . echo. one > conftest.one
4181 echoscip-shell system . . echo. two > conftest.two
4182 mkdirscip-shell system . . mkdir. conftest.dir
4183 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
4184 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
4185 testscip-shell system . . test. -s conftest.dir/conftest.one &&
4186 testscip-shell system . . test. -s conftest.dir/conftest.two
4187 then
4188 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4189 break 3
4190 fi
4191 fi
4192 fi
4193 done
4194 done
4195 ;;
4196 esac
4197
4198 done
4199 IFS=$as_save_IFS
4200
4201 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
4202
4203 fi
4204 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
4205 INSTALL=$ac_cv_path_install
4206 else
4207 # As a last resort, use the slow shell script. Don't cache a
4208 # value for INSTALL within a source directory, because that will
4209 # break other packages using the cache if that directory is
4210 # removed, or if the value is a relative name.
4211 INSTALL=$ac_install_sh
4212 fi
4213 fi
4214 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4215 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
4216
4217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4218 # It thinks the first close brace ends the variable substitution.
4219 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4220
4221 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4222
4223 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4224
4225 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4226 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
4227 # Reject unsafe characters in $srcdir or the absolute working directory
4228 # name. Accept space and tab only in the latter.
4229 am_lf='
4230 '
4231 case `pwdscip-shell system . . pwd.` in
4232 *[\\\"\#\$\&\'\`$am_lf]*)
4233 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
4234 esac
4235 case $srcdir in
4236 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4237 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4238 esac
4239
4240 # Do 'set' in a subshell so we don't clobber the current shell's
4241 # arguments. Must try -L first in case configure is actually a
4242 # symlink; some systems play weird games with the mod time of symlinks
4243 # (eg FreeBSD returns the mod time of the symlink's containing
4244 # directory).
4245 if (
4246 am_has_slept=no
4247 for am_try in 1 2; do
4248 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
4249 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
4250 if testscip-shell system . . test. "$*" = "X"; then
4251 # -L didn't work.
4252 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
4253 fi
4254 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
4255 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
4256
4257 # If neither matched, then we have a broken ls. This can happen
4258 # if, for instance, CONFIG_SHELL is bash and it inherits a
4259 # broken ls alias from the environment. This has actually
4260 # happened. Such a system could not be considered "sane".
4261 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
4262 alias in your environment" "$LINENO" 5
4263 fi
4264 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
4265 break
4266 fi
4267 # Just in case.
4268 sleepscip-shell system . . sleep. 1
4269 am_has_slept=yes
4270 done
4271 testscip-shell system . . test. "$2" = conftest.file
4272 )
4273 then
4274 # Ok.
4275 :
4276 else
4277 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "newly created file is older than distributed files!
4278 Check your system clock" "$LINENO" 5
4279 fi
4280 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4281 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
4282 # If we didn't sleep, we still need to ensure time stamps of config.status and
4283 # generated files are strictly newer.
4284 am_sleep_pid=
4285 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4286 ( sleepscip-shell system . . sleep. 1 ) &
4287 am_sleep_pid=$!
4288 fi
4289
4290 rmscip-shell system . . rm. -f conftest.file
4291
4292 testscip-shell system . . test. "$program_prefix" != NONE &&
4293 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4294 # Use a double $ so make ignores it.
4295 testscip-shell system . . test. "$program_suffix" != NONE &&
4296 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4297 # Double any \ or $.
4298 # By default was `s,x,x', remove it if useless.
4299 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4300 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
4301
4302
4303 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
4304 MISSING="\${SHELL} '$am_aux_dir/missing'"
4305 fi
4306 # Use eval to expand $SHELL
4307 if eval "$MISSING --is-lightweight"; then
4308 am_missing_run="$MISSING "
4309 else
4310 am_missing_run=
4311 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4312 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4313 fi
4314
4315 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
4316 case $am_aux_dir in
4317 *\ * | *\ *)
4318 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4319 *)
4320 install_sh="\${SHELL} $am_aux_dir/install-sh"
4321 esac
4322 fi
4323
4324 # Installed binaries are usually stripped using 'strip' when the user
4325 # run "make install-strip". However 'strip' might not be the right
4326 # tool to use in cross-compilation environments, therefore Automake
4327 # will honor the 'STRIP' environment variable to overrule this program.
4328 if testscip-shell system . . test. "$cross_compiling" != no; then
4329 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4330 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4331 set dummy ${ac_tool_prefix}strip; ac_word=$2
4332 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4334 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
4335 then :
4336 printfscip-shell system . . printf. %s "(cached) " >&6
4337 else $as_nop
4338 if testscip-shell system . . test. -n "$STRIP"; then
4339 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4343 do
4344 IFS=$as_save_IFS
4345 case $as_dir in #(((
4346 '') as_dir=./ ;;
4347 */) ;;
4348 *) as_dir=$as_dir/ ;;
4349 esac
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4352 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4353 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4354 break 2
4355 fi
4356 done
4357 done
4358 IFS=$as_save_IFS
4359
4360 fi
4361 fi
4362 STRIP=$ac_cv_prog_STRIP
4363 if testscip-shell system . . test. -n "$STRIP"; then
4364 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4365 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
4366 else
4367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4369 fi
4370
4371
4372 fi
4373 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
4374 ac_ct_STRIP=$STRIP
4375 # Extract the first word of "strip", so it can be a program name with args.
4376 set dummy strip; ac_word=$2
4377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4379 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
4380 then :
4381 printfscip-shell system . . printf. %s "(cached) " >&6
4382 else $as_nop
4383 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
4384 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4385 else
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4388 do
4389 IFS=$as_save_IFS
4390 case $as_dir in #(((
4391 '') as_dir=./ ;;
4392 */) ;;
4393 *) as_dir=$as_dir/ ;;
4394 esac
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4397 ac_cv_prog_ac_ct_STRIP="strip"
4398 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4399 break 2
4400 fi
4401 done
4402 done
4403 IFS=$as_save_IFS
4404
4405 fi
4406 fi
4407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4408 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
4409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4410 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
4411 else
4412 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4414 fi
4415
4416 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
4417 STRIP=":"
4418 else
4419 case $cross_compiling:$ac_tool_warned in
4420 yes:)
4421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4422 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4423 ac_tool_warned=yes ;;
4424 esac
4425 STRIP=$ac_ct_STRIP
4426 fi
4427 else
4428 STRIP="$ac_cv_prog_STRIP"
4429 fi
4430
4431 fi
4432 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4433
4434
4435 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
4436 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
4437 if testscip-shell system . . test. -z "$MKDIR_P"; then
4438 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
4439 then :
4440 printfscip-shell system . . printf. %s "(cached) " >&6
4441 else $as_nop
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4444 do
4445 IFS=$as_save_IFS
4446 case $as_dir in #(((
4447 '') as_dir=./ ;;
4448 */) ;;
4449 *) as_dir=$as_dir/ ;;
4450 esac
4451 for ac_prog in mkdir gmkdir; do
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
4454 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4455 'mkdir ('*'coreutils) '* | \
4456 'BusyBox '* | \
4457 'mkdir (fileutils) '4.1*)
4458 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
4459 break 3;;
4460 esac
4461 done
4462 done
4463 done
4464 IFS=$as_save_IFS
4465
4466 fi
4467
4468 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
4469 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
4470 MKDIR_P="$ac_cv_path_mkdir -p"
4471 else
4472 # As a last resort, use the slow shell script. Don't cache a
4473 # value for MKDIR_P within a source directory, because that will
4474 # break other packages using the cache if that directory is
4475 # removed, or if the value is a relative name.
4476 MKDIR_P="$ac_install_sh -d"
4477 fi
4478 fi
4479 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4480 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
4481
4482 for ac_prog in gawk mawk nawk awk
4483 do
4484 # Extract the first word of "$ac_prog", so it can be a program name with args.
4485 set dummy $ac_prog; ac_word=$2
4486 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4487 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4488 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
4489 then :
4490 printfscip-shell system . . printf. %s "(cached) " >&6
4491 else $as_nop
4492 if testscip-shell system . . test. -n "$AWK"; then
4493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4494 else
4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 for as_dir in $PATH
4497 do
4498 IFS=$as_save_IFS
4499 case $as_dir in #(((
4500 '') as_dir=./ ;;
4501 */) ;;
4502 *) as_dir=$as_dir/ ;;
4503 esac
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_AWK="$ac_prog"
4507 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4508 break 2
4509 fi
4510 done
4511 done
4512 IFS=$as_save_IFS
4513
4514 fi
4515 fi
4516 AWK=$ac_cv_prog_AWK
4517 if testscip-shell system . . test. -n "$AWK"; then
4518 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4519 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
4520 else
4521 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4523 fi
4524
4525
4526 testscip-shell system . . test. -n "$AWK" && break
4527 done
4528
4529 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4530 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4531 set x ${MAKE-make}
4532 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4533 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4534 then :
4535 printfscip-shell system . . printf. %s "(cached) " >&6
4536 else $as_nop
4537 catscip-shell system . . cat. >conftest.make <<\_ACEOF
4538 SHELL = /bin/sh
4539 all:
4540 @echo '@@@%%%=$(MAKE)=@@@%%%'
4541 _ACEOF
4542 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4543 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
4544 *@@@%%%=?*=@@@%%%*)
4545 eval ac_cv_prog_make_${ac_make}_set=yes;;
4546 *)
4547 eval ac_cv_prog_make_${ac_make}_set=no;;
4548 esac
4549 rmscip-shell system . . rm. -f conftest.make
4550 fi
4551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4552 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
4554 SET_MAKE=
4555 else
4556 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4558 SET_MAKE="MAKE=${MAKE-make}"
4559 fi
4560
4561 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
4562 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
4563 if testscip-shell system . . test. -d .tst; then
4564 am__leading_dot=.
4565 else
4566 am__leading_dot=_
4567 fi
4568 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
4569
4570 DEPDIR="${am__leading_dot}deps"
4571
4572 ac_config_commands="$ac_config_commands depfiles"
4573
4574 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4575 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4576 catscip-shell system . . cat. > confinc.mk << 'END'
4577 am__doit:
4578 @echo this is the am__doit target >confinc.out
4579 .PHONY: am__doit
4580 END
4581 am__include="#"
4582 am__quote=
4583 # BSD make does it like this.
4584 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
4585 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4586 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
4587 _am_result=no
4588 for s in GNU BSD; do
4589 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4590 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
4591 ac_status=$?
4592 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }
4594 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
4595 '0:this is the am__doit target') :
4596 case $s in #(
4597 BSD) :
4598 am__include='.include' am__quote='"' ;; #(
4599 *) :
4600 am__include='include' am__quote='' ;;
4601 esac ;; #(
4602 *) :
4603 ;;
4604 esac
4605 if testscip-shell system . . test. "$am__include" != "#"; then
4606 _am_result="yes ($s style)"
4607 break
4608 fi
4609 done
4610 rmscip-shell system . . rm. -f confinc.* confmf.*
4611 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4612 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
4613
4614 # Check whether --enable-dependency-tracking was given.
4615 if testscip-shell system . . test. ${enable_dependency_tracking+y}
4616 then :
4617 enableval=$enable_dependency_tracking;
4618 fi
4619
4620 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4621 am_depcomp="$ac_aux_dir/depcomp"
4622 AMDEPBACKSLASH='\'
4623 am__nodep='_no'
4624 fi
4625 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4626 AMDEP_TRUE=
4627 AMDEP_FALSE='#'
4628 else
4629 AMDEP_TRUE='#'
4630 AMDEP_FALSE=
4631 fi
4632
4633
4634 # Check whether --enable-silent-rules was given.
4635 if testscip-shell system . . test. ${enable_silent_rules+y}
4636 then :
4637 enableval=$enable_silent_rules;
4638 fi
4639
4640 case $enable_silent_rules in # (((
4641 yes) AM_DEFAULT_VERBOSITY=0;;
4642 no) AM_DEFAULT_VERBOSITY=1;;
4643 *) AM_DEFAULT_VERBOSITY=1;;
4644 esac
4645 am_make=${MAKE-make}
4646 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4647 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
4648 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
4649 then :
4650 printfscip-shell system . . printf. %s "(cached) " >&6
4651 else $as_nop
4652 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
4653 BAR0=false
4654 BAR1=true
4655 V=1
4656 am__doit:
4657 @$(TRUE)
4658 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4659 am_cv_make_support_nested_variables=yes
4660 else
4661 am_cv_make_support_nested_variables=no
4662 fi
4663 fi
4664 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4665 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4666 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
4667 AM_V='$(V)'
4668 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4669 else
4670 AM_V=$AM_DEFAULT_VERBOSITY
4671 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4672 fi
4673 AM_BACKSLASH='\'
4674
4675 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
4676 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4677 # is not polluted with repeated "-I."
4678 am__isrc=' -I$(srcdir)'
4679 # test to see if srcdir already configured
4680 if testscip-shell system . . test. -f $srcdir/config.status; then
4681 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4682 fi
4683 fi
4684
4685 # test whether we have cygpath
4686 if testscip-shell system . . test. -z "$CYGPATH_W"; then
4687 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
4688 CYGPATH_W='cygpath -w'
4689 else
4690 CYGPATH_W=echo
4691 fi
4692 fi
4693
4694
4695 # Define the identity of the package.
4696 PACKAGE='sessreg'
4697 VERSION='1.1.3'
4698
4699
4700 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
4701
4702
4703 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
4704
4705 # Some tools Automake needs.
4706
4707 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4708
4709
4710 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4711
4712
4713 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4714
4715
4716 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4717
4718
4719 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4720
4721 # For better backward compatibility. To be removed once Automake 1.9.x
4722 # dies out for good. For more background, see:
4723 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4724 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4725 mkdir_p='$(MKDIR_P)'
4726
4727 # We need awk for the "check" target (and possibly the TAP driver). The
4728 # system "awk" is bad on some platforms.
4729 # Always define AMTAR for backward compatibility. Yes, it's still used
4730 # in the wild :-( We should find a proper way to deprecate it ...
4731 AMTAR='$${TAR-tar}'
4732
4733
4734 # We'll loop over all known methods to create a tar archive until one works.
4735 _am_tools='gnutar pax cpio none'
4736
4737 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4738
4739
4740
4741
4742
4743 depcc="$CC" am_compiler_list=
4744
4745 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4746 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
4747 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
4748 then :
4749 printfscip-shell system . . printf. %s "(cached) " >&6
4750 else $as_nop
4751 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4752 # We make a subdir and do the tests there. Otherwise we can end up
4753 # making bogus files that we don't know about and never remove. For
4754 # instance it was reported that on HP-UX the gcc test will end up
4755 # making a dummy file named 'D' -- because '-MD' means "put the output
4756 # in D".
4757 rmscip-shell system . . rm. -rf conftest.dir
4758 mkdirscip-shell system . . mkdir. conftest.dir
4759 # Copy depcomp to subdir because otherwise we won't find it if we're
4760 # using a relative directory.
4761 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4762 cd conftest.dir
4763 # We will build objects and dependencies in a subdirectory because
4764 # it helps to detect inapplicable dependency modes. For instance
4765 # both Tru64's cc and ICC support -MD to output dependencies as a
4766 # side effect of compilation, but ICC will put the dependencies in
4767 # the current directory while Tru64 will put them in the object
4768 # directory.
4769 mkdirscip-shell system . . mkdir. sub
4770
4771 am_cv_CC_dependencies_compiler_type=none
4772 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4773 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4774 fi
4775 am__universal=false
4776 case " $depcc " in #(
4777 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4778 esac
4779
4780 for depmode in $am_compiler_list; do
4781 # Setup a source with many dependencies, because some compilers
4782 # like to wrap large dependency lists on column 80 (with \), and
4783 # we should not choose a depcomp mode which is confused by this.
4784 #
4785 # We need to recreate these files for each test, as the compiler may
4786 # overwrite some of them when testing with obscure command lines.
4787 # This happens at least with the AIX C compiler.
4788 : > sub/conftest.c
4789 for i in 1 2 3 4 5 6; do
4790 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4791 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4792 # Solaris 10 /bin/sh.
4793 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4794 done
4795 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4796
4797 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4798 # mode. It turns out that the SunPro C++ compiler does not properly
4799 # handle '-M -o', and we need to detect this. Also, some Intel
4800 # versions had trouble with output in subdirs.
4801 am__obj=sub/conftest.${OBJEXT-o}
4802 am__minus_obj="-o $am__obj"
4803 case $depmode in
4804 gcc)
4805 # This depmode causes a compiler race in universal mode.
4806 testscip-shell system . . test. "$am__universal" = false || continue
4807 ;;
4808 nosideeffect)
4809 # After this tag, mechanisms are not by side-effect, so they'll
4810 # only be used when explicitly requested.
4811 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4812 continue
4813 else
4814 break
4815 fi
4816 ;;
4817 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4818 # This compiler won't grok '-c -o', but also, the minuso test has
4819 # not run yet. These depmodes are late enough in the game, and
4820 # so weak that their functioning should not be impacted.
4821 am__obj=conftest.${OBJEXT-o}
4822 am__minus_obj=
4823 ;;
4824 none) break ;;
4825 esac
4826 if depmode=$depmode \
4827 source=sub/conftest.c object=$am__obj \
4828 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4829 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4830 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4831 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4832 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4833 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4834 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4835 # icc doesn't choke on unknown options, it will just issue warnings
4836 # or remarks (even with -Werror). So we grep stderr for any message
4837 # that says an option was ignored or not supported.
4838 # When given -MP, icc 7.0 and 7.1 complain thusly:
4839 # icc: Command line warning: ignoring option '-M'; no argument required
4840 # The diagnosis changed in icc 8.0:
4841 # icc: Command line remark: option '-MP' not supported
4842 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4843 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4844 am_cv_CC_dependencies_compiler_type=$depmode
4845 break
4846 fi
4847 fi
4848 done
4849
4850 cd ..
4851 rmscip-shell system . . rm. -rf conftest.dir
4852 else
4853 am_cv_CC_dependencies_compiler_type=none
4854 fi
4855
4856 fi
4857 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4858 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4859 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4860
4861 if
4862 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4863 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4864 am__fastdepCC_TRUE=
4865 am__fastdepCC_FALSE='#'
4866 else
4867 am__fastdepCC_TRUE='#'
4868 am__fastdepCC_FALSE=
4869 fi
4870
4871
4872 # Variables for tags utilities; see am/tags.am
4873 if testscip-shell system . . test. -z "$CTAGS"; then
4874 CTAGS=ctags
4875 fi
4876
4877 if testscip-shell system . . test. -z "$ETAGS"; then
4878 ETAGS=etags
4879 fi
4880
4881 if testscip-shell system . . test. -z "$CSCOPE"; then
4882 CSCOPE=cscope
4883 fi
4884
4885
4886
4887 # POSIX will say in a future version that running "rm -f" with no argument
4888 # is OK; and we want to be able to make that assumption in our Makefile
4889 # recipes. So use an aggressive probe to check that the usage we want is
4890 # actually supported "in the wild" to an acceptable degree.
4891 # See automake bug#10828.
4892 # To make any issue more visible, cause the running configure to be aborted
4893 # by default if the 'rm' program in use doesn't match our expectations; the
4894 # user can still override this though.
4895 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
4896 catscip-shell system . . cat. >&2 <<'END'
4897 Oops!
4898
4899 Your 'rm' program seems unable to run without file operands specified
4900 on the command line, even when the '-f' option is present. This is contrary
4901 to the behaviour of most rm programs out there, and not conforming with
4902 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4903
4904 Please tell [email protected] about your system, including the value
4905 of your $PATH and any error possibly output before this message. This
4906 can help us improve future automake versions.
4907
4908 END
4909 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4910 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
4911 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4912 echoscip-shell system . . echo. >&2
4913 else
4914 catscip-shell system . . cat. >&2 <<'END'
4915 Aborting the configuration process, to ensure you take notice of the issue.
4916
4917 You can download and install GNU coreutils to get an 'rm' implementation
4918 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4919
4920 If you want to complete the configuration process using your problematic
4921 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4922 to "yes", and re-run configure.
4923
4924 END
4925 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4926 fi
4927 fi
4928
4929
4930 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
4944 printfscip-shell system . . printf. %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
4945 if testscip-shell system . . test. ${ac_cv_c_undeclared_builtin_options+y}
4946 then :
4947 printfscip-shell system . . printf. %s "(cached) " >&6
4948 else $as_nop
4949 ac_save_CFLAGS=$CFLAGS
4950 ac_cv_c_undeclared_builtin_options='cannot detect'
4951 for ac_arg in '' -fno-builtin; do
4952 CFLAGS="$ac_save_CFLAGS $ac_arg"
4953 # This test program should *not* compile successfully.
4954 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4956
4957 int
4958 main (void)
4959 {
4960 (void) strchr;
4961 ;
4962 return 0;
4963 }
4964 _ACEOF
4965 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4966 then :
4967
4968 else $as_nop
4969 # This test program should compile successfully.
4970 # No library function is consistently available on
4971 # freestanding implementations, so test against a dummy
4972 # declaration. Include always-available headers on the
4973 # off chance that they somehow elicit warnings.
4974 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4975 /* end confdefs.h. */
4976 #include <float.h>
4977 #include <limits.h>
4978 #include <stdarg.h>
4979 #include <stddef.h>
4980 extern void ac_decl (int, char *);
4981
4982 int
4983 main (void)
4984 {
4985 (void) ac_decl (0, (char *) 0);
4986 (void) ac_decl;
4987
4988 ;
4989 return 0;
4990 }
4991 _ACEOF
4992 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
4993 then :
4994 if testscip-shell system . . test. x"$ac_arg" = x
4995 then :
4996 ac_cv_c_undeclared_builtin_options='none needed'
4997 else $as_nop
4998 ac_cv_c_undeclared_builtin_options=$ac_arg
4999 fi
5000 break
5001 fi
5002 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5003 fi
5004 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5005 done
5006 CFLAGS=$ac_save_CFLAGS
5007
5008 fi
5009 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
5010 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
5011 case $ac_cv_c_undeclared_builtin_options in #(
5012 'cannot detect') :
5013 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5014 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5015 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot make $CC report undeclared builtins
5016 See \`config.log' for more details" "$LINENO" 5; } ;; #(
5017 'none needed') :
5018 ac_c_undeclared_builtin_options='' ;; #(
5019 *) :
5020 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
5021 esac
5022
5023
5024
5025
5026
5027 ac_fn_check_declscip-shell shell x11-xserver-utils 7.7+11 ac_fn_check_decl(). "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
5028 if testscip-shell system . . test. "x$ac_cv_have_decl___clang__" = xyes
5029 then :
5030 CLANGCC="yes"
5031 else $as_nop
5032 CLANGCC="no"
5033 fi
5034 ac_fn_check_declscip-shell shell x11-xserver-utils 7.7+11 ac_fn_check_decl(). "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
5035 if testscip-shell system . . test. "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
5036 then :
5037 INTELCC="yes"
5038 else $as_nop
5039 INTELCC="no"
5040 fi
5041 ac_fn_check_declscip-shell shell x11-xserver-utils 7.7+11 ac_fn_check_decl(). "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
5042 if testscip-shell system . . test. "x$ac_cv_have_decl___SUNPRO_C" = xyes
5043 then :
5044 SUNCC="yes"
5045 else $as_nop
5046 SUNCC="no"
5047 fi
5048
5049
5050
5051
5052
5053
5054
5055
5056 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5057 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5058 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5059 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5060 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5062 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
5063 then :
5064 printfscip-shell system . . printf. %s "(cached) " >&6
5065 else $as_nop
5066 case $PKG_CONFIG in
5067 [\\/]* | ?:[\\/]*)
5068 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5069 ;;
5070 *)
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074 IFS=$as_save_IFS
5075 case $as_dir in #(((
5076 '') as_dir=./ ;;
5077 */) ;;
5078 *) as_dir=$as_dir/ ;;
5079 esac
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5082 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
5083 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5084 break 2
5085 fi
5086 done
5087 done
5088 IFS=$as_save_IFS
5089
5090 ;;
5091 esac
5092 fi
5093 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5094 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
5095 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5096 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
5097 else
5098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5100 fi
5101
5102
5103 fi
5104 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
5105 ac_pt_PKG_CONFIG=$PKG_CONFIG
5106 # Extract the first word of "pkg-config", so it can be a program name with args.
5107 set dummy pkg-config; ac_word=$2
5108 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5110 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
5111 then :
5112 printfscip-shell system . . printf. %s "(cached) " >&6
5113 else $as_nop
5114 case $ac_pt_PKG_CONFIG in
5115 [\\/]* | ?:[\\/]*)
5116 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5117 ;;
5118 *)
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5121 do
5122 IFS=$as_save_IFS
5123 case $as_dir in #(((
5124 '') as_dir=./ ;;
5125 */) ;;
5126 *) as_dir=$as_dir/ ;;
5127 esac
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5130 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
5131 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5132 break 2
5133 fi
5134 done
5135 done
5136 IFS=$as_save_IFS
5137
5138 ;;
5139 esac
5140 fi
5141 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5142 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
5143 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5144 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
5145 else
5146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5148 fi
5149
5150 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
5151 PKG_CONFIG=""
5152 else
5153 case $cross_compiling:$ac_tool_warned in
5154 yes:)
5155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5156 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5157 ac_tool_warned=yes ;;
5158 esac
5159 PKG_CONFIG=$ac_pt_PKG_CONFIG
5160 fi
5161 else
5162 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5163 fi
5164
5165 fi
5166 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
5167 _pkg_min_version=0.9.0
5168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5169 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5170 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5171 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5172 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
5173 else
5174 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5176 PKG_CONFIG=""
5177 fi
5178 fi
5179
5180
5181 # Make sure we can run config.sub.
5182 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
5183 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5184
5185 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5186 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
5187 if testscip-shell system . . test. ${ac_cv_build+y}
5188 then :
5189 printfscip-shell system . . printf. %s "(cached) " >&6
5190 else $as_nop
5191 ac_build_alias=$build_alias
5192 testscip-shell system . . test. "x$ac_build_alias" = x &&
5193 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5194 testscip-shell system . . test. "x$ac_build_alias" = x &&
5195 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
5196 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5197 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5198
5199 fi
5200 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5201 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
5202 case $ac_cv_build in
5203 *-*-*) ;;
5204 *) as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
5205 esac
5206 build=$ac_cv_build
5207 ac_save_IFS=$IFS; IFS='-'
5208 set x $ac_cv_build
5209 shift
5210 build_cpu=$1
5211 build_vendor=$2
5212 shift; shift
5213 # Remember, the first character of IFS is used to create $*,
5214 # except with old shells:
5215 build_os=$*
5216 IFS=$ac_save_IFS
5217 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5218
5219
5220 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5221 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
5222 if testscip-shell system . . test. ${ac_cv_host+y}
5223 then :
5224 printfscip-shell system . . printf. %s "(cached) " >&6
5225 else $as_nop
5226 if testscip-shell system . . test. "x$host_alias" = x; then
5227 ac_cv_host=$ac_cv_build
5228 else
5229 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5230 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5231 fi
5232
5233 fi
5234 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5235 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
5236 case $ac_cv_host in
5237 *-*-*) ;;
5238 *) as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
5239 esac
5240 host=$ac_cv_host
5241 ac_save_IFS=$IFS; IFS='-'
5242 set x $ac_cv_host
5243 shift
5244 host_cpu=$1
5245 host_vendor=$2
5246 shift; shift
5247 # Remember, the first character of IFS is used to create $*,
5248 # except with old shells:
5249 host_os=$*
5250 IFS=$ac_save_IFS
5251 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5252
5253
5254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5255 printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; }
5256 if testscip-shell system . . test. ${ac_cv_path_SED+y}
5257 then :
5258 printfscip-shell system . . printf. %s "(cached) " >&6
5259 else $as_nop
5260 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5261 for ac_i in 1 2 3 4 5 6 7; do
5262 ac_script="$ac_script$as_nl$ac_script"
5263 done
5264 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
5265 { ac_script=; unset ac_script;}
5266 if testscip-shell system . . test. -z "$SED"; then
5267 ac_path_SED_found=false
5268 # Loop through the user's path and test for each of PROGNAME-LIST
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272 IFS=$as_save_IFS
5273 case $as_dir in #(((
5274 '') as_dir=./ ;;
5275 */) ;;
5276 *) as_dir=$as_dir/ ;;
5277 esac
5278 for ac_prog in sed gsed
5279 do
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5282 as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$ac_path_SED" || continue
5283 # Check for GNU ac_path_SED and select it if it is found.
5284 # Check for GNU $ac_path_SED
5285 case `"$ac_path_SED" --version 2>&1` in
5286 *GNU*)
5287 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5288 *)
5289 ac_count=0
5290 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
5291 while :
5292 do
5293 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5294 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5295 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5296 printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl"
5297 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5298 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5299 as_fn_arithscip-shell shell x11-xserver-utils 7.7+11 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5300 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
5301 # Best one so far, save it but keep looking for a better one
5302 ac_cv_path_SED="$ac_path_SED"
5303 ac_path_SED_max=$ac_count
5304 fi
5305 # 10*(2^10) chars as input seems more than enough
5306 testscip-shell system . . test. $ac_count -gt 10 && break
5307 done
5308 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5309 esac
5310
5311 $ac_path_SED_found && break 3
5312 done
5313 done
5314 done
5315 IFS=$as_save_IFS
5316 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
5317 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5318 fi
5319 else
5320 ac_cv_path_SED=$SED
5321 fi
5322
5323 fi
5324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5325 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; }
5326 SED="$ac_cv_path_SED"
5327 rmscip-shell system . . rm. -f conftest.sed
5328
5329
5330
5331
5332
5333
5334 # Check whether --enable-selective-werror was given.
5335 if testscip-shell system . . test. ${enable_selective_werror+y}
5336 then :
5337 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
5338 else $as_nop
5339 SELECTIVE_WERROR=yes
5340 fi
5341
5342
5343
5344
5345
5346 # -v is too short to test reliably with XORG_TESTSET_CFLAG
5347 if testscip-shell system . . test. "x$SUNCC" = "xyes"; then
5348 BASE_CFLAGS="-v"
5349 else
5350 BASE_CFLAGS=""
5351 fi
5352
5353 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367 xorg_testset_save_CFLAGS="$CFLAGS"
5368
5369 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5370 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5371 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5372 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5373 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5374 then :
5375 printfscip-shell system . . printf. %s "(cached) " >&6
5376 else $as_nop
5377 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5379 int i;
5380 _ACEOF
5381 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
5382 then :
5383 xorg_cv_cc_flag_unknown_warning_option=yes
5384 else $as_nop
5385 xorg_cv_cc_flag_unknown_warning_option=no
5386 fi
5387 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5388 fi
5389 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5390 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5391 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5392 CFLAGS="$xorg_testset_save_CFLAGS"
5393 fi
5394
5395 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5396 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5397 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5398 fi
5399 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5400 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5401 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5402 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5403 then :
5404 printfscip-shell system . . printf. %s "(cached) " >&6
5405 else $as_nop
5406 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5408 int i;
5409 _ACEOF
5410 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
5411 then :
5412 xorg_cv_cc_flag_unused_command_line_argument=yes
5413 else $as_nop
5414 xorg_cv_cc_flag_unused_command_line_argument=no
5415 fi
5416 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 fi
5418 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5419 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5420 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5421 CFLAGS="$xorg_testset_save_CFLAGS"
5422 fi
5423
5424 found="no"
5425
5426 if testscip-shell system . . test. $found = "no" ; then
5427 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5428 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5429 fi
5430
5431 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5432 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5433 fi
5434
5435 CFLAGS="$CFLAGS -Wall"
5436
5437 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
5438 printfscip-shell system . . printf. %s "checking if $CC supports -Wall... " >&6; }
5439 cacheid=xorg_cv_cc_flag__Wall
5440 if eval test \${$cacheid+y}
5441 then :
5442 printfscip-shell system . . printf. %s "(cached) " >&6
5443 else $as_nop
5444 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5446 int i;
5447 int
5448 main (void)
5449 {
5450
5451 ;
5452 return 0;
5453 }
5454 _ACEOF
5455 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
5456 then :
5457 eval $cacheid=yes
5458 else $as_nop
5459 eval $cacheid=no
5460 fi
5461 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5462 conftest$ac_exeext conftest.$ac_ext
5463 fi
5464
5465
5466 CFLAGS="$xorg_testset_save_CFLAGS"
5467
5468 eval supported=\$$cacheid
5469 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5470 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5471 if testscip-shell system . . test. "$supported" = "yes" ; then
5472 BASE_CFLAGS="$BASE_CFLAGS -Wall"
5473 found="yes"
5474 fi
5475 fi
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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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 -Wpointer-arith"
5560
5561 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
5562 printfscip-shell system . . printf. %s "checking if $CC supports -Wpointer-arith... " >&6; }
5563 cacheid=xorg_cv_cc_flag__Wpointer_arith
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-xserver-utils 7.7+11 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 -Wpointer-arith"
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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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-declarations"
5684
5685 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
5686 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-declarations... " >&6; }
5687 cacheid=xorg_cv_cc_flag__Wmissing_declarations
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-xserver-utils 7.7+11 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-declarations"
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-xserver-utils 7.7+11 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-xserver-utils 7.7+11 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 -Wformat=2"
5808
5809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5810 printfscip-shell system . . printf. %s "checking if $CC supports -Wformat=2... " >&6; }
5811 cacheid=xorg_cv_cc_flag__Wformat_2
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-xserver-utils 7.7+11 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 -Wformat=2"
5845 found="yes"
5846 fi
5847 fi
5848
5849 if testscip-shell system . . test. $found = "no" ; then
5850 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5851 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5852 fi
5853
5854 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5855 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5856 fi
5857
5858 CFLAGS="$CFLAGS -Wformat"
5859
5860 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5861 printfscip-shell system . . printf. %s "checking if $CC supports -Wformat... " >&6; }
5862 cacheid=xorg_cv_cc_flag__Wformat
5863 if eval test \${$cacheid+y}
5864 then :
5865 printfscip-shell system . . printf. %s "(cached) " >&6
5866 else $as_nop
5867 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 int i;
5870 int
5871 main (void)
5872 {
5873
5874 ;
5875 return 0;
5876 }
5877 _ACEOF
5878 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
5879 then :
5880 eval $cacheid=yes
5881 else $as_nop
5882 eval $cacheid=no
5883 fi
5884 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
5885 conftest$ac_exeext conftest.$ac_ext
5886 fi
5887
5888
5889 CFLAGS="$xorg_testset_save_CFLAGS"
5890
5891 eval supported=\$$cacheid
5892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5893 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
5894 if testscip-shell system . . test. "$supported" = "yes" ; then
5895 BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5896 found="yes"
5897 fi
5898 fi
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916 xorg_testset_save_CFLAGS="$CFLAGS"
5917
5918 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5919 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5920 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5921 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5922 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
5923 then :
5924 printfscip-shell system . . printf. %s "(cached) " >&6
5925 else $as_nop
5926 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5928 int i;
5929 _ACEOF
5930 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
5931 then :
5932 xorg_cv_cc_flag_unknown_warning_option=yes
5933 else $as_nop
5934 xorg_cv_cc_flag_unknown_warning_option=no
5935 fi
5936 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5937 fi
5938 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5939 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5940 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5941 CFLAGS="$xorg_testset_save_CFLAGS"
5942 fi
5943
5944 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5945 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5946 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5947 fi
5948 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5949 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5950 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5951 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
5952 then :
5953 printfscip-shell system . . printf. %s "(cached) " >&6
5954 else $as_nop
5955 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5957 int i;
5958 _ACEOF
5959 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
5960 then :
5961 xorg_cv_cc_flag_unused_command_line_argument=yes
5962 else $as_nop
5963 xorg_cv_cc_flag_unused_command_line_argument=no
5964 fi
5965 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5966 fi
5967 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5968 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5969 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5970 CFLAGS="$xorg_testset_save_CFLAGS"
5971 fi
5972
5973 found="no"
5974
5975 if testscip-shell system . . test. $found = "no" ; then
5976 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5977 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5978 fi
5979
5980 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5981 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5982 fi
5983
5984 CFLAGS="$CFLAGS -Wstrict-prototypes"
5985
5986 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5987 printfscip-shell system . . printf. %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
5988 cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5989 if eval test \${$cacheid+y}
5990 then :
5991 printfscip-shell system . . printf. %s "(cached) " >&6
5992 else $as_nop
5993 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 int i;
5996 int
5997 main (void)
5998 {
5999
6000 ;
6001 return 0;
6002 }
6003 _ACEOF
6004 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6005 then :
6006 eval $cacheid=yes
6007 else $as_nop
6008 eval $cacheid=no
6009 fi
6010 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6011 conftest$ac_exeext conftest.$ac_ext
6012 fi
6013
6014
6015 CFLAGS="$xorg_testset_save_CFLAGS"
6016
6017 eval supported=\$$cacheid
6018 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6019 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6020 if testscip-shell system . . test. "$supported" = "yes" ; then
6021 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
6022 found="yes"
6023 fi
6024 fi
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040 xorg_testset_save_CFLAGS="$CFLAGS"
6041
6042 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6043 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6044 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6045 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6046 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6047 then :
6048 printfscip-shell system . . printf. %s "(cached) " >&6
6049 else $as_nop
6050 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6052 int i;
6053 _ACEOF
6054 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6055 then :
6056 xorg_cv_cc_flag_unknown_warning_option=yes
6057 else $as_nop
6058 xorg_cv_cc_flag_unknown_warning_option=no
6059 fi
6060 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6061 fi
6062 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6063 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6064 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6065 CFLAGS="$xorg_testset_save_CFLAGS"
6066 fi
6067
6068 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6069 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6070 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6071 fi
6072 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6073 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6074 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6075 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6076 then :
6077 printfscip-shell system . . printf. %s "(cached) " >&6
6078 else $as_nop
6079 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6081 int i;
6082 _ACEOF
6083 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6084 then :
6085 xorg_cv_cc_flag_unused_command_line_argument=yes
6086 else $as_nop
6087 xorg_cv_cc_flag_unused_command_line_argument=no
6088 fi
6089 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6090 fi
6091 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6092 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6093 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6094 CFLAGS="$xorg_testset_save_CFLAGS"
6095 fi
6096
6097 found="no"
6098
6099 if testscip-shell system . . test. $found = "no" ; then
6100 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6101 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6102 fi
6103
6104 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6105 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6106 fi
6107
6108 CFLAGS="$CFLAGS -Wmissing-prototypes"
6109
6110 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
6111 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
6112 cacheid=xorg_cv_cc_flag__Wmissing_prototypes
6113 if eval test \${$cacheid+y}
6114 then :
6115 printfscip-shell system . . printf. %s "(cached) " >&6
6116 else $as_nop
6117 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 int i;
6120 int
6121 main (void)
6122 {
6123
6124 ;
6125 return 0;
6126 }
6127 _ACEOF
6128 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6129 then :
6130 eval $cacheid=yes
6131 else $as_nop
6132 eval $cacheid=no
6133 fi
6134 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6135 conftest$ac_exeext conftest.$ac_ext
6136 fi
6137
6138
6139 CFLAGS="$xorg_testset_save_CFLAGS"
6140
6141 eval supported=\$$cacheid
6142 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6143 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6144 if testscip-shell system . . test. "$supported" = "yes" ; then
6145 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
6146 found="yes"
6147 fi
6148 fi
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164 xorg_testset_save_CFLAGS="$CFLAGS"
6165
6166 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6167 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6168 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6169 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6170 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6171 then :
6172 printfscip-shell system . . printf. %s "(cached) " >&6
6173 else $as_nop
6174 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6176 int i;
6177 _ACEOF
6178 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6179 then :
6180 xorg_cv_cc_flag_unknown_warning_option=yes
6181 else $as_nop
6182 xorg_cv_cc_flag_unknown_warning_option=no
6183 fi
6184 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6185 fi
6186 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6187 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6188 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6189 CFLAGS="$xorg_testset_save_CFLAGS"
6190 fi
6191
6192 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6193 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6194 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6195 fi
6196 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6197 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6198 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6199 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6200 then :
6201 printfscip-shell system . . printf. %s "(cached) " >&6
6202 else $as_nop
6203 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205 int i;
6206 _ACEOF
6207 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6208 then :
6209 xorg_cv_cc_flag_unused_command_line_argument=yes
6210 else $as_nop
6211 xorg_cv_cc_flag_unused_command_line_argument=no
6212 fi
6213 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6214 fi
6215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6216 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6217 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6218 CFLAGS="$xorg_testset_save_CFLAGS"
6219 fi
6220
6221 found="no"
6222
6223 if testscip-shell system . . test. $found = "no" ; then
6224 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6225 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6226 fi
6227
6228 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6229 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6230 fi
6231
6232 CFLAGS="$CFLAGS -Wnested-externs"
6233
6234 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
6235 printfscip-shell system . . printf. %s "checking if $CC supports -Wnested-externs... " >&6; }
6236 cacheid=xorg_cv_cc_flag__Wnested_externs
6237 if eval test \${$cacheid+y}
6238 then :
6239 printfscip-shell system . . printf. %s "(cached) " >&6
6240 else $as_nop
6241 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 int i;
6244 int
6245 main (void)
6246 {
6247
6248 ;
6249 return 0;
6250 }
6251 _ACEOF
6252 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6253 then :
6254 eval $cacheid=yes
6255 else $as_nop
6256 eval $cacheid=no
6257 fi
6258 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6259 conftest$ac_exeext conftest.$ac_ext
6260 fi
6261
6262
6263 CFLAGS="$xorg_testset_save_CFLAGS"
6264
6265 eval supported=\$$cacheid
6266 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6267 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6268 if testscip-shell system . . test. "$supported" = "yes" ; then
6269 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
6270 found="yes"
6271 fi
6272 fi
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288 xorg_testset_save_CFLAGS="$CFLAGS"
6289
6290 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6291 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6292 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6293 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6294 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6295 then :
6296 printfscip-shell system . . printf. %s "(cached) " >&6
6297 else $as_nop
6298 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 int i;
6301 _ACEOF
6302 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6303 then :
6304 xorg_cv_cc_flag_unknown_warning_option=yes
6305 else $as_nop
6306 xorg_cv_cc_flag_unknown_warning_option=no
6307 fi
6308 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6309 fi
6310 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6311 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6312 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6313 CFLAGS="$xorg_testset_save_CFLAGS"
6314 fi
6315
6316 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6317 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6318 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6319 fi
6320 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6321 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6322 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6323 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6324 then :
6325 printfscip-shell system . . printf. %s "(cached) " >&6
6326 else $as_nop
6327 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 int i;
6330 _ACEOF
6331 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6332 then :
6333 xorg_cv_cc_flag_unused_command_line_argument=yes
6334 else $as_nop
6335 xorg_cv_cc_flag_unused_command_line_argument=no
6336 fi
6337 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6338 fi
6339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6340 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6341 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6342 CFLAGS="$xorg_testset_save_CFLAGS"
6343 fi
6344
6345 found="no"
6346
6347 if testscip-shell system . . test. $found = "no" ; then
6348 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6349 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6350 fi
6351
6352 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6353 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6354 fi
6355
6356 CFLAGS="$CFLAGS -Wbad-function-cast"
6357
6358 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
6359 printfscip-shell system . . printf. %s "checking if $CC supports -Wbad-function-cast... " >&6; }
6360 cacheid=xorg_cv_cc_flag__Wbad_function_cast
6361 if eval test \${$cacheid+y}
6362 then :
6363 printfscip-shell system . . printf. %s "(cached) " >&6
6364 else $as_nop
6365 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 int i;
6368 int
6369 main (void)
6370 {
6371
6372 ;
6373 return 0;
6374 }
6375 _ACEOF
6376 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6377 then :
6378 eval $cacheid=yes
6379 else $as_nop
6380 eval $cacheid=no
6381 fi
6382 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6383 conftest$ac_exeext conftest.$ac_ext
6384 fi
6385
6386
6387 CFLAGS="$xorg_testset_save_CFLAGS"
6388
6389 eval supported=\$$cacheid
6390 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6391 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6392 if testscip-shell system . . test. "$supported" = "yes" ; then
6393 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
6394 found="yes"
6395 fi
6396 fi
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412 xorg_testset_save_CFLAGS="$CFLAGS"
6413
6414 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6415 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6416 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6417 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6418 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6419 then :
6420 printfscip-shell system . . printf. %s "(cached) " >&6
6421 else $as_nop
6422 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6424 int i;
6425 _ACEOF
6426 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6427 then :
6428 xorg_cv_cc_flag_unknown_warning_option=yes
6429 else $as_nop
6430 xorg_cv_cc_flag_unknown_warning_option=no
6431 fi
6432 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6433 fi
6434 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6435 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6436 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6437 CFLAGS="$xorg_testset_save_CFLAGS"
6438 fi
6439
6440 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6441 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6442 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6443 fi
6444 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6446 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6447 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6448 then :
6449 printfscip-shell system . . printf. %s "(cached) " >&6
6450 else $as_nop
6451 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 int i;
6454 _ACEOF
6455 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6456 then :
6457 xorg_cv_cc_flag_unused_command_line_argument=yes
6458 else $as_nop
6459 xorg_cv_cc_flag_unused_command_line_argument=no
6460 fi
6461 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6462 fi
6463 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6464 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6465 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6466 CFLAGS="$xorg_testset_save_CFLAGS"
6467 fi
6468
6469 found="no"
6470
6471 if testscip-shell system . . test. $found = "no" ; then
6472 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6473 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6474 fi
6475
6476 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6477 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6478 fi
6479
6480 CFLAGS="$CFLAGS -Wold-style-definition"
6481
6482 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
6483 printfscip-shell system . . printf. %s "checking if $CC supports -Wold-style-definition... " >&6; }
6484 cacheid=xorg_cv_cc_flag__Wold_style_definition
6485 if eval test \${$cacheid+y}
6486 then :
6487 printfscip-shell system . . printf. %s "(cached) " >&6
6488 else $as_nop
6489 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 int i;
6492 int
6493 main (void)
6494 {
6495
6496 ;
6497 return 0;
6498 }
6499 _ACEOF
6500 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6501 then :
6502 eval $cacheid=yes
6503 else $as_nop
6504 eval $cacheid=no
6505 fi
6506 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6507 conftest$ac_exeext conftest.$ac_ext
6508 fi
6509
6510
6511 CFLAGS="$xorg_testset_save_CFLAGS"
6512
6513 eval supported=\$$cacheid
6514 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6515 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6516 if testscip-shell system . . test. "$supported" = "yes" ; then
6517 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
6518 found="yes"
6519 fi
6520 fi
6521
6522 if testscip-shell system . . test. $found = "no" ; then
6523 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6524 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6525 fi
6526
6527 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6528 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6529 fi
6530
6531 CFLAGS="$CFLAGS -fd"
6532
6533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
6534 printfscip-shell system . . printf. %s "checking if $CC supports -fd... " >&6; }
6535 cacheid=xorg_cv_cc_flag__fd
6536 if eval test \${$cacheid+y}
6537 then :
6538 printfscip-shell system . . printf. %s "(cached) " >&6
6539 else $as_nop
6540 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 int i;
6543 int
6544 main (void)
6545 {
6546
6547 ;
6548 return 0;
6549 }
6550 _ACEOF
6551 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6552 then :
6553 eval $cacheid=yes
6554 else $as_nop
6555 eval $cacheid=no
6556 fi
6557 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6558 conftest$ac_exeext conftest.$ac_ext
6559 fi
6560
6561
6562 CFLAGS="$xorg_testset_save_CFLAGS"
6563
6564 eval supported=\$$cacheid
6565 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6566 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6567 if testscip-shell system . . test. "$supported" = "yes" ; then
6568 BASE_CFLAGS="$BASE_CFLAGS -fd"
6569 found="yes"
6570 fi
6571 fi
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587 xorg_testset_save_CFLAGS="$CFLAGS"
6588
6589 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6590 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6591 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6592 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6593 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6594 then :
6595 printfscip-shell system . . printf. %s "(cached) " >&6
6596 else $as_nop
6597 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 int i;
6600 _ACEOF
6601 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6602 then :
6603 xorg_cv_cc_flag_unknown_warning_option=yes
6604 else $as_nop
6605 xorg_cv_cc_flag_unknown_warning_option=no
6606 fi
6607 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6608 fi
6609 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6610 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6611 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6612 CFLAGS="$xorg_testset_save_CFLAGS"
6613 fi
6614
6615 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6616 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6617 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6618 fi
6619 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6620 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6621 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6622 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6623 then :
6624 printfscip-shell system . . printf. %s "(cached) " >&6
6625 else $as_nop
6626 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6628 int i;
6629 _ACEOF
6630 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6631 then :
6632 xorg_cv_cc_flag_unused_command_line_argument=yes
6633 else $as_nop
6634 xorg_cv_cc_flag_unused_command_line_argument=no
6635 fi
6636 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6637 fi
6638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6639 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6640 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6641 CFLAGS="$xorg_testset_save_CFLAGS"
6642 fi
6643
6644 found="no"
6645
6646 if testscip-shell system . . test. $found = "no" ; then
6647 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6648 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6649 fi
6650
6651 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6652 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6653 fi
6654
6655 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
6656
6657 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
6658 printfscip-shell system . . printf. %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
6659 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
6660 if eval test \${$cacheid+y}
6661 then :
6662 printfscip-shell system . . printf. %s "(cached) " >&6
6663 else $as_nop
6664 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666 int i;
6667 int
6668 main (void)
6669 {
6670
6671 ;
6672 return 0;
6673 }
6674 _ACEOF
6675 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6676 then :
6677 eval $cacheid=yes
6678 else $as_nop
6679 eval $cacheid=no
6680 fi
6681 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6682 conftest$ac_exeext conftest.$ac_ext
6683 fi
6684
6685
6686 CFLAGS="$xorg_testset_save_CFLAGS"
6687
6688 eval supported=\$$cacheid
6689 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6690 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6691 if testscip-shell system . . test. "$supported" = "yes" ; then
6692 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
6693 found="yes"
6694 fi
6695 fi
6696
6697
6698
6699
6700
6701 # This chunk adds additional warnings that could catch undesired effects.
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715 xorg_testset_save_CFLAGS="$CFLAGS"
6716
6717 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6718 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6720 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6721 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6722 then :
6723 printfscip-shell system . . printf. %s "(cached) " >&6
6724 else $as_nop
6725 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6727 int i;
6728 _ACEOF
6729 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6730 then :
6731 xorg_cv_cc_flag_unknown_warning_option=yes
6732 else $as_nop
6733 xorg_cv_cc_flag_unknown_warning_option=no
6734 fi
6735 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6736 fi
6737 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6738 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6739 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6740 CFLAGS="$xorg_testset_save_CFLAGS"
6741 fi
6742
6743 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6744 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6745 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6746 fi
6747 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6748 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6749 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6750 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6751 then :
6752 printfscip-shell system . . printf. %s "(cached) " >&6
6753 else $as_nop
6754 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6756 int i;
6757 _ACEOF
6758 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6759 then :
6760 xorg_cv_cc_flag_unused_command_line_argument=yes
6761 else $as_nop
6762 xorg_cv_cc_flag_unused_command_line_argument=no
6763 fi
6764 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6765 fi
6766 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6767 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6768 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6769 CFLAGS="$xorg_testset_save_CFLAGS"
6770 fi
6771
6772 found="no"
6773
6774 if testscip-shell system . . test. $found = "no" ; then
6775 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6776 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6777 fi
6778
6779 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6780 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6781 fi
6782
6783 CFLAGS="$CFLAGS -Wunused"
6784
6785 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
6786 printfscip-shell system . . printf. %s "checking if $CC supports -Wunused... " >&6; }
6787 cacheid=xorg_cv_cc_flag__Wunused
6788 if eval test \${$cacheid+y}
6789 then :
6790 printfscip-shell system . . printf. %s "(cached) " >&6
6791 else $as_nop
6792 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6793 /* end confdefs.h. */
6794 int i;
6795 int
6796 main (void)
6797 {
6798
6799 ;
6800 return 0;
6801 }
6802 _ACEOF
6803 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6804 then :
6805 eval $cacheid=yes
6806 else $as_nop
6807 eval $cacheid=no
6808 fi
6809 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6810 conftest$ac_exeext conftest.$ac_ext
6811 fi
6812
6813
6814 CFLAGS="$xorg_testset_save_CFLAGS"
6815
6816 eval supported=\$$cacheid
6817 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6818 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6819 if testscip-shell system . . test. "$supported" = "yes" ; then
6820 BASE_CFLAGS="$BASE_CFLAGS -Wunused"
6821 found="yes"
6822 fi
6823 fi
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839 xorg_testset_save_CFLAGS="$CFLAGS"
6840
6841 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6842 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6843 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6844 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6845 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6846 then :
6847 printfscip-shell system . . printf. %s "(cached) " >&6
6848 else $as_nop
6849 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 int i;
6852 _ACEOF
6853 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6854 then :
6855 xorg_cv_cc_flag_unknown_warning_option=yes
6856 else $as_nop
6857 xorg_cv_cc_flag_unknown_warning_option=no
6858 fi
6859 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6860 fi
6861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6862 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6863 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6864 CFLAGS="$xorg_testset_save_CFLAGS"
6865 fi
6866
6867 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6868 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6869 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6870 fi
6871 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6872 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6873 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6874 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6875 then :
6876 printfscip-shell system . . printf. %s "(cached) " >&6
6877 else $as_nop
6878 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880 int i;
6881 _ACEOF
6882 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6883 then :
6884 xorg_cv_cc_flag_unused_command_line_argument=yes
6885 else $as_nop
6886 xorg_cv_cc_flag_unused_command_line_argument=no
6887 fi
6888 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6889 fi
6890 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6891 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6892 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6893 CFLAGS="$xorg_testset_save_CFLAGS"
6894 fi
6895
6896 found="no"
6897
6898 if testscip-shell system . . test. $found = "no" ; then
6899 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6900 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6901 fi
6902
6903 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6904 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6905 fi
6906
6907 CFLAGS="$CFLAGS -Wuninitialized"
6908
6909 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6910 printfscip-shell system . . printf. %s "checking if $CC supports -Wuninitialized... " >&6; }
6911 cacheid=xorg_cv_cc_flag__Wuninitialized
6912 if eval test \${$cacheid+y}
6913 then :
6914 printfscip-shell system . . printf. %s "(cached) " >&6
6915 else $as_nop
6916 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6918 int i;
6919 int
6920 main (void)
6921 {
6922
6923 ;
6924 return 0;
6925 }
6926 _ACEOF
6927 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
6928 then :
6929 eval $cacheid=yes
6930 else $as_nop
6931 eval $cacheid=no
6932 fi
6933 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6934 conftest$ac_exeext conftest.$ac_ext
6935 fi
6936
6937
6938 CFLAGS="$xorg_testset_save_CFLAGS"
6939
6940 eval supported=\$$cacheid
6941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6942 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
6943 if testscip-shell system . . test. "$supported" = "yes" ; then
6944 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6945 found="yes"
6946 fi
6947 fi
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963 xorg_testset_save_CFLAGS="$CFLAGS"
6964
6965 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6966 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6967 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6968 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6969 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
6970 then :
6971 printfscip-shell system . . printf. %s "(cached) " >&6
6972 else $as_nop
6973 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 int i;
6976 _ACEOF
6977 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
6978 then :
6979 xorg_cv_cc_flag_unknown_warning_option=yes
6980 else $as_nop
6981 xorg_cv_cc_flag_unknown_warning_option=no
6982 fi
6983 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6984 fi
6985 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6986 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6987 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6988 CFLAGS="$xorg_testset_save_CFLAGS"
6989 fi
6990
6991 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6992 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6993 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6994 fi
6995 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6997 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6998 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
6999 then :
7000 printfscip-shell system . . printf. %s "(cached) " >&6
7001 else $as_nop
7002 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 int i;
7005 _ACEOF
7006 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7007 then :
7008 xorg_cv_cc_flag_unused_command_line_argument=yes
7009 else $as_nop
7010 xorg_cv_cc_flag_unused_command_line_argument=no
7011 fi
7012 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7013 fi
7014 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7015 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7016 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7017 CFLAGS="$xorg_testset_save_CFLAGS"
7018 fi
7019
7020 found="no"
7021
7022 if testscip-shell system . . test. $found = "no" ; then
7023 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7024 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7025 fi
7026
7027 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7028 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7029 fi
7030
7031 CFLAGS="$CFLAGS -Wshadow"
7032
7033 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
7034 printfscip-shell system . . printf. %s "checking if $CC supports -Wshadow... " >&6; }
7035 cacheid=xorg_cv_cc_flag__Wshadow
7036 if eval test \${$cacheid+y}
7037 then :
7038 printfscip-shell system . . printf. %s "(cached) " >&6
7039 else $as_nop
7040 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 int i;
7043 int
7044 main (void)
7045 {
7046
7047 ;
7048 return 0;
7049 }
7050 _ACEOF
7051 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7052 then :
7053 eval $cacheid=yes
7054 else $as_nop
7055 eval $cacheid=no
7056 fi
7057 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7058 conftest$ac_exeext conftest.$ac_ext
7059 fi
7060
7061
7062 CFLAGS="$xorg_testset_save_CFLAGS"
7063
7064 eval supported=\$$cacheid
7065 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7066 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7067 if testscip-shell system . . test. "$supported" = "yes" ; then
7068 BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
7069 found="yes"
7070 fi
7071 fi
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087 xorg_testset_save_CFLAGS="$CFLAGS"
7088
7089 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7090 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7091 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7092 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7093 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7094 then :
7095 printfscip-shell system . . printf. %s "(cached) " >&6
7096 else $as_nop
7097 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7099 int i;
7100 _ACEOF
7101 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7102 then :
7103 xorg_cv_cc_flag_unknown_warning_option=yes
7104 else $as_nop
7105 xorg_cv_cc_flag_unknown_warning_option=no
7106 fi
7107 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7108 fi
7109 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7110 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7111 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7112 CFLAGS="$xorg_testset_save_CFLAGS"
7113 fi
7114
7115 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7116 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7117 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7118 fi
7119 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7120 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7121 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7122 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7123 then :
7124 printfscip-shell system . . printf. %s "(cached) " >&6
7125 else $as_nop
7126 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 int i;
7129 _ACEOF
7130 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7131 then :
7132 xorg_cv_cc_flag_unused_command_line_argument=yes
7133 else $as_nop
7134 xorg_cv_cc_flag_unused_command_line_argument=no
7135 fi
7136 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7137 fi
7138 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7139 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7140 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7141 CFLAGS="$xorg_testset_save_CFLAGS"
7142 fi
7143
7144 found="no"
7145
7146 if testscip-shell system . . test. $found = "no" ; then
7147 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7148 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7149 fi
7150
7151 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7152 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7153 fi
7154
7155 CFLAGS="$CFLAGS -Wmissing-noreturn"
7156
7157 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
7158 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
7159 cacheid=xorg_cv_cc_flag__Wmissing_noreturn
7160 if eval test \${$cacheid+y}
7161 then :
7162 printfscip-shell system . . printf. %s "(cached) " >&6
7163 else $as_nop
7164 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 int i;
7167 int
7168 main (void)
7169 {
7170
7171 ;
7172 return 0;
7173 }
7174 _ACEOF
7175 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7176 then :
7177 eval $cacheid=yes
7178 else $as_nop
7179 eval $cacheid=no
7180 fi
7181 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7182 conftest$ac_exeext conftest.$ac_ext
7183 fi
7184
7185
7186 CFLAGS="$xorg_testset_save_CFLAGS"
7187
7188 eval supported=\$$cacheid
7189 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7190 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7191 if testscip-shell system . . test. "$supported" = "yes" ; then
7192 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
7193 found="yes"
7194 fi
7195 fi
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211 xorg_testset_save_CFLAGS="$CFLAGS"
7212
7213 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7214 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7215 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7216 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7217 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7218 then :
7219 printfscip-shell system . . printf. %s "(cached) " >&6
7220 else $as_nop
7221 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 int i;
7224 _ACEOF
7225 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7226 then :
7227 xorg_cv_cc_flag_unknown_warning_option=yes
7228 else $as_nop
7229 xorg_cv_cc_flag_unknown_warning_option=no
7230 fi
7231 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7232 fi
7233 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7234 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7235 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7236 CFLAGS="$xorg_testset_save_CFLAGS"
7237 fi
7238
7239 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7240 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7241 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7242 fi
7243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7245 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7246 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7247 then :
7248 printfscip-shell system . . printf. %s "(cached) " >&6
7249 else $as_nop
7250 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7252 int i;
7253 _ACEOF
7254 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7255 then :
7256 xorg_cv_cc_flag_unused_command_line_argument=yes
7257 else $as_nop
7258 xorg_cv_cc_flag_unused_command_line_argument=no
7259 fi
7260 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7261 fi
7262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7263 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7264 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7265 CFLAGS="$xorg_testset_save_CFLAGS"
7266 fi
7267
7268 found="no"
7269
7270 if testscip-shell system . . test. $found = "no" ; then
7271 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7272 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7273 fi
7274
7275 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7276 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7277 fi
7278
7279 CFLAGS="$CFLAGS -Wmissing-format-attribute"
7280
7281 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
7282 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
7283 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
7284 if eval test \${$cacheid+y}
7285 then :
7286 printfscip-shell system . . printf. %s "(cached) " >&6
7287 else $as_nop
7288 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 int i;
7291 int
7292 main (void)
7293 {
7294
7295 ;
7296 return 0;
7297 }
7298 _ACEOF
7299 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7300 then :
7301 eval $cacheid=yes
7302 else $as_nop
7303 eval $cacheid=no
7304 fi
7305 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7306 conftest$ac_exeext conftest.$ac_ext
7307 fi
7308
7309
7310 CFLAGS="$xorg_testset_save_CFLAGS"
7311
7312 eval supported=\$$cacheid
7313 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7314 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7315 if testscip-shell system . . test. "$supported" = "yes" ; then
7316 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
7317 found="yes"
7318 fi
7319 fi
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335 xorg_testset_save_CFLAGS="$CFLAGS"
7336
7337 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7338 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7340 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7341 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7342 then :
7343 printfscip-shell system . . printf. %s "(cached) " >&6
7344 else $as_nop
7345 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h. */
7347 int i;
7348 _ACEOF
7349 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7350 then :
7351 xorg_cv_cc_flag_unknown_warning_option=yes
7352 else $as_nop
7353 xorg_cv_cc_flag_unknown_warning_option=no
7354 fi
7355 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7356 fi
7357 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7358 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7359 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7360 CFLAGS="$xorg_testset_save_CFLAGS"
7361 fi
7362
7363 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7364 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7365 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7366 fi
7367 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7369 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7370 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7371 then :
7372 printfscip-shell system . . printf. %s "(cached) " >&6
7373 else $as_nop
7374 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7376 int i;
7377 _ACEOF
7378 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7379 then :
7380 xorg_cv_cc_flag_unused_command_line_argument=yes
7381 else $as_nop
7382 xorg_cv_cc_flag_unused_command_line_argument=no
7383 fi
7384 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7385 fi
7386 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7387 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7388 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7389 CFLAGS="$xorg_testset_save_CFLAGS"
7390 fi
7391
7392 found="no"
7393
7394 if testscip-shell system . . test. $found = "no" ; then
7395 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7396 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7397 fi
7398
7399 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7400 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7401 fi
7402
7403 CFLAGS="$CFLAGS -Wredundant-decls"
7404
7405 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
7406 printfscip-shell system . . printf. %s "checking if $CC supports -Wredundant-decls... " >&6; }
7407 cacheid=xorg_cv_cc_flag__Wredundant_decls
7408 if eval test \${$cacheid+y}
7409 then :
7410 printfscip-shell system . . printf. %s "(cached) " >&6
7411 else $as_nop
7412 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7414 int i;
7415 int
7416 main (void)
7417 {
7418
7419 ;
7420 return 0;
7421 }
7422 _ACEOF
7423 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7424 then :
7425 eval $cacheid=yes
7426 else $as_nop
7427 eval $cacheid=no
7428 fi
7429 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7430 conftest$ac_exeext conftest.$ac_ext
7431 fi
7432
7433
7434 CFLAGS="$xorg_testset_save_CFLAGS"
7435
7436 eval supported=\$$cacheid
7437 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7438 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7439 if testscip-shell system . . test. "$supported" = "yes" ; then
7440 BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
7441 found="yes"
7442 fi
7443 fi
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459 xorg_testset_save_CFLAGS="$CFLAGS"
7460
7461 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7462 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7463 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7464 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7465 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7466 then :
7467 printfscip-shell system . . printf. %s "(cached) " >&6
7468 else $as_nop
7469 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7471 int i;
7472 _ACEOF
7473 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7474 then :
7475 xorg_cv_cc_flag_unknown_warning_option=yes
7476 else $as_nop
7477 xorg_cv_cc_flag_unknown_warning_option=no
7478 fi
7479 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7480 fi
7481 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7482 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7483 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7484 CFLAGS="$xorg_testset_save_CFLAGS"
7485 fi
7486
7487 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7488 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7489 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7490 fi
7491 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7492 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7493 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7494 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7495 then :
7496 printfscip-shell system . . printf. %s "(cached) " >&6
7497 else $as_nop
7498 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7500 int i;
7501 _ACEOF
7502 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7503 then :
7504 xorg_cv_cc_flag_unused_command_line_argument=yes
7505 else $as_nop
7506 xorg_cv_cc_flag_unused_command_line_argument=no
7507 fi
7508 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7509 fi
7510 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7511 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7512 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7513 CFLAGS="$xorg_testset_save_CFLAGS"
7514 fi
7515
7516 found="no"
7517
7518 if testscip-shell system . . test. $found = "no" ; then
7519 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7520 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7521 fi
7522
7523 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7524 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7525 fi
7526
7527 CFLAGS="$CFLAGS -Wlogical-op"
7528
7529 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
7530 printfscip-shell system . . printf. %s "checking if $CC supports -Wlogical-op... " >&6; }
7531 cacheid=xorg_cv_cc_flag__Wlogical_op
7532 if eval test \${$cacheid+y}
7533 then :
7534 printfscip-shell system . . printf. %s "(cached) " >&6
7535 else $as_nop
7536 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7538 int i;
7539 int
7540 main (void)
7541 {
7542
7543 ;
7544 return 0;
7545 }
7546 _ACEOF
7547 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7548 then :
7549 eval $cacheid=yes
7550 else $as_nop
7551 eval $cacheid=no
7552 fi
7553 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7554 conftest$ac_exeext conftest.$ac_ext
7555 fi
7556
7557
7558 CFLAGS="$xorg_testset_save_CFLAGS"
7559
7560 eval supported=\$$cacheid
7561 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7562 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7563 if testscip-shell system . . test. "$supported" = "yes" ; then
7564 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
7565 found="yes"
7566 fi
7567 fi
7568
7569
7570
7571 # These are currently disabled because they are noisy. They will be enabled
7572 # in the future once the codebase is sufficiently modernized to silence
7573 # them. For now, I don't want them to drown out the other warnings.
7574 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
7575 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
7576 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
7577
7578 # Turn some warnings into errors, so we don't accidently get successful builds
7579 # when there are problems that should be fixed.
7580
7581 if testscip-shell system . . test. "x$SELECTIVE_WERROR" = "xyes" ; then
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595 xorg_testset_save_CFLAGS="$CFLAGS"
7596
7597 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7598 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7599 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7600 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7601 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7602 then :
7603 printfscip-shell system . . printf. %s "(cached) " >&6
7604 else $as_nop
7605 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7607 int i;
7608 _ACEOF
7609 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7610 then :
7611 xorg_cv_cc_flag_unknown_warning_option=yes
7612 else $as_nop
7613 xorg_cv_cc_flag_unknown_warning_option=no
7614 fi
7615 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7616 fi
7617 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7618 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7619 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7620 CFLAGS="$xorg_testset_save_CFLAGS"
7621 fi
7622
7623 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7624 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7625 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7626 fi
7627 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7628 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7629 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7630 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7631 then :
7632 printfscip-shell system . . printf. %s "(cached) " >&6
7633 else $as_nop
7634 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7636 int i;
7637 _ACEOF
7638 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7639 then :
7640 xorg_cv_cc_flag_unused_command_line_argument=yes
7641 else $as_nop
7642 xorg_cv_cc_flag_unused_command_line_argument=no
7643 fi
7644 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7645 fi
7646 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7647 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7648 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7649 CFLAGS="$xorg_testset_save_CFLAGS"
7650 fi
7651
7652 found="no"
7653
7654 if testscip-shell system . . test. $found = "no" ; then
7655 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7656 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7657 fi
7658
7659 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7660 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7661 fi
7662
7663 CFLAGS="$CFLAGS -Werror=implicit"
7664
7665 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
7666 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=implicit... " >&6; }
7667 cacheid=xorg_cv_cc_flag__Werror_implicit
7668 if eval test \${$cacheid+y}
7669 then :
7670 printfscip-shell system . . printf. %s "(cached) " >&6
7671 else $as_nop
7672 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 int i;
7675 int
7676 main (void)
7677 {
7678
7679 ;
7680 return 0;
7681 }
7682 _ACEOF
7683 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7684 then :
7685 eval $cacheid=yes
7686 else $as_nop
7687 eval $cacheid=no
7688 fi
7689 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7690 conftest$ac_exeext conftest.$ac_ext
7691 fi
7692
7693
7694 CFLAGS="$xorg_testset_save_CFLAGS"
7695
7696 eval supported=\$$cacheid
7697 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7698 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7699 if testscip-shell system . . test. "$supported" = "yes" ; then
7700 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
7701 found="yes"
7702 fi
7703 fi
7704
7705 if testscip-shell system . . test. $found = "no" ; then
7706 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7707 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7708 fi
7709
7710 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7711 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7712 fi
7713
7714 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
7715
7716 { 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
7717 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
7718 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
7719 if eval test \${$cacheid+y}
7720 then :
7721 printfscip-shell system . . printf. %s "(cached) " >&6
7722 else $as_nop
7723 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 int i;
7726 int
7727 main (void)
7728 {
7729
7730 ;
7731 return 0;
7732 }
7733 _ACEOF
7734 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7735 then :
7736 eval $cacheid=yes
7737 else $as_nop
7738 eval $cacheid=no
7739 fi
7740 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7741 conftest$ac_exeext conftest.$ac_ext
7742 fi
7743
7744
7745 CFLAGS="$xorg_testset_save_CFLAGS"
7746
7747 eval supported=\$$cacheid
7748 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7749 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7750 if testscip-shell system . . test. "$supported" = "yes" ; then
7751 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
7752 found="yes"
7753 fi
7754 fi
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770 xorg_testset_save_CFLAGS="$CFLAGS"
7771
7772 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7773 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7774 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7775 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7776 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7777 then :
7778 printfscip-shell system . . printf. %s "(cached) " >&6
7779 else $as_nop
7780 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7782 int i;
7783 _ACEOF
7784 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7785 then :
7786 xorg_cv_cc_flag_unknown_warning_option=yes
7787 else $as_nop
7788 xorg_cv_cc_flag_unknown_warning_option=no
7789 fi
7790 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7791 fi
7792 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7793 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7794 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7795 CFLAGS="$xorg_testset_save_CFLAGS"
7796 fi
7797
7798 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7799 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7800 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7801 fi
7802 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7803 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7804 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7805 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7806 then :
7807 printfscip-shell system . . printf. %s "(cached) " >&6
7808 else $as_nop
7809 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7811 int i;
7812 _ACEOF
7813 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7814 then :
7815 xorg_cv_cc_flag_unused_command_line_argument=yes
7816 else $as_nop
7817 xorg_cv_cc_flag_unused_command_line_argument=no
7818 fi
7819 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7820 fi
7821 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7822 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7823 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7824 CFLAGS="$xorg_testset_save_CFLAGS"
7825 fi
7826
7827 found="no"
7828
7829 if testscip-shell system . . test. $found = "no" ; then
7830 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7831 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7832 fi
7833
7834 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7835 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7836 fi
7837
7838 CFLAGS="$CFLAGS -Werror=nonnull"
7839
7840 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
7841 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=nonnull... " >&6; }
7842 cacheid=xorg_cv_cc_flag__Werror_nonnull
7843 if eval test \${$cacheid+y}
7844 then :
7845 printfscip-shell system . . printf. %s "(cached) " >&6
7846 else $as_nop
7847 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 int i;
7850 int
7851 main (void)
7852 {
7853
7854 ;
7855 return 0;
7856 }
7857 _ACEOF
7858 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7859 then :
7860 eval $cacheid=yes
7861 else $as_nop
7862 eval $cacheid=no
7863 fi
7864 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7865 conftest$ac_exeext conftest.$ac_ext
7866 fi
7867
7868
7869 CFLAGS="$xorg_testset_save_CFLAGS"
7870
7871 eval supported=\$$cacheid
7872 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7873 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7874 if testscip-shell system . . test. "$supported" = "yes" ; then
7875 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
7876 found="yes"
7877 fi
7878 fi
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894 xorg_testset_save_CFLAGS="$CFLAGS"
7895
7896 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7897 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7898 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7899 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7900 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
7901 then :
7902 printfscip-shell system . . printf. %s "(cached) " >&6
7903 else $as_nop
7904 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7906 int i;
7907 _ACEOF
7908 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7909 then :
7910 xorg_cv_cc_flag_unknown_warning_option=yes
7911 else $as_nop
7912 xorg_cv_cc_flag_unknown_warning_option=no
7913 fi
7914 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7915 fi
7916 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7917 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7918 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7919 CFLAGS="$xorg_testset_save_CFLAGS"
7920 fi
7921
7922 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7923 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7924 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7925 fi
7926 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7927 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7928 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7929 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
7930 then :
7931 printfscip-shell system . . printf. %s "(cached) " >&6
7932 else $as_nop
7933 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 int i;
7936 _ACEOF
7937 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
7938 then :
7939 xorg_cv_cc_flag_unused_command_line_argument=yes
7940 else $as_nop
7941 xorg_cv_cc_flag_unused_command_line_argument=no
7942 fi
7943 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7944 fi
7945 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7946 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7947 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7948 CFLAGS="$xorg_testset_save_CFLAGS"
7949 fi
7950
7951 found="no"
7952
7953 if testscip-shell system . . test. $found = "no" ; then
7954 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7955 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7956 fi
7957
7958 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7959 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7960 fi
7961
7962 CFLAGS="$CFLAGS -Werror=init-self"
7963
7964 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7965 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=init-self... " >&6; }
7966 cacheid=xorg_cv_cc_flag__Werror_init_self
7967 if eval test \${$cacheid+y}
7968 then :
7969 printfscip-shell system . . printf. %s "(cached) " >&6
7970 else $as_nop
7971 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 int i;
7974 int
7975 main (void)
7976 {
7977
7978 ;
7979 return 0;
7980 }
7981 _ACEOF
7982 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
7983 then :
7984 eval $cacheid=yes
7985 else $as_nop
7986 eval $cacheid=no
7987 fi
7988 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7989 conftest$ac_exeext conftest.$ac_ext
7990 fi
7991
7992
7993 CFLAGS="$xorg_testset_save_CFLAGS"
7994
7995 eval supported=\$$cacheid
7996 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7997 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
7998 if testscip-shell system . . test. "$supported" = "yes" ; then
7999 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
8000 found="yes"
8001 fi
8002 fi
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018 xorg_testset_save_CFLAGS="$CFLAGS"
8019
8020 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8021 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8022 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8023 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8024 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8025 then :
8026 printfscip-shell system . . printf. %s "(cached) " >&6
8027 else $as_nop
8028 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 int i;
8031 _ACEOF
8032 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8033 then :
8034 xorg_cv_cc_flag_unknown_warning_option=yes
8035 else $as_nop
8036 xorg_cv_cc_flag_unknown_warning_option=no
8037 fi
8038 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8039 fi
8040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8041 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8042 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8043 CFLAGS="$xorg_testset_save_CFLAGS"
8044 fi
8045
8046 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8047 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8048 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8049 fi
8050 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8051 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8052 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8053 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8054 then :
8055 printfscip-shell system . . printf. %s "(cached) " >&6
8056 else $as_nop
8057 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 int i;
8060 _ACEOF
8061 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8062 then :
8063 xorg_cv_cc_flag_unused_command_line_argument=yes
8064 else $as_nop
8065 xorg_cv_cc_flag_unused_command_line_argument=no
8066 fi
8067 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8068 fi
8069 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8070 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8071 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8072 CFLAGS="$xorg_testset_save_CFLAGS"
8073 fi
8074
8075 found="no"
8076
8077 if testscip-shell system . . test. $found = "no" ; then
8078 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8079 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8080 fi
8081
8082 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8083 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8084 fi
8085
8086 CFLAGS="$CFLAGS -Werror=main"
8087
8088 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
8089 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=main... " >&6; }
8090 cacheid=xorg_cv_cc_flag__Werror_main
8091 if eval test \${$cacheid+y}
8092 then :
8093 printfscip-shell system . . printf. %s "(cached) " >&6
8094 else $as_nop
8095 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 int i;
8098 int
8099 main (void)
8100 {
8101
8102 ;
8103 return 0;
8104 }
8105 _ACEOF
8106 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8107 then :
8108 eval $cacheid=yes
8109 else $as_nop
8110 eval $cacheid=no
8111 fi
8112 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8113 conftest$ac_exeext conftest.$ac_ext
8114 fi
8115
8116
8117 CFLAGS="$xorg_testset_save_CFLAGS"
8118
8119 eval supported=\$$cacheid
8120 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8121 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8122 if testscip-shell system . . test. "$supported" = "yes" ; then
8123 BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
8124 found="yes"
8125 fi
8126 fi
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142 xorg_testset_save_CFLAGS="$CFLAGS"
8143
8144 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8145 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8146 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8147 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8148 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8149 then :
8150 printfscip-shell system . . printf. %s "(cached) " >&6
8151 else $as_nop
8152 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8154 int i;
8155 _ACEOF
8156 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8157 then :
8158 xorg_cv_cc_flag_unknown_warning_option=yes
8159 else $as_nop
8160 xorg_cv_cc_flag_unknown_warning_option=no
8161 fi
8162 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8163 fi
8164 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8165 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8166 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8167 CFLAGS="$xorg_testset_save_CFLAGS"
8168 fi
8169
8170 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8171 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8172 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8173 fi
8174 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8175 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8176 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8177 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8178 then :
8179 printfscip-shell system . . printf. %s "(cached) " >&6
8180 else $as_nop
8181 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int i;
8184 _ACEOF
8185 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8186 then :
8187 xorg_cv_cc_flag_unused_command_line_argument=yes
8188 else $as_nop
8189 xorg_cv_cc_flag_unused_command_line_argument=no
8190 fi
8191 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8192 fi
8193 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8194 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8195 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8196 CFLAGS="$xorg_testset_save_CFLAGS"
8197 fi
8198
8199 found="no"
8200
8201 if testscip-shell system . . test. $found = "no" ; then
8202 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8203 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8204 fi
8205
8206 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8207 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8208 fi
8209
8210 CFLAGS="$CFLAGS -Werror=missing-braces"
8211
8212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
8213 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=missing-braces... " >&6; }
8214 cacheid=xorg_cv_cc_flag__Werror_missing_braces
8215 if eval test \${$cacheid+y}
8216 then :
8217 printfscip-shell system . . printf. %s "(cached) " >&6
8218 else $as_nop
8219 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int i;
8222 int
8223 main (void)
8224 {
8225
8226 ;
8227 return 0;
8228 }
8229 _ACEOF
8230 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8231 then :
8232 eval $cacheid=yes
8233 else $as_nop
8234 eval $cacheid=no
8235 fi
8236 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8237 conftest$ac_exeext conftest.$ac_ext
8238 fi
8239
8240
8241 CFLAGS="$xorg_testset_save_CFLAGS"
8242
8243 eval supported=\$$cacheid
8244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8245 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8246 if testscip-shell system . . test. "$supported" = "yes" ; then
8247 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
8248 found="yes"
8249 fi
8250 fi
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266 xorg_testset_save_CFLAGS="$CFLAGS"
8267
8268 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8269 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8270 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8271 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8272 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8273 then :
8274 printfscip-shell system . . printf. %s "(cached) " >&6
8275 else $as_nop
8276 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int i;
8279 _ACEOF
8280 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8281 then :
8282 xorg_cv_cc_flag_unknown_warning_option=yes
8283 else $as_nop
8284 xorg_cv_cc_flag_unknown_warning_option=no
8285 fi
8286 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8287 fi
8288 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8289 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8290 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8291 CFLAGS="$xorg_testset_save_CFLAGS"
8292 fi
8293
8294 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8295 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8296 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8297 fi
8298 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8299 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8300 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8301 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8302 then :
8303 printfscip-shell system . . printf. %s "(cached) " >&6
8304 else $as_nop
8305 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8307 int i;
8308 _ACEOF
8309 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8310 then :
8311 xorg_cv_cc_flag_unused_command_line_argument=yes
8312 else $as_nop
8313 xorg_cv_cc_flag_unused_command_line_argument=no
8314 fi
8315 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8316 fi
8317 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8318 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8319 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8320 CFLAGS="$xorg_testset_save_CFLAGS"
8321 fi
8322
8323 found="no"
8324
8325 if testscip-shell system . . test. $found = "no" ; then
8326 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8327 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8328 fi
8329
8330 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8331 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8332 fi
8333
8334 CFLAGS="$CFLAGS -Werror=sequence-point"
8335
8336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
8337 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=sequence-point... " >&6; }
8338 cacheid=xorg_cv_cc_flag__Werror_sequence_point
8339 if eval test \${$cacheid+y}
8340 then :
8341 printfscip-shell system . . printf. %s "(cached) " >&6
8342 else $as_nop
8343 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int i;
8346 int
8347 main (void)
8348 {
8349
8350 ;
8351 return 0;
8352 }
8353 _ACEOF
8354 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8355 then :
8356 eval $cacheid=yes
8357 else $as_nop
8358 eval $cacheid=no
8359 fi
8360 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8361 conftest$ac_exeext conftest.$ac_ext
8362 fi
8363
8364
8365 CFLAGS="$xorg_testset_save_CFLAGS"
8366
8367 eval supported=\$$cacheid
8368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8369 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8370 if testscip-shell system . . test. "$supported" = "yes" ; then
8371 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
8372 found="yes"
8373 fi
8374 fi
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390 xorg_testset_save_CFLAGS="$CFLAGS"
8391
8392 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8393 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8394 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8395 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8396 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8397 then :
8398 printfscip-shell system . . printf. %s "(cached) " >&6
8399 else $as_nop
8400 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 int i;
8403 _ACEOF
8404 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8405 then :
8406 xorg_cv_cc_flag_unknown_warning_option=yes
8407 else $as_nop
8408 xorg_cv_cc_flag_unknown_warning_option=no
8409 fi
8410 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8411 fi
8412 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8413 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8414 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8415 CFLAGS="$xorg_testset_save_CFLAGS"
8416 fi
8417
8418 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8419 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8420 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8421 fi
8422 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8424 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8425 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8426 then :
8427 printfscip-shell system . . printf. %s "(cached) " >&6
8428 else $as_nop
8429 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int i;
8432 _ACEOF
8433 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8434 then :
8435 xorg_cv_cc_flag_unused_command_line_argument=yes
8436 else $as_nop
8437 xorg_cv_cc_flag_unused_command_line_argument=no
8438 fi
8439 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8440 fi
8441 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8442 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8443 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8444 CFLAGS="$xorg_testset_save_CFLAGS"
8445 fi
8446
8447 found="no"
8448
8449 if testscip-shell system . . test. $found = "no" ; then
8450 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8451 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8452 fi
8453
8454 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8455 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8456 fi
8457
8458 CFLAGS="$CFLAGS -Werror=return-type"
8459
8460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
8461 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=return-type... " >&6; }
8462 cacheid=xorg_cv_cc_flag__Werror_return_type
8463 if eval test \${$cacheid+y}
8464 then :
8465 printfscip-shell system . . printf. %s "(cached) " >&6
8466 else $as_nop
8467 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 int i;
8470 int
8471 main (void)
8472 {
8473
8474 ;
8475 return 0;
8476 }
8477 _ACEOF
8478 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8479 then :
8480 eval $cacheid=yes
8481 else $as_nop
8482 eval $cacheid=no
8483 fi
8484 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8485 conftest$ac_exeext conftest.$ac_ext
8486 fi
8487
8488
8489 CFLAGS="$xorg_testset_save_CFLAGS"
8490
8491 eval supported=\$$cacheid
8492 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8493 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8494 if testscip-shell system . . test. "$supported" = "yes" ; then
8495 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
8496 found="yes"
8497 fi
8498 fi
8499
8500 if testscip-shell system . . test. $found = "no" ; then
8501 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8502 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8503 fi
8504
8505 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8506 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8507 fi
8508
8509 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
8510
8511 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
8512 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
8513 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
8514 if eval test \${$cacheid+y}
8515 then :
8516 printfscip-shell system . . printf. %s "(cached) " >&6
8517 else $as_nop
8518 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int i;
8521 int
8522 main (void)
8523 {
8524
8525 ;
8526 return 0;
8527 }
8528 _ACEOF
8529 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8530 then :
8531 eval $cacheid=yes
8532 else $as_nop
8533 eval $cacheid=no
8534 fi
8535 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8536 conftest$ac_exeext conftest.$ac_ext
8537 fi
8538
8539
8540 CFLAGS="$xorg_testset_save_CFLAGS"
8541
8542 eval supported=\$$cacheid
8543 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8544 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8545 if testscip-shell system . . test. "$supported" = "yes" ; then
8546 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
8547 found="yes"
8548 fi
8549 fi
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565 xorg_testset_save_CFLAGS="$CFLAGS"
8566
8567 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8568 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8570 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8571 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8572 then :
8573 printfscip-shell system . . printf. %s "(cached) " >&6
8574 else $as_nop
8575 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 int i;
8578 _ACEOF
8579 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8580 then :
8581 xorg_cv_cc_flag_unknown_warning_option=yes
8582 else $as_nop
8583 xorg_cv_cc_flag_unknown_warning_option=no
8584 fi
8585 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8586 fi
8587 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8588 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8589 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8590 CFLAGS="$xorg_testset_save_CFLAGS"
8591 fi
8592
8593 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8594 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8595 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8596 fi
8597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8598 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8599 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8600 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8601 then :
8602 printfscip-shell system . . printf. %s "(cached) " >&6
8603 else $as_nop
8604 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 int i;
8607 _ACEOF
8608 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8609 then :
8610 xorg_cv_cc_flag_unused_command_line_argument=yes
8611 else $as_nop
8612 xorg_cv_cc_flag_unused_command_line_argument=no
8613 fi
8614 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8615 fi
8616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8617 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8618 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8619 CFLAGS="$xorg_testset_save_CFLAGS"
8620 fi
8621
8622 found="no"
8623
8624 if testscip-shell system . . test. $found = "no" ; then
8625 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8626 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8627 fi
8628
8629 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8630 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8631 fi
8632
8633 CFLAGS="$CFLAGS -Werror=trigraphs"
8634
8635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
8636 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=trigraphs... " >&6; }
8637 cacheid=xorg_cv_cc_flag__Werror_trigraphs
8638 if eval test \${$cacheid+y}
8639 then :
8640 printfscip-shell system . . printf. %s "(cached) " >&6
8641 else $as_nop
8642 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 int i;
8645 int
8646 main (void)
8647 {
8648
8649 ;
8650 return 0;
8651 }
8652 _ACEOF
8653 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8654 then :
8655 eval $cacheid=yes
8656 else $as_nop
8657 eval $cacheid=no
8658 fi
8659 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8660 conftest$ac_exeext conftest.$ac_ext
8661 fi
8662
8663
8664 CFLAGS="$xorg_testset_save_CFLAGS"
8665
8666 eval supported=\$$cacheid
8667 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8668 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8669 if testscip-shell system . . test. "$supported" = "yes" ; then
8670 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
8671 found="yes"
8672 fi
8673 fi
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689 xorg_testset_save_CFLAGS="$CFLAGS"
8690
8691 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8692 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8693 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8694 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8695 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8696 then :
8697 printfscip-shell system . . printf. %s "(cached) " >&6
8698 else $as_nop
8699 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8700 /* end confdefs.h. */
8701 int i;
8702 _ACEOF
8703 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8704 then :
8705 xorg_cv_cc_flag_unknown_warning_option=yes
8706 else $as_nop
8707 xorg_cv_cc_flag_unknown_warning_option=no
8708 fi
8709 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8710 fi
8711 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8712 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8713 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8714 CFLAGS="$xorg_testset_save_CFLAGS"
8715 fi
8716
8717 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8718 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8719 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8720 fi
8721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8722 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8723 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8724 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8725 then :
8726 printfscip-shell system . . printf. %s "(cached) " >&6
8727 else $as_nop
8728 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int i;
8731 _ACEOF
8732 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8733 then :
8734 xorg_cv_cc_flag_unused_command_line_argument=yes
8735 else $as_nop
8736 xorg_cv_cc_flag_unused_command_line_argument=no
8737 fi
8738 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8739 fi
8740 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8741 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8742 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8743 CFLAGS="$xorg_testset_save_CFLAGS"
8744 fi
8745
8746 found="no"
8747
8748 if testscip-shell system . . test. $found = "no" ; then
8749 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8750 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8751 fi
8752
8753 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8754 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8755 fi
8756
8757 CFLAGS="$CFLAGS -Werror=array-bounds"
8758
8759 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
8760 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=array-bounds... " >&6; }
8761 cacheid=xorg_cv_cc_flag__Werror_array_bounds
8762 if eval test \${$cacheid+y}
8763 then :
8764 printfscip-shell system . . printf. %s "(cached) " >&6
8765 else $as_nop
8766 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8768 int i;
8769 int
8770 main (void)
8771 {
8772
8773 ;
8774 return 0;
8775 }
8776 _ACEOF
8777 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8778 then :
8779 eval $cacheid=yes
8780 else $as_nop
8781 eval $cacheid=no
8782 fi
8783 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8784 conftest$ac_exeext conftest.$ac_ext
8785 fi
8786
8787
8788 CFLAGS="$xorg_testset_save_CFLAGS"
8789
8790 eval supported=\$$cacheid
8791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8792 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8793 if testscip-shell system . . test. "$supported" = "yes" ; then
8794 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
8795 found="yes"
8796 fi
8797 fi
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813 xorg_testset_save_CFLAGS="$CFLAGS"
8814
8815 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8816 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8817 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8818 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8819 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8820 then :
8821 printfscip-shell system . . printf. %s "(cached) " >&6
8822 else $as_nop
8823 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8825 int i;
8826 _ACEOF
8827 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8828 then :
8829 xorg_cv_cc_flag_unknown_warning_option=yes
8830 else $as_nop
8831 xorg_cv_cc_flag_unknown_warning_option=no
8832 fi
8833 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8834 fi
8835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8836 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8837 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8838 CFLAGS="$xorg_testset_save_CFLAGS"
8839 fi
8840
8841 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8842 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8843 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8844 fi
8845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8846 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8847 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8848 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8849 then :
8850 printfscip-shell system . . printf. %s "(cached) " >&6
8851 else $as_nop
8852 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8854 int i;
8855 _ACEOF
8856 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8857 then :
8858 xorg_cv_cc_flag_unused_command_line_argument=yes
8859 else $as_nop
8860 xorg_cv_cc_flag_unused_command_line_argument=no
8861 fi
8862 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8863 fi
8864 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8865 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8866 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8867 CFLAGS="$xorg_testset_save_CFLAGS"
8868 fi
8869
8870 found="no"
8871
8872 if testscip-shell system . . test. $found = "no" ; then
8873 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8874 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8875 fi
8876
8877 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8878 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8879 fi
8880
8881 CFLAGS="$CFLAGS -Werror=write-strings"
8882
8883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
8884 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=write-strings... " >&6; }
8885 cacheid=xorg_cv_cc_flag__Werror_write_strings
8886 if eval test \${$cacheid+y}
8887 then :
8888 printfscip-shell system . . printf. %s "(cached) " >&6
8889 else $as_nop
8890 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 int i;
8893 int
8894 main (void)
8895 {
8896
8897 ;
8898 return 0;
8899 }
8900 _ACEOF
8901 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
8902 then :
8903 eval $cacheid=yes
8904 else $as_nop
8905 eval $cacheid=no
8906 fi
8907 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
8908 conftest$ac_exeext conftest.$ac_ext
8909 fi
8910
8911
8912 CFLAGS="$xorg_testset_save_CFLAGS"
8913
8914 eval supported=\$$cacheid
8915 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8916 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
8917 if testscip-shell system . . test. "$supported" = "yes" ; then
8918 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
8919 found="yes"
8920 fi
8921 fi
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937 xorg_testset_save_CFLAGS="$CFLAGS"
8938
8939 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8940 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8942 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8943 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
8944 then :
8945 printfscip-shell system . . printf. %s "(cached) " >&6
8946 else $as_nop
8947 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8949 int i;
8950 _ACEOF
8951 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8952 then :
8953 xorg_cv_cc_flag_unknown_warning_option=yes
8954 else $as_nop
8955 xorg_cv_cc_flag_unknown_warning_option=no
8956 fi
8957 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8958 fi
8959 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8960 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8961 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8962 CFLAGS="$xorg_testset_save_CFLAGS"
8963 fi
8964
8965 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8966 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8967 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8968 fi
8969 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8970 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8971 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8972 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
8973 then :
8974 printfscip-shell system . . printf. %s "(cached) " >&6
8975 else $as_nop
8976 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8978 int i;
8979 _ACEOF
8980 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
8981 then :
8982 xorg_cv_cc_flag_unused_command_line_argument=yes
8983 else $as_nop
8984 xorg_cv_cc_flag_unused_command_line_argument=no
8985 fi
8986 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8987 fi
8988 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8989 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8990 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8991 CFLAGS="$xorg_testset_save_CFLAGS"
8992 fi
8993
8994 found="no"
8995
8996 if testscip-shell system . . test. $found = "no" ; then
8997 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8998 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8999 fi
9000
9001 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9002 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9003 fi
9004
9005 CFLAGS="$CFLAGS -Werror=address"
9006
9007 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
9008 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=address... " >&6; }
9009 cacheid=xorg_cv_cc_flag__Werror_address
9010 if eval test \${$cacheid+y}
9011 then :
9012 printfscip-shell system . . printf. %s "(cached) " >&6
9013 else $as_nop
9014 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9016 int i;
9017 int
9018 main (void)
9019 {
9020
9021 ;
9022 return 0;
9023 }
9024 _ACEOF
9025 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9026 then :
9027 eval $cacheid=yes
9028 else $as_nop
9029 eval $cacheid=no
9030 fi
9031 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9032 conftest$ac_exeext conftest.$ac_ext
9033 fi
9034
9035
9036 CFLAGS="$xorg_testset_save_CFLAGS"
9037
9038 eval supported=\$$cacheid
9039 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9040 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9041 if testscip-shell system . . test. "$supported" = "yes" ; then
9042 BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
9043 found="yes"
9044 fi
9045 fi
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061 xorg_testset_save_CFLAGS="$CFLAGS"
9062
9063 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9064 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9065 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9066 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9067 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9068 then :
9069 printfscip-shell system . . printf. %s "(cached) " >&6
9070 else $as_nop
9071 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 int i;
9074 _ACEOF
9075 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9076 then :
9077 xorg_cv_cc_flag_unknown_warning_option=yes
9078 else $as_nop
9079 xorg_cv_cc_flag_unknown_warning_option=no
9080 fi
9081 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9082 fi
9083 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9084 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9085 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9086 CFLAGS="$xorg_testset_save_CFLAGS"
9087 fi
9088
9089 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9090 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9091 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9092 fi
9093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9094 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9095 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9096 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9097 then :
9098 printfscip-shell system . . printf. %s "(cached) " >&6
9099 else $as_nop
9100 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 int i;
9103 _ACEOF
9104 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9105 then :
9106 xorg_cv_cc_flag_unused_command_line_argument=yes
9107 else $as_nop
9108 xorg_cv_cc_flag_unused_command_line_argument=no
9109 fi
9110 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9111 fi
9112 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9113 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9114 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9115 CFLAGS="$xorg_testset_save_CFLAGS"
9116 fi
9117
9118 found="no"
9119
9120 if testscip-shell system . . test. $found = "no" ; then
9121 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9122 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9123 fi
9124
9125 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9126 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9127 fi
9128
9129 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
9130
9131 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
9132 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
9133 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
9134 if eval test \${$cacheid+y}
9135 then :
9136 printfscip-shell system . . printf. %s "(cached) " >&6
9137 else $as_nop
9138 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9140 int i;
9141 int
9142 main (void)
9143 {
9144
9145 ;
9146 return 0;
9147 }
9148 _ACEOF
9149 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9150 then :
9151 eval $cacheid=yes
9152 else $as_nop
9153 eval $cacheid=no
9154 fi
9155 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9156 conftest$ac_exeext conftest.$ac_ext
9157 fi
9158
9159
9160 CFLAGS="$xorg_testset_save_CFLAGS"
9161
9162 eval supported=\$$cacheid
9163 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9164 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9165 if testscip-shell system . . test. "$supported" = "yes" ; then
9166 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
9167 found="yes"
9168 fi
9169 fi
9170
9171 if testscip-shell system . . test. $found = "no" ; then
9172 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9173 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9174 fi
9175
9176 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9177 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9178 fi
9179
9180 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
9181
9182 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
9183 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
9184 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
9185 if eval test \${$cacheid+y}
9186 then :
9187 printfscip-shell system . . printf. %s "(cached) " >&6
9188 else $as_nop
9189 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9191 int i;
9192 int
9193 main (void)
9194 {
9195
9196 ;
9197 return 0;
9198 }
9199 _ACEOF
9200 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9201 then :
9202 eval $cacheid=yes
9203 else $as_nop
9204 eval $cacheid=no
9205 fi
9206 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9207 conftest$ac_exeext conftest.$ac_ext
9208 fi
9209
9210
9211 CFLAGS="$xorg_testset_save_CFLAGS"
9212
9213 eval supported=\$$cacheid
9214 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9215 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9216 if testscip-shell system . . test. "$supported" = "yes" ; then
9217 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
9218 found="yes"
9219 fi
9220 fi
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236 xorg_testset_save_CFLAGS="$CFLAGS"
9237
9238 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9239 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9240 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9241 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9242 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9243 then :
9244 printfscip-shell system . . printf. %s "(cached) " >&6
9245 else $as_nop
9246 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9248 int i;
9249 _ACEOF
9250 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9251 then :
9252 xorg_cv_cc_flag_unknown_warning_option=yes
9253 else $as_nop
9254 xorg_cv_cc_flag_unknown_warning_option=no
9255 fi
9256 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9257 fi
9258 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9259 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9260 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9261 CFLAGS="$xorg_testset_save_CFLAGS"
9262 fi
9263
9264 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9265 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9266 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9267 fi
9268 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9269 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9270 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9271 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9272 then :
9273 printfscip-shell system . . printf. %s "(cached) " >&6
9274 else $as_nop
9275 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9277 int i;
9278 _ACEOF
9279 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9280 then :
9281 xorg_cv_cc_flag_unused_command_line_argument=yes
9282 else $as_nop
9283 xorg_cv_cc_flag_unused_command_line_argument=no
9284 fi
9285 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9286 fi
9287 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9288 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9289 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9290 CFLAGS="$xorg_testset_save_CFLAGS"
9291 fi
9292
9293 found="no"
9294
9295 if testscip-shell system . . test. $found = "no" ; then
9296 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9297 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9298 fi
9299
9300 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9301 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9302 fi
9303
9304 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
9305
9306 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
9307 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
9308 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
9309 if eval test \${$cacheid+y}
9310 then :
9311 printfscip-shell system . . printf. %s "(cached) " >&6
9312 else $as_nop
9313 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9315 int i;
9316 int
9317 main (void)
9318 {
9319
9320 ;
9321 return 0;
9322 }
9323 _ACEOF
9324 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9325 then :
9326 eval $cacheid=yes
9327 else $as_nop
9328 eval $cacheid=no
9329 fi
9330 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9331 conftest$ac_exeext conftest.$ac_ext
9332 fi
9333
9334
9335 CFLAGS="$xorg_testset_save_CFLAGS"
9336
9337 eval supported=\$$cacheid
9338 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9339 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9340 if testscip-shell system . . test. "$supported" = "yes" ; then
9341 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
9342 found="yes"
9343 fi
9344 fi
9345
9346 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
9347 else
9348 { 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
9349 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;}
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363 xorg_testset_save_CFLAGS="$CFLAGS"
9364
9365 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9366 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9368 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9369 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9370 then :
9371 printfscip-shell system . . printf. %s "(cached) " >&6
9372 else $as_nop
9373 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9375 int i;
9376 _ACEOF
9377 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9378 then :
9379 xorg_cv_cc_flag_unknown_warning_option=yes
9380 else $as_nop
9381 xorg_cv_cc_flag_unknown_warning_option=no
9382 fi
9383 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9384 fi
9385 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9386 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9387 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9388 CFLAGS="$xorg_testset_save_CFLAGS"
9389 fi
9390
9391 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9392 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9393 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9394 fi
9395 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9396 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9397 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9398 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9399 then :
9400 printfscip-shell system . . printf. %s "(cached) " >&6
9401 else $as_nop
9402 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int i;
9405 _ACEOF
9406 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9407 then :
9408 xorg_cv_cc_flag_unused_command_line_argument=yes
9409 else $as_nop
9410 xorg_cv_cc_flag_unused_command_line_argument=no
9411 fi
9412 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9413 fi
9414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9415 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9416 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9417 CFLAGS="$xorg_testset_save_CFLAGS"
9418 fi
9419
9420 found="no"
9421
9422 if testscip-shell system . . test. $found = "no" ; then
9423 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9424 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9425 fi
9426
9427 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9428 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9429 fi
9430
9431 CFLAGS="$CFLAGS -Wimplicit"
9432
9433 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
9434 printfscip-shell system . . printf. %s "checking if $CC supports -Wimplicit... " >&6; }
9435 cacheid=xorg_cv_cc_flag__Wimplicit
9436 if eval test \${$cacheid+y}
9437 then :
9438 printfscip-shell system . . printf. %s "(cached) " >&6
9439 else $as_nop
9440 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int i;
9443 int
9444 main (void)
9445 {
9446
9447 ;
9448 return 0;
9449 }
9450 _ACEOF
9451 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9452 then :
9453 eval $cacheid=yes
9454 else $as_nop
9455 eval $cacheid=no
9456 fi
9457 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9458 conftest$ac_exeext conftest.$ac_ext
9459 fi
9460
9461
9462 CFLAGS="$xorg_testset_save_CFLAGS"
9463
9464 eval supported=\$$cacheid
9465 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9466 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9467 if testscip-shell system . . test. "$supported" = "yes" ; then
9468 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
9469 found="yes"
9470 fi
9471 fi
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487 xorg_testset_save_CFLAGS="$CFLAGS"
9488
9489 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9490 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9491 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9492 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9493 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9494 then :
9495 printfscip-shell system . . printf. %s "(cached) " >&6
9496 else $as_nop
9497 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int i;
9500 _ACEOF
9501 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9502 then :
9503 xorg_cv_cc_flag_unknown_warning_option=yes
9504 else $as_nop
9505 xorg_cv_cc_flag_unknown_warning_option=no
9506 fi
9507 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9508 fi
9509 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9510 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9511 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9512 CFLAGS="$xorg_testset_save_CFLAGS"
9513 fi
9514
9515 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9516 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9517 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9518 fi
9519 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9521 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9522 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9523 then :
9524 printfscip-shell system . . printf. %s "(cached) " >&6
9525 else $as_nop
9526 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9528 int i;
9529 _ACEOF
9530 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9531 then :
9532 xorg_cv_cc_flag_unused_command_line_argument=yes
9533 else $as_nop
9534 xorg_cv_cc_flag_unused_command_line_argument=no
9535 fi
9536 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9537 fi
9538 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9539 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9540 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9541 CFLAGS="$xorg_testset_save_CFLAGS"
9542 fi
9543
9544 found="no"
9545
9546 if testscip-shell system . . test. $found = "no" ; then
9547 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9548 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9549 fi
9550
9551 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9552 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9553 fi
9554
9555 CFLAGS="$CFLAGS -Wnonnull"
9556
9557 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
9558 printfscip-shell system . . printf. %s "checking if $CC supports -Wnonnull... " >&6; }
9559 cacheid=xorg_cv_cc_flag__Wnonnull
9560 if eval test \${$cacheid+y}
9561 then :
9562 printfscip-shell system . . printf. %s "(cached) " >&6
9563 else $as_nop
9564 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 int i;
9567 int
9568 main (void)
9569 {
9570
9571 ;
9572 return 0;
9573 }
9574 _ACEOF
9575 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9576 then :
9577 eval $cacheid=yes
9578 else $as_nop
9579 eval $cacheid=no
9580 fi
9581 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9582 conftest$ac_exeext conftest.$ac_ext
9583 fi
9584
9585
9586 CFLAGS="$xorg_testset_save_CFLAGS"
9587
9588 eval supported=\$$cacheid
9589 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9590 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9591 if testscip-shell system . . test. "$supported" = "yes" ; then
9592 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
9593 found="yes"
9594 fi
9595 fi
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611 xorg_testset_save_CFLAGS="$CFLAGS"
9612
9613 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9614 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9615 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9616 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9617 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9618 then :
9619 printfscip-shell system . . printf. %s "(cached) " >&6
9620 else $as_nop
9621 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9623 int i;
9624 _ACEOF
9625 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9626 then :
9627 xorg_cv_cc_flag_unknown_warning_option=yes
9628 else $as_nop
9629 xorg_cv_cc_flag_unknown_warning_option=no
9630 fi
9631 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9632 fi
9633 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9634 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9635 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9636 CFLAGS="$xorg_testset_save_CFLAGS"
9637 fi
9638
9639 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9640 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9641 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9642 fi
9643 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9644 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9645 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9646 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9647 then :
9648 printfscip-shell system . . printf. %s "(cached) " >&6
9649 else $as_nop
9650 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9652 int i;
9653 _ACEOF
9654 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9655 then :
9656 xorg_cv_cc_flag_unused_command_line_argument=yes
9657 else $as_nop
9658 xorg_cv_cc_flag_unused_command_line_argument=no
9659 fi
9660 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9661 fi
9662 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9663 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9664 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9665 CFLAGS="$xorg_testset_save_CFLAGS"
9666 fi
9667
9668 found="no"
9669
9670 if testscip-shell system . . test. $found = "no" ; then
9671 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9672 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9673 fi
9674
9675 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9676 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9677 fi
9678
9679 CFLAGS="$CFLAGS -Winit-self"
9680
9681 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
9682 printfscip-shell system . . printf. %s "checking if $CC supports -Winit-self... " >&6; }
9683 cacheid=xorg_cv_cc_flag__Winit_self
9684 if eval test \${$cacheid+y}
9685 then :
9686 printfscip-shell system . . printf. %s "(cached) " >&6
9687 else $as_nop
9688 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9690 int i;
9691 int
9692 main (void)
9693 {
9694
9695 ;
9696 return 0;
9697 }
9698 _ACEOF
9699 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9700 then :
9701 eval $cacheid=yes
9702 else $as_nop
9703 eval $cacheid=no
9704 fi
9705 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9706 conftest$ac_exeext conftest.$ac_ext
9707 fi
9708
9709
9710 CFLAGS="$xorg_testset_save_CFLAGS"
9711
9712 eval supported=\$$cacheid
9713 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9714 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9715 if testscip-shell system . . test. "$supported" = "yes" ; then
9716 BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
9717 found="yes"
9718 fi
9719 fi
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735 xorg_testset_save_CFLAGS="$CFLAGS"
9736
9737 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9738 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9739 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9740 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9741 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9742 then :
9743 printfscip-shell system . . printf. %s "(cached) " >&6
9744 else $as_nop
9745 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9747 int i;
9748 _ACEOF
9749 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9750 then :
9751 xorg_cv_cc_flag_unknown_warning_option=yes
9752 else $as_nop
9753 xorg_cv_cc_flag_unknown_warning_option=no
9754 fi
9755 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9756 fi
9757 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9758 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9759 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9760 CFLAGS="$xorg_testset_save_CFLAGS"
9761 fi
9762
9763 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9764 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9765 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9766 fi
9767 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9768 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9769 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9770 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9771 then :
9772 printfscip-shell system . . printf. %s "(cached) " >&6
9773 else $as_nop
9774 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9776 int i;
9777 _ACEOF
9778 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9779 then :
9780 xorg_cv_cc_flag_unused_command_line_argument=yes
9781 else $as_nop
9782 xorg_cv_cc_flag_unused_command_line_argument=no
9783 fi
9784 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9785 fi
9786 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9787 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9788 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9789 CFLAGS="$xorg_testset_save_CFLAGS"
9790 fi
9791
9792 found="no"
9793
9794 if testscip-shell system . . test. $found = "no" ; then
9795 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9796 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9797 fi
9798
9799 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9800 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9801 fi
9802
9803 CFLAGS="$CFLAGS -Wmain"
9804
9805 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
9806 printfscip-shell system . . printf. %s "checking if $CC supports -Wmain... " >&6; }
9807 cacheid=xorg_cv_cc_flag__Wmain
9808 if eval test \${$cacheid+y}
9809 then :
9810 printfscip-shell system . . printf. %s "(cached) " >&6
9811 else $as_nop
9812 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int i;
9815 int
9816 main (void)
9817 {
9818
9819 ;
9820 return 0;
9821 }
9822 _ACEOF
9823 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9824 then :
9825 eval $cacheid=yes
9826 else $as_nop
9827 eval $cacheid=no
9828 fi
9829 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9830 conftest$ac_exeext conftest.$ac_ext
9831 fi
9832
9833
9834 CFLAGS="$xorg_testset_save_CFLAGS"
9835
9836 eval supported=\$$cacheid
9837 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9838 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9839 if testscip-shell system . . test. "$supported" = "yes" ; then
9840 BASE_CFLAGS="$BASE_CFLAGS -Wmain"
9841 found="yes"
9842 fi
9843 fi
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859 xorg_testset_save_CFLAGS="$CFLAGS"
9860
9861 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9862 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9863 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9864 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9865 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9866 then :
9867 printfscip-shell system . . printf. %s "(cached) " >&6
9868 else $as_nop
9869 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int i;
9872 _ACEOF
9873 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9874 then :
9875 xorg_cv_cc_flag_unknown_warning_option=yes
9876 else $as_nop
9877 xorg_cv_cc_flag_unknown_warning_option=no
9878 fi
9879 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9880 fi
9881 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9882 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9883 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9884 CFLAGS="$xorg_testset_save_CFLAGS"
9885 fi
9886
9887 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9888 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9889 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9890 fi
9891 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9893 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9894 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
9895 then :
9896 printfscip-shell system . . printf. %s "(cached) " >&6
9897 else $as_nop
9898 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 int i;
9901 _ACEOF
9902 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9903 then :
9904 xorg_cv_cc_flag_unused_command_line_argument=yes
9905 else $as_nop
9906 xorg_cv_cc_flag_unused_command_line_argument=no
9907 fi
9908 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9909 fi
9910 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9911 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9912 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9913 CFLAGS="$xorg_testset_save_CFLAGS"
9914 fi
9915
9916 found="no"
9917
9918 if testscip-shell system . . test. $found = "no" ; then
9919 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9920 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9921 fi
9922
9923 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9924 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9925 fi
9926
9927 CFLAGS="$CFLAGS -Wmissing-braces"
9928
9929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
9930 printfscip-shell system . . printf. %s "checking if $CC supports -Wmissing-braces... " >&6; }
9931 cacheid=xorg_cv_cc_flag__Wmissing_braces
9932 if eval test \${$cacheid+y}
9933 then :
9934 printfscip-shell system . . printf. %s "(cached) " >&6
9935 else $as_nop
9936 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int i;
9939 int
9940 main (void)
9941 {
9942
9943 ;
9944 return 0;
9945 }
9946 _ACEOF
9947 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
9948 then :
9949 eval $cacheid=yes
9950 else $as_nop
9951 eval $cacheid=no
9952 fi
9953 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9954 conftest$ac_exeext conftest.$ac_ext
9955 fi
9956
9957
9958 CFLAGS="$xorg_testset_save_CFLAGS"
9959
9960 eval supported=\$$cacheid
9961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9962 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
9963 if testscip-shell system . . test. "$supported" = "yes" ; then
9964 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
9965 found="yes"
9966 fi
9967 fi
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983 xorg_testset_save_CFLAGS="$CFLAGS"
9984
9985 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9986 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9987 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9988 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9989 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
9990 then :
9991 printfscip-shell system . . printf. %s "(cached) " >&6
9992 else $as_nop
9993 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 int i;
9996 _ACEOF
9997 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
9998 then :
9999 xorg_cv_cc_flag_unknown_warning_option=yes
10000 else $as_nop
10001 xorg_cv_cc_flag_unknown_warning_option=no
10002 fi
10003 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10004 fi
10005 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10006 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10007 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10008 CFLAGS="$xorg_testset_save_CFLAGS"
10009 fi
10010
10011 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10012 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10013 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10014 fi
10015 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10016 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10017 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10018 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10019 then :
10020 printfscip-shell system . . printf. %s "(cached) " >&6
10021 else $as_nop
10022 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 int i;
10025 _ACEOF
10026 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10027 then :
10028 xorg_cv_cc_flag_unused_command_line_argument=yes
10029 else $as_nop
10030 xorg_cv_cc_flag_unused_command_line_argument=no
10031 fi
10032 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10033 fi
10034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10035 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10036 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10037 CFLAGS="$xorg_testset_save_CFLAGS"
10038 fi
10039
10040 found="no"
10041
10042 if testscip-shell system . . test. $found = "no" ; then
10043 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10044 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10045 fi
10046
10047 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10048 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10049 fi
10050
10051 CFLAGS="$CFLAGS -Wsequence-point"
10052
10053 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
10054 printfscip-shell system . . printf. %s "checking if $CC supports -Wsequence-point... " >&6; }
10055 cacheid=xorg_cv_cc_flag__Wsequence_point
10056 if eval test \${$cacheid+y}
10057 then :
10058 printfscip-shell system . . printf. %s "(cached) " >&6
10059 else $as_nop
10060 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int i;
10063 int
10064 main (void)
10065 {
10066
10067 ;
10068 return 0;
10069 }
10070 _ACEOF
10071 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10072 then :
10073 eval $cacheid=yes
10074 else $as_nop
10075 eval $cacheid=no
10076 fi
10077 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10078 conftest$ac_exeext conftest.$ac_ext
10079 fi
10080
10081
10082 CFLAGS="$xorg_testset_save_CFLAGS"
10083
10084 eval supported=\$$cacheid
10085 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10086 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10087 if testscip-shell system . . test. "$supported" = "yes" ; then
10088 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
10089 found="yes"
10090 fi
10091 fi
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107 xorg_testset_save_CFLAGS="$CFLAGS"
10108
10109 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10110 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10112 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10113 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10114 then :
10115 printfscip-shell system . . printf. %s "(cached) " >&6
10116 else $as_nop
10117 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10119 int i;
10120 _ACEOF
10121 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10122 then :
10123 xorg_cv_cc_flag_unknown_warning_option=yes
10124 else $as_nop
10125 xorg_cv_cc_flag_unknown_warning_option=no
10126 fi
10127 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10128 fi
10129 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10130 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10131 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10132 CFLAGS="$xorg_testset_save_CFLAGS"
10133 fi
10134
10135 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10136 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10137 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10138 fi
10139 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10140 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10141 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10142 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10143 then :
10144 printfscip-shell system . . printf. %s "(cached) " >&6
10145 else $as_nop
10146 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 int i;
10149 _ACEOF
10150 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10151 then :
10152 xorg_cv_cc_flag_unused_command_line_argument=yes
10153 else $as_nop
10154 xorg_cv_cc_flag_unused_command_line_argument=no
10155 fi
10156 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10157 fi
10158 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10159 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10160 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10161 CFLAGS="$xorg_testset_save_CFLAGS"
10162 fi
10163
10164 found="no"
10165
10166 if testscip-shell system . . test. $found = "no" ; then
10167 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10168 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10169 fi
10170
10171 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10172 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10173 fi
10174
10175 CFLAGS="$CFLAGS -Wreturn-type"
10176
10177 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
10178 printfscip-shell system . . printf. %s "checking if $CC supports -Wreturn-type... " >&6; }
10179 cacheid=xorg_cv_cc_flag__Wreturn_type
10180 if eval test \${$cacheid+y}
10181 then :
10182 printfscip-shell system . . printf. %s "(cached) " >&6
10183 else $as_nop
10184 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int i;
10187 int
10188 main (void)
10189 {
10190
10191 ;
10192 return 0;
10193 }
10194 _ACEOF
10195 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10196 then :
10197 eval $cacheid=yes
10198 else $as_nop
10199 eval $cacheid=no
10200 fi
10201 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10202 conftest$ac_exeext conftest.$ac_ext
10203 fi
10204
10205
10206 CFLAGS="$xorg_testset_save_CFLAGS"
10207
10208 eval supported=\$$cacheid
10209 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10210 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10211 if testscip-shell system . . test. "$supported" = "yes" ; then
10212 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
10213 found="yes"
10214 fi
10215 fi
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231 xorg_testset_save_CFLAGS="$CFLAGS"
10232
10233 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10234 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10236 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10237 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10238 then :
10239 printfscip-shell system . . printf. %s "(cached) " >&6
10240 else $as_nop
10241 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 int i;
10244 _ACEOF
10245 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10246 then :
10247 xorg_cv_cc_flag_unknown_warning_option=yes
10248 else $as_nop
10249 xorg_cv_cc_flag_unknown_warning_option=no
10250 fi
10251 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10252 fi
10253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10254 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10255 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10256 CFLAGS="$xorg_testset_save_CFLAGS"
10257 fi
10258
10259 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10260 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10261 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10262 fi
10263 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10264 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10265 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10266 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10267 then :
10268 printfscip-shell system . . printf. %s "(cached) " >&6
10269 else $as_nop
10270 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int i;
10273 _ACEOF
10274 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10275 then :
10276 xorg_cv_cc_flag_unused_command_line_argument=yes
10277 else $as_nop
10278 xorg_cv_cc_flag_unused_command_line_argument=no
10279 fi
10280 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10281 fi
10282 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10283 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10284 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10285 CFLAGS="$xorg_testset_save_CFLAGS"
10286 fi
10287
10288 found="no"
10289
10290 if testscip-shell system . . test. $found = "no" ; then
10291 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10292 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10293 fi
10294
10295 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10296 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10297 fi
10298
10299 CFLAGS="$CFLAGS -Wtrigraphs"
10300
10301 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
10302 printfscip-shell system . . printf. %s "checking if $CC supports -Wtrigraphs... " >&6; }
10303 cacheid=xorg_cv_cc_flag__Wtrigraphs
10304 if eval test \${$cacheid+y}
10305 then :
10306 printfscip-shell system . . printf. %s "(cached) " >&6
10307 else $as_nop
10308 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 int i;
10311 int
10312 main (void)
10313 {
10314
10315 ;
10316 return 0;
10317 }
10318 _ACEOF
10319 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10320 then :
10321 eval $cacheid=yes
10322 else $as_nop
10323 eval $cacheid=no
10324 fi
10325 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10326 conftest$ac_exeext conftest.$ac_ext
10327 fi
10328
10329
10330 CFLAGS="$xorg_testset_save_CFLAGS"
10331
10332 eval supported=\$$cacheid
10333 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10334 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10335 if testscip-shell system . . test. "$supported" = "yes" ; then
10336 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
10337 found="yes"
10338 fi
10339 fi
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355 xorg_testset_save_CFLAGS="$CFLAGS"
10356
10357 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10358 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10359 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10360 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10361 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10362 then :
10363 printfscip-shell system . . printf. %s "(cached) " >&6
10364 else $as_nop
10365 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10367 int i;
10368 _ACEOF
10369 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10370 then :
10371 xorg_cv_cc_flag_unknown_warning_option=yes
10372 else $as_nop
10373 xorg_cv_cc_flag_unknown_warning_option=no
10374 fi
10375 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10376 fi
10377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10378 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10379 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10380 CFLAGS="$xorg_testset_save_CFLAGS"
10381 fi
10382
10383 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10384 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10385 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10386 fi
10387 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10388 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10389 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10390 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10391 then :
10392 printfscip-shell system . . printf. %s "(cached) " >&6
10393 else $as_nop
10394 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10396 int i;
10397 _ACEOF
10398 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10399 then :
10400 xorg_cv_cc_flag_unused_command_line_argument=yes
10401 else $as_nop
10402 xorg_cv_cc_flag_unused_command_line_argument=no
10403 fi
10404 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10405 fi
10406 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10407 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10408 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10409 CFLAGS="$xorg_testset_save_CFLAGS"
10410 fi
10411
10412 found="no"
10413
10414 if testscip-shell system . . test. $found = "no" ; then
10415 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10416 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10417 fi
10418
10419 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10420 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10421 fi
10422
10423 CFLAGS="$CFLAGS -Warray-bounds"
10424
10425 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
10426 printfscip-shell system . . printf. %s "checking if $CC supports -Warray-bounds... " >&6; }
10427 cacheid=xorg_cv_cc_flag__Warray_bounds
10428 if eval test \${$cacheid+y}
10429 then :
10430 printfscip-shell system . . printf. %s "(cached) " >&6
10431 else $as_nop
10432 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int i;
10435 int
10436 main (void)
10437 {
10438
10439 ;
10440 return 0;
10441 }
10442 _ACEOF
10443 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10444 then :
10445 eval $cacheid=yes
10446 else $as_nop
10447 eval $cacheid=no
10448 fi
10449 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10450 conftest$ac_exeext conftest.$ac_ext
10451 fi
10452
10453
10454 CFLAGS="$xorg_testset_save_CFLAGS"
10455
10456 eval supported=\$$cacheid
10457 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10458 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10459 if testscip-shell system . . test. "$supported" = "yes" ; then
10460 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
10461 found="yes"
10462 fi
10463 fi
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479 xorg_testset_save_CFLAGS="$CFLAGS"
10480
10481 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10482 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10483 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10484 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10485 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10486 then :
10487 printfscip-shell system . . printf. %s "(cached) " >&6
10488 else $as_nop
10489 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10490 /* end confdefs.h. */
10491 int i;
10492 _ACEOF
10493 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10494 then :
10495 xorg_cv_cc_flag_unknown_warning_option=yes
10496 else $as_nop
10497 xorg_cv_cc_flag_unknown_warning_option=no
10498 fi
10499 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10500 fi
10501 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10502 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10503 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10504 CFLAGS="$xorg_testset_save_CFLAGS"
10505 fi
10506
10507 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10508 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10509 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10510 fi
10511 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10512 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10513 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10514 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10515 then :
10516 printfscip-shell system . . printf. %s "(cached) " >&6
10517 else $as_nop
10518 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10520 int i;
10521 _ACEOF
10522 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10523 then :
10524 xorg_cv_cc_flag_unused_command_line_argument=yes
10525 else $as_nop
10526 xorg_cv_cc_flag_unused_command_line_argument=no
10527 fi
10528 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10529 fi
10530 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10531 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10532 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10533 CFLAGS="$xorg_testset_save_CFLAGS"
10534 fi
10535
10536 found="no"
10537
10538 if testscip-shell system . . test. $found = "no" ; then
10539 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10540 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10541 fi
10542
10543 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10544 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10545 fi
10546
10547 CFLAGS="$CFLAGS -Wwrite-strings"
10548
10549 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
10550 printfscip-shell system . . printf. %s "checking if $CC supports -Wwrite-strings... " >&6; }
10551 cacheid=xorg_cv_cc_flag__Wwrite_strings
10552 if eval test \${$cacheid+y}
10553 then :
10554 printfscip-shell system . . printf. %s "(cached) " >&6
10555 else $as_nop
10556 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10558 int i;
10559 int
10560 main (void)
10561 {
10562
10563 ;
10564 return 0;
10565 }
10566 _ACEOF
10567 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10568 then :
10569 eval $cacheid=yes
10570 else $as_nop
10571 eval $cacheid=no
10572 fi
10573 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10574 conftest$ac_exeext conftest.$ac_ext
10575 fi
10576
10577
10578 CFLAGS="$xorg_testset_save_CFLAGS"
10579
10580 eval supported=\$$cacheid
10581 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10582 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10583 if testscip-shell system . . test. "$supported" = "yes" ; then
10584 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
10585 found="yes"
10586 fi
10587 fi
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603 xorg_testset_save_CFLAGS="$CFLAGS"
10604
10605 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10606 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10607 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10608 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10609 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10610 then :
10611 printfscip-shell system . . printf. %s "(cached) " >&6
10612 else $as_nop
10613 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 int i;
10616 _ACEOF
10617 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10618 then :
10619 xorg_cv_cc_flag_unknown_warning_option=yes
10620 else $as_nop
10621 xorg_cv_cc_flag_unknown_warning_option=no
10622 fi
10623 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10624 fi
10625 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10626 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10627 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10628 CFLAGS="$xorg_testset_save_CFLAGS"
10629 fi
10630
10631 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10632 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10633 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10634 fi
10635 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10636 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10637 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10638 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10639 then :
10640 printfscip-shell system . . printf. %s "(cached) " >&6
10641 else $as_nop
10642 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 int i;
10645 _ACEOF
10646 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10647 then :
10648 xorg_cv_cc_flag_unused_command_line_argument=yes
10649 else $as_nop
10650 xorg_cv_cc_flag_unused_command_line_argument=no
10651 fi
10652 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10653 fi
10654 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10655 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10656 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10657 CFLAGS="$xorg_testset_save_CFLAGS"
10658 fi
10659
10660 found="no"
10661
10662 if testscip-shell system . . test. $found = "no" ; then
10663 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10664 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10665 fi
10666
10667 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10668 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10669 fi
10670
10671 CFLAGS="$CFLAGS -Waddress"
10672
10673 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
10674 printfscip-shell system . . printf. %s "checking if $CC supports -Waddress... " >&6; }
10675 cacheid=xorg_cv_cc_flag__Waddress
10676 if eval test \${$cacheid+y}
10677 then :
10678 printfscip-shell system . . printf. %s "(cached) " >&6
10679 else $as_nop
10680 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10682 int i;
10683 int
10684 main (void)
10685 {
10686
10687 ;
10688 return 0;
10689 }
10690 _ACEOF
10691 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10692 then :
10693 eval $cacheid=yes
10694 else $as_nop
10695 eval $cacheid=no
10696 fi
10697 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 fi
10700
10701
10702 CFLAGS="$xorg_testset_save_CFLAGS"
10703
10704 eval supported=\$$cacheid
10705 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10706 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10707 if testscip-shell system . . test. "$supported" = "yes" ; then
10708 BASE_CFLAGS="$BASE_CFLAGS -Waddress"
10709 found="yes"
10710 fi
10711 fi
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727 xorg_testset_save_CFLAGS="$CFLAGS"
10728
10729 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10730 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10731 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10732 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10733 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10734 then :
10735 printfscip-shell system . . printf. %s "(cached) " >&6
10736 else $as_nop
10737 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 int i;
10740 _ACEOF
10741 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10742 then :
10743 xorg_cv_cc_flag_unknown_warning_option=yes
10744 else $as_nop
10745 xorg_cv_cc_flag_unknown_warning_option=no
10746 fi
10747 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10748 fi
10749 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10750 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10751 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10752 CFLAGS="$xorg_testset_save_CFLAGS"
10753 fi
10754
10755 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10756 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10757 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10758 fi
10759 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10760 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10761 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10762 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10763 then :
10764 printfscip-shell system . . printf. %s "(cached) " >&6
10765 else $as_nop
10766 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10768 int i;
10769 _ACEOF
10770 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10771 then :
10772 xorg_cv_cc_flag_unused_command_line_argument=yes
10773 else $as_nop
10774 xorg_cv_cc_flag_unused_command_line_argument=no
10775 fi
10776 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10777 fi
10778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10779 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10780 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10781 CFLAGS="$xorg_testset_save_CFLAGS"
10782 fi
10783
10784 found="no"
10785
10786 if testscip-shell system . . test. $found = "no" ; then
10787 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10788 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10789 fi
10790
10791 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10792 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10793 fi
10794
10795 CFLAGS="$CFLAGS -Wint-to-pointer-cast"
10796
10797 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
10798 printfscip-shell system . . printf. %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
10799 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
10800 if eval test \${$cacheid+y}
10801 then :
10802 printfscip-shell system . . printf. %s "(cached) " >&6
10803 else $as_nop
10804 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806 int i;
10807 int
10808 main (void)
10809 {
10810
10811 ;
10812 return 0;
10813 }
10814 _ACEOF
10815 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10816 then :
10817 eval $cacheid=yes
10818 else $as_nop
10819 eval $cacheid=no
10820 fi
10821 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10822 conftest$ac_exeext conftest.$ac_ext
10823 fi
10824
10825
10826 CFLAGS="$xorg_testset_save_CFLAGS"
10827
10828 eval supported=\$$cacheid
10829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10830 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10831 if testscip-shell system . . test. "$supported" = "yes" ; then
10832 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
10833 found="yes"
10834 fi
10835 fi
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851 xorg_testset_save_CFLAGS="$CFLAGS"
10852
10853 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10854 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10856 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10857 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
10858 then :
10859 printfscip-shell system . . printf. %s "(cached) " >&6
10860 else $as_nop
10861 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int i;
10864 _ACEOF
10865 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10866 then :
10867 xorg_cv_cc_flag_unknown_warning_option=yes
10868 else $as_nop
10869 xorg_cv_cc_flag_unknown_warning_option=no
10870 fi
10871 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10872 fi
10873 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10874 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10875 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10876 CFLAGS="$xorg_testset_save_CFLAGS"
10877 fi
10878
10879 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10880 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10881 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10882 fi
10883 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10884 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10885 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10886 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
10887 then :
10888 printfscip-shell system . . printf. %s "(cached) " >&6
10889 else $as_nop
10890 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10892 int i;
10893 _ACEOF
10894 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
10895 then :
10896 xorg_cv_cc_flag_unused_command_line_argument=yes
10897 else $as_nop
10898 xorg_cv_cc_flag_unused_command_line_argument=no
10899 fi
10900 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10901 fi
10902 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10903 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10904 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10905 CFLAGS="$xorg_testset_save_CFLAGS"
10906 fi
10907
10908 found="no"
10909
10910 if testscip-shell system . . test. $found = "no" ; then
10911 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10912 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10913 fi
10914
10915 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10916 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10917 fi
10918
10919 CFLAGS="$CFLAGS -Wpointer-to-int-cast"
10920
10921 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
10922 printfscip-shell system . . printf. %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
10923 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
10924 if eval test \${$cacheid+y}
10925 then :
10926 printfscip-shell system . . printf. %s "(cached) " >&6
10927 else $as_nop
10928 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int i;
10931 int
10932 main (void)
10933 {
10934
10935 ;
10936 return 0;
10937 }
10938 _ACEOF
10939 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
10940 then :
10941 eval $cacheid=yes
10942 else $as_nop
10943 eval $cacheid=no
10944 fi
10945 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10946 conftest$ac_exeext conftest.$ac_ext
10947 fi
10948
10949
10950 CFLAGS="$xorg_testset_save_CFLAGS"
10951
10952 eval supported=\$$cacheid
10953 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10954 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
10955 if testscip-shell system . . test. "$supported" = "yes" ; then
10956 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
10957 found="yes"
10958 fi
10959 fi
10960
10961
10962 fi
10963
10964
10965
10966
10967
10968
10969
10970 CWARNFLAGS="$BASE_CFLAGS"
10971 if testscip-shell system . . test. "x$GCC" = xyes ; then
10972 CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
10973 fi
10974
10975
10976
10977
10978
10979
10980
10981
10982 # Check whether --enable-strict-compilation was given.
10983 if testscip-shell system . . test. ${enable_strict_compilation+y}
10984 then :
10985 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
10986 else $as_nop
10987 STRICT_COMPILE=no
10988 fi
10989
10990
10991
10992
10993
10994
10995 STRICT_CFLAGS=""
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009 xorg_testset_save_CFLAGS="$CFLAGS"
11010
11011 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11012 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11013 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11014 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11015 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
11016 then :
11017 printfscip-shell system . . printf. %s "(cached) " >&6
11018 else $as_nop
11019 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 int i;
11022 _ACEOF
11023 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11024 then :
11025 xorg_cv_cc_flag_unknown_warning_option=yes
11026 else $as_nop
11027 xorg_cv_cc_flag_unknown_warning_option=no
11028 fi
11029 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11030 fi
11031 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11032 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11033 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
11034 CFLAGS="$xorg_testset_save_CFLAGS"
11035 fi
11036
11037 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11038 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11039 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11040 fi
11041 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11042 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11043 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11044 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
11045 then :
11046 printfscip-shell system . . printf. %s "(cached) " >&6
11047 else $as_nop
11048 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11050 int i;
11051 _ACEOF
11052 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11053 then :
11054 xorg_cv_cc_flag_unused_command_line_argument=yes
11055 else $as_nop
11056 xorg_cv_cc_flag_unused_command_line_argument=no
11057 fi
11058 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11059 fi
11060 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11061 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11062 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
11063 CFLAGS="$xorg_testset_save_CFLAGS"
11064 fi
11065
11066 found="no"
11067
11068 if testscip-shell system . . test. $found = "no" ; then
11069 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11070 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11071 fi
11072
11073 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11074 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11075 fi
11076
11077 CFLAGS="$CFLAGS -pedantic"
11078
11079 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
11080 printfscip-shell system . . printf. %s "checking if $CC supports -pedantic... " >&6; }
11081 cacheid=xorg_cv_cc_flag__pedantic
11082 if eval test \${$cacheid+y}
11083 then :
11084 printfscip-shell system . . printf. %s "(cached) " >&6
11085 else $as_nop
11086 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 int i;
11089 int
11090 main (void)
11091 {
11092
11093 ;
11094 return 0;
11095 }
11096 _ACEOF
11097 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
11098 then :
11099 eval $cacheid=yes
11100 else $as_nop
11101 eval $cacheid=no
11102 fi
11103 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 fi
11106
11107
11108 CFLAGS="$xorg_testset_save_CFLAGS"
11109
11110 eval supported=\$$cacheid
11111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11112 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
11113 if testscip-shell system . . test. "$supported" = "yes" ; then
11114 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
11115 found="yes"
11116 fi
11117 fi
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133 xorg_testset_save_CFLAGS="$CFLAGS"
11134
11135 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11136 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11137 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11138 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11139 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
11140 then :
11141 printfscip-shell system . . printf. %s "(cached) " >&6
11142 else $as_nop
11143 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 int i;
11146 _ACEOF
11147 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11148 then :
11149 xorg_cv_cc_flag_unknown_warning_option=yes
11150 else $as_nop
11151 xorg_cv_cc_flag_unknown_warning_option=no
11152 fi
11153 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11154 fi
11155 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11156 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11157 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
11158 CFLAGS="$xorg_testset_save_CFLAGS"
11159 fi
11160
11161 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11162 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11163 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11164 fi
11165 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11166 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11167 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11168 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
11169 then :
11170 printfscip-shell system . . printf. %s "(cached) " >&6
11171 else $as_nop
11172 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11174 int i;
11175 _ACEOF
11176 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11177 then :
11178 xorg_cv_cc_flag_unused_command_line_argument=yes
11179 else $as_nop
11180 xorg_cv_cc_flag_unused_command_line_argument=no
11181 fi
11182 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11183 fi
11184 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11185 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11186 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
11187 CFLAGS="$xorg_testset_save_CFLAGS"
11188 fi
11189
11190 found="no"
11191
11192 if testscip-shell system . . test. $found = "no" ; then
11193 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11194 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11195 fi
11196
11197 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11198 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11199 fi
11200
11201 CFLAGS="$CFLAGS -Werror"
11202
11203 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
11204 printfscip-shell system . . printf. %s "checking if $CC supports -Werror... " >&6; }
11205 cacheid=xorg_cv_cc_flag__Werror
11206 if eval test \${$cacheid+y}
11207 then :
11208 printfscip-shell system . . printf. %s "(cached) " >&6
11209 else $as_nop
11210 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int i;
11213 int
11214 main (void)
11215 {
11216
11217 ;
11218 return 0;
11219 }
11220 _ACEOF
11221 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
11222 then :
11223 eval $cacheid=yes
11224 else $as_nop
11225 eval $cacheid=no
11226 fi
11227 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
11228 conftest$ac_exeext conftest.$ac_ext
11229 fi
11230
11231
11232 CFLAGS="$xorg_testset_save_CFLAGS"
11233
11234 eval supported=\$$cacheid
11235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11236 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
11237 if testscip-shell system . . test. "$supported" = "yes" ; then
11238 STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
11239 found="yes"
11240 fi
11241 fi
11242
11243 if testscip-shell system . . test. $found = "no" ; then
11244 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11245 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11246 fi
11247
11248 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11249 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11250 fi
11251
11252 CFLAGS="$CFLAGS -errwarn"
11253
11254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
11255 printfscip-shell system . . printf. %s "checking if $CC supports -errwarn... " >&6; }
11256 cacheid=xorg_cv_cc_flag__errwarn
11257 if eval test \${$cacheid+y}
11258 then :
11259 printfscip-shell system . . printf. %s "(cached) " >&6
11260 else $as_nop
11261 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11263 int i;
11264 int
11265 main (void)
11266 {
11267
11268 ;
11269 return 0;
11270 }
11271 _ACEOF
11272 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
11273 then :
11274 eval $cacheid=yes
11275 else $as_nop
11276 eval $cacheid=no
11277 fi
11278 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 fi
11281
11282
11283 CFLAGS="$xorg_testset_save_CFLAGS"
11284
11285 eval supported=\$$cacheid
11286 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11287 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
11288 if testscip-shell system . . test. "$supported" = "yes" ; then
11289 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
11290 found="yes"
11291 fi
11292 fi
11293
11294
11295
11296 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
11297 # activate it with -Werror, so we add it here explicitly.
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311 xorg_testset_save_CFLAGS="$CFLAGS"
11312
11313 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11314 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11315 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11316 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11317 if testscip-shell system . . test. ${xorg_cv_cc_flag_unknown_warning_option+y}
11318 then :
11319 printfscip-shell system . . printf. %s "(cached) " >&6
11320 else $as_nop
11321 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11323 int i;
11324 _ACEOF
11325 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11326 then :
11327 xorg_cv_cc_flag_unknown_warning_option=yes
11328 else $as_nop
11329 xorg_cv_cc_flag_unknown_warning_option=no
11330 fi
11331 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11332 fi
11333 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11334 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11335 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
11336 CFLAGS="$xorg_testset_save_CFLAGS"
11337 fi
11338
11339 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11340 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11341 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11342 fi
11343 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11344 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11345 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11346 if testscip-shell system . . test. ${xorg_cv_cc_flag_unused_command_line_argument+y}
11347 then :
11348 printfscip-shell system . . printf. %s "(cached) " >&6
11349 else $as_nop
11350 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11352 int i;
11353 _ACEOF
11354 if ac_fn_c_try_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_compile(). "$LINENO"
11355 then :
11356 xorg_cv_cc_flag_unused_command_line_argument=yes
11357 else $as_nop
11358 xorg_cv_cc_flag_unused_command_line_argument=no
11359 fi
11360 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11361 fi
11362 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11363 printfscip-shell system . . printf. "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11364 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
11365 CFLAGS="$xorg_testset_save_CFLAGS"
11366 fi
11367
11368 found="no"
11369
11370 if testscip-shell system . . test. $found = "no" ; then
11371 if testscip-shell system . . test. "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11372 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11373 fi
11374
11375 if testscip-shell system . . test. "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11376 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
11377 fi
11378
11379 CFLAGS="$CFLAGS -Werror=attributes"
11380
11381 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
11382 printfscip-shell system . . printf. %s "checking if $CC supports -Werror=attributes... " >&6; }
11383 cacheid=xorg_cv_cc_flag__Werror_attributes
11384 if eval test \${$cacheid+y}
11385 then :
11386 printfscip-shell system . . printf. %s "(cached) " >&6
11387 else $as_nop
11388 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 int i;
11391 int
11392 main (void)
11393 {
11394
11395 ;
11396 return 0;
11397 }
11398 _ACEOF
11399 if ac_fn_c_try_linkscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_try_link(). "$LINENO"
11400 then :
11401 eval $cacheid=yes
11402 else $as_nop
11403 eval $cacheid=no
11404 fi
11405 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
11406 conftest$ac_exeext conftest.$ac_ext
11407 fi
11408
11409
11410 CFLAGS="$xorg_testset_save_CFLAGS"
11411
11412 eval supported=\$$cacheid
11413 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11414 printfscip-shell system . . printf. "%s\n" "$supported" >&6; }
11415 if testscip-shell system . . test. "$supported" = "yes" ; then
11416 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
11417 found="yes"
11418 fi
11419 fi
11420
11421
11422
11423 if testscip-shell system . . test. "x$STRICT_COMPILE" = "xyes"; then
11424 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
11425 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
11426 fi
11427
11428
11429
11430
11431
11432
11433 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
11434 #define PACKAGE_VERSION_MAJOR `echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 1`
11435 _ACEOF
11436
11437 PVM=`echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 2 | cutscip-shell system . . cut. -d - -f 1`
11438 if testscip-shell system . . test. "x$PVM" = "x"; then
11439 PVM="0"
11440 fi
11441
11442 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
11443
11444 PVP=`echoscip-shell system . . echo. $PACKAGE_VERSION | cutscip-shell system . . cut. -d . -f 3 | cutscip-shell system . . cut. -d - -f 1`
11445 if testscip-shell system . . test. "x$PVP" = "x"; then
11446 PVP="0"
11447 fi
11448
11449 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
11450
11451
11452
11453 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
11454 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
11455 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
11456 touch \$(top_srcdir)/ChangeLog; \
11457 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
11458
11459
11460
11461
11462 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
11463 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
11464 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
11465 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
11466 touch \$(top_srcdir)/INSTALL; \
11467 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
11468
11469
11470
11471
11472
11473
11474 case $host_os in
11475 solaris*)
11476 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
11477 # check for a man page file found in later versions that use
11478 # traditional section numbers instead
11479 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
11480 printfscip-shell system . . printf. %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
11481 if testscip-shell system . . test. ${ac_cv_file__usr_share_man_man7_attributes_7+y}
11482 then :
11483 printfscip-shell system . . printf. %s "(cached) " >&6
11484 else $as_nop
11485 testscip-shell system . . test. "$cross_compiling" = yes &&
11486 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "cannot check for file existence when cross compiling" "$LINENO" 5
11487 if testscip-shell system . . test. -r "/usr/share/man/man7/attributes.7scip-shell filesystem . . `/usr/share/man/man7/attributes.7`."; then
11488 ac_cv_file__usr_share_man_man7_attributes_7=yes
11489 else
11490 ac_cv_file__usr_share_man_man7_attributes_7=no
11491 fi
11492 fi
11493 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
11494 printfscip-shell system . . printf. "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
11495 if testscip-shell system . . test. "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
11496 then :
11497 SYSV_MAN_SECTIONS=false
11498 else $as_nop
11499 SYSV_MAN_SECTIONS=true
11500 fi
11501
11502 ;;
11503 *) SYSV_MAN_SECTIONS=false ;;
11504 esac
11505
11506 if testscip-shell system . . test. x$APP_MAN_SUFFIX = x ; then
11507 APP_MAN_SUFFIX=1
11508 fi
11509 if testscip-shell system . . test. x$APP_MAN_DIR = x ; then
11510 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
11511 fi
11512
11513 if testscip-shell system . . test. x$LIB_MAN_SUFFIX = x ; then
11514 LIB_MAN_SUFFIX=3
11515 fi
11516 if testscip-shell system . . test. x$LIB_MAN_DIR = x ; then
11517 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
11518 fi
11519
11520 if testscip-shell system . . test. x$FILE_MAN_SUFFIX = x ; then
11521 case $SYSV_MAN_SECTIONS in
11522 true) FILE_MAN_SUFFIX=4 ;;
11523 *) FILE_MAN_SUFFIX=5 ;;
11524 esac
11525 fi
11526 if testscip-shell system . . test. x$FILE_MAN_DIR = x ; then
11527 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
11528 fi
11529
11530 if testscip-shell system . . test. x$MISC_MAN_SUFFIX = x ; then
11531 case $SYSV_MAN_SECTIONS in
11532 true) MISC_MAN_SUFFIX=5 ;;
11533 *) MISC_MAN_SUFFIX=7 ;;
11534 esac
11535 fi
11536 if testscip-shell system . . test. x$MISC_MAN_DIR = x ; then
11537 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
11538 fi
11539
11540 if testscip-shell system . . test. x$DRIVER_MAN_SUFFIX = x ; then
11541 case $SYSV_MAN_SECTIONS in
11542 true) DRIVER_MAN_SUFFIX=7 ;;
11543 *) DRIVER_MAN_SUFFIX=4 ;;
11544 esac
11545 fi
11546 if testscip-shell system . . test. x$DRIVER_MAN_DIR = x ; then
11547 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
11548 fi
11549
11550 if testscip-shell system . . test. x$ADMIN_MAN_SUFFIX = x ; then
11551 case $SYSV_MAN_SECTIONS in
11552 true) ADMIN_MAN_SUFFIX=1m ;;
11553 *) ADMIN_MAN_SUFFIX=8 ;;
11554 esac
11555 fi
11556 if testscip-shell system . . test. x$ADMIN_MAN_DIR = x ; then
11557 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
11558 fi
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574 XORG_MAN_PAGE="X Version 11"
11575
11576 MAN_SUBSTS="\
11577 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11578 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11579 -e 's|__xservername__|Xorg|g' \
11580 -e 's|__xconfigfile__|xorg.conf|g' \
11581 -e 's|__projectroot__|\$(prefix)|g' \
11582 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
11583 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
11584 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
11585 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
11586 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
11587 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
11588 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
11589
11590
11591
11592 # Check whether --enable-silent-rules was given.
11593 if testscip-shell system . . test. ${enable_silent_rules+y}
11594 then :
11595 enableval=$enable_silent_rules;
11596 fi
11597
11598 case $enable_silent_rules in # (((
11599 yes) AM_DEFAULT_VERBOSITY=0;;
11600 no) AM_DEFAULT_VERBOSITY=1;;
11601 *) AM_DEFAULT_VERBOSITY=0;;
11602 esac
11603 am_make=${MAKE-make}
11604 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
11605 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
11606 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
11607 then :
11608 printfscip-shell system . . printf. %s "(cached) " >&6
11609 else $as_nop
11610 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
11611 BAR0=false
11612 BAR1=true
11613 V=1
11614 am__doit:
11615 @$(TRUE)
11616 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
11617 am_cv_make_support_nested_variables=yes
11618 else
11619 am_cv_make_support_nested_variables=no
11620 fi
11621 fi
11622 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
11623 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
11624 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
11625 AM_V='$(V)'
11626 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
11627 else
11628 AM_V=$AM_DEFAULT_VERBOSITY
11629 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
11630 fi
11631 AM_BACKSLASH='\'
11632
11633
11634
11635
11636
11637
11638
11639 # Check whether --with-lint was given.
11640 if testscip-shell system . . test. ${with_lint+y}
11641 then :
11642 withval=$with_lint; use_lint=$withval
11643 else $as_nop
11644 use_lint=no
11645 fi
11646
11647
11648 # Obtain platform specific info like program name and options
11649 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
11650 case $host_os in
11651 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
11652 lint_name=splint
11653 lint_options="-badflag"
11654 ;;
11655 *freebsd* | *netbsd*)
11656 lint_name=lint
11657 lint_options="-u -b"
11658 ;;
11659 *solaris*)
11660 lint_name=lint
11661 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
11662 ;;
11663 esac
11664
11665 # Test for the presence of the program (either guessed by the code or spelled out by the user)
11666 if testscip-shell system . . test. "x$use_lint" = x"yes" ; then
11667 # Extract the first word of "$lint_name", so it can be a program name with args.
11668 set dummy $lint_name; ac_word=$2
11669 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11671 if testscip-shell system . . test. ${ac_cv_path_LINT+y}
11672 then :
11673 printfscip-shell system . . printf. %s "(cached) " >&6
11674 else $as_nop
11675 case $LINT in
11676 [\\/]* | ?:[\\/]*)
11677 ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
11678 ;;
11679 *)
11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11681 for as_dir in $PATH
11682 do
11683 IFS=$as_save_IFS
11684 case $as_dir in #(((
11685 '') as_dir=./ ;;
11686 */) ;;
11687 *) as_dir=$as_dir/ ;;
11688 esac
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_pscip-shell shell x11-xserver-utils 7.7+11 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11691 ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
11692 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11693 break 2
11694 fi
11695 done
11696 done
11697 IFS=$as_save_IFS
11698
11699 ;;
11700 esac
11701 fi
11702 LINT=$ac_cv_path_LINT
11703 if testscip-shell system . . test. -n "$LINT"; then
11704 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
11705 printfscip-shell system . . printf. "%s\n" "$LINT" >&6; }
11706 else
11707 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11709 fi
11710
11711
11712 if testscip-shell system . . test. "x$LINT" = "x"; then
11713 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
11714 fi
11715 elif testscip-shell system . . test. "x$use_lint" = x"no" ; then
11716 if testscip-shell system . . test. "x$LINT" != "x"; then
11717 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
11718 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
11719 fi
11720 else
11721 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
11722 fi
11723
11724 # User supplied flags override default flags
11725 if testscip-shell system . . test. "x$LINT_FLAGS" != "x"; then
11726 lint_options=$LINT_FLAGS
11727 fi
11728
11729 LINT_FLAGS=$lint_options
11730
11731 if testscip-shell system . . test. "x$LINT" != x; then
11732 LINT_TRUE=
11733 LINT_FALSE='#'
11734 else
11735 LINT_TRUE='#'
11736 LINT_FALSE=
11737 fi
11738
11739
11740
11741
11742 # Checks for header files.
11743 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default"
11744 if testscip-shell system . . test. "x$ac_cv_header_lastlog_h" = xyes
11745 then :
11746 printfscip-shell system . . printf. "%s\n" "#define HAVE_LASTLOG_H 1" >>confdefs.h
11747
11748 fi
11749 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
11750 if testscip-shell system . . test. "x$ac_cv_header_pwd_h" = xyes
11751 then :
11752 printfscip-shell system . . printf. "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
11753
11754 fi
11755 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
11756 if testscip-shell system . . test. "x$ac_cv_header_utmp_h" = xyes
11757 then :
11758 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTMP_H 1" >>confdefs.h
11759
11760 fi
11761 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
11762 if testscip-shell system . . test. "x$ac_cv_header_utmpx_h" = xyes
11763 then :
11764 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTMPX_H 1" >>confdefs.h
11765
11766 fi
11767 ac_fn_c_check_header_compilescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_header_compile(). "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
11768 if testscip-shell system . . test. "x$ac_cv_header_sys_param_h" = xyes
11769 then :
11770 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
11771
11772 fi
11773
11774
11775 # Checks for typedefs, structures, and compiler characteristics.
11776 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
11777 #include <sys/types.h>
11778 #include <utmp.h>
11779
11780 "
11781 if testscip-shell system . . test. "x$ac_cv_member_struct_utmp_ut_host" = xyes
11782 then :
11783
11784 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_UTMP_UT_HOST 1" >>confdefs.h
11785
11786
11787 fi
11788 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
11789 #include <sys/types.h>
11790 #include <utmp.h>
11791
11792 "
11793 if testscip-shell system . . test. "x$ac_cv_member_struct_utmp_ut_id" = xyes
11794 then :
11795
11796 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_UTMP_UT_ID 1" >>confdefs.h
11797
11798
11799 fi
11800 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
11801 #include <sys/types.h>
11802 #include <utmp.h>
11803
11804 "
11805 if testscip-shell system . . test. "x$ac_cv_member_struct_utmp_ut_pid" = xyes
11806 then :
11807
11808 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_UTMP_UT_PID 1" >>confdefs.h
11809
11810
11811 fi
11812 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
11813 #include <sys/types.h>
11814 #include <utmp.h>
11815
11816 "
11817 if testscip-shell system . . test. "x$ac_cv_member_struct_utmp_ut_type" = xyes
11818 then :
11819
11820 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_UTMP_UT_TYPE 1" >>confdefs.h
11821
11822
11823 fi
11824
11825 ac_fn_c_check_memberscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_member(). "$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "#include <utmpx.h>
11826 "
11827 if testscip-shell system . . test. "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes
11828 then :
11829
11830 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_UTMPX_UT_SYSLEN 1" >>confdefs.h
11831
11832
11833 fi
11834
11835 ac_fn_c_check_typescip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_type(). "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" "
11836 #include <sys/types.h>
11837 #ifdef HAVE_UTMP_H
11838 #include <utmp.h>
11839 #endif
11840 #ifdef HAVE_LASTLOG_H
11841 #include <lastlog.h>
11842 #endif
11843
11844 "
11845 if testscip-shell system . . test. "x$ac_cv_type_struct_lastlog" = xyes
11846 then :
11847
11848 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_LASTLOG 1" >>confdefs.h
11849
11850
11851 fi
11852
11853
11854 # Checks for library functions.
11855 ac_fn_c_check_funcscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_func(). "$LINENO" "pututline" "ac_cv_func_pututline"
11856 if testscip-shell system . . test. "x$ac_cv_func_pututline" = xyes
11857 then :
11858 printfscip-shell system . . printf. "%s\n" "#define HAVE_PUTUTLINE 1" >>confdefs.h
11859
11860 fi
11861 ac_fn_c_check_funcscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_func(). "$LINENO" "updwtmpx" "ac_cv_func_updwtmpx"
11862 if testscip-shell system . . test. "x$ac_cv_func_updwtmpx" = xyes
11863 then :
11864 printfscip-shell system . . printf. "%s\n" "#define HAVE_UPDWTMPX 1" >>confdefs.h
11865
11866 fi
11867 ac_fn_c_check_funcscip-shell shell x11-xserver-utils 7.7+11 ac_fn_c_check_func(). "$LINENO" "utmpxname" "ac_cv_func_utmpxname"
11868 if testscip-shell system . . test. "x$ac_cv_func_utmpxname" = xyes
11869 then :
11870 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTMPXNAME 1" >>confdefs.h
11871
11872 fi
11873
11874
11875 # Obtain compiler/linker options for dependencies
11876
11877 pkg_failed=no
11878 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SESSREG" >&5
11879 printfscip-shell system . . printf. %s "checking for SESSREG... " >&6; }
11880
11881 if testscip-shell system . . test. -n "$SESSREG_CFLAGS"; then
11882 pkg_cv_SESSREG_CFLAGS="$SESSREG_CFLAGS"
11883 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11884 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11885 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
11886 ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
11887 ac_status=$?
11888 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11889 testscip-shell system . . test. $ac_status = 0; }; then
11890 pkg_cv_SESSREG_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11891 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11892 else
11893 pkg_failed=yes
11894 fi
11895 else
11896 pkg_failed=untried
11897 fi
11898 if testscip-shell system . . test. -n "$SESSREG_LIBS"; then
11899 pkg_cv_SESSREG_LIBS="$SESSREG_LIBS"
11900 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
11901 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
11902 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
11903 ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
11904 ac_status=$?
11905 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906 testscip-shell system . . test. $ac_status = 0; }; then
11907 pkg_cv_SESSREG_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11908 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
11909 else
11910 pkg_failed=yes
11911 fi
11912 else
11913 pkg_failed=untried
11914 fi
11915
11916
11917
11918 if testscip-shell system . . test. $pkg_failed = yes; then
11919 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11921
11922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11923 _pkg_short_errors_supported=yes
11924 else
11925 _pkg_short_errors_supported=no
11926 fi
11927 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
11928 SESSREG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
11929 else
11930 SESSREG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
11931 fi
11932 # Put the nasty error message in config.log where it belongs
11933 echoscip-shell system . . echo. "$SESSREG_PKG_ERRORS" >&5
11934
11935 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "Package requirements (xproto >= 7.0.25) were not met:
11936
11937 $SESSREG_PKG_ERRORS
11938
11939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11940 installed software in a non-standard prefix.
11941
11942 Alternatively, you may set the environment variables SESSREG_CFLAGS
11943 and SESSREG_LIBS to avoid the need to call pkg-config.
11944 See the pkg-config man page for more details." "$LINENO" 5
11945 elif testscip-shell system . . test. $pkg_failed = untried; then
11946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11948 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11949 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11950 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it
11951 is in your PATH or set the PKG_CONFIG environment variable to the full
11952 path to pkg-config.
11953
11954 Alternatively, you may set the environment variables SESSREG_CFLAGS
11955 and SESSREG_LIBS to avoid the need to call pkg-config.
11956 See the pkg-config man page for more details.
11957
11958 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11959 See \`config.log' for more details" "$LINENO" 5; }
11960 else
11961 SESSREG_CFLAGS=$pkg_cv_SESSREG_CFLAGS
11962 SESSREG_LIBS=$pkg_cv_SESSREG_LIBS
11963 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11965
11966 fi
11967
11968 ac_config_files="$ac_config_files Makefile man/Makefile"
11969
11970 catscip-shell system . . cat. >confcache <<\_ACEOF
11971 # This file is a shell script that caches the results of configure
11972 # tests run on this system so they can be shared between configure
11973 # scripts and configure runs, see configure's option --config-cache.
11974 # It is not useful on other systems. If it contains results you don't
11975 # want to keep, you may remove or edit it.
11976 #
11977 # config.status only pays attention to the cache file if you give it
11978 # the --recheck option to rerun configure.
11979 #
11980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11982 # following values.
11983
11984 _ACEOF
11985
11986 # The following way of writing the cache mishandles newlines in values,
11987 # but we know of no workaround that is simple, portable, and efficient.
11988 # So, we kill variables containing newlines.
11989 # Ultrix sh set writes to stderr and can't be redirected directly,
11990 # and sets the high bit in the cache file unless we assign to the vars.
11991 (
11992 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11993 eval ac_val=\$$ac_var
11994 case $ac_val in #(
11995 *${as_nl}*)
11996 case $ac_var in #(
11997 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11998 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11999 esac
12000 case $ac_var in #(
12001 _ | IFS | as_nl) ;; #(
12002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12003 *) { eval $ac_var=; unset $ac_var;} ;;
12004 esac ;;
12005 esac
12006 done
12007
12008 (set) 2>&1 |
12009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12010 *${as_nl}ac_space=\ *)
12011 # `set' does not quote correctly, so add quotes: double-quote
12012 # substitution turns \\\\ into \\, and sed turns \\ into \.
12013 sedscip-shell system . . sed. -n \
12014 "s/'/'\\\\''/g;
12015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12016 ;; #(
12017 *)
12018 # `set' quotes correctly as required by POSIX, so do not add quotes.
12019 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12020 ;;
12021 esac |
12022 sortscip-shell system . . sort.
12023 ) |
12024 sedscip-shell system . . sed. '
12025 /^ac_cv_env_/b end
12026 t clear
12027 :clear
12028 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
12029 t end
12030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12031 :end' >>confcache
12032 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
12033 if testscip-shell system . . test. -w "$cache_file"; then
12034 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
12035 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12036 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
12037 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
12038 catscip-shell system . . cat. confcache >"$cache_file"
12039 else
12040 case $cache_file in #(
12041 */* | ?:*)
12042 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
12043 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
12044 *)
12045 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
12046 esac
12047 fi
12048 fi
12049 else
12050 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12051 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
12052 fi
12053 fi
12054 rmscip-shell system . . rm. -f confcache
12055
12056 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
12057 # Let make expand exec_prefix.
12058 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12059
12060 DEFS=-DHAVE_CONFIG_H
12061
12062 ac_libobjs=
12063 ac_ltlibobjs=
12064 U=
12065 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
12066 # 1. Remove the extension, and $U if already installed.
12067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12068 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
12069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12070 # will be set to the directory where LIBOBJS objects are built.
12071 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12072 as_fn_appendscip-shell shell x11-xserver-utils 7.7+11 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12073 done
12074 LIBOBJS=$ac_libobjs
12075
12076 LTLIBOBJS=$ac_ltlibobjs
12077
12078
12079 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12080 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
12081 if testscip-shell system . . test. -n "$am_sleep_pid"; then
12082 # Hide warnings about reused PIDs.
12083 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
12084 fi
12085 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
12086 printfscip-shell system . . printf. "%s\n" "done" >&6; }
12087 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
12088 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
12089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12090 fi
12091 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
12092 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
12093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12094 fi
12095 if testscip-shell system . . test. -n "$EXEEXT"; then
12096 am__EXEEXT_TRUE=
12097 am__EXEEXT_FALSE='#'
12098 else
12099 am__EXEEXT_TRUE='#'
12100 am__EXEEXT_FALSE=
12101 fi
12102
12103 if testscip-shell system . . test. -z "${LINT_TRUE}" && testscip-shell system . . test. -z "${LINT_FALSE}"; then
12104 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "conditional \"LINT\" was never defined.
12105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12106 fi
12107
12108 : "${CONFIG_STATUS=./config.status}"
12109 ac_write_fail=0
12110 ac_clean_files_save=$ac_clean_files
12111 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12112 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12113 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
12114 as_write_fail=0
12115 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12116 #! $SHELL
12117 # Generated by $as_me.
12118 # Run this file to recreate the current configuration.
12119 # Compiler output produced by configure, useful for debugging
12120 # configure, is in config.log if it exists.
12121
12122 debug=false
12123 ac_cs_recheck=false
12124 ac_cs_silent=false
12125
12126 SHELL=\${CONFIG_SHELL-$SHELL}
12127 export SHELL
12128 _ASEOF
12129 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12130 ## -------------------- ##
12131 ## M4sh Initialization. ##
12132 ## -------------------- ##
12133
12134 # Be more Bourne compatible
12135 DUALCASE=1; export DUALCASE # for MKS sh
12136 as_nop=:
12137 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
12138 then :
12139 emulate sh
12140 NULLCMD=:
12141 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12142 # is contrary to our usage. Disable this feature.
12143 alias -g '${1+"$@"}'='"$@"'
12144 setopt NO_GLOB_SUBST
12145 else $as_nop
12146 case `(set -o) 2>/dev/null` in #(
12147 *posix*) :
12148 set -o posix ;; #(
12149 *) :
12150 ;;
12151 esac
12152 fi
12153
12154
12155
12156 # Reset variables that may have inherited troublesome values from
12157 # the environment.
12158
12159 # IFS needs to be set, to space, tab, and newline, in precisely that order.
12160 # (If _AS_PATH_WALK were called with IFS unset, it would have the
12161 # side effect of setting IFS to empty, thus disabling word splitting.)
12162 # Quoting is to prevent editors from complaining about space-tab.
12163 as_nl='
12164 '
12165 export as_nl
12166 IFS=" "" $as_nl"
12167
12168 PS1='$ '
12169 PS2='> '
12170 PS4='+ '
12171
12172 # Ensure predictable behavior from utilities with locale-dependent output.
12173 LC_ALL=C
12174 export LC_ALL
12175 LANGUAGE=C
12176 export LANGUAGE
12177
12178 # We cannot yet rely on "unset" to work, but we need these variables
12179 # to be unset--not just set to an empty or harmless value--now, to
12180 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
12181 # also avoids known problems related to "unset" and subshell syntax
12182 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
12183 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
12184 do eval test \${$as_var+y} \
12185 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12186 done
12187
12188 # Ensure that fds 0, 1, and 2 are open.
12189 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
12190 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
12191 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
12192
12193 # The user is always right.
12194 if ${PATH_SEPARATOR+false} :; then
12195 PATH_SEPARATOR=:
12196 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12197 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12198 PATH_SEPARATOR=';'
12199 }
12200 fi
12201
12202
12203 # Find who we are. Look in the path if we contain no directory separator.
12204 as_myself=
12205 case $0 in #((
12206 *[\\/]* ) as_myself=$0 ;;
12207 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208 for as_dir in $PATH
12209 do
12210 IFS=$as_save_IFS
12211 case $as_dir in #(((
12212 '') as_dir=./ ;;
12213 */) ;;
12214 *) as_dir=$as_dir/ ;;
12215 esac
12216 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
12217 done
12218 IFS=$as_save_IFS
12219
12220 ;;
12221 esac
12222 # We did not find ourselves, most probably we were run as `sh COMMAND'
12223 # in which case we are not to be found in the path.
12224 if test "x$as_myself" = x; then
12225 as_myself=$0
12226 fi
12227 if test ! -f "$as_myself"; then
12228 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12229 exit 1
12230 fi
12231
12232
12233
12234 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12235 # ----------------------------------------
12236 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12237 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12238 # script with STATUS, using 1 if that was 0.
12239 as_fn_error ()
12240 {
12241 as_status=$1; test $as_status -eq 0 && as_status=1
12242 if test "$4"; then
12243 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12245 fi
12246 printf "%s\n" "$as_me: error: $2" >&2
12247 as_fn_exit $as_status
12248 } # as_fn_error
12249
12250
12251
12252 # as_fn_set_status STATUS
12253 # -----------------------
12254 # Set $? to STATUS, without forking.
12255 as_fn_set_status ()
12256 {
12257 return $1
12258 } # as_fn_set_status
12259
12260 # as_fn_exit STATUS
12261 # -----------------
12262 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12263 as_fn_exit ()
12264 {
12265 set +e
12266 as_fn_set_status $1
12267 exit $1
12268 } # as_fn_exit
12269
12270 # as_fn_unset VAR
12271 # ---------------
12272 # Portably unset VAR.
12273 as_fn_unset ()
12274 {
12275 { eval $1=; unset $1;}
12276 }
12277 as_unset=as_fn_unset
12278
12279 # as_fn_append VAR VALUE
12280 # ----------------------
12281 # Append the text in VALUE to the end of the definition contained in VAR. Take
12282 # advantage of any shell optimizations that allow amortized linear growth over
12283 # repeated appends, instead of the typical quadratic growth present in naive
12284 # implementations.
12285 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
12286 then :
12287 eval 'as_fn_append ()
12288 {
12289 eval $1+=\$2
12290 }'
12291 else $as_nop
12292 as_fn_append ()
12293 {
12294 eval $1=\$$1\$2
12295 }
12296 fi # as_fn_append
12297
12298 # as_fn_arith ARG...
12299 # ------------------
12300 # Perform arithmetic evaluation on the ARGs, and store the result in the
12301 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12302 # must be portable across $(()) and expr.
12303 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
12304 then :
12305 eval 'as_fn_arith ()
12306 {
12307 as_val=$(( $* ))
12308 }'
12309 else $as_nop
12310 as_fn_arith ()
12311 {
12312 as_val=`expr "$@" || test $? -eq 1`
12313 }
12314 fi # as_fn_arith
12315
12316
12317 if expr a : '\(a\)' >/dev/null 2>&1 &&
12318 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12319 as_expr=expr
12320 else
12321 as_expr=false
12322 fi
12323
12324 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12325 as_basename=basename
12326 else
12327 as_basename=false
12328 fi
12329
12330 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12331 as_dirname=dirname
12332 else
12333 as_dirname=false
12334 fi
12335
12336 as_me=`$as_basename -- "$0" ||
12337 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12338 X"$0" : 'X\(//\)$' \| \
12339 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12340 printf "%s\n" X/"$0" |
12341 sed '/^.*\/\([^/][^/]*\)\/*$/{
12342 s//\1/
12343 q
12344 }
12345 /^X\/\(\/\/\)$/{
12346 s//\1/
12347 q
12348 }
12349 /^X\/\(\/\).*/{
12350 s//\1/
12351 q
12352 }
12353 s/.*/./; q'`
12354
12355 # Avoid depending upon Character Ranges.
12356 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12357 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12358 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12359 as_cr_digits='0123456789'
12360 as_cr_alnum=$as_cr_Letters$as_cr_digits
12361
12362
12363 # Determine whether it's possible to make 'echo' print without a newline.
12364 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
12365 # for compatibility with existing Makefiles.
12366 ECHO_C= ECHO_N= ECHO_T=
12367 case `echo -n x` in #(((((
12368 -n*)
12369 case `echo 'xy\c'` in
12370 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12371 xy) ECHO_C='\c';;
12372 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12373 ECHO_T=' ';;
12374 esac;;
12375 *)
12376 ECHO_N='-n';;
12377 esac
12378
12379 # For backward compatibility with old third-party macros, we provide
12380 # the shell variables $as_echo and $as_echo_n. New code should use
12381 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
12382 as_echo='printf %s\n'
12383 as_echo_n='printf %s'
12384
12385 rm -f conf$$ conf$$.exe conf$$.file
12386 if test -d conf$$.dir; then
12387 rm -f conf$$.dir/conf$$.file
12388 else
12389 rm -f conf$$.dir
12390 mkdir conf$$.dir 2>/dev/null
12391 fi
12392 if (echo >conf$$.file) 2>/dev/null; then
12393 if ln -s conf$$.file conf$$ 2>/dev/null; then
12394 as_ln_s='ln -s'
12395 # ... but there are two gotchas:
12396 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12397 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12398 # In both cases, we have to default to `cp -pR'.
12399 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12400 as_ln_s='cp -pR'
12401 elif ln conf$$.file conf$$ 2>/dev/null; then
12402 as_ln_s=ln
12403 else
12404 as_ln_s='cp -pR'
12405 fi
12406 else
12407 as_ln_s='cp -pR'
12408 fi
12409 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12410 rmdir conf$$.dir 2>/dev/null
12411
12412
12413 # as_fn_mkdir_p
12414 # -------------
12415 # Create "$as_dir" as a directory, including parents if necessary.
12416 as_fn_mkdir_p ()
12417 {
12418
12419 case $as_dir in #(
12420 -*) as_dir=./$as_dir;;
12421 esac
12422 test -d "$as_dir" || eval $as_mkdir_p || {
12423 as_dirs=
12424 while :; do
12425 case $as_dir in #(
12426 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12427 *) as_qdir=$as_dir;;
12428 esac
12429 as_dirs="'$as_qdir' $as_dirs"
12430 as_dir=`$as_dirname -- "$as_dir" ||
12431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12432 X"$as_dir" : 'X\(//\)[^/]' \| \
12433 X"$as_dir" : 'X\(//\)$' \| \
12434 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12435 printf "%s\n" X"$as_dir" |
12436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12437 s//\1/
12438 q
12439 }
12440 /^X\(\/\/\)[^/].*/{
12441 s//\1/
12442 q
12443 }
12444 /^X\(\/\/\)$/{
12445 s//\1/
12446 q
12447 }
12448 /^X\(\/\).*/{
12449 s//\1/
12450 q
12451 }
12452 s/.*/./; q'`
12453 test -d "$as_dir" && break
12454 done
12455 test -z "$as_dirs" || eval "mkdir $as_dirs"
12456 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12457
12458
12459 } # as_fn_mkdir_p
12460 if mkdir -p . 2>/dev/null; then
12461 as_mkdir_p='mkdir -p "$as_dir"'
12462 else
12463 test -d ./-p && rmdir ./-p
12464 as_mkdir_p=false
12465 fi
12466
12467
12468 # as_fn_executable_p FILE
12469 # -----------------------
12470 # Test if FILE is an executable regular file.
12471 as_fn_executable_p ()
12472 {
12473 test -f "$1" && test -x "$1"
12474 } # as_fn_executable_p
12475 as_test_x='test -x'
12476 as_executable_p=as_fn_executable_p
12477
12478 # Sed expression to map a string onto a valid CPP name.
12479 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12480
12481 # Sed expression to map a string onto a valid variable name.
12482 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12483
12484
12485 exec 6>&1
12486 ## ----------------------------------- ##
12487 ## Main body of $CONFIG_STATUS script. ##
12488 ## ----------------------------------- ##
12489 _ASEOF
12490 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
12491
12492 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12493 # Save the log message, to keep $0 and so on meaningful, and to
12494 # report actual input values of CONFIG_FILES etc. instead of their
12495 # values after options handling.
12496 ac_log="
12497 This file was extended by sessreg $as_me 1.1.3, which was
12498 generated by GNU Autoconf 2.71. Invocation command line was
12499
12500 CONFIG_FILES = $CONFIG_FILES
12501 CONFIG_HEADERS = $CONFIG_HEADERS
12502 CONFIG_LINKS = $CONFIG_LINKS
12503 CONFIG_COMMANDS = $CONFIG_COMMANDS
12504 $ $0 $@
12505
12506 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12507 "
12508
12509 _ACEOF
12510
12511 case $ac_config_files in *"
12512 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12513 esac
12514
12515 case $ac_config_headers in *"
12516 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12517 esac
12518
12519
12520 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12521 # Files that config.status was made for.
12522 config_files="$ac_config_files"
12523 config_headers="$ac_config_headers"
12524 config_commands="$ac_config_commands"
12525
12526 _ACEOF
12527
12528 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12529 ac_cs_usage="\
12530 \`$as_me' instantiates files and other configuration actions
12531 from templates according to the current configuration. Unless the files
12532 and actions are specified as TAGs, all are instantiated by default.
12533
12534 Usage: $0 [OPTION]... [TAG]...
12535
12536 -h, --help print this help, then exit
12537 -V, --version print version number and configuration settings, then exit
12538 --config print configuration, then exit
12539 -q, --quiet, --silent
12540 do not print progress messages
12541 -d, --debug don't remove temporary files
12542 --recheck update $as_me by reconfiguring in the same conditions
12543 --file=FILE[:TEMPLATE]
12544 instantiate the configuration file FILE
12545 --header=FILE[:TEMPLATE]
12546 instantiate the configuration header FILE
12547
12548 Configuration files:
12549 $config_files
12550
12551 Configuration headers:
12552 $config_headers
12553
12554 Configuration commands:
12555 $config_commands
12556
12557 Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/-/issues>."
12558
12559 _ACEOF
12560 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
12561 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
12562 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12563 ac_cs_config='$ac_cs_config_escaped'
12564 ac_cs_version="\\
12565 sessreg config.status 1.1.3
12566 configured by $0, generated by GNU Autoconf 2.71,
12567 with options \\"\$ac_cs_config\\"
12568
12569 Copyright (C) 2021 Free Software Foundation, Inc.
12570 This config.status script is free software; the Free Software Foundation
12571 gives unlimited permission to copy, distribute and modify it."
12572
12573 ac_pwd='$ac_pwd'
12574 srcdir='$srcdir'
12575 INSTALL='$INSTALL'
12576 MKDIR_P='$MKDIR_P'
12577 AWK='$AWK'
12578 test -n "\$AWK" || AWK=awk
12579 _ACEOF
12580
12581 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12582 # The default lists apply if the user does not specify any file.
12583 ac_need_defaults=:
12584 while test $# != 0
12585 do
12586 case $1 in
12587 --*=?*)
12588 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12589 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12590 ac_shift=:
12591 ;;
12592 --*=)
12593 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12594 ac_optarg=
12595 ac_shift=:
12596 ;;
12597 *)
12598 ac_option=$1
12599 ac_optarg=$2
12600 ac_shift=shift
12601 ;;
12602 esac
12603
12604 case $ac_option in
12605 # Handling of the options.
12606 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12607 ac_cs_recheck=: ;;
12608 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12609 printf "%s\n" "$ac_cs_version"; exit ;;
12610 --config | --confi | --conf | --con | --co | --c )
12611 printf "%s\n" "$ac_cs_config"; exit ;;
12612 --debug | --debu | --deb | --de | --d | -d )
12613 debug=: ;;
12614 --file | --fil | --fi | --f )
12615 $ac_shift
12616 case $ac_optarg in
12617 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12618 '') as_fn_error $? "missing file argument" ;;
12619 esac
12620 as_fn_append CONFIG_FILES " '$ac_optarg'"
12621 ac_need_defaults=false;;
12622 --header | --heade | --head | --hea )
12623 $ac_shift
12624 case $ac_optarg in
12625 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12626 esac
12627 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12628 ac_need_defaults=false;;
12629 --he | --h)
12630 # Conflict between --help and --header
12631 as_fn_error $? "ambiguous option: \`$1'
12632 Try \`$0 --help' for more information.";;
12633 --help | --hel | -h )
12634 printf "%s\n" "$ac_cs_usage"; exit ;;
12635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12637 ac_cs_silent=: ;;
12638
12639 # This is an error.
12640 -*) as_fn_error $? "unrecognized option: \`$1'
12641 Try \`$0 --help' for more information." ;;
12642
12643 *) as_fn_append ac_config_targets " $1"
12644 ac_need_defaults=false ;;
12645
12646 esac
12647 shift
12648 done
12649
12650 ac_configure_extra_args=
12651
12652 if $ac_cs_silent; then
12653 exec 6>/dev/null
12654 ac_configure_extra_args="$ac_configure_extra_args --silent"
12655 fi
12656
12657 _ACEOF
12658 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12659 if \$ac_cs_recheck; then
12660 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12661 shift
12662 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
12663 CONFIG_SHELL='$SHELL'
12664 export CONFIG_SHELL
12665 exec "\$@"
12666 fi
12667
12668 _ACEOF
12669 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12670 exec 5>>config.log
12671 {
12672 echo
12673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12674 ## Running $as_me. ##
12675 _ASBOX
12676 printf "%s\n" "$ac_log"
12677 } >&5
12678
12679 _ACEOF
12680 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12681 #
12682 # INIT-COMMANDS
12683 #
12684 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
12685
12686 _ACEOF
12687
12688 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12689
12690 # Handling of arguments.
12691 for ac_config_target in $ac_config_targets
12692 do
12693 case $ac_config_target in
12694 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12695 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12696 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12697 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
12698
12699 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12700 esac
12701 done
12702
12703
12704 # If the user did not use the arguments to specify the items to instantiate,
12705 # then the envvar interface is used. Set only those that are not.
12706 # We use the long form for the default assignment because of an extremely
12707 # bizarre bug on SunOS 4.1.3.
12708 if $ac_need_defaults; then
12709 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
12710 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
12711 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
12712 fi
12713
12714 # Have a temporary directory for convenience. Make it in the build tree
12715 # simply because there is no reason against having it here, and in addition,
12716 # creating and moving files from /tmp can sometimes cause problems.
12717 # Hook for its removal unless debugging.
12718 # Note that there is a small window in which the directory will not be cleaned:
12719 # after its creation but before its name has been assigned to `$tmp'.
12720 $debug ||
12721 {
12722 tmp= ac_tmp=
12723 trap 'exit_status=$?
12724 : "${ac_tmp:=$tmp}"
12725 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12726 ' 0
12727 trap 'as_fn_exit 1' 1 2 13 15
12728 }
12729 # Create a (secure) tmp directory for tmp files.
12730
12731 {
12732 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12733 test -d "$tmp"
12734 } ||
12735 {
12736 tmp=./conf$$-$RANDOM
12737 (umask 077 && mkdir "$tmp")
12738 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12739 ac_tmp=$tmp
12740
12741 # Set up the scripts for CONFIG_FILES section.
12742 # No need to generate them if there are no CONFIG_FILES.
12743 # This happens for instance with `./config.status config.h'.
12744 if test -n "$CONFIG_FILES"; then
12745
12746
12747 ac_cr=`echo X | tr X '\015'`
12748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12749 # But we know of no other shell where ac_cr would be empty at this
12750 # point, so we can use a bashism as a fallback.
12751 if test "x$ac_cr" = x; then
12752 eval ac_cr=\$\'\\r\'
12753 fi
12754 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12756 ac_cs_awk_cr='\\r'
12757 else
12758 ac_cs_awk_cr=$ac_cr
12759 fi
12760
12761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12762 _ACEOF
12763
12764
12765 {
12766 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
12767 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
12768 echoscip-shell system . . echo. "_ACEOF"
12769 } >conf$$subs.sh ||
12770 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
12771 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
12772 ac_delim='%!_!# '
12773 for ac_last_try in false false false false false :; do
12774 . ./conf$$subs.sh ||
12775 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
12776
12777 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
12778 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
12779 break
12780 elif $ac_last_try; then
12781 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
12782 else
12783 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12784 fi
12785 done
12786 rmscip-shell system . . rm. -f conf$$subs.sh
12787
12788 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12789 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12790 _ACEOF
12791 sedscip-shell system . . sed. -n '
12792 h
12793 s/^/S["/; s/!.*/"]=/
12794 p
12795 g
12796 s/^[^!]*!//
12797 :repl
12798 t repl
12799 s/'"$ac_delim"'$//
12800 t delim
12801 :nl
12802 h
12803 s/\(.\{148\}\)..*/\1/
12804 t more1
12805 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12806 p
12807 n
12808 b repl
12809 :more1
12810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12811 p
12812 g
12813 s/.\{148\}//
12814 t nl
12815 :delim
12816 h
12817 s/\(.\{148\}\)..*/\1/
12818 t more2
12819 s/["\\]/\\&/g; s/^/"/; s/$/"/
12820 p
12821 b
12822 :more2
12823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12824 p
12825 g
12826 s/.\{148\}//
12827 t delim
12828 ' <conf$$subs.awk | sedscip-shell system . . sed. '
12829 /^[^""]/{
12830 N
12831 s/\n//
12832 }
12833 ' >>$CONFIG_STATUS || ac_write_fail=1
12834 rmscip-shell system . . rm. -f conf$$subs.awk
12835 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12836 _ACAWK
12837 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12838 for (key in S) S_is_set[key] = 1
12839 FS = ""
12840
12841 }
12842 {
12843 line = $ 0
12844 nfields = split(line, field, "@")
12845 substed = 0
12846 len = length(field[1])
12847 for (i = 2; i < nfields; i++) {
12848 key = field[i]
12849 keylen = length(key)
12850 if (S_is_set[key]) {
12851 value = S[key]
12852 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12853 len += length(value) + length(field[++i])
12854 substed = 1
12855 } else
12856 len += 1 + keylen
12857 }
12858
12859 print line
12860 }
12861
12862 _ACAWK
12863 _ACEOF
12864 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12865 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12866 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12867 else
12868 cat
12869 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12870 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12871 _ACEOF
12872
12873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12875 # trailing colons and then remove the whole line if VPATH becomes empty
12876 # (actually we leave an empty line to preserve line numbers).
12877 if testscip-shell system . . test. "x$srcdir" = x.; then
12878 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12879 h
12880 s///
12881 s/^/:/
12882 s/[ ]*$/:/
12883 s/:\$(srcdir):/:/g
12884 s/:\${srcdir}:/:/g
12885 s/:@srcdir@:/:/g
12886 s/^:*//
12887 s/:*$//
12888 x
12889 s/\(=[ ]*\).*/\1/
12890 G
12891 s/\n//
12892 s/^[^=]*=[ ]*$//
12893 }'
12894 fi
12895
12896 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12897 fi # test -n "$CONFIG_FILES"
12898
12899 # Set up the scripts for CONFIG_HEADERS section.
12900 # No need to generate them if there are no CONFIG_HEADERS.
12901 # This happens for instance with `./config.status Makefile'.
12902 if test -n "$CONFIG_HEADERS"; then
12903 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12904 BEGIN {
12905 _ACEOF
12906
12907 # Transform confdefs.h into an awk script `defines.awk', embedded as
12908 # here-document in config.status, that substitutes the proper values into
12909 # config.h.in to produce config.h.
12910
12911 # Create a delimiter string that does not exist in confdefs.h, to ease
12912 # handling of long lines.
12913 ac_delim='%!_!# '
12914 for ac_last_try in false false :; do
12915 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
12916 if testscip-shell system . . test. -z "$ac_tt"; then
12917 break
12918 elif $ac_last_try; then
12919 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12920 else
12921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12922 fi
12923 done
12924
12925 # For the awk script, D is an array of macro values keyed by name,
12926 # likewise P contains macro parameters if any. Preserve backslash
12927 # newline sequences.
12928
12929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12930 sedscip-shell system . . sed. -n '
12931 s/.\{148\}/&'"$ac_delim"'/g
12932 t rset
12933 :rset
12934 s/^[ ]*#[ ]*define[ ][ ]*/ /
12935 t def
12936 d
12937 :def
12938 s/\\$//
12939 t bsnl
12940 s/["\\]/\\&/g
12941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12942 D["\1"]=" \3"/p
12943 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12944 d
12945 :bsnl
12946 s/["\\]/\\&/g
12947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12948 D["\1"]=" \3\\\\\\n"\\/p
12949 t cont
12950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12951 t cont
12952 d
12953 :cont
12954 n
12955 s/.\{148\}/&'"$ac_delim"'/g
12956 t clear
12957 :clear
12958 s/\\$//
12959 t bsnlc
12960 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12961 d
12962 :bsnlc
12963 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12964 b cont
12965 ' <confdefs.h | sedscip-shell system . . sed. '
12966 s/'"$ac_delim"'/"\\\
12967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12968
12969 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12970 for (key in D) D_is_set[key] = 1
12971 FS = ""
12972 }
12973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12974 line = \$ 0
12975 split(line, arg, " ")
12976 if (arg[1] == "#") {
12977 defundef = arg[2]
12978 mac1 = arg[3]
12979 } else {
12980 defundef = substr(arg[1], 2)
12981 mac1 = arg[2]
12982 }
12983 split(mac1, mac2, "(") #)
12984 macro = mac2[1]
12985 prefix = substr(line, 1, index(line, defundef) - 1)
12986 if (D_is_set[macro]) {
12987 # Preserve the white space surrounding the "#".
12988 print prefix "define", macro P[macro] D[macro]
12989 next
12990 } else {
12991 # Replace #undef with comments. This is necessary, for example,
12992 # in the case of _POSIX_SOURCE, which is predefined and required
12993 # on some systems where configure will not decide to define it.
12994 if (defundef == "undef") {
12995 print "/*", prefix defundef, macro, "*/"
12996 next
12997 }
12998 }
12999 }
13000 { print }
13001 _ACAWK
13002 _ACEOF
13003 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13004 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13005 fi # test -n "$CONFIG_HEADERS"
13006
13007
13008 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13009 shift
13010 for ac_tag
13011 do
13012 case $ac_tag in
13013 :[FHLC]) ac_mode=$ac_tag; continue;;
13014 esac
13015 case $ac_mode$ac_tag in
13016 :[FHL]*:*);;
13017 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13018 :[FH]-) ac_tag=-:-;;
13019 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13020 esac
13021 ac_save_IFS=$IFS
13022 IFS=:
13023 set x $ac_tag
13024 IFS=$ac_save_IFS
13025 shift
13026 ac_file=$1
13027 shift
13028
13029 case $ac_mode in
13030 :L) ac_source=$1;;
13031 :[FH])
13032 ac_file_inputs=
13033 for ac_f
13034 do
13035 case $ac_f in
13036 -) ac_f="$ac_tmp/stdin";;
13037 *) # Look for the file first in the build tree, then in the source tree
13038 # (if the path is not absolute). The absolute path cannot be DOS-style,
13039 # because $ac_f cannot contain `:'.
13040 test -f "$ac_f" ||
13041 case $ac_f in
13042 [\\/$]*) false;;
13043 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13044 esac ||
13045 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13046 esac
13047 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13048 as_fn_append ac_file_inputs " '$ac_f'"
13049 done
13050
13051 # Let's still pretend it is `configure' which instantiates (i.e., don't
13052 # use $as_me), people would be surprised to read:
13053 # /* config.h. Generated by config.status. */
13054 configure_input='Generated from '`
13055 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13056 `' by configure.'
13057 if test x"$ac_file" != x-; then
13058 configure_input="$ac_file. $configure_input"
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13060 printf "%s\n" "$as_me: creating $ac_file" >&6;}
13061 fi
13062 # Neutralize special characters interpreted by sed in replacement strings.
13063 case $configure_input in #(
13064 *\&* | *\|* | *\\* )
13065 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
13066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13067 *) ac_sed_conf_input=$configure_input;;
13068 esac
13069
13070 case $ac_tag in
13071 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13073 esac
13074 ;;
13075 esac
13076
13077 ac_dir=`$as_dirname -- "$ac_file" ||
13078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13079 X"$ac_file" : 'X\(//\)[^/]' \| \
13080 X"$ac_file" : 'X\(//\)$' \| \
13081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13082 printf "%s\n" X"$ac_file" |
13083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13084 s//\1/
13085 q
13086 }
13087 /^X\(\/\/\)[^/].*/{
13088 s//\1/
13089 q
13090 }
13091 /^X\(\/\/\)$/{
13092 s//\1/
13093 q
13094 }
13095 /^X\(\/\).*/{
13096 s//\1/
13097 q
13098 }
13099 s/.*/./; q'`
13100 as_dir="$ac_dir"; as_fn_mkdir_p
13101 ac_builddir=.
13102
13103 case "$ac_dir" in
13104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13105 *)
13106 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
13107 # A ".." for each directory in $ac_dir_suffix.
13108 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13109 case $ac_top_builddir_sub in
13110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13112 esac ;;
13113 esac
13114 ac_abs_top_builddir=$ac_pwd
13115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13116 # for backward compatibility:
13117 ac_top_builddir=$ac_top_build_prefix
13118
13119 case $srcdir in
13120 .) # We are building in place.
13121 ac_srcdir=.
13122 ac_top_srcdir=$ac_top_builddir_sub
13123 ac_abs_top_srcdir=$ac_pwd ;;
13124 [\\/]* | ?:[\\/]* ) # Absolute name.
13125 ac_srcdir=$srcdir$ac_dir_suffix;
13126 ac_top_srcdir=$srcdir
13127 ac_abs_top_srcdir=$srcdir ;;
13128 *) # Relative name.
13129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13130 ac_top_srcdir=$ac_top_build_prefix$srcdir
13131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13132 esac
13133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13134
13135
13136 case $ac_mode in
13137 :F)
13138 #
13139 # CONFIG_FILE
13140 #
13141
13142 case $INSTALL in
13143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13144 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13145 esac
13146 ac_MKDIR_P=$MKDIR_P
13147 case $MKDIR_P in
13148 [\\/$]* | ?:[\\/]* ) ;;
13149 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13150 esac
13151 _ACEOF
13152
13153 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13154 # If the template does not know about datarootdir, expand it.
13155 # FIXME: This hack should be removed a few years after 2.60.
13156 ac_datarootdir_hack=; ac_datarootdir_seen=
13157 ac_sed_dataroot='
13158 /datarootdir/ {
13159 p
13160 q
13161 }
13162 /@datadir@/p
13163 /@docdir@/p
13164 /@infodir@/p
13165 /@localedir@/p
13166 /@mandir@/p'
13167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13168 *datarootdir*) ac_datarootdir_seen=yes;;
13169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13171 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13172 _ACEOF
13173 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13174 ac_datarootdir_hack='
13175 s&@datadir@&$datadir&g
13176 s&@docdir@&$docdir&g
13177 s&@infodir@&$infodir&g
13178 s&@localedir@&$localedir&g
13179 s&@mandir@&$mandir&g
13180 s&\\\${datarootdir}&$datarootdir&g' ;;
13181 esac
13182 _ACEOF
13183
13184 # Neutralize VPATH when `$srcdir' = `.'.
13185 # Shell code in configure.ac might set extrasub.
13186 # FIXME: do we really want to maintain this feature?
13187 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13188 ac_sed_extra="$ac_vpsub
13189 $extrasub
13190 _ACEOF
13191 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13192 :t
13193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13194 s|@configure_input@|$ac_sed_conf_input|;t t
13195 s&@top_builddir@&$ac_top_builddir_sub&;t t
13196 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13197 s&@srcdir@&$ac_srcdir&;t t
13198 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13199 s&@top_srcdir@&$ac_top_srcdir&;t t
13200 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13201 s&@builddir@&$ac_builddir&;t t
13202 s&@abs_builddir@&$ac_abs_builddir&;t t
13203 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13204 s&@INSTALL@&$ac_INSTALL&;t t
13205 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13206 $ac_datarootdir_hack
13207 "
13208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13209 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13210
13211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13212 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13214 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13216 which seems to be undefined. Please make sure it is defined" >&5
13217 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13218 which seems to be undefined. Please make sure it is defined" >&2;}
13219
13220 rm -f "$ac_tmp/stdin"
13221 case $ac_file in
13222 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13223 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13224 esac \
13225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13226 ;;
13227 :H)
13228 #
13229 # CONFIG_HEADER
13230 #
13231 if test x"$ac_file" != x-; then
13232 {
13233 printf "%s\n" "/* $configure_input */" >&1 \
13234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13235 } >"$ac_tmp/config.h" \
13236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13237 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13239 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
13240 else
13241 rm -f "$ac_file"
13242 mv "$ac_tmp/config.h" "$ac_file" \
13243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13244 fi
13245 else
13246 printf "%s\n" "/* $configure_input */" >&1 \
13247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13248 || as_fn_error $? "could not create -" "$LINENO" 5
13249 fi
13250 # Compute "$ac_file"'s index in $config_headers.
13251 _am_arg="$ac_file"
13252 _am_stamp_count=1
13253 for _am_header in $config_headers :; do
13254 case $_am_header in
13255 $_am_arg | $_am_arg:* )
13256 break ;;
13257 * )
13258 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13259 esac
13260 done
13261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13263 X"$_am_arg" : 'X\(//\)[^/]' \| \
13264 X"$_am_arg" : 'X\(//\)$' \| \
13265 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13266 printf "%s\n" X"$_am_arg" |
13267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13268 s//\1/
13269 q
13270 }
13271 /^X\(\/\/\)[^/].*/{
13272 s//\1/
13273 q
13274 }
13275 /^X\(\/\/\)$/{
13276 s//\1/
13277 q
13278 }
13279 /^X\(\/\).*/{
13280 s//\1/
13281 q
13282 }
13283 s/.*/./; q'`/stamp-h$_am_stamp_count
13284 ;;
13285
13286 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13287 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
13288 ;;
13289 esac
13290
13291
13292 case $ac_file$ac_mode in
13293 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13294 # Older Autoconf quotes --file arguments for eval, but not when files
13295 # are listed without --file. Let's play safe and only enable the eval
13296 # if we detect the quoting.
13297 # TODO: see whether this extra hack can be removed once we start
13298 # requiring Autoconf 2.70 or later.
13299 case $CONFIG_FILES in #(
13300 *\'*) :
13301 eval set x "$CONFIG_FILES" ;; #(
13302 *) :
13303 set x $CONFIG_FILES ;; #(
13304 *) :
13305 ;;
13306 esac
13307 shift
13308 # Used to flag and report bootstrapping failures.
13309 am_rc=0
13310 for am_mf
13311 do
13312 # Strip MF so we end up with the name of the file.
13313 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
13314 # Check whether this is an Automake generated Makefile which includes
13315 # dependency-tracking related rules and includes.
13316 # Grep'ing the whole file directly is not great: AIX grep has a line
13317 # limit of 2048, but all sed's we know have understand at least 4000.
13318 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
13319 || continue
13320 am_dirpart=`$as_dirname -- "$am_mf" ||
13321 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13322 X"$am_mf" : 'X\(//\)[^/]' \| \
13323 X"$am_mf" : 'X\(//\)$' \| \
13324 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13325 printf "%s\n" X"$am_mf" |
13326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13327 s//\1/
13328 q
13329 }
13330 /^X\(\/\/\)[^/].*/{
13331 s//\1/
13332 q
13333 }
13334 /^X\(\/\/\)$/{
13335 s//\1/
13336 q
13337 }
13338 /^X\(\/\).*/{
13339 s//\1/
13340 q
13341 }
13342 s/.*/./; q'`
13343 am_filepart=`$as_basename -- "$am_mf" ||
13344 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
13345 X"$am_mf" : 'X\(//\)$' \| \
13346 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13347 printf "%s\n" X/"$am_mf" |
13348 sed '/^.*\/\([^/][^/]*\)\/*$/{
13349 s//\1/
13350 q
13351 }
13352 /^X\/\(\/\/\)$/{
13353 s//\1/
13354 q
13355 }
13356 /^X\/\(\/\).*/{
13357 s//\1/
13358 q
13359 }
13360 s/.*/./; q'`
13361 { echo "$as_me:$LINENO: cd "$am_dirpart" \
13362 && sed -e '/# am--include-marker/d' "$am_filepart" \
13363 | $MAKE -f - am--depfiles" >&5
13364 (cd "$am_dirpart" \
13365 && sed -e '/# am--include-marker/d' "$am_filepart" \
13366 | $MAKE -f - am--depfiles) >&5 2>&5
13367 ac_status=$?
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } || am_rc=$?
13370 done
13371 if test $am_rc -ne 0; then
13372 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13373 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13374 as_fn_error $? "Something went wrong bootstrapping makefile fragments
13375 for automatic dependency tracking. If GNU make was not used, consider
13376 re-running the configure script with MAKE=\"gmake\" (or whatever is
13377 necessary). You can also try re-running configure with the
13378 '--disable-dependency-tracking' option to at least be able to build
13379 the package (albeit without support for automatic dependency tracking).
13380 See \`config.log' for more details" "$LINENO" 5; }
13381 fi
13382 { am_dirpart=; unset am_dirpart;}
13383 { am_filepart=; unset am_filepart;}
13384 { am_mf=; unset am_mf;}
13385 { am_rc=; unset am_rc;}
13386 rm -f conftest-deps.mk
13387 }
13388 ;;
13389
13390 esac
13391 done # for ac_tag
13392
13393
13394 as_fn_exit 0
13395 _ACEOF
13396 ac_clean_files=$ac_clean_files_save
13397
13398 testscip-shell system . . test. $ac_write_fail = 0 ||
13399 as_fn_errorscip-shell shell x11-xserver-utils 7.7+11 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13400
13401
13402 # configure is writing to config.log, and then calls config.status.
13403 # config.status does its own redirection, appending to config.log.
13404 # Unfortunately, on DOS this fails, as config.log is still kept open
13405 # by configure, so config.status won't be able to write to it; its
13406 # output is simply discarded. So we exec the FD to /dev/null,
13407 # effectively closing config.log, so it can be properly (re)opened and
13408 # appended to by config.status. When coming back to configure, we
13409 # need to make the FD available again.
13410 if testscip-shell system . . test. "$no_create" != yes; then
13411 ac_cs_success=:
13412 ac_config_status_args=
13413 testscip-shell system . . test. "$silent" = yes &&
13414 ac_config_status_args="$ac_config_status_args --quiet"
13415 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
13416 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13417 exec 5>>config.log
13418 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13419 # would make configure fail if this is the last instruction.
13420 $ac_cs_success || as_fn_exitscip-shell shell x11-xserver-utils 7.7+11 as_fn_exit(). 1
13421 fi
13422 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
13423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13424 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13425 fi
13426
13427