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