configure revision 1.1.1.7 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for xorg-cf-files 1.0.8.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/-/issues>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
271 $0: https://gitlab.freedesktop.org/xorg/util/cf/-/issues
272 $0: about your system, including any error possibly output
273 $0: before this message. Then install a modern shell, or
274 $0: manually run the script under such a shell if you do
275 $0: have one."
276 fi
277 exit 1
278 fi
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unset ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_status ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exit ()
312 {
313 set +e
314 as_fn_set_status $1
315 exit $1
316 } # as_fn_exit
317 # as_fn_nop
318 # ---------
319 # Do nothing but, unlike ":", preserve the value of $?.
320 as_fn_nop ()
321 {
322 return $?
323 }
324 as_nop=as_fn_nop
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_p ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 test -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348 printf "%s\n" X"$as_dir" |
349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 test -d "$as_dir" && break
367 done
368 test -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_p ()
378 {
379 test -f "$1" && test -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else $as_nop
394 as_fn_append ()
395 {
396 eval $1=\$$1\$2
397 }
398 fi # as_fn_append
399
400 # as_fn_arith ARG...
401 # ------------------
402 # Perform arithmetic evaluation on the ARGs, and store the result in the
403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
404 # must be portable across $(()) and expr.
405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406 then :
407 eval 'as_fn_arith ()
408 {
409 as_val=$(( $* ))
410 }'
411 else $as_nop
412 as_fn_arith ()
413 {
414 as_val=`expr "$@" || test $? -eq 1`
415 }
416 fi # as_fn_arith
417
418 # as_fn_nop
419 # ---------
420 # Do nothing but, unlike ":", preserve the value of $?.
421 as_fn_nop ()
422 {
423 return $?
424 }
425 as_nop=as_fn_nop
426
427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
428 # ----------------------------------------
429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431 # script with STATUS, using 1 if that was 0.
432 as_fn_error ()
433 {
434 as_status=$1; test $as_status -eq 0 && as_status=1
435 if test "$4"; then
436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 fi
439 printf "%s\n" "$as_me: error: $2" >&2
440 as_fn_exit $as_status
441 } # as_fn_error
442
443 if expr a : '\(a\)' >/dev/null 2>&1 &&
444 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 as_expr=expr
446 else
447 as_expr=false
448 fi
449
450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451 as_basename=basename
452 else
453 as_basename=false
454 fi
455
456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_dirname=dirname
458 else
459 as_dirname=false
460 fi
461
462 as_me=`$as_basename -- "$0" ||
463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464 X"$0" : 'X\(//\)$' \| \
465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466 printf "%s\n" X/"$0" |
467 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 s//\1/
469 q
470 }
471 /^X\/\(\/\/\)$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\).*/{
476 s//\1/
477 q
478 }
479 s/.*/./; q'`
480
481 # Avoid depending upon Character Ranges.
482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
485 as_cr_digits='0123456789'
486 as_cr_alnum=$as_cr_Letters$as_cr_digits
487
488
489 as_lineno_1=$LINENO as_lineno_1a=$LINENO
490 as_lineno_2=$LINENO as_lineno_2a=$LINENO
491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 sed -n '
495 p
496 /[$]LINENO/=
497 ' <$as_myself |
498 sed '
499 s/[$]LINENO.*/&-/
500 t lineno
501 b
502 :lineno
503 N
504 :loop
505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506 t loop
507 s/-\n.*//
508 ' >$as_me.lineno &&
509 chmod +x "$as_me.lineno" ||
510 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511
512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513 # already done that, so ensure we don't try to do so again and fall
514 # in an infinite loop. This has already happened in practice.
515 _as_can_reexec=no; export _as_can_reexec
516 # Don't try to exec as it changes $[0], causing all sort of problems
517 # (the dirname of $[0] is not the place where we might find the
518 # original and so on. Autoconf is especially sensitive to this).
519 . "./$as_me.lineno"
520 # Exit status is that of the last command.
521 exit
522 }
523
524
525 # Determine whether it's possible to make 'echo' print without a newline.
526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527 # for compatibility with existing Makefiles.
528 ECHO_C= ECHO_N= ECHO_T=
529 case `echo -n x` in #(((((
530 -n*)
531 case `echo 'xy\c'` in
532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
533 xy) ECHO_C='\c';;
534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
535 ECHO_T=' ';;
536 esac;;
537 *)
538 ECHO_N='-n';;
539 esac
540
541 # For backward compatibility with old third-party macros, we provide
542 # the shell variables $as_echo and $as_echo_n. New code should use
543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544 as_echo='printf %s\n'
545 as_echo_n='printf %s'
546
547
548 rm -f conf$$ conf$$.exe conf$$.file
549 if test -d conf$$.dir; then
550 rm -f conf$$.dir/conf$$.file
551 else
552 rm -f conf$$.dir
553 mkdir conf$$.dir 2>/dev/null
554 fi
555 if (echo >conf$$.file) 2>/dev/null; then
556 if ln -s conf$$.file conf$$ 2>/dev/null; then
557 as_ln_s='ln -s'
558 # ... but there are two gotchas:
559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561 # In both cases, we have to default to `cp -pR'.
562 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
563 as_ln_s='cp -pR'
564 elif ln conf$$.file conf$$ 2>/dev/null; then
565 as_ln_s=ln
566 else
567 as_ln_s='cp -pR'
568 fi
569 else
570 as_ln_s='cp -pR'
571 fi
572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573 rmdir conf$$.dir 2>/dev/null
574
575 if mkdir -p . 2>/dev/null; then
576 as_mkdir_p='mkdir -p "$as_dir"'
577 else
578 test -d ./-p && rmdir ./-p
579 as_mkdir_p=false
580 fi
581
582 as_test_x='test -x'
583 as_executable_p=as_fn_executable_p
584
585 # Sed expression to map a string onto a valid CPP name.
586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587
588 # Sed expression to map a string onto a valid variable name.
589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590
591
592 test -n "$DJDIR" || exec 7<&0 </dev/null
593 exec 6>&1
594
595 # Name of the host.
596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 # so uname gets run too.
598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599
600 #
601 # Initializations.
602 #
603 ac_default_prefix=/usr/local
604 ac_clean_files=
605 ac_config_libobj_dir=.
606 LIBOBJS=
607 cross_compiling=no
608 subdirs=
609 MFLAGS=
610 MAKEFLAGS=
611
612 # Identity of this package.
613 PACKAGE_NAME='xorg-cf-files'
614 PACKAGE_TARNAME='xorg-cf-files'
615 PACKAGE_VERSION='1.0.8'
616 PACKAGE_STRING='xorg-cf-files 1.0.8'
617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/cf/-/issues'
618 PACKAGE_URL=''
619
620 ac_unique_file="Makefile.am"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 XCONFDIR
624 ENCODINGSDIR
625 FONTROOTDIR
626 MAN_SUBSTS
627 XORG_MAN_PAGE
628 ADMIN_MAN_DIR
629 DRIVER_MAN_DIR
630 MISC_MAN_DIR
631 FILE_MAN_DIR
632 LIB_MAN_DIR
633 APP_MAN_DIR
634 ADMIN_MAN_SUFFIX
635 DRIVER_MAN_SUFFIX
636 MISC_MAN_SUFFIX
637 FILE_MAN_SUFFIX
638 LIB_MAN_SUFFIX
639 APP_MAN_SUFFIX
640 SED
641 host_os
642 host_vendor
643 host_cpu
644 host
645 build_os
646 build_vendor
647 build_cpu
648 build
649 INSTALL_CMD
650 PKG_CONFIG_LIBDIR
651 PKG_CONFIG_PATH
652 PKG_CONFIG
653 CHANGELOG_CMD
654 AM_BACKSLASH
655 AM_DEFAULT_VERBOSITY
656 AM_DEFAULT_V
657 AM_V
658 CSCOPE
659 ETAGS
660 CTAGS
661 am__untar
662 am__tar
663 AMTAR
664 am__leading_dot
665 SET_MAKE
666 AWK
667 mkdir_p
668 MKDIR_P
669 INSTALL_STRIP_PROGRAM
670 STRIP
671 install_sh
672 MAKEINFO
673 AUTOHEADER
674 AUTOMAKE
675 AUTOCONF
676 ACLOCAL
677 VERSION
678 PACKAGE
679 CYGPATH_W
680 am__isrc
681 INSTALL_DATA
682 INSTALL_SCRIPT
683 INSTALL_PROGRAM
684 target_alias
685 host_alias
686 build_alias
687 LIBS
688 ECHO_T
689 ECHO_N
690 ECHO_C
691 DEFS
692 mandir
693 localedir
694 libdir
695 psdir
696 pdfdir
697 dvidir
698 htmldir
699 infodir
700 docdir
701 oldincludedir
702 includedir
703 runstatedir
704 localstatedir
705 sharedstatedir
706 sysconfdir
707 datadir
708 datarootdir
709 libexecdir
710 sbindir
711 bindir
712 program_transform_name
713 prefix
714 exec_prefix
715 PACKAGE_URL
716 PACKAGE_BUGREPORT
717 PACKAGE_STRING
718 PACKAGE_VERSION
719 PACKAGE_TARNAME
720 PACKAGE_NAME
721 PATH_SEPARATOR
722 SHELL'
723 ac_subst_files=''
724 ac_user_opts='
725 enable_option_checking
726 enable_silent_rules
727 with_fontrootdir
728 with_encodingsdir
729 with_config_dir
730 '
731 ac_precious_vars='build_alias
732 host_alias
733 target_alias
734 PKG_CONFIG
735 PKG_CONFIG_PATH
736 PKG_CONFIG_LIBDIR'
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 xorg-cf-files 1.0.8 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/xorg-cf-files]
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
1348 System types:
1349 --build=BUILD configure for building on BUILD [guessed]
1350 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1351 _ACEOF
1352 fi
1353
1354 if test -n "$ac_init_help"; then
1355 case $ac_init_help in
1356 short | recursive ) echo "Configuration of xorg-cf-files 1.0.8:";;
1357 esac
1358 cat <<\_ACEOF
1359
1360 Optional Features:
1361 --disable-option-checking ignore unrecognized --enable/--with options
1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1364 --enable-silent-rules less verbose build output (undo: "make V=1")
1365 --disable-silent-rules verbose build output (undo: "make V=0")
1366
1367 Optional Packages:
1368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1370 --with-fontrootdir=DIR Path to root directory for font files
1371 --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
1372 --with-config-dir=<path>
1373 Path to config dir (default: ${libdir}/X11/config)
1374
1375 Some influential environment variables:
1376 PKG_CONFIG path to pkg-config utility
1377 PKG_CONFIG_PATH
1378 directories to add to pkg-config's search path
1379 PKG_CONFIG_LIBDIR
1380 path overriding pkg-config's built-in search path
1381
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1384
1385 Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/-/issues>.
1386 _ACEOF
1387 ac_status=$?
1388 fi
1389
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1395 continue
1396 ac_builddir=.
1397
1398 case "$ac_dir" in
1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 *)
1401 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 esac ;;
1408 esac
1409 ac_abs_top_builddir=$ac_pwd
1410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir=$ac_top_build_prefix
1413
1414 case $srcdir in
1415 .) # We are building in place.
1416 ac_srcdir=.
1417 ac_top_srcdir=$ac_top_builddir_sub
1418 ac_abs_top_srcdir=$ac_pwd ;;
1419 [\\/]* | ?:[\\/]* ) # Absolute name.
1420 ac_srcdir=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir=$srcdir
1422 ac_abs_top_srcdir=$srcdir ;;
1423 *) # Relative name.
1424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 esac
1428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429
1430 cd "$ac_dir" || { ac_status=$?; continue; }
1431 # Check for configure.gnu first; this name is used for a wrapper for
1432 # Metaconfig's "Configure" on case-insensitive file systems.
1433 if test -f "$ac_srcdir/configure.gnu"; then
1434 echo &&
1435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1436 elif test -f "$ac_srcdir/configure"; then
1437 echo &&
1438 $SHELL "$ac_srcdir/configure" --help=recursive
1439 else
1440 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 fi || ac_status=$?
1442 cd "$ac_pwd" || { ac_status=$?; break; }
1443 done
1444 fi
1445
1446 test -n "$ac_init_help" && exit $ac_status
1447 if $ac_init_version; then
1448 cat <<\_ACEOF
1449 xorg-cf-files configure 1.0.8
1450 generated by GNU Autoconf 2.71
1451
1452 Copyright (C) 2021 Free Software Foundation, Inc.
1453 This configure script is free software; the Free Software Foundation
1454 gives unlimited permission to copy, distribute and modify it.
1455 _ACEOF
1456 exit
1457 fi
1458
1459 ## ------------------------ ##
1460 ## Autoconf initialization. ##
1461 ## ------------------------ ##
1462 ac_configure_args_raw=
1463 for ac_arg
1464 do
1465 case $ac_arg in
1466 *\'*)
1467 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1468 esac
1469 as_fn_append ac_configure_args_raw " '$ac_arg'"
1470 done
1471
1472 case $ac_configure_args_raw in
1473 *$as_nl*)
1474 ac_safe_unquote= ;;
1475 *)
1476 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1477 ac_unsafe_a="$ac_unsafe_z#~"
1478 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1479 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1480 esac
1481
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1485
1486 It was created by xorg-cf-files $as_me 1.0.8, which was
1487 generated by GNU Autoconf 2.71. Invocation command line was
1488
1489 $ $0$ac_configure_args_raw
1490
1491 _ACEOF
1492 exec 5>>config.log
1493 {
1494 cat <<_ASUNAME
1495 ## --------- ##
1496 ## Platform. ##
1497 ## --------- ##
1498
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1504
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1507
1508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1515
1516 _ASUNAME
1517
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 for as_dir in $PATH
1520 do
1521 IFS=$as_save_IFS
1522 case $as_dir in #(((
1523 '') as_dir=./ ;;
1524 */) ;;
1525 *) as_dir=$as_dir/ ;;
1526 esac
1527 printf "%s\n" "PATH: $as_dir"
1528 done
1529 IFS=$as_save_IFS
1530
1531 } >&5
1532
1533 cat >&5 <<_ACEOF
1534
1535
1536 ## ----------- ##
1537 ## Core tests. ##
1538 ## ----------- ##
1539
1540 _ACEOF
1541
1542
1543 # Keep a trace of the command line.
1544 # Strip out --no-create and --no-recursion so they do not pile up.
1545 # Strip out --silent because we don't want to record it for future runs.
1546 # Also quote any args containing shell meta-characters.
1547 # Make two passes to allow for proper duplicate-argument suppression.
1548 ac_configure_args=
1549 ac_configure_args0=
1550 ac_configure_args1=
1551 ac_must_keep_next=false
1552 for ac_pass in 1 2
1553 do
1554 for ac_arg
1555 do
1556 case $ac_arg in
1557 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1559 | -silent | --silent | --silen | --sile | --sil)
1560 continue ;;
1561 *\'*)
1562 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1563 esac
1564 case $ac_pass in
1565 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1566 2)
1567 as_fn_append ac_configure_args1 " '$ac_arg'"
1568 if test $ac_must_keep_next = true; then
1569 ac_must_keep_next=false # Got value, back to normal.
1570 else
1571 case $ac_arg in
1572 *=* | --config-cache | -C | -disable-* | --disable-* \
1573 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1574 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1575 | -with-* | --with-* | -without-* | --without-* | --x)
1576 case "$ac_configure_args0 " in
1577 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1578 esac
1579 ;;
1580 -* ) ac_must_keep_next=true ;;
1581 esac
1582 fi
1583 as_fn_append ac_configure_args " '$ac_arg'"
1584 ;;
1585 esac
1586 done
1587 done
1588 { ac_configure_args0=; unset ac_configure_args0;}
1589 { ac_configure_args1=; unset ac_configure_args1;}
1590
1591 # When interrupted or exit'd, cleanup temporary files, and complete
1592 # config.log. We remove comments because anyway the quotes in there
1593 # would cause problems or look ugly.
1594 # WARNING: Use '\'' to represent an apostrophe within the trap.
1595 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1596 trap 'exit_status=$?
1597 # Sanitize IFS.
1598 IFS=" "" $as_nl"
1599 # Save into config.log some information that might help in debugging.
1600 {
1601 echo
1602
1603 printf "%s\n" "## ---------------- ##
1604 ## Cache variables. ##
1605 ## ---------------- ##"
1606 echo
1607 # The following way of writing the cache mishandles newlines in values,
1608 (
1609 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1610 eval ac_val=\$$ac_var
1611 case $ac_val in #(
1612 *${as_nl}*)
1613 case $ac_var in #(
1614 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1615 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1616 esac
1617 case $ac_var in #(
1618 _ | IFS | as_nl) ;; #(
1619 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1620 *) { eval $ac_var=; unset $ac_var;} ;;
1621 esac ;;
1622 esac
1623 done
1624 (set) 2>&1 |
1625 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1626 *${as_nl}ac_space=\ *)
1627 sed -n \
1628 "s/'\''/'\''\\\\'\'''\''/g;
1629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1630 ;; #(
1631 *)
1632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1633 ;;
1634 esac |
1635 sort
1636 )
1637 echo
1638
1639 printf "%s\n" "## ----------------- ##
1640 ## Output variables. ##
1641 ## ----------------- ##"
1642 echo
1643 for ac_var in $ac_subst_vars
1644 do
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 printf "%s\n" "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1652
1653 if test -n "$ac_subst_files"; then
1654 printf "%s\n" "## ------------------- ##
1655 ## File substitutions. ##
1656 ## ------------------- ##"
1657 echo
1658 for ac_var in $ac_subst_files
1659 do
1660 eval ac_val=\$$ac_var
1661 case $ac_val in
1662 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 esac
1664 printf "%s\n" "$ac_var='\''$ac_val'\''"
1665 done | sort
1666 echo
1667 fi
1668
1669 if test -s confdefs.h; then
1670 printf "%s\n" "## ----------- ##
1671 ## confdefs.h. ##
1672 ## ----------- ##"
1673 echo
1674 cat confdefs.h
1675 echo
1676 fi
1677 test "$ac_signal" != 0 &&
1678 printf "%s\n" "$as_me: caught signal $ac_signal"
1679 printf "%s\n" "$as_me: exit $exit_status"
1680 } >&5
1681 rm -f core *.core core.conftest.* &&
1682 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1683 exit $exit_status
1684 ' 0
1685 for ac_signal in 1 2 13 15; do
1686 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1687 done
1688 ac_signal=0
1689
1690 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1691 rm -f -r conftest* confdefs.h
1692
1693 printf "%s\n" "/* confdefs.h */" > confdefs.h
1694
1695 # Predefined preprocessor variables.
1696
1697 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1698
1699 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1700
1701 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1702
1703 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1704
1705 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1706
1707 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1708
1709
1710 # Let the site file select an alternate cache file if it wants to.
1711 # Prefer an explicitly selected file to automatically selected ones.
1712 if test -n "$CONFIG_SITE"; then
1713 ac_site_files="$CONFIG_SITE"
1714 elif test "x$prefix" != xNONE; then
1715 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1716 else
1717 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1718 fi
1719
1720 for ac_site_file in $ac_site_files
1721 do
1722 case $ac_site_file in #(
1723 */*) :
1724 ;; #(
1725 *) :
1726 ac_site_file=./$ac_site_file ;;
1727 esac
1728 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1730 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1731 sed 's/^/| /' "$ac_site_file" >&5
1732 . "$ac_site_file" \
1733 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1734 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1735 as_fn_error $? "failed to load site script $ac_site_file
1736 See \`config.log' for more details" "$LINENO" 5; }
1737 fi
1738 done
1739
1740 if test -r "$cache_file"; then
1741 # Some versions of bash will fail to source /dev/null (special files
1742 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1743 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1745 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1746 case $cache_file in
1747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1748 *) . "./$cache_file";;
1749 esac
1750 fi
1751 else
1752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1753 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1754 >$cache_file
1755 fi
1756
1757
1758 # Auxiliary files required by this configure script.
1759 ac_aux_files="config.guess config.sub missing install-sh"
1760
1761 # Locations in which to look for auxiliary files.
1762 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1763
1764 # Search for a directory containing all of the required auxiliary files,
1765 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1766 # If we don't find one directory that contains all the files we need,
1767 # we report the set of missing files from the *first* directory in
1768 # $ac_aux_dir_candidates and give up.
1769 ac_missing_aux_files=""
1770 ac_first_candidate=:
1771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 as_found=false
1774 for as_dir in $ac_aux_dir_candidates
1775 do
1776 IFS=$as_save_IFS
1777 case $as_dir in #(((
1778 '') as_dir=./ ;;
1779 */) ;;
1780 *) as_dir=$as_dir/ ;;
1781 esac
1782 as_found=:
1783
1784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1785 ac_aux_dir_found=yes
1786 ac_install_sh=
1787 for ac_aux in $ac_aux_files
1788 do
1789 # As a special case, if "install-sh" is required, that requirement
1790 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1791 # and $ac_install_sh is set appropriately for whichever one is found.
1792 if test x"$ac_aux" = x"install-sh"
1793 then
1794 if test -f "${as_dir}install-sh"; then
1795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1796 ac_install_sh="${as_dir}install-sh -c"
1797 elif test -f "${as_dir}install.sh"; then
1798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1799 ac_install_sh="${as_dir}install.sh -c"
1800 elif test -f "${as_dir}shtool"; then
1801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1802 ac_install_sh="${as_dir}shtool install -c"
1803 else
1804 ac_aux_dir_found=no
1805 if $ac_first_candidate; then
1806 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1807 else
1808 break
1809 fi
1810 fi
1811 else
1812 if test -f "${as_dir}${ac_aux}"; then
1813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1814 else
1815 ac_aux_dir_found=no
1816 if $ac_first_candidate; then
1817 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1818 else
1819 break
1820 fi
1821 fi
1822 fi
1823 done
1824 if test "$ac_aux_dir_found" = yes; then
1825 ac_aux_dir="$as_dir"
1826 break
1827 fi
1828 ac_first_candidate=false
1829
1830 as_found=false
1831 done
1832 IFS=$as_save_IFS
1833 if $as_found
1834 then :
1835
1836 else $as_nop
1837 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1838 fi
1839
1840
1841 # These three variables are undocumented and unsupported,
1842 # and are intended to be withdrawn in a future Autoconf release.
1843 # They can cause serious problems if a builder's source tree is in a directory
1844 # whose full name contains unusual characters.
1845 if test -f "${ac_aux_dir}config.guess"; then
1846 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1847 fi
1848 if test -f "${ac_aux_dir}config.sub"; then
1849 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1850 fi
1851 if test -f "$ac_aux_dir/configure"; then
1852 ac_configure="$SHELL ${ac_aux_dir}configure"
1853 fi
1854
1855 # Check that the precious variables saved in the cache have kept the same
1856 # value.
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1864 set,)
1865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1866 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1868 ,set)
1869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1870 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1872 ,);;
1873 *)
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 # differences in whitespace do not lead to failure.
1876 ac_old_val_w=`echo x $ac_old_val`
1877 ac_new_val_w=`echo x $ac_new_val`
1878 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1880 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1881 ac_cache_corrupted=:
1882 else
1883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1884 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1885 eval $ac_var=\$ac_old_val
1886 fi
1887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1888 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1890 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1891 fi;;
1892 esac
1893 # Pass precious variables to config.status.
1894 if test "$ac_new_set" = set; then
1895 case $ac_new_val in
1896 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1897 *) ac_arg=$ac_var=$ac_new_val ;;
1898 esac
1899 case " $ac_configure_args " in
1900 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1901 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1902 esac
1903 fi
1904 done
1905 if $ac_cache_corrupted; then
1906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1907 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1909 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1910 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1911 and start over" "$LINENO" 5
1912 fi
1913 ## -------------------- ##
1914 ## Main body of script. ##
1915 ## -------------------- ##
1916
1917 ac_ext=c
1918 ac_cpp='$CPP $CPPFLAGS'
1919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922
1923
1924
1925
1926 # Initialize Automake
1927 am__api_version='1.16'
1928
1929
1930
1931 # Find a good install program. We prefer a C program (faster),
1932 # so one script is as good as another. But avoid the broken or
1933 # incompatible versions:
1934 # SysV /etc/install, /usr/sbin/install
1935 # SunOS /usr/etc/install
1936 # IRIX /sbin/install
1937 # AIX /bin/install
1938 # AmigaOS /C/install, which installs bootblocks on floppy discs
1939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1942 # OS/2's system install, which has a completely different semantic
1943 # ./install, which can be erroneously created by make from ./install.sh.
1944 # Reject install programs that cannot install multiple files.
1945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1946 printf %s "checking for a BSD-compatible install... " >&6; }
1947 if test -z "$INSTALL"; then
1948 if test ${ac_cv_path_install+y}
1949 then :
1950 printf %s "(cached) " >&6
1951 else $as_nop
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1954 do
1955 IFS=$as_save_IFS
1956 case $as_dir in #(((
1957 '') as_dir=./ ;;
1958 */) ;;
1959 *) as_dir=$as_dir/ ;;
1960 esac
1961 # Account for fact that we put trailing slashes in our PATH walk.
1962 case $as_dir in #((
1963 ./ | /[cC]/* | \
1964 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1965 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1966 /usr/ucb/* ) ;;
1967 *)
1968 # OSF1 and SCO ODT 3.0 have their own names for install.
1969 # Don't use installbsd from OSF since it installs stuff as root
1970 # by default.
1971 for ac_prog in ginstall scoinst install; do
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1974 if test $ac_prog = install &&
1975 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1976 # AIX install. It has an incompatible calling convention.
1977 :
1978 elif test $ac_prog = install &&
1979 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1980 # program-specific install script used by HP pwplus--don't use.
1981 :
1982 else
1983 rm -rf conftest.one conftest.two conftest.dir
1984 echo one > conftest.one
1985 echo two > conftest.two
1986 mkdir conftest.dir
1987 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1988 test -s conftest.one && test -s conftest.two &&
1989 test -s conftest.dir/conftest.one &&
1990 test -s conftest.dir/conftest.two
1991 then
1992 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1993 break 3
1994 fi
1995 fi
1996 fi
1997 done
1998 done
1999 ;;
2000 esac
2001
2002 done
2003 IFS=$as_save_IFS
2004
2005 rm -rf conftest.one conftest.two conftest.dir
2006
2007 fi
2008 if test ${ac_cv_path_install+y}; then
2009 INSTALL=$ac_cv_path_install
2010 else
2011 # As a last resort, use the slow shell script. Don't cache a
2012 # value for INSTALL within a source directory, because that will
2013 # break other packages using the cache if that directory is
2014 # removed, or if the value is a relative name.
2015 INSTALL=$ac_install_sh
2016 fi
2017 fi
2018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2019 printf "%s\n" "$INSTALL" >&6; }
2020
2021 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2022 # It thinks the first close brace ends the variable substitution.
2023 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2024
2025 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2026
2027 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2028
2029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2030 printf %s "checking whether build environment is sane... " >&6; }
2031 # Reject unsafe characters in $srcdir or the absolute working directory
2032 # name. Accept space and tab only in the latter.
2033 am_lf='
2034 '
2035 case `pwd` in
2036 *[\\\"\#\$\&\'\`$am_lf]*)
2037 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2038 esac
2039 case $srcdir in
2040 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2041 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2042 esac
2043
2044 # Do 'set' in a subshell so we don't clobber the current shell's
2045 # arguments. Must try -L first in case configure is actually a
2046 # symlink; some systems play weird games with the mod time of symlinks
2047 # (eg FreeBSD returns the mod time of the symlink's containing
2048 # directory).
2049 if (
2050 am_has_slept=no
2051 for am_try in 1 2; do
2052 echo "timestamp, slept: $am_has_slept" > conftest.file
2053 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2054 if test "$*" = "X"; then
2055 # -L didn't work.
2056 set X `ls -t "$srcdir/configure" conftest.file`
2057 fi
2058 if test "$*" != "X $srcdir/configure conftest.file" \
2059 && test "$*" != "X conftest.file $srcdir/configure"; then
2060
2061 # If neither matched, then we have a broken ls. This can happen
2062 # if, for instance, CONFIG_SHELL is bash and it inherits a
2063 # broken ls alias from the environment. This has actually
2064 # happened. Such a system could not be considered "sane".
2065 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2066 alias in your environment" "$LINENO" 5
2067 fi
2068 if test "$2" = conftest.file || test $am_try -eq 2; then
2069 break
2070 fi
2071 # Just in case.
2072 sleep 1
2073 am_has_slept=yes
2074 done
2075 test "$2" = conftest.file
2076 )
2077 then
2078 # Ok.
2079 :
2080 else
2081 as_fn_error $? "newly created file is older than distributed files!
2082 Check your system clock" "$LINENO" 5
2083 fi
2084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2085 printf "%s\n" "yes" >&6; }
2086 # If we didn't sleep, we still need to ensure time stamps of config.status and
2087 # generated files are strictly newer.
2088 am_sleep_pid=
2089 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2090 ( sleep 1 ) &
2091 am_sleep_pid=$!
2092 fi
2093
2094 rm -f conftest.file
2095
2096 test "$program_prefix" != NONE &&
2097 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2098 # Use a double $ so make ignores it.
2099 test "$program_suffix" != NONE &&
2100 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2101 # Double any \ or $.
2102 # By default was `s,x,x', remove it if useless.
2103 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2104 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2105
2106
2107 # Expand $ac_aux_dir to an absolute path.
2108 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2109
2110
2111 if test x"${MISSING+set}" != xset; then
2112 MISSING="\${SHELL} '$am_aux_dir/missing'"
2113 fi
2114 # Use eval to expand $SHELL
2115 if eval "$MISSING --is-lightweight"; then
2116 am_missing_run="$MISSING "
2117 else
2118 am_missing_run=
2119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2120 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2121 fi
2122
2123 if test x"${install_sh+set}" != xset; then
2124 case $am_aux_dir in
2125 *\ * | *\ *)
2126 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2127 *)
2128 install_sh="\${SHELL} $am_aux_dir/install-sh"
2129 esac
2130 fi
2131
2132 # Installed binaries are usually stripped using 'strip' when the user
2133 # run "make install-strip". However 'strip' might not be the right
2134 # tool to use in cross-compilation environments, therefore Automake
2135 # will honor the 'STRIP' environment variable to overrule this program.
2136 if test "$cross_compiling" != no; then
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2139 set dummy ${ac_tool_prefix}strip; ac_word=$2
2140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2141 printf %s "checking for $ac_word... " >&6; }
2142 if test ${ac_cv_prog_STRIP+y}
2143 then :
2144 printf %s "(cached) " >&6
2145 else $as_nop
2146 if test -n "$STRIP"; then
2147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2148 else
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2151 do
2152 IFS=$as_save_IFS
2153 case $as_dir in #(((
2154 '') as_dir=./ ;;
2155 */) ;;
2156 *) as_dir=$as_dir/ ;;
2157 esac
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2160 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2162 break 2
2163 fi
2164 done
2165 done
2166 IFS=$as_save_IFS
2167
2168 fi
2169 fi
2170 STRIP=$ac_cv_prog_STRIP
2171 if test -n "$STRIP"; then
2172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2173 printf "%s\n" "$STRIP" >&6; }
2174 else
2175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2176 printf "%s\n" "no" >&6; }
2177 fi
2178
2179
2180 fi
2181 if test -z "$ac_cv_prog_STRIP"; then
2182 ac_ct_STRIP=$STRIP
2183 # Extract the first word of "strip", so it can be a program name with args.
2184 set dummy strip; ac_word=$2
2185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2186 printf %s "checking for $ac_word... " >&6; }
2187 if test ${ac_cv_prog_ac_ct_STRIP+y}
2188 then :
2189 printf %s "(cached) " >&6
2190 else $as_nop
2191 if test -n "$ac_ct_STRIP"; then
2192 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2196 do
2197 IFS=$as_save_IFS
2198 case $as_dir in #(((
2199 '') as_dir=./ ;;
2200 */) ;;
2201 *) as_dir=$as_dir/ ;;
2202 esac
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2205 ac_cv_prog_ac_ct_STRIP="strip"
2206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2207 break 2
2208 fi
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214 fi
2215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2216 if test -n "$ac_ct_STRIP"; then
2217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2218 printf "%s\n" "$ac_ct_STRIP" >&6; }
2219 else
2220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 printf "%s\n" "no" >&6; }
2222 fi
2223
2224 if test "x$ac_ct_STRIP" = x; then
2225 STRIP=":"
2226 else
2227 case $cross_compiling:$ac_tool_warned in
2228 yes:)
2229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2230 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231 ac_tool_warned=yes ;;
2232 esac
2233 STRIP=$ac_ct_STRIP
2234 fi
2235 else
2236 STRIP="$ac_cv_prog_STRIP"
2237 fi
2238
2239 fi
2240 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2241
2242
2243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2244 printf %s "checking for a race-free mkdir -p... " >&6; }
2245 if test -z "$MKDIR_P"; then
2246 if test ${ac_cv_path_mkdir+y}
2247 then :
2248 printf %s "(cached) " >&6
2249 else $as_nop
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2252 do
2253 IFS=$as_save_IFS
2254 case $as_dir in #(((
2255 '') as_dir=./ ;;
2256 */) ;;
2257 *) as_dir=$as_dir/ ;;
2258 esac
2259 for ac_prog in mkdir gmkdir; do
2260 for ac_exec_ext in '' $ac_executable_extensions; do
2261 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2262 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2263 'mkdir ('*'coreutils) '* | \
2264 'BusyBox '* | \
2265 'mkdir (fileutils) '4.1*)
2266 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2267 break 3;;
2268 esac
2269 done
2270 done
2271 done
2272 IFS=$as_save_IFS
2273
2274 fi
2275
2276 test -d ./--version && rmdir ./--version
2277 if test ${ac_cv_path_mkdir+y}; then
2278 MKDIR_P="$ac_cv_path_mkdir -p"
2279 else
2280 # As a last resort, use the slow shell script. Don't cache a
2281 # value for MKDIR_P within a source directory, because that will
2282 # break other packages using the cache if that directory is
2283 # removed, or if the value is a relative name.
2284 MKDIR_P="$ac_install_sh -d"
2285 fi
2286 fi
2287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2288 printf "%s\n" "$MKDIR_P" >&6; }
2289
2290 for ac_prog in gawk mawk nawk awk
2291 do
2292 # Extract the first word of "$ac_prog", so it can be a program name with args.
2293 set dummy $ac_prog; ac_word=$2
2294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295 printf %s "checking for $ac_word... " >&6; }
2296 if test ${ac_cv_prog_AWK+y}
2297 then :
2298 printf %s "(cached) " >&6
2299 else $as_nop
2300 if test -n "$AWK"; then
2301 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2302 else
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 for as_dir in $PATH
2305 do
2306 IFS=$as_save_IFS
2307 case $as_dir in #(((
2308 '') as_dir=./ ;;
2309 */) ;;
2310 *) as_dir=$as_dir/ ;;
2311 esac
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_AWK="$ac_prog"
2315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2316 break 2
2317 fi
2318 done
2319 done
2320 IFS=$as_save_IFS
2321
2322 fi
2323 fi
2324 AWK=$ac_cv_prog_AWK
2325 if test -n "$AWK"; then
2326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2327 printf "%s\n" "$AWK" >&6; }
2328 else
2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 printf "%s\n" "no" >&6; }
2331 fi
2332
2333
2334 test -n "$AWK" && break
2335 done
2336
2337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339 set x ${MAKE-make}
2340 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2341 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2342 then :
2343 printf %s "(cached) " >&6
2344 else $as_nop
2345 cat >conftest.make <<\_ACEOF
2346 SHELL = /bin/sh
2347 all:
2348 @echo '@@@%%%=$(MAKE)=@@@%%%'
2349 _ACEOF
2350 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2351 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2352 *@@@%%%=?*=@@@%%%*)
2353 eval ac_cv_prog_make_${ac_make}_set=yes;;
2354 *)
2355 eval ac_cv_prog_make_${ac_make}_set=no;;
2356 esac
2357 rm -f conftest.make
2358 fi
2359 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2361 printf "%s\n" "yes" >&6; }
2362 SET_MAKE=
2363 else
2364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365 printf "%s\n" "no" >&6; }
2366 SET_MAKE="MAKE=${MAKE-make}"
2367 fi
2368
2369 rm -rf .tst 2>/dev/null
2370 mkdir .tst 2>/dev/null
2371 if test -d .tst; then
2372 am__leading_dot=.
2373 else
2374 am__leading_dot=_
2375 fi
2376 rmdir .tst 2>/dev/null
2377
2378 # Check whether --enable-silent-rules was given.
2379 if test ${enable_silent_rules+y}
2380 then :
2381 enableval=$enable_silent_rules;
2382 fi
2383
2384 case $enable_silent_rules in # (((
2385 yes) AM_DEFAULT_VERBOSITY=0;;
2386 no) AM_DEFAULT_VERBOSITY=1;;
2387 *) AM_DEFAULT_VERBOSITY=1;;
2388 esac
2389 am_make=${MAKE-make}
2390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2391 printf %s "checking whether $am_make supports nested variables... " >&6; }
2392 if test ${am_cv_make_support_nested_variables+y}
2393 then :
2394 printf %s "(cached) " >&6
2395 else $as_nop
2396 if printf "%s\n" 'TRUE=$(BAR$(V))
2397 BAR0=false
2398 BAR1=true
2399 V=1
2400 am__doit:
2401 @$(TRUE)
2402 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2403 am_cv_make_support_nested_variables=yes
2404 else
2405 am_cv_make_support_nested_variables=no
2406 fi
2407 fi
2408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2409 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2410 if test $am_cv_make_support_nested_variables = yes; then
2411 AM_V='$(V)'
2412 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2413 else
2414 AM_V=$AM_DEFAULT_VERBOSITY
2415 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2416 fi
2417 AM_BACKSLASH='\'
2418
2419 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2420 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2421 # is not polluted with repeated "-I."
2422 am__isrc=' -I$(srcdir)'
2423 # test to see if srcdir already configured
2424 if test -f $srcdir/config.status; then
2425 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2426 fi
2427 fi
2428
2429 # test whether we have cygpath
2430 if test -z "$CYGPATH_W"; then
2431 if (cygpath --version) >/dev/null 2>/dev/null; then
2432 CYGPATH_W='cygpath -w'
2433 else
2434 CYGPATH_W=echo
2435 fi
2436 fi
2437
2438
2439 # Define the identity of the package.
2440 PACKAGE='xorg-cf-files'
2441 VERSION='1.0.8'
2442
2443
2444 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2445
2446
2447 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2448
2449 # Some tools Automake needs.
2450
2451 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2452
2453
2454 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2455
2456
2457 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2458
2459
2460 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2461
2462
2463 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2464
2465 # For better backward compatibility. To be removed once Automake 1.9.x
2466 # dies out for good. For more background, see:
2467 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2468 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2469 mkdir_p='$(MKDIR_P)'
2470
2471 # We need awk for the "check" target (and possibly the TAP driver). The
2472 # system "awk" is bad on some platforms.
2473 # Always define AMTAR for backward compatibility. Yes, it's still used
2474 # in the wild :-( We should find a proper way to deprecate it ...
2475 AMTAR='$${TAR-tar}'
2476
2477
2478 # We'll loop over all known methods to create a tar archive until one works.
2479 _am_tools='gnutar pax cpio none'
2480
2481 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2482
2483
2484
2485
2486
2487 # Variables for tags utilities; see am/tags.am
2488 if test -z "$CTAGS"; then
2489 CTAGS=ctags
2490 fi
2491
2492 if test -z "$ETAGS"; then
2493 ETAGS=etags
2494 fi
2495
2496 if test -z "$CSCOPE"; then
2497 CSCOPE=cscope
2498 fi
2499
2500
2501
2502 # POSIX will say in a future version that running "rm -f" with no argument
2503 # is OK; and we want to be able to make that assumption in our Makefile
2504 # recipes. So use an aggressive probe to check that the usage we want is
2505 # actually supported "in the wild" to an acceptable degree.
2506 # See automake bug#10828.
2507 # To make any issue more visible, cause the running configure to be aborted
2508 # by default if the 'rm' program in use doesn't match our expectations; the
2509 # user can still override this though.
2510 if rm -f && rm -fr && rm -rf; then : OK; else
2511 cat >&2 <<'END'
2512 Oops!
2513
2514 Your 'rm' program seems unable to run without file operands specified
2515 on the command line, even when the '-f' option is present. This is contrary
2516 to the behaviour of most rm programs out there, and not conforming with
2517 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2518
2519 Please tell bug-automake@gnu.org about your system, including the value
2520 of your $PATH and any error possibly output before this message. This
2521 can help us improve future automake versions.
2522
2523 END
2524 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2525 echo 'Configuration will proceed anyway, since you have set the' >&2
2526 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2527 echo >&2
2528 else
2529 cat >&2 <<'END'
2530 Aborting the configuration process, to ensure you take notice of the issue.
2531
2532 You can download and install GNU coreutils to get an 'rm' implementation
2533 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2534
2535 If you want to complete the configuration process using your problematic
2536 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2537 to "yes", and re-run configure.
2538
2539 END
2540 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2541 fi
2542 fi
2543
2544
2545 # Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2567 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 printf %s "checking for $ac_word... " >&6; }
2570 if test ${ac_cv_path_PKG_CONFIG+y}
2571 then :
2572 printf %s "(cached) " >&6
2573 else $as_nop
2574 case $PKG_CONFIG in
2575 [\\/]* | ?:[\\/]*)
2576 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2577 ;;
2578 *)
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2581 do
2582 IFS=$as_save_IFS
2583 case $as_dir in #(((
2584 '') as_dir=./ ;;
2585 */) ;;
2586 *) as_dir=$as_dir/ ;;
2587 esac
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2590 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2592 break 2
2593 fi
2594 done
2595 done
2596 IFS=$as_save_IFS
2597
2598 ;;
2599 esac
2600 fi
2601 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2602 if test -n "$PKG_CONFIG"; then
2603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2604 printf "%s\n" "$PKG_CONFIG" >&6; }
2605 else
2606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607 printf "%s\n" "no" >&6; }
2608 fi
2609
2610
2611 fi
2612 if test -z "$ac_cv_path_PKG_CONFIG"; then
2613 ac_pt_PKG_CONFIG=$PKG_CONFIG
2614 # Extract the first word of "pkg-config", so it can be a program name with args.
2615 set dummy pkg-config; ac_word=$2
2616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 printf %s "checking for $ac_word... " >&6; }
2618 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2619 then :
2620 printf %s "(cached) " >&6
2621 else $as_nop
2622 case $ac_pt_PKG_CONFIG in
2623 [\\/]* | ?:[\\/]*)
2624 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2625 ;;
2626 *)
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 for as_dir in $PATH
2629 do
2630 IFS=$as_save_IFS
2631 case $as_dir in #(((
2632 '') as_dir=./ ;;
2633 */) ;;
2634 *) as_dir=$as_dir/ ;;
2635 esac
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2638 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2640 break 2
2641 fi
2642 done
2643 done
2644 IFS=$as_save_IFS
2645
2646 ;;
2647 esac
2648 fi
2649 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2650 if test -n "$ac_pt_PKG_CONFIG"; then
2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2652 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2653 else
2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 printf "%s\n" "no" >&6; }
2656 fi
2657
2658 if test "x$ac_pt_PKG_CONFIG" = x; then
2659 PKG_CONFIG=""
2660 else
2661 case $cross_compiling:$ac_tool_warned in
2662 yes:)
2663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2664 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2665 ac_tool_warned=yes ;;
2666 esac
2667 PKG_CONFIG=$ac_pt_PKG_CONFIG
2668 fi
2669 else
2670 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2671 fi
2672
2673 fi
2674 if test -n "$PKG_CONFIG"; then
2675 _pkg_min_version=0.9.0
2676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2677 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2678 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2680 printf "%s\n" "yes" >&6; }
2681 else
2682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 printf "%s\n" "no" >&6; }
2684 PKG_CONFIG=""
2685 fi
2686 fi
2687
2688
2689 # Make sure we can run config.sub.
2690 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2691 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2692
2693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2694 printf %s "checking build system type... " >&6; }
2695 if test ${ac_cv_build+y}
2696 then :
2697 printf %s "(cached) " >&6
2698 else $as_nop
2699 ac_build_alias=$build_alias
2700 test "x$ac_build_alias" = x &&
2701 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2702 test "x$ac_build_alias" = x &&
2703 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2704 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2705 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2706
2707 fi
2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2709 printf "%s\n" "$ac_cv_build" >&6; }
2710 case $ac_cv_build in
2711 *-*-*) ;;
2712 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2713 esac
2714 build=$ac_cv_build
2715 ac_save_IFS=$IFS; IFS='-'
2716 set x $ac_cv_build
2717 shift
2718 build_cpu=$1
2719 build_vendor=$2
2720 shift; shift
2721 # Remember, the first character of IFS is used to create $*,
2722 # except with old shells:
2723 build_os=$*
2724 IFS=$ac_save_IFS
2725 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2726
2727
2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2729 printf %s "checking host system type... " >&6; }
2730 if test ${ac_cv_host+y}
2731 then :
2732 printf %s "(cached) " >&6
2733 else $as_nop
2734 if test "x$host_alias" = x; then
2735 ac_cv_host=$ac_cv_build
2736 else
2737 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2738 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2739 fi
2740
2741 fi
2742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2743 printf "%s\n" "$ac_cv_host" >&6; }
2744 case $ac_cv_host in
2745 *-*-*) ;;
2746 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2747 esac
2748 host=$ac_cv_host
2749 ac_save_IFS=$IFS; IFS='-'
2750 set x $ac_cv_host
2751 shift
2752 host_cpu=$1
2753 host_vendor=$2
2754 shift; shift
2755 # Remember, the first character of IFS is used to create $*,
2756 # except with old shells:
2757 host_os=$*
2758 IFS=$ac_save_IFS
2759 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2760
2761
2762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2763 printf %s "checking for a sed that does not truncate output... " >&6; }
2764 if test ${ac_cv_path_SED+y}
2765 then :
2766 printf %s "(cached) " >&6
2767 else $as_nop
2768 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2769 for ac_i in 1 2 3 4 5 6 7; do
2770 ac_script="$ac_script$as_nl$ac_script"
2771 done
2772 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2773 { ac_script=; unset ac_script;}
2774 if test -z "$SED"; then
2775 ac_path_SED_found=false
2776 # Loop through the user's path and test for each of PROGNAME-LIST
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH
2779 do
2780 IFS=$as_save_IFS
2781 case $as_dir in #(((
2782 '') as_dir=./ ;;
2783 */) ;;
2784 *) as_dir=$as_dir/ ;;
2785 esac
2786 for ac_prog in sed gsed
2787 do
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2790 as_fn_executable_p "$ac_path_SED" || continue
2791 # Check for GNU ac_path_SED and select it if it is found.
2792 # Check for GNU $ac_path_SED
2793 case `"$ac_path_SED" --version 2>&1` in
2794 *GNU*)
2795 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2796 *)
2797 ac_count=0
2798 printf %s 0123456789 >"conftest.in"
2799 while :
2800 do
2801 cat "conftest.in" "conftest.in" >"conftest.tmp"
2802 mv "conftest.tmp" "conftest.in"
2803 cp "conftest.in" "conftest.nl"
2804 printf "%s\n" '' >> "conftest.nl"
2805 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2806 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2807 as_fn_arith $ac_count + 1 && ac_count=$as_val
2808 if test $ac_count -gt ${ac_path_SED_max-0}; then
2809 # Best one so far, save it but keep looking for a better one
2810 ac_cv_path_SED="$ac_path_SED"
2811 ac_path_SED_max=$ac_count
2812 fi
2813 # 10*(2^10) chars as input seems more than enough
2814 test $ac_count -gt 10 && break
2815 done
2816 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2817 esac
2818
2819 $ac_path_SED_found && break 3
2820 done
2821 done
2822 done
2823 IFS=$as_save_IFS
2824 if test -z "$ac_cv_path_SED"; then
2825 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2826 fi
2827 else
2828 ac_cv_path_SED=$SED
2829 fi
2830
2831 fi
2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2833 printf "%s\n" "$ac_cv_path_SED" >&6; }
2834 SED="$ac_cv_path_SED"
2835 rm -f conftest.sed
2836
2837
2838
2839
2840
2841 cat >>confdefs.h <<_ACEOF
2842 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2843 _ACEOF
2844
2845 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2846 if test "x$PVM" = "x"; then
2847 PVM="0"
2848 fi
2849
2850 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2851
2852 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2853 if test "x$PVP" = "x"; then
2854 PVP="0"
2855 fi
2856
2857 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2858
2859
2860
2861 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2862 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2863 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2864 touch \$(top_srcdir)/ChangeLog; \
2865 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2866
2867
2868
2869
2870 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2871 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2872 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2873 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
2874 touch \$(top_srcdir)/INSTALL; \
2875 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2876
2877
2878
2879
2880
2881
2882 case $host_os in
2883 solaris*)
2884 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2885 # check for a man page file found in later versions that use
2886 # traditional section numbers instead
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2888 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
2889 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
2890 then :
2891 printf %s "(cached) " >&6
2892 else $as_nop
2893 test "$cross_compiling" = yes &&
2894 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2895 if test -r "/usr/share/man/man7/attributes.7"; then
2896 ac_cv_file__usr_share_man_man7_attributes_7=yes
2897 else
2898 ac_cv_file__usr_share_man_man7_attributes_7=no
2899 fi
2900 fi
2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2902 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2903 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
2904 then :
2905 SYSV_MAN_SECTIONS=false
2906 else $as_nop
2907 SYSV_MAN_SECTIONS=true
2908 fi
2909
2910 ;;
2911 *) SYSV_MAN_SECTIONS=false ;;
2912 esac
2913
2914 if test x$APP_MAN_SUFFIX = x ; then
2915 APP_MAN_SUFFIX=1
2916 fi
2917 if test x$APP_MAN_DIR = x ; then
2918 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2919 fi
2920
2921 if test x$LIB_MAN_SUFFIX = x ; then
2922 LIB_MAN_SUFFIX=3
2923 fi
2924 if test x$LIB_MAN_DIR = x ; then
2925 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2926 fi
2927
2928 if test x$FILE_MAN_SUFFIX = x ; then
2929 case $SYSV_MAN_SECTIONS in
2930 true) FILE_MAN_SUFFIX=4 ;;
2931 *) FILE_MAN_SUFFIX=5 ;;
2932 esac
2933 fi
2934 if test x$FILE_MAN_DIR = x ; then
2935 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2936 fi
2937
2938 if test x$MISC_MAN_SUFFIX = x ; then
2939 case $SYSV_MAN_SECTIONS in
2940 true) MISC_MAN_SUFFIX=5 ;;
2941 *) MISC_MAN_SUFFIX=7 ;;
2942 esac
2943 fi
2944 if test x$MISC_MAN_DIR = x ; then
2945 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2946 fi
2947
2948 if test x$DRIVER_MAN_SUFFIX = x ; then
2949 case $SYSV_MAN_SECTIONS in
2950 true) DRIVER_MAN_SUFFIX=7 ;;
2951 *) DRIVER_MAN_SUFFIX=4 ;;
2952 esac
2953 fi
2954 if test x$DRIVER_MAN_DIR = x ; then
2955 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2956 fi
2957
2958 if test x$ADMIN_MAN_SUFFIX = x ; then
2959 case $SYSV_MAN_SECTIONS in
2960 true) ADMIN_MAN_SUFFIX=1m ;;
2961 *) ADMIN_MAN_SUFFIX=8 ;;
2962 esac
2963 fi
2964 if test x$ADMIN_MAN_DIR = x ; then
2965 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2966 fi
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982 XORG_MAN_PAGE="X Version 11"
2983
2984 MAN_SUBSTS="\
2985 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2986 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2987 -e 's|__xservername__|Xorg|g' \
2988 -e 's|__xconfigfile__|xorg.conf|g' \
2989 -e 's|__projectroot__|\$(prefix)|g' \
2990 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
2991 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2992 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2993 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2994 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2995 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2996 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
2997
2998
2999
3000 # Check whether --enable-silent-rules was given.
3001 if test ${enable_silent_rules+y}
3002 then :
3003 enableval=$enable_silent_rules;
3004 fi
3005
3006 case $enable_silent_rules in # (((
3007 yes) AM_DEFAULT_VERBOSITY=0;;
3008 no) AM_DEFAULT_VERBOSITY=1;;
3009 *) AM_DEFAULT_VERBOSITY=0;;
3010 esac
3011 am_make=${MAKE-make}
3012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3013 printf %s "checking whether $am_make supports nested variables... " >&6; }
3014 if test ${am_cv_make_support_nested_variables+y}
3015 then :
3016 printf %s "(cached) " >&6
3017 else $as_nop
3018 if printf "%s\n" 'TRUE=$(BAR$(V))
3019 BAR0=false
3020 BAR1=true
3021 V=1
3022 am__doit:
3023 @$(TRUE)
3024 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3025 am_cv_make_support_nested_variables=yes
3026 else
3027 am_cv_make_support_nested_variables=no
3028 fi
3029 fi
3030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3031 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3032 if test $am_cv_make_support_nested_variables = yes; then
3033 AM_V='$(V)'
3034 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3035 else
3036 AM_V=$AM_DEFAULT_VERBOSITY
3037 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3038 fi
3039 AM_BACKSLASH='\'
3040
3041
3042
3043 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
3059 printf %s "checking for root directory for font files... " >&6; }
3060
3061 # Check whether --with-fontrootdir was given.
3062 if test ${with_fontrootdir+y}
3063 then :
3064 withval=$with_fontrootdir; FONTROOTDIR="$withval"
3065 fi
3066
3067 # if --with-fontrootdir not specified...
3068 if test "x${FONTROOTDIR}" = "x"; then
3069 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
3070 fi
3071 # ...and if pkg-config didn't find fontdir in fontutil.pc...
3072 if test "x${FONTROOTDIR}" = "x"; then
3073 FONTROOTDIR="${datadir}/fonts/X11"
3074 fi
3075
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
3077 printf "%s\n" "${FONTROOTDIR}" >&6; }
3078
3079
3080
3081
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
3083 printf %s "checking for directory for encodings files... " >&6; }
3084
3085 # Check whether --with-encodingsdir was given.
3086 if test ${with_encodingsdir+y}
3087 then :
3088 withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
3089 else $as_nop
3090 ENCODINGSDIR='${FONTROOTDIR}/encodings'
3091 fi
3092
3093
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
3095 printf "%s\n" "${ENCODINGSDIR}" >&6; }
3096
3097 # Convert ${FONTROOTDIR} to something Imake can handle
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3099 printf %s "checking for a sed that does not truncate output... " >&6; }
3100 if test ${ac_cv_path_SED+y}
3101 then :
3102 printf %s "(cached) " >&6
3103 else $as_nop
3104 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3105 for ac_i in 1 2 3 4 5 6 7; do
3106 ac_script="$ac_script$as_nl$ac_script"
3107 done
3108 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3109 { ac_script=; unset ac_script;}
3110 if test -z "$SED"; then
3111 ac_path_SED_found=false
3112 # Loop through the user's path and test for each of PROGNAME-LIST
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH
3115 do
3116 IFS=$as_save_IFS
3117 case $as_dir in #(((
3118 '') as_dir=./ ;;
3119 */) ;;
3120 *) as_dir=$as_dir/ ;;
3121 esac
3122 for ac_prog in sed gsed
3123 do
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
3126 as_fn_executable_p "$ac_path_SED" || continue
3127 # Check for GNU ac_path_SED and select it if it is found.
3128 # Check for GNU $ac_path_SED
3129 case `"$ac_path_SED" --version 2>&1` in
3130 *GNU*)
3131 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3132 *)
3133 ac_count=0
3134 printf %s 0123456789 >"conftest.in"
3135 while :
3136 do
3137 cat "conftest.in" "conftest.in" >"conftest.tmp"
3138 mv "conftest.tmp" "conftest.in"
3139 cp "conftest.in" "conftest.nl"
3140 printf "%s\n" '' >> "conftest.nl"
3141 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3143 as_fn_arith $ac_count + 1 && ac_count=$as_val
3144 if test $ac_count -gt ${ac_path_SED_max-0}; then
3145 # Best one so far, save it but keep looking for a better one
3146 ac_cv_path_SED="$ac_path_SED"
3147 ac_path_SED_max=$ac_count
3148 fi
3149 # 10*(2^10) chars as input seems more than enough
3150 test $ac_count -gt 10 && break
3151 done
3152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3153 esac
3154
3155 $ac_path_SED_found && break 3
3156 done
3157 done
3158 done
3159 IFS=$as_save_IFS
3160 if test -z "$ac_cv_path_SED"; then
3161 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3162 fi
3163 else
3164 ac_cv_path_SED=$SED
3165 fi
3166
3167 fi
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3169 printf "%s\n" "$ac_cv_path_SED" >&6; }
3170 SED="$ac_cv_path_SED"
3171 rm -f conftest.sed
3172
3173 ENCODINGSDIR="`echo ${ENCODINGSDIR} | ${SED} 's/${FONTROOTDIR}/FontDir/'`"
3174
3175
3176
3177 DEFAULT_XCONFDIR="${libdir}/X11/config"
3178
3179 # Check whether --with-config-dir was given.
3180 if test ${with_config_dir+y}
3181 then :
3182 withval=$with_config_dir; XCONFDIR="$withval"
3183 else $as_nop
3184 XCONFDIR="$DEFAULT_XCONFDIR"
3185 fi
3186
3187
3188
3189 ac_config_files="$ac_config_files Makefile site.def"
3190
3191 cat >confcache <<\_ACEOF
3192 # This file is a shell script that caches the results of configure
3193 # tests run on this system so they can be shared between configure
3194 # scripts and configure runs, see configure's option --config-cache.
3195 # It is not useful on other systems. If it contains results you don't
3196 # want to keep, you may remove or edit it.
3197 #
3198 # config.status only pays attention to the cache file if you give it
3199 # the --recheck option to rerun configure.
3200 #
3201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3203 # following values.
3204
3205 _ACEOF
3206
3207 # The following way of writing the cache mishandles newlines in values,
3208 # but we know of no workaround that is simple, portable, and efficient.
3209 # So, we kill variables containing newlines.
3210 # Ultrix sh set writes to stderr and can't be redirected directly,
3211 # and sets the high bit in the cache file unless we assign to the vars.
3212 (
3213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3214 eval ac_val=\$$ac_var
3215 case $ac_val in #(
3216 *${as_nl}*)
3217 case $ac_var in #(
3218 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3219 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3220 esac
3221 case $ac_var in #(
3222 _ | IFS | as_nl) ;; #(
3223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3224 *) { eval $ac_var=; unset $ac_var;} ;;
3225 esac ;;
3226 esac
3227 done
3228
3229 (set) 2>&1 |
3230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3231 *${as_nl}ac_space=\ *)
3232 # `set' does not quote correctly, so add quotes: double-quote
3233 # substitution turns \\\\ into \\, and sed turns \\ into \.
3234 sed -n \
3235 "s/'/'\\\\''/g;
3236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3237 ;; #(
3238 *)
3239 # `set' quotes correctly as required by POSIX, so do not add quotes.
3240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3241 ;;
3242 esac |
3243 sort
3244 ) |
3245 sed '
3246 /^ac_cv_env_/b end
3247 t clear
3248 :clear
3249 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3250 t end
3251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3252 :end' >>confcache
3253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3254 if test -w "$cache_file"; then
3255 if test "x$cache_file" != "x/dev/null"; then
3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3257 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3258 if test ! -f "$cache_file" || test -h "$cache_file"; then
3259 cat confcache >"$cache_file"
3260 else
3261 case $cache_file in #(
3262 */* | ?:*)
3263 mv -f confcache "$cache_file"$$ &&
3264 mv -f "$cache_file"$$ "$cache_file" ;; #(
3265 *)
3266 mv -f confcache "$cache_file" ;;
3267 esac
3268 fi
3269 fi
3270 else
3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3272 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3273 fi
3274 fi
3275 rm -f confcache
3276
3277 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3278 # Let make expand exec_prefix.
3279 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3280
3281 # Transform confdefs.h into DEFS.
3282 # Protect against shell expansion while executing Makefile rules.
3283 # Protect against Makefile macro expansion.
3284 #
3285 # If the first sed substitution is executed (which looks for macros that
3286 # take arguments), then branch to the quote section. Otherwise,
3287 # look for a macro that doesn't take arguments.
3288 ac_script='
3289 :mline
3290 /\\$/{
3291 N
3292 s,\\\n,,
3293 b mline
3294 }
3295 t clear
3296 :clear
3297 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3298 t quote
3299 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3300 t quote
3301 b any
3302 :quote
3303 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3304 s/\[/\\&/g
3305 s/\]/\\&/g
3306 s/\$/$$/g
3307 H
3308 :any
3309 ${
3310 g
3311 s/^\n//
3312 s/\n/ /g
3313 p
3314 }
3315 '
3316 DEFS=`sed -n "$ac_script" confdefs.h`
3317
3318
3319 ac_libobjs=
3320 ac_ltlibobjs=
3321 U=
3322 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3323 # 1. Remove the extension, and $U if already installed.
3324 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3325 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3326 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3327 # will be set to the directory where LIBOBJS objects are built.
3328 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3329 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3330 done
3331 LIBOBJS=$ac_libobjs
3332
3333 LTLIBOBJS=$ac_ltlibobjs
3334
3335
3336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3337 printf %s "checking that generated files are newer than configure... " >&6; }
3338 if test -n "$am_sleep_pid"; then
3339 # Hide warnings about reused PIDs.
3340 wait $am_sleep_pid 2>/dev/null
3341 fi
3342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3343 printf "%s\n" "done" >&6; }
3344
3345
3346 : "${CONFIG_STATUS=./config.status}"
3347 ac_write_fail=0
3348 ac_clean_files_save=$ac_clean_files
3349 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3351 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3352 as_write_fail=0
3353 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3354 #! $SHELL
3355 # Generated by $as_me.
3356 # Run this file to recreate the current configuration.
3357 # Compiler output produced by configure, useful for debugging
3358 # configure, is in config.log if it exists.
3359
3360 debug=false
3361 ac_cs_recheck=false
3362 ac_cs_silent=false
3363
3364 SHELL=\${CONFIG_SHELL-$SHELL}
3365 export SHELL
3366 _ASEOF
3367 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3368 ## -------------------- ##
3369 ## M4sh Initialization. ##
3370 ## -------------------- ##
3371
3372 # Be more Bourne compatible
3373 DUALCASE=1; export DUALCASE # for MKS sh
3374 as_nop=:
3375 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3376 then :
3377 emulate sh
3378 NULLCMD=:
3379 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3380 # is contrary to our usage. Disable this feature.
3381 alias -g '${1+"$@"}'='"$@"'
3382 setopt NO_GLOB_SUBST
3383 else $as_nop
3384 case `(set -o) 2>/dev/null` in #(
3385 *posix*) :
3386 set -o posix ;; #(
3387 *) :
3388 ;;
3389 esac
3390 fi
3391
3392
3393
3394 # Reset variables that may have inherited troublesome values from
3395 # the environment.
3396
3397 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3398 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3399 # side effect of setting IFS to empty, thus disabling word splitting.)
3400 # Quoting is to prevent editors from complaining about space-tab.
3401 as_nl='
3402 '
3403 export as_nl
3404 IFS=" "" $as_nl"
3405
3406 PS1='$ '
3407 PS2='> '
3408 PS4='+ '
3409
3410 # Ensure predictable behavior from utilities with locale-dependent output.
3411 LC_ALL=C
3412 export LC_ALL
3413 LANGUAGE=C
3414 export LANGUAGE
3415
3416 # We cannot yet rely on "unset" to work, but we need these variables
3417 # to be unset--not just set to an empty or harmless value--now, to
3418 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3419 # also avoids known problems related to "unset" and subshell syntax
3420 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3421 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3422 do eval test \${$as_var+y} \
3423 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3424 done
3425
3426 # Ensure that fds 0, 1, and 2 are open.
3427 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3428 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3429 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3430
3431 # The user is always right.
3432 if ${PATH_SEPARATOR+false} :; then
3433 PATH_SEPARATOR=:
3434 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3435 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3436 PATH_SEPARATOR=';'
3437 }
3438 fi
3439
3440
3441 # Find who we are. Look in the path if we contain no directory separator.
3442 as_myself=
3443 case $0 in #((
3444 *[\\/]* ) as_myself=$0 ;;
3445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3447 do
3448 IFS=$as_save_IFS
3449 case $as_dir in #(((
3450 '') as_dir=./ ;;
3451 */) ;;
3452 *) as_dir=$as_dir/ ;;
3453 esac
3454 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3455 done
3456 IFS=$as_save_IFS
3457
3458 ;;
3459 esac
3460 # We did not find ourselves, most probably we were run as `sh COMMAND'
3461 # in which case we are not to be found in the path.
3462 if test "x$as_myself" = x; then
3463 as_myself=$0
3464 fi
3465 if test ! -f "$as_myself"; then
3466 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3467 exit 1
3468 fi
3469
3470
3471
3472 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3473 # ----------------------------------------
3474 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3475 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3476 # script with STATUS, using 1 if that was 0.
3477 as_fn_error ()
3478 {
3479 as_status=$1; test $as_status -eq 0 && as_status=1
3480 if test "$4"; then
3481 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3483 fi
3484 printf "%s\n" "$as_me: error: $2" >&2
3485 as_fn_exit $as_status
3486 } # as_fn_error
3487
3488
3489
3490 # as_fn_set_status STATUS
3491 # -----------------------
3492 # Set $? to STATUS, without forking.
3493 as_fn_set_status ()
3494 {
3495 return $1
3496 } # as_fn_set_status
3497
3498 # as_fn_exit STATUS
3499 # -----------------
3500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3501 as_fn_exit ()
3502 {
3503 set +e
3504 as_fn_set_status $1
3505 exit $1
3506 } # as_fn_exit
3507
3508 # as_fn_unset VAR
3509 # ---------------
3510 # Portably unset VAR.
3511 as_fn_unset ()
3512 {
3513 { eval $1=; unset $1;}
3514 }
3515 as_unset=as_fn_unset
3516
3517 # as_fn_append VAR VALUE
3518 # ----------------------
3519 # Append the text in VALUE to the end of the definition contained in VAR. Take
3520 # advantage of any shell optimizations that allow amortized linear growth over
3521 # repeated appends, instead of the typical quadratic growth present in naive
3522 # implementations.
3523 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3524 then :
3525 eval 'as_fn_append ()
3526 {
3527 eval $1+=\$2
3528 }'
3529 else $as_nop
3530 as_fn_append ()
3531 {
3532 eval $1=\$$1\$2
3533 }
3534 fi # as_fn_append
3535
3536 # as_fn_arith ARG...
3537 # ------------------
3538 # Perform arithmetic evaluation on the ARGs, and store the result in the
3539 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3540 # must be portable across $(()) and expr.
3541 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3542 then :
3543 eval 'as_fn_arith ()
3544 {
3545 as_val=$(( $* ))
3546 }'
3547 else $as_nop
3548 as_fn_arith ()
3549 {
3550 as_val=`expr "$@" || test $? -eq 1`
3551 }
3552 fi # as_fn_arith
3553
3554
3555 if expr a : '\(a\)' >/dev/null 2>&1 &&
3556 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3557 as_expr=expr
3558 else
3559 as_expr=false
3560 fi
3561
3562 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3563 as_basename=basename
3564 else
3565 as_basename=false
3566 fi
3567
3568 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3569 as_dirname=dirname
3570 else
3571 as_dirname=false
3572 fi
3573
3574 as_me=`$as_basename -- "$0" ||
3575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3576 X"$0" : 'X\(//\)$' \| \
3577 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3578 printf "%s\n" X/"$0" |
3579 sed '/^.*\/\([^/][^/]*\)\/*$/{
3580 s//\1/
3581 q
3582 }
3583 /^X\/\(\/\/\)$/{
3584 s//\1/
3585 q
3586 }
3587 /^X\/\(\/\).*/{
3588 s//\1/
3589 q
3590 }
3591 s/.*/./; q'`
3592
3593 # Avoid depending upon Character Ranges.
3594 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3595 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3596 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3597 as_cr_digits='0123456789'
3598 as_cr_alnum=$as_cr_Letters$as_cr_digits
3599
3600
3601 # Determine whether it's possible to make 'echo' print without a newline.
3602 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3603 # for compatibility with existing Makefiles.
3604 ECHO_C= ECHO_N= ECHO_T=
3605 case `echo -n x` in #(((((
3606 -n*)
3607 case `echo 'xy\c'` in
3608 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3609 xy) ECHO_C='\c';;
3610 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3611 ECHO_T=' ';;
3612 esac;;
3613 *)
3614 ECHO_N='-n';;
3615 esac
3616
3617 # For backward compatibility with old third-party macros, we provide
3618 # the shell variables $as_echo and $as_echo_n. New code should use
3619 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3620 as_echo='printf %s\n'
3621 as_echo_n='printf %s'
3622
3623 rm -f conf$$ conf$$.exe conf$$.file
3624 if test -d conf$$.dir; then
3625 rm -f conf$$.dir/conf$$.file
3626 else
3627 rm -f conf$$.dir
3628 mkdir conf$$.dir 2>/dev/null
3629 fi
3630 if (echo >conf$$.file) 2>/dev/null; then
3631 if ln -s conf$$.file conf$$ 2>/dev/null; then
3632 as_ln_s='ln -s'
3633 # ... but there are two gotchas:
3634 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3635 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3636 # In both cases, we have to default to `cp -pR'.
3637 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3638 as_ln_s='cp -pR'
3639 elif ln conf$$.file conf$$ 2>/dev/null; then
3640 as_ln_s=ln
3641 else
3642 as_ln_s='cp -pR'
3643 fi
3644 else
3645 as_ln_s='cp -pR'
3646 fi
3647 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3648 rmdir conf$$.dir 2>/dev/null
3649
3650
3651 # as_fn_mkdir_p
3652 # -------------
3653 # Create "$as_dir" as a directory, including parents if necessary.
3654 as_fn_mkdir_p ()
3655 {
3656
3657 case $as_dir in #(
3658 -*) as_dir=./$as_dir;;
3659 esac
3660 test -d "$as_dir" || eval $as_mkdir_p || {
3661 as_dirs=
3662 while :; do
3663 case $as_dir in #(
3664 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3665 *) as_qdir=$as_dir;;
3666 esac
3667 as_dirs="'$as_qdir' $as_dirs"
3668 as_dir=`$as_dirname -- "$as_dir" ||
3669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3670 X"$as_dir" : 'X\(//\)[^/]' \| \
3671 X"$as_dir" : 'X\(//\)$' \| \
3672 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3673 printf "%s\n" X"$as_dir" |
3674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3675 s//\1/
3676 q
3677 }
3678 /^X\(\/\/\)[^/].*/{
3679 s//\1/
3680 q
3681 }
3682 /^X\(\/\/\)$/{
3683 s//\1/
3684 q
3685 }
3686 /^X\(\/\).*/{
3687 s//\1/
3688 q
3689 }
3690 s/.*/./; q'`
3691 test -d "$as_dir" && break
3692 done
3693 test -z "$as_dirs" || eval "mkdir $as_dirs"
3694 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3695
3696
3697 } # as_fn_mkdir_p
3698 if mkdir -p . 2>/dev/null; then
3699 as_mkdir_p='mkdir -p "$as_dir"'
3700 else
3701 test -d ./-p && rmdir ./-p
3702 as_mkdir_p=false
3703 fi
3704
3705
3706 # as_fn_executable_p FILE
3707 # -----------------------
3708 # Test if FILE is an executable regular file.
3709 as_fn_executable_p ()
3710 {
3711 test -f "$1" && test -x "$1"
3712 } # as_fn_executable_p
3713 as_test_x='test -x'
3714 as_executable_p=as_fn_executable_p
3715
3716 # Sed expression to map a string onto a valid CPP name.
3717 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3718
3719 # Sed expression to map a string onto a valid variable name.
3720 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3721
3722
3723 exec 6>&1
3724 ## ----------------------------------- ##
3725 ## Main body of $CONFIG_STATUS script. ##
3726 ## ----------------------------------- ##
3727 _ASEOF
3728 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3729
3730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3731 # Save the log message, to keep $0 and so on meaningful, and to
3732 # report actual input values of CONFIG_FILES etc. instead of their
3733 # values after options handling.
3734 ac_log="
3735 This file was extended by xorg-cf-files $as_me 1.0.8, which was
3736 generated by GNU Autoconf 2.71. Invocation command line was
3737
3738 CONFIG_FILES = $CONFIG_FILES
3739 CONFIG_HEADERS = $CONFIG_HEADERS
3740 CONFIG_LINKS = $CONFIG_LINKS
3741 CONFIG_COMMANDS = $CONFIG_COMMANDS
3742 $ $0 $@
3743
3744 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3745 "
3746
3747 _ACEOF
3748
3749 case $ac_config_files in *"
3750 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3751 esac
3752
3753
3754
3755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3756 # Files that config.status was made for.
3757 config_files="$ac_config_files"
3758
3759 _ACEOF
3760
3761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3762 ac_cs_usage="\
3763 \`$as_me' instantiates files and other configuration actions
3764 from templates according to the current configuration. Unless the files
3765 and actions are specified as TAGs, all are instantiated by default.
3766
3767 Usage: $0 [OPTION]... [TAG]...
3768
3769 -h, --help print this help, then exit
3770 -V, --version print version number and configuration settings, then exit
3771 --config print configuration, then exit
3772 -q, --quiet, --silent
3773 do not print progress messages
3774 -d, --debug don't remove temporary files
3775 --recheck update $as_me by reconfiguring in the same conditions
3776 --file=FILE[:TEMPLATE]
3777 instantiate the configuration file FILE
3778
3779 Configuration files:
3780 $config_files
3781
3782 Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/-/issues>."
3783
3784 _ACEOF
3785 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3786 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3788 ac_cs_config='$ac_cs_config_escaped'
3789 ac_cs_version="\\
3790 xorg-cf-files config.status 1.0.8
3791 configured by $0, generated by GNU Autoconf 2.71,
3792 with options \\"\$ac_cs_config\\"
3793
3794 Copyright (C) 2021 Free Software Foundation, Inc.
3795 This config.status script is free software; the Free Software Foundation
3796 gives unlimited permission to copy, distribute and modify it."
3797
3798 ac_pwd='$ac_pwd'
3799 srcdir='$srcdir'
3800 INSTALL='$INSTALL'
3801 MKDIR_P='$MKDIR_P'
3802 AWK='$AWK'
3803 test -n "\$AWK" || AWK=awk
3804 _ACEOF
3805
3806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3807 # The default lists apply if the user does not specify any file.
3808 ac_need_defaults=:
3809 while test $# != 0
3810 do
3811 case $1 in
3812 --*=?*)
3813 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3814 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3815 ac_shift=:
3816 ;;
3817 --*=)
3818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3819 ac_optarg=
3820 ac_shift=:
3821 ;;
3822 *)
3823 ac_option=$1
3824 ac_optarg=$2
3825 ac_shift=shift
3826 ;;
3827 esac
3828
3829 case $ac_option in
3830 # Handling of the options.
3831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3832 ac_cs_recheck=: ;;
3833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3834 printf "%s\n" "$ac_cs_version"; exit ;;
3835 --config | --confi | --conf | --con | --co | --c )
3836 printf "%s\n" "$ac_cs_config"; exit ;;
3837 --debug | --debu | --deb | --de | --d | -d )
3838 debug=: ;;
3839 --file | --fil | --fi | --f )
3840 $ac_shift
3841 case $ac_optarg in
3842 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3843 '') as_fn_error $? "missing file argument" ;;
3844 esac
3845 as_fn_append CONFIG_FILES " '$ac_optarg'"
3846 ac_need_defaults=false;;
3847 --he | --h | --help | --hel | -h )
3848 printf "%s\n" "$ac_cs_usage"; exit ;;
3849 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3850 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3851 ac_cs_silent=: ;;
3852
3853 # This is an error.
3854 -*) as_fn_error $? "unrecognized option: \`$1'
3855 Try \`$0 --help' for more information." ;;
3856
3857 *) as_fn_append ac_config_targets " $1"
3858 ac_need_defaults=false ;;
3859
3860 esac
3861 shift
3862 done
3863
3864 ac_configure_extra_args=
3865
3866 if $ac_cs_silent; then
3867 exec 6>/dev/null
3868 ac_configure_extra_args="$ac_configure_extra_args --silent"
3869 fi
3870
3871 _ACEOF
3872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3873 if \$ac_cs_recheck; then
3874 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3875 shift
3876 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3877 CONFIG_SHELL='$SHELL'
3878 export CONFIG_SHELL
3879 exec "\$@"
3880 fi
3881
3882 _ACEOF
3883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3884 exec 5>>config.log
3885 {
3886 echo
3887 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3888 ## Running $as_me. ##
3889 _ASBOX
3890 printf "%s\n" "$ac_log"
3891 } >&5
3892
3893 _ACEOF
3894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3895 _ACEOF
3896
3897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3898
3899 # Handling of arguments.
3900 for ac_config_target in $ac_config_targets
3901 do
3902 case $ac_config_target in
3903 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3904 "site.def") CONFIG_FILES="$CONFIG_FILES site.def" ;;
3905
3906 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3907 esac
3908 done
3909
3910
3911 # If the user did not use the arguments to specify the items to instantiate,
3912 # then the envvar interface is used. Set only those that are not.
3913 # We use the long form for the default assignment because of an extremely
3914 # bizarre bug on SunOS 4.1.3.
3915 if $ac_need_defaults; then
3916 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3917 fi
3918
3919 # Have a temporary directory for convenience. Make it in the build tree
3920 # simply because there is no reason against having it here, and in addition,
3921 # creating and moving files from /tmp can sometimes cause problems.
3922 # Hook for its removal unless debugging.
3923 # Note that there is a small window in which the directory will not be cleaned:
3924 # after its creation but before its name has been assigned to `$tmp'.
3925 $debug ||
3926 {
3927 tmp= ac_tmp=
3928 trap 'exit_status=$?
3929 : "${ac_tmp:=$tmp}"
3930 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3931 ' 0
3932 trap 'as_fn_exit 1' 1 2 13 15
3933 }
3934 # Create a (secure) tmp directory for tmp files.
3935
3936 {
3937 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3938 test -d "$tmp"
3939 } ||
3940 {
3941 tmp=./conf$$-$RANDOM
3942 (umask 077 && mkdir "$tmp")
3943 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3944 ac_tmp=$tmp
3945
3946 # Set up the scripts for CONFIG_FILES section.
3947 # No need to generate them if there are no CONFIG_FILES.
3948 # This happens for instance with `./config.status config.h'.
3949 if test -n "$CONFIG_FILES"; then
3950
3951
3952 ac_cr=`echo X | tr X '\015'`
3953 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3954 # But we know of no other shell where ac_cr would be empty at this
3955 # point, so we can use a bashism as a fallback.
3956 if test "x$ac_cr" = x; then
3957 eval ac_cr=\$\'\\r\'
3958 fi
3959 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3960 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3961 ac_cs_awk_cr='\\r'
3962 else
3963 ac_cs_awk_cr=$ac_cr
3964 fi
3965
3966 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3967 _ACEOF
3968
3969
3970 {
3971 echo "cat >conf$$subs.awk <<_ACEOF" &&
3972 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3973 echo "_ACEOF"
3974 } >conf$$subs.sh ||
3975 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3976 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3977 ac_delim='%!_!# '
3978 for ac_last_try in false false false false false :; do
3979 . ./conf$$subs.sh ||
3980 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3981
3982 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3983 if test $ac_delim_n = $ac_delim_num; then
3984 break
3985 elif $ac_last_try; then
3986 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3987 else
3988 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3989 fi
3990 done
3991 rm -f conf$$subs.sh
3992
3993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3994 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3995 _ACEOF
3996 sed -n '
3997 h
3998 s/^/S["/; s/!.*/"]=/
3999 p
4000 g
4001 s/^[^!]*!//
4002 :repl
4003 t repl
4004 s/'"$ac_delim"'$//
4005 t delim
4006 :nl
4007 h
4008 s/\(.\{148\}\)..*/\1/
4009 t more1
4010 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4011 p
4012 n
4013 b repl
4014 :more1
4015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4016 p
4017 g
4018 s/.\{148\}//
4019 t nl
4020 :delim
4021 h
4022 s/\(.\{148\}\)..*/\1/
4023 t more2
4024 s/["\\]/\\&/g; s/^/"/; s/$/"/
4025 p
4026 b
4027 :more2
4028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4029 p
4030 g
4031 s/.\{148\}//
4032 t delim
4033 ' <conf$$subs.awk | sed '
4034 /^[^""]/{
4035 N
4036 s/\n//
4037 }
4038 ' >>$CONFIG_STATUS || ac_write_fail=1
4039 rm -f conf$$subs.awk
4040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4041 _ACAWK
4042 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4043 for (key in S) S_is_set[key] = 1
4044 FS = ""
4045
4046 }
4047 {
4048 line = $ 0
4049 nfields = split(line, field, "@")
4050 substed = 0
4051 len = length(field[1])
4052 for (i = 2; i < nfields; i++) {
4053 key = field[i]
4054 keylen = length(key)
4055 if (S_is_set[key]) {
4056 value = S[key]
4057 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4058 len += length(value) + length(field[++i])
4059 substed = 1
4060 } else
4061 len += 1 + keylen
4062 }
4063
4064 print line
4065 }
4066
4067 _ACAWK
4068 _ACEOF
4069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4070 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4071 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4072 else
4073 cat
4074 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4075 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4076 _ACEOF
4077
4078 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4079 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4080 # trailing colons and then remove the whole line if VPATH becomes empty
4081 # (actually we leave an empty line to preserve line numbers).
4082 if test "x$srcdir" = x.; then
4083 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4084 h
4085 s///
4086 s/^/:/
4087 s/[ ]*$/:/
4088 s/:\$(srcdir):/:/g
4089 s/:\${srcdir}:/:/g
4090 s/:@srcdir@:/:/g
4091 s/^:*//
4092 s/:*$//
4093 x
4094 s/\(=[ ]*\).*/\1/
4095 G
4096 s/\n//
4097 s/^[^=]*=[ ]*$//
4098 }'
4099 fi
4100
4101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4102 fi # test -n "$CONFIG_FILES"
4103
4104
4105 eval set X " :F $CONFIG_FILES "
4106 shift
4107 for ac_tag
4108 do
4109 case $ac_tag in
4110 :[FHLC]) ac_mode=$ac_tag; continue;;
4111 esac
4112 case $ac_mode$ac_tag in
4113 :[FHL]*:*);;
4114 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4115 :[FH]-) ac_tag=-:-;;
4116 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4117 esac
4118 ac_save_IFS=$IFS
4119 IFS=:
4120 set x $ac_tag
4121 IFS=$ac_save_IFS
4122 shift
4123 ac_file=$1
4124 shift
4125
4126 case $ac_mode in
4127 :L) ac_source=$1;;
4128 :[FH])
4129 ac_file_inputs=
4130 for ac_f
4131 do
4132 case $ac_f in
4133 -) ac_f="$ac_tmp/stdin";;
4134 *) # Look for the file first in the build tree, then in the source tree
4135 # (if the path is not absolute). The absolute path cannot be DOS-style,
4136 # because $ac_f cannot contain `:'.
4137 test -f "$ac_f" ||
4138 case $ac_f in
4139 [\\/$]*) false;;
4140 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4141 esac ||
4142 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4143 esac
4144 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4145 as_fn_append ac_file_inputs " '$ac_f'"
4146 done
4147
4148 # Let's still pretend it is `configure' which instantiates (i.e., don't
4149 # use $as_me), people would be surprised to read:
4150 # /* config.h. Generated by config.status. */
4151 configure_input='Generated from '`
4152 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4153 `' by configure.'
4154 if test x"$ac_file" != x-; then
4155 configure_input="$ac_file. $configure_input"
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4157 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4158 fi
4159 # Neutralize special characters interpreted by sed in replacement strings.
4160 case $configure_input in #(
4161 *\&* | *\|* | *\\* )
4162 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4163 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4164 *) ac_sed_conf_input=$configure_input;;
4165 esac
4166
4167 case $ac_tag in
4168 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4169 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4170 esac
4171 ;;
4172 esac
4173
4174 ac_dir=`$as_dirname -- "$ac_file" ||
4175 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4176 X"$ac_file" : 'X\(//\)[^/]' \| \
4177 X"$ac_file" : 'X\(//\)$' \| \
4178 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4179 printf "%s\n" X"$ac_file" |
4180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4181 s//\1/
4182 q
4183 }
4184 /^X\(\/\/\)[^/].*/{
4185 s//\1/
4186 q
4187 }
4188 /^X\(\/\/\)$/{
4189 s//\1/
4190 q
4191 }
4192 /^X\(\/\).*/{
4193 s//\1/
4194 q
4195 }
4196 s/.*/./; q'`
4197 as_dir="$ac_dir"; as_fn_mkdir_p
4198 ac_builddir=.
4199
4200 case "$ac_dir" in
4201 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4202 *)
4203 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4204 # A ".." for each directory in $ac_dir_suffix.
4205 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4206 case $ac_top_builddir_sub in
4207 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4208 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4209 esac ;;
4210 esac
4211 ac_abs_top_builddir=$ac_pwd
4212 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4213 # for backward compatibility:
4214 ac_top_builddir=$ac_top_build_prefix
4215
4216 case $srcdir in
4217 .) # We are building in place.
4218 ac_srcdir=.
4219 ac_top_srcdir=$ac_top_builddir_sub
4220 ac_abs_top_srcdir=$ac_pwd ;;
4221 [\\/]* | ?:[\\/]* ) # Absolute name.
4222 ac_srcdir=$srcdir$ac_dir_suffix;
4223 ac_top_srcdir=$srcdir
4224 ac_abs_top_srcdir=$srcdir ;;
4225 *) # Relative name.
4226 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4227 ac_top_srcdir=$ac_top_build_prefix$srcdir
4228 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4229 esac
4230 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4231
4232
4233 case $ac_mode in
4234 :F)
4235 #
4236 # CONFIG_FILE
4237 #
4238
4239 case $INSTALL in
4240 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4241 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4242 esac
4243 ac_MKDIR_P=$MKDIR_P
4244 case $MKDIR_P in
4245 [\\/$]* | ?:[\\/]* ) ;;
4246 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4247 esac
4248 _ACEOF
4249
4250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4251 # If the template does not know about datarootdir, expand it.
4252 # FIXME: This hack should be removed a few years after 2.60.
4253 ac_datarootdir_hack=; ac_datarootdir_seen=
4254 ac_sed_dataroot='
4255 /datarootdir/ {
4256 p
4257 q
4258 }
4259 /@datadir@/p
4260 /@docdir@/p
4261 /@infodir@/p
4262 /@localedir@/p
4263 /@mandir@/p'
4264 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4265 *datarootdir*) ac_datarootdir_seen=yes;;
4266 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4268 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4269 _ACEOF
4270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4271 ac_datarootdir_hack='
4272 s&@datadir@&$datadir&g
4273 s&@docdir@&$docdir&g
4274 s&@infodir@&$infodir&g
4275 s&@localedir@&$localedir&g
4276 s&@mandir@&$mandir&g
4277 s&\\\${datarootdir}&$datarootdir&g' ;;
4278 esac
4279 _ACEOF
4280
4281 # Neutralize VPATH when `$srcdir' = `.'.
4282 # Shell code in configure.ac might set extrasub.
4283 # FIXME: do we really want to maintain this feature?
4284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4285 ac_sed_extra="$ac_vpsub
4286 $extrasub
4287 _ACEOF
4288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4289 :t
4290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4291 s|@configure_input@|$ac_sed_conf_input|;t t
4292 s&@top_builddir@&$ac_top_builddir_sub&;t t
4293 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4294 s&@srcdir@&$ac_srcdir&;t t
4295 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4296 s&@top_srcdir@&$ac_top_srcdir&;t t
4297 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4298 s&@builddir@&$ac_builddir&;t t
4299 s&@abs_builddir@&$ac_abs_builddir&;t t
4300 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4301 s&@INSTALL@&$ac_INSTALL&;t t
4302 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4303 $ac_datarootdir_hack
4304 "
4305 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4306 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4307
4308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4309 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4311 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4313 which seems to be undefined. Please make sure it is defined" >&5
4314 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4315 which seems to be undefined. Please make sure it is defined" >&2;}
4316
4317 rm -f "$ac_tmp/stdin"
4318 case $ac_file in
4319 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4320 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4321 esac \
4322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4323 ;;
4324
4325
4326
4327 esac
4328
4329 done # for ac_tag
4330
4331
4332 as_fn_exit 0
4333 _ACEOF
4334 ac_clean_files=$ac_clean_files_save
4335
4336 test $ac_write_fail = 0 ||
4337 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4338
4339
4340 # configure is writing to config.log, and then calls config.status.
4341 # config.status does its own redirection, appending to config.log.
4342 # Unfortunately, on DOS this fails, as config.log is still kept open
4343 # by configure, so config.status won't be able to write to it; its
4344 # output is simply discarded. So we exec the FD to /dev/null,
4345 # effectively closing config.log, so it can be properly (re)opened and
4346 # appended to by config.status. When coming back to configure, we
4347 # need to make the FD available again.
4348 if test "$no_create" != yes; then
4349 ac_cs_success=:
4350 ac_config_status_args=
4351 test "$silent" = yes &&
4352 ac_config_status_args="$ac_config_status_args --quiet"
4353 exec 5>/dev/null
4354 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4355 exec 5>>config.log
4356 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4357 # would make configure fail if this is the last instruction.
4358 $ac_cs_success || as_fn_exit 1
4359 fi
4360 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4362 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4363 fi
4364
4365
4366