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