Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for consolation 0.0.10.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
189 fi
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
192
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
206 /*)
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
216 break 2
217 fi
218 fi
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
232 fi
233 fi
234
235
236 if test "x$CONFIG_SHELL" != x
237 then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printf "%s\n" "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } # as_fn_set_status
302
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
373 {
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else $as_nop
389 as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else $as_nop
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
421
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_error ()
428 {
429 as_status=$1; test $as_status -eq 0 && as_status=1
430 if test "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433 fi
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
436 } # as_fn_error
437
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
443 fi
444
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446 as_basename=basename
447 else
448 as_basename=false
449 fi
450
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452 as_dirname=dirname
453 else
454 as_dirname=false
455 fi
456
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
464 q
465 }
466 /^X\/\(\/\/\)$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\).*/{
471 s//\1/
472 q
473 }
474 s/.*/./; q'`
475
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sed -n '
490 p
491 /[$]LINENO/=
492 ' <$as_myself |
493 sed '
494 s/[$]LINENO.*/&-/
495 t lineno
496 b
497 :lineno
498 N
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
517 }
518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
525 -n*)
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530 ECHO_T=' ';;
531 esac;;
532 *)
533 ECHO_N='-n';;
534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
542
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
549 fi
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
563 fi
564 else
565 as_ln_s='cp -pR'
566 fi
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
569
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
575 fi
576
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
579
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587 test -n "$DJDIR" || exec 7<&0 </dev/null
588 exec 6>&1
589
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
595 #
596 # Initializations.
597 #
598 ac_default_prefix=/usr/local
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
606
607 # Identity of this package.
608 PACKAGE_NAME='consolation'
609 PACKAGE_TARNAME='consolation'
610 PACKAGE_VERSION='0.0.10'
611 PACKAGE_STRING='consolation 0.0.10'
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 LIBEVDEV_LIBS
620 LIBEVDEV_CFLAGS
621 LIBUDEV_LIBS
622 LIBUDEV_CFLAGS
623 LIBINPUT_LIBS
624 LIBINPUT_CFLAGS
625 PKG_CONFIG_LIBDIR
626 PKG_CONFIG_PATH
627 PKG_CONFIG
628 am__fastdepCC_FALSE
629 am__fastdepCC_TRUE
630 CCDEPMODE
631 am__nodep
632 AMDEPBACKSLASH
633 AMDEP_FALSE
634 AMDEP_TRUE
635 am__include
636 DEPDIR
637 OBJEXT
638 EXEEXT
639 ac_ct_CC
640 CPPFLAGS
641 LDFLAGS
642 CFLAGS
643 CC
644 AM_BACKSLASH
645 AM_DEFAULT_VERBOSITY
646 AM_DEFAULT_V
647 AM_V
648 CSCOPE
649 ETAGS
650 CTAGS
651 am__untar
652 am__tar
653 AMTAR
654 am__leading_dot
655 SET_MAKE
656 AWK
657 mkdir_p
658 MKDIR_P
659 INSTALL_STRIP_PROGRAM
660 STRIP
661 install_sh
662 MAKEINFO
663 AUTOHEADER
664 AUTOMAKE
665 AUTOCONF
666 ACLOCAL
667 VERSION
668 PACKAGE
669 CYGPATH_W
670 am__isrc
671 INSTALL_DATA
672 INSTALL_SCRIPT
673 INSTALL_PROGRAM
674 target_alias
675 host_alias
676 build_alias
677 LIBS
678 ECHO_T
679 ECHO_N
680 ECHO_C
681 DEFS
682 mandir
683 localedir
684 libdir
685 psdir
686 pdfdir
687 dvidir
688 htmldir
689 infodir
690 docdir
691 oldincludedir
692 includedir
693 runstatedir
694 localstatedir
695 sharedstatedir
696 sysconfdir
697 datadir
698 datarootdir
699 libexecdir
700 sbindir
701 bindir
702 program_transform_name
703 prefix
704 exec_prefix
705 PACKAGE_URL
706 PACKAGE_BUGREPORT
707 PACKAGE_STRING
708 PACKAGE_VERSION
709 PACKAGE_TARNAME
710 PACKAGE_NAME
711 PATH_SEPARATOR
712 SHELL
713 am__quote'
714 ac_subst_files=''
715 ac_user_opts='
716 enable_option_checking
717 enable_silent_rules
718 enable_dependency_tracking
719 '
720 ac_precious_vars='build_alias
721 host_alias
722 target_alias
723 CC
724 CFLAGS
725 LDFLAGS
726 LIBS
727 CPPFLAGS
728 PKG_CONFIG
729 PKG_CONFIG_PATH
730 PKG_CONFIG_LIBDIR
731 LIBINPUT_CFLAGS
732 LIBINPUT_LIBS
733 LIBUDEV_CFLAGS
734 LIBUDEV_LIBS
735 LIBEVDEV_CFLAGS
736 LIBEVDEV_LIBS'
737
738
739 # Initialize some variables set by options.
740 ac_init_help=
741 ac_init_version=false
742 ac_unrecognized_opts=
743 ac_unrecognized_sep=
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
746 cache_file=/dev/null
747 exec_prefix=NONE
748 no_create=
749 no_recursion=
750 prefix=NONE
751 program_prefix=NONE
752 program_suffix=NONE
753 program_transform_name=s,x,x,
754 silent=
755 site=
756 srcdir=
757 verbose=
758 x_includes=NONE
759 x_libraries=NONE
760
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir='${exec_prefix}/bin'
768 sbindir='${exec_prefix}/sbin'
769 libexecdir='${exec_prefix}/libexec'
770 datarootdir='${prefix}/share'
771 datadir='${datarootdir}'
772 sysconfdir='${prefix}/etc'
773 sharedstatedir='${prefix}/com'
774 localstatedir='${prefix}/var'
775 runstatedir='${localstatedir}/run'
776 includedir='${prefix}/include'
777 oldincludedir='/usr/include'
778 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
779 infodir='${datarootdir}/info'
780 htmldir='${docdir}'
781 dvidir='${docdir}'
782 pdfdir='${docdir}'
783 psdir='${docdir}'
784 libdir='${exec_prefix}/lib'
785 localedir='${datarootdir}/locale'
786 mandir='${datarootdir}/man'
787
788 ac_prev=
789 ac_dashdash=
790 for ac_option
791 do
792 # If the previous option needs an argument, assign it.
793 if test -n "$ac_prev"; then
794 eval $ac_prev=\$ac_option
795 ac_prev=
796 continue
797 fi
798
799 case $ac_option in
800 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 *=) ac_optarg= ;;
802 *) ac_optarg=yes ;;
803 esac
804
805 case $ac_dashdash$ac_option in
806 --)
807 ac_dashdash=yes ;;
808
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
810 ac_prev=bindir ;;
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 bindir=$ac_optarg ;;
813
814 -build | --build | --buil | --bui | --bu)
815 ac_prev=build_alias ;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias=$ac_optarg ;;
818
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev=cache_file ;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file=$ac_optarg ;;
825
826 --config-cache | -C)
827 cache_file=config.cache ;;
828
829 -datadir | --datadir | --datadi | --datad)
830 ac_prev=datadir ;;
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir=$ac_optarg ;;
833
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev=datarootdir ;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir=$ac_optarg ;;
840
841 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: \`$ac_useropt'"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=no ;;
856
857 -docdir | --docdir | --docdi | --doc | --do)
858 ac_prev=docdir ;;
859 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860 docdir=$ac_optarg ;;
861
862 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 ac_prev=dvidir ;;
864 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865 dvidir=$ac_optarg ;;
866
867 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error $? "invalid feature name: \`$ac_useropt'"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=\$ac_optarg ;;
882
883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
885 | --exec | --exe | --ex)
886 ac_prev=exec_prefix ;;
887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
889 | --exec=* | --exe=* | --ex=*)
890 exec_prefix=$ac_optarg ;;
891
892 -gas | --gas | --ga | --g)
893 # Obsolete; use --with-gas.
894 with_gas=yes ;;
895
896 -help | --help | --hel | --he | -h)
897 ac_init_help=long ;;
898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
899 ac_init_help=recursive ;;
900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
901 ac_init_help=short ;;
902
903 -host | --host | --hos | --ho)
904 ac_prev=host_alias ;;
905 -host=* | --host=* | --hos=* | --ho=*)
906 host_alias=$ac_optarg ;;
907
908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
909 ac_prev=htmldir ;;
910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
911 | --ht=*)
912 htmldir=$ac_optarg ;;
913
914 -includedir | --includedir | --includedi | --included | --include \
915 | --includ | --inclu | --incl | --inc)
916 ac_prev=includedir ;;
917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
918 | --includ=* | --inclu=* | --incl=* | --inc=*)
919 includedir=$ac_optarg ;;
920
921 -infodir | --infodir | --infodi | --infod | --info | --inf)
922 ac_prev=infodir ;;
923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
924 infodir=$ac_optarg ;;
925
926 -libdir | --libdir | --libdi | --libd)
927 ac_prev=libdir ;;
928 -libdir=* | --libdir=* | --libdi=* | --libd=*)
929 libdir=$ac_optarg ;;
930
931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
932 | --libexe | --libex | --libe)
933 ac_prev=libexecdir ;;
934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
935 | --libexe=* | --libex=* | --libe=*)
936 libexecdir=$ac_optarg ;;
937
938 -localedir | --localedir | --localedi | --localed | --locale)
939 ac_prev=localedir ;;
940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
941 localedir=$ac_optarg ;;
942
943 -localstatedir | --localstatedir | --localstatedi | --localstated \
944 | --localstate | --localstat | --localsta | --localst | --locals)
945 ac_prev=localstatedir ;;
946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
948 localstatedir=$ac_optarg ;;
949
950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
951 ac_prev=mandir ;;
952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
953 mandir=$ac_optarg ;;
954
955 -nfp | --nfp | --nf)
956 # Obsolete; use --without-fp.
957 with_fp=no ;;
958
959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
960 | --no-cr | --no-c | -n)
961 no_create=yes ;;
962
963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
965 no_recursion=yes ;;
966
967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
969 | --oldin | --oldi | --old | --ol | --o)
970 ac_prev=oldincludedir ;;
971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
974 oldincludedir=$ac_optarg ;;
975
976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
977 ac_prev=prefix ;;
978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
979 prefix=$ac_optarg ;;
980
981 -program-prefix | --program-prefix | --program-prefi | --program-pref \
982 | --program-pre | --program-pr | --program-p)
983 ac_prev=program_prefix ;;
984 -program-prefix=* | --program-prefix=* | --program-prefi=* \
985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
986 program_prefix=$ac_optarg ;;
987
988 -program-suffix | --program-suffix | --program-suffi | --program-suff \
989 | --program-suf | --program-su | --program-s)
990 ac_prev=program_suffix ;;
991 -program-suffix=* | --program-suffix=* | --program-suffi=* \
992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
993 program_suffix=$ac_optarg ;;
994
995 -program-transform-name | --program-transform-name \
996 | --program-transform-nam | --program-transform-na \
997 | --program-transform-n | --program-transform- \
998 | --program-transform | --program-transfor \
999 | --program-transfo | --program-transf \
1000 | --program-trans | --program-tran \
1001 | --progr-tra | --program-tr | --program-t)
1002 ac_prev=program_transform_name ;;
1003 -program-transform-name=* | --program-transform-name=* \
1004 | --program-transform-nam=* | --program-transform-na=* \
1005 | --program-transform-n=* | --program-transform-=* \
1006 | --program-transform=* | --program-transfor=* \
1007 | --program-transfo=* | --program-transf=* \
1008 | --program-trans=* | --program-tran=* \
1009 | --progr-tra=* | --program-tr=* | --program-t=*)
1010 program_transform_name=$ac_optarg ;;
1011
1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1013 ac_prev=pdfdir ;;
1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1015 pdfdir=$ac_optarg ;;
1016
1017 -psdir | --psdir | --psdi | --psd | --ps)
1018 ac_prev=psdir ;;
1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1020 psdir=$ac_optarg ;;
1021
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1024 silent=yes ;;
1025
1026 -runstatedir | --runstatedir | --runstatedi | --runstated \
1027 | --runstate | --runstat | --runsta | --runst | --runs \
1028 | --run | --ru | --r)
1029 ac_prev=runstatedir ;;
1030 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1031 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1032 | --run=* | --ru=* | --r=*)
1033 runstatedir=$ac_optarg ;;
1034
1035 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1036 ac_prev=sbindir ;;
1037 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1038 | --sbi=* | --sb=*)
1039 sbindir=$ac_optarg ;;
1040
1041 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1042 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043 | --sharedst | --shareds | --shared | --share | --shar \
1044 | --sha | --sh)
1045 ac_prev=sharedstatedir ;;
1046 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1049 | --sha=* | --sh=*)
1050 sharedstatedir=$ac_optarg ;;
1051
1052 -site | --site | --sit)
1053 ac_prev=site ;;
1054 -site=* | --site=* | --sit=*)
1055 site=$ac_optarg ;;
1056
1057 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1058 ac_prev=srcdir ;;
1059 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060 srcdir=$ac_optarg ;;
1061
1062 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063 | --syscon | --sysco | --sysc | --sys | --sy)
1064 ac_prev=sysconfdir ;;
1065 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067 sysconfdir=$ac_optarg ;;
1068
1069 -target | --target | --targe | --targ | --tar | --ta | --t)
1070 ac_prev=target_alias ;;
1071 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072 target_alias=$ac_optarg ;;
1073
1074 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1075 verbose=yes ;;
1076
1077 -version | --version | --versio | --versi | --vers | -V)
1078 ac_init_version=: ;;
1079
1080 -with-* | --with-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: \`$ac_useropt'"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "with_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval with_$ac_useropt=\$ac_optarg ;;
1095
1096 -without-* | --without-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: \`$ac_useropt'"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1104 *"
1105 "with_$ac_useropt"
1106 "*) ;;
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1109 esac
1110 eval with_$ac_useropt=no ;;
1111
1112 --x)
1113 # Obsolete; use --with-x.
1114 with_x=yes ;;
1115
1116 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1117 | --x-incl | --x-inc | --x-in | --x-i)
1118 ac_prev=x_includes ;;
1119 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1120 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1121 x_includes=$ac_optarg ;;
1122
1123 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1124 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1125 ac_prev=x_libraries ;;
1126 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1127 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1128 x_libraries=$ac_optarg ;;
1129
1130 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1132 ;;
1133
1134 *=*)
1135 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 case $ac_envvar in #(
1138 '' | [0-9]* | *[!_$as_cr_alnum]* )
1139 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1140 esac
1141 eval $ac_envvar=\$ac_optarg
1142 export $ac_envvar ;;
1143
1144 *)
1145 # FIXME: should be removed in autoconf 3.0.
1146 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1149 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1150 ;;
1151
1152 esac
1153 done
1154
1155 if test -n "$ac_prev"; then
1156 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1157 as_fn_error $? "missing argument to $ac_option"
1158 fi
1159
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1162 no) ;;
1163 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1164 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 esac
1166 fi
1167
1168 # Check all directory arguments for consistency.
1169 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir runstatedir
1173 do
1174 eval ac_val=\$$ac_var
1175 # Remove trailing slashes.
1176 case $ac_val in
1177 */ )
1178 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\$ac_val;;
1180 esac
1181 # Be sure to have absolute directory names.
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1187 done
1188
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1195
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 elif test "x$build_alias" != "x$host_alias"; then
1201 cross_compiling=yes
1202 fi
1203 fi
1204
1205 ac_tool_prefix=
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207
1208 test "$silent" = yes && exec 6>/dev/null
1209
1210
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $? "working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $? "pwd does not report name of working directory"
1217
1218
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 printf "%s\n" X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 s//\1/
1231 q
1232 }
1233 /^X\(\/\/\)[^/].*/{
1234 s//\1/
1235 q
1236 }
1237 /^X\(\/\/\)$/{
1238 s//\1/
1239 q
1240 }
1241 /^X\(\/\).*/{
1242 s//\1/
1243 q
1244 }
1245 s/.*/./; q'`
1246 srcdir=$ac_confdir
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 srcdir=..
1249 fi
1250 else
1251 ac_srcdir_defaulted=no
1252 fi
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 fi
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 ac_abs_confdir=`(
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 pwd)`
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 srcdir=.
1264 fi
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1268 case $srcdir in
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 esac
1271 for ac_var in $ac_precious_vars; do
1272 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_${ac_var}_value=\$${ac_var}
1274 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 done
1277
1278 #
1279 # Report the --help message.
1280 #
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1284 cat <<_ACEOF
1285 \`configure' configures consolation 0.0.10 to adapt to many kinds of systems.
1286
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1288
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1291
1292 Defaults for the options are specified in brackets.
1293
1294 Configuration:
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 [PREFIX]
1310
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1315
1316 For better control, use the options below.
1317
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1326 --libdir=DIR object code libraries [EPREFIX/lib]
1327 --includedir=DIR C header files [PREFIX/include]
1328 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1331 --infodir=DIR info documentation [DATAROOTDIR/info]
1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1333 --mandir=DIR man documentation [DATAROOTDIR/man]
1334 --docdir=DIR documentation root [DATAROOTDIR/doc/consolation]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1339 _ACEOF
1340
1341 cat <<\_ACEOF
1342
1343 Program names:
1344 --program-prefix=PREFIX prepend PREFIX to installed program names
1345 --program-suffix=SUFFIX append SUFFIX to installed program names
1346 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347 _ACEOF
1348 fi
1349
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of consolation 0.0.10:";;
1353 esac
1354 cat <<\_ACEOF
1355
1356 Optional Features:
1357 --disable-option-checking ignore unrecognized --enable/--with options
1358 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1359 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1360 --enable-silent-rules less verbose build output (undo: "make V=1")
1361 --disable-silent-rules verbose build output (undo: "make V=0")
1362 --enable-dependency-tracking
1363 do not reject slow dependency extractors
1364 --disable-dependency-tracking
1365 speeds up one-time build
1366
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 LIBS libraries to pass to the linker, e.g. -l<library>
1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 PKG_CONFIG path to pkg-config utility
1376 PKG_CONFIG_PATH
1377 directories to add to pkg-config's search path
1378 PKG_CONFIG_LIBDIR
1379 path overriding pkg-config's built-in search path
1380 LIBINPUT_CFLAGS
1381 C compiler flags for LIBINPUT, overriding pkg-config
1382 LIBINPUT_LIBS
1383 linker flags for LIBINPUT, overriding pkg-config
1384 LIBUDEV_CFLAGS
1385 C compiler flags for LIBUDEV, overriding pkg-config
1386 LIBUDEV_LIBS
1387 linker flags for LIBUDEV, overriding pkg-config
1388 LIBEVDEV_CFLAGS
1389 C compiler flags for LIBEVDEV, overriding pkg-config
1390 LIBEVDEV_LIBS
1391 linker flags for LIBEVDEV, overriding pkg-config
1392
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1395
1396 Report bugs to the package provider.
1397 _ACEOF
1398 ac_status=$?
1399 fi
1400
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 continue
1407 ac_builddir=.
1408
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *)
1412 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1424
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for configure.gnu first; this name is used for a wrapper for
1443 # Metaconfig's "Configure" on case-insensitive file systems.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1455 fi
1456
1457 test -n "$ac_init_help" && exit $ac_status
1458 if $ac_init_version; then
1459 cat <<\_ACEOF
1460 consolation configure 0.0.10
1461 generated by GNU Autoconf 2.71
1462
1463 Copyright (C) 2021 Free Software Foundation, Inc.
1464 This configure script is free software; the Free Software Foundation
1465 gives unlimited permission to copy, distribute and modify it.
1466 _ACEOF
1467 exit
1468 fi
1469
1470 ## ------------------------ ##
1471 ## Autoconf initialization. ##
1472 ## ------------------------ ##
1473
1474 # ac_fn_c_try_compile LINENO
1475 # --------------------------
1476 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_c_try_compile ()
1478 {
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 rm -f conftest.$ac_objext conftest.beam
1481 if { { ac_try="$ac_compile"
1482 case "(($ac_try" in
1483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484 *) ac_try_echo=$ac_try;;
1485 esac
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 printf "%s\n" "$ac_try_echo"; } >&5
1488 (eval "$ac_compile") 2>conftest.err
1489 ac_status=$?
1490 if test -s conftest.err; then
1491 grep -v '^ *+' conftest.err >conftest.er1
1492 cat conftest.er1 >&5
1493 mv -f conftest.er1 conftest.err
1494 fi
1495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496 test $ac_status = 0; } && {
1497 test -z "$ac_c_werror_flag" ||
1498 test ! -s conftest.err
1499 } && test -s conftest.$ac_objext
1500 then :
1501 ac_retval=0
1502 else $as_nop
1503 printf "%s\n" "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1505
1506 ac_retval=1
1507 fi
1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1509 as_fn_set_status $ac_retval
1510
1511 } # ac_fn_c_try_compile
1512 ac_configure_args_raw=
1513 for ac_arg
1514 do
1515 case $ac_arg in
1516 *\'*)
1517 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 esac
1519 as_fn_append ac_configure_args_raw " '$ac_arg'"
1520 done
1521
1522 case $ac_configure_args_raw in
1523 *$as_nl*)
1524 ac_safe_unquote= ;;
1525 *)
1526 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1527 ac_unsafe_a="$ac_unsafe_z#~"
1528 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1529 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1530 esac
1531
1532 cat >config.log <<_ACEOF
1533 This file contains any messages produced by compilers while
1534 running configure, to aid debugging if configure makes a mistake.
1535
1536 It was created by consolation $as_me 0.0.10, which was
1537 generated by GNU Autoconf 2.71. Invocation command line was
1538
1539 $ $0$ac_configure_args_raw
1540
1541 _ACEOF
1542 exec 5>>config.log
1543 {
1544 cat <<_ASUNAME
1545 ## --------- ##
1546 ## Platform. ##
1547 ## --------- ##
1548
1549 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1550 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1551 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1552 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1553 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1554
1555 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1556 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1557
1558 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1559 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1560 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1561 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1562 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1563 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1564 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1565
1566 _ASUNAME
1567
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 for as_dir in $PATH
1570 do
1571 IFS=$as_save_IFS
1572 case $as_dir in #(((
1573 '') as_dir=./ ;;
1574 */) ;;
1575 *) as_dir=$as_dir/ ;;
1576 esac
1577 printf "%s\n" "PATH: $as_dir"
1578 done
1579 IFS=$as_save_IFS
1580
1581 } >&5
1582
1583 cat >&5 <<_ACEOF
1584
1585
1586 ## ----------- ##
1587 ## Core tests. ##
1588 ## ----------- ##
1589
1590 _ACEOF
1591
1592
1593 # Keep a trace of the command line.
1594 # Strip out --no-create and --no-recursion so they do not pile up.
1595 # Strip out --silent because we don't want to record it for future runs.
1596 # Also quote any args containing shell meta-characters.
1597 # Make two passes to allow for proper duplicate-argument suppression.
1598 ac_configure_args=
1599 ac_configure_args0=
1600 ac_configure_args1=
1601 ac_must_keep_next=false
1602 for ac_pass in 1 2
1603 do
1604 for ac_arg
1605 do
1606 case $ac_arg in
1607 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1608 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1609 | -silent | --silent | --silen | --sile | --sil)
1610 continue ;;
1611 *\'*)
1612 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1613 esac
1614 case $ac_pass in
1615 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1616 2)
1617 as_fn_append ac_configure_args1 " '$ac_arg'"
1618 if test $ac_must_keep_next = true; then
1619 ac_must_keep_next=false # Got value, back to normal.
1620 else
1621 case $ac_arg in
1622 *=* | --config-cache | -C | -disable-* | --disable-* \
1623 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1624 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1625 | -with-* | --with-* | -without-* | --without-* | --x)
1626 case "$ac_configure_args0 " in
1627 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1628 esac
1629 ;;
1630 -* ) ac_must_keep_next=true ;;
1631 esac
1632 fi
1633 as_fn_append ac_configure_args " '$ac_arg'"
1634 ;;
1635 esac
1636 done
1637 done
1638 { ac_configure_args0=; unset ac_configure_args0;}
1639 { ac_configure_args1=; unset ac_configure_args1;}
1640
1641 # When interrupted or exit'd, cleanup temporary files, and complete
1642 # config.log. We remove comments because anyway the quotes in there
1643 # would cause problems or look ugly.
1644 # WARNING: Use '\'' to represent an apostrophe within the trap.
1645 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1646 trap 'exit_status=$?
1647 # Sanitize IFS.
1648 IFS=" "" $as_nl"
1649 # Save into config.log some information that might help in debugging.
1650 {
1651 echo
1652
1653 printf "%s\n" "## ---------------- ##
1654 ## Cache variables. ##
1655 ## ---------------- ##"
1656 echo
1657 # The following way of writing the cache mishandles newlines in values,
1658 (
1659 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1660 eval ac_val=\$$ac_var
1661 case $ac_val in #(
1662 *${as_nl}*)
1663 case $ac_var in #(
1664 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1665 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1666 esac
1667 case $ac_var in #(
1668 _ | IFS | as_nl) ;; #(
1669 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1670 *) { eval $ac_var=; unset $ac_var;} ;;
1671 esac ;;
1672 esac
1673 done
1674 (set) 2>&1 |
1675 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1676 *${as_nl}ac_space=\ *)
1677 sed -n \
1678 "s/'\''/'\''\\\\'\'''\''/g;
1679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1680 ;; #(
1681 *)
1682 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1683 ;;
1684 esac |
1685 sort
1686 )
1687 echo
1688
1689 printf "%s\n" "## ----------------- ##
1690 ## Output variables. ##
1691 ## ----------------- ##"
1692 echo
1693 for ac_var in $ac_subst_vars
1694 do
1695 eval ac_val=\$$ac_var
1696 case $ac_val in
1697 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1698 esac
1699 printf "%s\n" "$ac_var='\''$ac_val'\''"
1700 done | sort
1701 echo
1702
1703 if test -n "$ac_subst_files"; then
1704 printf "%s\n" "## ------------------- ##
1705 ## File substitutions. ##
1706 ## ------------------- ##"
1707 echo
1708 for ac_var in $ac_subst_files
1709 do
1710 eval ac_val=\$$ac_var
1711 case $ac_val in
1712 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1713 esac
1714 printf "%s\n" "$ac_var='\''$ac_val'\''"
1715 done | sort
1716 echo
1717 fi
1718
1719 if test -s confdefs.h; then
1720 printf "%s\n" "## ----------- ##
1721 ## confdefs.h. ##
1722 ## ----------- ##"
1723 echo
1724 cat confdefs.h
1725 echo
1726 fi
1727 test "$ac_signal" != 0 &&
1728 printf "%s\n" "$as_me: caught signal $ac_signal"
1729 printf "%s\n" "$as_me: exit $exit_status"
1730 } >&5
1731 rm -f core *.core core.conftest.* &&
1732 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1733 exit $exit_status
1734 ' 0
1735 for ac_signal in 1 2 13 15; do
1736 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1737 done
1738 ac_signal=0
1739
1740 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1741 rm -f -r conftest* confdefs.h
1742
1743 printf "%s\n" "/* confdefs.h */" > confdefs.h
1744
1745 # Predefined preprocessor variables.
1746
1747 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1748
1749 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1750
1751 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1752
1753 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1754
1755 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1756
1757 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1758
1759
1760 # Let the site file select an alternate cache file if it wants to.
1761 # Prefer an explicitly selected file to automatically selected ones.
1762 if test -n "$CONFIG_SITE"; then
1763 ac_site_files="$CONFIG_SITE"
1764 elif test "x$prefix" != xNONE; then
1765 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1766 else
1767 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1768 fi
1769
1770 for ac_site_file in $ac_site_files
1771 do
1772 case $ac_site_file in #(
1773 */*) :
1774 ;; #(
1775 *) :
1776 ac_site_file=./$ac_site_file ;;
1777 esac
1778 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1780 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1781 sed 's/^/| /' "$ac_site_file" >&5
1782 . "$ac_site_file" \
1783 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1784 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1785 as_fn_error $? "failed to load site script $ac_site_file
1786 See \`config.log' for more details" "$LINENO" 5; }
1787 fi
1788 done
1789
1790 if test -r "$cache_file"; then
1791 # Some versions of bash will fail to source /dev/null (special files
1792 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1793 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1795 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1796 case $cache_file in
1797 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1798 *) . "./$cache_file";;
1799 esac
1800 fi
1801 else
1802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1803 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1804 >$cache_file
1805 fi
1806
1807 # Test code for whether the C compiler supports C89 (global declarations)
1808 ac_c_conftest_c89_globals='
1809 /* Does the compiler advertise C89 conformance?
1810 Do not test the value of __STDC__, because some compilers set it to 0
1811 while being otherwise adequately conformant. */
1812 #if !defined __STDC__
1813 # error "Compiler does not advertise C89 conformance"
1814 #endif
1815
1816 #include <stddef.h>
1817 #include <stdarg.h>
1818 struct stat;
1819 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1820 struct buf { int x; };
1821 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1822 static char *e (p, i)
1823 char **p;
1824 int i;
1825 {
1826 return p[i];
1827 }
1828 static char *f (char * (*g) (char **, int), char **p, ...)
1829 {
1830 char *s;
1831 va_list v;
1832 va_start (v,p);
1833 s = g (p, va_arg (v,int));
1834 va_end (v);
1835 return s;
1836 }
1837
1838 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1839 function prototypes and stuff, but not \xHH hex character constants.
1840 These do not provoke an error unfortunately, instead are silently treated
1841 as an "x". The following induces an error, until -std is added to get
1842 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1843 array size at least. It is necessary to write \x00 == 0 to get something
1844 that is true only with -std. */
1845 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1846
1847 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1848 inside strings and character constants. */
1849 #define FOO(x) '\''x'\''
1850 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1851
1852 int test (int i, double x);
1853 struct s1 {int (*f) (int a);};
1854 struct s2 {int (*f) (double a);};
1855 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1856 int, int);'
1857
1858 # Test code for whether the C compiler supports C89 (body of main).
1859 ac_c_conftest_c89_main='
1860 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1861 '
1862
1863 # Test code for whether the C compiler supports C99 (global declarations)
1864 ac_c_conftest_c99_globals='
1865 // Does the compiler advertise C99 conformance?
1866 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1867 # error "Compiler does not advertise C99 conformance"
1868 #endif
1869
1870 #include <stdbool.h>
1871 extern int puts (const char *);
1872 extern int printf (const char *, ...);
1873 extern int dprintf (int, const char *, ...);
1874 extern void *malloc (size_t);
1875
1876 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1877 // dprintf is used instead of fprintf to avoid needing to declare
1878 // FILE and stderr.
1879 #define debug(...) dprintf (2, __VA_ARGS__)
1880 #define showlist(...) puts (#__VA_ARGS__)
1881 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1882 static void
1883 test_varargs_macros (void)
1884 {
1885 int x = 1234;
1886 int y = 5678;
1887 debug ("Flag");
1888 debug ("X = %d\n", x);
1889 showlist (The first, second, and third items.);
1890 report (x>y, "x is %d but y is %d", x, y);
1891 }
1892
1893 // Check long long types.
1894 #define BIG64 18446744073709551615ull
1895 #define BIG32 4294967295ul
1896 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1897 #if !BIG_OK
1898 #error "your preprocessor is broken"
1899 #endif
1900 #if BIG_OK
1901 #else
1902 #error "your preprocessor is broken"
1903 #endif
1904 static long long int bignum = -9223372036854775807LL;
1905 static unsigned long long int ubignum = BIG64;
1906
1907 struct incomplete_array
1908 {
1909 int datasize;
1910 double data[];
1911 };
1912
1913 struct named_init {
1914 int number;
1915 const wchar_t *name;
1916 double average;
1917 };
1918
1919 typedef const char *ccp;
1920
1921 static inline int
1922 test_restrict (ccp restrict text)
1923 {
1924 // See if C++-style comments work.
1925 // Iterate through items via the restricted pointer.
1926 // Also check for declarations in for loops.
1927 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1928 continue;
1929 return 0;
1930 }
1931
1932 // Check varargs and va_copy.
1933 static bool
1934 test_varargs (const char *format, ...)
1935 {
1936 va_list args;
1937 va_start (args, format);
1938 va_list args_copy;
1939 va_copy (args_copy, args);
1940
1941 const char *str = "";
1942 int number = 0;
1943 float fnumber = 0;
1944
1945 while (*format)
1946 {
1947 switch (*format++)
1948 {
1949 case '\''s'\'': // string
1950 str = va_arg (args_copy, const char *);
1951 break;
1952 case '\''d'\'': // int
1953 number = va_arg (args_copy, int);
1954 break;
1955 case '\''f'\'': // float
1956 fnumber = va_arg (args_copy, double);
1957 break;
1958 default:
1959 break;
1960 }
1961 }
1962 va_end (args_copy);
1963 va_end (args);
1964
1965 return *str && number && fnumber;
1966 }
1967 '
1968
1969 # Test code for whether the C compiler supports C99 (body of main).
1970 ac_c_conftest_c99_main='
1971 // Check bool.
1972 _Bool success = false;
1973 success |= (argc != 0);
1974
1975 // Check restrict.
1976 if (test_restrict ("String literal") == 0)
1977 success = true;
1978 char *restrict newvar = "Another string";
1979
1980 // Check varargs.
1981 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1982 test_varargs_macros ();
1983
1984 // Check flexible array members.
1985 struct incomplete_array *ia =
1986 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1987 ia->datasize = 10;
1988 for (int i = 0; i < ia->datasize; ++i)
1989 ia->data[i] = i * 1.234;
1990
1991 // Check named initializers.
1992 struct named_init ni = {
1993 .number = 34,
1994 .name = L"Test wide string",
1995 .average = 543.34343,
1996 };
1997
1998 ni.number = 58;
1999
2000 int dynamic_array[ni.number];
2001 dynamic_array[0] = argv[0][0];
2002 dynamic_array[ni.number - 1] = 543;
2003
2004 // work around unused variable warnings
2005 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2006 || dynamic_array[ni.number - 1] != 543);
2007 '
2008
2009 # Test code for whether the C compiler supports C11 (global declarations)
2010 ac_c_conftest_c11_globals='
2011 // Does the compiler advertise C11 conformance?
2012 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2013 # error "Compiler does not advertise C11 conformance"
2014 #endif
2015
2016 // Check _Alignas.
2017 char _Alignas (double) aligned_as_double;
2018 char _Alignas (0) no_special_alignment;
2019 extern char aligned_as_int;
2020 char _Alignas (0) _Alignas (int) aligned_as_int;
2021
2022 // Check _Alignof.
2023 enum
2024 {
2025 int_alignment = _Alignof (int),
2026 int_array_alignment = _Alignof (int[100]),
2027 char_alignment = _Alignof (char)
2028 };
2029 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2030
2031 // Check _Noreturn.
2032 int _Noreturn does_not_return (void) { for (;;) continue; }
2033
2034 // Check _Static_assert.
2035 struct test_static_assert
2036 {
2037 int x;
2038 _Static_assert (sizeof (int) <= sizeof (long int),
2039 "_Static_assert does not work in struct");
2040 long int y;
2041 };
2042
2043 // Check UTF-8 literals.
2044 #define u8 syntax error!
2045 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2046
2047 // Check duplicate typedefs.
2048 typedef long *long_ptr;
2049 typedef long int *long_ptr;
2050 typedef long_ptr long_ptr;
2051
2052 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2053 struct anonymous
2054 {
2055 union {
2056 struct { int i; int j; };
2057 struct { int k; long int l; } w;
2058 };
2059 int m;
2060 } v1;
2061 '
2062
2063 # Test code for whether the C compiler supports C11 (body of main).
2064 ac_c_conftest_c11_main='
2065 _Static_assert ((offsetof (struct anonymous, i)
2066 == offsetof (struct anonymous, w.k)),
2067 "Anonymous union alignment botch");
2068 v1.i = 2;
2069 v1.w.k = 5;
2070 ok |= v1.i != 5;
2071 '
2072
2073 # Test code for whether the C compiler supports C11 (complete).
2074 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2075 ${ac_c_conftest_c99_globals}
2076 ${ac_c_conftest_c11_globals}
2077
2078 int
2079 main (int argc, char **argv)
2080 {
2081 int ok = 0;
2082 ${ac_c_conftest_c89_main}
2083 ${ac_c_conftest_c99_main}
2084 ${ac_c_conftest_c11_main}
2085 return ok;
2086 }
2087 "
2088
2089 # Test code for whether the C compiler supports C99 (complete).
2090 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2091 ${ac_c_conftest_c99_globals}
2092
2093 int
2094 main (int argc, char **argv)
2095 {
2096 int ok = 0;
2097 ${ac_c_conftest_c89_main}
2098 ${ac_c_conftest_c99_main}
2099 return ok;
2100 }
2101 "
2102
2103 # Test code for whether the C compiler supports C89 (complete).
2104 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2105
2106 int
2107 main (int argc, char **argv)
2108 {
2109 int ok = 0;
2110 ${ac_c_conftest_c89_main}
2111 return ok;
2112 }
2113 "
2114
2115
2116 # Auxiliary files required by this configure script.
2117 ac_aux_files="compile missing install-sh"
2118
2119 # Locations in which to look for auxiliary files.
2120 ac_aux_dir_candidates="${srcdir}/config"
2121
2122 # Search for a directory containing all of the required auxiliary files,
2123 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2124 # If we don't find one directory that contains all the files we need,
2125 # we report the set of missing files from the *first* directory in
2126 # $ac_aux_dir_candidates and give up.
2127 ac_missing_aux_files=""
2128 ac_first_candidate=:
2129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 as_found=false
2132 for as_dir in $ac_aux_dir_candidates
2133 do
2134 IFS=$as_save_IFS
2135 case $as_dir in #(((
2136 '') as_dir=./ ;;
2137 */) ;;
2138 *) as_dir=$as_dir/ ;;
2139 esac
2140 as_found=:
2141
2142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2143 ac_aux_dir_found=yes
2144 ac_install_sh=
2145 for ac_aux in $ac_aux_files
2146 do
2147 # As a special case, if "install-sh" is required, that requirement
2148 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2149 # and $ac_install_sh is set appropriately for whichever one is found.
2150 if test x"$ac_aux" = x"install-sh"
2151 then
2152 if test -f "${as_dir}install-sh"; then
2153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2154 ac_install_sh="${as_dir}install-sh -c"
2155 elif test -f "${as_dir}install.sh"; then
2156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2157 ac_install_sh="${as_dir}install.sh -c"
2158 elif test -f "${as_dir}shtool"; then
2159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2160 ac_install_sh="${as_dir}shtool install -c"
2161 else
2162 ac_aux_dir_found=no
2163 if $ac_first_candidate; then
2164 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2165 else
2166 break
2167 fi
2168 fi
2169 else
2170 if test -f "${as_dir}${ac_aux}"; then
2171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2172 else
2173 ac_aux_dir_found=no
2174 if $ac_first_candidate; then
2175 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2176 else
2177 break
2178 fi
2179 fi
2180 fi
2181 done
2182 if test "$ac_aux_dir_found" = yes; then
2183 ac_aux_dir="$as_dir"
2184 break
2185 fi
2186 ac_first_candidate=false
2187
2188 as_found=false
2189 done
2190 IFS=$as_save_IFS
2191 if $as_found
2192 then :
2193
2194 else $as_nop
2195 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2196 fi
2197
2198
2199 # These three variables are undocumented and unsupported,
2200 # and are intended to be withdrawn in a future Autoconf release.
2201 # They can cause serious problems if a builder's source tree is in a directory
2202 # whose full name contains unusual characters.
2203 if test -f "${ac_aux_dir}config.guess"; then
2204 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2205 fi
2206 if test -f "${ac_aux_dir}config.sub"; then
2207 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2208 fi
2209 if test -f "$ac_aux_dir/configure"; then
2210 ac_configure="$SHELL ${ac_aux_dir}configure"
2211 fi
2212
2213 # Check that the precious variables saved in the cache have kept the same
2214 # value.
2215 ac_cache_corrupted=false
2216 for ac_var in $ac_precious_vars; do
2217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218 eval ac_new_set=\$ac_env_${ac_var}_set
2219 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220 eval ac_new_val=\$ac_env_${ac_var}_value
2221 case $ac_old_set,$ac_new_set in
2222 set,)
2223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225 ac_cache_corrupted=: ;;
2226 ,set)
2227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229 ac_cache_corrupted=: ;;
2230 ,);;
2231 *)
2232 if test "x$ac_old_val" != "x$ac_new_val"; then
2233 # differences in whitespace do not lead to failure.
2234 ac_old_val_w=`echo x $ac_old_val`
2235 ac_new_val_w=`echo x $ac_new_val`
2236 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239 ac_cache_corrupted=:
2240 else
2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243 eval $ac_var=\$ac_old_val
2244 fi
2245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2249 fi;;
2250 esac
2251 # Pass precious variables to config.status.
2252 if test "$ac_new_set" = set; then
2253 case $ac_new_val in
2254 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255 *) ac_arg=$ac_var=$ac_new_val ;;
2256 esac
2257 case " $ac_configure_args " in
2258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2260 esac
2261 fi
2262 done
2263 if $ac_cache_corrupted; then
2264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2268 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2269 and start over" "$LINENO" 5
2270 fi
2271 ## -------------------- ##
2272 ## Main body of script. ##
2273 ## -------------------- ##
2274
2275 ac_ext=c
2276 ac_cpp='$CPP $CPPFLAGS'
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2280
2281
2282
2283
2284
2285 am__api_version='1.16'
2286
2287
2288
2289 # Find a good install program. We prefer a C program (faster),
2290 # so one script is as good as another. But avoid the broken or
2291 # incompatible versions:
2292 # SysV /etc/install, /usr/sbin/install
2293 # SunOS /usr/etc/install
2294 # IRIX /sbin/install
2295 # AIX /bin/install
2296 # AmigaOS /C/install, which installs bootblocks on floppy discs
2297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2300 # OS/2's system install, which has a completely different semantic
2301 # ./install, which can be erroneously created by make from ./install.sh.
2302 # Reject install programs that cannot install multiple files.
2303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2304 printf %s "checking for a BSD-compatible install... " >&6; }
2305 if test -z "$INSTALL"; then
2306 if test ${ac_cv_path_install+y}
2307 then :
2308 printf %s "(cached) " >&6
2309 else $as_nop
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 for as_dir in $PATH
2312 do
2313 IFS=$as_save_IFS
2314 case $as_dir in #(((
2315 '') as_dir=./ ;;
2316 */) ;;
2317 *) as_dir=$as_dir/ ;;
2318 esac
2319 # Account for fact that we put trailing slashes in our PATH walk.
2320 case $as_dir in #((
2321 ./ | /[cC]/* | \
2322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2323 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2324 /usr/ucb/* ) ;;
2325 *)
2326 # OSF1 and SCO ODT 3.0 have their own names for install.
2327 # Don't use installbsd from OSF since it installs stuff as root
2328 # by default.
2329 for ac_prog in ginstall scoinst install; do
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2332 if test $ac_prog = install &&
2333 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2334 # AIX install. It has an incompatible calling convention.
2335 :
2336 elif test $ac_prog = install &&
2337 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2338 # program-specific install script used by HP pwplus--don't use.
2339 :
2340 else
2341 rm -rf conftest.one conftest.two conftest.dir
2342 echo one > conftest.one
2343 echo two > conftest.two
2344 mkdir conftest.dir
2345 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2346 test -s conftest.one && test -s conftest.two &&
2347 test -s conftest.dir/conftest.one &&
2348 test -s conftest.dir/conftest.two
2349 then
2350 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2351 break 3
2352 fi
2353 fi
2354 fi
2355 done
2356 done
2357 ;;
2358 esac
2359
2360 done
2361 IFS=$as_save_IFS
2362
2363 rm -rf conftest.one conftest.two conftest.dir
2364
2365 fi
2366 if test ${ac_cv_path_install+y}; then
2367 INSTALL=$ac_cv_path_install
2368 else
2369 # As a last resort, use the slow shell script. Don't cache a
2370 # value for INSTALL within a source directory, because that will
2371 # break other packages using the cache if that directory is
2372 # removed, or if the value is a relative name.
2373 INSTALL=$ac_install_sh
2374 fi
2375 fi
2376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2377 printf "%s\n" "$INSTALL" >&6; }
2378
2379 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2380 # It thinks the first close brace ends the variable substitution.
2381 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2382
2383 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2384
2385 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2386
2387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2388 printf %s "checking whether build environment is sane... " >&6; }
2389 # Reject unsafe characters in $srcdir or the absolute working directory
2390 # name. Accept space and tab only in the latter.
2391 am_lf='
2392 '
2393 case `pwd` in
2394 *[\\\"\#\$\&\'\`$am_lf]*)
2395 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2396 esac
2397 case $srcdir in
2398 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2399 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2400 esac
2401
2402 # Do 'set' in a subshell so we don't clobber the current shell's
2403 # arguments. Must try -L first in case configure is actually a
2404 # symlink; some systems play weird games with the mod time of symlinks
2405 # (eg FreeBSD returns the mod time of the symlink's containing
2406 # directory).
2407 if (
2408 am_has_slept=no
2409 for am_try in 1 2; do
2410 echo "timestamp, slept: $am_has_slept" > conftest.file
2411 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2412 if test "$*" = "X"; then
2413 # -L didn't work.
2414 set X `ls -t "$srcdir/configure" conftest.file`
2415 fi
2416 if test "$*" != "X $srcdir/configure conftest.file" \
2417 && test "$*" != "X conftest.file $srcdir/configure"; then
2418
2419 # If neither matched, then we have a broken ls. This can happen
2420 # if, for instance, CONFIG_SHELL is bash and it inherits a
2421 # broken ls alias from the environment. This has actually
2422 # happened. Such a system could not be considered "sane".
2423 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2424 alias in your environment" "$LINENO" 5
2425 fi
2426 if test "$2" = conftest.file || test $am_try -eq 2; then
2427 break
2428 fi
2429 # Just in case.
2430 sleep 1
2431 am_has_slept=yes
2432 done
2433 test "$2" = conftest.file
2434 )
2435 then
2436 # Ok.
2437 :
2438 else
2439 as_fn_error $? "newly created file is older than distributed files!
2440 Check your system clock" "$LINENO" 5
2441 fi
2442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2443 printf "%s\n" "yes" >&6; }
2444 # If we didn't sleep, we still need to ensure time stamps of config.status and
2445 # generated files are strictly newer.
2446 am_sleep_pid=
2447 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2448 ( sleep 1 ) &
2449 am_sleep_pid=$!
2450 fi
2451
2452 rm -f conftest.file
2453
2454 test "$program_prefix" != NONE &&
2455 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2456 # Use a double $ so make ignores it.
2457 test "$program_suffix" != NONE &&
2458 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2459 # Double any \ or $.
2460 # By default was `s,x,x', remove it if useless.
2461 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2462 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2463
2464
2465 # Expand $ac_aux_dir to an absolute path.
2466 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2467
2468
2469 if test x"${MISSING+set}" != xset; then
2470 MISSING="\${SHELL} '$am_aux_dir/missing'"
2471 fi
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --is-lightweight"; then
2474 am_missing_run="$MISSING "
2475 else
2476 am_missing_run=
2477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2478 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2479 fi
2480
2481 if test x"${install_sh+set}" != xset; then
2482 case $am_aux_dir in
2483 *\ * | *\ *)
2484 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2485 *)
2486 install_sh="\${SHELL} $am_aux_dir/install-sh"
2487 esac
2488 fi
2489
2490 # Installed binaries are usually stripped using 'strip' when the user
2491 # run "make install-strip". However 'strip' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the 'STRIP' environment variable to overrule this program.
2494 if test "$cross_compiling" != no; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}strip; ac_word=$2
2498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 printf %s "checking for $ac_word... " >&6; }
2500 if test ${ac_cv_prog_STRIP+y}
2501 then :
2502 printf %s "(cached) " >&6
2503 else $as_nop
2504 if test -n "$STRIP"; then
2505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506 else
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 for as_dir in $PATH
2509 do
2510 IFS=$as_save_IFS
2511 case $as_dir in #(((
2512 '') as_dir=./ ;;
2513 */) ;;
2514 *) as_dir=$as_dir/ ;;
2515 esac
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2520 break 2
2521 fi
2522 done
2523 done
2524 IFS=$as_save_IFS
2525
2526 fi
2527 fi
2528 STRIP=$ac_cv_prog_STRIP
2529 if test -n "$STRIP"; then
2530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2531 printf "%s\n" "$STRIP" >&6; }
2532 else
2533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 printf "%s\n" "no" >&6; }
2535 fi
2536
2537
2538 fi
2539 if test -z "$ac_cv_prog_STRIP"; then
2540 ac_ct_STRIP=$STRIP
2541 # Extract the first word of "strip", so it can be a program name with args.
2542 set dummy strip; ac_word=$2
2543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 printf %s "checking for $ac_word... " >&6; }
2545 if test ${ac_cv_prog_ac_ct_STRIP+y}
2546 then :
2547 printf %s "(cached) " >&6
2548 else $as_nop
2549 if test -n "$ac_ct_STRIP"; then
2550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2551 else
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 for as_dir in $PATH
2554 do
2555 IFS=$as_save_IFS
2556 case $as_dir in #(((
2557 '') as_dir=./ ;;
2558 */) ;;
2559 *) as_dir=$as_dir/ ;;
2560 esac
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_ac_ct_STRIP="strip"
2564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2565 break 2
2566 fi
2567 done
2568 done
2569 IFS=$as_save_IFS
2570
2571 fi
2572 fi
2573 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2574 if test -n "$ac_ct_STRIP"; then
2575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2576 printf "%s\n" "$ac_ct_STRIP" >&6; }
2577 else
2578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 printf "%s\n" "no" >&6; }
2580 fi
2581
2582 if test "x$ac_ct_STRIP" = x; then
2583 STRIP=":"
2584 else
2585 case $cross_compiling:$ac_tool_warned in
2586 yes:)
2587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2588 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2589 ac_tool_warned=yes ;;
2590 esac
2591 STRIP=$ac_ct_STRIP
2592 fi
2593 else
2594 STRIP="$ac_cv_prog_STRIP"
2595 fi
2596
2597 fi
2598 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2599
2600
2601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2602 printf %s "checking for a race-free mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604 if test ${ac_cv_path_mkdir+y}
2605 then :
2606 printf %s "(cached) " >&6
2607 else $as_nop
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2610 do
2611 IFS=$as_save_IFS
2612 case $as_dir in #(((
2613 '') as_dir=./ ;;
2614 */) ;;
2615 *) as_dir=$as_dir/ ;;
2616 esac
2617 for ac_prog in mkdir gmkdir; do
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2620 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2621 'mkdir ('*'coreutils) '* | \
2622 'BusyBox '* | \
2623 'mkdir (fileutils) '4.1*)
2624 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2625 break 3;;
2626 esac
2627 done
2628 done
2629 done
2630 IFS=$as_save_IFS
2631
2632 fi
2633
2634 test -d ./--version && rmdir ./--version
2635 if test ${ac_cv_path_mkdir+y}; then
2636 MKDIR_P="$ac_cv_path_mkdir -p"
2637 else
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for MKDIR_P within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 MKDIR_P="$ac_install_sh -d"
2643 fi
2644 fi
2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2646 printf "%s\n" "$MKDIR_P" >&6; }
2647
2648 for ac_prog in gawk mawk nawk awk
2649 do
2650 # Extract the first word of "$ac_prog", so it can be a program name with args.
2651 set dummy $ac_prog; ac_word=$2
2652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 printf %s "checking for $ac_word... " >&6; }
2654 if test ${ac_cv_prog_AWK+y}
2655 then :
2656 printf %s "(cached) " >&6
2657 else $as_nop
2658 if test -n "$AWK"; then
2659 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2660 else
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2663 do
2664 IFS=$as_save_IFS
2665 case $as_dir in #(((
2666 '') as_dir=./ ;;
2667 */) ;;
2668 *) as_dir=$as_dir/ ;;
2669 esac
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2672 ac_cv_prog_AWK="$ac_prog"
2673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2674 break 2
2675 fi
2676 done
2677 done
2678 IFS=$as_save_IFS
2679
2680 fi
2681 fi
2682 AWK=$ac_cv_prog_AWK
2683 if test -n "$AWK"; then
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2685 printf "%s\n" "$AWK" >&6; }
2686 else
2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 printf "%s\n" "no" >&6; }
2689 fi
2690
2691
2692 test -n "$AWK" && break
2693 done
2694
2695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2696 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2697 set x ${MAKE-make}
2698 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2699 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2700 then :
2701 printf %s "(cached) " >&6
2702 else $as_nop
2703 cat >conftest.make <<\_ACEOF
2704 SHELL = /bin/sh
2705 all:
2706 @echo '@@@%%%=$(MAKE)=@@@%%%'
2707 _ACEOF
2708 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2709 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2710 *@@@%%%=?*=@@@%%%*)
2711 eval ac_cv_prog_make_${ac_make}_set=yes;;
2712 *)
2713 eval ac_cv_prog_make_${ac_make}_set=no;;
2714 esac
2715 rm -f conftest.make
2716 fi
2717 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2719 printf "%s\n" "yes" >&6; }
2720 SET_MAKE=
2721 else
2722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 printf "%s\n" "no" >&6; }
2724 SET_MAKE="MAKE=${MAKE-make}"
2725 fi
2726
2727 rm -rf .tst 2>/dev/null
2728 mkdir .tst 2>/dev/null
2729 if test -d .tst; then
2730 am__leading_dot=.
2731 else
2732 am__leading_dot=_
2733 fi
2734 rmdir .tst 2>/dev/null
2735
2736 # Check whether --enable-silent-rules was given.
2737 if test ${enable_silent_rules+y}
2738 then :
2739 enableval=$enable_silent_rules;
2740 fi
2741
2742 case $enable_silent_rules in # (((
2743 yes) AM_DEFAULT_VERBOSITY=0;;
2744 no) AM_DEFAULT_VERBOSITY=1;;
2745 *) AM_DEFAULT_VERBOSITY=1;;
2746 esac
2747 am_make=${MAKE-make}
2748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2749 printf %s "checking whether $am_make supports nested variables... " >&6; }
2750 if test ${am_cv_make_support_nested_variables+y}
2751 then :
2752 printf %s "(cached) " >&6
2753 else $as_nop
2754 if printf "%s\n" 'TRUE=$(BAR$(V))
2755 BAR0=false
2756 BAR1=true
2757 V=1
2758 am__doit:
2759 @$(TRUE)
2760 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2761 am_cv_make_support_nested_variables=yes
2762 else
2763 am_cv_make_support_nested_variables=no
2764 fi
2765 fi
2766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2767 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2768 if test $am_cv_make_support_nested_variables = yes; then
2769 AM_V='$(V)'
2770 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2771 else
2772 AM_V=$AM_DEFAULT_VERBOSITY
2773 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2774 fi
2775 AM_BACKSLASH='\'
2776
2777 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2778 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2779 # is not polluted with repeated "-I."
2780 am__isrc=' -I$(srcdir)'
2781 # test to see if srcdir already configured
2782 if test -f $srcdir/config.status; then
2783 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2784 fi
2785 fi
2786
2787 # test whether we have cygpath
2788 if test -z "$CYGPATH_W"; then
2789 if (cygpath --version) >/dev/null 2>/dev/null; then
2790 CYGPATH_W='cygpath -w'
2791 else
2792 CYGPATH_W=echo
2793 fi
2794 fi
2795
2796
2797 # Define the identity of the package.
2798 PACKAGE='consolation'
2799 VERSION='0.0.10'
2800
2801
2802 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2803
2804
2805 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2806
2807 # Some tools Automake needs.
2808
2809 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2810
2811
2812 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2813
2814
2815 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2816
2817
2818 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2819
2820
2821 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2822
2823 # For better backward compatibility. To be removed once Automake 1.9.x
2824 # dies out for good. For more background, see:
2825 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2826 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2827 mkdir_p='$(MKDIR_P)'
2828
2829 # We need awk for the "check" target (and possibly the TAP driver). The
2830 # system "awk" is bad on some platforms.
2831 # Always define AMTAR for backward compatibility. Yes, it's still used
2832 # in the wild :-( We should find a proper way to deprecate it ...
2833 AMTAR='$${TAR-tar}'
2834
2835
2836 # We'll loop over all known methods to create a tar archive until one works.
2837 _am_tools='gnutar pax cpio none'
2838
2839 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2840
2841
2842
2843
2844
2845 # Variables for tags utilities; see am/tags.am
2846 if test -z "$CTAGS"; then
2847 CTAGS=ctags
2848 fi
2849
2850 if test -z "$ETAGS"; then
2851 ETAGS=etags
2852 fi
2853
2854 if test -z "$CSCOPE"; then
2855 CSCOPE=cscope
2856 fi
2857
2858
2859
2860 # POSIX will say in a future version that running "rm -f" with no argument
2861 # is OK; and we want to be able to make that assumption in our Makefile
2862 # recipes. So use an aggressive probe to check that the usage we want is
2863 # actually supported "in the wild" to an acceptable degree.
2864 # See automake bug#10828.
2865 # To make any issue more visible, cause the running configure to be aborted
2866 # by default if the 'rm' program in use doesn't match our expectations; the
2867 # user can still override this though.
2868 if rm -f && rm -fr && rm -rf; then : OK; else
2869 cat >&2 <<'END'
2870 Oops!
2871
2872 Your 'rm' program seems unable to run without file operands specified
2873 on the command line, even when the '-f' option is present. This is contrary
2874 to the behaviour of most rm programs out there, and not conforming with
2875 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2876
2877 Please tell [email protected] about your system, including the value
2878 of your $PATH and any error possibly output before this message. This
2879 can help us improve future automake versions.
2880
2881 END
2882 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2883 echo 'Configuration will proceed anyway, since you have set the' >&2
2884 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2885 echo >&2
2886 else
2887 cat >&2 <<'END'
2888 Aborting the configuration process, to ensure you take notice of the issue.
2889
2890 You can download and install GNU coreutils to get an 'rm' implementation
2891 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2892
2893 If you want to complete the configuration process using your problematic
2894 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2895 to "yes", and re-run configure.
2896
2897 END
2898 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2899 fi
2900 fi
2901
2902 ac_config_headers="$ac_config_headers src/config.h"
2903
2904
2905 # Check for programs
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915 ac_ext=c
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920 if test -n "$ac_tool_prefix"; then
2921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 printf %s "checking for $ac_word... " >&6; }
2925 if test ${ac_cv_prog_CC+y}
2926 then :
2927 printf %s "(cached) " >&6
2928 else $as_nop
2929 if test -n "$CC"; then
2930 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 else
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 for as_dir in $PATH
2934 do
2935 IFS=$as_save_IFS
2936 case $as_dir in #(((
2937 '') as_dir=./ ;;
2938 */) ;;
2939 *) as_dir=$as_dir/ ;;
2940 esac
2941 for ac_exec_ext in '' $ac_executable_extensions; do
2942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2945 break 2
2946 fi
2947 done
2948 done
2949 IFS=$as_save_IFS
2950
2951 fi
2952 fi
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 printf "%s\n" "$CC" >&6; }
2957 else
2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 printf "%s\n" "no" >&6; }
2960 fi
2961
2962
2963 fi
2964 if test -z "$ac_cv_prog_CC"; then
2965 ac_ct_CC=$CC
2966 # Extract the first word of "gcc", so it can be a program name with args.
2967 set dummy gcc; ac_word=$2
2968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 printf %s "checking for $ac_word... " >&6; }
2970 if test ${ac_cv_prog_ac_ct_CC+y}
2971 then :
2972 printf %s "(cached) " >&6
2973 else $as_nop
2974 if test -n "$ac_ct_CC"; then
2975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2976 else
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2979 do
2980 IFS=$as_save_IFS
2981 case $as_dir in #(((
2982 '') as_dir=./ ;;
2983 */) ;;
2984 *) as_dir=$as_dir/ ;;
2985 esac
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_CC="gcc"
2989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2990 break 2
2991 fi
2992 done
2993 done
2994 IFS=$as_save_IFS
2995
2996 fi
2997 fi
2998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2999 if test -n "$ac_ct_CC"; then
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3001 printf "%s\n" "$ac_ct_CC" >&6; }
3002 else
3003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 printf "%s\n" "no" >&6; }
3005 fi
3006
3007 if test "x$ac_ct_CC" = x; then
3008 CC=""
3009 else
3010 case $cross_compiling:$ac_tool_warned in
3011 yes:)
3012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned=yes ;;
3015 esac
3016 CC=$ac_ct_CC
3017 fi
3018 else
3019 CC="$ac_cv_prog_CC"
3020 fi
3021
3022 if test -z "$CC"; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3025 set dummy ${ac_tool_prefix}cc; ac_word=$2
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 printf %s "checking for $ac_word... " >&6; }
3028 if test ${ac_cv_prog_CC+y}
3029 then :
3030 printf %s "(cached) " >&6
3031 else $as_nop
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC="$CC" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038 IFS=$as_save_IFS
3039 case $as_dir in #(((
3040 '') as_dir=./ ;;
3041 */) ;;
3042 *) as_dir=$as_dir/ ;;
3043 esac
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="${ac_tool_prefix}cc"
3047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3048 break 2
3049 fi
3050 done
3051 done
3052 IFS=$as_save_IFS
3053
3054 fi
3055 fi
3056 CC=$ac_cv_prog_CC
3057 if test -n "$CC"; then
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 printf "%s\n" "$CC" >&6; }
3060 else
3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 printf "%s\n" "no" >&6; }
3063 fi
3064
3065
3066 fi
3067 fi
3068 if test -z "$CC"; then
3069 # Extract the first word of "cc", so it can be a program name with args.
3070 set dummy cc; ac_word=$2
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 printf %s "checking for $ac_word... " >&6; }
3073 if test ${ac_cv_prog_CC+y}
3074 then :
3075 printf %s "(cached) " >&6
3076 else $as_nop
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3079 else
3080 ac_prog_rejected=no
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084 IFS=$as_save_IFS
3085 case $as_dir in #(((
3086 '') as_dir=./ ;;
3087 */) ;;
3088 *) as_dir=$as_dir/ ;;
3089 esac
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3092 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3093 ac_prog_rejected=yes
3094 continue
3095 fi
3096 ac_cv_prog_CC="cc"
3097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3098 break 2
3099 fi
3100 done
3101 done
3102 IFS=$as_save_IFS
3103
3104 if test $ac_prog_rejected = yes; then
3105 # We found a bogon in the path, so make sure we never use it.
3106 set dummy $ac_cv_prog_CC
3107 shift
3108 if test $# != 0; then
3109 # We chose a different compiler from the bogus one.
3110 # However, it has the same basename, so the bogon will be chosen
3111 # first if we set CC to just the basename; use the full file name.
3112 shift
3113 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3114 fi
3115 fi
3116 fi
3117 fi
3118 CC=$ac_cv_prog_CC
3119 if test -n "$CC"; then
3120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3121 printf "%s\n" "$CC" >&6; }
3122 else
3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 printf "%s\n" "no" >&6; }
3125 fi
3126
3127
3128 fi
3129 if test -z "$CC"; then
3130 if test -n "$ac_tool_prefix"; then
3131 for ac_prog in cl.exe
3132 do
3133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 printf %s "checking for $ac_word... " >&6; }
3137 if test ${ac_cv_prog_CC+y}
3138 then :
3139 printf %s "(cached) " >&6
3140 else $as_nop
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3143 else
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147 IFS=$as_save_IFS
3148 case $as_dir in #(((
3149 '') as_dir=./ ;;
3150 */) ;;
3151 *) as_dir=$as_dir/ ;;
3152 esac
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3157 break 2
3158 fi
3159 done
3160 done
3161 IFS=$as_save_IFS
3162
3163 fi
3164 fi
3165 CC=$ac_cv_prog_CC
3166 if test -n "$CC"; then
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168 printf "%s\n" "$CC" >&6; }
3169 else
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 printf "%s\n" "no" >&6; }
3172 fi
3173
3174
3175 test -n "$CC" && break
3176 done
3177 fi
3178 if test -z "$CC"; then
3179 ac_ct_CC=$CC
3180 for ac_prog in cl.exe
3181 do
3182 # Extract the first word of "$ac_prog", so it can be a program name with args.
3183 set dummy $ac_prog; ac_word=$2
3184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 printf %s "checking for $ac_word... " >&6; }
3186 if test ${ac_cv_prog_ac_ct_CC+y}
3187 then :
3188 printf %s "(cached) " >&6
3189 else $as_nop
3190 if test -n "$ac_ct_CC"; then
3191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3195 do
3196 IFS=$as_save_IFS
3197 case $as_dir in #(((
3198 '') as_dir=./ ;;
3199 */) ;;
3200 *) as_dir=$as_dir/ ;;
3201 esac
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_ac_ct_CC="$ac_prog"
3205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3206 break 2
3207 fi
3208 done
3209 done
3210 IFS=$as_save_IFS
3211
3212 fi
3213 fi
3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217 printf "%s\n" "$ac_ct_CC" >&6; }
3218 else
3219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 printf "%s\n" "no" >&6; }
3221 fi
3222
3223
3224 test -n "$ac_ct_CC" && break
3225 done
3226
3227 if test "x$ac_ct_CC" = x; then
3228 CC=""
3229 else
3230 case $cross_compiling:$ac_tool_warned in
3231 yes:)
3232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned=yes ;;
3235 esac
3236 CC=$ac_ct_CC
3237 fi
3238 fi
3239
3240 fi
3241 if test -z "$CC"; then
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}clang; ac_word=$2
3245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 printf %s "checking for $ac_word... " >&6; }
3247 if test ${ac_cv_prog_CC+y}
3248 then :
3249 printf %s "(cached) " >&6
3250 else $as_nop
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC="$CC" # Let the user override the test.
3253 else
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255 for as_dir in $PATH
3256 do
3257 IFS=$as_save_IFS
3258 case $as_dir in #(((
3259 '') as_dir=./ ;;
3260 */) ;;
3261 *) as_dir=$as_dir/ ;;
3262 esac
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_CC="${ac_tool_prefix}clang"
3266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3267 break 2
3268 fi
3269 done
3270 done
3271 IFS=$as_save_IFS
3272
3273 fi
3274 fi
3275 CC=$ac_cv_prog_CC
3276 if test -n "$CC"; then
3277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 printf "%s\n" "$CC" >&6; }
3279 else
3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 printf "%s\n" "no" >&6; }
3282 fi
3283
3284
3285 fi
3286 if test -z "$ac_cv_prog_CC"; then
3287 ac_ct_CC=$CC
3288 # Extract the first word of "clang", so it can be a program name with args.
3289 set dummy clang; ac_word=$2
3290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 printf %s "checking for $ac_word... " >&6; }
3292 if test ${ac_cv_prog_ac_ct_CC+y}
3293 then :
3294 printf %s "(cached) " >&6
3295 else $as_nop
3296 if test -n "$ac_ct_CC"; then
3297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302 IFS=$as_save_IFS
3303 case $as_dir in #(((
3304 '') as_dir=./ ;;
3305 */) ;;
3306 *) as_dir=$as_dir/ ;;
3307 esac
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3310 ac_cv_prog_ac_ct_CC="clang"
3311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3312 break 2
3313 fi
3314 done
3315 done
3316 IFS=$as_save_IFS
3317
3318 fi
3319 fi
3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3323 printf "%s\n" "$ac_ct_CC" >&6; }
3324 else
3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 printf "%s\n" "no" >&6; }
3327 fi
3328
3329 if test "x$ac_ct_CC" = x; then
3330 CC=""
3331 else
3332 case $cross_compiling:$ac_tool_warned in
3333 yes:)
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336 ac_tool_warned=yes ;;
3337 esac
3338 CC=$ac_ct_CC
3339 fi
3340 else
3341 CC="$ac_cv_prog_CC"
3342 fi
3343
3344 fi
3345
3346
3347 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $? "no acceptable C compiler found in \$PATH
3350 See \`config.log' for more details" "$LINENO" 5; }
3351
3352 # Provide some information about the compiler.
3353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3354 set X $ac_compile
3355 ac_compiler=$2
3356 for ac_option in --version -v -V -qversion -version; do
3357 { { ac_try="$ac_compiler $ac_option >&5"
3358 case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361 esac
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 printf "%s\n" "$ac_try_echo"; } >&5
3364 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3365 ac_status=$?
3366 if test -s conftest.err; then
3367 sed '10a\
3368 ... rest of stderr output deleted ...
3369 10q' conftest.err >conftest.er1
3370 cat conftest.er1 >&5
3371 fi
3372 rm -f conftest.er1 conftest.err
3373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }
3375 done
3376
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3379
3380 int
3381 main (void)
3382 {
3383
3384 ;
3385 return 0;
3386 }
3387 _ACEOF
3388 ac_clean_files_save=$ac_clean_files
3389 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3390 # Try to create an executable without -o first, disregard a.out.
3391 # It will help us diagnose broken compilers, and finding out an intuition
3392 # of exeext.
3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3394 printf %s "checking whether the C compiler works... " >&6; }
3395 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3396
3397 # The possible output files:
3398 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3399
3400 ac_rmfiles=
3401 for ac_file in $ac_files
3402 do
3403 case $ac_file in
3404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3406 esac
3407 done
3408 rm -f $ac_rmfiles
3409
3410 if { { ac_try="$ac_link_default"
3411 case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414 esac
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 printf "%s\n" "$ac_try_echo"; } >&5
3417 (eval "$ac_link_default") 2>&5
3418 ac_status=$?
3419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }
3421 then :
3422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3425 # so that the user can short-circuit this test for compilers unknown to
3426 # Autoconf.
3427 for ac_file in $ac_files ''
3428 do
3429 test -f "$ac_file" || continue
3430 case $ac_file in
3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3432 ;;
3433 [ab].out )
3434 # We found the default executable, but exeext='' is most
3435 # certainly right.
3436 break;;
3437 *.* )
3438 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3439 then :; else
3440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441 fi
3442 # We set ac_cv_exeext here because the later test for it is not
3443 # safe: cross compilers may not add the suffix if given an `-o'
3444 # argument, so we may need to know it at that point already.
3445 # Even if this section looks crufty: it has the advantage of
3446 # actually working.
3447 break;;
3448 * )
3449 break;;
3450 esac
3451 done
3452 test "$ac_cv_exeext" = no && ac_cv_exeext=
3453
3454 else $as_nop
3455 ac_file=''
3456 fi
3457 if test -z "$ac_file"
3458 then :
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 printf "%s\n" "no" >&6; }
3461 printf "%s\n" "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3468 else $as_nop
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 printf "%s\n" "yes" >&6; }
3471 fi
3472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473 printf %s "checking for C compiler default output file name... " >&6; }
3474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 printf "%s\n" "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3477
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 printf %s "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 printf "%s\n" "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3490 ac_status=$?
3491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }
3493 then :
3494 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3495 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3496 # work properly (i.e., refer to `conftest.exe'), while it won't with
3497 # `rm'.
3498 for ac_file in conftest.exe conftest conftest.*; do
3499 test -f "$ac_file" || continue
3500 case $ac_file in
3501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3502 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3503 break;;
3504 * ) break;;
3505 esac
3506 done
3507 else $as_nop
3508 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3511 See \`config.log' for more details" "$LINENO" 5; }
3512 fi
3513 rm -f conftest conftest$ac_cv_exeext
3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3515 printf "%s\n" "$ac_cv_exeext" >&6; }
3516
3517 rm -f conftest.$ac_ext
3518 EXEEXT=$ac_cv_exeext
3519 ac_exeext=$EXEEXT
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3522 #include <stdio.h>
3523 int
3524 main (void)
3525 {
3526 FILE *f = fopen ("conftest.out", "w");
3527 return ferror (f) || fclose (f) != 0;
3528
3529 ;
3530 return 0;
3531 }
3532 _ACEOF
3533 ac_clean_files="$ac_clean_files conftest.out"
3534 # Check that the compiler produces executables we can run. If not, either
3535 # the compiler is broken, or we cross compile.
3536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3537 printf %s "checking whether we are cross compiling... " >&6; }
3538 if test "$cross_compiling" != yes; then
3539 { { ac_try="$ac_link"
3540 case "(($ac_try" in
3541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542 *) ac_try_echo=$ac_try;;
3543 esac
3544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 printf "%s\n" "$ac_try_echo"; } >&5
3546 (eval "$ac_link") 2>&5
3547 ac_status=$?
3548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549 test $ac_status = 0; }
3550 if { ac_try='./conftest$ac_cv_exeext'
3551 { { case "(($ac_try" in
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;;
3554 esac
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 printf "%s\n" "$ac_try_echo"; } >&5
3557 (eval "$ac_try") 2>&5
3558 ac_status=$?
3559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }; }; then
3561 cross_compiling=no
3562 else
3563 if test "$cross_compiling" = maybe; then
3564 cross_compiling=yes
3565 else
3566 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error 77 "cannot run C compiled programs.
3569 If you meant to cross compile, use \`--host'.
3570 See \`config.log' for more details" "$LINENO" 5; }
3571 fi
3572 fi
3573 fi
3574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3575 printf "%s\n" "$cross_compiling" >&6; }
3576
3577 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3578 ac_clean_files=$ac_clean_files_save
3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3580 printf %s "checking for suffix of object files... " >&6; }
3581 if test ${ac_cv_objext+y}
3582 then :
3583 printf %s "(cached) " >&6
3584 else $as_nop
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3587
3588 int
3589 main (void)
3590 {
3591
3592 ;
3593 return 0;
3594 }
3595 _ACEOF
3596 rm -f conftest.o conftest.obj
3597 if { { ac_try="$ac_compile"
3598 case "(($ac_try" in
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3601 esac
3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 printf "%s\n" "$ac_try_echo"; } >&5
3604 (eval "$ac_compile") 2>&5
3605 ac_status=$?
3606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }
3608 then :
3609 for ac_file in conftest.o conftest.obj conftest.*; do
3610 test -f "$ac_file" || continue;
3611 case $ac_file in
3612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3613 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3614 break;;
3615 esac
3616 done
3617 else $as_nop
3618 printf "%s\n" "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3622 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3623 as_fn_error $? "cannot compute suffix of object files: cannot compile
3624 See \`config.log' for more details" "$LINENO" 5; }
3625 fi
3626 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3627 fi
3628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3629 printf "%s\n" "$ac_cv_objext" >&6; }
3630 OBJEXT=$ac_cv_objext
3631 ac_objext=$OBJEXT
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3633 printf %s "checking whether the compiler supports GNU C... " >&6; }
3634 if test ${ac_cv_c_compiler_gnu+y}
3635 then :
3636 printf %s "(cached) " >&6
3637 else $as_nop
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640
3641 int
3642 main (void)
3643 {
3644 #ifndef __GNUC__
3645 choke me
3646 #endif
3647
3648 ;
3649 return 0;
3650 }
3651 _ACEOF
3652 if ac_fn_c_try_compile "$LINENO"
3653 then :
3654 ac_compiler_gnu=yes
3655 else $as_nop
3656 ac_compiler_gnu=no
3657 fi
3658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3660
3661 fi
3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3663 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665
3666 if test $ac_compiler_gnu = yes; then
3667 GCC=yes
3668 else
3669 GCC=
3670 fi
3671 ac_test_CFLAGS=${CFLAGS+y}
3672 ac_save_CFLAGS=$CFLAGS
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3674 printf %s "checking whether $CC accepts -g... " >&6; }
3675 if test ${ac_cv_prog_cc_g+y}
3676 then :
3677 printf %s "(cached) " >&6
3678 else $as_nop
3679 ac_save_c_werror_flag=$ac_c_werror_flag
3680 ac_c_werror_flag=yes
3681 ac_cv_prog_cc_g=no
3682 CFLAGS="-g"
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3685
3686 int
3687 main (void)
3688 {
3689
3690 ;
3691 return 0;
3692 }
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"
3695 then :
3696 ac_cv_prog_cc_g=yes
3697 else $as_nop
3698 CFLAGS=""
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3701
3702 int
3703 main (void)
3704 {
3705
3706 ;
3707 return 0;
3708 }
3709 _ACEOF
3710 if ac_fn_c_try_compile "$LINENO"
3711 then :
3712
3713 else $as_nop
3714 ac_c_werror_flag=$ac_save_c_werror_flag
3715 CFLAGS="-g"
3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3718
3719 int
3720 main (void)
3721 {
3722
3723 ;
3724 return 0;
3725 }
3726 _ACEOF
3727 if ac_fn_c_try_compile "$LINENO"
3728 then :
3729 ac_cv_prog_cc_g=yes
3730 fi
3731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3732 fi
3733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3734 fi
3735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3736 ac_c_werror_flag=$ac_save_c_werror_flag
3737 fi
3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3740 if test $ac_test_CFLAGS; then
3741 CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743 if test "$GCC" = yes; then
3744 CFLAGS="-g -O2"
3745 else
3746 CFLAGS="-g"
3747 fi
3748 else
3749 if test "$GCC" = yes; then
3750 CFLAGS="-O2"
3751 else
3752 CFLAGS=
3753 fi
3754 fi
3755 ac_prog_cc_stdc=no
3756 if test x$ac_prog_cc_stdc = xno
3757 then :
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3759 printf %s "checking for $CC option to enable C11 features... " >&6; }
3760 if test ${ac_cv_prog_cc_c11+y}
3761 then :
3762 printf %s "(cached) " >&6
3763 else $as_nop
3764 ac_cv_prog_cc_c11=no
3765 ac_save_CC=$CC
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3768 $ac_c_conftest_c11_program
3769 _ACEOF
3770 for ac_arg in '' -std=gnu11
3771 do
3772 CC="$ac_save_CC $ac_arg"
3773 if ac_fn_c_try_compile "$LINENO"
3774 then :
3775 ac_cv_prog_cc_c11=$ac_arg
3776 fi
3777 rm -f core conftest.err conftest.$ac_objext conftest.beam
3778 test "x$ac_cv_prog_cc_c11" != "xno" && break
3779 done
3780 rm -f conftest.$ac_ext
3781 CC=$ac_save_CC
3782 fi
3783
3784 if test "x$ac_cv_prog_cc_c11" = xno
3785 then :
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3787 printf "%s\n" "unsupported" >&6; }
3788 else $as_nop
3789 if test "x$ac_cv_prog_cc_c11" = x
3790 then :
3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792 printf "%s\n" "none needed" >&6; }
3793 else $as_nop
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3795 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3796 CC="$CC $ac_cv_prog_cc_c11"
3797 fi
3798 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3799 ac_prog_cc_stdc=c11
3800 fi
3801 fi
3802 if test x$ac_prog_cc_stdc = xno
3803 then :
3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3805 printf %s "checking for $CC option to enable C99 features... " >&6; }
3806 if test ${ac_cv_prog_cc_c99+y}
3807 then :
3808 printf %s "(cached) " >&6
3809 else $as_nop
3810 ac_cv_prog_cc_c99=no
3811 ac_save_CC=$CC
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3814 $ac_c_conftest_c99_program
3815 _ACEOF
3816 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3817 do
3818 CC="$ac_save_CC $ac_arg"
3819 if ac_fn_c_try_compile "$LINENO"
3820 then :
3821 ac_cv_prog_cc_c99=$ac_arg
3822 fi
3823 rm -f core conftest.err conftest.$ac_objext conftest.beam
3824 test "x$ac_cv_prog_cc_c99" != "xno" && break
3825 done
3826 rm -f conftest.$ac_ext
3827 CC=$ac_save_CC
3828 fi
3829
3830 if test "x$ac_cv_prog_cc_c99" = xno
3831 then :
3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3833 printf "%s\n" "unsupported" >&6; }
3834 else $as_nop
3835 if test "x$ac_cv_prog_cc_c99" = x
3836 then :
3837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3838 printf "%s\n" "none needed" >&6; }
3839 else $as_nop
3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3841 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3842 CC="$CC $ac_cv_prog_cc_c99"
3843 fi
3844 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3845 ac_prog_cc_stdc=c99
3846 fi
3847 fi
3848 if test x$ac_prog_cc_stdc = xno
3849 then :
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3851 printf %s "checking for $CC option to enable C89 features... " >&6; }
3852 if test ${ac_cv_prog_cc_c89+y}
3853 then :
3854 printf %s "(cached) " >&6
3855 else $as_nop
3856 ac_cv_prog_cc_c89=no
3857 ac_save_CC=$CC
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3860 $ac_c_conftest_c89_program
3861 _ACEOF
3862 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3863 do
3864 CC="$ac_save_CC $ac_arg"
3865 if ac_fn_c_try_compile "$LINENO"
3866 then :
3867 ac_cv_prog_cc_c89=$ac_arg
3868 fi
3869 rm -f core conftest.err conftest.$ac_objext conftest.beam
3870 test "x$ac_cv_prog_cc_c89" != "xno" && break
3871 done
3872 rm -f conftest.$ac_ext
3873 CC=$ac_save_CC
3874 fi
3875
3876 if test "x$ac_cv_prog_cc_c89" = xno
3877 then :
3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3879 printf "%s\n" "unsupported" >&6; }
3880 else $as_nop
3881 if test "x$ac_cv_prog_cc_c89" = x
3882 then :
3883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3884 printf "%s\n" "none needed" >&6; }
3885 else $as_nop
3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3887 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3888 CC="$CC $ac_cv_prog_cc_c89"
3889 fi
3890 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3891 ac_prog_cc_stdc=c89
3892 fi
3893 fi
3894
3895 ac_ext=c
3896 ac_cpp='$CPP $CPPFLAGS'
3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900
3901
3902 ac_ext=c
3903 ac_cpp='$CPP $CPPFLAGS'
3904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3908 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3909 if test ${am_cv_prog_cc_c_o+y}
3910 then :
3911 printf %s "(cached) " >&6
3912 else $as_nop
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3915
3916 int
3917 main (void)
3918 {
3919
3920 ;
3921 return 0;
3922 }
3923 _ACEOF
3924 # Make sure it works both with $CC and with simple cc.
3925 # Following AC_PROG_CC_C_O, we do the test twice because some
3926 # compilers refuse to overwrite an existing .o file with -o,
3927 # though they will create one.
3928 am_cv_prog_cc_c_o=yes
3929 for am_i in 1 2; do
3930 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3931 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3932 ac_status=$?
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } \
3935 && test -f conftest2.$ac_objext; then
3936 : OK
3937 else
3938 am_cv_prog_cc_c_o=no
3939 break
3940 fi
3941 done
3942 rm -f core conftest*
3943 unset am_i
3944 fi
3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3946 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3947 if test "$am_cv_prog_cc_c_o" != yes; then
3948 # Losing compiler, so override with the script.
3949 # FIXME: It is wrong to rewrite CC.
3950 # But if we don't then we get into trouble of one sort or another.
3951 # A longer-term fix would be to have automake use am__CC in this case,
3952 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3953 CC="$am_aux_dir/compile $CC"
3954 fi
3955 ac_ext=c
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960
3961 DEPDIR="${am__leading_dot}deps"
3962
3963 ac_config_commands="$ac_config_commands depfiles"
3964
3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3966 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3967 cat > confinc.mk << 'END'
3968 am__doit:
3969 @echo this is the am__doit target >confinc.out
3970 .PHONY: am__doit
3971 END
3972 am__include="#"
3973 am__quote=
3974 # BSD make does it like this.
3975 echo '.include "confinc.mk" # ignored' > confmf.BSD
3976 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3977 echo 'include confinc.mk # ignored' > confmf.GNU
3978 _am_result=no
3979 for s in GNU BSD; do
3980 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3981 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3982 ac_status=$?
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }
3985 case $?:`cat confinc.out 2>/dev/null` in #(
3986 '0:this is the am__doit target') :
3987 case $s in #(
3988 BSD) :
3989 am__include='.include' am__quote='"' ;; #(
3990 *) :
3991 am__include='include' am__quote='' ;;
3992 esac ;; #(
3993 *) :
3994 ;;
3995 esac
3996 if test "$am__include" != "#"; then
3997 _am_result="yes ($s style)"
3998 break
3999 fi
4000 done
4001 rm -f confinc.* confmf.*
4002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4003 printf "%s\n" "${_am_result}" >&6; }
4004
4005 # Check whether --enable-dependency-tracking was given.
4006 if test ${enable_dependency_tracking+y}
4007 then :
4008 enableval=$enable_dependency_tracking;
4009 fi
4010
4011 if test "x$enable_dependency_tracking" != xno; then
4012 am_depcomp="$ac_aux_dir/depcomp"
4013 AMDEPBACKSLASH='\'
4014 am__nodep='_no'
4015 fi
4016 if test "x$enable_dependency_tracking" != xno; then
4017 AMDEP_TRUE=
4018 AMDEP_FALSE='#'
4019 else
4020 AMDEP_TRUE='#'
4021 AMDEP_FALSE=
4022 fi
4023
4024
4025
4026 depcc="$CC" am_compiler_list=
4027
4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4029 printf %s "checking dependency style of $depcc... " >&6; }
4030 if test ${am_cv_CC_dependencies_compiler_type+y}
4031 then :
4032 printf %s "(cached) " >&6
4033 else $as_nop
4034 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4035 # We make a subdir and do the tests there. Otherwise we can end up
4036 # making bogus files that we don't know about and never remove. For
4037 # instance it was reported that on HP-UX the gcc test will end up
4038 # making a dummy file named 'D' -- because '-MD' means "put the output
4039 # in D".
4040 rm -rf conftest.dir
4041 mkdir conftest.dir
4042 # Copy depcomp to subdir because otherwise we won't find it if we're
4043 # using a relative directory.
4044 cp "$am_depcomp" conftest.dir
4045 cd conftest.dir
4046 # We will build objects and dependencies in a subdirectory because
4047 # it helps to detect inapplicable dependency modes. For instance
4048 # both Tru64's cc and ICC support -MD to output dependencies as a
4049 # side effect of compilation, but ICC will put the dependencies in
4050 # the current directory while Tru64 will put them in the object
4051 # directory.
4052 mkdir sub
4053
4054 am_cv_CC_dependencies_compiler_type=none
4055 if test "$am_compiler_list" = ""; then
4056 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4057 fi
4058 am__universal=false
4059 case " $depcc " in #(
4060 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4061 esac
4062
4063 for depmode in $am_compiler_list; do
4064 # Setup a source with many dependencies, because some compilers
4065 # like to wrap large dependency lists on column 80 (with \), and
4066 # we should not choose a depcomp mode which is confused by this.
4067 #
4068 # We need to recreate these files for each test, as the compiler may
4069 # overwrite some of them when testing with obscure command lines.
4070 # This happens at least with the AIX C compiler.
4071 : > sub/conftest.c
4072 for i in 1 2 3 4 5 6; do
4073 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4074 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4075 # Solaris 10 /bin/sh.
4076 echo '/* dummy */' > sub/conftst$i.h
4077 done
4078 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4079
4080 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4081 # mode. It turns out that the SunPro C++ compiler does not properly
4082 # handle '-M -o', and we need to detect this. Also, some Intel
4083 # versions had trouble with output in subdirs.
4084 am__obj=sub/conftest.${OBJEXT-o}
4085 am__minus_obj="-o $am__obj"
4086 case $depmode in
4087 gcc)
4088 # This depmode causes a compiler race in universal mode.
4089 test "$am__universal" = false || continue
4090 ;;
4091 nosideeffect)
4092 # After this tag, mechanisms are not by side-effect, so they'll
4093 # only be used when explicitly requested.
4094 if test "x$enable_dependency_tracking" = xyes; then
4095 continue
4096 else
4097 break
4098 fi
4099 ;;
4100 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4101 # This compiler won't grok '-c -o', but also, the minuso test has
4102 # not run yet. These depmodes are late enough in the game, and
4103 # so weak that their functioning should not be impacted.
4104 am__obj=conftest.${OBJEXT-o}
4105 am__minus_obj=
4106 ;;
4107 none) break ;;
4108 esac
4109 if depmode=$depmode \
4110 source=sub/conftest.c object=$am__obj \
4111 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4112 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4113 >/dev/null 2>conftest.err &&
4114 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4115 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4116 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4117 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4118 # icc doesn't choke on unknown options, it will just issue warnings
4119 # or remarks (even with -Werror). So we grep stderr for any message
4120 # that says an option was ignored or not supported.
4121 # When given -MP, icc 7.0 and 7.1 complain thusly:
4122 # icc: Command line warning: ignoring option '-M'; no argument required
4123 # The diagnosis changed in icc 8.0:
4124 # icc: Command line remark: option '-MP' not supported
4125 if (grep 'ignoring option' conftest.err ||
4126 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4127 am_cv_CC_dependencies_compiler_type=$depmode
4128 break
4129 fi
4130 fi
4131 done
4132
4133 cd ..
4134 rm -rf conftest.dir
4135 else
4136 am_cv_CC_dependencies_compiler_type=none
4137 fi
4138
4139 fi
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4141 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4142 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4143
4144 if
4145 test "x$enable_dependency_tracking" != xno \
4146 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4147 am__fastdepCC_TRUE=
4148 am__fastdepCC_FALSE='#'
4149 else
4150 am__fastdepCC_TRUE='#'
4151 am__fastdepCC_FALSE=
4152 fi
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 printf %s "checking for $ac_word... " >&6; }
4169 if test ${ac_cv_path_PKG_CONFIG+y}
4170 then :
4171 printf %s "(cached) " >&6
4172 else $as_nop
4173 case $PKG_CONFIG in
4174 [\\/]* | ?:[\\/]*)
4175 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4176 ;;
4177 *)
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4180 do
4181 IFS=$as_save_IFS
4182 case $as_dir in #(((
4183 '') as_dir=./ ;;
4184 */) ;;
4185 *) as_dir=$as_dir/ ;;
4186 esac
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4189 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4191 break 2
4192 fi
4193 done
4194 done
4195 IFS=$as_save_IFS
4196
4197 ;;
4198 esac
4199 fi
4200 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4201 if test -n "$PKG_CONFIG"; then
4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4203 printf "%s\n" "$PKG_CONFIG" >&6; }
4204 else
4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 printf "%s\n" "no" >&6; }
4207 fi
4208
4209
4210 fi
4211 if test -z "$ac_cv_path_PKG_CONFIG"; then
4212 ac_pt_PKG_CONFIG=$PKG_CONFIG
4213 # Extract the first word of "pkg-config", so it can be a program name with args.
4214 set dummy pkg-config; ac_word=$2
4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 printf %s "checking for $ac_word... " >&6; }
4217 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4218 then :
4219 printf %s "(cached) " >&6
4220 else $as_nop
4221 case $ac_pt_PKG_CONFIG in
4222 [\\/]* | ?:[\\/]*)
4223 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4224 ;;
4225 *)
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 for as_dir in $PATH
4228 do
4229 IFS=$as_save_IFS
4230 case $as_dir in #(((
4231 '') as_dir=./ ;;
4232 */) ;;
4233 *) as_dir=$as_dir/ ;;
4234 esac
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4237 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4239 break 2
4240 fi
4241 done
4242 done
4243 IFS=$as_save_IFS
4244
4245 ;;
4246 esac
4247 fi
4248 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4249 if test -n "$ac_pt_PKG_CONFIG"; then
4250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4251 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4252 else
4253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 printf "%s\n" "no" >&6; }
4255 fi
4256
4257 if test "x$ac_pt_PKG_CONFIG" = x; then
4258 PKG_CONFIG=""
4259 else
4260 case $cross_compiling:$ac_tool_warned in
4261 yes:)
4262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4264 ac_tool_warned=yes ;;
4265 esac
4266 PKG_CONFIG=$ac_pt_PKG_CONFIG
4267 fi
4268 else
4269 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4270 fi
4271
4272 fi
4273 if test -n "$PKG_CONFIG"; then
4274 _pkg_min_version=0.9.0
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4276 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4277 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4279 printf "%s\n" "yes" >&6; }
4280 else
4281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 printf "%s\n" "no" >&6; }
4283 PKG_CONFIG=""
4284 fi
4285 fi
4286
4287 pkg_failed=no
4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.26" >&5
4289 printf %s "checking for libinput >= 1.26... " >&6; }
4290
4291 if test -n "$LIBINPUT_CFLAGS"; then
4292 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4293 elif test -n "$PKG_CONFIG"; then
4294 if test -n "$PKG_CONFIG" && \
4295 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.26\""; } >&5
4296 ($PKG_CONFIG --exists --print-errors "libinput >= 1.26") 2>&5
4297 ac_status=$?
4298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }; then
4300 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.26" 2>/dev/null`
4301 test "x$?" != "x0" && pkg_failed=yes
4302 else
4303 pkg_failed=yes
4304 fi
4305 else
4306 pkg_failed=untried
4307 fi
4308 if test -n "$LIBINPUT_LIBS"; then
4309 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4310 elif test -n "$PKG_CONFIG"; then
4311 if test -n "$PKG_CONFIG" && \
4312 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.26\""; } >&5
4313 ($PKG_CONFIG --exists --print-errors "libinput >= 1.26") 2>&5
4314 ac_status=$?
4315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }; then
4317 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.26" 2>/dev/null`
4318 test "x$?" != "x0" && pkg_failed=yes
4319 else
4320 pkg_failed=yes
4321 fi
4322 else
4323 pkg_failed=untried
4324 fi
4325
4326
4327
4328 if test $pkg_failed = yes; then
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 printf "%s\n" "no" >&6; }
4331
4332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4333 _pkg_short_errors_supported=yes
4334 else
4335 _pkg_short_errors_supported=no
4336 fi
4337 if test $_pkg_short_errors_supported = yes; then
4338 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.26" 2>&1`
4339 else
4340 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.26" 2>&1`
4341 fi
4342 # Put the nasty error message in config.log where it belongs
4343 echo "$LIBINPUT_PKG_ERRORS" >&5
4344
4345
4346 pkg_failed=no
4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.23" >&5
4348 printf %s "checking for libinput >= 1.23... " >&6; }
4349
4350 if test -n "$LIBINPUT_CFLAGS"; then
4351 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4352 elif test -n "$PKG_CONFIG"; then
4353 if test -n "$PKG_CONFIG" && \
4354 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.23\""; } >&5
4355 ($PKG_CONFIG --exists --print-errors "libinput >= 1.23") 2>&5
4356 ac_status=$?
4357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }; then
4359 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.23" 2>/dev/null`
4360 test "x$?" != "x0" && pkg_failed=yes
4361 else
4362 pkg_failed=yes
4363 fi
4364 else
4365 pkg_failed=untried
4366 fi
4367 if test -n "$LIBINPUT_LIBS"; then
4368 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4369 elif test -n "$PKG_CONFIG"; then
4370 if test -n "$PKG_CONFIG" && \
4371 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.23\""; } >&5
4372 ($PKG_CONFIG --exists --print-errors "libinput >= 1.23") 2>&5
4373 ac_status=$?
4374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4375 test $ac_status = 0; }; then
4376 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.23" 2>/dev/null`
4377 test "x$?" != "x0" && pkg_failed=yes
4378 else
4379 pkg_failed=yes
4380 fi
4381 else
4382 pkg_failed=untried
4383 fi
4384
4385
4386
4387 if test $pkg_failed = yes; then
4388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 printf "%s\n" "no" >&6; }
4390
4391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4392 _pkg_short_errors_supported=yes
4393 else
4394 _pkg_short_errors_supported=no
4395 fi
4396 if test $_pkg_short_errors_supported = yes; then
4397 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.23" 2>&1`
4398 else
4399 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.23" 2>&1`
4400 fi
4401 # Put the nasty error message in config.log where it belongs
4402 echo "$LIBINPUT_PKG_ERRORS" >&5
4403
4404
4405 pkg_failed=no
4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.21" >&5
4407 printf %s "checking for libinput >= 1.21... " >&6; }
4408
4409 if test -n "$LIBINPUT_CFLAGS"; then
4410 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4411 elif test -n "$PKG_CONFIG"; then
4412 if test -n "$PKG_CONFIG" && \
4413 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
4414 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
4415 ac_status=$?
4416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4417 test $ac_status = 0; }; then
4418 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.21" 2>/dev/null`
4419 test "x$?" != "x0" && pkg_failed=yes
4420 else
4421 pkg_failed=yes
4422 fi
4423 else
4424 pkg_failed=untried
4425 fi
4426 if test -n "$LIBINPUT_LIBS"; then
4427 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4428 elif test -n "$PKG_CONFIG"; then
4429 if test -n "$PKG_CONFIG" && \
4430 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
4431 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
4432 ac_status=$?
4433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4434 test $ac_status = 0; }; then
4435 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.21" 2>/dev/null`
4436 test "x$?" != "x0" && pkg_failed=yes
4437 else
4438 pkg_failed=yes
4439 fi
4440 else
4441 pkg_failed=untried
4442 fi
4443
4444
4445
4446 if test $pkg_failed = yes; then
4447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 printf "%s\n" "no" >&6; }
4449
4450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4451 _pkg_short_errors_supported=yes
4452 else
4453 _pkg_short_errors_supported=no
4454 fi
4455 if test $_pkg_short_errors_supported = yes; then
4456 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
4457 else
4458 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
4459 fi
4460 # Put the nasty error message in config.log where it belongs
4461 echo "$LIBINPUT_PKG_ERRORS" >&5
4462
4463
4464 pkg_failed=no
4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
4466 printf %s "checking for libinput >= 1.15... " >&6; }
4467
4468 if test -n "$LIBINPUT_CFLAGS"; then
4469 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4470 elif test -n "$PKG_CONFIG"; then
4471 if test -n "$PKG_CONFIG" && \
4472 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
4473 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
4474 ac_status=$?
4475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; }; then
4477 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
4478 test "x$?" != "x0" && pkg_failed=yes
4479 else
4480 pkg_failed=yes
4481 fi
4482 else
4483 pkg_failed=untried
4484 fi
4485 if test -n "$LIBINPUT_LIBS"; then
4486 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4487 elif test -n "$PKG_CONFIG"; then
4488 if test -n "$PKG_CONFIG" && \
4489 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
4490 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
4491 ac_status=$?
4492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then
4494 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
4495 test "x$?" != "x0" && pkg_failed=yes
4496 else
4497 pkg_failed=yes
4498 fi
4499 else
4500 pkg_failed=untried
4501 fi
4502
4503
4504
4505 if test $pkg_failed = yes; then
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 printf "%s\n" "no" >&6; }
4508
4509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4510 _pkg_short_errors_supported=yes
4511 else
4512 _pkg_short_errors_supported=no
4513 fi
4514 if test $_pkg_short_errors_supported = yes; then
4515 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
4516 else
4517 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
4518 fi
4519 # Put the nasty error message in config.log where it belongs
4520 echo "$LIBINPUT_PKG_ERRORS" >&5
4521
4522
4523 pkg_failed=no
4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
4525 printf %s "checking for libinput >= 1.5... " >&6; }
4526
4527 if test -n "$LIBINPUT_CFLAGS"; then
4528 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4529 elif test -n "$PKG_CONFIG"; then
4530 if test -n "$PKG_CONFIG" && \
4531 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4532 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4533 ac_status=$?
4534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }; then
4536 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
4537 test "x$?" != "x0" && pkg_failed=yes
4538 else
4539 pkg_failed=yes
4540 fi
4541 else
4542 pkg_failed=untried
4543 fi
4544 if test -n "$LIBINPUT_LIBS"; then
4545 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4546 elif test -n "$PKG_CONFIG"; then
4547 if test -n "$PKG_CONFIG" && \
4548 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4549 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4550 ac_status=$?
4551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }; then
4553 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
4554 test "x$?" != "x0" && pkg_failed=yes
4555 else
4556 pkg_failed=yes
4557 fi
4558 else
4559 pkg_failed=untried
4560 fi
4561
4562
4563
4564 if test $pkg_failed = yes; then
4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 printf "%s\n" "no" >&6; }
4567
4568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4569 _pkg_short_errors_supported=yes
4570 else
4571 _pkg_short_errors_supported=no
4572 fi
4573 if test $_pkg_short_errors_supported = yes; then
4574 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4575 else
4576 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4577 fi
4578 # Put the nasty error message in config.log where it belongs
4579 echo "$LIBINPUT_PKG_ERRORS" >&5
4580
4581 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
4582
4583 $LIBINPUT_PKG_ERRORS
4584
4585 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4586 installed software in a non-standard prefix.
4587
4588 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4589 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4590 See the pkg-config man page for more details." "$LINENO" 5
4591 elif test $pkg_failed = untried; then
4592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 printf "%s\n" "no" >&6; }
4594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4597 is in your PATH or set the PKG_CONFIG environment variable to the full
4598 path to pkg-config.
4599
4600 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4601 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4602 See the pkg-config man page for more details.
4603
4604 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4605 See \`config.log' for more details" "$LINENO" 5; }
4606 else
4607 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4608 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4610 printf "%s\n" "yes" >&6; }
4611
4612 fi
4613 elif test $pkg_failed = untried; then
4614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 printf "%s\n" "no" >&6; }
4616
4617 pkg_failed=no
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
4619 printf %s "checking for libinput >= 1.5... " >&6; }
4620
4621 if test -n "$LIBINPUT_CFLAGS"; then
4622 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4623 elif test -n "$PKG_CONFIG"; then
4624 if test -n "$PKG_CONFIG" && \
4625 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4626 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4627 ac_status=$?
4628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }; then
4630 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
4631 test "x$?" != "x0" && pkg_failed=yes
4632 else
4633 pkg_failed=yes
4634 fi
4635 else
4636 pkg_failed=untried
4637 fi
4638 if test -n "$LIBINPUT_LIBS"; then
4639 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4640 elif test -n "$PKG_CONFIG"; then
4641 if test -n "$PKG_CONFIG" && \
4642 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4643 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4644 ac_status=$?
4645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; then
4647 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
4648 test "x$?" != "x0" && pkg_failed=yes
4649 else
4650 pkg_failed=yes
4651 fi
4652 else
4653 pkg_failed=untried
4654 fi
4655
4656
4657
4658 if test $pkg_failed = yes; then
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 printf "%s\n" "no" >&6; }
4661
4662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4663 _pkg_short_errors_supported=yes
4664 else
4665 _pkg_short_errors_supported=no
4666 fi
4667 if test $_pkg_short_errors_supported = yes; then
4668 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4669 else
4670 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4671 fi
4672 # Put the nasty error message in config.log where it belongs
4673 echo "$LIBINPUT_PKG_ERRORS" >&5
4674
4675 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
4676
4677 $LIBINPUT_PKG_ERRORS
4678
4679 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4680 installed software in a non-standard prefix.
4681
4682 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4683 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4684 See the pkg-config man page for more details." "$LINENO" 5
4685 elif test $pkg_failed = untried; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4688 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4691 is in your PATH or set the PKG_CONFIG environment variable to the full
4692 path to pkg-config.
4693
4694 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4695 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4696 See the pkg-config man page for more details.
4697
4698 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4699 See \`config.log' for more details" "$LINENO" 5; }
4700 else
4701 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4702 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4704 printf "%s\n" "yes" >&6; }
4705
4706 fi
4707 else
4708 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4709 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4711 printf "%s\n" "yes" >&6; }
4712
4713 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
4714
4715 fi
4716 elif test $pkg_failed = untried; then
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 printf "%s\n" "no" >&6; }
4719
4720 pkg_failed=no
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
4722 printf %s "checking for libinput >= 1.15... " >&6; }
4723
4724 if test -n "$LIBINPUT_CFLAGS"; then
4725 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4726 elif test -n "$PKG_CONFIG"; then
4727 if test -n "$PKG_CONFIG" && \
4728 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
4729 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
4730 ac_status=$?
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }; then
4733 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
4734 test "x$?" != "x0" && pkg_failed=yes
4735 else
4736 pkg_failed=yes
4737 fi
4738 else
4739 pkg_failed=untried
4740 fi
4741 if test -n "$LIBINPUT_LIBS"; then
4742 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4743 elif test -n "$PKG_CONFIG"; then
4744 if test -n "$PKG_CONFIG" && \
4745 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
4746 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
4747 ac_status=$?
4748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749 test $ac_status = 0; }; then
4750 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
4751 test "x$?" != "x0" && pkg_failed=yes
4752 else
4753 pkg_failed=yes
4754 fi
4755 else
4756 pkg_failed=untried
4757 fi
4758
4759
4760
4761 if test $pkg_failed = yes; then
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 printf "%s\n" "no" >&6; }
4764
4765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4766 _pkg_short_errors_supported=yes
4767 else
4768 _pkg_short_errors_supported=no
4769 fi
4770 if test $_pkg_short_errors_supported = yes; then
4771 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
4772 else
4773 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
4774 fi
4775 # Put the nasty error message in config.log where it belongs
4776 echo "$LIBINPUT_PKG_ERRORS" >&5
4777
4778
4779 pkg_failed=no
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
4781 printf %s "checking for libinput >= 1.5... " >&6; }
4782
4783 if test -n "$LIBINPUT_CFLAGS"; then
4784 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4785 elif test -n "$PKG_CONFIG"; then
4786 if test -n "$PKG_CONFIG" && \
4787 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4788 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4789 ac_status=$?
4790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4791 test $ac_status = 0; }; then
4792 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
4793 test "x$?" != "x0" && pkg_failed=yes
4794 else
4795 pkg_failed=yes
4796 fi
4797 else
4798 pkg_failed=untried
4799 fi
4800 if test -n "$LIBINPUT_LIBS"; then
4801 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4802 elif test -n "$PKG_CONFIG"; then
4803 if test -n "$PKG_CONFIG" && \
4804 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4805 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4806 ac_status=$?
4807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4808 test $ac_status = 0; }; then
4809 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
4810 test "x$?" != "x0" && pkg_failed=yes
4811 else
4812 pkg_failed=yes
4813 fi
4814 else
4815 pkg_failed=untried
4816 fi
4817
4818
4819
4820 if test $pkg_failed = yes; then
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 printf "%s\n" "no" >&6; }
4823
4824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4825 _pkg_short_errors_supported=yes
4826 else
4827 _pkg_short_errors_supported=no
4828 fi
4829 if test $_pkg_short_errors_supported = yes; then
4830 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4831 else
4832 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4833 fi
4834 # Put the nasty error message in config.log where it belongs
4835 echo "$LIBINPUT_PKG_ERRORS" >&5
4836
4837 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
4838
4839 $LIBINPUT_PKG_ERRORS
4840
4841 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4842 installed software in a non-standard prefix.
4843
4844 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4845 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4846 See the pkg-config man page for more details." "$LINENO" 5
4847 elif test $pkg_failed = untried; then
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 printf "%s\n" "no" >&6; }
4850 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4853 is in your PATH or set the PKG_CONFIG environment variable to the full
4854 path to pkg-config.
4855
4856 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4857 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4858 See the pkg-config man page for more details.
4859
4860 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4861 See \`config.log' for more details" "$LINENO" 5; }
4862 else
4863 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4864 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4866 printf "%s\n" "yes" >&6; }
4867
4868 fi
4869 elif test $pkg_failed = untried; then
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 printf "%s\n" "no" >&6; }
4872
4873 pkg_failed=no
4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
4875 printf %s "checking for libinput >= 1.5... " >&6; }
4876
4877 if test -n "$LIBINPUT_CFLAGS"; then
4878 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4879 elif test -n "$PKG_CONFIG"; then
4880 if test -n "$PKG_CONFIG" && \
4881 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4882 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4883 ac_status=$?
4884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885 test $ac_status = 0; }; then
4886 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
4887 test "x$?" != "x0" && pkg_failed=yes
4888 else
4889 pkg_failed=yes
4890 fi
4891 else
4892 pkg_failed=untried
4893 fi
4894 if test -n "$LIBINPUT_LIBS"; then
4895 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
4896 elif test -n "$PKG_CONFIG"; then
4897 if test -n "$PKG_CONFIG" && \
4898 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
4899 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
4900 ac_status=$?
4901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902 test $ac_status = 0; }; then
4903 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
4904 test "x$?" != "x0" && pkg_failed=yes
4905 else
4906 pkg_failed=yes
4907 fi
4908 else
4909 pkg_failed=untried
4910 fi
4911
4912
4913
4914 if test $pkg_failed = yes; then
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 printf "%s\n" "no" >&6; }
4917
4918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4919 _pkg_short_errors_supported=yes
4920 else
4921 _pkg_short_errors_supported=no
4922 fi
4923 if test $_pkg_short_errors_supported = yes; then
4924 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4925 else
4926 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
4927 fi
4928 # Put the nasty error message in config.log where it belongs
4929 echo "$LIBINPUT_PKG_ERRORS" >&5
4930
4931 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
4932
4933 $LIBINPUT_PKG_ERRORS
4934
4935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4936 installed software in a non-standard prefix.
4937
4938 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4939 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4940 See the pkg-config man page for more details." "$LINENO" 5
4941 elif test $pkg_failed = untried; then
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 printf "%s\n" "no" >&6; }
4944 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4945 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4946 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4947 is in your PATH or set the PKG_CONFIG environment variable to the full
4948 path to pkg-config.
4949
4950 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
4951 and LIBINPUT_LIBS to avoid the need to call pkg-config.
4952 See the pkg-config man page for more details.
4953
4954 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4955 See \`config.log' for more details" "$LINENO" 5; }
4956 else
4957 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4958 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 printf "%s\n" "yes" >&6; }
4961
4962 fi
4963 else
4964 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4965 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967 printf "%s\n" "yes" >&6; }
4968
4969 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
4970
4971 fi
4972 else
4973 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
4974 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 printf "%s\n" "yes" >&6; }
4977
4978 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
4979
4980
4981 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
4982
4983 fi
4984 elif test $pkg_failed = untried; then
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 printf "%s\n" "no" >&6; }
4987
4988 pkg_failed=no
4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.21" >&5
4990 printf %s "checking for libinput >= 1.21... " >&6; }
4991
4992 if test -n "$LIBINPUT_CFLAGS"; then
4993 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
4994 elif test -n "$PKG_CONFIG"; then
4995 if test -n "$PKG_CONFIG" && \
4996 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
4997 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
4998 ac_status=$?
4999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5000 test $ac_status = 0; }; then
5001 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.21" 2>/dev/null`
5002 test "x$?" != "x0" && pkg_failed=yes
5003 else
5004 pkg_failed=yes
5005 fi
5006 else
5007 pkg_failed=untried
5008 fi
5009 if test -n "$LIBINPUT_LIBS"; then
5010 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5011 elif test -n "$PKG_CONFIG"; then
5012 if test -n "$PKG_CONFIG" && \
5013 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
5014 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
5015 ac_status=$?
5016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5017 test $ac_status = 0; }; then
5018 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.21" 2>/dev/null`
5019 test "x$?" != "x0" && pkg_failed=yes
5020 else
5021 pkg_failed=yes
5022 fi
5023 else
5024 pkg_failed=untried
5025 fi
5026
5027
5028
5029 if test $pkg_failed = yes; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 printf "%s\n" "no" >&6; }
5032
5033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5034 _pkg_short_errors_supported=yes
5035 else
5036 _pkg_short_errors_supported=no
5037 fi
5038 if test $_pkg_short_errors_supported = yes; then
5039 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
5040 else
5041 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
5042 fi
5043 # Put the nasty error message in config.log where it belongs
5044 echo "$LIBINPUT_PKG_ERRORS" >&5
5045
5046
5047 pkg_failed=no
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
5049 printf %s "checking for libinput >= 1.15... " >&6; }
5050
5051 if test -n "$LIBINPUT_CFLAGS"; then
5052 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5053 elif test -n "$PKG_CONFIG"; then
5054 if test -n "$PKG_CONFIG" && \
5055 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5056 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5057 ac_status=$?
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5059 test $ac_status = 0; }; then
5060 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
5061 test "x$?" != "x0" && pkg_failed=yes
5062 else
5063 pkg_failed=yes
5064 fi
5065 else
5066 pkg_failed=untried
5067 fi
5068 if test -n "$LIBINPUT_LIBS"; then
5069 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5070 elif test -n "$PKG_CONFIG"; then
5071 if test -n "$PKG_CONFIG" && \
5072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5073 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5074 ac_status=$?
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5076 test $ac_status = 0; }; then
5077 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
5078 test "x$?" != "x0" && pkg_failed=yes
5079 else
5080 pkg_failed=yes
5081 fi
5082 else
5083 pkg_failed=untried
5084 fi
5085
5086
5087
5088 if test $pkg_failed = yes; then
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 printf "%s\n" "no" >&6; }
5091
5092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5093 _pkg_short_errors_supported=yes
5094 else
5095 _pkg_short_errors_supported=no
5096 fi
5097 if test $_pkg_short_errors_supported = yes; then
5098 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5099 else
5100 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5101 fi
5102 # Put the nasty error message in config.log where it belongs
5103 echo "$LIBINPUT_PKG_ERRORS" >&5
5104
5105
5106 pkg_failed=no
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5108 printf %s "checking for libinput >= 1.5... " >&6; }
5109
5110 if test -n "$LIBINPUT_CFLAGS"; then
5111 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5112 elif test -n "$PKG_CONFIG"; then
5113 if test -n "$PKG_CONFIG" && \
5114 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5115 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5116 ac_status=$?
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5118 test $ac_status = 0; }; then
5119 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5120 test "x$?" != "x0" && pkg_failed=yes
5121 else
5122 pkg_failed=yes
5123 fi
5124 else
5125 pkg_failed=untried
5126 fi
5127 if test -n "$LIBINPUT_LIBS"; then
5128 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5129 elif test -n "$PKG_CONFIG"; then
5130 if test -n "$PKG_CONFIG" && \
5131 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5132 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5133 ac_status=$?
5134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5135 test $ac_status = 0; }; then
5136 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5137 test "x$?" != "x0" && pkg_failed=yes
5138 else
5139 pkg_failed=yes
5140 fi
5141 else
5142 pkg_failed=untried
5143 fi
5144
5145
5146
5147 if test $pkg_failed = yes; then
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 printf "%s\n" "no" >&6; }
5150
5151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5152 _pkg_short_errors_supported=yes
5153 else
5154 _pkg_short_errors_supported=no
5155 fi
5156 if test $_pkg_short_errors_supported = yes; then
5157 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5158 else
5159 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5160 fi
5161 # Put the nasty error message in config.log where it belongs
5162 echo "$LIBINPUT_PKG_ERRORS" >&5
5163
5164 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5165
5166 $LIBINPUT_PKG_ERRORS
5167
5168 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5169 installed software in a non-standard prefix.
5170
5171 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5172 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5173 See the pkg-config man page for more details." "$LINENO" 5
5174 elif test $pkg_failed = untried; then
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 printf "%s\n" "no" >&6; }
5177 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5178 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5179 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5180 is in your PATH or set the PKG_CONFIG environment variable to the full
5181 path to pkg-config.
5182
5183 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5184 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5185 See the pkg-config man page for more details.
5186
5187 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5188 See \`config.log' for more details" "$LINENO" 5; }
5189 else
5190 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5191 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 printf "%s\n" "yes" >&6; }
5194
5195 fi
5196 elif test $pkg_failed = untried; then
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 printf "%s\n" "no" >&6; }
5199
5200 pkg_failed=no
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5202 printf %s "checking for libinput >= 1.5... " >&6; }
5203
5204 if test -n "$LIBINPUT_CFLAGS"; then
5205 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5206 elif test -n "$PKG_CONFIG"; then
5207 if test -n "$PKG_CONFIG" && \
5208 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5209 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5210 ac_status=$?
5211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5212 test $ac_status = 0; }; then
5213 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5214 test "x$?" != "x0" && pkg_failed=yes
5215 else
5216 pkg_failed=yes
5217 fi
5218 else
5219 pkg_failed=untried
5220 fi
5221 if test -n "$LIBINPUT_LIBS"; then
5222 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5223 elif test -n "$PKG_CONFIG"; then
5224 if test -n "$PKG_CONFIG" && \
5225 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5226 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5227 ac_status=$?
5228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5229 test $ac_status = 0; }; then
5230 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5231 test "x$?" != "x0" && pkg_failed=yes
5232 else
5233 pkg_failed=yes
5234 fi
5235 else
5236 pkg_failed=untried
5237 fi
5238
5239
5240
5241 if test $pkg_failed = yes; then
5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 printf "%s\n" "no" >&6; }
5244
5245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5246 _pkg_short_errors_supported=yes
5247 else
5248 _pkg_short_errors_supported=no
5249 fi
5250 if test $_pkg_short_errors_supported = yes; then
5251 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5252 else
5253 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5254 fi
5255 # Put the nasty error message in config.log where it belongs
5256 echo "$LIBINPUT_PKG_ERRORS" >&5
5257
5258 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5259
5260 $LIBINPUT_PKG_ERRORS
5261
5262 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5263 installed software in a non-standard prefix.
5264
5265 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5266 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5267 See the pkg-config man page for more details." "$LINENO" 5
5268 elif test $pkg_failed = untried; then
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 printf "%s\n" "no" >&6; }
5271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5273 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5274 is in your PATH or set the PKG_CONFIG environment variable to the full
5275 path to pkg-config.
5276
5277 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5278 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5279 See the pkg-config man page for more details.
5280
5281 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5282 See \`config.log' for more details" "$LINENO" 5; }
5283 else
5284 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5285 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5287 printf "%s\n" "yes" >&6; }
5288
5289 fi
5290 else
5291 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5292 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5294 printf "%s\n" "yes" >&6; }
5295
5296 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
5297
5298 fi
5299 elif test $pkg_failed = untried; then
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 printf "%s\n" "no" >&6; }
5302
5303 pkg_failed=no
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
5305 printf %s "checking for libinput >= 1.15... " >&6; }
5306
5307 if test -n "$LIBINPUT_CFLAGS"; then
5308 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5309 elif test -n "$PKG_CONFIG"; then
5310 if test -n "$PKG_CONFIG" && \
5311 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5312 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5313 ac_status=$?
5314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }; then
5316 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
5317 test "x$?" != "x0" && pkg_failed=yes
5318 else
5319 pkg_failed=yes
5320 fi
5321 else
5322 pkg_failed=untried
5323 fi
5324 if test -n "$LIBINPUT_LIBS"; then
5325 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5326 elif test -n "$PKG_CONFIG"; then
5327 if test -n "$PKG_CONFIG" && \
5328 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5329 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5330 ac_status=$?
5331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5332 test $ac_status = 0; }; then
5333 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
5334 test "x$?" != "x0" && pkg_failed=yes
5335 else
5336 pkg_failed=yes
5337 fi
5338 else
5339 pkg_failed=untried
5340 fi
5341
5342
5343
5344 if test $pkg_failed = yes; then
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 printf "%s\n" "no" >&6; }
5347
5348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5349 _pkg_short_errors_supported=yes
5350 else
5351 _pkg_short_errors_supported=no
5352 fi
5353 if test $_pkg_short_errors_supported = yes; then
5354 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5355 else
5356 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5357 fi
5358 # Put the nasty error message in config.log where it belongs
5359 echo "$LIBINPUT_PKG_ERRORS" >&5
5360
5361
5362 pkg_failed=no
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5364 printf %s "checking for libinput >= 1.5... " >&6; }
5365
5366 if test -n "$LIBINPUT_CFLAGS"; then
5367 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5368 elif test -n "$PKG_CONFIG"; then
5369 if test -n "$PKG_CONFIG" && \
5370 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5371 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5372 ac_status=$?
5373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5374 test $ac_status = 0; }; then
5375 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5376 test "x$?" != "x0" && pkg_failed=yes
5377 else
5378 pkg_failed=yes
5379 fi
5380 else
5381 pkg_failed=untried
5382 fi
5383 if test -n "$LIBINPUT_LIBS"; then
5384 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5385 elif test -n "$PKG_CONFIG"; then
5386 if test -n "$PKG_CONFIG" && \
5387 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5388 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5389 ac_status=$?
5390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5391 test $ac_status = 0; }; then
5392 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5393 test "x$?" != "x0" && pkg_failed=yes
5394 else
5395 pkg_failed=yes
5396 fi
5397 else
5398 pkg_failed=untried
5399 fi
5400
5401
5402
5403 if test $pkg_failed = yes; then
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 printf "%s\n" "no" >&6; }
5406
5407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5408 _pkg_short_errors_supported=yes
5409 else
5410 _pkg_short_errors_supported=no
5411 fi
5412 if test $_pkg_short_errors_supported = yes; then
5413 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5414 else
5415 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5416 fi
5417 # Put the nasty error message in config.log where it belongs
5418 echo "$LIBINPUT_PKG_ERRORS" >&5
5419
5420 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5421
5422 $LIBINPUT_PKG_ERRORS
5423
5424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5425 installed software in a non-standard prefix.
5426
5427 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5428 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5429 See the pkg-config man page for more details." "$LINENO" 5
5430 elif test $pkg_failed = untried; then
5431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 printf "%s\n" "no" >&6; }
5433 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5434 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5435 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5436 is in your PATH or set the PKG_CONFIG environment variable to the full
5437 path to pkg-config.
5438
5439 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5440 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5441 See the pkg-config man page for more details.
5442
5443 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5444 See \`config.log' for more details" "$LINENO" 5; }
5445 else
5446 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5447 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 printf "%s\n" "yes" >&6; }
5450
5451 fi
5452 elif test $pkg_failed = untried; then
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 printf "%s\n" "no" >&6; }
5455
5456 pkg_failed=no
5457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5458 printf %s "checking for libinput >= 1.5... " >&6; }
5459
5460 if test -n "$LIBINPUT_CFLAGS"; then
5461 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5462 elif test -n "$PKG_CONFIG"; then
5463 if test -n "$PKG_CONFIG" && \
5464 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5465 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5466 ac_status=$?
5467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5468 test $ac_status = 0; }; then
5469 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5470 test "x$?" != "x0" && pkg_failed=yes
5471 else
5472 pkg_failed=yes
5473 fi
5474 else
5475 pkg_failed=untried
5476 fi
5477 if test -n "$LIBINPUT_LIBS"; then
5478 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5479 elif test -n "$PKG_CONFIG"; then
5480 if test -n "$PKG_CONFIG" && \
5481 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5482 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5483 ac_status=$?
5484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5485 test $ac_status = 0; }; then
5486 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5487 test "x$?" != "x0" && pkg_failed=yes
5488 else
5489 pkg_failed=yes
5490 fi
5491 else
5492 pkg_failed=untried
5493 fi
5494
5495
5496
5497 if test $pkg_failed = yes; then
5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 printf "%s\n" "no" >&6; }
5500
5501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5502 _pkg_short_errors_supported=yes
5503 else
5504 _pkg_short_errors_supported=no
5505 fi
5506 if test $_pkg_short_errors_supported = yes; then
5507 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5508 else
5509 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5510 fi
5511 # Put the nasty error message in config.log where it belongs
5512 echo "$LIBINPUT_PKG_ERRORS" >&5
5513
5514 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5515
5516 $LIBINPUT_PKG_ERRORS
5517
5518 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5519 installed software in a non-standard prefix.
5520
5521 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5522 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5523 See the pkg-config man page for more details." "$LINENO" 5
5524 elif test $pkg_failed = untried; then
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 printf "%s\n" "no" >&6; }
5527 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5528 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5529 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5530 is in your PATH or set the PKG_CONFIG environment variable to the full
5531 path to pkg-config.
5532
5533 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5534 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5535 See the pkg-config man page for more details.
5536
5537 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5538 See \`config.log' for more details" "$LINENO" 5; }
5539 else
5540 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5541 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5543 printf "%s\n" "yes" >&6; }
5544
5545 fi
5546 else
5547 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5548 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 printf "%s\n" "yes" >&6; }
5551
5552 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
5553
5554 fi
5555 else
5556 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5557 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5559 printf "%s\n" "yes" >&6; }
5560
5561 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
5562
5563
5564 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
5565
5566 fi
5567 else
5568 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5569 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5571 printf "%s\n" "yes" >&6; }
5572
5573 printf "%s\n" "#define HAVE_LIBINPUT_1_23 /**/" >>confdefs.h
5574
5575
5576 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
5577
5578
5579 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
5580
5581 fi
5582 elif test $pkg_failed = untried; then
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 printf "%s\n" "no" >&6; }
5585
5586 pkg_failed=no
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.23" >&5
5588 printf %s "checking for libinput >= 1.23... " >&6; }
5589
5590 if test -n "$LIBINPUT_CFLAGS"; then
5591 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5592 elif test -n "$PKG_CONFIG"; then
5593 if test -n "$PKG_CONFIG" && \
5594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.23\""; } >&5
5595 ($PKG_CONFIG --exists --print-errors "libinput >= 1.23") 2>&5
5596 ac_status=$?
5597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5598 test $ac_status = 0; }; then
5599 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.23" 2>/dev/null`
5600 test "x$?" != "x0" && pkg_failed=yes
5601 else
5602 pkg_failed=yes
5603 fi
5604 else
5605 pkg_failed=untried
5606 fi
5607 if test -n "$LIBINPUT_LIBS"; then
5608 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5609 elif test -n "$PKG_CONFIG"; then
5610 if test -n "$PKG_CONFIG" && \
5611 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.23\""; } >&5
5612 ($PKG_CONFIG --exists --print-errors "libinput >= 1.23") 2>&5
5613 ac_status=$?
5614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5615 test $ac_status = 0; }; then
5616 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.23" 2>/dev/null`
5617 test "x$?" != "x0" && pkg_failed=yes
5618 else
5619 pkg_failed=yes
5620 fi
5621 else
5622 pkg_failed=untried
5623 fi
5624
5625
5626
5627 if test $pkg_failed = yes; then
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 printf "%s\n" "no" >&6; }
5630
5631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5632 _pkg_short_errors_supported=yes
5633 else
5634 _pkg_short_errors_supported=no
5635 fi
5636 if test $_pkg_short_errors_supported = yes; then
5637 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.23" 2>&1`
5638 else
5639 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.23" 2>&1`
5640 fi
5641 # Put the nasty error message in config.log where it belongs
5642 echo "$LIBINPUT_PKG_ERRORS" >&5
5643
5644
5645 pkg_failed=no
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.21" >&5
5647 printf %s "checking for libinput >= 1.21... " >&6; }
5648
5649 if test -n "$LIBINPUT_CFLAGS"; then
5650 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5651 elif test -n "$PKG_CONFIG"; then
5652 if test -n "$PKG_CONFIG" && \
5653 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
5654 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
5655 ac_status=$?
5656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5657 test $ac_status = 0; }; then
5658 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.21" 2>/dev/null`
5659 test "x$?" != "x0" && pkg_failed=yes
5660 else
5661 pkg_failed=yes
5662 fi
5663 else
5664 pkg_failed=untried
5665 fi
5666 if test -n "$LIBINPUT_LIBS"; then
5667 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5668 elif test -n "$PKG_CONFIG"; then
5669 if test -n "$PKG_CONFIG" && \
5670 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
5671 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
5672 ac_status=$?
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5674 test $ac_status = 0; }; then
5675 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.21" 2>/dev/null`
5676 test "x$?" != "x0" && pkg_failed=yes
5677 else
5678 pkg_failed=yes
5679 fi
5680 else
5681 pkg_failed=untried
5682 fi
5683
5684
5685
5686 if test $pkg_failed = yes; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5689
5690 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5691 _pkg_short_errors_supported=yes
5692 else
5693 _pkg_short_errors_supported=no
5694 fi
5695 if test $_pkg_short_errors_supported = yes; then
5696 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
5697 else
5698 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
5699 fi
5700 # Put the nasty error message in config.log where it belongs
5701 echo "$LIBINPUT_PKG_ERRORS" >&5
5702
5703
5704 pkg_failed=no
5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
5706 printf %s "checking for libinput >= 1.15... " >&6; }
5707
5708 if test -n "$LIBINPUT_CFLAGS"; then
5709 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5710 elif test -n "$PKG_CONFIG"; then
5711 if test -n "$PKG_CONFIG" && \
5712 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5713 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5714 ac_status=$?
5715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; }; then
5717 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
5718 test "x$?" != "x0" && pkg_failed=yes
5719 else
5720 pkg_failed=yes
5721 fi
5722 else
5723 pkg_failed=untried
5724 fi
5725 if test -n "$LIBINPUT_LIBS"; then
5726 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5727 elif test -n "$PKG_CONFIG"; then
5728 if test -n "$PKG_CONFIG" && \
5729 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5730 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5731 ac_status=$?
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }; then
5734 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
5735 test "x$?" != "x0" && pkg_failed=yes
5736 else
5737 pkg_failed=yes
5738 fi
5739 else
5740 pkg_failed=untried
5741 fi
5742
5743
5744
5745 if test $pkg_failed = yes; then
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5748
5749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5750 _pkg_short_errors_supported=yes
5751 else
5752 _pkg_short_errors_supported=no
5753 fi
5754 if test $_pkg_short_errors_supported = yes; then
5755 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5756 else
5757 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
5758 fi
5759 # Put the nasty error message in config.log where it belongs
5760 echo "$LIBINPUT_PKG_ERRORS" >&5
5761
5762
5763 pkg_failed=no
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5765 printf %s "checking for libinput >= 1.5... " >&6; }
5766
5767 if test -n "$LIBINPUT_CFLAGS"; then
5768 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5769 elif test -n "$PKG_CONFIG"; then
5770 if test -n "$PKG_CONFIG" && \
5771 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5772 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5773 ac_status=$?
5774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }; then
5776 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5777 test "x$?" != "x0" && pkg_failed=yes
5778 else
5779 pkg_failed=yes
5780 fi
5781 else
5782 pkg_failed=untried
5783 fi
5784 if test -n "$LIBINPUT_LIBS"; then
5785 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5786 elif test -n "$PKG_CONFIG"; then
5787 if test -n "$PKG_CONFIG" && \
5788 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5789 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5790 ac_status=$?
5791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5792 test $ac_status = 0; }; then
5793 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5794 test "x$?" != "x0" && pkg_failed=yes
5795 else
5796 pkg_failed=yes
5797 fi
5798 else
5799 pkg_failed=untried
5800 fi
5801
5802
5803
5804 if test $pkg_failed = yes; then
5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 printf "%s\n" "no" >&6; }
5807
5808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5809 _pkg_short_errors_supported=yes
5810 else
5811 _pkg_short_errors_supported=no
5812 fi
5813 if test $_pkg_short_errors_supported = yes; then
5814 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5815 else
5816 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5817 fi
5818 # Put the nasty error message in config.log where it belongs
5819 echo "$LIBINPUT_PKG_ERRORS" >&5
5820
5821 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5822
5823 $LIBINPUT_PKG_ERRORS
5824
5825 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5826 installed software in a non-standard prefix.
5827
5828 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5829 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5830 See the pkg-config man page for more details." "$LINENO" 5
5831 elif test $pkg_failed = untried; then
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 printf "%s\n" "no" >&6; }
5834 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5835 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5836 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5837 is in your PATH or set the PKG_CONFIG environment variable to the full
5838 path to pkg-config.
5839
5840 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5841 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5842 See the pkg-config man page for more details.
5843
5844 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5845 See \`config.log' for more details" "$LINENO" 5; }
5846 else
5847 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5848 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5850 printf "%s\n" "yes" >&6; }
5851
5852 fi
5853 elif test $pkg_failed = untried; then
5854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 printf "%s\n" "no" >&6; }
5856
5857 pkg_failed=no
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
5859 printf %s "checking for libinput >= 1.5... " >&6; }
5860
5861 if test -n "$LIBINPUT_CFLAGS"; then
5862 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5863 elif test -n "$PKG_CONFIG"; then
5864 if test -n "$PKG_CONFIG" && \
5865 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5866 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5867 ac_status=$?
5868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5869 test $ac_status = 0; }; then
5870 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
5871 test "x$?" != "x0" && pkg_failed=yes
5872 else
5873 pkg_failed=yes
5874 fi
5875 else
5876 pkg_failed=untried
5877 fi
5878 if test -n "$LIBINPUT_LIBS"; then
5879 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5880 elif test -n "$PKG_CONFIG"; then
5881 if test -n "$PKG_CONFIG" && \
5882 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
5883 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
5884 ac_status=$?
5885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5886 test $ac_status = 0; }; then
5887 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
5888 test "x$?" != "x0" && pkg_failed=yes
5889 else
5890 pkg_failed=yes
5891 fi
5892 else
5893 pkg_failed=untried
5894 fi
5895
5896
5897
5898 if test $pkg_failed = yes; then
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 printf "%s\n" "no" >&6; }
5901
5902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5903 _pkg_short_errors_supported=yes
5904 else
5905 _pkg_short_errors_supported=no
5906 fi
5907 if test $_pkg_short_errors_supported = yes; then
5908 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5909 else
5910 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
5911 fi
5912 # Put the nasty error message in config.log where it belongs
5913 echo "$LIBINPUT_PKG_ERRORS" >&5
5914
5915 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
5916
5917 $LIBINPUT_PKG_ERRORS
5918
5919 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5920 installed software in a non-standard prefix.
5921
5922 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5923 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5924 See the pkg-config man page for more details." "$LINENO" 5
5925 elif test $pkg_failed = untried; then
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 printf "%s\n" "no" >&6; }
5928 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5929 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5930 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5931 is in your PATH or set the PKG_CONFIG environment variable to the full
5932 path to pkg-config.
5933
5934 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
5935 and LIBINPUT_LIBS to avoid the need to call pkg-config.
5936 See the pkg-config man page for more details.
5937
5938 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5939 See \`config.log' for more details" "$LINENO" 5; }
5940 else
5941 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5942 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5944 printf "%s\n" "yes" >&6; }
5945
5946 fi
5947 else
5948 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
5949 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5951 printf "%s\n" "yes" >&6; }
5952
5953 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
5954
5955 fi
5956 elif test $pkg_failed = untried; then
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 printf "%s\n" "no" >&6; }
5959
5960 pkg_failed=no
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
5962 printf %s "checking for libinput >= 1.15... " >&6; }
5963
5964 if test -n "$LIBINPUT_CFLAGS"; then
5965 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
5966 elif test -n "$PKG_CONFIG"; then
5967 if test -n "$PKG_CONFIG" && \
5968 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5969 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5970 ac_status=$?
5971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5972 test $ac_status = 0; }; then
5973 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
5974 test "x$?" != "x0" && pkg_failed=yes
5975 else
5976 pkg_failed=yes
5977 fi
5978 else
5979 pkg_failed=untried
5980 fi
5981 if test -n "$LIBINPUT_LIBS"; then
5982 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
5983 elif test -n "$PKG_CONFIG"; then
5984 if test -n "$PKG_CONFIG" && \
5985 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
5986 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
5987 ac_status=$?
5988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989 test $ac_status = 0; }; then
5990 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
5991 test "x$?" != "x0" && pkg_failed=yes
5992 else
5993 pkg_failed=yes
5994 fi
5995 else
5996 pkg_failed=untried
5997 fi
5998
5999
6000
6001 if test $pkg_failed = yes; then
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 printf "%s\n" "no" >&6; }
6004
6005 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6006 _pkg_short_errors_supported=yes
6007 else
6008 _pkg_short_errors_supported=no
6009 fi
6010 if test $_pkg_short_errors_supported = yes; then
6011 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6012 else
6013 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6014 fi
6015 # Put the nasty error message in config.log where it belongs
6016 echo "$LIBINPUT_PKG_ERRORS" >&5
6017
6018
6019 pkg_failed=no
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6021 printf %s "checking for libinput >= 1.5... " >&6; }
6022
6023 if test -n "$LIBINPUT_CFLAGS"; then
6024 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6025 elif test -n "$PKG_CONFIG"; then
6026 if test -n "$PKG_CONFIG" && \
6027 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6028 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6029 ac_status=$?
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031 test $ac_status = 0; }; then
6032 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6033 test "x$?" != "x0" && pkg_failed=yes
6034 else
6035 pkg_failed=yes
6036 fi
6037 else
6038 pkg_failed=untried
6039 fi
6040 if test -n "$LIBINPUT_LIBS"; then
6041 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6042 elif test -n "$PKG_CONFIG"; then
6043 if test -n "$PKG_CONFIG" && \
6044 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6045 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6046 ac_status=$?
6047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6048 test $ac_status = 0; }; then
6049 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6050 test "x$?" != "x0" && pkg_failed=yes
6051 else
6052 pkg_failed=yes
6053 fi
6054 else
6055 pkg_failed=untried
6056 fi
6057
6058
6059
6060 if test $pkg_failed = yes; then
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 printf "%s\n" "no" >&6; }
6063
6064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6065 _pkg_short_errors_supported=yes
6066 else
6067 _pkg_short_errors_supported=no
6068 fi
6069 if test $_pkg_short_errors_supported = yes; then
6070 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6071 else
6072 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6073 fi
6074 # Put the nasty error message in config.log where it belongs
6075 echo "$LIBINPUT_PKG_ERRORS" >&5
6076
6077 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6078
6079 $LIBINPUT_PKG_ERRORS
6080
6081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6082 installed software in a non-standard prefix.
6083
6084 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6085 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6086 See the pkg-config man page for more details." "$LINENO" 5
6087 elif test $pkg_failed = untried; then
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 printf "%s\n" "no" >&6; }
6090 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6091 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6092 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6093 is in your PATH or set the PKG_CONFIG environment variable to the full
6094 path to pkg-config.
6095
6096 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6097 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6098 See the pkg-config man page for more details.
6099
6100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6101 See \`config.log' for more details" "$LINENO" 5; }
6102 else
6103 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6104 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6106 printf "%s\n" "yes" >&6; }
6107
6108 fi
6109 elif test $pkg_failed = untried; then
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 printf "%s\n" "no" >&6; }
6112
6113 pkg_failed=no
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6115 printf %s "checking for libinput >= 1.5... " >&6; }
6116
6117 if test -n "$LIBINPUT_CFLAGS"; then
6118 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6119 elif test -n "$PKG_CONFIG"; then
6120 if test -n "$PKG_CONFIG" && \
6121 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6122 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6123 ac_status=$?
6124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6125 test $ac_status = 0; }; then
6126 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6127 test "x$?" != "x0" && pkg_failed=yes
6128 else
6129 pkg_failed=yes
6130 fi
6131 else
6132 pkg_failed=untried
6133 fi
6134 if test -n "$LIBINPUT_LIBS"; then
6135 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6136 elif test -n "$PKG_CONFIG"; then
6137 if test -n "$PKG_CONFIG" && \
6138 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6139 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6140 ac_status=$?
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6142 test $ac_status = 0; }; then
6143 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6144 test "x$?" != "x0" && pkg_failed=yes
6145 else
6146 pkg_failed=yes
6147 fi
6148 else
6149 pkg_failed=untried
6150 fi
6151
6152
6153
6154 if test $pkg_failed = yes; then
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6157
6158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6159 _pkg_short_errors_supported=yes
6160 else
6161 _pkg_short_errors_supported=no
6162 fi
6163 if test $_pkg_short_errors_supported = yes; then
6164 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6165 else
6166 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6167 fi
6168 # Put the nasty error message in config.log where it belongs
6169 echo "$LIBINPUT_PKG_ERRORS" >&5
6170
6171 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6172
6173 $LIBINPUT_PKG_ERRORS
6174
6175 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6176 installed software in a non-standard prefix.
6177
6178 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6179 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6180 See the pkg-config man page for more details." "$LINENO" 5
6181 elif test $pkg_failed = untried; then
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 printf "%s\n" "no" >&6; }
6184 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6185 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6186 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6187 is in your PATH or set the PKG_CONFIG environment variable to the full
6188 path to pkg-config.
6189
6190 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6191 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6192 See the pkg-config man page for more details.
6193
6194 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6195 See \`config.log' for more details" "$LINENO" 5; }
6196 else
6197 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6198 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6200 printf "%s\n" "yes" >&6; }
6201
6202 fi
6203 else
6204 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6205 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6207 printf "%s\n" "yes" >&6; }
6208
6209 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6210
6211 fi
6212 else
6213 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6214 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216 printf "%s\n" "yes" >&6; }
6217
6218 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
6219
6220
6221 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6222
6223 fi
6224 elif test $pkg_failed = untried; then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 printf "%s\n" "no" >&6; }
6227
6228 pkg_failed=no
6229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.21" >&5
6230 printf %s "checking for libinput >= 1.21... " >&6; }
6231
6232 if test -n "$LIBINPUT_CFLAGS"; then
6233 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6234 elif test -n "$PKG_CONFIG"; then
6235 if test -n "$PKG_CONFIG" && \
6236 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
6237 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
6238 ac_status=$?
6239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6240 test $ac_status = 0; }; then
6241 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.21" 2>/dev/null`
6242 test "x$?" != "x0" && pkg_failed=yes
6243 else
6244 pkg_failed=yes
6245 fi
6246 else
6247 pkg_failed=untried
6248 fi
6249 if test -n "$LIBINPUT_LIBS"; then
6250 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6251 elif test -n "$PKG_CONFIG"; then
6252 if test -n "$PKG_CONFIG" && \
6253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.21\""; } >&5
6254 ($PKG_CONFIG --exists --print-errors "libinput >= 1.21") 2>&5
6255 ac_status=$?
6256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257 test $ac_status = 0; }; then
6258 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.21" 2>/dev/null`
6259 test "x$?" != "x0" && pkg_failed=yes
6260 else
6261 pkg_failed=yes
6262 fi
6263 else
6264 pkg_failed=untried
6265 fi
6266
6267
6268
6269 if test $pkg_failed = yes; then
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271 printf "%s\n" "no" >&6; }
6272
6273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6274 _pkg_short_errors_supported=yes
6275 else
6276 _pkg_short_errors_supported=no
6277 fi
6278 if test $_pkg_short_errors_supported = yes; then
6279 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
6280 else
6281 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.21" 2>&1`
6282 fi
6283 # Put the nasty error message in config.log where it belongs
6284 echo "$LIBINPUT_PKG_ERRORS" >&5
6285
6286
6287 pkg_failed=no
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
6289 printf %s "checking for libinput >= 1.15... " >&6; }
6290
6291 if test -n "$LIBINPUT_CFLAGS"; then
6292 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6293 elif test -n "$PKG_CONFIG"; then
6294 if test -n "$PKG_CONFIG" && \
6295 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
6296 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
6297 ac_status=$?
6298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299 test $ac_status = 0; }; then
6300 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
6301 test "x$?" != "x0" && pkg_failed=yes
6302 else
6303 pkg_failed=yes
6304 fi
6305 else
6306 pkg_failed=untried
6307 fi
6308 if test -n "$LIBINPUT_LIBS"; then
6309 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6310 elif test -n "$PKG_CONFIG"; then
6311 if test -n "$PKG_CONFIG" && \
6312 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
6313 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
6314 ac_status=$?
6315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316 test $ac_status = 0; }; then
6317 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
6318 test "x$?" != "x0" && pkg_failed=yes
6319 else
6320 pkg_failed=yes
6321 fi
6322 else
6323 pkg_failed=untried
6324 fi
6325
6326
6327
6328 if test $pkg_failed = yes; then
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 printf "%s\n" "no" >&6; }
6331
6332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6333 _pkg_short_errors_supported=yes
6334 else
6335 _pkg_short_errors_supported=no
6336 fi
6337 if test $_pkg_short_errors_supported = yes; then
6338 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6339 else
6340 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6341 fi
6342 # Put the nasty error message in config.log where it belongs
6343 echo "$LIBINPUT_PKG_ERRORS" >&5
6344
6345
6346 pkg_failed=no
6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6348 printf %s "checking for libinput >= 1.5... " >&6; }
6349
6350 if test -n "$LIBINPUT_CFLAGS"; then
6351 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6352 elif test -n "$PKG_CONFIG"; then
6353 if test -n "$PKG_CONFIG" && \
6354 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6355 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6356 ac_status=$?
6357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6358 test $ac_status = 0; }; then
6359 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6360 test "x$?" != "x0" && pkg_failed=yes
6361 else
6362 pkg_failed=yes
6363 fi
6364 else
6365 pkg_failed=untried
6366 fi
6367 if test -n "$LIBINPUT_LIBS"; then
6368 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6369 elif test -n "$PKG_CONFIG"; then
6370 if test -n "$PKG_CONFIG" && \
6371 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6372 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6373 ac_status=$?
6374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 test $ac_status = 0; }; then
6376 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6377 test "x$?" != "x0" && pkg_failed=yes
6378 else
6379 pkg_failed=yes
6380 fi
6381 else
6382 pkg_failed=untried
6383 fi
6384
6385
6386
6387 if test $pkg_failed = yes; then
6388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 printf "%s\n" "no" >&6; }
6390
6391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6392 _pkg_short_errors_supported=yes
6393 else
6394 _pkg_short_errors_supported=no
6395 fi
6396 if test $_pkg_short_errors_supported = yes; then
6397 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6398 else
6399 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6400 fi
6401 # Put the nasty error message in config.log where it belongs
6402 echo "$LIBINPUT_PKG_ERRORS" >&5
6403
6404 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6405
6406 $LIBINPUT_PKG_ERRORS
6407
6408 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6409 installed software in a non-standard prefix.
6410
6411 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6412 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6413 See the pkg-config man page for more details." "$LINENO" 5
6414 elif test $pkg_failed = untried; then
6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 printf "%s\n" "no" >&6; }
6417 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6418 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6419 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6420 is in your PATH or set the PKG_CONFIG environment variable to the full
6421 path to pkg-config.
6422
6423 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6424 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6425 See the pkg-config man page for more details.
6426
6427 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6428 See \`config.log' for more details" "$LINENO" 5; }
6429 else
6430 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6431 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 printf "%s\n" "yes" >&6; }
6434
6435 fi
6436 elif test $pkg_failed = untried; then
6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 printf "%s\n" "no" >&6; }
6439
6440 pkg_failed=no
6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6442 printf %s "checking for libinput >= 1.5... " >&6; }
6443
6444 if test -n "$LIBINPUT_CFLAGS"; then
6445 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6446 elif test -n "$PKG_CONFIG"; then
6447 if test -n "$PKG_CONFIG" && \
6448 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6449 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6450 ac_status=$?
6451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; then
6453 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6454 test "x$?" != "x0" && pkg_failed=yes
6455 else
6456 pkg_failed=yes
6457 fi
6458 else
6459 pkg_failed=untried
6460 fi
6461 if test -n "$LIBINPUT_LIBS"; then
6462 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6463 elif test -n "$PKG_CONFIG"; then
6464 if test -n "$PKG_CONFIG" && \
6465 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6466 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6467 ac_status=$?
6468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469 test $ac_status = 0; }; then
6470 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6471 test "x$?" != "x0" && pkg_failed=yes
6472 else
6473 pkg_failed=yes
6474 fi
6475 else
6476 pkg_failed=untried
6477 fi
6478
6479
6480
6481 if test $pkg_failed = yes; then
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6483 printf "%s\n" "no" >&6; }
6484
6485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6486 _pkg_short_errors_supported=yes
6487 else
6488 _pkg_short_errors_supported=no
6489 fi
6490 if test $_pkg_short_errors_supported = yes; then
6491 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6492 else
6493 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6494 fi
6495 # Put the nasty error message in config.log where it belongs
6496 echo "$LIBINPUT_PKG_ERRORS" >&5
6497
6498 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6499
6500 $LIBINPUT_PKG_ERRORS
6501
6502 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6503 installed software in a non-standard prefix.
6504
6505 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6506 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6507 See the pkg-config man page for more details." "$LINENO" 5
6508 elif test $pkg_failed = untried; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 printf "%s\n" "no" >&6; }
6511 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6512 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6513 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6514 is in your PATH or set the PKG_CONFIG environment variable to the full
6515 path to pkg-config.
6516
6517 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6518 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6519 See the pkg-config man page for more details.
6520
6521 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6522 See \`config.log' for more details" "$LINENO" 5; }
6523 else
6524 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6525 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6527 printf "%s\n" "yes" >&6; }
6528
6529 fi
6530 else
6531 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6532 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6534 printf "%s\n" "yes" >&6; }
6535
6536 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6537
6538 fi
6539 elif test $pkg_failed = untried; then
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 printf "%s\n" "no" >&6; }
6542
6543 pkg_failed=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.15" >&5
6545 printf %s "checking for libinput >= 1.15... " >&6; }
6546
6547 if test -n "$LIBINPUT_CFLAGS"; then
6548 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6549 elif test -n "$PKG_CONFIG"; then
6550 if test -n "$PKG_CONFIG" && \
6551 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
6552 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
6553 ac_status=$?
6554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555 test $ac_status = 0; }; then
6556 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.15" 2>/dev/null`
6557 test "x$?" != "x0" && pkg_failed=yes
6558 else
6559 pkg_failed=yes
6560 fi
6561 else
6562 pkg_failed=untried
6563 fi
6564 if test -n "$LIBINPUT_LIBS"; then
6565 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6566 elif test -n "$PKG_CONFIG"; then
6567 if test -n "$PKG_CONFIG" && \
6568 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.15\""; } >&5
6569 ($PKG_CONFIG --exists --print-errors "libinput >= 1.15") 2>&5
6570 ac_status=$?
6571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572 test $ac_status = 0; }; then
6573 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.15" 2>/dev/null`
6574 test "x$?" != "x0" && pkg_failed=yes
6575 else
6576 pkg_failed=yes
6577 fi
6578 else
6579 pkg_failed=untried
6580 fi
6581
6582
6583
6584 if test $pkg_failed = yes; then
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 printf "%s\n" "no" >&6; }
6587
6588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6589 _pkg_short_errors_supported=yes
6590 else
6591 _pkg_short_errors_supported=no
6592 fi
6593 if test $_pkg_short_errors_supported = yes; then
6594 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6595 else
6596 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.15" 2>&1`
6597 fi
6598 # Put the nasty error message in config.log where it belongs
6599 echo "$LIBINPUT_PKG_ERRORS" >&5
6600
6601
6602 pkg_failed=no
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6604 printf %s "checking for libinput >= 1.5... " >&6; }
6605
6606 if test -n "$LIBINPUT_CFLAGS"; then
6607 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6608 elif test -n "$PKG_CONFIG"; then
6609 if test -n "$PKG_CONFIG" && \
6610 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6611 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6612 ac_status=$?
6613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6614 test $ac_status = 0; }; then
6615 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6616 test "x$?" != "x0" && pkg_failed=yes
6617 else
6618 pkg_failed=yes
6619 fi
6620 else
6621 pkg_failed=untried
6622 fi
6623 if test -n "$LIBINPUT_LIBS"; then
6624 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6625 elif test -n "$PKG_CONFIG"; then
6626 if test -n "$PKG_CONFIG" && \
6627 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6628 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6629 ac_status=$?
6630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6631 test $ac_status = 0; }; then
6632 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6633 test "x$?" != "x0" && pkg_failed=yes
6634 else
6635 pkg_failed=yes
6636 fi
6637 else
6638 pkg_failed=untried
6639 fi
6640
6641
6642
6643 if test $pkg_failed = yes; then
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 printf "%s\n" "no" >&6; }
6646
6647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6648 _pkg_short_errors_supported=yes
6649 else
6650 _pkg_short_errors_supported=no
6651 fi
6652 if test $_pkg_short_errors_supported = yes; then
6653 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6654 else
6655 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6656 fi
6657 # Put the nasty error message in config.log where it belongs
6658 echo "$LIBINPUT_PKG_ERRORS" >&5
6659
6660 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6661
6662 $LIBINPUT_PKG_ERRORS
6663
6664 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6665 installed software in a non-standard prefix.
6666
6667 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6668 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6669 See the pkg-config man page for more details." "$LINENO" 5
6670 elif test $pkg_failed = untried; then
6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 printf "%s\n" "no" >&6; }
6673 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6674 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6675 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6676 is in your PATH or set the PKG_CONFIG environment variable to the full
6677 path to pkg-config.
6678
6679 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6680 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6681 See the pkg-config man page for more details.
6682
6683 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6684 See \`config.log' for more details" "$LINENO" 5; }
6685 else
6686 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6687 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6689 printf "%s\n" "yes" >&6; }
6690
6691 fi
6692 elif test $pkg_failed = untried; then
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 printf "%s\n" "no" >&6; }
6695
6696 pkg_failed=no
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libinput >= 1.5" >&5
6698 printf %s "checking for libinput >= 1.5... " >&6; }
6699
6700 if test -n "$LIBINPUT_CFLAGS"; then
6701 pkg_cv_LIBINPUT_CFLAGS="$LIBINPUT_CFLAGS"
6702 elif test -n "$PKG_CONFIG"; then
6703 if test -n "$PKG_CONFIG" && \
6704 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6705 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6706 ac_status=$?
6707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 test $ac_status = 0; }; then
6709 pkg_cv_LIBINPUT_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 1.5" 2>/dev/null`
6710 test "x$?" != "x0" && pkg_failed=yes
6711 else
6712 pkg_failed=yes
6713 fi
6714 else
6715 pkg_failed=untried
6716 fi
6717 if test -n "$LIBINPUT_LIBS"; then
6718 pkg_cv_LIBINPUT_LIBS="$LIBINPUT_LIBS"
6719 elif test -n "$PKG_CONFIG"; then
6720 if test -n "$PKG_CONFIG" && \
6721 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 1.5\""; } >&5
6722 ($PKG_CONFIG --exists --print-errors "libinput >= 1.5") 2>&5
6723 ac_status=$?
6724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725 test $ac_status = 0; }; then
6726 pkg_cv_LIBINPUT_LIBS=`$PKG_CONFIG --libs "libinput >= 1.5" 2>/dev/null`
6727 test "x$?" != "x0" && pkg_failed=yes
6728 else
6729 pkg_failed=yes
6730 fi
6731 else
6732 pkg_failed=untried
6733 fi
6734
6735
6736
6737 if test $pkg_failed = yes; then
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 printf "%s\n" "no" >&6; }
6740
6741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6742 _pkg_short_errors_supported=yes
6743 else
6744 _pkg_short_errors_supported=no
6745 fi
6746 if test $_pkg_short_errors_supported = yes; then
6747 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6748 else
6749 LIBINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 1.5" 2>&1`
6750 fi
6751 # Put the nasty error message in config.log where it belongs
6752 echo "$LIBINPUT_PKG_ERRORS" >&5
6753
6754 as_fn_error $? "Package requirements (libinput >= 1.5) were not met:
6755
6756 $LIBINPUT_PKG_ERRORS
6757
6758 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6759 installed software in a non-standard prefix.
6760
6761 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6762 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6763 See the pkg-config man page for more details." "$LINENO" 5
6764 elif test $pkg_failed = untried; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 printf "%s\n" "no" >&6; }
6767 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6768 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6769 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6770 is in your PATH or set the PKG_CONFIG environment variable to the full
6771 path to pkg-config.
6772
6773 Alternatively, you may set the environment variables LIBINPUT_CFLAGS
6774 and LIBINPUT_LIBS to avoid the need to call pkg-config.
6775 See the pkg-config man page for more details.
6776
6777 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6778 See \`config.log' for more details" "$LINENO" 5; }
6779 else
6780 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6781 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6783 printf "%s\n" "yes" >&6; }
6784
6785 fi
6786 else
6787 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6788 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6790 printf "%s\n" "yes" >&6; }
6791
6792 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6793
6794 fi
6795 else
6796 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6797 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6799 printf "%s\n" "yes" >&6; }
6800
6801 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
6802
6803
6804 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6805
6806 fi
6807 else
6808 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6809 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6811 printf "%s\n" "yes" >&6; }
6812
6813 printf "%s\n" "#define HAVE_LIBINPUT_1_23 /**/" >>confdefs.h
6814
6815
6816 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
6817
6818
6819 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6820
6821 fi
6822 else
6823 LIBINPUT_CFLAGS=$pkg_cv_LIBINPUT_CFLAGS
6824 LIBINPUT_LIBS=$pkg_cv_LIBINPUT_LIBS
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6826 printf "%s\n" "yes" >&6; }
6827
6828 printf "%s\n" "#define HAVE_LIBINPUT_1_23 /**/" >>confdefs.h
6829
6830
6831 printf "%s\n" "#define HAVE_LIBINPUT_1_23 /**/" >>confdefs.h
6832
6833
6834 printf "%s\n" "#define HAVE_LIBINPUT_1_21 /**/" >>confdefs.h
6835
6836
6837 printf "%s\n" "#define HAVE_LIBINPUT_1_15 /**/" >>confdefs.h
6838
6839 fi
6840
6841 pkg_failed=no
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libudev" >&5
6843 printf %s "checking for libudev... " >&6; }
6844
6845 if test -n "$LIBUDEV_CFLAGS"; then
6846 pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
6847 elif test -n "$PKG_CONFIG"; then
6848 if test -n "$PKG_CONFIG" && \
6849 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
6850 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
6851 ac_status=$?
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6853 test $ac_status = 0; }; then
6854 pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
6855 test "x$?" != "x0" && pkg_failed=yes
6856 else
6857 pkg_failed=yes
6858 fi
6859 else
6860 pkg_failed=untried
6861 fi
6862 if test -n "$LIBUDEV_LIBS"; then
6863 pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
6864 elif test -n "$PKG_CONFIG"; then
6865 if test -n "$PKG_CONFIG" && \
6866 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
6867 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
6868 ac_status=$?
6869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; }; then
6871 pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
6872 test "x$?" != "x0" && pkg_failed=yes
6873 else
6874 pkg_failed=yes
6875 fi
6876 else
6877 pkg_failed=untried
6878 fi
6879
6880
6881
6882 if test $pkg_failed = yes; then
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 printf "%s\n" "no" >&6; }
6885
6886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6887 _pkg_short_errors_supported=yes
6888 else
6889 _pkg_short_errors_supported=no
6890 fi
6891 if test $_pkg_short_errors_supported = yes; then
6892 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
6893 else
6894 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
6895 fi
6896 # Put the nasty error message in config.log where it belongs
6897 echo "$LIBUDEV_PKG_ERRORS" >&5
6898
6899 as_fn_error $? "Package requirements (libudev) were not met:
6900
6901 $LIBUDEV_PKG_ERRORS
6902
6903 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6904 installed software in a non-standard prefix.
6905
6906 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
6907 and LIBUDEV_LIBS to avoid the need to call pkg-config.
6908 See the pkg-config man page for more details." "$LINENO" 5
6909 elif test $pkg_failed = untried; then
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 printf "%s\n" "no" >&6; }
6912 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6913 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6914 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6915 is in your PATH or set the PKG_CONFIG environment variable to the full
6916 path to pkg-config.
6917
6918 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
6919 and LIBUDEV_LIBS to avoid the need to call pkg-config.
6920 See the pkg-config man page for more details.
6921
6922 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6923 See \`config.log' for more details" "$LINENO" 5; }
6924 else
6925 LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
6926 LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6928 printf "%s\n" "yes" >&6; }
6929
6930 fi
6931
6932 pkg_failed=no
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevdev >= 0.4" >&5
6934 printf %s "checking for libevdev >= 0.4... " >&6; }
6935
6936 if test -n "$LIBEVDEV_CFLAGS"; then
6937 pkg_cv_LIBEVDEV_CFLAGS="$LIBEVDEV_CFLAGS"
6938 elif test -n "$PKG_CONFIG"; then
6939 if test -n "$PKG_CONFIG" && \
6940 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevdev >= 0.4\""; } >&5
6941 ($PKG_CONFIG --exists --print-errors "libevdev >= 0.4") 2>&5
6942 ac_status=$?
6943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6944 test $ac_status = 0; }; then
6945 pkg_cv_LIBEVDEV_CFLAGS=`$PKG_CONFIG --cflags "libevdev >= 0.4" 2>/dev/null`
6946 test "x$?" != "x0" && pkg_failed=yes
6947 else
6948 pkg_failed=yes
6949 fi
6950 else
6951 pkg_failed=untried
6952 fi
6953 if test -n "$LIBEVDEV_LIBS"; then
6954 pkg_cv_LIBEVDEV_LIBS="$LIBEVDEV_LIBS"
6955 elif test -n "$PKG_CONFIG"; then
6956 if test -n "$PKG_CONFIG" && \
6957 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevdev >= 0.4\""; } >&5
6958 ($PKG_CONFIG --exists --print-errors "libevdev >= 0.4") 2>&5
6959 ac_status=$?
6960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6961 test $ac_status = 0; }; then
6962 pkg_cv_LIBEVDEV_LIBS=`$PKG_CONFIG --libs "libevdev >= 0.4" 2>/dev/null`
6963 test "x$?" != "x0" && pkg_failed=yes
6964 else
6965 pkg_failed=yes
6966 fi
6967 else
6968 pkg_failed=untried
6969 fi
6970
6971
6972
6973 if test $pkg_failed = yes; then
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 printf "%s\n" "no" >&6; }
6976
6977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6978 _pkg_short_errors_supported=yes
6979 else
6980 _pkg_short_errors_supported=no
6981 fi
6982 if test $_pkg_short_errors_supported = yes; then
6983 LIBEVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libevdev >= 0.4" 2>&1`
6984 else
6985 LIBEVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libevdev >= 0.4" 2>&1`
6986 fi
6987 # Put the nasty error message in config.log where it belongs
6988 echo "$LIBEVDEV_PKG_ERRORS" >&5
6989
6990 as_fn_error $? "Package requirements (libevdev >= 0.4) were not met:
6991
6992 $LIBEVDEV_PKG_ERRORS
6993
6994 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6995 installed software in a non-standard prefix.
6996
6997 Alternatively, you may set the environment variables LIBEVDEV_CFLAGS
6998 and LIBEVDEV_LIBS to avoid the need to call pkg-config.
6999 See the pkg-config man page for more details." "$LINENO" 5
7000 elif test $pkg_failed = untried; then
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002 printf "%s\n" "no" >&6; }
7003 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7004 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7005 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7006 is in your PATH or set the PKG_CONFIG environment variable to the full
7007 path to pkg-config.
7008
7009 Alternatively, you may set the environment variables LIBEVDEV_CFLAGS
7010 and LIBEVDEV_LIBS to avoid the need to call pkg-config.
7011 See the pkg-config man page for more details.
7012
7013 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7014 See \`config.log' for more details" "$LINENO" 5; }
7015 else
7016 LIBEVDEV_CFLAGS=$pkg_cv_LIBEVDEV_CFLAGS
7017 LIBEVDEV_LIBS=$pkg_cv_LIBEVDEV_LIBS
7018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7019 printf "%s\n" "yes" >&6; }
7020
7021 fi
7022
7023 ac_config_files="$ac_config_files Makefile src/Makefile"
7024
7025 cat >confcache <<\_ACEOF
7026 # This file is a shell script that caches the results of configure
7027 # tests run on this system so they can be shared between configure
7028 # scripts and configure runs, see configure's option --config-cache.
7029 # It is not useful on other systems. If it contains results you don't
7030 # want to keep, you may remove or edit it.
7031 #
7032 # config.status only pays attention to the cache file if you give it
7033 # the --recheck option to rerun configure.
7034 #
7035 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7037 # following values.
7038
7039 _ACEOF
7040
7041 # The following way of writing the cache mishandles newlines in values,
7042 # but we know of no workaround that is simple, portable, and efficient.
7043 # So, we kill variables containing newlines.
7044 # Ultrix sh set writes to stderr and can't be redirected directly,
7045 # and sets the high bit in the cache file unless we assign to the vars.
7046 (
7047 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7048 eval ac_val=\$$ac_var
7049 case $ac_val in #(
7050 *${as_nl}*)
7051 case $ac_var in #(
7052 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7053 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7054 esac
7055 case $ac_var in #(
7056 _ | IFS | as_nl) ;; #(
7057 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7058 *) { eval $ac_var=; unset $ac_var;} ;;
7059 esac ;;
7060 esac
7061 done
7062
7063 (set) 2>&1 |
7064 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7065 *${as_nl}ac_space=\ *)
7066 # `set' does not quote correctly, so add quotes: double-quote
7067 # substitution turns \\\\ into \\, and sed turns \\ into \.
7068 sed -n \
7069 "s/'/'\\\\''/g;
7070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7071 ;; #(
7072 *)
7073 # `set' quotes correctly as required by POSIX, so do not add quotes.
7074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7075 ;;
7076 esac |
7077 sort
7078 ) |
7079 sed '
7080 /^ac_cv_env_/b end
7081 t clear
7082 :clear
7083 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
7084 t end
7085 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7086 :end' >>confcache
7087 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7088 if test -w "$cache_file"; then
7089 if test "x$cache_file" != "x/dev/null"; then
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7091 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
7092 if test ! -f "$cache_file" || test -h "$cache_file"; then
7093 cat confcache >"$cache_file"
7094 else
7095 case $cache_file in #(
7096 */* | ?:*)
7097 mv -f confcache "$cache_file"$$ &&
7098 mv -f "$cache_file"$$ "$cache_file" ;; #(
7099 *)
7100 mv -f confcache "$cache_file" ;;
7101 esac
7102 fi
7103 fi
7104 else
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7106 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
7107 fi
7108 fi
7109 rm -f confcache
7110
7111 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7112 # Let make expand exec_prefix.
7113 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7114
7115 DEFS=-DHAVE_CONFIG_H
7116
7117 ac_libobjs=
7118 ac_ltlibobjs=
7119 U=
7120 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7121 # 1. Remove the extension, and $U if already installed.
7122 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7123 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
7124 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7125 # will be set to the directory where LIBOBJS objects are built.
7126 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7127 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7128 done
7129 LIBOBJS=$ac_libobjs
7130
7131 LTLIBOBJS=$ac_ltlibobjs
7132
7133
7134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7135 printf %s "checking that generated files are newer than configure... " >&6; }
7136 if test -n "$am_sleep_pid"; then
7137 # Hide warnings about reused PIDs.
7138 wait $am_sleep_pid 2>/dev/null
7139 fi
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
7141 printf "%s\n" "done" >&6; }
7142 if test -n "$EXEEXT"; then
7143 am__EXEEXT_TRUE=
7144 am__EXEEXT_FALSE='#'
7145 else
7146 am__EXEEXT_TRUE='#'
7147 am__EXEEXT_FALSE=
7148 fi
7149
7150 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7151 as_fn_error $? "conditional \"AMDEP\" was never defined.
7152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7153 fi
7154 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7155 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7157 fi
7158
7159 : "${CONFIG_STATUS=./config.status}"
7160 ac_write_fail=0
7161 ac_clean_files_save=$ac_clean_files
7162 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7164 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
7165 as_write_fail=0
7166 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7167 #! $SHELL
7168 # Generated by $as_me.
7169 # Run this file to recreate the current configuration.
7170 # Compiler output produced by configure, useful for debugging
7171 # configure, is in config.log if it exists.
7172
7173 debug=false
7174 ac_cs_recheck=false
7175 ac_cs_silent=false
7176
7177 SHELL=\${CONFIG_SHELL-$SHELL}
7178 export SHELL
7179 _ASEOF
7180 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7181 ## -------------------- ##
7182 ## M4sh Initialization. ##
7183 ## -------------------- ##
7184
7185 # Be more Bourne compatible
7186 DUALCASE=1; export DUALCASE # for MKS sh
7187 as_nop=:
7188 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
7189 then :
7190 emulate sh
7191 NULLCMD=:
7192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7193 # is contrary to our usage. Disable this feature.
7194 alias -g '${1+"$@"}'='"$@"'
7195 setopt NO_GLOB_SUBST
7196 else $as_nop
7197 case `(set -o) 2>/dev/null` in #(
7198 *posix*) :
7199 set -o posix ;; #(
7200 *) :
7201 ;;
7202 esac
7203 fi
7204
7205
7206
7207 # Reset variables that may have inherited troublesome values from
7208 # the environment.
7209
7210 # IFS needs to be set, to space, tab, and newline, in precisely that order.
7211 # (If _AS_PATH_WALK were called with IFS unset, it would have the
7212 # side effect of setting IFS to empty, thus disabling word splitting.)
7213 # Quoting is to prevent editors from complaining about space-tab.
7214 as_nl='
7215 '
7216 export as_nl
7217 IFS=" "" $as_nl"
7218
7219 PS1='$ '
7220 PS2='> '
7221 PS4='+ '
7222
7223 # Ensure predictable behavior from utilities with locale-dependent output.
7224 LC_ALL=C
7225 export LC_ALL
7226 LANGUAGE=C
7227 export LANGUAGE
7228
7229 # We cannot yet rely on "unset" to work, but we need these variables
7230 # to be unset--not just set to an empty or harmless value--now, to
7231 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
7232 # also avoids known problems related to "unset" and subshell syntax
7233 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
7234 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
7235 do eval test \${$as_var+y} \
7236 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7237 done
7238
7239 # Ensure that fds 0, 1, and 2 are open.
7240 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
7241 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
7242 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7243
7244 # The user is always right.
7245 if ${PATH_SEPARATOR+false} :; then
7246 PATH_SEPARATOR=:
7247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7249 PATH_SEPARATOR=';'
7250 }
7251 fi
7252
7253
7254 # Find who we are. Look in the path if we contain no directory separator.
7255 as_myself=
7256 case $0 in #((
7257 *[\\/]* ) as_myself=$0 ;;
7258 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7260 do
7261 IFS=$as_save_IFS
7262 case $as_dir in #(((
7263 '') as_dir=./ ;;
7264 */) ;;
7265 *) as_dir=$as_dir/ ;;
7266 esac
7267 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
7268 done
7269 IFS=$as_save_IFS
7270
7271 ;;
7272 esac
7273 # We did not find ourselves, most probably we were run as `sh COMMAND'
7274 # in which case we are not to be found in the path.
7275 if test "x$as_myself" = x; then
7276 as_myself=$0
7277 fi
7278 if test ! -f "$as_myself"; then
7279 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7280 exit 1
7281 fi
7282
7283
7284
7285 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7286 # ----------------------------------------
7287 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7288 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7289 # script with STATUS, using 1 if that was 0.
7290 as_fn_error ()
7291 {
7292 as_status=$1; test $as_status -eq 0 && as_status=1
7293 if test "$4"; then
7294 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7296 fi
7297 printf "%s\n" "$as_me: error: $2" >&2
7298 as_fn_exit $as_status
7299 } # as_fn_error
7300
7301
7302
7303 # as_fn_set_status STATUS
7304 # -----------------------
7305 # Set $? to STATUS, without forking.
7306 as_fn_set_status ()
7307 {
7308 return $1
7309 } # as_fn_set_status
7310
7311 # as_fn_exit STATUS
7312 # -----------------
7313 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7314 as_fn_exit ()
7315 {
7316 set +e
7317 as_fn_set_status $1
7318 exit $1
7319 } # as_fn_exit
7320
7321 # as_fn_unset VAR
7322 # ---------------
7323 # Portably unset VAR.
7324 as_fn_unset ()
7325 {
7326 { eval $1=; unset $1;}
7327 }
7328 as_unset=as_fn_unset
7329
7330 # as_fn_append VAR VALUE
7331 # ----------------------
7332 # Append the text in VALUE to the end of the definition contained in VAR. Take
7333 # advantage of any shell optimizations that allow amortized linear growth over
7334 # repeated appends, instead of the typical quadratic growth present in naive
7335 # implementations.
7336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
7337 then :
7338 eval 'as_fn_append ()
7339 {
7340 eval $1+=\$2
7341 }'
7342 else $as_nop
7343 as_fn_append ()
7344 {
7345 eval $1=\$$1\$2
7346 }
7347 fi # as_fn_append
7348
7349 # as_fn_arith ARG...
7350 # ------------------
7351 # Perform arithmetic evaluation on the ARGs, and store the result in the
7352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7353 # must be portable across $(()) and expr.
7354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
7355 then :
7356 eval 'as_fn_arith ()
7357 {
7358 as_val=$(( $* ))
7359 }'
7360 else $as_nop
7361 as_fn_arith ()
7362 {
7363 as_val=`expr "$@" || test $? -eq 1`
7364 }
7365 fi # as_fn_arith
7366
7367
7368 if expr a : '\(a\)' >/dev/null 2>&1 &&
7369 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7370 as_expr=expr
7371 else
7372 as_expr=false
7373 fi
7374
7375 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7376 as_basename=basename
7377 else
7378 as_basename=false
7379 fi
7380
7381 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7382 as_dirname=dirname
7383 else
7384 as_dirname=false
7385 fi
7386
7387 as_me=`$as_basename -- "$0" ||
7388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7389 X"$0" : 'X\(//\)$' \| \
7390 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7391 printf "%s\n" X/"$0" |
7392 sed '/^.*\/\([^/][^/]*\)\/*$/{
7393 s//\1/
7394 q
7395 }
7396 /^X\/\(\/\/\)$/{
7397 s//\1/
7398 q
7399 }
7400 /^X\/\(\/\).*/{
7401 s//\1/
7402 q
7403 }
7404 s/.*/./; q'`
7405
7406 # Avoid depending upon Character Ranges.
7407 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7408 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7409 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7410 as_cr_digits='0123456789'
7411 as_cr_alnum=$as_cr_Letters$as_cr_digits
7412
7413
7414 # Determine whether it's possible to make 'echo' print without a newline.
7415 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
7416 # for compatibility with existing Makefiles.
7417 ECHO_C= ECHO_N= ECHO_T=
7418 case `echo -n x` in #(((((
7419 -n*)
7420 case `echo 'xy\c'` in
7421 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7422 xy) ECHO_C='\c';;
7423 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7424 ECHO_T=' ';;
7425 esac;;
7426 *)
7427 ECHO_N='-n';;
7428 esac
7429
7430 # For backward compatibility with old third-party macros, we provide
7431 # the shell variables $as_echo and $as_echo_n. New code should use
7432 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
7433 as_echo='printf %s\n'
7434 as_echo_n='printf %s'
7435
7436 rm -f conf$$ conf$$.exe conf$$.file
7437 if test -d conf$$.dir; then
7438 rm -f conf$$.dir/conf$$.file
7439 else
7440 rm -f conf$$.dir
7441 mkdir conf$$.dir 2>/dev/null
7442 fi
7443 if (echo >conf$$.file) 2>/dev/null; then
7444 if ln -s conf$$.file conf$$ 2>/dev/null; then
7445 as_ln_s='ln -s'
7446 # ... but there are two gotchas:
7447 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7448 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7449 # In both cases, we have to default to `cp -pR'.
7450 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7451 as_ln_s='cp -pR'
7452 elif ln conf$$.file conf$$ 2>/dev/null; then
7453 as_ln_s=ln
7454 else
7455 as_ln_s='cp -pR'
7456 fi
7457 else
7458 as_ln_s='cp -pR'
7459 fi
7460 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7461 rmdir conf$$.dir 2>/dev/null
7462
7463
7464 # as_fn_mkdir_p
7465 # -------------
7466 # Create "$as_dir" as a directory, including parents if necessary.
7467 as_fn_mkdir_p ()
7468 {
7469
7470 case $as_dir in #(
7471 -*) as_dir=./$as_dir;;
7472 esac
7473 test -d "$as_dir" || eval $as_mkdir_p || {
7474 as_dirs=
7475 while :; do
7476 case $as_dir in #(
7477 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7478 *) as_qdir=$as_dir;;
7479 esac
7480 as_dirs="'$as_qdir' $as_dirs"
7481 as_dir=`$as_dirname -- "$as_dir" ||
7482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7483 X"$as_dir" : 'X\(//\)[^/]' \| \
7484 X"$as_dir" : 'X\(//\)$' \| \
7485 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7486 printf "%s\n" X"$as_dir" |
7487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7488 s//\1/
7489 q
7490 }
7491 /^X\(\/\/\)[^/].*/{
7492 s//\1/
7493 q
7494 }
7495 /^X\(\/\/\)$/{
7496 s//\1/
7497 q
7498 }
7499 /^X\(\/\).*/{
7500 s//\1/
7501 q
7502 }
7503 s/.*/./; q'`
7504 test -d "$as_dir" && break
7505 done
7506 test -z "$as_dirs" || eval "mkdir $as_dirs"
7507 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7508
7509
7510 } # as_fn_mkdir_p
7511 if mkdir -p . 2>/dev/null; then
7512 as_mkdir_p='mkdir -p "$as_dir"'
7513 else
7514 test -d ./-p && rmdir ./-p
7515 as_mkdir_p=false
7516 fi
7517
7518
7519 # as_fn_executable_p FILE
7520 # -----------------------
7521 # Test if FILE is an executable regular file.
7522 as_fn_executable_p ()
7523 {
7524 test -f "$1" && test -x "$1"
7525 } # as_fn_executable_p
7526 as_test_x='test -x'
7527 as_executable_p=as_fn_executable_p
7528
7529 # Sed expression to map a string onto a valid CPP name.
7530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7531
7532 # Sed expression to map a string onto a valid variable name.
7533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7534
7535
7536 exec 6>&1
7537 ## ----------------------------------- ##
7538 ## Main body of $CONFIG_STATUS script. ##
7539 ## ----------------------------------- ##
7540 _ASEOF
7541 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7542
7543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7544 # Save the log message, to keep $0 and so on meaningful, and to
7545 # report actual input values of CONFIG_FILES etc. instead of their
7546 # values after options handling.
7547 ac_log="
7548 This file was extended by consolation $as_me 0.0.10, which was
7549 generated by GNU Autoconf 2.71. Invocation command line was
7550
7551 CONFIG_FILES = $CONFIG_FILES
7552 CONFIG_HEADERS = $CONFIG_HEADERS
7553 CONFIG_LINKS = $CONFIG_LINKS
7554 CONFIG_COMMANDS = $CONFIG_COMMANDS
7555 $ $0 $@
7556
7557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7558 "
7559
7560 _ACEOF
7561
7562 case $ac_config_files in *"
7563 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7564 esac
7565
7566 case $ac_config_headers in *"
7567 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7568 esac
7569
7570
7571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7572 # Files that config.status was made for.
7573 config_files="$ac_config_files"
7574 config_headers="$ac_config_headers"
7575 config_commands="$ac_config_commands"
7576
7577 _ACEOF
7578
7579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7580 ac_cs_usage="\
7581 \`$as_me' instantiates files and other configuration actions
7582 from templates according to the current configuration. Unless the files
7583 and actions are specified as TAGs, all are instantiated by default.
7584
7585 Usage: $0 [OPTION]... [TAG]...
7586
7587 -h, --help print this help, then exit
7588 -V, --version print version number and configuration settings, then exit
7589 --config print configuration, then exit
7590 -q, --quiet, --silent
7591 do not print progress messages
7592 -d, --debug don't remove temporary files
7593 --recheck update $as_me by reconfiguring in the same conditions
7594 --file=FILE[:TEMPLATE]
7595 instantiate the configuration file FILE
7596 --header=FILE[:TEMPLATE]
7597 instantiate the configuration header FILE
7598
7599 Configuration files:
7600 $config_files
7601
7602 Configuration headers:
7603 $config_headers
7604
7605 Configuration commands:
7606 $config_commands
7607
7608 Report bugs to the package provider."
7609
7610 _ACEOF
7611 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
7612 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
7613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7614 ac_cs_config='$ac_cs_config_escaped'
7615 ac_cs_version="\\
7616 consolation config.status 0.0.10
7617 configured by $0, generated by GNU Autoconf 2.71,
7618 with options \\"\$ac_cs_config\\"
7619
7620 Copyright (C) 2021 Free Software Foundation, Inc.
7621 This config.status script is free software; the Free Software Foundation
7622 gives unlimited permission to copy, distribute and modify it."
7623
7624 ac_pwd='$ac_pwd'
7625 srcdir='$srcdir'
7626 INSTALL='$INSTALL'
7627 MKDIR_P='$MKDIR_P'
7628 AWK='$AWK'
7629 test -n "\$AWK" || AWK=awk
7630 _ACEOF
7631
7632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7633 # The default lists apply if the user does not specify any file.
7634 ac_need_defaults=:
7635 while test $# != 0
7636 do
7637 case $1 in
7638 --*=?*)
7639 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7640 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7641 ac_shift=:
7642 ;;
7643 --*=)
7644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7645 ac_optarg=
7646 ac_shift=:
7647 ;;
7648 *)
7649 ac_option=$1
7650 ac_optarg=$2
7651 ac_shift=shift
7652 ;;
7653 esac
7654
7655 case $ac_option in
7656 # Handling of the options.
7657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7658 ac_cs_recheck=: ;;
7659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7660 printf "%s\n" "$ac_cs_version"; exit ;;
7661 --config | --confi | --conf | --con | --co | --c )
7662 printf "%s\n" "$ac_cs_config"; exit ;;
7663 --debug | --debu | --deb | --de | --d | -d )
7664 debug=: ;;
7665 --file | --fil | --fi | --f )
7666 $ac_shift
7667 case $ac_optarg in
7668 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7669 '') as_fn_error $? "missing file argument" ;;
7670 esac
7671 as_fn_append CONFIG_FILES " '$ac_optarg'"
7672 ac_need_defaults=false;;
7673 --header | --heade | --head | --hea )
7674 $ac_shift
7675 case $ac_optarg in
7676 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7677 esac
7678 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7679 ac_need_defaults=false;;
7680 --he | --h)
7681 # Conflict between --help and --header
7682 as_fn_error $? "ambiguous option: \`$1'
7683 Try \`$0 --help' for more information.";;
7684 --help | --hel | -h )
7685 printf "%s\n" "$ac_cs_usage"; exit ;;
7686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7687 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7688 ac_cs_silent=: ;;
7689
7690 # This is an error.
7691 -*) as_fn_error $? "unrecognized option: \`$1'
7692 Try \`$0 --help' for more information." ;;
7693
7694 *) as_fn_append ac_config_targets " $1"
7695 ac_need_defaults=false ;;
7696
7697 esac
7698 shift
7699 done
7700
7701 ac_configure_extra_args=
7702
7703 if $ac_cs_silent; then
7704 exec 6>/dev/null
7705 ac_configure_extra_args="$ac_configure_extra_args --silent"
7706 fi
7707
7708 _ACEOF
7709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7710 if \$ac_cs_recheck; then
7711 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7712 shift
7713 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
7714 CONFIG_SHELL='$SHELL'
7715 export CONFIG_SHELL
7716 exec "\$@"
7717 fi
7718
7719 _ACEOF
7720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7721 exec 5>>config.log
7722 {
7723 echo
7724 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7725 ## Running $as_me. ##
7726 _ASBOX
7727 printf "%s\n" "$ac_log"
7728 } >&5
7729
7730 _ACEOF
7731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7732 #
7733 # INIT-COMMANDS
7734 #
7735 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7736
7737 _ACEOF
7738
7739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7740
7741 # Handling of arguments.
7742 for ac_config_target in $ac_config_targets
7743 do
7744 case $ac_config_target in
7745 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
7746 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7747 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7748 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7749
7750 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7751 esac
7752 done
7753
7754
7755 # If the user did not use the arguments to specify the items to instantiate,
7756 # then the envvar interface is used. Set only those that are not.
7757 # We use the long form for the default assignment because of an extremely
7758 # bizarre bug on SunOS 4.1.3.
7759 if $ac_need_defaults; then
7760 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
7761 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
7762 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
7763 fi
7764
7765 # Have a temporary directory for convenience. Make it in the build tree
7766 # simply because there is no reason against having it here, and in addition,
7767 # creating and moving files from /tmp can sometimes cause problems.
7768 # Hook for its removal unless debugging.
7769 # Note that there is a small window in which the directory will not be cleaned:
7770 # after its creation but before its name has been assigned to `$tmp'.
7771 $debug ||
7772 {
7773 tmp= ac_tmp=
7774 trap 'exit_status=$?
7775 : "${ac_tmp:=$tmp}"
7776 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7777 ' 0
7778 trap 'as_fn_exit 1' 1 2 13 15
7779 }
7780 # Create a (secure) tmp directory for tmp files.
7781
7782 {
7783 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7784 test -d "$tmp"
7785 } ||
7786 {
7787 tmp=./conf$$-$RANDOM
7788 (umask 077 && mkdir "$tmp")
7789 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7790 ac_tmp=$tmp
7791
7792 # Set up the scripts for CONFIG_FILES section.
7793 # No need to generate them if there are no CONFIG_FILES.
7794 # This happens for instance with `./config.status config.h'.
7795 if test -n "$CONFIG_FILES"; then
7796
7797
7798 ac_cr=`echo X | tr X '\015'`
7799 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7800 # But we know of no other shell where ac_cr would be empty at this
7801 # point, so we can use a bashism as a fallback.
7802 if test "x$ac_cr" = x; then
7803 eval ac_cr=\$\'\\r\'
7804 fi
7805 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7806 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7807 ac_cs_awk_cr='\\r'
7808 else
7809 ac_cs_awk_cr=$ac_cr
7810 fi
7811
7812 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7813 _ACEOF
7814
7815
7816 {
7817 echo "cat >conf$$subs.awk <<_ACEOF" &&
7818 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7819 echo "_ACEOF"
7820 } >conf$$subs.sh ||
7821 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7822 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7823 ac_delim='%!_!# '
7824 for ac_last_try in false false false false false :; do
7825 . ./conf$$subs.sh ||
7826 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7827
7828 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7829 if test $ac_delim_n = $ac_delim_num; then
7830 break
7831 elif $ac_last_try; then
7832 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7833 else
7834 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7835 fi
7836 done
7837 rm -f conf$$subs.sh
7838
7839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7840 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7841 _ACEOF
7842 sed -n '
7843 h
7844 s/^/S["/; s/!.*/"]=/
7845 p
7846 g
7847 s/^[^!]*!//
7848 :repl
7849 t repl
7850 s/'"$ac_delim"'$//
7851 t delim
7852 :nl
7853 h
7854 s/\(.\{148\}\)..*/\1/
7855 t more1
7856 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7857 p
7858 n
7859 b repl
7860 :more1
7861 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7862 p
7863 g
7864 s/.\{148\}//
7865 t nl
7866 :delim
7867 h
7868 s/\(.\{148\}\)..*/\1/
7869 t more2
7870 s/["\\]/\\&/g; s/^/"/; s/$/"/
7871 p
7872 b
7873 :more2
7874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7875 p
7876 g
7877 s/.\{148\}//
7878 t delim
7879 ' <conf$$subs.awk | sed '
7880 /^[^""]/{
7881 N
7882 s/\n//
7883 }
7884 ' >>$CONFIG_STATUS || ac_write_fail=1
7885 rm -f conf$$subs.awk
7886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7887 _ACAWK
7888 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7889 for (key in S) S_is_set[key] = 1
7890 FS = ""
7891
7892 }
7893 {
7894 line = $ 0
7895 nfields = split(line, field, "@")
7896 substed = 0
7897 len = length(field[1])
7898 for (i = 2; i < nfields; i++) {
7899 key = field[i]
7900 keylen = length(key)
7901 if (S_is_set[key]) {
7902 value = S[key]
7903 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7904 len += length(value) + length(field[++i])
7905 substed = 1
7906 } else
7907 len += 1 + keylen
7908 }
7909
7910 print line
7911 }
7912
7913 _ACAWK
7914 _ACEOF
7915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7916 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7917 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7918 else
7919 cat
7920 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7921 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7922 _ACEOF
7923
7924 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7925 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7926 # trailing colons and then remove the whole line if VPATH becomes empty
7927 # (actually we leave an empty line to preserve line numbers).
7928 if test "x$srcdir" = x.; then
7929 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7930 h
7931 s///
7932 s/^/:/
7933 s/[ ]*$/:/
7934 s/:\$(srcdir):/:/g
7935 s/:\${srcdir}:/:/g
7936 s/:@srcdir@:/:/g
7937 s/^:*//
7938 s/:*$//
7939 x
7940 s/\(=[ ]*\).*/\1/
7941 G
7942 s/\n//
7943 s/^[^=]*=[ ]*$//
7944 }'
7945 fi
7946
7947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7948 fi # test -n "$CONFIG_FILES"
7949
7950 # Set up the scripts for CONFIG_HEADERS section.
7951 # No need to generate them if there are no CONFIG_HEADERS.
7952 # This happens for instance with `./config.status Makefile'.
7953 if test -n "$CONFIG_HEADERS"; then
7954 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7955 BEGIN {
7956 _ACEOF
7957
7958 # Transform confdefs.h into an awk script `defines.awk', embedded as
7959 # here-document in config.status, that substitutes the proper values into
7960 # config.h.in to produce config.h.
7961
7962 # Create a delimiter string that does not exist in confdefs.h, to ease
7963 # handling of long lines.
7964 ac_delim='%!_!# '
7965 for ac_last_try in false false :; do
7966 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7967 if test -z "$ac_tt"; then
7968 break
7969 elif $ac_last_try; then
7970 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7971 else
7972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7973 fi
7974 done
7975
7976 # For the awk script, D is an array of macro values keyed by name,
7977 # likewise P contains macro parameters if any. Preserve backslash
7978 # newline sequences.
7979
7980 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7981 sed -n '
7982 s/.\{148\}/&'"$ac_delim"'/g
7983 t rset
7984 :rset
7985 s/^[ ]*#[ ]*define[ ][ ]*/ /
7986 t def
7987 d
7988 :def
7989 s/\\$//
7990 t bsnl
7991 s/["\\]/\\&/g
7992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7993 D["\1"]=" \3"/p
7994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7995 d
7996 :bsnl
7997 s/["\\]/\\&/g
7998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7999 D["\1"]=" \3\\\\\\n"\\/p
8000 t cont
8001 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8002 t cont
8003 d
8004 :cont
8005 n
8006 s/.\{148\}/&'"$ac_delim"'/g
8007 t clear
8008 :clear
8009 s/\\$//
8010 t bsnlc
8011 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8012 d
8013 :bsnlc
8014 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8015 b cont
8016 ' <confdefs.h | sed '
8017 s/'"$ac_delim"'/"\\\
8018 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8019
8020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8021 for (key in D) D_is_set[key] = 1
8022 FS = ""
8023 }
8024 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8025 line = \$ 0
8026 split(line, arg, " ")
8027 if (arg[1] == "#") {
8028 defundef = arg[2]
8029 mac1 = arg[3]
8030 } else {
8031 defundef = substr(arg[1], 2)
8032 mac1 = arg[2]
8033 }
8034 split(mac1, mac2, "(") #)
8035 macro = mac2[1]
8036 prefix = substr(line, 1, index(line, defundef) - 1)
8037 if (D_is_set[macro]) {
8038 # Preserve the white space surrounding the "#".
8039 print prefix "define", macro P[macro] D[macro]
8040 next
8041 } else {
8042 # Replace #undef with comments. This is necessary, for example,
8043 # in the case of _POSIX_SOURCE, which is predefined and required
8044 # on some systems where configure will not decide to define it.
8045 if (defundef == "undef") {
8046 print "/*", prefix defundef, macro, "*/"
8047 next
8048 }
8049 }
8050 }
8051 { print }
8052 _ACAWK
8053 _ACEOF
8054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8055 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8056 fi # test -n "$CONFIG_HEADERS"
8057
8058
8059 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8060 shift
8061 for ac_tag
8062 do
8063 case $ac_tag in
8064 :[FHLC]) ac_mode=$ac_tag; continue;;
8065 esac
8066 case $ac_mode$ac_tag in
8067 :[FHL]*:*);;
8068 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8069 :[FH]-) ac_tag=-:-;;
8070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8071 esac
8072 ac_save_IFS=$IFS
8073 IFS=:
8074 set x $ac_tag
8075 IFS=$ac_save_IFS
8076 shift
8077 ac_file=$1
8078 shift
8079
8080 case $ac_mode in
8081 :L) ac_source=$1;;
8082 :[FH])
8083 ac_file_inputs=
8084 for ac_f
8085 do
8086 case $ac_f in
8087 -) ac_f="$ac_tmp/stdin";;
8088 *) # Look for the file first in the build tree, then in the source tree
8089 # (if the path is not absolute). The absolute path cannot be DOS-style,
8090 # because $ac_f cannot contain `:'.
8091 test -f "$ac_f" ||
8092 case $ac_f in
8093 [\\/$]*) false;;
8094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8095 esac ||
8096 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8097 esac
8098 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8099 as_fn_append ac_file_inputs " '$ac_f'"
8100 done
8101
8102 # Let's still pretend it is `configure' which instantiates (i.e., don't
8103 # use $as_me), people would be surprised to read:
8104 # /* config.h. Generated by config.status. */
8105 configure_input='Generated from '`
8106 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8107 `' by configure.'
8108 if test x"$ac_file" != x-; then
8109 configure_input="$ac_file. $configure_input"
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8111 printf "%s\n" "$as_me: creating $ac_file" >&6;}
8112 fi
8113 # Neutralize special characters interpreted by sed in replacement strings.
8114 case $configure_input in #(
8115 *\&* | *\|* | *\\* )
8116 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
8117 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8118 *) ac_sed_conf_input=$configure_input;;
8119 esac
8120
8121 case $ac_tag in
8122 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8124 esac
8125 ;;
8126 esac
8127
8128 ac_dir=`$as_dirname -- "$ac_file" ||
8129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8130 X"$ac_file" : 'X\(//\)[^/]' \| \
8131 X"$ac_file" : 'X\(//\)$' \| \
8132 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8133 printf "%s\n" X"$ac_file" |
8134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8135 s//\1/
8136 q
8137 }
8138 /^X\(\/\/\)[^/].*/{
8139 s//\1/
8140 q
8141 }
8142 /^X\(\/\/\)$/{
8143 s//\1/
8144 q
8145 }
8146 /^X\(\/\).*/{
8147 s//\1/
8148 q
8149 }
8150 s/.*/./; q'`
8151 as_dir="$ac_dir"; as_fn_mkdir_p
8152 ac_builddir=.
8153
8154 case "$ac_dir" in
8155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8156 *)
8157 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
8158 # A ".." for each directory in $ac_dir_suffix.
8159 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8160 case $ac_top_builddir_sub in
8161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8163 esac ;;
8164 esac
8165 ac_abs_top_builddir=$ac_pwd
8166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8167 # for backward compatibility:
8168 ac_top_builddir=$ac_top_build_prefix
8169
8170 case $srcdir in
8171 .) # We are building in place.
8172 ac_srcdir=.
8173 ac_top_srcdir=$ac_top_builddir_sub
8174 ac_abs_top_srcdir=$ac_pwd ;;
8175 [\\/]* | ?:[\\/]* ) # Absolute name.
8176 ac_srcdir=$srcdir$ac_dir_suffix;
8177 ac_top_srcdir=$srcdir
8178 ac_abs_top_srcdir=$srcdir ;;
8179 *) # Relative name.
8180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8181 ac_top_srcdir=$ac_top_build_prefix$srcdir
8182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8183 esac
8184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8185
8186
8187 case $ac_mode in
8188 :F)
8189 #
8190 # CONFIG_FILE
8191 #
8192
8193 case $INSTALL in
8194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8196 esac
8197 ac_MKDIR_P=$MKDIR_P
8198 case $MKDIR_P in
8199 [\\/$]* | ?:[\\/]* ) ;;
8200 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8201 esac
8202 _ACEOF
8203
8204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8205 # If the template does not know about datarootdir, expand it.
8206 # FIXME: This hack should be removed a few years after 2.60.
8207 ac_datarootdir_hack=; ac_datarootdir_seen=
8208 ac_sed_dataroot='
8209 /datarootdir/ {
8210 p
8211 q
8212 }
8213 /@datadir@/p
8214 /@docdir@/p
8215 /@infodir@/p
8216 /@localedir@/p
8217 /@mandir@/p'
8218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8219 *datarootdir*) ac_datarootdir_seen=yes;;
8220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8222 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8223 _ACEOF
8224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8225 ac_datarootdir_hack='
8226 s&@datadir@&$datadir&g
8227 s&@docdir@&$docdir&g
8228 s&@infodir@&$infodir&g
8229 s&@localedir@&$localedir&g
8230 s&@mandir@&$mandir&g
8231 s&\\\${datarootdir}&$datarootdir&g' ;;
8232 esac
8233 _ACEOF
8234
8235 # Neutralize VPATH when `$srcdir' = `.'.
8236 # Shell code in configure.ac might set extrasub.
8237 # FIXME: do we really want to maintain this feature?
8238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8239 ac_sed_extra="$ac_vpsub
8240 $extrasub
8241 _ACEOF
8242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8243 :t
8244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8245 s|@configure_input@|$ac_sed_conf_input|;t t
8246 s&@top_builddir@&$ac_top_builddir_sub&;t t
8247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8248 s&@srcdir@&$ac_srcdir&;t t
8249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8250 s&@top_srcdir@&$ac_top_srcdir&;t t
8251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8252 s&@builddir@&$ac_builddir&;t t
8253 s&@abs_builddir@&$ac_abs_builddir&;t t
8254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8255 s&@INSTALL@&$ac_INSTALL&;t t
8256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8257 $ac_datarootdir_hack
8258 "
8259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8260 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8261
8262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8263 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8265 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8267 which seems to be undefined. Please make sure it is defined" >&5
8268 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8269 which seems to be undefined. Please make sure it is defined" >&2;}
8270
8271 rm -f "$ac_tmp/stdin"
8272 case $ac_file in
8273 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8274 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8275 esac \
8276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8277 ;;
8278 :H)
8279 #
8280 # CONFIG_HEADER
8281 #
8282 if test x"$ac_file" != x-; then
8283 {
8284 printf "%s\n" "/* $configure_input */" >&1 \
8285 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8286 } >"$ac_tmp/config.h" \
8287 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8288 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8290 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
8291 else
8292 rm -f "$ac_file"
8293 mv "$ac_tmp/config.h" "$ac_file" \
8294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8295 fi
8296 else
8297 printf "%s\n" "/* $configure_input */" >&1 \
8298 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8299 || as_fn_error $? "could not create -" "$LINENO" 5
8300 fi
8301 # Compute "$ac_file"'s index in $config_headers.
8302 _am_arg="$ac_file"
8303 _am_stamp_count=1
8304 for _am_header in $config_headers :; do
8305 case $_am_header in
8306 $_am_arg | $_am_arg:* )
8307 break ;;
8308 * )
8309 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8310 esac
8311 done
8312 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8313 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8314 X"$_am_arg" : 'X\(//\)[^/]' \| \
8315 X"$_am_arg" : 'X\(//\)$' \| \
8316 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8317 printf "%s\n" X"$_am_arg" |
8318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8319 s//\1/
8320 q
8321 }
8322 /^X\(\/\/\)[^/].*/{
8323 s//\1/
8324 q
8325 }
8326 /^X\(\/\/\)$/{
8327 s//\1/
8328 q
8329 }
8330 /^X\(\/\).*/{
8331 s//\1/
8332 q
8333 }
8334 s/.*/./; q'`/stamp-h$_am_stamp_count
8335 ;;
8336
8337 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8338 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
8339 ;;
8340 esac
8341
8342
8343 case $ac_file$ac_mode in
8344 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8345 # Older Autoconf quotes --file arguments for eval, but not when files
8346 # are listed without --file. Let's play safe and only enable the eval
8347 # if we detect the quoting.
8348 # TODO: see whether this extra hack can be removed once we start
8349 # requiring Autoconf 2.70 or later.
8350 case $CONFIG_FILES in #(
8351 *\'*) :
8352 eval set x "$CONFIG_FILES" ;; #(
8353 *) :
8354 set x $CONFIG_FILES ;; #(
8355 *) :
8356 ;;
8357 esac
8358 shift
8359 # Used to flag and report bootstrapping failures.
8360 am_rc=0
8361 for am_mf
8362 do
8363 # Strip MF so we end up with the name of the file.
8364 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
8365 # Check whether this is an Automake generated Makefile which includes
8366 # dependency-tracking related rules and includes.
8367 # Grep'ing the whole file directly is not great: AIX grep has a line
8368 # limit of 2048, but all sed's we know have understand at least 4000.
8369 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
8370 || continue
8371 am_dirpart=`$as_dirname -- "$am_mf" ||
8372 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8373 X"$am_mf" : 'X\(//\)[^/]' \| \
8374 X"$am_mf" : 'X\(//\)$' \| \
8375 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8376 printf "%s\n" X"$am_mf" |
8377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8378 s//\1/
8379 q
8380 }
8381 /^X\(\/\/\)[^/].*/{
8382 s//\1/
8383 q
8384 }
8385 /^X\(\/\/\)$/{
8386 s//\1/
8387 q
8388 }
8389 /^X\(\/\).*/{
8390 s//\1/
8391 q
8392 }
8393 s/.*/./; q'`
8394 am_filepart=`$as_basename -- "$am_mf" ||
8395 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8396 X"$am_mf" : 'X\(//\)$' \| \
8397 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8398 printf "%s\n" X/"$am_mf" |
8399 sed '/^.*\/\([^/][^/]*\)\/*$/{
8400 s//\1/
8401 q
8402 }
8403 /^X\/\(\/\/\)$/{
8404 s//\1/
8405 q
8406 }
8407 /^X\/\(\/\).*/{
8408 s//\1/
8409 q
8410 }
8411 s/.*/./; q'`
8412 { echo "$as_me:$LINENO: cd "$am_dirpart" \
8413 && sed -e '/# am--include-marker/d' "$am_filepart" \
8414 | $MAKE -f - am--depfiles" >&5
8415 (cd "$am_dirpart" \
8416 && sed -e '/# am--include-marker/d' "$am_filepart" \
8417 | $MAKE -f - am--depfiles) >&5 2>&5
8418 ac_status=$?
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); } || am_rc=$?
8421 done
8422 if test $am_rc -ne 0; then
8423 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8424 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8425 as_fn_error $? "Something went wrong bootstrapping makefile fragments
8426 for automatic dependency tracking. If GNU make was not used, consider
8427 re-running the configure script with MAKE=\"gmake\" (or whatever is
8428 necessary). You can also try re-running configure with the
8429 '--disable-dependency-tracking' option to at least be able to build
8430 the package (albeit without support for automatic dependency tracking).
8431 See \`config.log' for more details" "$LINENO" 5; }
8432 fi
8433 { am_dirpart=; unset am_dirpart;}
8434 { am_filepart=; unset am_filepart;}
8435 { am_mf=; unset am_mf;}
8436 { am_rc=; unset am_rc;}
8437 rm -f conftest-deps.mk
8438 }
8439 ;;
8440
8441 esac
8442 done # for ac_tag
8443
8444
8445 as_fn_exit 0
8446 _ACEOF
8447 ac_clean_files=$ac_clean_files_save
8448
8449 test $ac_write_fail = 0 ||
8450 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8451
8452
8453 # configure is writing to config.log, and then calls config.status.
8454 # config.status does its own redirection, appending to config.log.
8455 # Unfortunately, on DOS this fails, as config.log is still kept open
8456 # by configure, so config.status won't be able to write to it; its
8457 # output is simply discarded. So we exec the FD to /dev/null,
8458 # effectively closing config.log, so it can be properly (re)opened and
8459 # appended to by config.status. When coming back to configure, we
8460 # need to make the FD available again.
8461 if test "$no_create" != yes; then
8462 ac_cs_success=:
8463 ac_config_status_args=
8464 test "$silent" = yes &&
8465 ac_config_status_args="$ac_config_status_args --quiet"
8466 exec 5>/dev/null
8467 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8468 exec 5>>config.log
8469 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8470 # would make configure fail if this is the last instruction.
8471 $ac_cs_success || as_fn_exit 1
8472 fi
8473 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8475 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8476 fi
8477
8478