configure revision 1.1.1.9 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for util-macros 1.20.0.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/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 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else $as_nop
190 as_have_required=no
191 fi
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
194
195 else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 do
200 IFS=$as_save_IFS
201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
206 as_found=:
207 case $as_dir in #(
208 /*)
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218 break 2
219 fi
220 fi
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
228
229 else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi
235 fi
236
237
238 if test "x$CONFIG_SHELL" != x
239 then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno
262 then :
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
270 $0: https://gitlab.freedesktop.org/xorg/util/macros/issues
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
274 $0: have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
303 {
304 return $1
305 } # as_fn_set_status
306
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
311 {
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
320 {
321 return $?
322 }
323 as_nop=as_fn_nop
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
377 {
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
389 {
390 eval $1+=\$2
391 }'
392 else $as_nop
393 as_fn_append ()
394 {
395 eval $1=\$$1\$2
396 }
397 fi # as_fn_append
398
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
407 {
408 as_val=$(( $* ))
409 }'
410 else $as_nop
411 as_fn_arith ()
412 {
413 as_val=`expr "$@" || test $? -eq 1`
414 }
415 fi # as_fn_arith
416
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
421 {
422 return $?
423 }
424 as_nop=as_fn_nop
425
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
432 {
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 fi
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
441
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
447 fi
448
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
453 fi
454
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\/\)$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\).*/{
475 s//\1/
476 q
477 }
478 s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
494 p
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
553 fi
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
567 fi
568 else
569 as_ln_s='cp -pR'
570 fi
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
573
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='util-macros'
613 PACKAGE_TARNAME='util-macros'
614 PACKAGE_VERSION='1.20.0'
615 PACKAGE_STRING='util-macros 1.20.0'
616 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/macros/issues'
617 PACKAGE_URL=''
618
619 ac_unique_file="Makefile.am"
620 ac_subst_vars='LTLIBOBJS
621 LIBOBJS
622 CHANGELOG_CMD
623 AM_BACKSLASH
624 AM_DEFAULT_VERBOSITY
625 AM_DEFAULT_V
626 AM_V
627 CSCOPE
628 ETAGS
629 CTAGS
630 am__untar
631 am__tar
632 AMTAR
633 am__leading_dot
634 SET_MAKE
635 AWK
636 mkdir_p
637 MKDIR_P
638 INSTALL_STRIP_PROGRAM
639 STRIP
640 install_sh
641 MAKEINFO
642 AUTOHEADER
643 AUTOMAKE
644 AUTOCONF
645 ACLOCAL
646 VERSION
647 PACKAGE
648 CYGPATH_W
649 am__isrc
650 INSTALL_DATA
651 INSTALL_SCRIPT
652 INSTALL_PROGRAM
653 target_alias
654 host_alias
655 build_alias
656 LIBS
657 ECHO_T
658 ECHO_N
659 ECHO_C
660 DEFS
661 mandir
662 localedir
663 libdir
664 psdir
665 pdfdir
666 dvidir
667 htmldir
668 infodir
669 docdir
670 oldincludedir
671 includedir
672 runstatedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL'
692 ac_subst_files=''
693 ac_user_opts='
694 enable_option_checking
695 enable_silent_rules
696 '
697 ac_precious_vars='build_alias
698 host_alias
699 target_alias'
700
701
702 # Initialize some variables set by options.
703 ac_init_help=
704 ac_init_version=false
705 ac_unrecognized_opts=
706 ac_unrecognized_sep=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
709 cache_file=/dev/null
710 exec_prefix=NONE
711 no_create=
712 no_recursion=
713 prefix=NONE
714 program_prefix=NONE
715 program_suffix=NONE
716 program_transform_name=s,x,x,
717 silent=
718 site=
719 srcdir=
720 verbose=
721 x_includes=NONE
722 x_libraries=NONE
723
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir='${exec_prefix}/bin'
731 sbindir='${exec_prefix}/sbin'
732 libexecdir='${exec_prefix}/libexec'
733 datarootdir='${prefix}/share'
734 datadir='${datarootdir}'
735 sysconfdir='${prefix}/etc'
736 sharedstatedir='${prefix}/com'
737 localstatedir='${prefix}/var'
738 runstatedir='${localstatedir}/run'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir='${datarootdir}/info'
743 htmldir='${docdir}'
744 dvidir='${docdir}'
745 pdfdir='${docdir}'
746 psdir='${docdir}'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
750
751 ac_prev=
752 ac_dashdash=
753 for ac_option
754 do
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
758 ac_prev=
759 continue
760 fi
761
762 case $ac_option in
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 *=) ac_optarg= ;;
765 *) ac_optarg=yes ;;
766 esac
767
768 case $ac_dashdash$ac_option in
769 --)
770 ac_dashdash=yes ;;
771
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 ac_prev=bindir ;;
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 bindir=$ac_optarg ;;
776
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
781
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
788
789 --config-cache | -C)
790 cache_file=config.cache ;;
791
792 -datadir | --datadir | --datadi | --datad)
793 ac_prev=datadir ;;
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
796
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
803
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: \`$ac_useropt'"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=no ;;
819
820 -docdir | --docdir | --docdi | --doc | --do)
821 ac_prev=docdir ;;
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 docdir=$ac_optarg ;;
824
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 ac_prev=dvidir ;;
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 dvidir=$ac_optarg ;;
829
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: \`$ac_useropt'"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
838 *"
839 "enable_$ac_useropt"
840 "*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=\$ac_optarg ;;
845
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
854
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
857 with_gas=yes ;;
858
859 -help | --help | --hel | --he | -h)
860 ac_init_help=long ;;
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
865
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
870
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
876
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
883
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 ac_prev=infodir ;;
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
888
889 -libdir | --libdir | --libdi | --libd)
890 ac_prev=libdir ;;
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 libdir=$ac_optarg ;;
893
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
900
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
905
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
912
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 ac_prev=mandir ;;
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 mandir=$ac_optarg ;;
917
918 -nfp | --nfp | --nf)
919 # Obsolete; use --without-fp.
920 with_fp=no ;;
921
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
924 no_create=yes ;;
925
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 no_recursion=yes ;;
929
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
938
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 ac_prev=prefix ;;
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 prefix=$ac_optarg ;;
943
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
950
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
957
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
974
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
979
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
984
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
987 silent=yes ;;
988
989 -runstatedir | --runstatedir | --runstatedi | --runstated \
990 | --runstate | --runstat | --runsta | --runst | --runs \
991 | --run | --ru | --r)
992 ac_prev=runstatedir ;;
993 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
994 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
995 | --run=* | --ru=* | --r=*)
996 runstatedir=$ac_optarg ;;
997
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 ac_prev=sbindir ;;
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001 | --sbi=* | --sb=*)
1002 sbindir=$ac_optarg ;;
1003
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1007 | --sha | --sh)
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012 | --sha=* | --sh=*)
1013 sharedstatedir=$ac_optarg ;;
1014
1015 -site | --site | --sit)
1016 ac_prev=site ;;
1017 -site=* | --site=* | --sit=*)
1018 site=$ac_optarg ;;
1019
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021 ac_prev=srcdir ;;
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1024
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1031
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1036
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038 verbose=yes ;;
1039
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1042
1043 -with-* | --with-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid package name: \`$ac_useropt'"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1051 *"
1052 "with_$ac_useropt"
1053 "*) ;;
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1056 esac
1057 eval with_$ac_useropt=\$ac_optarg ;;
1058
1059 -without-* | --without-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: \`$ac_useropt'"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1067 *"
1068 "with_$ac_useropt"
1069 "*) ;;
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1072 esac
1073 eval with_$ac_useropt=no ;;
1074
1075 --x)
1076 # Obsolete; use --with-x.
1077 with_x=yes ;;
1078
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev=x_includes ;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes=$ac_optarg ;;
1085
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev=x_libraries ;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries=$ac_optarg ;;
1092
1093 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1095 ;;
1096
1097 *=*)
1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 case $ac_envvar in #(
1101 '' | [0-9]* | *[!_$as_cr_alnum]* )
1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103 esac
1104 eval $ac_envvar=\$ac_optarg
1105 export $ac_envvar ;;
1106
1107 *)
1108 # FIXME: should be removed in autoconf 3.0.
1109 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113 ;;
1114
1115 esac
1116 done
1117
1118 if test -n "$ac_prev"; then
1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120 as_fn_error $? "missing argument to $ac_option"
1121 fi
1122
1123 if test -n "$ac_unrecognized_opts"; then
1124 case $enable_option_checking in
1125 no) ;;
1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1127 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 esac
1129 fi
1130
1131 # Check all directory arguments for consistency.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir runstatedir
1136 do
1137 eval ac_val=\$$ac_var
1138 # Remove trailing slashes.
1139 case $ac_val in
1140 */ )
1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\$ac_val;;
1143 esac
1144 # Be sure to have absolute directory names.
1145 case $ac_val in
1146 [\\/$]* | ?:[\\/]* ) continue;;
1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148 esac
1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1150 done
1151
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1155 build=$build_alias
1156 host=$host_alias
1157 target=$target_alias
1158
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x; then
1161 if test "x$build_alias" = x; then
1162 cross_compiling=maybe
1163 elif test "x$build_alias" != "x$host_alias"; then
1164 cross_compiling=yes
1165 fi
1166 fi
1167
1168 ac_tool_prefix=
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1170
1171 test "$silent" = yes && exec 6>/dev/null
1172
1173
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error $? "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error $? "pwd does not report name of working directory"
1180
1181
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 printf "%s\n" X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 s//\1/
1194 q
1195 }
1196 /^X\(\/\/\)[^/].*/{
1197 s//\1/
1198 q
1199 }
1200 /^X\(\/\/\)$/{
1201 s//\1/
1202 q
1203 }
1204 /^X\(\/\).*/{
1205 s//\1/
1206 q
1207 }
1208 s/.*/./; q'`
1209 srcdir=$ac_confdir
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 srcdir=..
1212 fi
1213 else
1214 ac_srcdir_defaulted=no
1215 fi
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1219 fi
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221 ac_abs_confdir=`(
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223 pwd)`
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226 srcdir=.
1227 fi
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1231 case $srcdir in
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 esac
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 done
1240
1241 #
1242 # Report the --help message.
1243 #
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1247 cat <<_ACEOF
1248 \`configure' configures util-macros 1.20.0 to adapt to many kinds of systems.
1249
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1251
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1254
1255 Defaults for the options are specified in brackets.
1256
1257 Configuration:
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking ...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1267
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1272 [PREFIX]
1273
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1278
1279 For better control, use the options below.
1280
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/util-macros]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1302 _ACEOF
1303
1304 cat <<\_ACEOF
1305
1306 Program names:
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1310 _ACEOF
1311 fi
1312
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive ) echo "Configuration of util-macros 1.20.0:";;
1316 esac
1317 cat <<\_ACEOF
1318
1319 Optional Features:
1320 --disable-option-checking ignore unrecognized --enable/--with options
1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1323 --enable-silent-rules less verbose build output (undo: "make V=1")
1324 --disable-silent-rules verbose build output (undo: "make V=0")
1325
1326 Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>.
1327 _ACEOF
1328 ac_status=$?
1329 fi
1330
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 continue
1337 ac_builddir=.
1338
1339 case "$ac_dir" in
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *)
1342 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 esac ;;
1349 esac
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1354
1355 case $srcdir in
1356 .) # We are building in place.
1357 ac_srcdir=.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1364 *) # Relative name.
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 esac
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for configure.gnu first; this name is used for a wrapper for
1373 # Metaconfig's "Configure" on case-insensitive file systems.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1375 echo &&
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1380 else
1381 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 fi || ac_status=$?
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1384 done
1385 fi
1386
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1389 cat <<\_ACEOF
1390 util-macros configure 1.20.0
1391 generated by GNU Autoconf 2.71
1392
1393 Copyright (C) 2021 Free Software Foundation, Inc.
1394 This configure script is free software; the Free Software Foundation
1395 gives unlimited permission to copy, distribute and modify it.
1396 _ACEOF
1397 exit
1398 fi
1399
1400 ## ------------------------ ##
1401 ## Autoconf initialization. ##
1402 ## ------------------------ ##
1403 ac_configure_args_raw=
1404 for ac_arg
1405 do
1406 case $ac_arg in
1407 *\'*)
1408 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1409 esac
1410 as_fn_append ac_configure_args_raw " '$ac_arg'"
1411 done
1412
1413 case $ac_configure_args_raw in
1414 *$as_nl*)
1415 ac_safe_unquote= ;;
1416 *)
1417 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1418 ac_unsafe_a="$ac_unsafe_z#~"
1419 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1420 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1421 esac
1422
1423 cat >config.log <<_ACEOF
1424 This file contains any messages produced by compilers while
1425 running configure, to aid debugging if configure makes a mistake.
1426
1427 It was created by util-macros $as_me 1.20.0, which was
1428 generated by GNU Autoconf 2.71. Invocation command line was
1429
1430 $ $0$ac_configure_args_raw
1431
1432 _ACEOF
1433 exec 5>>config.log
1434 {
1435 cat <<_ASUNAME
1436 ## --------- ##
1437 ## Platform. ##
1438 ## --------- ##
1439
1440 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1441 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1442 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1443 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1444 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1445
1446 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1447 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1448
1449 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1450 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1451 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1452 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1453 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1454 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1455 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1456
1457 _ASUNAME
1458
1459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 for as_dir in $PATH
1461 do
1462 IFS=$as_save_IFS
1463 case $as_dir in #(((
1464 '') as_dir=./ ;;
1465 */) ;;
1466 *) as_dir=$as_dir/ ;;
1467 esac
1468 printf "%s\n" "PATH: $as_dir"
1469 done
1470 IFS=$as_save_IFS
1471
1472 } >&5
1473
1474 cat >&5 <<_ACEOF
1475
1476
1477 ## ----------- ##
1478 ## Core tests. ##
1479 ## ----------- ##
1480
1481 _ACEOF
1482
1483
1484 # Keep a trace of the command line.
1485 # Strip out --no-create and --no-recursion so they do not pile up.
1486 # Strip out --silent because we don't want to record it for future runs.
1487 # Also quote any args containing shell meta-characters.
1488 # Make two passes to allow for proper duplicate-argument suppression.
1489 ac_configure_args=
1490 ac_configure_args0=
1491 ac_configure_args1=
1492 ac_must_keep_next=false
1493 for ac_pass in 1 2
1494 do
1495 for ac_arg
1496 do
1497 case $ac_arg in
1498 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1500 | -silent | --silent | --silen | --sile | --sil)
1501 continue ;;
1502 *\'*)
1503 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 esac
1505 case $ac_pass in
1506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1507 2)
1508 as_fn_append ac_configure_args1 " '$ac_arg'"
1509 if test $ac_must_keep_next = true; then
1510 ac_must_keep_next=false # Got value, back to normal.
1511 else
1512 case $ac_arg in
1513 *=* | --config-cache | -C | -disable-* | --disable-* \
1514 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1515 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1516 | -with-* | --with-* | -without-* | --without-* | --x)
1517 case "$ac_configure_args0 " in
1518 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1519 esac
1520 ;;
1521 -* ) ac_must_keep_next=true ;;
1522 esac
1523 fi
1524 as_fn_append ac_configure_args " '$ac_arg'"
1525 ;;
1526 esac
1527 done
1528 done
1529 { ac_configure_args0=; unset ac_configure_args0;}
1530 { ac_configure_args1=; unset ac_configure_args1;}
1531
1532 # When interrupted or exit'd, cleanup temporary files, and complete
1533 # config.log. We remove comments because anyway the quotes in there
1534 # would cause problems or look ugly.
1535 # WARNING: Use '\'' to represent an apostrophe within the trap.
1536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1537 trap 'exit_status=$?
1538 # Sanitize IFS.
1539 IFS=" "" $as_nl"
1540 # Save into config.log some information that might help in debugging.
1541 {
1542 echo
1543
1544 printf "%s\n" "## ---------------- ##
1545 ## Cache variables. ##
1546 ## ---------------- ##"
1547 echo
1548 # The following way of writing the cache mishandles newlines in values,
1549 (
1550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1551 eval ac_val=\$$ac_var
1552 case $ac_val in #(
1553 *${as_nl}*)
1554 case $ac_var in #(
1555 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1556 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1557 esac
1558 case $ac_var in #(
1559 _ | IFS | as_nl) ;; #(
1560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1561 *) { eval $ac_var=; unset $ac_var;} ;;
1562 esac ;;
1563 esac
1564 done
1565 (set) 2>&1 |
1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1567 *${as_nl}ac_space=\ *)
1568 sed -n \
1569 "s/'\''/'\''\\\\'\'''\''/g;
1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1571 ;; #(
1572 *)
1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574 ;;
1575 esac |
1576 sort
1577 )
1578 echo
1579
1580 printf "%s\n" "## ----------------- ##
1581 ## Output variables. ##
1582 ## ----------------- ##"
1583 echo
1584 for ac_var in $ac_subst_vars
1585 do
1586 eval ac_val=\$$ac_var
1587 case $ac_val in
1588 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 esac
1590 printf "%s\n" "$ac_var='\''$ac_val'\''"
1591 done | sort
1592 echo
1593
1594 if test -n "$ac_subst_files"; then
1595 printf "%s\n" "## ------------------- ##
1596 ## File substitutions. ##
1597 ## ------------------- ##"
1598 echo
1599 for ac_var in $ac_subst_files
1600 do
1601 eval ac_val=\$$ac_var
1602 case $ac_val in
1603 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1604 esac
1605 printf "%s\n" "$ac_var='\''$ac_val'\''"
1606 done | sort
1607 echo
1608 fi
1609
1610 if test -s confdefs.h; then
1611 printf "%s\n" "## ----------- ##
1612 ## confdefs.h. ##
1613 ## ----------- ##"
1614 echo
1615 cat confdefs.h
1616 echo
1617 fi
1618 test "$ac_signal" != 0 &&
1619 printf "%s\n" "$as_me: caught signal $ac_signal"
1620 printf "%s\n" "$as_me: exit $exit_status"
1621 } >&5
1622 rm -f core *.core core.conftest.* &&
1623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1624 exit $exit_status
1625 ' 0
1626 for ac_signal in 1 2 13 15; do
1627 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1628 done
1629 ac_signal=0
1630
1631 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1632 rm -f -r conftest* confdefs.h
1633
1634 printf "%s\n" "/* confdefs.h */" > confdefs.h
1635
1636 # Predefined preprocessor variables.
1637
1638 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1639
1640 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1641
1642 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1643
1644 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1645
1646 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1647
1648 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1649
1650
1651 # Let the site file select an alternate cache file if it wants to.
1652 # Prefer an explicitly selected file to automatically selected ones.
1653 if test -n "$CONFIG_SITE"; then
1654 ac_site_files="$CONFIG_SITE"
1655 elif test "x$prefix" != xNONE; then
1656 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1657 else
1658 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1659 fi
1660
1661 for ac_site_file in $ac_site_files
1662 do
1663 case $ac_site_file in #(
1664 */*) :
1665 ;; #(
1666 *) :
1667 ac_site_file=./$ac_site_file ;;
1668 esac
1669 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1671 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1672 sed 's/^/| /' "$ac_site_file" >&5
1673 . "$ac_site_file" \
1674 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1675 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1676 as_fn_error $? "failed to load site script $ac_site_file
1677 See \`config.log' for more details" "$LINENO" 5; }
1678 fi
1679 done
1680
1681 if test -r "$cache_file"; then
1682 # Some versions of bash will fail to source /dev/null (special files
1683 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1684 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1686 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1687 case $cache_file in
1688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1689 *) . "./$cache_file";;
1690 esac
1691 fi
1692 else
1693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1694 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1695 >$cache_file
1696 fi
1697
1698
1699 # Auxiliary files required by this configure script.
1700 ac_aux_files="missing install-sh"
1701
1702 # Locations in which to look for auxiliary files.
1703 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1704
1705 # Search for a directory containing all of the required auxiliary files,
1706 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1707 # If we don't find one directory that contains all the files we need,
1708 # we report the set of missing files from the *first* directory in
1709 # $ac_aux_dir_candidates and give up.
1710 ac_missing_aux_files=""
1711 ac_first_candidate=:
1712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 as_found=false
1715 for as_dir in $ac_aux_dir_candidates
1716 do
1717 IFS=$as_save_IFS
1718 case $as_dir in #(((
1719 '') as_dir=./ ;;
1720 */) ;;
1721 *) as_dir=$as_dir/ ;;
1722 esac
1723 as_found=:
1724
1725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1726 ac_aux_dir_found=yes
1727 ac_install_sh=
1728 for ac_aux in $ac_aux_files
1729 do
1730 # As a special case, if "install-sh" is required, that requirement
1731 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1732 # and $ac_install_sh is set appropriately for whichever one is found.
1733 if test x"$ac_aux" = x"install-sh"
1734 then
1735 if test -f "${as_dir}install-sh"; then
1736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1737 ac_install_sh="${as_dir}install-sh -c"
1738 elif test -f "${as_dir}install.sh"; then
1739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1740 ac_install_sh="${as_dir}install.sh -c"
1741 elif test -f "${as_dir}shtool"; then
1742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1743 ac_install_sh="${as_dir}shtool install -c"
1744 else
1745 ac_aux_dir_found=no
1746 if $ac_first_candidate; then
1747 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1748 else
1749 break
1750 fi
1751 fi
1752 else
1753 if test -f "${as_dir}${ac_aux}"; then
1754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1755 else
1756 ac_aux_dir_found=no
1757 if $ac_first_candidate; then
1758 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1759 else
1760 break
1761 fi
1762 fi
1763 fi
1764 done
1765 if test "$ac_aux_dir_found" = yes; then
1766 ac_aux_dir="$as_dir"
1767 break
1768 fi
1769 ac_first_candidate=false
1770
1771 as_found=false
1772 done
1773 IFS=$as_save_IFS
1774 if $as_found
1775 then :
1776
1777 else $as_nop
1778 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1779 fi
1780
1781
1782 # These three variables are undocumented and unsupported,
1783 # and are intended to be withdrawn in a future Autoconf release.
1784 # They can cause serious problems if a builder's source tree is in a directory
1785 # whose full name contains unusual characters.
1786 if test -f "${ac_aux_dir}config.guess"; then
1787 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1788 fi
1789 if test -f "${ac_aux_dir}config.sub"; then
1790 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1791 fi
1792 if test -f "$ac_aux_dir/configure"; then
1793 ac_configure="$SHELL ${ac_aux_dir}configure"
1794 fi
1795
1796 # Check that the precious variables saved in the cache have kept the same
1797 # value.
1798 ac_cache_corrupted=false
1799 for ac_var in $ac_precious_vars; do
1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1801 eval ac_new_set=\$ac_env_${ac_var}_set
1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1803 eval ac_new_val=\$ac_env_${ac_var}_value
1804 case $ac_old_set,$ac_new_set in
1805 set,)
1806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1807 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1808 ac_cache_corrupted=: ;;
1809 ,set)
1810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1811 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1812 ac_cache_corrupted=: ;;
1813 ,);;
1814 *)
1815 if test "x$ac_old_val" != "x$ac_new_val"; then
1816 # differences in whitespace do not lead to failure.
1817 ac_old_val_w=`echo x $ac_old_val`
1818 ac_new_val_w=`echo x $ac_new_val`
1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1821 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1822 ac_cache_corrupted=:
1823 else
1824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1825 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1826 eval $ac_var=\$ac_old_val
1827 fi
1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1829 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1831 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1832 fi;;
1833 esac
1834 # Pass precious variables to config.status.
1835 if test "$ac_new_set" = set; then
1836 case $ac_new_val in
1837 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1838 *) ac_arg=$ac_var=$ac_new_val ;;
1839 esac
1840 case " $ac_configure_args " in
1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1842 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1843 esac
1844 fi
1845 done
1846 if $ac_cache_corrupted; then
1847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1848 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1850 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1851 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1852 and start over" "$LINENO" 5
1853 fi
1854 ## -------------------- ##
1855 ## Main body of script. ##
1856 ## -------------------- ##
1857
1858 ac_ext=c
1859 ac_cpp='$CPP $CPPFLAGS'
1860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863
1864
1865
1866 am__api_version='1.16'
1867
1868
1869
1870 # Find a good install program. We prefer a C program (faster),
1871 # so one script is as good as another. But avoid the broken or
1872 # incompatible versions:
1873 # SysV /etc/install, /usr/sbin/install
1874 # SunOS /usr/etc/install
1875 # IRIX /sbin/install
1876 # AIX /bin/install
1877 # AmigaOS /C/install, which installs bootblocks on floppy discs
1878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1881 # OS/2's system install, which has a completely different semantic
1882 # ./install, which can be erroneously created by make from ./install.sh.
1883 # Reject install programs that cannot install multiple files.
1884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1885 printf %s "checking for a BSD-compatible install... " >&6; }
1886 if test -z "$INSTALL"; then
1887 if test ${ac_cv_path_install+y}
1888 then :
1889 printf %s "(cached) " >&6
1890 else $as_nop
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894 IFS=$as_save_IFS
1895 case $as_dir in #(((
1896 '') as_dir=./ ;;
1897 */) ;;
1898 *) as_dir=$as_dir/ ;;
1899 esac
1900 # Account for fact that we put trailing slashes in our PATH walk.
1901 case $as_dir in #((
1902 ./ | /[cC]/* | \
1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1905 /usr/ucb/* ) ;;
1906 *)
1907 # OSF1 and SCO ODT 3.0 have their own names for install.
1908 # Don't use installbsd from OSF since it installs stuff as root
1909 # by default.
1910 for ac_prog in ginstall scoinst install; do
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1913 if test $ac_prog = install &&
1914 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915 # AIX install. It has an incompatible calling convention.
1916 :
1917 elif test $ac_prog = install &&
1918 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # program-specific install script used by HP pwplus--don't use.
1920 :
1921 else
1922 rm -rf conftest.one conftest.two conftest.dir
1923 echo one > conftest.one
1924 echo two > conftest.two
1925 mkdir conftest.dir
1926 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1927 test -s conftest.one && test -s conftest.two &&
1928 test -s conftest.dir/conftest.one &&
1929 test -s conftest.dir/conftest.two
1930 then
1931 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1932 break 3
1933 fi
1934 fi
1935 fi
1936 done
1937 done
1938 ;;
1939 esac
1940
1941 done
1942 IFS=$as_save_IFS
1943
1944 rm -rf conftest.one conftest.two conftest.dir
1945
1946 fi
1947 if test ${ac_cv_path_install+y}; then
1948 INSTALL=$ac_cv_path_install
1949 else
1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
1952 # break other packages using the cache if that directory is
1953 # removed, or if the value is a relative name.
1954 INSTALL=$ac_install_sh
1955 fi
1956 fi
1957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1958 printf "%s\n" "$INSTALL" >&6; }
1959
1960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961 # It thinks the first close brace ends the variable substitution.
1962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
1968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1969 printf %s "checking whether build environment is sane... " >&6; }
1970 # Reject unsafe characters in $srcdir or the absolute working directory
1971 # name. Accept space and tab only in the latter.
1972 am_lf='
1973 '
1974 case `pwd` in
1975 *[\\\"\#\$\&\'\`$am_lf]*)
1976 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1977 esac
1978 case $srcdir in
1979 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1980 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1981 esac
1982
1983 # Do 'set' in a subshell so we don't clobber the current shell's
1984 # arguments. Must try -L first in case configure is actually a
1985 # symlink; some systems play weird games with the mod time of symlinks
1986 # (eg FreeBSD returns the mod time of the symlink's containing
1987 # directory).
1988 if (
1989 am_has_slept=no
1990 for am_try in 1 2; do
1991 echo "timestamp, slept: $am_has_slept" > conftest.file
1992 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1993 if test "$*" = "X"; then
1994 # -L didn't work.
1995 set X `ls -t "$srcdir/configure" conftest.file`
1996 fi
1997 if test "$*" != "X $srcdir/configure conftest.file" \
1998 && test "$*" != "X conftest.file $srcdir/configure"; then
1999
2000 # If neither matched, then we have a broken ls. This can happen
2001 # if, for instance, CONFIG_SHELL is bash and it inherits a
2002 # broken ls alias from the environment. This has actually
2003 # happened. Such a system could not be considered "sane".
2004 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2005 alias in your environment" "$LINENO" 5
2006 fi
2007 if test "$2" = conftest.file || test $am_try -eq 2; then
2008 break
2009 fi
2010 # Just in case.
2011 sleep 1
2012 am_has_slept=yes
2013 done
2014 test "$2" = conftest.file
2015 )
2016 then
2017 # Ok.
2018 :
2019 else
2020 as_fn_error $? "newly created file is older than distributed files!
2021 Check your system clock" "$LINENO" 5
2022 fi
2023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2024 printf "%s\n" "yes" >&6; }
2025 # If we didn't sleep, we still need to ensure time stamps of config.status and
2026 # generated files are strictly newer.
2027 am_sleep_pid=
2028 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2029 ( sleep 1 ) &
2030 am_sleep_pid=$!
2031 fi
2032
2033 rm -f conftest.file
2034
2035 test "$program_prefix" != NONE &&
2036 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2037 # Use a double $ so make ignores it.
2038 test "$program_suffix" != NONE &&
2039 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2040 # Double any \ or $.
2041 # By default was `s,x,x', remove it if useless.
2042 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2043 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2044
2045
2046 # Expand $ac_aux_dir to an absolute path.
2047 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2048
2049
2050 if test x"${MISSING+set}" != xset; then
2051 MISSING="\${SHELL} '$am_aux_dir/missing'"
2052 fi
2053 # Use eval to expand $SHELL
2054 if eval "$MISSING --is-lightweight"; then
2055 am_missing_run="$MISSING "
2056 else
2057 am_missing_run=
2058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2059 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2060 fi
2061
2062 if test x"${install_sh+set}" != xset; then
2063 case $am_aux_dir in
2064 *\ * | *\ *)
2065 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2066 *)
2067 install_sh="\${SHELL} $am_aux_dir/install-sh"
2068 esac
2069 fi
2070
2071 # Installed binaries are usually stripped using 'strip' when the user
2072 # run "make install-strip". However 'strip' might not be the right
2073 # tool to use in cross-compilation environments, therefore Automake
2074 # will honor the 'STRIP' environment variable to overrule this program.
2075 if test "$cross_compiling" != no; then
2076 if test -n "$ac_tool_prefix"; then
2077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2078 set dummy ${ac_tool_prefix}strip; ac_word=$2
2079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2080 printf %s "checking for $ac_word... " >&6; }
2081 if test ${ac_cv_prog_STRIP+y}
2082 then :
2083 printf %s "(cached) " >&6
2084 else $as_nop
2085 if test -n "$STRIP"; then
2086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2090 do
2091 IFS=$as_save_IFS
2092 case $as_dir in #(((
2093 '') as_dir=./ ;;
2094 */) ;;
2095 *) as_dir=$as_dir/ ;;
2096 esac
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2101 break 2
2102 fi
2103 done
2104 done
2105 IFS=$as_save_IFS
2106
2107 fi
2108 fi
2109 STRIP=$ac_cv_prog_STRIP
2110 if test -n "$STRIP"; then
2111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2112 printf "%s\n" "$STRIP" >&6; }
2113 else
2114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 printf "%s\n" "no" >&6; }
2116 fi
2117
2118
2119 fi
2120 if test -z "$ac_cv_prog_STRIP"; then
2121 ac_ct_STRIP=$STRIP
2122 # Extract the first word of "strip", so it can be a program name with args.
2123 set dummy strip; ac_word=$2
2124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 printf %s "checking for $ac_word... " >&6; }
2126 if test ${ac_cv_prog_ac_ct_STRIP+y}
2127 then :
2128 printf %s "(cached) " >&6
2129 else $as_nop
2130 if test -n "$ac_ct_STRIP"; then
2131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2132 else
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2135 do
2136 IFS=$as_save_IFS
2137 case $as_dir in #(((
2138 '') as_dir=./ ;;
2139 */) ;;
2140 *) as_dir=$as_dir/ ;;
2141 esac
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_STRIP="strip"
2145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2146 break 2
2147 fi
2148 done
2149 done
2150 IFS=$as_save_IFS
2151
2152 fi
2153 fi
2154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2155 if test -n "$ac_ct_STRIP"; then
2156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2157 printf "%s\n" "$ac_ct_STRIP" >&6; }
2158 else
2159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 printf "%s\n" "no" >&6; }
2161 fi
2162
2163 if test "x$ac_ct_STRIP" = x; then
2164 STRIP=":"
2165 else
2166 case $cross_compiling:$ac_tool_warned in
2167 yes:)
2168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2169 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2170 ac_tool_warned=yes ;;
2171 esac
2172 STRIP=$ac_ct_STRIP
2173 fi
2174 else
2175 STRIP="$ac_cv_prog_STRIP"
2176 fi
2177
2178 fi
2179 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2180
2181
2182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2183 printf %s "checking for a race-free mkdir -p... " >&6; }
2184 if test -z "$MKDIR_P"; then
2185 if test ${ac_cv_path_mkdir+y}
2186 then :
2187 printf %s "(cached) " >&6
2188 else $as_nop
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2191 do
2192 IFS=$as_save_IFS
2193 case $as_dir in #(((
2194 '') as_dir=./ ;;
2195 */) ;;
2196 *) as_dir=$as_dir/ ;;
2197 esac
2198 for ac_prog in mkdir gmkdir; do
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2201 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2202 'mkdir ('*'coreutils) '* | \
2203 'BusyBox '* | \
2204 'mkdir (fileutils) '4.1*)
2205 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2206 break 3;;
2207 esac
2208 done
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214
2215 test -d ./--version && rmdir ./--version
2216 if test ${ac_cv_path_mkdir+y}; then
2217 MKDIR_P="$ac_cv_path_mkdir -p"
2218 else
2219 # As a last resort, use the slow shell script. Don't cache a
2220 # value for MKDIR_P within a source directory, because that will
2221 # break other packages using the cache if that directory is
2222 # removed, or if the value is a relative name.
2223 MKDIR_P="$ac_install_sh -d"
2224 fi
2225 fi
2226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2227 printf "%s\n" "$MKDIR_P" >&6; }
2228
2229 for ac_prog in gawk mawk nawk awk
2230 do
2231 # Extract the first word of "$ac_prog", so it can be a program name with args.
2232 set dummy $ac_prog; ac_word=$2
2233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 printf %s "checking for $ac_word... " >&6; }
2235 if test ${ac_cv_prog_AWK+y}
2236 then :
2237 printf %s "(cached) " >&6
2238 else $as_nop
2239 if test -n "$AWK"; then
2240 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2241 else
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 for as_dir in $PATH
2244 do
2245 IFS=$as_save_IFS
2246 case $as_dir in #(((
2247 '') as_dir=./ ;;
2248 */) ;;
2249 *) as_dir=$as_dir/ ;;
2250 esac
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2253 ac_cv_prog_AWK="$ac_prog"
2254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2255 break 2
2256 fi
2257 done
2258 done
2259 IFS=$as_save_IFS
2260
2261 fi
2262 fi
2263 AWK=$ac_cv_prog_AWK
2264 if test -n "$AWK"; then
2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2266 printf "%s\n" "$AWK" >&6; }
2267 else
2268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269 printf "%s\n" "no" >&6; }
2270 fi
2271
2272
2273 test -n "$AWK" && break
2274 done
2275
2276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2277 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2278 set x ${MAKE-make}
2279 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2280 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2281 then :
2282 printf %s "(cached) " >&6
2283 else $as_nop
2284 cat >conftest.make <<\_ACEOF
2285 SHELL = /bin/sh
2286 all:
2287 @echo '@@@%%%=$(MAKE)=@@@%%%'
2288 _ACEOF
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2291 *@@@%%%=?*=@@@%%%*)
2292 eval ac_cv_prog_make_${ac_make}_set=yes;;
2293 *)
2294 eval ac_cv_prog_make_${ac_make}_set=no;;
2295 esac
2296 rm -f conftest.make
2297 fi
2298 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2300 printf "%s\n" "yes" >&6; }
2301 SET_MAKE=
2302 else
2303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 printf "%s\n" "no" >&6; }
2305 SET_MAKE="MAKE=${MAKE-make}"
2306 fi
2307
2308 rm -rf .tst 2>/dev/null
2309 mkdir .tst 2>/dev/null
2310 if test -d .tst; then
2311 am__leading_dot=.
2312 else
2313 am__leading_dot=_
2314 fi
2315 rmdir .tst 2>/dev/null
2316
2317 # Check whether --enable-silent-rules was given.
2318 if test ${enable_silent_rules+y}
2319 then :
2320 enableval=$enable_silent_rules;
2321 fi
2322
2323 case $enable_silent_rules in # (((
2324 yes) AM_DEFAULT_VERBOSITY=0;;
2325 no) AM_DEFAULT_VERBOSITY=1;;
2326 *) AM_DEFAULT_VERBOSITY=1;;
2327 esac
2328 am_make=${MAKE-make}
2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2330 printf %s "checking whether $am_make supports nested variables... " >&6; }
2331 if test ${am_cv_make_support_nested_variables+y}
2332 then :
2333 printf %s "(cached) " >&6
2334 else $as_nop
2335 if printf "%s\n" 'TRUE=$(BAR$(V))
2336 BAR0=false
2337 BAR1=true
2338 V=1
2339 am__doit:
2340 @$(TRUE)
2341 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2342 am_cv_make_support_nested_variables=yes
2343 else
2344 am_cv_make_support_nested_variables=no
2345 fi
2346 fi
2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2348 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2349 if test $am_cv_make_support_nested_variables = yes; then
2350 AM_V='$(V)'
2351 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2352 else
2353 AM_V=$AM_DEFAULT_VERBOSITY
2354 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2355 fi
2356 AM_BACKSLASH='\'
2357
2358 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2359 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2360 # is not polluted with repeated "-I."
2361 am__isrc=' -I$(srcdir)'
2362 # test to see if srcdir already configured
2363 if test -f $srcdir/config.status; then
2364 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2365 fi
2366 fi
2367
2368 # test whether we have cygpath
2369 if test -z "$CYGPATH_W"; then
2370 if (cygpath --version) >/dev/null 2>/dev/null; then
2371 CYGPATH_W='cygpath -w'
2372 else
2373 CYGPATH_W=echo
2374 fi
2375 fi
2376
2377
2378 # Define the identity of the package.
2379 PACKAGE='util-macros'
2380 VERSION='1.20.0'
2381
2382
2383 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2384
2385
2386 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2387
2388 # Some tools Automake needs.
2389
2390 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2391
2392
2393 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2394
2395
2396 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2397
2398
2399 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2400
2401
2402 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2403
2404 # For better backward compatibility. To be removed once Automake 1.9.x
2405 # dies out for good. For more background, see:
2406 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2407 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2408 mkdir_p='$(MKDIR_P)'
2409
2410 # We need awk for the "check" target (and possibly the TAP driver). The
2411 # system "awk" is bad on some platforms.
2412 # Always define AMTAR for backward compatibility. Yes, it's still used
2413 # in the wild :-( We should find a proper way to deprecate it ...
2414 AMTAR='$${TAR-tar}'
2415
2416
2417 # We'll loop over all known methods to create a tar archive until one works.
2418 _am_tools='gnutar pax cpio none'
2419
2420 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2421
2422
2423
2424
2425
2426 # Variables for tags utilities; see am/tags.am
2427 if test -z "$CTAGS"; then
2428 CTAGS=ctags
2429 fi
2430
2431 if test -z "$ETAGS"; then
2432 ETAGS=etags
2433 fi
2434
2435 if test -z "$CSCOPE"; then
2436 CSCOPE=cscope
2437 fi
2438
2439
2440
2441 # POSIX will say in a future version that running "rm -f" with no argument
2442 # is OK; and we want to be able to make that assumption in our Makefile
2443 # recipes. So use an aggressive probe to check that the usage we want is
2444 # actually supported "in the wild" to an acceptable degree.
2445 # See automake bug#10828.
2446 # To make any issue more visible, cause the running configure to be aborted
2447 # by default if the 'rm' program in use doesn't match our expectations; the
2448 # user can still override this though.
2449 if rm -f && rm -fr && rm -rf; then : OK; else
2450 cat >&2 <<'END'
2451 Oops!
2452
2453 Your 'rm' program seems unable to run without file operands specified
2454 on the command line, even when the '-f' option is present. This is contrary
2455 to the behaviour of most rm programs out there, and not conforming with
2456 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2457
2458 Please tell bug-automake@gnu.org about your system, including the value
2459 of your $PATH and any error possibly output before this message. This
2460 can help us improve future automake versions.
2461
2462 END
2463 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2464 echo 'Configuration will proceed anyway, since you have set the' >&2
2465 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2466 echo >&2
2467 else
2468 cat >&2 <<'END'
2469 Aborting the configuration process, to ensure you take notice of the issue.
2470
2471 You can download and install GNU coreutils to get an 'rm' implementation
2472 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2473
2474 If you want to complete the configuration process using your problematic
2475 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2476 to "yes", and re-run configure.
2477
2478 END
2479 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2480 fi
2481 fi
2482
2483
2484 # Checks for programs.
2485
2486
2487 # This is the package that installs xorgversion.m4 as part of xorg-macros.m4.
2488 # In order to use xorgversion.m4 here, we include it explicitly.
2489
2490 # XORG_RELEASE_VERSION
2491 # --------------------
2492 # Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2493
2494
2495
2496 # XORG_CHANGELOG()
2497 # ----------------
2498 # Minimum version: 1.2.0
2499 #
2500 # Defines the variable CHANGELOG_CMD as the command to generate
2501 # ChangeLog from git.
2502 #
2503 #
2504 # XORG_CHANGELOG
2505
2506
2507
2508
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2511 _ACEOF
2512
2513 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2514 if test "x$PVM" = "x"; then
2515 PVM="0"
2516 fi
2517
2518 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2519
2520 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2521 if test "x$PVP" = "x"; then
2522 PVP="0"
2523 fi
2524
2525 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2526
2527
2528
2529 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2530 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2531 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2532 touch \$(top_srcdir)/ChangeLog; \
2533 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2534
2535
2536
2537 ac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2538
2539 cat >confcache <<\_ACEOF
2540 # This file is a shell script that caches the results of configure
2541 # tests run on this system so they can be shared between configure
2542 # scripts and configure runs, see configure's option --config-cache.
2543 # It is not useful on other systems. If it contains results you don't
2544 # want to keep, you may remove or edit it.
2545 #
2546 # config.status only pays attention to the cache file if you give it
2547 # the --recheck option to rerun configure.
2548 #
2549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2551 # following values.
2552
2553 _ACEOF
2554
2555 # The following way of writing the cache mishandles newlines in values,
2556 # but we know of no workaround that is simple, portable, and efficient.
2557 # So, we kill variables containing newlines.
2558 # Ultrix sh set writes to stderr and can't be redirected directly,
2559 # and sets the high bit in the cache file unless we assign to the vars.
2560 (
2561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2562 eval ac_val=\$$ac_var
2563 case $ac_val in #(
2564 *${as_nl}*)
2565 case $ac_var in #(
2566 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2567 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2568 esac
2569 case $ac_var in #(
2570 _ | IFS | as_nl) ;; #(
2571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2572 *) { eval $ac_var=; unset $ac_var;} ;;
2573 esac ;;
2574 esac
2575 done
2576
2577 (set) 2>&1 |
2578 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2579 *${as_nl}ac_space=\ *)
2580 # `set' does not quote correctly, so add quotes: double-quote
2581 # substitution turns \\\\ into \\, and sed turns \\ into \.
2582 sed -n \
2583 "s/'/'\\\\''/g;
2584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2585 ;; #(
2586 *)
2587 # `set' quotes correctly as required by POSIX, so do not add quotes.
2588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2589 ;;
2590 esac |
2591 sort
2592 ) |
2593 sed '
2594 /^ac_cv_env_/b end
2595 t clear
2596 :clear
2597 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2598 t end
2599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2600 :end' >>confcache
2601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2602 if test -w "$cache_file"; then
2603 if test "x$cache_file" != "x/dev/null"; then
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2605 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2606 if test ! -f "$cache_file" || test -h "$cache_file"; then
2607 cat confcache >"$cache_file"
2608 else
2609 case $cache_file in #(
2610 */* | ?:*)
2611 mv -f confcache "$cache_file"$$ &&
2612 mv -f "$cache_file"$$ "$cache_file" ;; #(
2613 *)
2614 mv -f confcache "$cache_file" ;;
2615 esac
2616 fi
2617 fi
2618 else
2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2620 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2621 fi
2622 fi
2623 rm -f confcache
2624
2625 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2626 # Let make expand exec_prefix.
2627 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2628
2629 # Transform confdefs.h into DEFS.
2630 # Protect against shell expansion while executing Makefile rules.
2631 # Protect against Makefile macro expansion.
2632 #
2633 # If the first sed substitution is executed (which looks for macros that
2634 # take arguments), then branch to the quote section. Otherwise,
2635 # look for a macro that doesn't take arguments.
2636 ac_script='
2637 :mline
2638 /\\$/{
2639 N
2640 s,\\\n,,
2641 b mline
2642 }
2643 t clear
2644 :clear
2645 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2646 t quote
2647 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2648 t quote
2649 b any
2650 :quote
2651 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2652 s/\[/\\&/g
2653 s/\]/\\&/g
2654 s/\$/$$/g
2655 H
2656 :any
2657 ${
2658 g
2659 s/^\n//
2660 s/\n/ /g
2661 p
2662 }
2663 '
2664 DEFS=`sed -n "$ac_script" confdefs.h`
2665
2666
2667 ac_libobjs=
2668 ac_ltlibobjs=
2669 U=
2670 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2671 # 1. Remove the extension, and $U if already installed.
2672 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2673 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2674 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2675 # will be set to the directory where LIBOBJS objects are built.
2676 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2677 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2678 done
2679 LIBOBJS=$ac_libobjs
2680
2681 LTLIBOBJS=$ac_ltlibobjs
2682
2683
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2685 printf %s "checking that generated files are newer than configure... " >&6; }
2686 if test -n "$am_sleep_pid"; then
2687 # Hide warnings about reused PIDs.
2688 wait $am_sleep_pid 2>/dev/null
2689 fi
2690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
2691 printf "%s\n" "done" >&6; }
2692
2693
2694 : "${CONFIG_STATUS=./config.status}"
2695 ac_write_fail=0
2696 ac_clean_files_save=$ac_clean_files
2697 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2699 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2700 as_write_fail=0
2701 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2702 #! $SHELL
2703 # Generated by $as_me.
2704 # Run this file to recreate the current configuration.
2705 # Compiler output produced by configure, useful for debugging
2706 # configure, is in config.log if it exists.
2707
2708 debug=false
2709 ac_cs_recheck=false
2710 ac_cs_silent=false
2711
2712 SHELL=\${CONFIG_SHELL-$SHELL}
2713 export SHELL
2714 _ASEOF
2715 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2716 ## -------------------- ##
2717 ## M4sh Initialization. ##
2718 ## -------------------- ##
2719
2720 # Be more Bourne compatible
2721 DUALCASE=1; export DUALCASE # for MKS sh
2722 as_nop=:
2723 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2724 then :
2725 emulate sh
2726 NULLCMD=:
2727 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2728 # is contrary to our usage. Disable this feature.
2729 alias -g '${1+"$@"}'='"$@"'
2730 setopt NO_GLOB_SUBST
2731 else $as_nop
2732 case `(set -o) 2>/dev/null` in #(
2733 *posix*) :
2734 set -o posix ;; #(
2735 *) :
2736 ;;
2737 esac
2738 fi
2739
2740
2741
2742 # Reset variables that may have inherited troublesome values from
2743 # the environment.
2744
2745 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2746 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2747 # side effect of setting IFS to empty, thus disabling word splitting.)
2748 # Quoting is to prevent editors from complaining about space-tab.
2749 as_nl='
2750 '
2751 export as_nl
2752 IFS=" "" $as_nl"
2753
2754 PS1='$ '
2755 PS2='> '
2756 PS4='+ '
2757
2758 # Ensure predictable behavior from utilities with locale-dependent output.
2759 LC_ALL=C
2760 export LC_ALL
2761 LANGUAGE=C
2762 export LANGUAGE
2763
2764 # We cannot yet rely on "unset" to work, but we need these variables
2765 # to be unset--not just set to an empty or harmless value--now, to
2766 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2767 # also avoids known problems related to "unset" and subshell syntax
2768 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2769 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2770 do eval test \${$as_var+y} \
2771 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2772 done
2773
2774 # Ensure that fds 0, 1, and 2 are open.
2775 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2776 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2777 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2778
2779 # The user is always right.
2780 if ${PATH_SEPARATOR+false} :; then
2781 PATH_SEPARATOR=:
2782 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2783 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2784 PATH_SEPARATOR=';'
2785 }
2786 fi
2787
2788
2789 # Find who we are. Look in the path if we contain no directory separator.
2790 as_myself=
2791 case $0 in #((
2792 *[\\/]* ) as_myself=$0 ;;
2793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 for as_dir in $PATH
2795 do
2796 IFS=$as_save_IFS
2797 case $as_dir in #(((
2798 '') as_dir=./ ;;
2799 */) ;;
2800 *) as_dir=$as_dir/ ;;
2801 esac
2802 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2803 done
2804 IFS=$as_save_IFS
2805
2806 ;;
2807 esac
2808 # We did not find ourselves, most probably we were run as `sh COMMAND'
2809 # in which case we are not to be found in the path.
2810 if test "x$as_myself" = x; then
2811 as_myself=$0
2812 fi
2813 if test ! -f "$as_myself"; then
2814 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2815 exit 1
2816 fi
2817
2818
2819
2820 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2821 # ----------------------------------------
2822 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2823 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2824 # script with STATUS, using 1 if that was 0.
2825 as_fn_error ()
2826 {
2827 as_status=$1; test $as_status -eq 0 && as_status=1
2828 if test "$4"; then
2829 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2831 fi
2832 printf "%s\n" "$as_me: error: $2" >&2
2833 as_fn_exit $as_status
2834 } # as_fn_error
2835
2836
2837
2838 # as_fn_set_status STATUS
2839 # -----------------------
2840 # Set $? to STATUS, without forking.
2841 as_fn_set_status ()
2842 {
2843 return $1
2844 } # as_fn_set_status
2845
2846 # as_fn_exit STATUS
2847 # -----------------
2848 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2849 as_fn_exit ()
2850 {
2851 set +e
2852 as_fn_set_status $1
2853 exit $1
2854 } # as_fn_exit
2855
2856 # as_fn_unset VAR
2857 # ---------------
2858 # Portably unset VAR.
2859 as_fn_unset ()
2860 {
2861 { eval $1=; unset $1;}
2862 }
2863 as_unset=as_fn_unset
2864
2865 # as_fn_append VAR VALUE
2866 # ----------------------
2867 # Append the text in VALUE to the end of the definition contained in VAR. Take
2868 # advantage of any shell optimizations that allow amortized linear growth over
2869 # repeated appends, instead of the typical quadratic growth present in naive
2870 # implementations.
2871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2872 then :
2873 eval 'as_fn_append ()
2874 {
2875 eval $1+=\$2
2876 }'
2877 else $as_nop
2878 as_fn_append ()
2879 {
2880 eval $1=\$$1\$2
2881 }
2882 fi # as_fn_append
2883
2884 # as_fn_arith ARG...
2885 # ------------------
2886 # Perform arithmetic evaluation on the ARGs, and store the result in the
2887 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2888 # must be portable across $(()) and expr.
2889 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2890 then :
2891 eval 'as_fn_arith ()
2892 {
2893 as_val=$(( $* ))
2894 }'
2895 else $as_nop
2896 as_fn_arith ()
2897 {
2898 as_val=`expr "$@" || test $? -eq 1`
2899 }
2900 fi # as_fn_arith
2901
2902
2903 if expr a : '\(a\)' >/dev/null 2>&1 &&
2904 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2905 as_expr=expr
2906 else
2907 as_expr=false
2908 fi
2909
2910 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2911 as_basename=basename
2912 else
2913 as_basename=false
2914 fi
2915
2916 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2917 as_dirname=dirname
2918 else
2919 as_dirname=false
2920 fi
2921
2922 as_me=`$as_basename -- "$0" ||
2923 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2924 X"$0" : 'X\(//\)$' \| \
2925 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2926 printf "%s\n" X/"$0" |
2927 sed '/^.*\/\([^/][^/]*\)\/*$/{
2928 s//\1/
2929 q
2930 }
2931 /^X\/\(\/\/\)$/{
2932 s//\1/
2933 q
2934 }
2935 /^X\/\(\/\).*/{
2936 s//\1/
2937 q
2938 }
2939 s/.*/./; q'`
2940
2941 # Avoid depending upon Character Ranges.
2942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2945 as_cr_digits='0123456789'
2946 as_cr_alnum=$as_cr_Letters$as_cr_digits
2947
2948
2949 # Determine whether it's possible to make 'echo' print without a newline.
2950 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2951 # for compatibility with existing Makefiles.
2952 ECHO_C= ECHO_N= ECHO_T=
2953 case `echo -n x` in #(((((
2954 -n*)
2955 case `echo 'xy\c'` in
2956 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2957 xy) ECHO_C='\c';;
2958 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2959 ECHO_T=' ';;
2960 esac;;
2961 *)
2962 ECHO_N='-n';;
2963 esac
2964
2965 # For backward compatibility with old third-party macros, we provide
2966 # the shell variables $as_echo and $as_echo_n. New code should use
2967 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2968 as_echo='printf %s\n'
2969 as_echo_n='printf %s'
2970
2971 rm -f conf$$ conf$$.exe conf$$.file
2972 if test -d conf$$.dir; then
2973 rm -f conf$$.dir/conf$$.file
2974 else
2975 rm -f conf$$.dir
2976 mkdir conf$$.dir 2>/dev/null
2977 fi
2978 if (echo >conf$$.file) 2>/dev/null; then
2979 if ln -s conf$$.file conf$$ 2>/dev/null; then
2980 as_ln_s='ln -s'
2981 # ... but there are two gotchas:
2982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2984 # In both cases, we have to default to `cp -pR'.
2985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2986 as_ln_s='cp -pR'
2987 elif ln conf$$.file conf$$ 2>/dev/null; then
2988 as_ln_s=ln
2989 else
2990 as_ln_s='cp -pR'
2991 fi
2992 else
2993 as_ln_s='cp -pR'
2994 fi
2995 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2996 rmdir conf$$.dir 2>/dev/null
2997
2998
2999 # as_fn_mkdir_p
3000 # -------------
3001 # Create "$as_dir" as a directory, including parents if necessary.
3002 as_fn_mkdir_p ()
3003 {
3004
3005 case $as_dir in #(
3006 -*) as_dir=./$as_dir;;
3007 esac
3008 test -d "$as_dir" || eval $as_mkdir_p || {
3009 as_dirs=
3010 while :; do
3011 case $as_dir in #(
3012 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3013 *) as_qdir=$as_dir;;
3014 esac
3015 as_dirs="'$as_qdir' $as_dirs"
3016 as_dir=`$as_dirname -- "$as_dir" ||
3017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3018 X"$as_dir" : 'X\(//\)[^/]' \| \
3019 X"$as_dir" : 'X\(//\)$' \| \
3020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3021 printf "%s\n" X"$as_dir" |
3022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3023 s//\1/
3024 q
3025 }
3026 /^X\(\/\/\)[^/].*/{
3027 s//\1/
3028 q
3029 }
3030 /^X\(\/\/\)$/{
3031 s//\1/
3032 q
3033 }
3034 /^X\(\/\).*/{
3035 s//\1/
3036 q
3037 }
3038 s/.*/./; q'`
3039 test -d "$as_dir" && break
3040 done
3041 test -z "$as_dirs" || eval "mkdir $as_dirs"
3042 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3043
3044
3045 } # as_fn_mkdir_p
3046 if mkdir -p . 2>/dev/null; then
3047 as_mkdir_p='mkdir -p "$as_dir"'
3048 else
3049 test -d ./-p && rmdir ./-p
3050 as_mkdir_p=false
3051 fi
3052
3053
3054 # as_fn_executable_p FILE
3055 # -----------------------
3056 # Test if FILE is an executable regular file.
3057 as_fn_executable_p ()
3058 {
3059 test -f "$1" && test -x "$1"
3060 } # as_fn_executable_p
3061 as_test_x='test -x'
3062 as_executable_p=as_fn_executable_p
3063
3064 # Sed expression to map a string onto a valid CPP name.
3065 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3066
3067 # Sed expression to map a string onto a valid variable name.
3068 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3069
3070
3071 exec 6>&1
3072 ## ----------------------------------- ##
3073 ## Main body of $CONFIG_STATUS script. ##
3074 ## ----------------------------------- ##
3075 _ASEOF
3076 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3077
3078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3079 # Save the log message, to keep $0 and so on meaningful, and to
3080 # report actual input values of CONFIG_FILES etc. instead of their
3081 # values after options handling.
3082 ac_log="
3083 This file was extended by util-macros $as_me 1.20.0, which was
3084 generated by GNU Autoconf 2.71. Invocation command line was
3085
3086 CONFIG_FILES = $CONFIG_FILES
3087 CONFIG_HEADERS = $CONFIG_HEADERS
3088 CONFIG_LINKS = $CONFIG_LINKS
3089 CONFIG_COMMANDS = $CONFIG_COMMANDS
3090 $ $0 $@
3091
3092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3093 "
3094
3095 _ACEOF
3096
3097 case $ac_config_files in *"
3098 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3099 esac
3100
3101
3102
3103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3104 # Files that config.status was made for.
3105 config_files="$ac_config_files"
3106
3107 _ACEOF
3108
3109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3110 ac_cs_usage="\
3111 \`$as_me' instantiates files and other configuration actions
3112 from templates according to the current configuration. Unless the files
3113 and actions are specified as TAGs, all are instantiated by default.
3114
3115 Usage: $0 [OPTION]... [TAG]...
3116
3117 -h, --help print this help, then exit
3118 -V, --version print version number and configuration settings, then exit
3119 --config print configuration, then exit
3120 -q, --quiet, --silent
3121 do not print progress messages
3122 -d, --debug don't remove temporary files
3123 --recheck update $as_me by reconfiguring in the same conditions
3124 --file=FILE[:TEMPLATE]
3125 instantiate the configuration file FILE
3126
3127 Configuration files:
3128 $config_files
3129
3130 Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>."
3131
3132 _ACEOF
3133 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3134 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3136 ac_cs_config='$ac_cs_config_escaped'
3137 ac_cs_version="\\
3138 util-macros config.status 1.20.0
3139 configured by $0, generated by GNU Autoconf 2.71,
3140 with options \\"\$ac_cs_config\\"
3141
3142 Copyright (C) 2021 Free Software Foundation, Inc.
3143 This config.status script is free software; the Free Software Foundation
3144 gives unlimited permission to copy, distribute and modify it."
3145
3146 ac_pwd='$ac_pwd'
3147 srcdir='$srcdir'
3148 INSTALL='$INSTALL'
3149 MKDIR_P='$MKDIR_P'
3150 AWK='$AWK'
3151 test -n "\$AWK" || AWK=awk
3152 _ACEOF
3153
3154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3155 # The default lists apply if the user does not specify any file.
3156 ac_need_defaults=:
3157 while test $# != 0
3158 do
3159 case $1 in
3160 --*=?*)
3161 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3162 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3163 ac_shift=:
3164 ;;
3165 --*=)
3166 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3167 ac_optarg=
3168 ac_shift=:
3169 ;;
3170 *)
3171 ac_option=$1
3172 ac_optarg=$2
3173 ac_shift=shift
3174 ;;
3175 esac
3176
3177 case $ac_option in
3178 # Handling of the options.
3179 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3180 ac_cs_recheck=: ;;
3181 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3182 printf "%s\n" "$ac_cs_version"; exit ;;
3183 --config | --confi | --conf | --con | --co | --c )
3184 printf "%s\n" "$ac_cs_config"; exit ;;
3185 --debug | --debu | --deb | --de | --d | -d )
3186 debug=: ;;
3187 --file | --fil | --fi | --f )
3188 $ac_shift
3189 case $ac_optarg in
3190 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 '') as_fn_error $? "missing file argument" ;;
3192 esac
3193 as_fn_append CONFIG_FILES " '$ac_optarg'"
3194 ac_need_defaults=false;;
3195 --he | --h | --help | --hel | -h )
3196 printf "%s\n" "$ac_cs_usage"; exit ;;
3197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3198 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3199 ac_cs_silent=: ;;
3200
3201 # This is an error.
3202 -*) as_fn_error $? "unrecognized option: \`$1'
3203 Try \`$0 --help' for more information." ;;
3204
3205 *) as_fn_append ac_config_targets " $1"
3206 ac_need_defaults=false ;;
3207
3208 esac
3209 shift
3210 done
3211
3212 ac_configure_extra_args=
3213
3214 if $ac_cs_silent; then
3215 exec 6>/dev/null
3216 ac_configure_extra_args="$ac_configure_extra_args --silent"
3217 fi
3218
3219 _ACEOF
3220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3221 if \$ac_cs_recheck; then
3222 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3223 shift
3224 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3225 CONFIG_SHELL='$SHELL'
3226 export CONFIG_SHELL
3227 exec "\$@"
3228 fi
3229
3230 _ACEOF
3231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3232 exec 5>>config.log
3233 {
3234 echo
3235 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3236 ## Running $as_me. ##
3237 _ASBOX
3238 printf "%s\n" "$ac_log"
3239 } >&5
3240
3241 _ACEOF
3242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3243 _ACEOF
3244
3245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3246
3247 # Handling of arguments.
3248 for ac_config_target in $ac_config_targets
3249 do
3250 case $ac_config_target in
3251 "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
3252 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3253 "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
3254
3255 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3256 esac
3257 done
3258
3259
3260 # If the user did not use the arguments to specify the items to instantiate,
3261 # then the envvar interface is used. Set only those that are not.
3262 # We use the long form for the default assignment because of an extremely
3263 # bizarre bug on SunOS 4.1.3.
3264 if $ac_need_defaults; then
3265 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3266 fi
3267
3268 # Have a temporary directory for convenience. Make it in the build tree
3269 # simply because there is no reason against having it here, and in addition,
3270 # creating and moving files from /tmp can sometimes cause problems.
3271 # Hook for its removal unless debugging.
3272 # Note that there is a small window in which the directory will not be cleaned:
3273 # after its creation but before its name has been assigned to `$tmp'.
3274 $debug ||
3275 {
3276 tmp= ac_tmp=
3277 trap 'exit_status=$?
3278 : "${ac_tmp:=$tmp}"
3279 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3280 ' 0
3281 trap 'as_fn_exit 1' 1 2 13 15
3282 }
3283 # Create a (secure) tmp directory for tmp files.
3284
3285 {
3286 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3287 test -d "$tmp"
3288 } ||
3289 {
3290 tmp=./conf$$-$RANDOM
3291 (umask 077 && mkdir "$tmp")
3292 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3293 ac_tmp=$tmp
3294
3295 # Set up the scripts for CONFIG_FILES section.
3296 # No need to generate them if there are no CONFIG_FILES.
3297 # This happens for instance with `./config.status config.h'.
3298 if test -n "$CONFIG_FILES"; then
3299
3300
3301 ac_cr=`echo X | tr X '\015'`
3302 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3303 # But we know of no other shell where ac_cr would be empty at this
3304 # point, so we can use a bashism as a fallback.
3305 if test "x$ac_cr" = x; then
3306 eval ac_cr=\$\'\\r\'
3307 fi
3308 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3309 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3310 ac_cs_awk_cr='\\r'
3311 else
3312 ac_cs_awk_cr=$ac_cr
3313 fi
3314
3315 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3316 _ACEOF
3317
3318
3319 {
3320 echo "cat >conf$$subs.awk <<_ACEOF" &&
3321 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3322 echo "_ACEOF"
3323 } >conf$$subs.sh ||
3324 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3325 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3326 ac_delim='%!_!# '
3327 for ac_last_try in false false false false false :; do
3328 . ./conf$$subs.sh ||
3329 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3330
3331 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3332 if test $ac_delim_n = $ac_delim_num; then
3333 break
3334 elif $ac_last_try; then
3335 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3336 else
3337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3338 fi
3339 done
3340 rm -f conf$$subs.sh
3341
3342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3343 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3344 _ACEOF
3345 sed -n '
3346 h
3347 s/^/S["/; s/!.*/"]=/
3348 p
3349 g
3350 s/^[^!]*!//
3351 :repl
3352 t repl
3353 s/'"$ac_delim"'$//
3354 t delim
3355 :nl
3356 h
3357 s/\(.\{148\}\)..*/\1/
3358 t more1
3359 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3360 p
3361 n
3362 b repl
3363 :more1
3364 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3365 p
3366 g
3367 s/.\{148\}//
3368 t nl
3369 :delim
3370 h
3371 s/\(.\{148\}\)..*/\1/
3372 t more2
3373 s/["\\]/\\&/g; s/^/"/; s/$/"/
3374 p
3375 b
3376 :more2
3377 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3378 p
3379 g
3380 s/.\{148\}//
3381 t delim
3382 ' <conf$$subs.awk | sed '
3383 /^[^""]/{
3384 N
3385 s/\n//
3386 }
3387 ' >>$CONFIG_STATUS || ac_write_fail=1
3388 rm -f conf$$subs.awk
3389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3390 _ACAWK
3391 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3392 for (key in S) S_is_set[key] = 1
3393 FS = ""
3394
3395 }
3396 {
3397 line = $ 0
3398 nfields = split(line, field, "@")
3399 substed = 0
3400 len = length(field[1])
3401 for (i = 2; i < nfields; i++) {
3402 key = field[i]
3403 keylen = length(key)
3404 if (S_is_set[key]) {
3405 value = S[key]
3406 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3407 len += length(value) + length(field[++i])
3408 substed = 1
3409 } else
3410 len += 1 + keylen
3411 }
3412
3413 print line
3414 }
3415
3416 _ACAWK
3417 _ACEOF
3418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3419 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3420 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3421 else
3422 cat
3423 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3424 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3425 _ACEOF
3426
3427 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3428 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3429 # trailing colons and then remove the whole line if VPATH becomes empty
3430 # (actually we leave an empty line to preserve line numbers).
3431 if test "x$srcdir" = x.; then
3432 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3433 h
3434 s///
3435 s/^/:/
3436 s/[ ]*$/:/
3437 s/:\$(srcdir):/:/g
3438 s/:\${srcdir}:/:/g
3439 s/:@srcdir@:/:/g
3440 s/^:*//
3441 s/:*$//
3442 x
3443 s/\(=[ ]*\).*/\1/
3444 G
3445 s/\n//
3446 s/^[^=]*=[ ]*$//
3447 }'
3448 fi
3449
3450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3451 fi # test -n "$CONFIG_FILES"
3452
3453
3454 eval set X " :F $CONFIG_FILES "
3455 shift
3456 for ac_tag
3457 do
3458 case $ac_tag in
3459 :[FHLC]) ac_mode=$ac_tag; continue;;
3460 esac
3461 case $ac_mode$ac_tag in
3462 :[FHL]*:*);;
3463 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3464 :[FH]-) ac_tag=-:-;;
3465 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3466 esac
3467 ac_save_IFS=$IFS
3468 IFS=:
3469 set x $ac_tag
3470 IFS=$ac_save_IFS
3471 shift
3472 ac_file=$1
3473 shift
3474
3475 case $ac_mode in
3476 :L) ac_source=$1;;
3477 :[FH])
3478 ac_file_inputs=
3479 for ac_f
3480 do
3481 case $ac_f in
3482 -) ac_f="$ac_tmp/stdin";;
3483 *) # Look for the file first in the build tree, then in the source tree
3484 # (if the path is not absolute). The absolute path cannot be DOS-style,
3485 # because $ac_f cannot contain `:'.
3486 test -f "$ac_f" ||
3487 case $ac_f in
3488 [\\/$]*) false;;
3489 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3490 esac ||
3491 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3492 esac
3493 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3494 as_fn_append ac_file_inputs " '$ac_f'"
3495 done
3496
3497 # Let's still pretend it is `configure' which instantiates (i.e., don't
3498 # use $as_me), people would be surprised to read:
3499 # /* config.h. Generated by config.status. */
3500 configure_input='Generated from '`
3501 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3502 `' by configure.'
3503 if test x"$ac_file" != x-; then
3504 configure_input="$ac_file. $configure_input"
3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3506 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3507 fi
3508 # Neutralize special characters interpreted by sed in replacement strings.
3509 case $configure_input in #(
3510 *\&* | *\|* | *\\* )
3511 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3512 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3513 *) ac_sed_conf_input=$configure_input;;
3514 esac
3515
3516 case $ac_tag in
3517 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3519 esac
3520 ;;
3521 esac
3522
3523 ac_dir=`$as_dirname -- "$ac_file" ||
3524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3525 X"$ac_file" : 'X\(//\)[^/]' \| \
3526 X"$ac_file" : 'X\(//\)$' \| \
3527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3528 printf "%s\n" X"$ac_file" |
3529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3530 s//\1/
3531 q
3532 }
3533 /^X\(\/\/\)[^/].*/{
3534 s//\1/
3535 q
3536 }
3537 /^X\(\/\/\)$/{
3538 s//\1/
3539 q
3540 }
3541 /^X\(\/\).*/{
3542 s//\1/
3543 q
3544 }
3545 s/.*/./; q'`
3546 as_dir="$ac_dir"; as_fn_mkdir_p
3547 ac_builddir=.
3548
3549 case "$ac_dir" in
3550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3551 *)
3552 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3553 # A ".." for each directory in $ac_dir_suffix.
3554 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3555 case $ac_top_builddir_sub in
3556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3558 esac ;;
3559 esac
3560 ac_abs_top_builddir=$ac_pwd
3561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3562 # for backward compatibility:
3563 ac_top_builddir=$ac_top_build_prefix
3564
3565 case $srcdir in
3566 .) # We are building in place.
3567 ac_srcdir=.
3568 ac_top_srcdir=$ac_top_builddir_sub
3569 ac_abs_top_srcdir=$ac_pwd ;;
3570 [\\/]* | ?:[\\/]* ) # Absolute name.
3571 ac_srcdir=$srcdir$ac_dir_suffix;
3572 ac_top_srcdir=$srcdir
3573 ac_abs_top_srcdir=$srcdir ;;
3574 *) # Relative name.
3575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3576 ac_top_srcdir=$ac_top_build_prefix$srcdir
3577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3578 esac
3579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3580
3581
3582 case $ac_mode in
3583 :F)
3584 #
3585 # CONFIG_FILE
3586 #
3587
3588 case $INSTALL in
3589 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3590 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3591 esac
3592 ac_MKDIR_P=$MKDIR_P
3593 case $MKDIR_P in
3594 [\\/$]* | ?:[\\/]* ) ;;
3595 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3596 esac
3597 _ACEOF
3598
3599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3600 # If the template does not know about datarootdir, expand it.
3601 # FIXME: This hack should be removed a few years after 2.60.
3602 ac_datarootdir_hack=; ac_datarootdir_seen=
3603 ac_sed_dataroot='
3604 /datarootdir/ {
3605 p
3606 q
3607 }
3608 /@datadir@/p
3609 /@docdir@/p
3610 /@infodir@/p
3611 /@localedir@/p
3612 /@mandir@/p'
3613 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3614 *datarootdir*) ac_datarootdir_seen=yes;;
3615 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3617 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3618 _ACEOF
3619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3620 ac_datarootdir_hack='
3621 s&@datadir@&$datadir&g
3622 s&@docdir@&$docdir&g
3623 s&@infodir@&$infodir&g
3624 s&@localedir@&$localedir&g
3625 s&@mandir@&$mandir&g
3626 s&\\\${datarootdir}&$datarootdir&g' ;;
3627 esac
3628 _ACEOF
3629
3630 # Neutralize VPATH when `$srcdir' = `.'.
3631 # Shell code in configure.ac might set extrasub.
3632 # FIXME: do we really want to maintain this feature?
3633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3634 ac_sed_extra="$ac_vpsub
3635 $extrasub
3636 _ACEOF
3637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3638 :t
3639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3640 s|@configure_input@|$ac_sed_conf_input|;t t
3641 s&@top_builddir@&$ac_top_builddir_sub&;t t
3642 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3643 s&@srcdir@&$ac_srcdir&;t t
3644 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3645 s&@top_srcdir@&$ac_top_srcdir&;t t
3646 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3647 s&@builddir@&$ac_builddir&;t t
3648 s&@abs_builddir@&$ac_abs_builddir&;t t
3649 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3650 s&@INSTALL@&$ac_INSTALL&;t t
3651 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3652 $ac_datarootdir_hack
3653 "
3654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3655 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3656
3657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3658 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3660 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3662 which seems to be undefined. Please make sure it is defined" >&5
3663 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3664 which seems to be undefined. Please make sure it is defined" >&2;}
3665
3666 rm -f "$ac_tmp/stdin"
3667 case $ac_file in
3668 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3669 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3670 esac \
3671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3672 ;;
3673
3674
3675
3676 esac
3677
3678 done # for ac_tag
3679
3680
3681 as_fn_exit 0
3682 _ACEOF
3683 ac_clean_files=$ac_clean_files_save
3684
3685 test $ac_write_fail = 0 ||
3686 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3687
3688
3689 # configure is writing to config.log, and then calls config.status.
3690 # config.status does its own redirection, appending to config.log.
3691 # Unfortunately, on DOS this fails, as config.log is still kept open
3692 # by configure, so config.status won't be able to write to it; its
3693 # output is simply discarded. So we exec the FD to /dev/null,
3694 # effectively closing config.log, so it can be properly (re)opened and
3695 # appended to by config.status. When coming back to configure, we
3696 # need to make the FD available again.
3697 if test "$no_create" != yes; then
3698 ac_cs_success=:
3699 ac_config_status_args=
3700 test "$silent" = yes &&
3701 ac_config_status_args="$ac_config_status_args --quiet"
3702 exec 5>/dev/null
3703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3704 exec 5>>config.log
3705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3706 # would make configure fail if this is the last instruction.
3707 $ac_cs_success || as_fn_exit 1
3708 fi
3709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3711 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3712 fi
3713
3714
3715