configure revision 1.1.1.6 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.1.
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.1'
584 PACKAGE_STRING='util-macros 1.19.1'
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.1 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.1:";;
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.1
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.1, 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.1'
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 && \
2370 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2371 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
2372 echo 'git directory not found: installing possibly empty changelog.' >&2)"
2373
2374
2375
2376 ac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2377
2378 cat >confcache <<\_ACEOF
2379 # This file is a shell script that caches the results of configure
2380 # tests run on this system so they can be shared between configure
2381 # scripts and configure runs, see configure's option --config-cache.
2382 # It is not useful on other systems. If it contains results you don't
2383 # want to keep, you may remove or edit it.
2384 #
2385 # config.status only pays attention to the cache file if you give it
2386 # the --recheck option to rerun configure.
2387 #
2388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2390 # following values.
2391
2392 _ACEOF
2393
2394 # The following way of writing the cache mishandles newlines in values,
2395 # but we know of no workaround that is simple, portable, and efficient.
2396 # So, we kill variables containing newlines.
2397 # Ultrix sh set writes to stderr and can't be redirected directly,
2398 # and sets the high bit in the cache file unless we assign to the vars.
2399 (
2400 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2401 eval ac_val=\$$ac_var
2402 case $ac_val in #(
2403 *${as_nl}*)
2404 case $ac_var in #(
2405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2407 esac
2408 case $ac_var in #(
2409 _ | IFS | as_nl) ;; #(
2410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2411 *) { eval $ac_var=; unset $ac_var;} ;;
2412 esac ;;
2413 esac
2414 done
2415
2416 (set) 2>&1 |
2417 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2418 *${as_nl}ac_space=\ *)
2419 # `set' does not quote correctly, so add quotes: double-quote
2420 # substitution turns \\\\ into \\, and sed turns \\ into \.
2421 sed -n \
2422 "s/'/'\\\\''/g;
2423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2424 ;; #(
2425 *)
2426 # `set' quotes correctly as required by POSIX, so do not add quotes.
2427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2428 ;;
2429 esac |
2430 sort
2431 ) |
2432 sed '
2433 /^ac_cv_env_/b end
2434 t clear
2435 :clear
2436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2437 t end
2438 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2439 :end' >>confcache
2440 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2441 if test -w "$cache_file"; then
2442 if test "x$cache_file" != "x/dev/null"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2444 $as_echo "$as_me: updating cache $cache_file" >&6;}
2445 if test ! -f "$cache_file" || test -h "$cache_file"; then
2446 cat confcache >"$cache_file"
2447 else
2448 case $cache_file in #(
2449 */* | ?:*)
2450 mv -f confcache "$cache_file"$$ &&
2451 mv -f "$cache_file"$$ "$cache_file" ;; #(
2452 *)
2453 mv -f confcache "$cache_file" ;;
2454 esac
2455 fi
2456 fi
2457 else
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2459 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2460 fi
2461 fi
2462 rm -f confcache
2463
2464 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2465 # Let make expand exec_prefix.
2466 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2467
2468 # Transform confdefs.h into DEFS.
2469 # Protect against shell expansion while executing Makefile rules.
2470 # Protect against Makefile macro expansion.
2471 #
2472 # If the first sed substitution is executed (which looks for macros that
2473 # take arguments), then branch to the quote section. Otherwise,
2474 # look for a macro that doesn't take arguments.
2475 ac_script='
2476 :mline
2477 /\\$/{
2478 N
2479 s,\\\n,,
2480 b mline
2481 }
2482 t clear
2483 :clear
2484 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2485 t quote
2486 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2487 t quote
2488 b any
2489 :quote
2490 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2491 s/\[/\\&/g
2492 s/\]/\\&/g
2493 s/\$/$$/g
2494 H
2495 :any
2496 ${
2497 g
2498 s/^\n//
2499 s/\n/ /g
2500 p
2501 }
2502 '
2503 DEFS=`sed -n "$ac_script" confdefs.h`
2504
2505
2506 ac_libobjs=
2507 ac_ltlibobjs=
2508 U=
2509 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2510 # 1. Remove the extension, and $U if already installed.
2511 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2512 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2514 # will be set to the directory where LIBOBJS objects are built.
2515 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2516 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2517 done
2518 LIBOBJS=$ac_libobjs
2519
2520 LTLIBOBJS=$ac_ltlibobjs
2521
2522
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2524 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2525 if test -n "$am_sleep_pid"; then
2526 # Hide warnings about reused PIDs.
2527 wait $am_sleep_pid 2>/dev/null
2528 fi
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2530 $as_echo "done" >&6; }
2531
2532
2533 : "${CONFIG_STATUS=./config.status}"
2534 ac_write_fail=0
2535 ac_clean_files_save=$ac_clean_files
2536 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2538 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2539 as_write_fail=0
2540 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2541 #! $SHELL
2542 # Generated by $as_me.
2543 # Run this file to recreate the current configuration.
2544 # Compiler output produced by configure, useful for debugging
2545 # configure, is in config.log if it exists.
2546
2547 debug=false
2548 ac_cs_recheck=false
2549 ac_cs_silent=false
2550
2551 SHELL=\${CONFIG_SHELL-$SHELL}
2552 export SHELL
2553 _ASEOF
2554 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2555 ## -------------------- ##
2556 ## M4sh Initialization. ##
2557 ## -------------------- ##
2558
2559 # Be more Bourne compatible
2560 DUALCASE=1; export DUALCASE # for MKS sh
2561 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2562 emulate sh
2563 NULLCMD=:
2564 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2565 # is contrary to our usage. Disable this feature.
2566 alias -g '${1+"$@"}'='"$@"'
2567 setopt NO_GLOB_SUBST
2568 else
2569 case `(set -o) 2>/dev/null` in #(
2570 *posix*) :
2571 set -o posix ;; #(
2572 *) :
2573 ;;
2574 esac
2575 fi
2576
2577
2578 as_nl='
2579 '
2580 export as_nl
2581 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2582 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2583 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2585 # Prefer a ksh shell builtin over an external printf program on Solaris,
2586 # but without wasting forks for bash or zsh.
2587 if test -z "$BASH_VERSION$ZSH_VERSION" \
2588 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2589 as_echo='print -r --'
2590 as_echo_n='print -rn --'
2591 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2592 as_echo='printf %s\n'
2593 as_echo_n='printf %s'
2594 else
2595 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2596 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2597 as_echo_n='/usr/ucb/echo -n'
2598 else
2599 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2600 as_echo_n_body='eval
2601 arg=$1;
2602 case $arg in #(
2603 *"$as_nl"*)
2604 expr "X$arg" : "X\\(.*\\)$as_nl";
2605 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2606 esac;
2607 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2608 '
2609 export as_echo_n_body
2610 as_echo_n='sh -c $as_echo_n_body as_echo'
2611 fi
2612 export as_echo_body
2613 as_echo='sh -c $as_echo_body as_echo'
2614 fi
2615
2616 # The user is always right.
2617 if test "${PATH_SEPARATOR+set}" != set; then
2618 PATH_SEPARATOR=:
2619 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2620 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2621 PATH_SEPARATOR=';'
2622 }
2623 fi
2624
2625
2626 # IFS
2627 # We need space, tab and new line, in precisely that order. Quoting is
2628 # there to prevent editors from complaining about space-tab.
2629 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2630 # splitting by setting IFS to empty value.)
2631 IFS=" "" $as_nl"
2632
2633 # Find who we are. Look in the path if we contain no directory separator.
2634 as_myself=
2635 case $0 in #((
2636 *[\\/]* ) as_myself=$0 ;;
2637 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2639 do
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2643 done
2644 IFS=$as_save_IFS
2645
2646 ;;
2647 esac
2648 # We did not find ourselves, most probably we were run as `sh COMMAND'
2649 # in which case we are not to be found in the path.
2650 if test "x$as_myself" = x; then
2651 as_myself=$0
2652 fi
2653 if test ! -f "$as_myself"; then
2654 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2655 exit 1
2656 fi
2657
2658 # Unset variables that we do not need and which cause bugs (e.g. in
2659 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2660 # suppresses any "Segmentation fault" message there. '((' could
2661 # trigger a bug in pdksh 5.2.14.
2662 for as_var in BASH_ENV ENV MAIL MAILPATH
2663 do eval test x\${$as_var+set} = xset \
2664 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2665 done
2666 PS1='$ '
2667 PS2='> '
2668 PS4='+ '
2669
2670 # NLS nuisances.
2671 LC_ALL=C
2672 export LC_ALL
2673 LANGUAGE=C
2674 export LANGUAGE
2675
2676 # CDPATH.
2677 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2678
2679
2680 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2681 # ----------------------------------------
2682 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2683 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2684 # script with STATUS, using 1 if that was 0.
2685 as_fn_error ()
2686 {
2687 as_status=$1; test $as_status -eq 0 && as_status=1
2688 if test "$4"; then
2689 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2691 fi
2692 $as_echo "$as_me: error: $2" >&2
2693 as_fn_exit $as_status
2694 } # as_fn_error
2695
2696
2697 # as_fn_set_status STATUS
2698 # -----------------------
2699 # Set $? to STATUS, without forking.
2700 as_fn_set_status ()
2701 {
2702 return $1
2703 } # as_fn_set_status
2704
2705 # as_fn_exit STATUS
2706 # -----------------
2707 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2708 as_fn_exit ()
2709 {
2710 set +e
2711 as_fn_set_status $1
2712 exit $1
2713 } # as_fn_exit
2714
2715 # as_fn_unset VAR
2716 # ---------------
2717 # Portably unset VAR.
2718 as_fn_unset ()
2719 {
2720 { eval $1=; unset $1;}
2721 }
2722 as_unset=as_fn_unset
2723 # as_fn_append VAR VALUE
2724 # ----------------------
2725 # Append the text in VALUE to the end of the definition contained in VAR. Take
2726 # advantage of any shell optimizations that allow amortized linear growth over
2727 # repeated appends, instead of the typical quadratic growth present in naive
2728 # implementations.
2729 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2730 eval 'as_fn_append ()
2731 {
2732 eval $1+=\$2
2733 }'
2734 else
2735 as_fn_append ()
2736 {
2737 eval $1=\$$1\$2
2738 }
2739 fi # as_fn_append
2740
2741 # as_fn_arith ARG...
2742 # ------------------
2743 # Perform arithmetic evaluation on the ARGs, and store the result in the
2744 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2745 # must be portable across $(()) and expr.
2746 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2747 eval 'as_fn_arith ()
2748 {
2749 as_val=$(( $* ))
2750 }'
2751 else
2752 as_fn_arith ()
2753 {
2754 as_val=`expr "$@" || test $? -eq 1`
2755 }
2756 fi # as_fn_arith
2757
2758
2759 if expr a : '\(a\)' >/dev/null 2>&1 &&
2760 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2761 as_expr=expr
2762 else
2763 as_expr=false
2764 fi
2765
2766 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2767 as_basename=basename
2768 else
2769 as_basename=false
2770 fi
2771
2772 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2773 as_dirname=dirname
2774 else
2775 as_dirname=false
2776 fi
2777
2778 as_me=`$as_basename -- "$0" ||
2779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2780 X"$0" : 'X\(//\)$' \| \
2781 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2782 $as_echo X/"$0" |
2783 sed '/^.*\/\([^/][^/]*\)\/*$/{
2784 s//\1/
2785 q
2786 }
2787 /^X\/\(\/\/\)$/{
2788 s//\1/
2789 q
2790 }
2791 /^X\/\(\/\).*/{
2792 s//\1/
2793 q
2794 }
2795 s/.*/./; q'`
2796
2797 # Avoid depending upon Character Ranges.
2798 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2799 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2800 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2801 as_cr_digits='0123456789'
2802 as_cr_alnum=$as_cr_Letters$as_cr_digits
2803
2804 ECHO_C= ECHO_N= ECHO_T=
2805 case `echo -n x` in #(((((
2806 -n*)
2807 case `echo 'xy\c'` in
2808 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2809 xy) ECHO_C='\c';;
2810 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2811 ECHO_T=' ';;
2812 esac;;
2813 *)
2814 ECHO_N='-n';;
2815 esac
2816
2817 rm -f conf$$ conf$$.exe conf$$.file
2818 if test -d conf$$.dir; then
2819 rm -f conf$$.dir/conf$$.file
2820 else
2821 rm -f conf$$.dir
2822 mkdir conf$$.dir 2>/dev/null
2823 fi
2824 if (echo >conf$$.file) 2>/dev/null; then
2825 if ln -s conf$$.file conf$$ 2>/dev/null; then
2826 as_ln_s='ln -s'
2827 # ... but there are two gotchas:
2828 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2829 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2830 # In both cases, we have to default to `cp -pR'.
2831 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2832 as_ln_s='cp -pR'
2833 elif ln conf$$.file conf$$ 2>/dev/null; then
2834 as_ln_s=ln
2835 else
2836 as_ln_s='cp -pR'
2837 fi
2838 else
2839 as_ln_s='cp -pR'
2840 fi
2841 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2842 rmdir conf$$.dir 2>/dev/null
2843
2844
2845 # as_fn_mkdir_p
2846 # -------------
2847 # Create "$as_dir" as a directory, including parents if necessary.
2848 as_fn_mkdir_p ()
2849 {
2850
2851 case $as_dir in #(
2852 -*) as_dir=./$as_dir;;
2853 esac
2854 test -d "$as_dir" || eval $as_mkdir_p || {
2855 as_dirs=
2856 while :; do
2857 case $as_dir in #(
2858 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2859 *) as_qdir=$as_dir;;
2860 esac
2861 as_dirs="'$as_qdir' $as_dirs"
2862 as_dir=`$as_dirname -- "$as_dir" ||
2863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2864 X"$as_dir" : 'X\(//\)[^/]' \| \
2865 X"$as_dir" : 'X\(//\)$' \| \
2866 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2867 $as_echo X"$as_dir" |
2868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2869 s//\1/
2870 q
2871 }
2872 /^X\(\/\/\)[^/].*/{
2873 s//\1/
2874 q
2875 }
2876 /^X\(\/\/\)$/{
2877 s//\1/
2878 q
2879 }
2880 /^X\(\/\).*/{
2881 s//\1/
2882 q
2883 }
2884 s/.*/./; q'`
2885 test -d "$as_dir" && break
2886 done
2887 test -z "$as_dirs" || eval "mkdir $as_dirs"
2888 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2889
2890
2891 } # as_fn_mkdir_p
2892 if mkdir -p . 2>/dev/null; then
2893 as_mkdir_p='mkdir -p "$as_dir"'
2894 else
2895 test -d ./-p && rmdir ./-p
2896 as_mkdir_p=false
2897 fi
2898
2899
2900 # as_fn_executable_p FILE
2901 # -----------------------
2902 # Test if FILE is an executable regular file.
2903 as_fn_executable_p ()
2904 {
2905 test -f "$1" && test -x "$1"
2906 } # as_fn_executable_p
2907 as_test_x='test -x'
2908 as_executable_p=as_fn_executable_p
2909
2910 # Sed expression to map a string onto a valid CPP name.
2911 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2912
2913 # Sed expression to map a string onto a valid variable name.
2914 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2915
2916
2917 exec 6>&1
2918 ## ----------------------------------- ##
2919 ## Main body of $CONFIG_STATUS script. ##
2920 ## ----------------------------------- ##
2921 _ASEOF
2922 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2923
2924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2925 # Save the log message, to keep $0 and so on meaningful, and to
2926 # report actual input values of CONFIG_FILES etc. instead of their
2927 # values after options handling.
2928 ac_log="
2929 This file was extended by util-macros $as_me 1.19.1, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2931
2932 CONFIG_FILES = $CONFIG_FILES
2933 CONFIG_HEADERS = $CONFIG_HEADERS
2934 CONFIG_LINKS = $CONFIG_LINKS
2935 CONFIG_COMMANDS = $CONFIG_COMMANDS
2936 $ $0 $@
2937
2938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2939 "
2940
2941 _ACEOF
2942
2943 case $ac_config_files in *"
2944 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2945 esac
2946
2947
2948
2949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2950 # Files that config.status was made for.
2951 config_files="$ac_config_files"
2952
2953 _ACEOF
2954
2955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2956 ac_cs_usage="\
2957 \`$as_me' instantiates files and other configuration actions
2958 from templates according to the current configuration. Unless the files
2959 and actions are specified as TAGs, all are instantiated by default.
2960
2961 Usage: $0 [OPTION]... [TAG]...
2962
2963 -h, --help print this help, then exit
2964 -V, --version print version number and configuration settings, then exit
2965 --config print configuration, then exit
2966 -q, --quiet, --silent
2967 do not print progress messages
2968 -d, --debug don't remove temporary files
2969 --recheck update $as_me by reconfiguring in the same conditions
2970 --file=FILE[:TEMPLATE]
2971 instantiate the configuration file FILE
2972
2973 Configuration files:
2974 $config_files
2975
2976 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
2977
2978 _ACEOF
2979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2980 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2981 ac_cs_version="\\
2982 util-macros config.status 1.19.1
2983 configured by $0, generated by GNU Autoconf 2.69,
2984 with options \\"\$ac_cs_config\\"
2985
2986 Copyright (C) 2012 Free Software Foundation, Inc.
2987 This config.status script is free software; the Free Software Foundation
2988 gives unlimited permission to copy, distribute and modify it."
2989
2990 ac_pwd='$ac_pwd'
2991 srcdir='$srcdir'
2992 INSTALL='$INSTALL'
2993 MKDIR_P='$MKDIR_P'
2994 AWK='$AWK'
2995 test -n "\$AWK" || AWK=awk
2996 _ACEOF
2997
2998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2999 # The default lists apply if the user does not specify any file.
3000 ac_need_defaults=:
3001 while test $# != 0
3002 do
3003 case $1 in
3004 --*=?*)
3005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3007 ac_shift=:
3008 ;;
3009 --*=)
3010 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3011 ac_optarg=
3012 ac_shift=:
3013 ;;
3014 *)
3015 ac_option=$1
3016 ac_optarg=$2
3017 ac_shift=shift
3018 ;;
3019 esac
3020
3021 case $ac_option in
3022 # Handling of the options.
3023 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3024 ac_cs_recheck=: ;;
3025 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3026 $as_echo "$ac_cs_version"; exit ;;
3027 --config | --confi | --conf | --con | --co | --c )
3028 $as_echo "$ac_cs_config"; exit ;;
3029 --debug | --debu | --deb | --de | --d | -d )
3030 debug=: ;;
3031 --file | --fil | --fi | --f )
3032 $ac_shift
3033 case $ac_optarg in
3034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3035 '') as_fn_error $? "missing file argument" ;;
3036 esac
3037 as_fn_append CONFIG_FILES " '$ac_optarg'"
3038 ac_need_defaults=false;;
3039 --he | --h | --help | --hel | -h )
3040 $as_echo "$ac_cs_usage"; exit ;;
3041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3042 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3043 ac_cs_silent=: ;;
3044
3045 # This is an error.
3046 -*) as_fn_error $? "unrecognized option: \`$1'
3047 Try \`$0 --help' for more information." ;;
3048
3049 *) as_fn_append ac_config_targets " $1"
3050 ac_need_defaults=false ;;
3051
3052 esac
3053 shift
3054 done
3055
3056 ac_configure_extra_args=
3057
3058 if $ac_cs_silent; then
3059 exec 6>/dev/null
3060 ac_configure_extra_args="$ac_configure_extra_args --silent"
3061 fi
3062
3063 _ACEOF
3064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3065 if \$ac_cs_recheck; then
3066 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3067 shift
3068 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3069 CONFIG_SHELL='$SHELL'
3070 export CONFIG_SHELL
3071 exec "\$@"
3072 fi
3073
3074 _ACEOF
3075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3076 exec 5>>config.log
3077 {
3078 echo
3079 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3080 ## Running $as_me. ##
3081 _ASBOX
3082 $as_echo "$ac_log"
3083 } >&5
3084
3085 _ACEOF
3086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3087 _ACEOF
3088
3089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3090
3091 # Handling of arguments.
3092 for ac_config_target in $ac_config_targets
3093 do
3094 case $ac_config_target in
3095 "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
3096 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3097 "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
3098
3099 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3100 esac
3101 done
3102
3103
3104 # If the user did not use the arguments to specify the items to instantiate,
3105 # then the envvar interface is used. Set only those that are not.
3106 # We use the long form for the default assignment because of an extremely
3107 # bizarre bug on SunOS 4.1.3.
3108 if $ac_need_defaults; then
3109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3110 fi
3111
3112 # Have a temporary directory for convenience. Make it in the build tree
3113 # simply because there is no reason against having it here, and in addition,
3114 # creating and moving files from /tmp can sometimes cause problems.
3115 # Hook for its removal unless debugging.
3116 # Note that there is a small window in which the directory will not be cleaned:
3117 # after its creation but before its name has been assigned to `$tmp'.
3118 $debug ||
3119 {
3120 tmp= ac_tmp=
3121 trap 'exit_status=$?
3122 : "${ac_tmp:=$tmp}"
3123 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3124 ' 0
3125 trap 'as_fn_exit 1' 1 2 13 15
3126 }
3127 # Create a (secure) tmp directory for tmp files.
3128
3129 {
3130 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3131 test -d "$tmp"
3132 } ||
3133 {
3134 tmp=./conf$$-$RANDOM
3135 (umask 077 && mkdir "$tmp")
3136 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3137 ac_tmp=$tmp
3138
3139 # Set up the scripts for CONFIG_FILES section.
3140 # No need to generate them if there are no CONFIG_FILES.
3141 # This happens for instance with `./config.status config.h'.
3142 if test -n "$CONFIG_FILES"; then
3143
3144
3145 ac_cr=`echo X | tr X '\015'`
3146 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3147 # But we know of no other shell where ac_cr would be empty at this
3148 # point, so we can use a bashism as a fallback.
3149 if test "x$ac_cr" = x; then
3150 eval ac_cr=\$\'\\r\'
3151 fi
3152 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3153 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3154 ac_cs_awk_cr='\\r'
3155 else
3156 ac_cs_awk_cr=$ac_cr
3157 fi
3158
3159 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3160 _ACEOF
3161
3162
3163 {
3164 echo "cat >conf$$subs.awk <<_ACEOF" &&
3165 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3166 echo "_ACEOF"
3167 } >conf$$subs.sh ||
3168 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3169 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3170 ac_delim='%!_!# '
3171 for ac_last_try in false false false false false :; do
3172 . ./conf$$subs.sh ||
3173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3174
3175 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3176 if test $ac_delim_n = $ac_delim_num; then
3177 break
3178 elif $ac_last_try; then
3179 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3180 else
3181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3182 fi
3183 done
3184 rm -f conf$$subs.sh
3185
3186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3187 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3188 _ACEOF
3189 sed -n '
3190 h
3191 s/^/S["/; s/!.*/"]=/
3192 p
3193 g
3194 s/^[^!]*!//
3195 :repl
3196 t repl
3197 s/'"$ac_delim"'$//
3198 t delim
3199 :nl
3200 h
3201 s/\(.\{148\}\)..*/\1/
3202 t more1
3203 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3204 p
3205 n
3206 b repl
3207 :more1
3208 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3209 p
3210 g
3211 s/.\{148\}//
3212 t nl
3213 :delim
3214 h
3215 s/\(.\{148\}\)..*/\1/
3216 t more2
3217 s/["\\]/\\&/g; s/^/"/; s/$/"/
3218 p
3219 b
3220 :more2
3221 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3222 p
3223 g
3224 s/.\{148\}//
3225 t delim
3226 ' <conf$$subs.awk | sed '
3227 /^[^""]/{
3228 N
3229 s/\n//
3230 }
3231 ' >>$CONFIG_STATUS || ac_write_fail=1
3232 rm -f conf$$subs.awk
3233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3234 _ACAWK
3235 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3236 for (key in S) S_is_set[key] = 1
3237 FS = ""
3238
3239 }
3240 {
3241 line = $ 0
3242 nfields = split(line, field, "@")
3243 substed = 0
3244 len = length(field[1])
3245 for (i = 2; i < nfields; i++) {
3246 key = field[i]
3247 keylen = length(key)
3248 if (S_is_set[key]) {
3249 value = S[key]
3250 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3251 len += length(value) + length(field[++i])
3252 substed = 1
3253 } else
3254 len += 1 + keylen
3255 }
3256
3257 print line
3258 }
3259
3260 _ACAWK
3261 _ACEOF
3262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3263 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3264 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3265 else
3266 cat
3267 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3268 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3269 _ACEOF
3270
3271 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3272 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3273 # trailing colons and then remove the whole line if VPATH becomes empty
3274 # (actually we leave an empty line to preserve line numbers).
3275 if test "x$srcdir" = x.; then
3276 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3277 h
3278 s///
3279 s/^/:/
3280 s/[ ]*$/:/
3281 s/:\$(srcdir):/:/g
3282 s/:\${srcdir}:/:/g
3283 s/:@srcdir@:/:/g
3284 s/^:*//
3285 s/:*$//
3286 x
3287 s/\(=[ ]*\).*/\1/
3288 G
3289 s/\n//
3290 s/^[^=]*=[ ]*$//
3291 }'
3292 fi
3293
3294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3295 fi # test -n "$CONFIG_FILES"
3296
3297
3298 eval set X " :F $CONFIG_FILES "
3299 shift
3300 for ac_tag
3301 do
3302 case $ac_tag in
3303 :[FHLC]) ac_mode=$ac_tag; continue;;
3304 esac
3305 case $ac_mode$ac_tag in
3306 :[FHL]*:*);;
3307 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3308 :[FH]-) ac_tag=-:-;;
3309 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3310 esac
3311 ac_save_IFS=$IFS
3312 IFS=:
3313 set x $ac_tag
3314 IFS=$ac_save_IFS
3315 shift
3316 ac_file=$1
3317 shift
3318
3319 case $ac_mode in
3320 :L) ac_source=$1;;
3321 :[FH])
3322 ac_file_inputs=
3323 for ac_f
3324 do
3325 case $ac_f in
3326 -) ac_f="$ac_tmp/stdin";;
3327 *) # Look for the file first in the build tree, then in the source tree
3328 # (if the path is not absolute). The absolute path cannot be DOS-style,
3329 # because $ac_f cannot contain `:'.
3330 test -f "$ac_f" ||
3331 case $ac_f in
3332 [\\/$]*) false;;
3333 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3334 esac ||
3335 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3336 esac
3337 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3338 as_fn_append ac_file_inputs " '$ac_f'"
3339 done
3340
3341 # Let's still pretend it is `configure' which instantiates (i.e., don't
3342 # use $as_me), people would be surprised to read:
3343 # /* config.h. Generated by config.status. */
3344 configure_input='Generated from '`
3345 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3346 `' by configure.'
3347 if test x"$ac_file" != x-; then
3348 configure_input="$ac_file. $configure_input"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3350 $as_echo "$as_me: creating $ac_file" >&6;}
3351 fi
3352 # Neutralize special characters interpreted by sed in replacement strings.
3353 case $configure_input in #(
3354 *\&* | *\|* | *\\* )
3355 ac_sed_conf_input=`$as_echo "$configure_input" |
3356 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3357 *) ac_sed_conf_input=$configure_input;;
3358 esac
3359
3360 case $ac_tag in
3361 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3363 esac
3364 ;;
3365 esac
3366
3367 ac_dir=`$as_dirname -- "$ac_file" ||
3368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3369 X"$ac_file" : 'X\(//\)[^/]' \| \
3370 X"$ac_file" : 'X\(//\)$' \| \
3371 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3372 $as_echo X"$ac_file" |
3373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3374 s//\1/
3375 q
3376 }
3377 /^X\(\/\/\)[^/].*/{
3378 s//\1/
3379 q
3380 }
3381 /^X\(\/\/\)$/{
3382 s//\1/
3383 q
3384 }
3385 /^X\(\/\).*/{
3386 s//\1/
3387 q
3388 }
3389 s/.*/./; q'`
3390 as_dir="$ac_dir"; as_fn_mkdir_p
3391 ac_builddir=.
3392
3393 case "$ac_dir" in
3394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3395 *)
3396 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3397 # A ".." for each directory in $ac_dir_suffix.
3398 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3399 case $ac_top_builddir_sub in
3400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3402 esac ;;
3403 esac
3404 ac_abs_top_builddir=$ac_pwd
3405 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3406 # for backward compatibility:
3407 ac_top_builddir=$ac_top_build_prefix
3408
3409 case $srcdir in
3410 .) # We are building in place.
3411 ac_srcdir=.
3412 ac_top_srcdir=$ac_top_builddir_sub
3413 ac_abs_top_srcdir=$ac_pwd ;;
3414 [\\/]* | ?:[\\/]* ) # Absolute name.
3415 ac_srcdir=$srcdir$ac_dir_suffix;
3416 ac_top_srcdir=$srcdir
3417 ac_abs_top_srcdir=$srcdir ;;
3418 *) # Relative name.
3419 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3420 ac_top_srcdir=$ac_top_build_prefix$srcdir
3421 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3422 esac
3423 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3424
3425
3426 case $ac_mode in
3427 :F)
3428 #
3429 # CONFIG_FILE
3430 #
3431
3432 case $INSTALL in
3433 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3434 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3435 esac
3436 ac_MKDIR_P=$MKDIR_P
3437 case $MKDIR_P in
3438 [\\/$]* | ?:[\\/]* ) ;;
3439 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3440 esac
3441 _ACEOF
3442
3443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3444 # If the template does not know about datarootdir, expand it.
3445 # FIXME: This hack should be removed a few years after 2.60.
3446 ac_datarootdir_hack=; ac_datarootdir_seen=
3447 ac_sed_dataroot='
3448 /datarootdir/ {
3449 p
3450 q
3451 }
3452 /@datadir@/p
3453 /@docdir@/p
3454 /@infodir@/p
3455 /@localedir@/p
3456 /@mandir@/p'
3457 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3458 *datarootdir*) ac_datarootdir_seen=yes;;
3459 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3461 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3462 _ACEOF
3463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3464 ac_datarootdir_hack='
3465 s&@datadir@&$datadir&g
3466 s&@docdir@&$docdir&g
3467 s&@infodir@&$infodir&g
3468 s&@localedir@&$localedir&g
3469 s&@mandir@&$mandir&g
3470 s&\\\${datarootdir}&$datarootdir&g' ;;
3471 esac
3472 _ACEOF
3473
3474 # Neutralize VPATH when `$srcdir' = `.'.
3475 # Shell code in configure.ac might set extrasub.
3476 # FIXME: do we really want to maintain this feature?
3477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3478 ac_sed_extra="$ac_vpsub
3479 $extrasub
3480 _ACEOF
3481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3482 :t
3483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3484 s|@configure_input@|$ac_sed_conf_input|;t t
3485 s&@top_builddir@&$ac_top_builddir_sub&;t t
3486 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3487 s&@srcdir@&$ac_srcdir&;t t
3488 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3489 s&@top_srcdir@&$ac_top_srcdir&;t t
3490 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3491 s&@builddir@&$ac_builddir&;t t
3492 s&@abs_builddir@&$ac_abs_builddir&;t t
3493 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3494 s&@INSTALL@&$ac_INSTALL&;t t
3495 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3496 $ac_datarootdir_hack
3497 "
3498 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3499 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3500
3501 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3502 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3504 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3506 which seems to be undefined. Please make sure it is defined" >&5
3507 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3508 which seems to be undefined. Please make sure it is defined" >&2;}
3509
3510 rm -f "$ac_tmp/stdin"
3511 case $ac_file in
3512 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3513 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3514 esac \
3515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3516 ;;
3517
3518
3519
3520 esac
3521
3522 done # for ac_tag
3523
3524
3525 as_fn_exit 0
3526 _ACEOF
3527 ac_clean_files=$ac_clean_files_save
3528
3529 test $ac_write_fail = 0 ||
3530 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3531
3532
3533 # configure is writing to config.log, and then calls config.status.
3534 # config.status does its own redirection, appending to config.log.
3535 # Unfortunately, on DOS this fails, as config.log is still kept open
3536 # by configure, so config.status won't be able to write to it; its
3537 # output is simply discarded. So we exec the FD to /dev/null,
3538 # effectively closing config.log, so it can be properly (re)opened and
3539 # appended to by config.status. When coming back to configure, we
3540 # need to make the FD available again.
3541 if test "$no_create" != yes; then
3542 ac_cs_success=:
3543 ac_config_status_args=
3544 test "$silent" = yes &&
3545 ac_config_status_args="$ac_config_status_args --quiet"
3546 exec 5>/dev/null
3547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3548 exec 5>>config.log
3549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3550 # would make configure fail if this is the last instruction.
3551 $ac_cs_success || as_fn_exit 1
3552 fi
3553 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3555 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3556 fi
3557
3558