configure revision 1.1.1.5 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for xbitmaps 1.1.3.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/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/data/bitmaps/-/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='xbitmaps'
614 PACKAGE_TARNAME='xbitmaps'
615 PACKAGE_VERSION='1.1.3'
616 PACKAGE_STRING='xbitmaps 1.1.3'
617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues'
618 PACKAGE_URL=''
619
620 ac_unique_file="Makefile.am"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 MAN_SUBSTS
624 XORG_MAN_PAGE
625 ADMIN_MAN_DIR
626 DRIVER_MAN_DIR
627 MISC_MAN_DIR
628 FILE_MAN_DIR
629 LIB_MAN_DIR
630 APP_MAN_DIR
631 ADMIN_MAN_SUFFIX
632 DRIVER_MAN_SUFFIX
633 MISC_MAN_SUFFIX
634 FILE_MAN_SUFFIX
635 LIB_MAN_SUFFIX
636 APP_MAN_SUFFIX
637 SED
638 host_os
639 host_vendor
640 host_cpu
641 host
642 build_os
643 build_vendor
644 build_cpu
645 build
646 INSTALL_CMD
647 PKG_CONFIG_LIBDIR
648 PKG_CONFIG_PATH
649 PKG_CONFIG
650 CHANGELOG_CMD
651 AM_BACKSLASH
652 AM_DEFAULT_VERBOSITY
653 AM_DEFAULT_V
654 AM_V
655 CSCOPE
656 ETAGS
657 CTAGS
658 am__untar
659 am__tar
660 AMTAR
661 am__leading_dot
662 SET_MAKE
663 AWK
664 mkdir_p
665 MKDIR_P
666 INSTALL_STRIP_PROGRAM
667 STRIP
668 install_sh
669 MAKEINFO
670 AUTOHEADER
671 AUTOMAKE
672 AUTOCONF
673 ACLOCAL
674 VERSION
675 PACKAGE
676 CYGPATH_W
677 am__isrc
678 INSTALL_DATA
679 INSTALL_SCRIPT
680 INSTALL_PROGRAM
681 target_alias
682 host_alias
683 build_alias
684 LIBS
685 ECHO_T
686 ECHO_N
687 ECHO_C
688 DEFS
689 mandir
690 localedir
691 libdir
692 psdir
693 pdfdir
694 dvidir
695 htmldir
696 infodir
697 docdir
698 oldincludedir
699 includedir
700 runstatedir
701 localstatedir
702 sharedstatedir
703 sysconfdir
704 datadir
705 datarootdir
706 libexecdir
707 sbindir
708 bindir
709 program_transform_name
710 prefix
711 exec_prefix
712 PACKAGE_URL
713 PACKAGE_BUGREPORT
714 PACKAGE_STRING
715 PACKAGE_VERSION
716 PACKAGE_TARNAME
717 PACKAGE_NAME
718 PATH_SEPARATOR
719 SHELL'
720 ac_subst_files=''
721 ac_user_opts='
722 enable_option_checking
723 enable_silent_rules
724 '
725 ac_precious_vars='build_alias
726 host_alias
727 target_alias
728 PKG_CONFIG
729 PKG_CONFIG_PATH
730 PKG_CONFIG_LIBDIR'
731
732
733 # Initialize some variables set by options.
734 ac_init_help=
735 ac_init_version=false
736 ac_unrecognized_opts=
737 ac_unrecognized_sep=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
740 cache_file=/dev/null
741 exec_prefix=NONE
742 no_create=
743 no_recursion=
744 prefix=NONE
745 program_prefix=NONE
746 program_suffix=NONE
747 program_transform_name=s,x,x,
748 silent=
749 site=
750 srcdir=
751 verbose=
752 x_includes=NONE
753 x_libraries=NONE
754
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir='${exec_prefix}/bin'
762 sbindir='${exec_prefix}/sbin'
763 libexecdir='${exec_prefix}/libexec'
764 datarootdir='${prefix}/share'
765 datadir='${datarootdir}'
766 sysconfdir='${prefix}/etc'
767 sharedstatedir='${prefix}/com'
768 localstatedir='${prefix}/var'
769 runstatedir='${localstatedir}/run'
770 includedir='${prefix}/include'
771 oldincludedir='/usr/include'
772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir='${datarootdir}/info'
774 htmldir='${docdir}'
775 dvidir='${docdir}'
776 pdfdir='${docdir}'
777 psdir='${docdir}'
778 libdir='${exec_prefix}/lib'
779 localedir='${datarootdir}/locale'
780 mandir='${datarootdir}/man'
781
782 ac_prev=
783 ac_dashdash=
784 for ac_option
785 do
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\$ac_option
789 ac_prev=
790 continue
791 fi
792
793 case $ac_option in
794 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 *=) ac_optarg= ;;
796 *) ac_optarg=yes ;;
797 esac
798
799 case $ac_dashdash$ac_option in
800 --)
801 ac_dashdash=yes ;;
802
803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 ac_prev=bindir ;;
805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806 bindir=$ac_optarg ;;
807
808 -build | --build | --buil | --bui | --bu)
809 ac_prev=build_alias ;;
810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811 build_alias=$ac_optarg ;;
812
813 -cache-file | --cache-file | --cache-fil | --cache-fi \
814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815 ac_prev=cache_file ;;
816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818 cache_file=$ac_optarg ;;
819
820 --config-cache | -C)
821 cache_file=config.cache ;;
822
823 -datadir | --datadir | --datadi | --datad)
824 ac_prev=datadir ;;
825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
826 datadir=$ac_optarg ;;
827
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
834
835 -disable-* | --disable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: \`$ac_useropt'"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=no ;;
850
851 -docdir | --docdir | --docdi | --doc | --do)
852 ac_prev=docdir ;;
853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854 docdir=$ac_optarg ;;
855
856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 ac_prev=dvidir ;;
858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859 dvidir=$ac_optarg ;;
860
861 -enable-* | --enable-*)
862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 as_fn_error $? "invalid feature name: \`$ac_useropt'"
866 ac_useropt_orig=$ac_useropt
867 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
869 *"
870 "enable_$ac_useropt"
871 "*) ;;
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
874 esac
875 eval enable_$ac_useropt=\$ac_optarg ;;
876
877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879 | --exec | --exe | --ex)
880 ac_prev=exec_prefix ;;
881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883 | --exec=* | --exe=* | --ex=*)
884 exec_prefix=$ac_optarg ;;
885
886 -gas | --gas | --ga | --g)
887 # Obsolete; use --with-gas.
888 with_gas=yes ;;
889
890 -help | --help | --hel | --he | -h)
891 ac_init_help=long ;;
892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893 ac_init_help=recursive ;;
894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895 ac_init_help=short ;;
896
897 -host | --host | --hos | --ho)
898 ac_prev=host_alias ;;
899 -host=* | --host=* | --hos=* | --ho=*)
900 host_alias=$ac_optarg ;;
901
902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 ac_prev=htmldir ;;
904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 | --ht=*)
906 htmldir=$ac_optarg ;;
907
908 -includedir | --includedir | --includedi | --included | --include \
909 | --includ | --inclu | --incl | --inc)
910 ac_prev=includedir ;;
911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912 | --includ=* | --inclu=* | --incl=* | --inc=*)
913 includedir=$ac_optarg ;;
914
915 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 ac_prev=infodir ;;
917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918 infodir=$ac_optarg ;;
919
920 -libdir | --libdir | --libdi | --libd)
921 ac_prev=libdir ;;
922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
923 libdir=$ac_optarg ;;
924
925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926 | --libexe | --libex | --libe)
927 ac_prev=libexecdir ;;
928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929 | --libexe=* | --libex=* | --libe=*)
930 libexecdir=$ac_optarg ;;
931
932 -localedir | --localedir | --localedi | --localed | --locale)
933 ac_prev=localedir ;;
934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935 localedir=$ac_optarg ;;
936
937 -localstatedir | --localstatedir | --localstatedi | --localstated \
938 | --localstate | --localstat | --localsta | --localst | --locals)
939 ac_prev=localstatedir ;;
940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942 localstatedir=$ac_optarg ;;
943
944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 ac_prev=mandir ;;
946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947 mandir=$ac_optarg ;;
948
949 -nfp | --nfp | --nf)
950 # Obsolete; use --without-fp.
951 with_fp=no ;;
952
953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954 | --no-cr | --no-c | -n)
955 no_create=yes ;;
956
957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959 no_recursion=yes ;;
960
961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963 | --oldin | --oldi | --old | --ol | --o)
964 ac_prev=oldincludedir ;;
965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968 oldincludedir=$ac_optarg ;;
969
970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 ac_prev=prefix ;;
972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973 prefix=$ac_optarg ;;
974
975 -program-prefix | --program-prefix | --program-prefi | --program-pref \
976 | --program-pre | --program-pr | --program-p)
977 ac_prev=program_prefix ;;
978 -program-prefix=* | --program-prefix=* | --program-prefi=* \
979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980 program_prefix=$ac_optarg ;;
981
982 -program-suffix | --program-suffix | --program-suffi | --program-suff \
983 | --program-suf | --program-su | --program-s)
984 ac_prev=program_suffix ;;
985 -program-suffix=* | --program-suffix=* | --program-suffi=* \
986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987 program_suffix=$ac_optarg ;;
988
989 -program-transform-name | --program-transform-name \
990 | --program-transform-nam | --program-transform-na \
991 | --program-transform-n | --program-transform- \
992 | --program-transform | --program-transfor \
993 | --program-transfo | --program-transf \
994 | --program-trans | --program-tran \
995 | --progr-tra | --program-tr | --program-t)
996 ac_prev=program_transform_name ;;
997 -program-transform-name=* | --program-transform-name=* \
998 | --program-transform-nam=* | --program-transform-na=* \
999 | --program-transform-n=* | --program-transform-=* \
1000 | --program-transform=* | --program-transfor=* \
1001 | --program-transfo=* | --program-transf=* \
1002 | --program-trans=* | --program-tran=* \
1003 | --progr-tra=* | --program-tr=* | --program-t=*)
1004 program_transform_name=$ac_optarg ;;
1005
1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 ac_prev=pdfdir ;;
1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009 pdfdir=$ac_optarg ;;
1010
1011 -psdir | --psdir | --psdi | --psd | --ps)
1012 ac_prev=psdir ;;
1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014 psdir=$ac_optarg ;;
1015
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1018 silent=yes ;;
1019
1020 -runstatedir | --runstatedir | --runstatedi | --runstated \
1021 | --runstate | --runstat | --runsta | --runst | --runs \
1022 | --run | --ru | --r)
1023 ac_prev=runstatedir ;;
1024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1026 | --run=* | --ru=* | --r=*)
1027 runstatedir=$ac_optarg ;;
1028
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 ac_prev=sbindir ;;
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 | --sbi=* | --sb=*)
1033 sbindir=$ac_optarg ;;
1034
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1038 | --sha | --sh)
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 | --sha=* | --sh=*)
1044 sharedstatedir=$ac_optarg ;;
1045
1046 -site | --site | --sit)
1047 ac_prev=site ;;
1048 -site=* | --site=* | --sit=*)
1049 site=$ac_optarg ;;
1050
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 ac_prev=srcdir ;;
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1055
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1062
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1067
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1069 verbose=yes ;;
1070
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1073
1074 -with-* | --with-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: \`$ac_useropt'"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1082 *"
1083 "with_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval with_$ac_useropt=\$ac_optarg ;;
1089
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: \`$ac_useropt'"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1098 *"
1099 "with_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=no ;;
1105
1106 --x)
1107 # Obsolete; use --with-x.
1108 with_x=yes ;;
1109
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1116
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1123
1124 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1125 Try \`$0 --help' for more information"
1126 ;;
1127
1128 *=*)
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1134 esac
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1137
1138 *)
1139 # FIXME: should be removed in autoconf 3.0.
1140 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144 ;;
1145
1146 esac
1147 done
1148
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1152 fi
1153
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1156 no) ;;
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 esac
1160 fi
1161
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir runstatedir
1167 do
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1170 case $ac_val in
1171 */ )
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1174 esac
1175 # Be sure to have absolute directory names.
1176 case $ac_val in
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179 esac
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1181 done
1182
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1186 build=$build_alias
1187 host=$host_alias
1188 target=$target_alias
1189
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1196 fi
1197 fi
1198
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201
1202 test "$silent" = yes && exec 6>/dev/null
1203
1204
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1211
1212
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 printf "%s\n" X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224 s//\1/
1225 q
1226 }
1227 /^X\(\/\/\)[^/].*/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\/\)$/{
1232 s//\1/
1233 q
1234 }
1235 /^X\(\/\).*/{
1236 s//\1/
1237 q
1238 }
1239 s/.*/./; q'`
1240 srcdir=$ac_confdir
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 srcdir=..
1243 fi
1244 else
1245 ac_srcdir_defaulted=no
1246 fi
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1250 fi
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254 pwd)`
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 srcdir=.
1258 fi
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1262 case $srcdir in
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 esac
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1270 done
1271
1272 #
1273 # Report the --help message.
1274 #
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1278 cat <<_ACEOF
1279 \`configure' configures xbitmaps 1.1.3 to adapt to many kinds of systems.
1280
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1282
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1285
1286 Defaults for the options are specified in brackets.
1287
1288 Configuration:
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1298
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 [PREFIX]
1304
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1309
1310 For better control, use the options below.
1311
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/xbitmaps]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1334
1335 cat <<\_ACEOF
1336
1337 Program names:
1338 --program-prefix=PREFIX prepend PREFIX to installed program names
1339 --program-suffix=SUFFIX append SUFFIX to installed program names
1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1341
1342 System types:
1343 --build=BUILD configure for building on BUILD [guessed]
1344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1345 _ACEOF
1346 fi
1347
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of xbitmaps 1.1.3:";;
1351 esac
1352 cat <<\_ACEOF
1353
1354 Optional Features:
1355 --disable-option-checking ignore unrecognized --enable/--with options
1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --enable-silent-rules less verbose build output (undo: "make V=1")
1359 --disable-silent-rules verbose build output (undo: "make V=0")
1360
1361 Some influential environment variables:
1362 PKG_CONFIG path to pkg-config utility
1363 PKG_CONFIG_PATH
1364 directories to add to pkg-config's search path
1365 PKG_CONFIG_LIBDIR
1366 path overriding pkg-config's built-in search path
1367
1368 Use these variables to override the choices made by `configure' or to help
1369 it to find libraries and programs with nonstandard names/locations.
1370
1371 Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>.
1372 _ACEOF
1373 ac_status=$?
1374 fi
1375
1376 if test "$ac_init_help" = "recursive"; then
1377 # If there are subdirs, report their specific --help.
1378 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379 test -d "$ac_dir" ||
1380 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1381 continue
1382 ac_builddir=.
1383
1384 case "$ac_dir" in
1385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386 *)
1387 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1388 # A ".." for each directory in $ac_dir_suffix.
1389 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390 case $ac_top_builddir_sub in
1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 esac ;;
1394 esac
1395 ac_abs_top_builddir=$ac_pwd
1396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397 # for backward compatibility:
1398 ac_top_builddir=$ac_top_build_prefix
1399
1400 case $srcdir in
1401 .) # We are building in place.
1402 ac_srcdir=.
1403 ac_top_srcdir=$ac_top_builddir_sub
1404 ac_abs_top_srcdir=$ac_pwd ;;
1405 [\\/]* | ?:[\\/]* ) # Absolute name.
1406 ac_srcdir=$srcdir$ac_dir_suffix;
1407 ac_top_srcdir=$srcdir
1408 ac_abs_top_srcdir=$srcdir ;;
1409 *) # Relative name.
1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411 ac_top_srcdir=$ac_top_build_prefix$srcdir
1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1413 esac
1414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1415
1416 cd "$ac_dir" || { ac_status=$?; continue; }
1417 # Check for configure.gnu first; this name is used for a wrapper for
1418 # Metaconfig's "Configure" on case-insensitive file systems.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1420 echo &&
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1423 echo &&
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1425 else
1426 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427 fi || ac_status=$?
1428 cd "$ac_pwd" || { ac_status=$?; break; }
1429 done
1430 fi
1431
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1434 cat <<\_ACEOF
1435 xbitmaps configure 1.1.3
1436 generated by GNU Autoconf 2.71
1437
1438 Copyright (C) 2021 Free Software Foundation, Inc.
1439 This configure script is free software; the Free Software Foundation
1440 gives unlimited permission to copy, distribute and modify it.
1441 _ACEOF
1442 exit
1443 fi
1444
1445 ## ------------------------ ##
1446 ## Autoconf initialization. ##
1447 ## ------------------------ ##
1448 ac_configure_args_raw=
1449 for ac_arg
1450 do
1451 case $ac_arg in
1452 *\'*)
1453 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1454 esac
1455 as_fn_append ac_configure_args_raw " '$ac_arg'"
1456 done
1457
1458 case $ac_configure_args_raw in
1459 *$as_nl*)
1460 ac_safe_unquote= ;;
1461 *)
1462 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1463 ac_unsafe_a="$ac_unsafe_z#~"
1464 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1465 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1466 esac
1467
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1471
1472 It was created by xbitmaps $as_me 1.1.3, which was
1473 generated by GNU Autoconf 2.71. Invocation command line was
1474
1475 $ $0$ac_configure_args_raw
1476
1477 _ACEOF
1478 exec 5>>config.log
1479 {
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1484
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501
1502 _ASUNAME
1503
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1506 do
1507 IFS=$as_save_IFS
1508 case $as_dir in #(((
1509 '') as_dir=./ ;;
1510 */) ;;
1511 *) as_dir=$as_dir/ ;;
1512 esac
1513 printf "%s\n" "PATH: $as_dir"
1514 done
1515 IFS=$as_save_IFS
1516
1517 } >&5
1518
1519 cat >&5 <<_ACEOF
1520
1521
1522 ## ----------- ##
1523 ## Core tests. ##
1524 ## ----------- ##
1525
1526 _ACEOF
1527
1528
1529 # Keep a trace of the command line.
1530 # Strip out --no-create and --no-recursion so they do not pile up.
1531 # Strip out --silent because we don't want to record it for future runs.
1532 # Also quote any args containing shell meta-characters.
1533 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_configure_args=
1535 ac_configure_args0=
1536 ac_configure_args1=
1537 ac_must_keep_next=false
1538 for ac_pass in 1 2
1539 do
1540 for ac_arg
1541 do
1542 case $ac_arg in
1543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1545 | -silent | --silent | --silen | --sile | --sil)
1546 continue ;;
1547 *\'*)
1548 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549 esac
1550 case $ac_pass in
1551 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1552 2)
1553 as_fn_append ac_configure_args1 " '$ac_arg'"
1554 if test $ac_must_keep_next = true; then
1555 ac_must_keep_next=false # Got value, back to normal.
1556 else
1557 case $ac_arg in
1558 *=* | --config-cache | -C | -disable-* | --disable-* \
1559 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1560 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1561 | -with-* | --with-* | -without-* | --without-* | --x)
1562 case "$ac_configure_args0 " in
1563 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564 esac
1565 ;;
1566 -* ) ac_must_keep_next=true ;;
1567 esac
1568 fi
1569 as_fn_append ac_configure_args " '$ac_arg'"
1570 ;;
1571 esac
1572 done
1573 done
1574 { ac_configure_args0=; unset ac_configure_args0;}
1575 { ac_configure_args1=; unset ac_configure_args1;}
1576
1577 # When interrupted or exit'd, cleanup temporary files, and complete
1578 # config.log. We remove comments because anyway the quotes in there
1579 # would cause problems or look ugly.
1580 # WARNING: Use '\'' to represent an apostrophe within the trap.
1581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1582 trap 'exit_status=$?
1583 # Sanitize IFS.
1584 IFS=" "" $as_nl"
1585 # Save into config.log some information that might help in debugging.
1586 {
1587 echo
1588
1589 printf "%s\n" "## ---------------- ##
1590 ## Cache variables. ##
1591 ## ---------------- ##"
1592 echo
1593 # The following way of writing the cache mishandles newlines in values,
1594 (
1595 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1596 eval ac_val=\$$ac_var
1597 case $ac_val in #(
1598 *${as_nl}*)
1599 case $ac_var in #(
1600 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1601 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1602 esac
1603 case $ac_var in #(
1604 _ | IFS | as_nl) ;; #(
1605 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1606 *) { eval $ac_var=; unset $ac_var;} ;;
1607 esac ;;
1608 esac
1609 done
1610 (set) 2>&1 |
1611 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1612 *${as_nl}ac_space=\ *)
1613 sed -n \
1614 "s/'\''/'\''\\\\'\'''\''/g;
1615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1616 ;; #(
1617 *)
1618 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ;;
1620 esac |
1621 sort
1622 )
1623 echo
1624
1625 printf "%s\n" "## ----------------- ##
1626 ## Output variables. ##
1627 ## ----------------- ##"
1628 echo
1629 for ac_var in $ac_subst_vars
1630 do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 printf "%s\n" "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1638
1639 if test -n "$ac_subst_files"; then
1640 printf "%s\n" "## ------------------- ##
1641 ## File substitutions. ##
1642 ## ------------------- ##"
1643 echo
1644 for ac_var in $ac_subst_files
1645 do
1646 eval ac_val=\$$ac_var
1647 case $ac_val in
1648 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 esac
1650 printf "%s\n" "$ac_var='\''$ac_val'\''"
1651 done | sort
1652 echo
1653 fi
1654
1655 if test -s confdefs.h; then
1656 printf "%s\n" "## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##"
1659 echo
1660 cat confdefs.h
1661 echo
1662 fi
1663 test "$ac_signal" != 0 &&
1664 printf "%s\n" "$as_me: caught signal $ac_signal"
1665 printf "%s\n" "$as_me: exit $exit_status"
1666 } >&5
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 exit $exit_status
1670 ' 0
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1673 done
1674 ac_signal=0
1675
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1678
1679 printf "%s\n" "/* confdefs.h */" > confdefs.h
1680
1681 # Predefined preprocessor variables.
1682
1683 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1684
1685 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1686
1687 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1688
1689 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1690
1691 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1692
1693 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1694
1695
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer an explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 ac_site_files="$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1702 else
1703 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1704 fi
1705
1706 for ac_site_file in $ac_site_files
1707 do
1708 case $ac_site_file in #(
1709 */*) :
1710 ;; #(
1711 *) :
1712 ac_site_file=./$ac_site_file ;;
1713 esac
1714 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1716 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1718 . "$ac_site_file" \
1719 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1720 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1721 as_fn_error $? "failed to load site script $ac_site_file
1722 See \`config.log' for more details" "$LINENO" 5; }
1723 fi
1724 done
1725
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special files
1728 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1729 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1731 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1736 fi
1737 else
1738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1739 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1741 fi
1742
1743
1744 # Auxiliary files required by this configure script.
1745 ac_aux_files="config.guess config.sub missing install-sh"
1746
1747 # Locations in which to look for auxiliary files.
1748 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1749
1750 # Search for a directory containing all of the required auxiliary files,
1751 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1752 # If we don't find one directory that contains all the files we need,
1753 # we report the set of missing files from the *first* directory in
1754 # $ac_aux_dir_candidates and give up.
1755 ac_missing_aux_files=""
1756 ac_first_candidate=:
1757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 as_found=false
1760 for as_dir in $ac_aux_dir_candidates
1761 do
1762 IFS=$as_save_IFS
1763 case $as_dir in #(((
1764 '') as_dir=./ ;;
1765 */) ;;
1766 *) as_dir=$as_dir/ ;;
1767 esac
1768 as_found=:
1769
1770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1771 ac_aux_dir_found=yes
1772 ac_install_sh=
1773 for ac_aux in $ac_aux_files
1774 do
1775 # As a special case, if "install-sh" is required, that requirement
1776 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1777 # and $ac_install_sh is set appropriately for whichever one is found.
1778 if test x"$ac_aux" = x"install-sh"
1779 then
1780 if test -f "${as_dir}install-sh"; then
1781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1782 ac_install_sh="${as_dir}install-sh -c"
1783 elif test -f "${as_dir}install.sh"; then
1784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1785 ac_install_sh="${as_dir}install.sh -c"
1786 elif test -f "${as_dir}shtool"; then
1787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1788 ac_install_sh="${as_dir}shtool install -c"
1789 else
1790 ac_aux_dir_found=no
1791 if $ac_first_candidate; then
1792 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1793 else
1794 break
1795 fi
1796 fi
1797 else
1798 if test -f "${as_dir}${ac_aux}"; then
1799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1800 else
1801 ac_aux_dir_found=no
1802 if $ac_first_candidate; then
1803 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1804 else
1805 break
1806 fi
1807 fi
1808 fi
1809 done
1810 if test "$ac_aux_dir_found" = yes; then
1811 ac_aux_dir="$as_dir"
1812 break
1813 fi
1814 ac_first_candidate=false
1815
1816 as_found=false
1817 done
1818 IFS=$as_save_IFS
1819 if $as_found
1820 then :
1821
1822 else $as_nop
1823 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1824 fi
1825
1826
1827 # These three variables are undocumented and unsupported,
1828 # and are intended to be withdrawn in a future Autoconf release.
1829 # They can cause serious problems if a builder's source tree is in a directory
1830 # whose full name contains unusual characters.
1831 if test -f "${ac_aux_dir}config.guess"; then
1832 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1833 fi
1834 if test -f "${ac_aux_dir}config.sub"; then
1835 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1836 fi
1837 if test -f "$ac_aux_dir/configure"; then
1838 ac_configure="$SHELL ${ac_aux_dir}configure"
1839 fi
1840
1841 # Check that the precious variables saved in the cache have kept the same
1842 # value.
1843 ac_cache_corrupted=false
1844 for ac_var in $ac_precious_vars; do
1845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1846 eval ac_new_set=\$ac_env_${ac_var}_set
1847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1848 eval ac_new_val=\$ac_env_${ac_var}_value
1849 case $ac_old_set,$ac_new_set in
1850 set,)
1851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1852 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1853 ac_cache_corrupted=: ;;
1854 ,set)
1855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1856 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1857 ac_cache_corrupted=: ;;
1858 ,);;
1859 *)
1860 if test "x$ac_old_val" != "x$ac_new_val"; then
1861 # differences in whitespace do not lead to failure.
1862 ac_old_val_w=`echo x $ac_old_val`
1863 ac_new_val_w=`echo x $ac_new_val`
1864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1866 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1867 ac_cache_corrupted=:
1868 else
1869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1870 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1871 eval $ac_var=\$ac_old_val
1872 fi
1873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1874 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1876 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1877 fi;;
1878 esac
1879 # Pass precious variables to config.status.
1880 if test "$ac_new_set" = set; then
1881 case $ac_new_val in
1882 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1883 *) ac_arg=$ac_var=$ac_new_val ;;
1884 esac
1885 case " $ac_configure_args " in
1886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1888 esac
1889 fi
1890 done
1891 if $ac_cache_corrupted; then
1892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1893 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1895 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1896 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1897 and start over" "$LINENO" 5
1898 fi
1899 ## -------------------- ##
1900 ## Main body of script. ##
1901 ## -------------------- ##
1902
1903 ac_ext=c
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1908
1909
1910
1911 ac_config_headers="$ac_config_headers config.h"
1912
1913
1914 # Initialize Automake
1915 am__api_version='1.16'
1916
1917
1918
1919 # Find a good install program. We prefer a C program (faster),
1920 # so one script is as good as another. But avoid the broken or
1921 # incompatible versions:
1922 # SysV /etc/install, /usr/sbin/install
1923 # SunOS /usr/etc/install
1924 # IRIX /sbin/install
1925 # AIX /bin/install
1926 # AmigaOS /C/install, which installs bootblocks on floppy discs
1927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1930 # OS/2's system install, which has a completely different semantic
1931 # ./install, which can be erroneously created by make from ./install.sh.
1932 # Reject install programs that cannot install multiple files.
1933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1934 printf %s "checking for a BSD-compatible install... " >&6; }
1935 if test -z "$INSTALL"; then
1936 if test ${ac_cv_path_install+y}
1937 then :
1938 printf %s "(cached) " >&6
1939 else $as_nop
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1942 do
1943 IFS=$as_save_IFS
1944 case $as_dir in #(((
1945 '') as_dir=./ ;;
1946 */) ;;
1947 *) as_dir=$as_dir/ ;;
1948 esac
1949 # Account for fact that we put trailing slashes in our PATH walk.
1950 case $as_dir in #((
1951 ./ | /[cC]/* | \
1952 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1953 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1954 /usr/ucb/* ) ;;
1955 *)
1956 # OSF1 and SCO ODT 3.0 have their own names for install.
1957 # Don't use installbsd from OSF since it installs stuff as root
1958 # by default.
1959 for ac_prog in ginstall scoinst install; do
1960 for ac_exec_ext in '' $ac_executable_extensions; do
1961 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1962 if test $ac_prog = install &&
1963 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1964 # AIX install. It has an incompatible calling convention.
1965 :
1966 elif test $ac_prog = install &&
1967 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1968 # program-specific install script used by HP pwplus--don't use.
1969 :
1970 else
1971 rm -rf conftest.one conftest.two conftest.dir
1972 echo one > conftest.one
1973 echo two > conftest.two
1974 mkdir conftest.dir
1975 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1976 test -s conftest.one && test -s conftest.two &&
1977 test -s conftest.dir/conftest.one &&
1978 test -s conftest.dir/conftest.two
1979 then
1980 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1981 break 3
1982 fi
1983 fi
1984 fi
1985 done
1986 done
1987 ;;
1988 esac
1989
1990 done
1991 IFS=$as_save_IFS
1992
1993 rm -rf conftest.one conftest.two conftest.dir
1994
1995 fi
1996 if test ${ac_cv_path_install+y}; then
1997 INSTALL=$ac_cv_path_install
1998 else
1999 # As a last resort, use the slow shell script. Don't cache a
2000 # value for INSTALL within a source directory, because that will
2001 # break other packages using the cache if that directory is
2002 # removed, or if the value is a relative name.
2003 INSTALL=$ac_install_sh
2004 fi
2005 fi
2006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2007 printf "%s\n" "$INSTALL" >&6; }
2008
2009 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2010 # It thinks the first close brace ends the variable substitution.
2011 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2012
2013 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2014
2015 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2016
2017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2018 printf %s "checking whether build environment is sane... " >&6; }
2019 # Reject unsafe characters in $srcdir or the absolute working directory
2020 # name. Accept space and tab only in the latter.
2021 am_lf='
2022 '
2023 case `pwd` in
2024 *[\\\"\#\$\&\'\`$am_lf]*)
2025 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2026 esac
2027 case $srcdir in
2028 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2029 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2030 esac
2031
2032 # Do 'set' in a subshell so we don't clobber the current shell's
2033 # arguments. Must try -L first in case configure is actually a
2034 # symlink; some systems play weird games with the mod time of symlinks
2035 # (eg FreeBSD returns the mod time of the symlink's containing
2036 # directory).
2037 if (
2038 am_has_slept=no
2039 for am_try in 1 2; do
2040 echo "timestamp, slept: $am_has_slept" > conftest.file
2041 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2042 if test "$*" = "X"; then
2043 # -L didn't work.
2044 set X `ls -t "$srcdir/configure" conftest.file`
2045 fi
2046 if test "$*" != "X $srcdir/configure conftest.file" \
2047 && test "$*" != "X conftest.file $srcdir/configure"; then
2048
2049 # If neither matched, then we have a broken ls. This can happen
2050 # if, for instance, CONFIG_SHELL is bash and it inherits a
2051 # broken ls alias from the environment. This has actually
2052 # happened. Such a system could not be considered "sane".
2053 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2054 alias in your environment" "$LINENO" 5
2055 fi
2056 if test "$2" = conftest.file || test $am_try -eq 2; then
2057 break
2058 fi
2059 # Just in case.
2060 sleep 1
2061 am_has_slept=yes
2062 done
2063 test "$2" = conftest.file
2064 )
2065 then
2066 # Ok.
2067 :
2068 else
2069 as_fn_error $? "newly created file is older than distributed files!
2070 Check your system clock" "$LINENO" 5
2071 fi
2072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2073 printf "%s\n" "yes" >&6; }
2074 # If we didn't sleep, we still need to ensure time stamps of config.status and
2075 # generated files are strictly newer.
2076 am_sleep_pid=
2077 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2078 ( sleep 1 ) &
2079 am_sleep_pid=$!
2080 fi
2081
2082 rm -f conftest.file
2083
2084 test "$program_prefix" != NONE &&
2085 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2086 # Use a double $ so make ignores it.
2087 test "$program_suffix" != NONE &&
2088 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2089 # Double any \ or $.
2090 # By default was `s,x,x', remove it if useless.
2091 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2092 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2093
2094
2095 # Expand $ac_aux_dir to an absolute path.
2096 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2097
2098
2099 if test x"${MISSING+set}" != xset; then
2100 MISSING="\${SHELL} '$am_aux_dir/missing'"
2101 fi
2102 # Use eval to expand $SHELL
2103 if eval "$MISSING --is-lightweight"; then
2104 am_missing_run="$MISSING "
2105 else
2106 am_missing_run=
2107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2108 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2109 fi
2110
2111 if test x"${install_sh+set}" != xset; then
2112 case $am_aux_dir in
2113 *\ * | *\ *)
2114 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2115 *)
2116 install_sh="\${SHELL} $am_aux_dir/install-sh"
2117 esac
2118 fi
2119
2120 # Installed binaries are usually stripped using 'strip' when the user
2121 # run "make install-strip". However 'strip' might not be the right
2122 # tool to use in cross-compilation environments, therefore Automake
2123 # will honor the 'STRIP' environment variable to overrule this program.
2124 if test "$cross_compiling" != no; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}strip; ac_word=$2
2128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129 printf %s "checking for $ac_word... " >&6; }
2130 if test ${ac_cv_prog_STRIP+y}
2131 then :
2132 printf %s "(cached) " >&6
2133 else $as_nop
2134 if test -n "$STRIP"; then
2135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 case $as_dir in #(((
2142 '') as_dir=./ ;;
2143 */) ;;
2144 *) as_dir=$as_dir/ ;;
2145 esac
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2150 break 2
2151 fi
2152 done
2153 done
2154 IFS=$as_save_IFS
2155
2156 fi
2157 fi
2158 STRIP=$ac_cv_prog_STRIP
2159 if test -n "$STRIP"; then
2160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2161 printf "%s\n" "$STRIP" >&6; }
2162 else
2163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2164 printf "%s\n" "no" >&6; }
2165 fi
2166
2167
2168 fi
2169 if test -z "$ac_cv_prog_STRIP"; then
2170 ac_ct_STRIP=$STRIP
2171 # Extract the first word of "strip", so it can be a program name with args.
2172 set dummy strip; ac_word=$2
2173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2174 printf %s "checking for $ac_word... " >&6; }
2175 if test ${ac_cv_prog_ac_ct_STRIP+y}
2176 then :
2177 printf %s "(cached) " >&6
2178 else $as_nop
2179 if test -n "$ac_ct_STRIP"; then
2180 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2184 do
2185 IFS=$as_save_IFS
2186 case $as_dir in #(((
2187 '') as_dir=./ ;;
2188 */) ;;
2189 *) as_dir=$as_dir/ ;;
2190 esac
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_ac_ct_STRIP="strip"
2194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2195 break 2
2196 fi
2197 done
2198 done
2199 IFS=$as_save_IFS
2200
2201 fi
2202 fi
2203 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2204 if test -n "$ac_ct_STRIP"; then
2205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2206 printf "%s\n" "$ac_ct_STRIP" >&6; }
2207 else
2208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209 printf "%s\n" "no" >&6; }
2210 fi
2211
2212 if test "x$ac_ct_STRIP" = x; then
2213 STRIP=":"
2214 else
2215 case $cross_compiling:$ac_tool_warned in
2216 yes:)
2217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2219 ac_tool_warned=yes ;;
2220 esac
2221 STRIP=$ac_ct_STRIP
2222 fi
2223 else
2224 STRIP="$ac_cv_prog_STRIP"
2225 fi
2226
2227 fi
2228 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2229
2230
2231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2232 printf %s "checking for a race-free mkdir -p... " >&6; }
2233 if test -z "$MKDIR_P"; then
2234 if test ${ac_cv_path_mkdir+y}
2235 then :
2236 printf %s "(cached) " >&6
2237 else $as_nop
2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2240 do
2241 IFS=$as_save_IFS
2242 case $as_dir in #(((
2243 '') as_dir=./ ;;
2244 */) ;;
2245 *) as_dir=$as_dir/ ;;
2246 esac
2247 for ac_prog in mkdir gmkdir; do
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2250 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2251 'mkdir ('*'coreutils) '* | \
2252 'BusyBox '* | \
2253 'mkdir (fileutils) '4.1*)
2254 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2255 break 3;;
2256 esac
2257 done
2258 done
2259 done
2260 IFS=$as_save_IFS
2261
2262 fi
2263
2264 test -d ./--version && rmdir ./--version
2265 if test ${ac_cv_path_mkdir+y}; then
2266 MKDIR_P="$ac_cv_path_mkdir -p"
2267 else
2268 # As a last resort, use the slow shell script. Don't cache a
2269 # value for MKDIR_P within a source directory, because that will
2270 # break other packages using the cache if that directory is
2271 # removed, or if the value is a relative name.
2272 MKDIR_P="$ac_install_sh -d"
2273 fi
2274 fi
2275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2276 printf "%s\n" "$MKDIR_P" >&6; }
2277
2278 for ac_prog in gawk mawk nawk awk
2279 do
2280 # Extract the first word of "$ac_prog", so it can be a program name with args.
2281 set dummy $ac_prog; ac_word=$2
2282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283 printf %s "checking for $ac_word... " >&6; }
2284 if test ${ac_cv_prog_AWK+y}
2285 then :
2286 printf %s "(cached) " >&6
2287 else $as_nop
2288 if test -n "$AWK"; then
2289 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2290 else
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 for as_dir in $PATH
2293 do
2294 IFS=$as_save_IFS
2295 case $as_dir in #(((
2296 '') as_dir=./ ;;
2297 */) ;;
2298 *) as_dir=$as_dir/ ;;
2299 esac
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2302 ac_cv_prog_AWK="$ac_prog"
2303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2304 break 2
2305 fi
2306 done
2307 done
2308 IFS=$as_save_IFS
2309
2310 fi
2311 fi
2312 AWK=$ac_cv_prog_AWK
2313 if test -n "$AWK"; then
2314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2315 printf "%s\n" "$AWK" >&6; }
2316 else
2317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318 printf "%s\n" "no" >&6; }
2319 fi
2320
2321
2322 test -n "$AWK" && break
2323 done
2324
2325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2326 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2327 set x ${MAKE-make}
2328 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2329 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2330 then :
2331 printf %s "(cached) " >&6
2332 else $as_nop
2333 cat >conftest.make <<\_ACEOF
2334 SHELL = /bin/sh
2335 all:
2336 @echo '@@@%%%=$(MAKE)=@@@%%%'
2337 _ACEOF
2338 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2339 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2340 *@@@%%%=?*=@@@%%%*)
2341 eval ac_cv_prog_make_${ac_make}_set=yes;;
2342 *)
2343 eval ac_cv_prog_make_${ac_make}_set=no;;
2344 esac
2345 rm -f conftest.make
2346 fi
2347 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2349 printf "%s\n" "yes" >&6; }
2350 SET_MAKE=
2351 else
2352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2353 printf "%s\n" "no" >&6; }
2354 SET_MAKE="MAKE=${MAKE-make}"
2355 fi
2356
2357 rm -rf .tst 2>/dev/null
2358 mkdir .tst 2>/dev/null
2359 if test -d .tst; then
2360 am__leading_dot=.
2361 else
2362 am__leading_dot=_
2363 fi
2364 rmdir .tst 2>/dev/null
2365
2366 # Check whether --enable-silent-rules was given.
2367 if test ${enable_silent_rules+y}
2368 then :
2369 enableval=$enable_silent_rules;
2370 fi
2371
2372 case $enable_silent_rules in # (((
2373 yes) AM_DEFAULT_VERBOSITY=0;;
2374 no) AM_DEFAULT_VERBOSITY=1;;
2375 *) AM_DEFAULT_VERBOSITY=1;;
2376 esac
2377 am_make=${MAKE-make}
2378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2379 printf %s "checking whether $am_make supports nested variables... " >&6; }
2380 if test ${am_cv_make_support_nested_variables+y}
2381 then :
2382 printf %s "(cached) " >&6
2383 else $as_nop
2384 if printf "%s\n" 'TRUE=$(BAR$(V))
2385 BAR0=false
2386 BAR1=true
2387 V=1
2388 am__doit:
2389 @$(TRUE)
2390 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2391 am_cv_make_support_nested_variables=yes
2392 else
2393 am_cv_make_support_nested_variables=no
2394 fi
2395 fi
2396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2397 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2398 if test $am_cv_make_support_nested_variables = yes; then
2399 AM_V='$(V)'
2400 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2401 else
2402 AM_V=$AM_DEFAULT_VERBOSITY
2403 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2404 fi
2405 AM_BACKSLASH='\'
2406
2407 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2408 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2409 # is not polluted with repeated "-I."
2410 am__isrc=' -I$(srcdir)'
2411 # test to see if srcdir already configured
2412 if test -f $srcdir/config.status; then
2413 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2414 fi
2415 fi
2416
2417 # test whether we have cygpath
2418 if test -z "$CYGPATH_W"; then
2419 if (cygpath --version) >/dev/null 2>/dev/null; then
2420 CYGPATH_W='cygpath -w'
2421 else
2422 CYGPATH_W=echo
2423 fi
2424 fi
2425
2426
2427 # Define the identity of the package.
2428 PACKAGE='xbitmaps'
2429 VERSION='1.1.3'
2430
2431
2432 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2433
2434
2435 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2436
2437 # Some tools Automake needs.
2438
2439 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2440
2441
2442 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2443
2444
2445 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2446
2447
2448 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2449
2450
2451 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2452
2453 # For better backward compatibility. To be removed once Automake 1.9.x
2454 # dies out for good. For more background, see:
2455 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2456 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2457 mkdir_p='$(MKDIR_P)'
2458
2459 # We need awk for the "check" target (and possibly the TAP driver). The
2460 # system "awk" is bad on some platforms.
2461 # Always define AMTAR for backward compatibility. Yes, it's still used
2462 # in the wild :-( We should find a proper way to deprecate it ...
2463 AMTAR='$${TAR-tar}'
2464
2465
2466 # We'll loop over all known methods to create a tar archive until one works.
2467 _am_tools='gnutar pax cpio none'
2468
2469 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2470
2471
2472
2473
2474
2475 # Variables for tags utilities; see am/tags.am
2476 if test -z "$CTAGS"; then
2477 CTAGS=ctags
2478 fi
2479
2480 if test -z "$ETAGS"; then
2481 ETAGS=etags
2482 fi
2483
2484 if test -z "$CSCOPE"; then
2485 CSCOPE=cscope
2486 fi
2487
2488
2489
2490 # POSIX will say in a future version that running "rm -f" with no argument
2491 # is OK; and we want to be able to make that assumption in our Makefile
2492 # recipes. So use an aggressive probe to check that the usage we want is
2493 # actually supported "in the wild" to an acceptable degree.
2494 # See automake bug#10828.
2495 # To make any issue more visible, cause the running configure to be aborted
2496 # by default if the 'rm' program in use doesn't match our expectations; the
2497 # user can still override this though.
2498 if rm -f && rm -fr && rm -rf; then : OK; else
2499 cat >&2 <<'END'
2500 Oops!
2501
2502 Your 'rm' program seems unable to run without file operands specified
2503 on the command line, even when the '-f' option is present. This is contrary
2504 to the behaviour of most rm programs out there, and not conforming with
2505 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2506
2507 Please tell bug-automake@gnu.org about your system, including the value
2508 of your $PATH and any error possibly output before this message. This
2509 can help us improve future automake versions.
2510
2511 END
2512 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2513 echo 'Configuration will proceed anyway, since you have set the' >&2
2514 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2515 echo >&2
2516 else
2517 cat >&2 <<'END'
2518 Aborting the configuration process, to ensure you take notice of the issue.
2519
2520 You can download and install GNU coreutils to get an 'rm' implementation
2521 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2522
2523 If you want to complete the configuration process using your problematic
2524 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2525 to "yes", and re-run configure.
2526
2527 END
2528 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2529 fi
2530 fi
2531
2532
2533 # Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 printf %s "checking for $ac_word... " >&6; }
2558 if test ${ac_cv_path_PKG_CONFIG+y}
2559 then :
2560 printf %s "(cached) " >&6
2561 else $as_nop
2562 case $PKG_CONFIG in
2563 [\\/]* | ?:[\\/]*)
2564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2565 ;;
2566 *)
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570 IFS=$as_save_IFS
2571 case $as_dir in #(((
2572 '') as_dir=./ ;;
2573 */) ;;
2574 *) as_dir=$as_dir/ ;;
2575 esac
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2578 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2580 break 2
2581 fi
2582 done
2583 done
2584 IFS=$as_save_IFS
2585
2586 ;;
2587 esac
2588 fi
2589 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2590 if test -n "$PKG_CONFIG"; then
2591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2592 printf "%s\n" "$PKG_CONFIG" >&6; }
2593 else
2594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 printf "%s\n" "no" >&6; }
2596 fi
2597
2598
2599 fi
2600 if test -z "$ac_cv_path_PKG_CONFIG"; then
2601 ac_pt_PKG_CONFIG=$PKG_CONFIG
2602 # Extract the first word of "pkg-config", so it can be a program name with args.
2603 set dummy pkg-config; ac_word=$2
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 printf %s "checking for $ac_word... " >&6; }
2606 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2607 then :
2608 printf %s "(cached) " >&6
2609 else $as_nop
2610 case $ac_pt_PKG_CONFIG in
2611 [\\/]* | ?:[\\/]*)
2612 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2613 ;;
2614 *)
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 for as_dir in $PATH
2617 do
2618 IFS=$as_save_IFS
2619 case $as_dir in #(((
2620 '') as_dir=./ ;;
2621 */) ;;
2622 *) as_dir=$as_dir/ ;;
2623 esac
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2626 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2628 break 2
2629 fi
2630 done
2631 done
2632 IFS=$as_save_IFS
2633
2634 ;;
2635 esac
2636 fi
2637 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2638 if test -n "$ac_pt_PKG_CONFIG"; then
2639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2640 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2641 else
2642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 printf "%s\n" "no" >&6; }
2644 fi
2645
2646 if test "x$ac_pt_PKG_CONFIG" = x; then
2647 PKG_CONFIG=""
2648 else
2649 case $cross_compiling:$ac_tool_warned in
2650 yes:)
2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2652 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2653 ac_tool_warned=yes ;;
2654 esac
2655 PKG_CONFIG=$ac_pt_PKG_CONFIG
2656 fi
2657 else
2658 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2659 fi
2660
2661 fi
2662 if test -n "$PKG_CONFIG"; then
2663 _pkg_min_version=0.9.0
2664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2665 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2666 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2668 printf "%s\n" "yes" >&6; }
2669 else
2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 printf "%s\n" "no" >&6; }
2672 PKG_CONFIG=""
2673 fi
2674 fi
2675
2676
2677 # Make sure we can run config.sub.
2678 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2679 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2680
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2682 printf %s "checking build system type... " >&6; }
2683 if test ${ac_cv_build+y}
2684 then :
2685 printf %s "(cached) " >&6
2686 else $as_nop
2687 ac_build_alias=$build_alias
2688 test "x$ac_build_alias" = x &&
2689 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2690 test "x$ac_build_alias" = x &&
2691 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2692 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2693 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2694
2695 fi
2696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2697 printf "%s\n" "$ac_cv_build" >&6; }
2698 case $ac_cv_build in
2699 *-*-*) ;;
2700 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2701 esac
2702 build=$ac_cv_build
2703 ac_save_IFS=$IFS; IFS='-'
2704 set x $ac_cv_build
2705 shift
2706 build_cpu=$1
2707 build_vendor=$2
2708 shift; shift
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2711 build_os=$*
2712 IFS=$ac_save_IFS
2713 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2714
2715
2716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2717 printf %s "checking host system type... " >&6; }
2718 if test ${ac_cv_host+y}
2719 then :
2720 printf %s "(cached) " >&6
2721 else $as_nop
2722 if test "x$host_alias" = x; then
2723 ac_cv_host=$ac_cv_build
2724 else
2725 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2726 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2727 fi
2728
2729 fi
2730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2731 printf "%s\n" "$ac_cv_host" >&6; }
2732 case $ac_cv_host in
2733 *-*-*) ;;
2734 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2735 esac
2736 host=$ac_cv_host
2737 ac_save_IFS=$IFS; IFS='-'
2738 set x $ac_cv_host
2739 shift
2740 host_cpu=$1
2741 host_vendor=$2
2742 shift; shift
2743 # Remember, the first character of IFS is used to create $*,
2744 # except with old shells:
2745 host_os=$*
2746 IFS=$ac_save_IFS
2747 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2748
2749
2750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2751 printf %s "checking for a sed that does not truncate output... " >&6; }
2752 if test ${ac_cv_path_SED+y}
2753 then :
2754 printf %s "(cached) " >&6
2755 else $as_nop
2756 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2757 for ac_i in 1 2 3 4 5 6 7; do
2758 ac_script="$ac_script$as_nl$ac_script"
2759 done
2760 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2761 { ac_script=; unset ac_script;}
2762 if test -z "$SED"; then
2763 ac_path_SED_found=false
2764 # Loop through the user's path and test for each of PROGNAME-LIST
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 for as_dir in $PATH
2767 do
2768 IFS=$as_save_IFS
2769 case $as_dir in #(((
2770 '') as_dir=./ ;;
2771 */) ;;
2772 *) as_dir=$as_dir/ ;;
2773 esac
2774 for ac_prog in sed gsed
2775 do
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2778 as_fn_executable_p "$ac_path_SED" || continue
2779 # Check for GNU ac_path_SED and select it if it is found.
2780 # Check for GNU $ac_path_SED
2781 case `"$ac_path_SED" --version 2>&1` in
2782 *GNU*)
2783 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2784 *)
2785 ac_count=0
2786 printf %s 0123456789 >"conftest.in"
2787 while :
2788 do
2789 cat "conftest.in" "conftest.in" >"conftest.tmp"
2790 mv "conftest.tmp" "conftest.in"
2791 cp "conftest.in" "conftest.nl"
2792 printf "%s\n" '' >> "conftest.nl"
2793 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2795 as_fn_arith $ac_count + 1 && ac_count=$as_val
2796 if test $ac_count -gt ${ac_path_SED_max-0}; then
2797 # Best one so far, save it but keep looking for a better one
2798 ac_cv_path_SED="$ac_path_SED"
2799 ac_path_SED_max=$ac_count
2800 fi
2801 # 10*(2^10) chars as input seems more than enough
2802 test $ac_count -gt 10 && break
2803 done
2804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2805 esac
2806
2807 $ac_path_SED_found && break 3
2808 done
2809 done
2810 done
2811 IFS=$as_save_IFS
2812 if test -z "$ac_cv_path_SED"; then
2813 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2814 fi
2815 else
2816 ac_cv_path_SED=$SED
2817 fi
2818
2819 fi
2820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2821 printf "%s\n" "$ac_cv_path_SED" >&6; }
2822 SED="$ac_cv_path_SED"
2823 rm -f conftest.sed
2824
2825
2826
2827
2828
2829 cat >>confdefs.h <<_ACEOF
2830 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2831 _ACEOF
2832
2833 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2834 if test "x$PVM" = "x"; then
2835 PVM="0"
2836 fi
2837
2838 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2839
2840 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2841 if test "x$PVP" = "x"; then
2842 PVP="0"
2843 fi
2844
2845 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2846
2847
2848
2849 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2850 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2851 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2852 touch \$(top_srcdir)/ChangeLog; \
2853 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2854
2855
2856
2857
2858 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2859 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2860 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2861 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
2862 touch \$(top_srcdir)/INSTALL; \
2863 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2864
2865
2866
2867
2868
2869
2870 case $host_os in
2871 solaris*)
2872 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2873 # check for a man page file found in later versions that use
2874 # traditional section numbers instead
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2876 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
2877 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
2878 then :
2879 printf %s "(cached) " >&6
2880 else $as_nop
2881 test "$cross_compiling" = yes &&
2882 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2883 if test -r "/usr/share/man/man7/attributes.7"; then
2884 ac_cv_file__usr_share_man_man7_attributes_7=yes
2885 else
2886 ac_cv_file__usr_share_man_man7_attributes_7=no
2887 fi
2888 fi
2889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2890 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2891 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
2892 then :
2893 SYSV_MAN_SECTIONS=false
2894 else $as_nop
2895 SYSV_MAN_SECTIONS=true
2896 fi
2897
2898 ;;
2899 *) SYSV_MAN_SECTIONS=false ;;
2900 esac
2901
2902 if test x$APP_MAN_SUFFIX = x ; then
2903 APP_MAN_SUFFIX=1
2904 fi
2905 if test x$APP_MAN_DIR = x ; then
2906 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2907 fi
2908
2909 if test x$LIB_MAN_SUFFIX = x ; then
2910 LIB_MAN_SUFFIX=3
2911 fi
2912 if test x$LIB_MAN_DIR = x ; then
2913 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2914 fi
2915
2916 if test x$FILE_MAN_SUFFIX = x ; then
2917 case $SYSV_MAN_SECTIONS in
2918 true) FILE_MAN_SUFFIX=4 ;;
2919 *) FILE_MAN_SUFFIX=5 ;;
2920 esac
2921 fi
2922 if test x$FILE_MAN_DIR = x ; then
2923 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2924 fi
2925
2926 if test x$MISC_MAN_SUFFIX = x ; then
2927 case $SYSV_MAN_SECTIONS in
2928 true) MISC_MAN_SUFFIX=5 ;;
2929 *) MISC_MAN_SUFFIX=7 ;;
2930 esac
2931 fi
2932 if test x$MISC_MAN_DIR = x ; then
2933 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2934 fi
2935
2936 if test x$DRIVER_MAN_SUFFIX = x ; then
2937 case $SYSV_MAN_SECTIONS in
2938 true) DRIVER_MAN_SUFFIX=7 ;;
2939 *) DRIVER_MAN_SUFFIX=4 ;;
2940 esac
2941 fi
2942 if test x$DRIVER_MAN_DIR = x ; then
2943 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2944 fi
2945
2946 if test x$ADMIN_MAN_SUFFIX = x ; then
2947 case $SYSV_MAN_SECTIONS in
2948 true) ADMIN_MAN_SUFFIX=1m ;;
2949 *) ADMIN_MAN_SUFFIX=8 ;;
2950 esac
2951 fi
2952 if test x$ADMIN_MAN_DIR = x ; then
2953 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2954 fi
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970 XORG_MAN_PAGE="X Version 11"
2971
2972 MAN_SUBSTS="\
2973 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2974 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2975 -e 's|__xservername__|Xorg|g' \
2976 -e 's|__xconfigfile__|xorg.conf|g' \
2977 -e 's|__projectroot__|\$(prefix)|g' \
2978 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
2979 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2980 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2981 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2982 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2983 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2984 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
2985
2986
2987
2988 # Check whether --enable-silent-rules was given.
2989 if test ${enable_silent_rules+y}
2990 then :
2991 enableval=$enable_silent_rules;
2992 fi
2993
2994 case $enable_silent_rules in # (((
2995 yes) AM_DEFAULT_VERBOSITY=0;;
2996 no) AM_DEFAULT_VERBOSITY=1;;
2997 *) AM_DEFAULT_VERBOSITY=0;;
2998 esac
2999 am_make=${MAKE-make}
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3001 printf %s "checking whether $am_make supports nested variables... " >&6; }
3002 if test ${am_cv_make_support_nested_variables+y}
3003 then :
3004 printf %s "(cached) " >&6
3005 else $as_nop
3006 if printf "%s\n" 'TRUE=$(BAR$(V))
3007 BAR0=false
3008 BAR1=true
3009 V=1
3010 am__doit:
3011 @$(TRUE)
3012 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3013 am_cv_make_support_nested_variables=yes
3014 else
3015 am_cv_make_support_nested_variables=no
3016 fi
3017 fi
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3019 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3020 if test $am_cv_make_support_nested_variables = yes; then
3021 AM_V='$(V)'
3022 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3023 else
3024 AM_V=$AM_DEFAULT_VERBOSITY
3025 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3026 fi
3027 AM_BACKSLASH='\'
3028
3029
3030
3031 ac_config_files="$ac_config_files Makefile xbitmaps.pc"
3032
3033 cat >confcache <<\_ACEOF
3034 # This file is a shell script that caches the results of configure
3035 # tests run on this system so they can be shared between configure
3036 # scripts and configure runs, see configure's option --config-cache.
3037 # It is not useful on other systems. If it contains results you don't
3038 # want to keep, you may remove or edit it.
3039 #
3040 # config.status only pays attention to the cache file if you give it
3041 # the --recheck option to rerun configure.
3042 #
3043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3045 # following values.
3046
3047 _ACEOF
3048
3049 # The following way of writing the cache mishandles newlines in values,
3050 # but we know of no workaround that is simple, portable, and efficient.
3051 # So, we kill variables containing newlines.
3052 # Ultrix sh set writes to stderr and can't be redirected directly,
3053 # and sets the high bit in the cache file unless we assign to the vars.
3054 (
3055 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3056 eval ac_val=\$$ac_var
3057 case $ac_val in #(
3058 *${as_nl}*)
3059 case $ac_var in #(
3060 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3061 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3062 esac
3063 case $ac_var in #(
3064 _ | IFS | as_nl) ;; #(
3065 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3066 *) { eval $ac_var=; unset $ac_var;} ;;
3067 esac ;;
3068 esac
3069 done
3070
3071 (set) 2>&1 |
3072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3073 *${as_nl}ac_space=\ *)
3074 # `set' does not quote correctly, so add quotes: double-quote
3075 # substitution turns \\\\ into \\, and sed turns \\ into \.
3076 sed -n \
3077 "s/'/'\\\\''/g;
3078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3079 ;; #(
3080 *)
3081 # `set' quotes correctly as required by POSIX, so do not add quotes.
3082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3083 ;;
3084 esac |
3085 sort
3086 ) |
3087 sed '
3088 /^ac_cv_env_/b end
3089 t clear
3090 :clear
3091 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3092 t end
3093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3094 :end' >>confcache
3095 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3096 if test -w "$cache_file"; then
3097 if test "x$cache_file" != "x/dev/null"; then
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3099 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3100 if test ! -f "$cache_file" || test -h "$cache_file"; then
3101 cat confcache >"$cache_file"
3102 else
3103 case $cache_file in #(
3104 */* | ?:*)
3105 mv -f confcache "$cache_file"$$ &&
3106 mv -f "$cache_file"$$ "$cache_file" ;; #(
3107 *)
3108 mv -f confcache "$cache_file" ;;
3109 esac
3110 fi
3111 fi
3112 else
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3114 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3115 fi
3116 fi
3117 rm -f confcache
3118
3119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3120 # Let make expand exec_prefix.
3121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3122
3123 DEFS=-DHAVE_CONFIG_H
3124
3125 ac_libobjs=
3126 ac_ltlibobjs=
3127 U=
3128 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3129 # 1. Remove the extension, and $U if already installed.
3130 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3131 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3133 # will be set to the directory where LIBOBJS objects are built.
3134 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3135 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3136 done
3137 LIBOBJS=$ac_libobjs
3138
3139 LTLIBOBJS=$ac_ltlibobjs
3140
3141
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3143 printf %s "checking that generated files are newer than configure... " >&6; }
3144 if test -n "$am_sleep_pid"; then
3145 # Hide warnings about reused PIDs.
3146 wait $am_sleep_pid 2>/dev/null
3147 fi
3148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3149 printf "%s\n" "done" >&6; }
3150
3151
3152 : "${CONFIG_STATUS=./config.status}"
3153 ac_write_fail=0
3154 ac_clean_files_save=$ac_clean_files
3155 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3157 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3158 as_write_fail=0
3159 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3160 #! $SHELL
3161 # Generated by $as_me.
3162 # Run this file to recreate the current configuration.
3163 # Compiler output produced by configure, useful for debugging
3164 # configure, is in config.log if it exists.
3165
3166 debug=false
3167 ac_cs_recheck=false
3168 ac_cs_silent=false
3169
3170 SHELL=\${CONFIG_SHELL-$SHELL}
3171 export SHELL
3172 _ASEOF
3173 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3174 ## -------------------- ##
3175 ## M4sh Initialization. ##
3176 ## -------------------- ##
3177
3178 # Be more Bourne compatible
3179 DUALCASE=1; export DUALCASE # for MKS sh
3180 as_nop=:
3181 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3182 then :
3183 emulate sh
3184 NULLCMD=:
3185 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3186 # is contrary to our usage. Disable this feature.
3187 alias -g '${1+"$@"}'='"$@"'
3188 setopt NO_GLOB_SUBST
3189 else $as_nop
3190 case `(set -o) 2>/dev/null` in #(
3191 *posix*) :
3192 set -o posix ;; #(
3193 *) :
3194 ;;
3195 esac
3196 fi
3197
3198
3199
3200 # Reset variables that may have inherited troublesome values from
3201 # the environment.
3202
3203 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3204 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3205 # side effect of setting IFS to empty, thus disabling word splitting.)
3206 # Quoting is to prevent editors from complaining about space-tab.
3207 as_nl='
3208 '
3209 export as_nl
3210 IFS=" "" $as_nl"
3211
3212 PS1='$ '
3213 PS2='> '
3214 PS4='+ '
3215
3216 # Ensure predictable behavior from utilities with locale-dependent output.
3217 LC_ALL=C
3218 export LC_ALL
3219 LANGUAGE=C
3220 export LANGUAGE
3221
3222 # We cannot yet rely on "unset" to work, but we need these variables
3223 # to be unset--not just set to an empty or harmless value--now, to
3224 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3225 # also avoids known problems related to "unset" and subshell syntax
3226 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3227 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3228 do eval test \${$as_var+y} \
3229 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3230 done
3231
3232 # Ensure that fds 0, 1, and 2 are open.
3233 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3234 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3235 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3236
3237 # The user is always right.
3238 if ${PATH_SEPARATOR+false} :; then
3239 PATH_SEPARATOR=:
3240 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3241 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3242 PATH_SEPARATOR=';'
3243 }
3244 fi
3245
3246
3247 # Find who we are. Look in the path if we contain no directory separator.
3248 as_myself=
3249 case $0 in #((
3250 *[\\/]* ) as_myself=$0 ;;
3251 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 for as_dir in $PATH
3253 do
3254 IFS=$as_save_IFS
3255 case $as_dir in #(((
3256 '') as_dir=./ ;;
3257 */) ;;
3258 *) as_dir=$as_dir/ ;;
3259 esac
3260 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3261 done
3262 IFS=$as_save_IFS
3263
3264 ;;
3265 esac
3266 # We did not find ourselves, most probably we were run as `sh COMMAND'
3267 # in which case we are not to be found in the path.
3268 if test "x$as_myself" = x; then
3269 as_myself=$0
3270 fi
3271 if test ! -f "$as_myself"; then
3272 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3273 exit 1
3274 fi
3275
3276
3277
3278 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3279 # ----------------------------------------
3280 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3281 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3282 # script with STATUS, using 1 if that was 0.
3283 as_fn_error ()
3284 {
3285 as_status=$1; test $as_status -eq 0 && as_status=1
3286 if test "$4"; then
3287 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3289 fi
3290 printf "%s\n" "$as_me: error: $2" >&2
3291 as_fn_exit $as_status
3292 } # as_fn_error
3293
3294
3295
3296 # as_fn_set_status STATUS
3297 # -----------------------
3298 # Set $? to STATUS, without forking.
3299 as_fn_set_status ()
3300 {
3301 return $1
3302 } # as_fn_set_status
3303
3304 # as_fn_exit STATUS
3305 # -----------------
3306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3307 as_fn_exit ()
3308 {
3309 set +e
3310 as_fn_set_status $1
3311 exit $1
3312 } # as_fn_exit
3313
3314 # as_fn_unset VAR
3315 # ---------------
3316 # Portably unset VAR.
3317 as_fn_unset ()
3318 {
3319 { eval $1=; unset $1;}
3320 }
3321 as_unset=as_fn_unset
3322
3323 # as_fn_append VAR VALUE
3324 # ----------------------
3325 # Append the text in VALUE to the end of the definition contained in VAR. Take
3326 # advantage of any shell optimizations that allow amortized linear growth over
3327 # repeated appends, instead of the typical quadratic growth present in naive
3328 # implementations.
3329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3330 then :
3331 eval 'as_fn_append ()
3332 {
3333 eval $1+=\$2
3334 }'
3335 else $as_nop
3336 as_fn_append ()
3337 {
3338 eval $1=\$$1\$2
3339 }
3340 fi # as_fn_append
3341
3342 # as_fn_arith ARG...
3343 # ------------------
3344 # Perform arithmetic evaluation on the ARGs, and store the result in the
3345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3346 # must be portable across $(()) and expr.
3347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3348 then :
3349 eval 'as_fn_arith ()
3350 {
3351 as_val=$(( $* ))
3352 }'
3353 else $as_nop
3354 as_fn_arith ()
3355 {
3356 as_val=`expr "$@" || test $? -eq 1`
3357 }
3358 fi # as_fn_arith
3359
3360
3361 if expr a : '\(a\)' >/dev/null 2>&1 &&
3362 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3363 as_expr=expr
3364 else
3365 as_expr=false
3366 fi
3367
3368 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3369 as_basename=basename
3370 else
3371 as_basename=false
3372 fi
3373
3374 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3375 as_dirname=dirname
3376 else
3377 as_dirname=false
3378 fi
3379
3380 as_me=`$as_basename -- "$0" ||
3381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3382 X"$0" : 'X\(//\)$' \| \
3383 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3384 printf "%s\n" X/"$0" |
3385 sed '/^.*\/\([^/][^/]*\)\/*$/{
3386 s//\1/
3387 q
3388 }
3389 /^X\/\(\/\/\)$/{
3390 s//\1/
3391 q
3392 }
3393 /^X\/\(\/\).*/{
3394 s//\1/
3395 q
3396 }
3397 s/.*/./; q'`
3398
3399 # Avoid depending upon Character Ranges.
3400 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3401 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3402 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3403 as_cr_digits='0123456789'
3404 as_cr_alnum=$as_cr_Letters$as_cr_digits
3405
3406
3407 # Determine whether it's possible to make 'echo' print without a newline.
3408 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3409 # for compatibility with existing Makefiles.
3410 ECHO_C= ECHO_N= ECHO_T=
3411 case `echo -n x` in #(((((
3412 -n*)
3413 case `echo 'xy\c'` in
3414 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3415 xy) ECHO_C='\c';;
3416 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3417 ECHO_T=' ';;
3418 esac;;
3419 *)
3420 ECHO_N='-n';;
3421 esac
3422
3423 # For backward compatibility with old third-party macros, we provide
3424 # the shell variables $as_echo and $as_echo_n. New code should use
3425 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3426 as_echo='printf %s\n'
3427 as_echo_n='printf %s'
3428
3429 rm -f conf$$ conf$$.exe conf$$.file
3430 if test -d conf$$.dir; then
3431 rm -f conf$$.dir/conf$$.file
3432 else
3433 rm -f conf$$.dir
3434 mkdir conf$$.dir 2>/dev/null
3435 fi
3436 if (echo >conf$$.file) 2>/dev/null; then
3437 if ln -s conf$$.file conf$$ 2>/dev/null; then
3438 as_ln_s='ln -s'
3439 # ... but there are two gotchas:
3440 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3441 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3442 # In both cases, we have to default to `cp -pR'.
3443 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3444 as_ln_s='cp -pR'
3445 elif ln conf$$.file conf$$ 2>/dev/null; then
3446 as_ln_s=ln
3447 else
3448 as_ln_s='cp -pR'
3449 fi
3450 else
3451 as_ln_s='cp -pR'
3452 fi
3453 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3454 rmdir conf$$.dir 2>/dev/null
3455
3456
3457 # as_fn_mkdir_p
3458 # -------------
3459 # Create "$as_dir" as a directory, including parents if necessary.
3460 as_fn_mkdir_p ()
3461 {
3462
3463 case $as_dir in #(
3464 -*) as_dir=./$as_dir;;
3465 esac
3466 test -d "$as_dir" || eval $as_mkdir_p || {
3467 as_dirs=
3468 while :; do
3469 case $as_dir in #(
3470 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3471 *) as_qdir=$as_dir;;
3472 esac
3473 as_dirs="'$as_qdir' $as_dirs"
3474 as_dir=`$as_dirname -- "$as_dir" ||
3475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3476 X"$as_dir" : 'X\(//\)[^/]' \| \
3477 X"$as_dir" : 'X\(//\)$' \| \
3478 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3479 printf "%s\n" X"$as_dir" |
3480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3481 s//\1/
3482 q
3483 }
3484 /^X\(\/\/\)[^/].*/{
3485 s//\1/
3486 q
3487 }
3488 /^X\(\/\/\)$/{
3489 s//\1/
3490 q
3491 }
3492 /^X\(\/\).*/{
3493 s//\1/
3494 q
3495 }
3496 s/.*/./; q'`
3497 test -d "$as_dir" && break
3498 done
3499 test -z "$as_dirs" || eval "mkdir $as_dirs"
3500 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3501
3502
3503 } # as_fn_mkdir_p
3504 if mkdir -p . 2>/dev/null; then
3505 as_mkdir_p='mkdir -p "$as_dir"'
3506 else
3507 test -d ./-p && rmdir ./-p
3508 as_mkdir_p=false
3509 fi
3510
3511
3512 # as_fn_executable_p FILE
3513 # -----------------------
3514 # Test if FILE is an executable regular file.
3515 as_fn_executable_p ()
3516 {
3517 test -f "$1" && test -x "$1"
3518 } # as_fn_executable_p
3519 as_test_x='test -x'
3520 as_executable_p=as_fn_executable_p
3521
3522 # Sed expression to map a string onto a valid CPP name.
3523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3524
3525 # Sed expression to map a string onto a valid variable name.
3526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3527
3528
3529 exec 6>&1
3530 ## ----------------------------------- ##
3531 ## Main body of $CONFIG_STATUS script. ##
3532 ## ----------------------------------- ##
3533 _ASEOF
3534 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3535
3536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3537 # Save the log message, to keep $0 and so on meaningful, and to
3538 # report actual input values of CONFIG_FILES etc. instead of their
3539 # values after options handling.
3540 ac_log="
3541 This file was extended by xbitmaps $as_me 1.1.3, which was
3542 generated by GNU Autoconf 2.71. Invocation command line was
3543
3544 CONFIG_FILES = $CONFIG_FILES
3545 CONFIG_HEADERS = $CONFIG_HEADERS
3546 CONFIG_LINKS = $CONFIG_LINKS
3547 CONFIG_COMMANDS = $CONFIG_COMMANDS
3548 $ $0 $@
3549
3550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3551 "
3552
3553 _ACEOF
3554
3555 case $ac_config_files in *"
3556 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3557 esac
3558
3559 case $ac_config_headers in *"
3560 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3561 esac
3562
3563
3564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3565 # Files that config.status was made for.
3566 config_files="$ac_config_files"
3567 config_headers="$ac_config_headers"
3568
3569 _ACEOF
3570
3571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3572 ac_cs_usage="\
3573 \`$as_me' instantiates files and other configuration actions
3574 from templates according to the current configuration. Unless the files
3575 and actions are specified as TAGs, all are instantiated by default.
3576
3577 Usage: $0 [OPTION]... [TAG]...
3578
3579 -h, --help print this help, then exit
3580 -V, --version print version number and configuration settings, then exit
3581 --config print configuration, then exit
3582 -q, --quiet, --silent
3583 do not print progress messages
3584 -d, --debug don't remove temporary files
3585 --recheck update $as_me by reconfiguring in the same conditions
3586 --file=FILE[:TEMPLATE]
3587 instantiate the configuration file FILE
3588 --header=FILE[:TEMPLATE]
3589 instantiate the configuration header FILE
3590
3591 Configuration files:
3592 $config_files
3593
3594 Configuration headers:
3595 $config_headers
3596
3597 Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>."
3598
3599 _ACEOF
3600 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3601 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3603 ac_cs_config='$ac_cs_config_escaped'
3604 ac_cs_version="\\
3605 xbitmaps config.status 1.1.3
3606 configured by $0, generated by GNU Autoconf 2.71,
3607 with options \\"\$ac_cs_config\\"
3608
3609 Copyright (C) 2021 Free Software Foundation, Inc.
3610 This config.status script is free software; the Free Software Foundation
3611 gives unlimited permission to copy, distribute and modify it."
3612
3613 ac_pwd='$ac_pwd'
3614 srcdir='$srcdir'
3615 INSTALL='$INSTALL'
3616 MKDIR_P='$MKDIR_P'
3617 AWK='$AWK'
3618 test -n "\$AWK" || AWK=awk
3619 _ACEOF
3620
3621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3622 # The default lists apply if the user does not specify any file.
3623 ac_need_defaults=:
3624 while test $# != 0
3625 do
3626 case $1 in
3627 --*=?*)
3628 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3629 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3630 ac_shift=:
3631 ;;
3632 --*=)
3633 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3634 ac_optarg=
3635 ac_shift=:
3636 ;;
3637 *)
3638 ac_option=$1
3639 ac_optarg=$2
3640 ac_shift=shift
3641 ;;
3642 esac
3643
3644 case $ac_option in
3645 # Handling of the options.
3646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3647 ac_cs_recheck=: ;;
3648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3649 printf "%s\n" "$ac_cs_version"; exit ;;
3650 --config | --confi | --conf | --con | --co | --c )
3651 printf "%s\n" "$ac_cs_config"; exit ;;
3652 --debug | --debu | --deb | --de | --d | -d )
3653 debug=: ;;
3654 --file | --fil | --fi | --f )
3655 $ac_shift
3656 case $ac_optarg in
3657 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3658 '') as_fn_error $? "missing file argument" ;;
3659 esac
3660 as_fn_append CONFIG_FILES " '$ac_optarg'"
3661 ac_need_defaults=false;;
3662 --header | --heade | --head | --hea )
3663 $ac_shift
3664 case $ac_optarg in
3665 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3666 esac
3667 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3668 ac_need_defaults=false;;
3669 --he | --h)
3670 # Conflict between --help and --header
3671 as_fn_error $? "ambiguous option: \`$1'
3672 Try \`$0 --help' for more information.";;
3673 --help | --hel | -h )
3674 printf "%s\n" "$ac_cs_usage"; exit ;;
3675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3677 ac_cs_silent=: ;;
3678
3679 # This is an error.
3680 -*) as_fn_error $? "unrecognized option: \`$1'
3681 Try \`$0 --help' for more information." ;;
3682
3683 *) as_fn_append ac_config_targets " $1"
3684 ac_need_defaults=false ;;
3685
3686 esac
3687 shift
3688 done
3689
3690 ac_configure_extra_args=
3691
3692 if $ac_cs_silent; then
3693 exec 6>/dev/null
3694 ac_configure_extra_args="$ac_configure_extra_args --silent"
3695 fi
3696
3697 _ACEOF
3698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3699 if \$ac_cs_recheck; then
3700 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3701 shift
3702 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3703 CONFIG_SHELL='$SHELL'
3704 export CONFIG_SHELL
3705 exec "\$@"
3706 fi
3707
3708 _ACEOF
3709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3710 exec 5>>config.log
3711 {
3712 echo
3713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3714 ## Running $as_me. ##
3715 _ASBOX
3716 printf "%s\n" "$ac_log"
3717 } >&5
3718
3719 _ACEOF
3720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3721 _ACEOF
3722
3723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3724
3725 # Handling of arguments.
3726 for ac_config_target in $ac_config_targets
3727 do
3728 case $ac_config_target in
3729 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3731 "xbitmaps.pc") CONFIG_FILES="$CONFIG_FILES xbitmaps.pc" ;;
3732
3733 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3734 esac
3735 done
3736
3737
3738 # If the user did not use the arguments to specify the items to instantiate,
3739 # then the envvar interface is used. Set only those that are not.
3740 # We use the long form for the default assignment because of an extremely
3741 # bizarre bug on SunOS 4.1.3.
3742 if $ac_need_defaults; then
3743 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3744 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3745 fi
3746
3747 # Have a temporary directory for convenience. Make it in the build tree
3748 # simply because there is no reason against having it here, and in addition,
3749 # creating and moving files from /tmp can sometimes cause problems.
3750 # Hook for its removal unless debugging.
3751 # Note that there is a small window in which the directory will not be cleaned:
3752 # after its creation but before its name has been assigned to `$tmp'.
3753 $debug ||
3754 {
3755 tmp= ac_tmp=
3756 trap 'exit_status=$?
3757 : "${ac_tmp:=$tmp}"
3758 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3759 ' 0
3760 trap 'as_fn_exit 1' 1 2 13 15
3761 }
3762 # Create a (secure) tmp directory for tmp files.
3763
3764 {
3765 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3766 test -d "$tmp"
3767 } ||
3768 {
3769 tmp=./conf$$-$RANDOM
3770 (umask 077 && mkdir "$tmp")
3771 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3772 ac_tmp=$tmp
3773
3774 # Set up the scripts for CONFIG_FILES section.
3775 # No need to generate them if there are no CONFIG_FILES.
3776 # This happens for instance with `./config.status config.h'.
3777 if test -n "$CONFIG_FILES"; then
3778
3779
3780 ac_cr=`echo X | tr X '\015'`
3781 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3782 # But we know of no other shell where ac_cr would be empty at this
3783 # point, so we can use a bashism as a fallback.
3784 if test "x$ac_cr" = x; then
3785 eval ac_cr=\$\'\\r\'
3786 fi
3787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3789 ac_cs_awk_cr='\\r'
3790 else
3791 ac_cs_awk_cr=$ac_cr
3792 fi
3793
3794 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3795 _ACEOF
3796
3797
3798 {
3799 echo "cat >conf$$subs.awk <<_ACEOF" &&
3800 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3801 echo "_ACEOF"
3802 } >conf$$subs.sh ||
3803 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3804 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3805 ac_delim='%!_!# '
3806 for ac_last_try in false false false false false :; do
3807 . ./conf$$subs.sh ||
3808 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3809
3810 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3811 if test $ac_delim_n = $ac_delim_num; then
3812 break
3813 elif $ac_last_try; then
3814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3815 else
3816 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3817 fi
3818 done
3819 rm -f conf$$subs.sh
3820
3821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3822 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3823 _ACEOF
3824 sed -n '
3825 h
3826 s/^/S["/; s/!.*/"]=/
3827 p
3828 g
3829 s/^[^!]*!//
3830 :repl
3831 t repl
3832 s/'"$ac_delim"'$//
3833 t delim
3834 :nl
3835 h
3836 s/\(.\{148\}\)..*/\1/
3837 t more1
3838 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3839 p
3840 n
3841 b repl
3842 :more1
3843 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3844 p
3845 g
3846 s/.\{148\}//
3847 t nl
3848 :delim
3849 h
3850 s/\(.\{148\}\)..*/\1/
3851 t more2
3852 s/["\\]/\\&/g; s/^/"/; s/$/"/
3853 p
3854 b
3855 :more2
3856 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3857 p
3858 g
3859 s/.\{148\}//
3860 t delim
3861 ' <conf$$subs.awk | sed '
3862 /^[^""]/{
3863 N
3864 s/\n//
3865 }
3866 ' >>$CONFIG_STATUS || ac_write_fail=1
3867 rm -f conf$$subs.awk
3868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3869 _ACAWK
3870 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3871 for (key in S) S_is_set[key] = 1
3872 FS = ""
3873
3874 }
3875 {
3876 line = $ 0
3877 nfields = split(line, field, "@")
3878 substed = 0
3879 len = length(field[1])
3880 for (i = 2; i < nfields; i++) {
3881 key = field[i]
3882 keylen = length(key)
3883 if (S_is_set[key]) {
3884 value = S[key]
3885 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3886 len += length(value) + length(field[++i])
3887 substed = 1
3888 } else
3889 len += 1 + keylen
3890 }
3891
3892 print line
3893 }
3894
3895 _ACAWK
3896 _ACEOF
3897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3898 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3899 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3900 else
3901 cat
3902 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3903 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3904 _ACEOF
3905
3906 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3907 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3908 # trailing colons and then remove the whole line if VPATH becomes empty
3909 # (actually we leave an empty line to preserve line numbers).
3910 if test "x$srcdir" = x.; then
3911 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3912 h
3913 s///
3914 s/^/:/
3915 s/[ ]*$/:/
3916 s/:\$(srcdir):/:/g
3917 s/:\${srcdir}:/:/g
3918 s/:@srcdir@:/:/g
3919 s/^:*//
3920 s/:*$//
3921 x
3922 s/\(=[ ]*\).*/\1/
3923 G
3924 s/\n//
3925 s/^[^=]*=[ ]*$//
3926 }'
3927 fi
3928
3929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3930 fi # test -n "$CONFIG_FILES"
3931
3932 # Set up the scripts for CONFIG_HEADERS section.
3933 # No need to generate them if there are no CONFIG_HEADERS.
3934 # This happens for instance with `./config.status Makefile'.
3935 if test -n "$CONFIG_HEADERS"; then
3936 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3937 BEGIN {
3938 _ACEOF
3939
3940 # Transform confdefs.h into an awk script `defines.awk', embedded as
3941 # here-document in config.status, that substitutes the proper values into
3942 # config.h.in to produce config.h.
3943
3944 # Create a delimiter string that does not exist in confdefs.h, to ease
3945 # handling of long lines.
3946 ac_delim='%!_!# '
3947 for ac_last_try in false false :; do
3948 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3949 if test -z "$ac_tt"; then
3950 break
3951 elif $ac_last_try; then
3952 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3953 else
3954 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3955 fi
3956 done
3957
3958 # For the awk script, D is an array of macro values keyed by name,
3959 # likewise P contains macro parameters if any. Preserve backslash
3960 # newline sequences.
3961
3962 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3963 sed -n '
3964 s/.\{148\}/&'"$ac_delim"'/g
3965 t rset
3966 :rset
3967 s/^[ ]*#[ ]*define[ ][ ]*/ /
3968 t def
3969 d
3970 :def
3971 s/\\$//
3972 t bsnl
3973 s/["\\]/\\&/g
3974 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3975 D["\1"]=" \3"/p
3976 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3977 d
3978 :bsnl
3979 s/["\\]/\\&/g
3980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3981 D["\1"]=" \3\\\\\\n"\\/p
3982 t cont
3983 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3984 t cont
3985 d
3986 :cont
3987 n
3988 s/.\{148\}/&'"$ac_delim"'/g
3989 t clear
3990 :clear
3991 s/\\$//
3992 t bsnlc
3993 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3994 d
3995 :bsnlc
3996 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3997 b cont
3998 ' <confdefs.h | sed '
3999 s/'"$ac_delim"'/"\\\
4000 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4001
4002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4003 for (key in D) D_is_set[key] = 1
4004 FS = ""
4005 }
4006 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4007 line = \$ 0
4008 split(line, arg, " ")
4009 if (arg[1] == "#") {
4010 defundef = arg[2]
4011 mac1 = arg[3]
4012 } else {
4013 defundef = substr(arg[1], 2)
4014 mac1 = arg[2]
4015 }
4016 split(mac1, mac2, "(") #)
4017 macro = mac2[1]
4018 prefix = substr(line, 1, index(line, defundef) - 1)
4019 if (D_is_set[macro]) {
4020 # Preserve the white space surrounding the "#".
4021 print prefix "define", macro P[macro] D[macro]
4022 next
4023 } else {
4024 # Replace #undef with comments. This is necessary, for example,
4025 # in the case of _POSIX_SOURCE, which is predefined and required
4026 # on some systems where configure will not decide to define it.
4027 if (defundef == "undef") {
4028 print "/*", prefix defundef, macro, "*/"
4029 next
4030 }
4031 }
4032 }
4033 { print }
4034 _ACAWK
4035 _ACEOF
4036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4037 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4038 fi # test -n "$CONFIG_HEADERS"
4039
4040
4041 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4042 shift
4043 for ac_tag
4044 do
4045 case $ac_tag in
4046 :[FHLC]) ac_mode=$ac_tag; continue;;
4047 esac
4048 case $ac_mode$ac_tag in
4049 :[FHL]*:*);;
4050 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4051 :[FH]-) ac_tag=-:-;;
4052 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4053 esac
4054 ac_save_IFS=$IFS
4055 IFS=:
4056 set x $ac_tag
4057 IFS=$ac_save_IFS
4058 shift
4059 ac_file=$1
4060 shift
4061
4062 case $ac_mode in
4063 :L) ac_source=$1;;
4064 :[FH])
4065 ac_file_inputs=
4066 for ac_f
4067 do
4068 case $ac_f in
4069 -) ac_f="$ac_tmp/stdin";;
4070 *) # Look for the file first in the build tree, then in the source tree
4071 # (if the path is not absolute). The absolute path cannot be DOS-style,
4072 # because $ac_f cannot contain `:'.
4073 test -f "$ac_f" ||
4074 case $ac_f in
4075 [\\/$]*) false;;
4076 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4077 esac ||
4078 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4079 esac
4080 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4081 as_fn_append ac_file_inputs " '$ac_f'"
4082 done
4083
4084 # Let's still pretend it is `configure' which instantiates (i.e., don't
4085 # use $as_me), people would be surprised to read:
4086 # /* config.h. Generated by config.status. */
4087 configure_input='Generated from '`
4088 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4089 `' by configure.'
4090 if test x"$ac_file" != x-; then
4091 configure_input="$ac_file. $configure_input"
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4093 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4094 fi
4095 # Neutralize special characters interpreted by sed in replacement strings.
4096 case $configure_input in #(
4097 *\&* | *\|* | *\\* )
4098 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4099 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4100 *) ac_sed_conf_input=$configure_input;;
4101 esac
4102
4103 case $ac_tag in
4104 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4106 esac
4107 ;;
4108 esac
4109
4110 ac_dir=`$as_dirname -- "$ac_file" ||
4111 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4112 X"$ac_file" : 'X\(//\)[^/]' \| \
4113 X"$ac_file" : 'X\(//\)$' \| \
4114 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4115 printf "%s\n" X"$ac_file" |
4116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4117 s//\1/
4118 q
4119 }
4120 /^X\(\/\/\)[^/].*/{
4121 s//\1/
4122 q
4123 }
4124 /^X\(\/\/\)$/{
4125 s//\1/
4126 q
4127 }
4128 /^X\(\/\).*/{
4129 s//\1/
4130 q
4131 }
4132 s/.*/./; q'`
4133 as_dir="$ac_dir"; as_fn_mkdir_p
4134 ac_builddir=.
4135
4136 case "$ac_dir" in
4137 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4138 *)
4139 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4140 # A ".." for each directory in $ac_dir_suffix.
4141 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4142 case $ac_top_builddir_sub in
4143 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4144 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4145 esac ;;
4146 esac
4147 ac_abs_top_builddir=$ac_pwd
4148 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4149 # for backward compatibility:
4150 ac_top_builddir=$ac_top_build_prefix
4151
4152 case $srcdir in
4153 .) # We are building in place.
4154 ac_srcdir=.
4155 ac_top_srcdir=$ac_top_builddir_sub
4156 ac_abs_top_srcdir=$ac_pwd ;;
4157 [\\/]* | ?:[\\/]* ) # Absolute name.
4158 ac_srcdir=$srcdir$ac_dir_suffix;
4159 ac_top_srcdir=$srcdir
4160 ac_abs_top_srcdir=$srcdir ;;
4161 *) # Relative name.
4162 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4163 ac_top_srcdir=$ac_top_build_prefix$srcdir
4164 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4165 esac
4166 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4167
4168
4169 case $ac_mode in
4170 :F)
4171 #
4172 # CONFIG_FILE
4173 #
4174
4175 case $INSTALL in
4176 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4177 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4178 esac
4179 ac_MKDIR_P=$MKDIR_P
4180 case $MKDIR_P in
4181 [\\/$]* | ?:[\\/]* ) ;;
4182 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4183 esac
4184 _ACEOF
4185
4186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4187 # If the template does not know about datarootdir, expand it.
4188 # FIXME: This hack should be removed a few years after 2.60.
4189 ac_datarootdir_hack=; ac_datarootdir_seen=
4190 ac_sed_dataroot='
4191 /datarootdir/ {
4192 p
4193 q
4194 }
4195 /@datadir@/p
4196 /@docdir@/p
4197 /@infodir@/p
4198 /@localedir@/p
4199 /@mandir@/p'
4200 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4201 *datarootdir*) ac_datarootdir_seen=yes;;
4202 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4204 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4205 _ACEOF
4206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4207 ac_datarootdir_hack='
4208 s&@datadir@&$datadir&g
4209 s&@docdir@&$docdir&g
4210 s&@infodir@&$infodir&g
4211 s&@localedir@&$localedir&g
4212 s&@mandir@&$mandir&g
4213 s&\\\${datarootdir}&$datarootdir&g' ;;
4214 esac
4215 _ACEOF
4216
4217 # Neutralize VPATH when `$srcdir' = `.'.
4218 # Shell code in configure.ac might set extrasub.
4219 # FIXME: do we really want to maintain this feature?
4220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4221 ac_sed_extra="$ac_vpsub
4222 $extrasub
4223 _ACEOF
4224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4225 :t
4226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4227 s|@configure_input@|$ac_sed_conf_input|;t t
4228 s&@top_builddir@&$ac_top_builddir_sub&;t t
4229 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4230 s&@srcdir@&$ac_srcdir&;t t
4231 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4232 s&@top_srcdir@&$ac_top_srcdir&;t t
4233 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4234 s&@builddir@&$ac_builddir&;t t
4235 s&@abs_builddir@&$ac_abs_builddir&;t t
4236 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4237 s&@INSTALL@&$ac_INSTALL&;t t
4238 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4239 $ac_datarootdir_hack
4240 "
4241 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4242 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4243
4244 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4245 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4246 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4247 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4249 which seems to be undefined. Please make sure it is defined" >&5
4250 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4251 which seems to be undefined. Please make sure it is defined" >&2;}
4252
4253 rm -f "$ac_tmp/stdin"
4254 case $ac_file in
4255 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4256 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4257 esac \
4258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4259 ;;
4260 :H)
4261 #
4262 # CONFIG_HEADER
4263 #
4264 if test x"$ac_file" != x-; then
4265 {
4266 printf "%s\n" "/* $configure_input */" >&1 \
4267 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4268 } >"$ac_tmp/config.h" \
4269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4270 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4272 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4273 else
4274 rm -f "$ac_file"
4275 mv "$ac_tmp/config.h" "$ac_file" \
4276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4277 fi
4278 else
4279 printf "%s\n" "/* $configure_input */" >&1 \
4280 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4281 || as_fn_error $? "could not create -" "$LINENO" 5
4282 fi
4283 # Compute "$ac_file"'s index in $config_headers.
4284 _am_arg="$ac_file"
4285 _am_stamp_count=1
4286 for _am_header in $config_headers :; do
4287 case $_am_header in
4288 $_am_arg | $_am_arg:* )
4289 break ;;
4290 * )
4291 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4292 esac
4293 done
4294 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4295 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4296 X"$_am_arg" : 'X\(//\)[^/]' \| \
4297 X"$_am_arg" : 'X\(//\)$' \| \
4298 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4299 printf "%s\n" X"$_am_arg" |
4300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4301 s//\1/
4302 q
4303 }
4304 /^X\(\/\/\)[^/].*/{
4305 s//\1/
4306 q
4307 }
4308 /^X\(\/\/\)$/{
4309 s//\1/
4310 q
4311 }
4312 /^X\(\/\).*/{
4313 s//\1/
4314 q
4315 }
4316 s/.*/./; q'`/stamp-h$_am_stamp_count
4317 ;;
4318
4319
4320 esac
4321
4322 done # for ac_tag
4323
4324
4325 as_fn_exit 0
4326 _ACEOF
4327 ac_clean_files=$ac_clean_files_save
4328
4329 test $ac_write_fail = 0 ||
4330 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4331
4332
4333 # configure is writing to config.log, and then calls config.status.
4334 # config.status does its own redirection, appending to config.log.
4335 # Unfortunately, on DOS this fails, as config.log is still kept open
4336 # by configure, so config.status won't be able to write to it; its
4337 # output is simply discarded. So we exec the FD to /dev/null,
4338 # effectively closing config.log, so it can be properly (re)opened and
4339 # appended to by config.status. When coming back to configure, we
4340 # need to make the FD available again.
4341 if test "$no_create" != yes; then
4342 ac_cs_success=:
4343 ac_config_status_args=
4344 test "$silent" = yes &&
4345 ac_config_status_args="$ac_config_status_args --quiet"
4346 exec 5>/dev/null
4347 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4348 exec 5>>config.log
4349 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4350 # would make configure fail if this is the last instruction.
4351 $ac_cs_success || as_fn_exit 1
4352 fi
4353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4355 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4356 fi
4357
4358
4359