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