configure revision ea6ae205
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for mkfontscale 1.0.5.
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
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if 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
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
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.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
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.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if 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; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for 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
109do
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
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo 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
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$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  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
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
234done
235IFS=$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
242if 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
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
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
263if 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
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $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
338fi
339
340fi
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+"$@"}
350fi
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; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$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
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `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';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if 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'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
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  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_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.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 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.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='mkfontscale'
576PACKAGE_TARNAME='mkfontscale'
577PACKAGE_VERSION='1.0.5'
578PACKAGE_STRING='mkfontscale 1.0.5'
579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581ac_subst_vars='SHELL
582PATH_SEPARATOR
583PACKAGE_NAME
584PACKAGE_TARNAME
585PACKAGE_VERSION
586PACKAGE_STRING
587PACKAGE_BUGREPORT
588exec_prefix
589prefix
590program_transform_name
591bindir
592sbindir
593libexecdir
594datarootdir
595datadir
596sysconfdir
597sharedstatedir
598localstatedir
599includedir
600oldincludedir
601docdir
602infodir
603htmldir
604dvidir
605pdfdir
606psdir
607libdir
608localedir
609mandir
610DEFS
611ECHO_C
612ECHO_N
613ECHO_T
614LIBS
615build_alias
616host_alias
617target_alias
618INSTALL_PROGRAM
619INSTALL_SCRIPT
620INSTALL_DATA
621am__isrc
622CYGPATH_W
623PACKAGE
624VERSION
625ACLOCAL
626AUTOCONF
627AUTOMAKE
628AUTOHEADER
629MAKEINFO
630install_sh
631STRIP
632INSTALL_STRIP_PROGRAM
633mkdir_p
634AWK
635SET_MAKE
636am__leading_dot
637AMTAR
638am__tar
639am__untar
640MAINTAINER_MODE_TRUE
641MAINTAINER_MODE_FALSE
642MAINT
643CC
644CFLAGS
645LDFLAGS
646CPPFLAGS
647ac_ct_CC
648EXEEXT
649OBJEXT
650DEPDIR
651am__include
652am__quote
653AMDEP_TRUE
654AMDEP_FALSE
655AMDEPBACKSLASH
656CCDEPMODE
657am__fastdepCC_TRUE
658am__fastdepCC_FALSE
659PKG_CONFIG
660MKFONTSCALE_CFLAGS
661MKFONTSCALE_LIBS
662X11_CFLAGS
663X11_LIBS
664build
665build_cpu
666build_vendor
667build_os
668host
669host_cpu
670host_vendor
671host_os
672APP_MAN_SUFFIX
673LIB_MAN_SUFFIX
674FILE_MAN_SUFFIX
675MISC_MAN_SUFFIX
676DRIVER_MAN_SUFFIX
677ADMIN_MAN_SUFFIX
678APP_MAN_DIR
679LIB_MAN_DIR
680FILE_MAN_DIR
681MISC_MAN_DIR
682DRIVER_MAN_DIR
683ADMIN_MAN_DIR
684LIBOBJS
685LTLIBOBJS'
686ac_subst_files=''
687      ac_precious_vars='build_alias
688host_alias
689target_alias
690CC
691CFLAGS
692LDFLAGS
693LIBS
694CPPFLAGS
695PKG_CONFIG
696MKFONTSCALE_CFLAGS
697MKFONTSCALE_LIBS
698X11_CFLAGS
699X11_LIBS'
700
701
702# Initialize some variables set by options.
703ac_init_help=
704ac_init_version=false
705# The variables have the same names as the options, with
706# dashes changed to underlines.
707cache_file=/dev/null
708exec_prefix=NONE
709no_create=
710no_recursion=
711prefix=NONE
712program_prefix=NONE
713program_suffix=NONE
714program_transform_name=s,x,x,
715silent=
716site=
717srcdir=
718verbose=
719x_includes=NONE
720x_libraries=NONE
721
722# Installation directory options.
723# These are left unexpanded so users can "make install exec_prefix=/foo"
724# and all the variables that are supposed to be based on exec_prefix
725# by default will actually change.
726# Use braces instead of parens because sh, perl, etc. also accept them.
727# (The list follows the same order as the GNU Coding Standards.)
728bindir='${exec_prefix}/bin'
729sbindir='${exec_prefix}/sbin'
730libexecdir='${exec_prefix}/libexec'
731datarootdir='${prefix}/share'
732datadir='${datarootdir}'
733sysconfdir='${prefix}/etc'
734sharedstatedir='${prefix}/com'
735localstatedir='${prefix}/var'
736includedir='${prefix}/include'
737oldincludedir='/usr/include'
738docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739infodir='${datarootdir}/info'
740htmldir='${docdir}'
741dvidir='${docdir}'
742pdfdir='${docdir}'
743psdir='${docdir}'
744libdir='${exec_prefix}/lib'
745localedir='${datarootdir}/locale'
746mandir='${datarootdir}/man'
747
748ac_prev=
749ac_dashdash=
750for ac_option
751do
752  # If the previous option needs an argument, assign it.
753  if test -n "$ac_prev"; then
754    eval $ac_prev=\$ac_option
755    ac_prev=
756    continue
757  fi
758
759  case $ac_option in
760  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761  *)	ac_optarg=yes ;;
762  esac
763
764  # Accept the important Cygnus configure options, so we can diagnose typos.
765
766  case $ac_dashdash$ac_option in
767  --)
768    ac_dashdash=yes ;;
769
770  -bindir | --bindir | --bindi | --bind | --bin | --bi)
771    ac_prev=bindir ;;
772  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
773    bindir=$ac_optarg ;;
774
775  -build | --build | --buil | --bui | --bu)
776    ac_prev=build_alias ;;
777  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
778    build_alias=$ac_optarg ;;
779
780  -cache-file | --cache-file | --cache-fil | --cache-fi \
781  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782    ac_prev=cache_file ;;
783  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785    cache_file=$ac_optarg ;;
786
787  --config-cache | -C)
788    cache_file=config.cache ;;
789
790  -datadir | --datadir | --datadi | --datad)
791    ac_prev=datadir ;;
792  -datadir=* | --datadir=* | --datadi=* | --datad=*)
793    datadir=$ac_optarg ;;
794
795  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796  | --dataroo | --dataro | --datar)
797    ac_prev=datarootdir ;;
798  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800    datarootdir=$ac_optarg ;;
801
802  -disable-* | --disable-*)
803    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804    # Reject names that are not valid shell variable names.
805    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
807   { (exit 1); exit 1; }; }
808    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
809    eval enable_$ac_feature=no ;;
810
811  -docdir | --docdir | --docdi | --doc | --do)
812    ac_prev=docdir ;;
813  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814    docdir=$ac_optarg ;;
815
816  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817    ac_prev=dvidir ;;
818  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819    dvidir=$ac_optarg ;;
820
821  -enable-* | --enable-*)
822    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823    # Reject names that are not valid shell variable names.
824    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
825      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
826   { (exit 1); exit 1; }; }
827    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
828    eval enable_$ac_feature=\$ac_optarg ;;
829
830  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832  | --exec | --exe | --ex)
833    ac_prev=exec_prefix ;;
834  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836  | --exec=* | --exe=* | --ex=*)
837    exec_prefix=$ac_optarg ;;
838
839  -gas | --gas | --ga | --g)
840    # Obsolete; use --with-gas.
841    with_gas=yes ;;
842
843  -help | --help | --hel | --he | -h)
844    ac_init_help=long ;;
845  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846    ac_init_help=recursive ;;
847  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848    ac_init_help=short ;;
849
850  -host | --host | --hos | --ho)
851    ac_prev=host_alias ;;
852  -host=* | --host=* | --hos=* | --ho=*)
853    host_alias=$ac_optarg ;;
854
855  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856    ac_prev=htmldir ;;
857  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858  | --ht=*)
859    htmldir=$ac_optarg ;;
860
861  -includedir | --includedir | --includedi | --included | --include \
862  | --includ | --inclu | --incl | --inc)
863    ac_prev=includedir ;;
864  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865  | --includ=* | --inclu=* | --incl=* | --inc=*)
866    includedir=$ac_optarg ;;
867
868  -infodir | --infodir | --infodi | --infod | --info | --inf)
869    ac_prev=infodir ;;
870  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871    infodir=$ac_optarg ;;
872
873  -libdir | --libdir | --libdi | --libd)
874    ac_prev=libdir ;;
875  -libdir=* | --libdir=* | --libdi=* | --libd=*)
876    libdir=$ac_optarg ;;
877
878  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879  | --libexe | --libex | --libe)
880    ac_prev=libexecdir ;;
881  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882  | --libexe=* | --libex=* | --libe=*)
883    libexecdir=$ac_optarg ;;
884
885  -localedir | --localedir | --localedi | --localed | --locale)
886    ac_prev=localedir ;;
887  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888    localedir=$ac_optarg ;;
889
890  -localstatedir | --localstatedir | --localstatedi | --localstated \
891  | --localstate | --localstat | --localsta | --localst | --locals)
892    ac_prev=localstatedir ;;
893  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895    localstatedir=$ac_optarg ;;
896
897  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898    ac_prev=mandir ;;
899  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900    mandir=$ac_optarg ;;
901
902  -nfp | --nfp | --nf)
903    # Obsolete; use --without-fp.
904    with_fp=no ;;
905
906  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
907  | --no-cr | --no-c | -n)
908    no_create=yes ;;
909
910  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
911  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
912    no_recursion=yes ;;
913
914  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916  | --oldin | --oldi | --old | --ol | --o)
917    ac_prev=oldincludedir ;;
918  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921    oldincludedir=$ac_optarg ;;
922
923  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924    ac_prev=prefix ;;
925  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
926    prefix=$ac_optarg ;;
927
928  -program-prefix | --program-prefix | --program-prefi | --program-pref \
929  | --program-pre | --program-pr | --program-p)
930    ac_prev=program_prefix ;;
931  -program-prefix=* | --program-prefix=* | --program-prefi=* \
932  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933    program_prefix=$ac_optarg ;;
934
935  -program-suffix | --program-suffix | --program-suffi | --program-suff \
936  | --program-suf | --program-su | --program-s)
937    ac_prev=program_suffix ;;
938  -program-suffix=* | --program-suffix=* | --program-suffi=* \
939  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940    program_suffix=$ac_optarg ;;
941
942  -program-transform-name | --program-transform-name \
943  | --program-transform-nam | --program-transform-na \
944  | --program-transform-n | --program-transform- \
945  | --program-transform | --program-transfor \
946  | --program-transfo | --program-transf \
947  | --program-trans | --program-tran \
948  | --progr-tra | --program-tr | --program-t)
949    ac_prev=program_transform_name ;;
950  -program-transform-name=* | --program-transform-name=* \
951  | --program-transform-nam=* | --program-transform-na=* \
952  | --program-transform-n=* | --program-transform-=* \
953  | --program-transform=* | --program-transfor=* \
954  | --program-transfo=* | --program-transf=* \
955  | --program-trans=* | --program-tran=* \
956  | --progr-tra=* | --program-tr=* | --program-t=*)
957    program_transform_name=$ac_optarg ;;
958
959  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960    ac_prev=pdfdir ;;
961  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
962    pdfdir=$ac_optarg ;;
963
964  -psdir | --psdir | --psdi | --psd | --ps)
965    ac_prev=psdir ;;
966  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
967    psdir=$ac_optarg ;;
968
969  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970  | -silent | --silent | --silen | --sile | --sil)
971    silent=yes ;;
972
973  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974    ac_prev=sbindir ;;
975  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976  | --sbi=* | --sb=*)
977    sbindir=$ac_optarg ;;
978
979  -sharedstatedir | --sharedstatedir | --sharedstatedi \
980  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981  | --sharedst | --shareds | --shared | --share | --shar \
982  | --sha | --sh)
983    ac_prev=sharedstatedir ;;
984  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987  | --sha=* | --sh=*)
988    sharedstatedir=$ac_optarg ;;
989
990  -site | --site | --sit)
991    ac_prev=site ;;
992  -site=* | --site=* | --sit=*)
993    site=$ac_optarg ;;
994
995  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996    ac_prev=srcdir ;;
997  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
998    srcdir=$ac_optarg ;;
999
1000  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001  | --syscon | --sysco | --sysc | --sys | --sy)
1002    ac_prev=sysconfdir ;;
1003  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005    sysconfdir=$ac_optarg ;;
1006
1007  -target | --target | --targe | --targ | --tar | --ta | --t)
1008    ac_prev=target_alias ;;
1009  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010    target_alias=$ac_optarg ;;
1011
1012  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1013    verbose=yes ;;
1014
1015  -version | --version | --versio | --versi | --vers | -V)
1016    ac_init_version=: ;;
1017
1018  -with-* | --with-*)
1019    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020    # Reject names that are not valid shell variable names.
1021    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022      { echo "$as_me: error: invalid package name: $ac_package" >&2
1023   { (exit 1); exit 1; }; }
1024    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1025    eval with_$ac_package=\$ac_optarg ;;
1026
1027  -without-* | --without-*)
1028    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029    # Reject names that are not valid shell variable names.
1030    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031      { echo "$as_me: error: invalid package name: $ac_package" >&2
1032   { (exit 1); exit 1; }; }
1033    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034    eval with_$ac_package=no ;;
1035
1036  --x)
1037    # Obsolete; use --with-x.
1038    with_x=yes ;;
1039
1040  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041  | --x-incl | --x-inc | --x-in | --x-i)
1042    ac_prev=x_includes ;;
1043  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045    x_includes=$ac_optarg ;;
1046
1047  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1048  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049    ac_prev=x_libraries ;;
1050  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052    x_libraries=$ac_optarg ;;
1053
1054  -*) { echo "$as_me: error: unrecognized option: $ac_option
1055Try \`$0 --help' for more information." >&2
1056   { (exit 1); exit 1; }; }
1057    ;;
1058
1059  *=*)
1060    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1061    # Reject names that are not valid shell variable names.
1062    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1063      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1064   { (exit 1); exit 1; }; }
1065    eval $ac_envvar=\$ac_optarg
1066    export $ac_envvar ;;
1067
1068  *)
1069    # FIXME: should be removed in autoconf 3.0.
1070    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074    ;;
1075
1076  esac
1077done
1078
1079if test -n "$ac_prev"; then
1080  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081  { echo "$as_me: error: missing argument to $ac_option" >&2
1082   { (exit 1); exit 1; }; }
1083fi
1084
1085# Be sure to have absolute directory names.
1086for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087		datadir sysconfdir sharedstatedir localstatedir includedir \
1088		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089		libdir localedir mandir
1090do
1091  eval ac_val=\$$ac_var
1092  case $ac_val in
1093    [\\/$]* | ?:[\\/]* )  continue;;
1094    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1095  esac
1096  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1097   { (exit 1); exit 1; }; }
1098done
1099
1100# There might be people who depend on the old broken behavior: `$host'
1101# used to hold the argument of --host etc.
1102# FIXME: To remove some day.
1103build=$build_alias
1104host=$host_alias
1105target=$target_alias
1106
1107# FIXME: To remove some day.
1108if test "x$host_alias" != x; then
1109  if test "x$build_alias" = x; then
1110    cross_compiling=maybe
1111    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1112    If a cross compiler is detected then cross compile mode will be used." >&2
1113  elif test "x$build_alias" != "x$host_alias"; then
1114    cross_compiling=yes
1115  fi
1116fi
1117
1118ac_tool_prefix=
1119test -n "$host_alias" && ac_tool_prefix=$host_alias-
1120
1121test "$silent" = yes && exec 6>/dev/null
1122
1123
1124ac_pwd=`pwd` && test -n "$ac_pwd" &&
1125ac_ls_di=`ls -di .` &&
1126ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1127  { echo "$as_me: error: Working directory cannot be determined" >&2
1128   { (exit 1); exit 1; }; }
1129test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1130  { echo "$as_me: error: pwd does not report name of working directory" >&2
1131   { (exit 1); exit 1; }; }
1132
1133
1134# Find the source files, if location was not specified.
1135if test -z "$srcdir"; then
1136  ac_srcdir_defaulted=yes
1137  # Try the directory containing this script, then the parent directory.
1138  ac_confdir=`$as_dirname -- "$0" ||
1139$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140	 X"$0" : 'X\(//\)[^/]' \| \
1141	 X"$0" : 'X\(//\)$' \| \
1142	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1143echo X"$0" |
1144    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145	    s//\1/
1146	    q
1147	  }
1148	  /^X\(\/\/\)[^/].*/{
1149	    s//\1/
1150	    q
1151	  }
1152	  /^X\(\/\/\)$/{
1153	    s//\1/
1154	    q
1155	  }
1156	  /^X\(\/\).*/{
1157	    s//\1/
1158	    q
1159	  }
1160	  s/.*/./; q'`
1161  srcdir=$ac_confdir
1162  if test ! -r "$srcdir/$ac_unique_file"; then
1163    srcdir=..
1164  fi
1165else
1166  ac_srcdir_defaulted=no
1167fi
1168if test ! -r "$srcdir/$ac_unique_file"; then
1169  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1170  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1171   { (exit 1); exit 1; }; }
1172fi
1173ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1174ac_abs_confdir=`(
1175	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1176   { (exit 1); exit 1; }; }
1177	pwd)`
1178# When building in place, set srcdir=.
1179if test "$ac_abs_confdir" = "$ac_pwd"; then
1180  srcdir=.
1181fi
1182# Remove unnecessary trailing slashes from srcdir.
1183# Double slashes in file names in object file debugging info
1184# mess up M-x gdb in Emacs.
1185case $srcdir in
1186*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1187esac
1188for ac_var in $ac_precious_vars; do
1189  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1190  eval ac_env_${ac_var}_value=\$${ac_var}
1191  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1192  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1193done
1194
1195#
1196# Report the --help message.
1197#
1198if test "$ac_init_help" = "long"; then
1199  # Omit some internal or obsolete options to make the list less imposing.
1200  # This message is too long to be a string in the A/UX 3.1 sh.
1201  cat <<_ACEOF
1202\`configure' configures mkfontscale 1.0.5 to adapt to many kinds of systems.
1203
1204Usage: $0 [OPTION]... [VAR=VALUE]...
1205
1206To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207VAR=VALUE.  See below for descriptions of some of the useful variables.
1208
1209Defaults for the options are specified in brackets.
1210
1211Configuration:
1212  -h, --help              display this help and exit
1213      --help=short        display options specific to this package
1214      --help=recursive    display the short help of all the included packages
1215  -V, --version           display version information and exit
1216  -q, --quiet, --silent   do not print \`checking...' messages
1217      --cache-file=FILE   cache test results in FILE [disabled]
1218  -C, --config-cache      alias for \`--cache-file=config.cache'
1219  -n, --no-create         do not create output files
1220      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1221
1222Installation directories:
1223  --prefix=PREFIX         install architecture-independent files in PREFIX
1224			  [$ac_default_prefix]
1225  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1226			  [PREFIX]
1227
1228By default, \`make install' will install all the files in
1229\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1230an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231for instance \`--prefix=\$HOME'.
1232
1233For better control, use the options below.
1234
1235Fine tuning of the installation directories:
1236  --bindir=DIR           user executables [EPREFIX/bin]
1237  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1238  --libexecdir=DIR       program executables [EPREFIX/libexec]
1239  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1240  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1241  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1242  --libdir=DIR           object code libraries [EPREFIX/lib]
1243  --includedir=DIR       C header files [PREFIX/include]
1244  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1245  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1246  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1247  --infodir=DIR          info documentation [DATAROOTDIR/info]
1248  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1249  --mandir=DIR           man documentation [DATAROOTDIR/man]
1250  --docdir=DIR           documentation root [DATAROOTDIR/doc/mkfontscale]
1251  --htmldir=DIR          html documentation [DOCDIR]
1252  --dvidir=DIR           dvi documentation [DOCDIR]
1253  --pdfdir=DIR           pdf documentation [DOCDIR]
1254  --psdir=DIR            ps documentation [DOCDIR]
1255_ACEOF
1256
1257  cat <<\_ACEOF
1258
1259Program names:
1260  --program-prefix=PREFIX            prepend PREFIX to installed program names
1261  --program-suffix=SUFFIX            append SUFFIX to installed program names
1262  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1263
1264System types:
1265  --build=BUILD     configure for building on BUILD [guessed]
1266  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1267_ACEOF
1268fi
1269
1270if test -n "$ac_init_help"; then
1271  case $ac_init_help in
1272     short | recursive ) echo "Configuration of mkfontscale 1.0.5:";;
1273   esac
1274  cat <<\_ACEOF
1275
1276Optional Features:
1277  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1278  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1279  --enable-maintainer-mode  enable make rules and dependencies not useful
1280			  (and sometimes confusing) to the casual installer
1281  --disable-dependency-tracking  speeds up one-time build
1282  --enable-dependency-tracking   do not reject slow dependency extractors
1283
1284Optional Packages:
1285  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1286  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1287  --with-release-version=STRING
1288                          Use release version string in package name
1289
1290Some influential environment variables:
1291  CC          C compiler command
1292  CFLAGS      C compiler flags
1293  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1294              nonstandard directory <lib dir>
1295  LIBS        libraries to pass to the linker, e.g. -l<library>
1296  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1297              you have headers in a nonstandard directory <include dir>
1298  PKG_CONFIG  path to pkg-config utility
1299  MKFONTSCALE_CFLAGS
1300              C compiler flags for MKFONTSCALE, overriding pkg-config
1301  MKFONTSCALE_LIBS
1302              linker flags for MKFONTSCALE, overriding pkg-config
1303  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
1304  X11_LIBS    linker flags for X11, overriding pkg-config
1305
1306Use these variables to override the choices made by `configure' or to help
1307it to find libraries and programs with nonstandard names/locations.
1308
1309Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1310_ACEOF
1311ac_status=$?
1312fi
1313
1314if test "$ac_init_help" = "recursive"; then
1315  # If there are subdirs, report their specific --help.
1316  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317    test -d "$ac_dir" || continue
1318    ac_builddir=.
1319
1320case "$ac_dir" in
1321.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322*)
1323  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1324  # A ".." for each directory in $ac_dir_suffix.
1325  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1326  case $ac_top_builddir_sub in
1327  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1329  esac ;;
1330esac
1331ac_abs_top_builddir=$ac_pwd
1332ac_abs_builddir=$ac_pwd$ac_dir_suffix
1333# for backward compatibility:
1334ac_top_builddir=$ac_top_build_prefix
1335
1336case $srcdir in
1337  .)  # We are building in place.
1338    ac_srcdir=.
1339    ac_top_srcdir=$ac_top_builddir_sub
1340    ac_abs_top_srcdir=$ac_pwd ;;
1341  [\\/]* | ?:[\\/]* )  # Absolute name.
1342    ac_srcdir=$srcdir$ac_dir_suffix;
1343    ac_top_srcdir=$srcdir
1344    ac_abs_top_srcdir=$srcdir ;;
1345  *) # Relative name.
1346    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1347    ac_top_srcdir=$ac_top_build_prefix$srcdir
1348    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1349esac
1350ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351
1352    cd "$ac_dir" || { ac_status=$?; continue; }
1353    # Check for guested configure.
1354    if test -f "$ac_srcdir/configure.gnu"; then
1355      echo &&
1356      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357    elif test -f "$ac_srcdir/configure"; then
1358      echo &&
1359      $SHELL "$ac_srcdir/configure" --help=recursive
1360    else
1361      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362    fi || ac_status=$?
1363    cd "$ac_pwd" || { ac_status=$?; break; }
1364  done
1365fi
1366
1367test -n "$ac_init_help" && exit $ac_status
1368if $ac_init_version; then
1369  cat <<\_ACEOF
1370mkfontscale configure 1.0.5
1371generated by GNU Autoconf 2.61
1372
1373Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13742002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1375This configure script is free software; the Free Software Foundation
1376gives unlimited permission to copy, distribute and modify it.
1377_ACEOF
1378  exit
1379fi
1380cat >config.log <<_ACEOF
1381This file contains any messages produced by compilers while
1382running configure, to aid debugging if configure makes a mistake.
1383
1384It was created by mkfontscale $as_me 1.0.5, which was
1385generated by GNU Autoconf 2.61.  Invocation command line was
1386
1387  $ $0 $@
1388
1389_ACEOF
1390exec 5>>config.log
1391{
1392cat <<_ASUNAME
1393## --------- ##
1394## Platform. ##
1395## --------- ##
1396
1397hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1398uname -m = `(uname -m) 2>/dev/null || echo unknown`
1399uname -r = `(uname -r) 2>/dev/null || echo unknown`
1400uname -s = `(uname -s) 2>/dev/null || echo unknown`
1401uname -v = `(uname -v) 2>/dev/null || echo unknown`
1402
1403/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1404/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1405
1406/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1407/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1408/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1409/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1410/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1411/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1412/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1413
1414_ASUNAME
1415
1416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417for as_dir in $PATH
1418do
1419  IFS=$as_save_IFS
1420  test -z "$as_dir" && as_dir=.
1421  echo "PATH: $as_dir"
1422done
1423IFS=$as_save_IFS
1424
1425} >&5
1426
1427cat >&5 <<_ACEOF
1428
1429
1430## ----------- ##
1431## Core tests. ##
1432## ----------- ##
1433
1434_ACEOF
1435
1436
1437# Keep a trace of the command line.
1438# Strip out --no-create and --no-recursion so they do not pile up.
1439# Strip out --silent because we don't want to record it for future runs.
1440# Also quote any args containing shell meta-characters.
1441# Make two passes to allow for proper duplicate-argument suppression.
1442ac_configure_args=
1443ac_configure_args0=
1444ac_configure_args1=
1445ac_must_keep_next=false
1446for ac_pass in 1 2
1447do
1448  for ac_arg
1449  do
1450    case $ac_arg in
1451    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1452    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1453    | -silent | --silent | --silen | --sile | --sil)
1454      continue ;;
1455    *\'*)
1456      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1457    esac
1458    case $ac_pass in
1459    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1460    2)
1461      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1462      if test $ac_must_keep_next = true; then
1463	ac_must_keep_next=false # Got value, back to normal.
1464      else
1465	case $ac_arg in
1466	  *=* | --config-cache | -C | -disable-* | --disable-* \
1467	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1468	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1469	  | -with-* | --with-* | -without-* | --without-* | --x)
1470	    case "$ac_configure_args0 " in
1471	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1472	    esac
1473	    ;;
1474	  -* ) ac_must_keep_next=true ;;
1475	esac
1476      fi
1477      ac_configure_args="$ac_configure_args '$ac_arg'"
1478      ;;
1479    esac
1480  done
1481done
1482$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1483$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1484
1485# When interrupted or exit'd, cleanup temporary files, and complete
1486# config.log.  We remove comments because anyway the quotes in there
1487# would cause problems or look ugly.
1488# WARNING: Use '\'' to represent an apostrophe within the trap.
1489# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1490trap 'exit_status=$?
1491  # Save into config.log some information that might help in debugging.
1492  {
1493    echo
1494
1495    cat <<\_ASBOX
1496## ---------------- ##
1497## Cache variables. ##
1498## ---------------- ##
1499_ASBOX
1500    echo
1501    # The following way of writing the cache mishandles newlines in values,
1502(
1503  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1504    eval ac_val=\$$ac_var
1505    case $ac_val in #(
1506    *${as_nl}*)
1507      case $ac_var in #(
1508      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1509echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1510      esac
1511      case $ac_var in #(
1512      _ | IFS | as_nl) ;; #(
1513      *) $as_unset $ac_var ;;
1514      esac ;;
1515    esac
1516  done
1517  (set) 2>&1 |
1518    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1519    *${as_nl}ac_space=\ *)
1520      sed -n \
1521	"s/'\''/'\''\\\\'\'''\''/g;
1522	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1523      ;; #(
1524    *)
1525      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1526      ;;
1527    esac |
1528    sort
1529)
1530    echo
1531
1532    cat <<\_ASBOX
1533## ----------------- ##
1534## Output variables. ##
1535## ----------------- ##
1536_ASBOX
1537    echo
1538    for ac_var in $ac_subst_vars
1539    do
1540      eval ac_val=\$$ac_var
1541      case $ac_val in
1542      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543      esac
1544      echo "$ac_var='\''$ac_val'\''"
1545    done | sort
1546    echo
1547
1548    if test -n "$ac_subst_files"; then
1549      cat <<\_ASBOX
1550## ------------------- ##
1551## File substitutions. ##
1552## ------------------- ##
1553_ASBOX
1554      echo
1555      for ac_var in $ac_subst_files
1556      do
1557	eval ac_val=\$$ac_var
1558	case $ac_val in
1559	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560	esac
1561	echo "$ac_var='\''$ac_val'\''"
1562      done | sort
1563      echo
1564    fi
1565
1566    if test -s confdefs.h; then
1567      cat <<\_ASBOX
1568## ----------- ##
1569## confdefs.h. ##
1570## ----------- ##
1571_ASBOX
1572      echo
1573      cat confdefs.h
1574      echo
1575    fi
1576    test "$ac_signal" != 0 &&
1577      echo "$as_me: caught signal $ac_signal"
1578    echo "$as_me: exit $exit_status"
1579  } >&5
1580  rm -f core *.core core.conftest.* &&
1581    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1582    exit $exit_status
1583' 0
1584for ac_signal in 1 2 13 15; do
1585  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1586done
1587ac_signal=0
1588
1589# confdefs.h avoids OS command line length limits that DEFS can exceed.
1590rm -f -r conftest* confdefs.h
1591
1592# Predefined preprocessor variables.
1593
1594cat >>confdefs.h <<_ACEOF
1595#define PACKAGE_NAME "$PACKAGE_NAME"
1596_ACEOF
1597
1598
1599cat >>confdefs.h <<_ACEOF
1600#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601_ACEOF
1602
1603
1604cat >>confdefs.h <<_ACEOF
1605#define PACKAGE_VERSION "$PACKAGE_VERSION"
1606_ACEOF
1607
1608
1609cat >>confdefs.h <<_ACEOF
1610#define PACKAGE_STRING "$PACKAGE_STRING"
1611_ACEOF
1612
1613
1614cat >>confdefs.h <<_ACEOF
1615#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1616_ACEOF
1617
1618
1619# Let the site file select an alternate cache file if it wants to.
1620# Prefer explicitly selected file to automatically selected ones.
1621if test -n "$CONFIG_SITE"; then
1622  set x "$CONFIG_SITE"
1623elif test "x$prefix" != xNONE; then
1624  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1625else
1626  set x "$ac_default_prefix/share/config.site" \
1627	"$ac_default_prefix/etc/config.site"
1628fi
1629shift
1630for ac_site_file
1631do
1632  if test -r "$ac_site_file"; then
1633    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1634echo "$as_me: loading site script $ac_site_file" >&6;}
1635    sed 's/^/| /' "$ac_site_file" >&5
1636    . "$ac_site_file"
1637  fi
1638done
1639
1640if test -r "$cache_file"; then
1641  # Some versions of bash will fail to source /dev/null (special
1642  # files actually), so we avoid doing that.
1643  if test -f "$cache_file"; then
1644    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1645echo "$as_me: loading cache $cache_file" >&6;}
1646    case $cache_file in
1647      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1648      *)                      . "./$cache_file";;
1649    esac
1650  fi
1651else
1652  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1653echo "$as_me: creating cache $cache_file" >&6;}
1654  >$cache_file
1655fi
1656
1657# Check that the precious variables saved in the cache have kept the same
1658# value.
1659ac_cache_corrupted=false
1660for ac_var in $ac_precious_vars; do
1661  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1662  eval ac_new_set=\$ac_env_${ac_var}_set
1663  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1664  eval ac_new_val=\$ac_env_${ac_var}_value
1665  case $ac_old_set,$ac_new_set in
1666    set,)
1667      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1668echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1669      ac_cache_corrupted=: ;;
1670    ,set)
1671      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1672echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1673      ac_cache_corrupted=: ;;
1674    ,);;
1675    *)
1676      if test "x$ac_old_val" != "x$ac_new_val"; then
1677	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1678echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1679	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1680echo "$as_me:   former value:  $ac_old_val" >&2;}
1681	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1682echo "$as_me:   current value: $ac_new_val" >&2;}
1683	ac_cache_corrupted=:
1684      fi;;
1685  esac
1686  # Pass precious variables to config.status.
1687  if test "$ac_new_set" = set; then
1688    case $ac_new_val in
1689    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1690    *) ac_arg=$ac_var=$ac_new_val ;;
1691    esac
1692    case " $ac_configure_args " in
1693      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1694      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1695    esac
1696  fi
1697done
1698if $ac_cache_corrupted; then
1699  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1700echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1701  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1702echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1703   { (exit 1); exit 1; }; }
1704fi
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730ac_ext=c
1731ac_cpp='$CPP $CPPFLAGS'
1732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735
1736
1737am__api_version='1.10'
1738
1739ac_aux_dir=
1740for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741  if test -f "$ac_dir/install-sh"; then
1742    ac_aux_dir=$ac_dir
1743    ac_install_sh="$ac_aux_dir/install-sh -c"
1744    break
1745  elif test -f "$ac_dir/install.sh"; then
1746    ac_aux_dir=$ac_dir
1747    ac_install_sh="$ac_aux_dir/install.sh -c"
1748    break
1749  elif test -f "$ac_dir/shtool"; then
1750    ac_aux_dir=$ac_dir
1751    ac_install_sh="$ac_aux_dir/shtool install -c"
1752    break
1753  fi
1754done
1755if test -z "$ac_aux_dir"; then
1756  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1757echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1758   { (exit 1); exit 1; }; }
1759fi
1760
1761# These three variables are undocumented and unsupported,
1762# and are intended to be withdrawn in a future Autoconf release.
1763# They can cause serious problems if a builder's source tree is in a directory
1764# whose full name contains unusual characters.
1765ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1766ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1767ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1768
1769
1770# Find a good install program.  We prefer a C program (faster),
1771# so one script is as good as another.  But avoid the broken or
1772# incompatible versions:
1773# SysV /etc/install, /usr/sbin/install
1774# SunOS /usr/etc/install
1775# IRIX /sbin/install
1776# AIX /bin/install
1777# AmigaOS /C/install, which installs bootblocks on floppy discs
1778# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1779# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1780# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1781# OS/2's system install, which has a completely different semantic
1782# ./install, which can be erroneously created by make from ./install.sh.
1783{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1784echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1785if test -z "$INSTALL"; then
1786if test "${ac_cv_path_install+set}" = set; then
1787  echo $ECHO_N "(cached) $ECHO_C" >&6
1788else
1789  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790for as_dir in $PATH
1791do
1792  IFS=$as_save_IFS
1793  test -z "$as_dir" && as_dir=.
1794  # Account for people who put trailing slashes in PATH elements.
1795case $as_dir/ in
1796  ./ | .// | /cC/* | \
1797  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1799  /usr/ucb/* ) ;;
1800  *)
1801    # OSF1 and SCO ODT 3.0 have their own names for install.
1802    # Don't use installbsd from OSF since it installs stuff as root
1803    # by default.
1804    for ac_prog in ginstall scoinst install; do
1805      for ac_exec_ext in '' $ac_executable_extensions; do
1806	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1807	  if test $ac_prog = install &&
1808	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809	    # AIX install.  It has an incompatible calling convention.
1810	    :
1811	  elif test $ac_prog = install &&
1812	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813	    # program-specific install script used by HP pwplus--don't use.
1814	    :
1815	  else
1816	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1817	    break 3
1818	  fi
1819	fi
1820      done
1821    done
1822    ;;
1823esac
1824done
1825IFS=$as_save_IFS
1826
1827
1828fi
1829  if test "${ac_cv_path_install+set}" = set; then
1830    INSTALL=$ac_cv_path_install
1831  else
1832    # As a last resort, use the slow shell script.  Don't cache a
1833    # value for INSTALL within a source directory, because that will
1834    # break other packages using the cache if that directory is
1835    # removed, or if the value is a relative name.
1836    INSTALL=$ac_install_sh
1837  fi
1838fi
1839{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1840echo "${ECHO_T}$INSTALL" >&6; }
1841
1842# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843# It thinks the first close brace ends the variable substitution.
1844test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1845
1846test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1847
1848test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1849
1850{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1852# Just in case
1853sleep 1
1854echo timestamp > conftest.file
1855# Do `set' in a subshell so we don't clobber the current shell's
1856# arguments.  Must try -L first in case configure is actually a
1857# symlink; some systems play weird games with the mod time of symlinks
1858# (eg FreeBSD returns the mod time of the symlink's containing
1859# directory).
1860if (
1861   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862   if test "$*" = "X"; then
1863      # -L didn't work.
1864      set X `ls -t $srcdir/configure conftest.file`
1865   fi
1866   rm -f conftest.file
1867   if test "$*" != "X $srcdir/configure conftest.file" \
1868      && test "$*" != "X conftest.file $srcdir/configure"; then
1869
1870      # If neither matched, then we have a broken ls.  This can happen
1871      # if, for instance, CONFIG_SHELL is bash and it inherits a
1872      # broken ls alias from the environment.  This has actually
1873      # happened.  Such a system could not be considered "sane".
1874      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1875alias in your environment" >&5
1876echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1877alias in your environment" >&2;}
1878   { (exit 1); exit 1; }; }
1879   fi
1880
1881   test "$2" = conftest.file
1882   )
1883then
1884   # Ok.
1885   :
1886else
1887   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888Check your system clock" >&5
1889echo "$as_me: error: newly created file is older than distributed files!
1890Check your system clock" >&2;}
1891   { (exit 1); exit 1; }; }
1892fi
1893{ echo "$as_me:$LINENO: result: yes" >&5
1894echo "${ECHO_T}yes" >&6; }
1895test "$program_prefix" != NONE &&
1896  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1897# Use a double $ so make ignores it.
1898test "$program_suffix" != NONE &&
1899  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1900# Double any \ or $.  echo might interpret backslashes.
1901# By default was `s,x,x', remove it if useless.
1902cat <<\_ACEOF >conftest.sed
1903s/[\\$]/&&/g;s/;s,x,x,$//
1904_ACEOF
1905program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906rm -f conftest.sed
1907
1908# expand $ac_aux_dir to an absolute path
1909am_aux_dir=`cd $ac_aux_dir && pwd`
1910
1911test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912# Use eval to expand $SHELL
1913if eval "$MISSING --run true"; then
1914  am_missing_run="$MISSING --run "
1915else
1916  am_missing_run=
1917  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1919fi
1920
1921{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1923if test -z "$MKDIR_P"; then
1924  if test "${ac_cv_path_mkdir+set}" = set; then
1925  echo $ECHO_N "(cached) $ECHO_C" >&6
1926else
1927  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1929do
1930  IFS=$as_save_IFS
1931  test -z "$as_dir" && as_dir=.
1932  for ac_prog in mkdir gmkdir; do
1933	 for ac_exec_ext in '' $ac_executable_extensions; do
1934	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1935	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1936	     'mkdir (GNU coreutils) '* | \
1937	     'mkdir (coreutils) '* | \
1938	     'mkdir (fileutils) '4.1*)
1939	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1940	       break 3;;
1941	   esac
1942	 done
1943       done
1944done
1945IFS=$as_save_IFS
1946
1947fi
1948
1949  if test "${ac_cv_path_mkdir+set}" = set; then
1950    MKDIR_P="$ac_cv_path_mkdir -p"
1951  else
1952    # As a last resort, use the slow shell script.  Don't cache a
1953    # value for MKDIR_P within a source directory, because that will
1954    # break other packages using the cache if that directory is
1955    # removed, or if the value is a relative name.
1956    test -d ./--version && rmdir ./--version
1957    MKDIR_P="$ac_install_sh -d"
1958  fi
1959fi
1960{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1961echo "${ECHO_T}$MKDIR_P" >&6; }
1962
1963mkdir_p="$MKDIR_P"
1964case $mkdir_p in
1965  [\\/$]* | ?:[\\/]*) ;;
1966  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1967esac
1968
1969for ac_prog in gawk mawk nawk awk
1970do
1971  # Extract the first word of "$ac_prog", so it can be a program name with args.
1972set dummy $ac_prog; ac_word=$2
1973{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1974echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1975if test "${ac_cv_prog_AWK+set}" = set; then
1976  echo $ECHO_N "(cached) $ECHO_C" >&6
1977else
1978  if test -n "$AWK"; then
1979  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980else
1981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982for as_dir in $PATH
1983do
1984  IFS=$as_save_IFS
1985  test -z "$as_dir" && as_dir=.
1986  for ac_exec_ext in '' $ac_executable_extensions; do
1987  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988    ac_cv_prog_AWK="$ac_prog"
1989    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990    break 2
1991  fi
1992done
1993done
1994IFS=$as_save_IFS
1995
1996fi
1997fi
1998AWK=$ac_cv_prog_AWK
1999if test -n "$AWK"; then
2000  { echo "$as_me:$LINENO: result: $AWK" >&5
2001echo "${ECHO_T}$AWK" >&6; }
2002else
2003  { echo "$as_me:$LINENO: result: no" >&5
2004echo "${ECHO_T}no" >&6; }
2005fi
2006
2007
2008  test -n "$AWK" && break
2009done
2010
2011{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015  echo $ECHO_N "(cached) $ECHO_C" >&6
2016else
2017  cat >conftest.make <<\_ACEOF
2018SHELL = /bin/sh
2019all:
2020	@echo '@@@%%%=$(MAKE)=@@@%%%'
2021_ACEOF
2022# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024  *@@@%%%=?*=@@@%%%*)
2025    eval ac_cv_prog_make_${ac_make}_set=yes;;
2026  *)
2027    eval ac_cv_prog_make_${ac_make}_set=no;;
2028esac
2029rm -f conftest.make
2030fi
2031if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032  { echo "$as_me:$LINENO: result: yes" >&5
2033echo "${ECHO_T}yes" >&6; }
2034  SET_MAKE=
2035else
2036  { echo "$as_me:$LINENO: result: no" >&5
2037echo "${ECHO_T}no" >&6; }
2038  SET_MAKE="MAKE=${MAKE-make}"
2039fi
2040
2041rm -rf .tst 2>/dev/null
2042mkdir .tst 2>/dev/null
2043if test -d .tst; then
2044  am__leading_dot=.
2045else
2046  am__leading_dot=_
2047fi
2048rmdir .tst 2>/dev/null
2049
2050if test "`cd $srcdir && pwd`" != "`pwd`"; then
2051  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2052  # is not polluted with repeated "-I."
2053  am__isrc=' -I$(srcdir)'
2054  # test to see if srcdir already configured
2055  if test -f $srcdir/config.status; then
2056    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2057echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2058   { (exit 1); exit 1; }; }
2059  fi
2060fi
2061
2062# test whether we have cygpath
2063if test -z "$CYGPATH_W"; then
2064  if (cygpath --version) >/dev/null 2>/dev/null; then
2065    CYGPATH_W='cygpath -w'
2066  else
2067    CYGPATH_W=echo
2068  fi
2069fi
2070
2071
2072# Define the identity of the package.
2073 PACKAGE='mkfontscale'
2074 VERSION='1.0.5'
2075
2076
2077cat >>confdefs.h <<_ACEOF
2078#define PACKAGE "$PACKAGE"
2079_ACEOF
2080
2081
2082cat >>confdefs.h <<_ACEOF
2083#define VERSION "$VERSION"
2084_ACEOF
2085
2086# Some tools Automake needs.
2087
2088ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2089
2090
2091AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2092
2093
2094AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2095
2096
2097AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2098
2099
2100MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2101
2102install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2103
2104# Installed binaries are usually stripped using `strip' when the user
2105# run `make install-strip'.  However `strip' might not be the right
2106# tool to use in cross-compilation environments, therefore Automake
2107# will honor the `STRIP' environment variable to overrule this program.
2108if test "$cross_compiling" != no; then
2109  if test -n "$ac_tool_prefix"; then
2110  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2111set dummy ${ac_tool_prefix}strip; ac_word=$2
2112{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2113echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2114if test "${ac_cv_prog_STRIP+set}" = set; then
2115  echo $ECHO_N "(cached) $ECHO_C" >&6
2116else
2117  if test -n "$STRIP"; then
2118  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2119else
2120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121for as_dir in $PATH
2122do
2123  IFS=$as_save_IFS
2124  test -z "$as_dir" && as_dir=.
2125  for ac_exec_ext in '' $ac_executable_extensions; do
2126  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2128    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129    break 2
2130  fi
2131done
2132done
2133IFS=$as_save_IFS
2134
2135fi
2136fi
2137STRIP=$ac_cv_prog_STRIP
2138if test -n "$STRIP"; then
2139  { echo "$as_me:$LINENO: result: $STRIP" >&5
2140echo "${ECHO_T}$STRIP" >&6; }
2141else
2142  { echo "$as_me:$LINENO: result: no" >&5
2143echo "${ECHO_T}no" >&6; }
2144fi
2145
2146
2147fi
2148if test -z "$ac_cv_prog_STRIP"; then
2149  ac_ct_STRIP=$STRIP
2150  # Extract the first word of "strip", so it can be a program name with args.
2151set dummy strip; ac_word=$2
2152{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2153echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2154if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2155  echo $ECHO_N "(cached) $ECHO_C" >&6
2156else
2157  if test -n "$ac_ct_STRIP"; then
2158  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2159else
2160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161for as_dir in $PATH
2162do
2163  IFS=$as_save_IFS
2164  test -z "$as_dir" && as_dir=.
2165  for ac_exec_ext in '' $ac_executable_extensions; do
2166  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167    ac_cv_prog_ac_ct_STRIP="strip"
2168    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169    break 2
2170  fi
2171done
2172done
2173IFS=$as_save_IFS
2174
2175fi
2176fi
2177ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2178if test -n "$ac_ct_STRIP"; then
2179  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2180echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2181else
2182  { echo "$as_me:$LINENO: result: no" >&5
2183echo "${ECHO_T}no" >&6; }
2184fi
2185
2186  if test "x$ac_ct_STRIP" = x; then
2187    STRIP=":"
2188  else
2189    case $cross_compiling:$ac_tool_warned in
2190yes:)
2191{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2192whose name does not start with the host triplet.  If you think this
2193configuration is useful to you, please write to autoconf@gnu.org." >&5
2194echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2195whose name does not start with the host triplet.  If you think this
2196configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2197ac_tool_warned=yes ;;
2198esac
2199    STRIP=$ac_ct_STRIP
2200  fi
2201else
2202  STRIP="$ac_cv_prog_STRIP"
2203fi
2204
2205fi
2206INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2207
2208# We need awk for the "check" target.  The system "awk" is bad on
2209# some platforms.
2210# Always define AMTAR for backward compatibility.
2211
2212AMTAR=${AMTAR-"${am_missing_run}tar"}
2213
2214am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2215
2216
2217
2218
2219
2220{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2221echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2222    # Check whether --enable-maintainer-mode was given.
2223if test "${enable_maintainer_mode+set}" = set; then
2224  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2225else
2226  USE_MAINTAINER_MODE=no
2227fi
2228
2229  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2230echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2231   if test $USE_MAINTAINER_MODE = yes; then
2232  MAINTAINER_MODE_TRUE=
2233  MAINTAINER_MODE_FALSE='#'
2234else
2235  MAINTAINER_MODE_TRUE='#'
2236  MAINTAINER_MODE_FALSE=
2237fi
2238
2239  MAINT=$MAINTAINER_MODE_TRUE
2240
2241
2242
2243ac_config_headers="$ac_config_headers config.h"
2244
2245
2246ac_ext=c
2247ac_cpp='$CPP $CPPFLAGS'
2248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251if test -n "$ac_tool_prefix"; then
2252  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2253set dummy ${ac_tool_prefix}gcc; ac_word=$2
2254{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2255echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2256if test "${ac_cv_prog_CC+set}" = set; then
2257  echo $ECHO_N "(cached) $ECHO_C" >&6
2258else
2259  if test -n "$CC"; then
2260  ac_cv_prog_CC="$CC" # Let the user override the test.
2261else
2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263for as_dir in $PATH
2264do
2265  IFS=$as_save_IFS
2266  test -z "$as_dir" && as_dir=.
2267  for ac_exec_ext in '' $ac_executable_extensions; do
2268  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2270    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271    break 2
2272  fi
2273done
2274done
2275IFS=$as_save_IFS
2276
2277fi
2278fi
2279CC=$ac_cv_prog_CC
2280if test -n "$CC"; then
2281  { echo "$as_me:$LINENO: result: $CC" >&5
2282echo "${ECHO_T}$CC" >&6; }
2283else
2284  { echo "$as_me:$LINENO: result: no" >&5
2285echo "${ECHO_T}no" >&6; }
2286fi
2287
2288
2289fi
2290if test -z "$ac_cv_prog_CC"; then
2291  ac_ct_CC=$CC
2292  # Extract the first word of "gcc", so it can be a program name with args.
2293set dummy gcc; ac_word=$2
2294{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2295echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2297  echo $ECHO_N "(cached) $ECHO_C" >&6
2298else
2299  if test -n "$ac_ct_CC"; then
2300  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301else
2302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303for as_dir in $PATH
2304do
2305  IFS=$as_save_IFS
2306  test -z "$as_dir" && as_dir=.
2307  for ac_exec_ext in '' $ac_executable_extensions; do
2308  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309    ac_cv_prog_ac_ct_CC="gcc"
2310    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311    break 2
2312  fi
2313done
2314done
2315IFS=$as_save_IFS
2316
2317fi
2318fi
2319ac_ct_CC=$ac_cv_prog_ac_ct_CC
2320if test -n "$ac_ct_CC"; then
2321  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2322echo "${ECHO_T}$ac_ct_CC" >&6; }
2323else
2324  { echo "$as_me:$LINENO: result: no" >&5
2325echo "${ECHO_T}no" >&6; }
2326fi
2327
2328  if test "x$ac_ct_CC" = x; then
2329    CC=""
2330  else
2331    case $cross_compiling:$ac_tool_warned in
2332yes:)
2333{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2334whose name does not start with the host triplet.  If you think this
2335configuration is useful to you, please write to autoconf@gnu.org." >&5
2336echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2337whose name does not start with the host triplet.  If you think this
2338configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2339ac_tool_warned=yes ;;
2340esac
2341    CC=$ac_ct_CC
2342  fi
2343else
2344  CC="$ac_cv_prog_CC"
2345fi
2346
2347if test -z "$CC"; then
2348          if test -n "$ac_tool_prefix"; then
2349    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350set dummy ${ac_tool_prefix}cc; ac_word=$2
2351{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2352echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353if test "${ac_cv_prog_CC+set}" = set; then
2354  echo $ECHO_N "(cached) $ECHO_C" >&6
2355else
2356  if test -n "$CC"; then
2357  ac_cv_prog_CC="$CC" # Let the user override the test.
2358else
2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360for as_dir in $PATH
2361do
2362  IFS=$as_save_IFS
2363  test -z "$as_dir" && as_dir=.
2364  for ac_exec_ext in '' $ac_executable_extensions; do
2365  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366    ac_cv_prog_CC="${ac_tool_prefix}cc"
2367    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368    break 2
2369  fi
2370done
2371done
2372IFS=$as_save_IFS
2373
2374fi
2375fi
2376CC=$ac_cv_prog_CC
2377if test -n "$CC"; then
2378  { echo "$as_me:$LINENO: result: $CC" >&5
2379echo "${ECHO_T}$CC" >&6; }
2380else
2381  { echo "$as_me:$LINENO: result: no" >&5
2382echo "${ECHO_T}no" >&6; }
2383fi
2384
2385
2386  fi
2387fi
2388if test -z "$CC"; then
2389  # Extract the first word of "cc", so it can be a program name with args.
2390set dummy cc; ac_word=$2
2391{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393if test "${ac_cv_prog_CC+set}" = set; then
2394  echo $ECHO_N "(cached) $ECHO_C" >&6
2395else
2396  if test -n "$CC"; then
2397  ac_cv_prog_CC="$CC" # Let the user override the test.
2398else
2399  ac_prog_rejected=no
2400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401for as_dir in $PATH
2402do
2403  IFS=$as_save_IFS
2404  test -z "$as_dir" && as_dir=.
2405  for ac_exec_ext in '' $ac_executable_extensions; do
2406  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2408       ac_prog_rejected=yes
2409       continue
2410     fi
2411    ac_cv_prog_CC="cc"
2412    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413    break 2
2414  fi
2415done
2416done
2417IFS=$as_save_IFS
2418
2419if test $ac_prog_rejected = yes; then
2420  # We found a bogon in the path, so make sure we never use it.
2421  set dummy $ac_cv_prog_CC
2422  shift
2423  if test $# != 0; then
2424    # We chose a different compiler from the bogus one.
2425    # However, it has the same basename, so the bogon will be chosen
2426    # first if we set CC to just the basename; use the full file name.
2427    shift
2428    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2429  fi
2430fi
2431fi
2432fi
2433CC=$ac_cv_prog_CC
2434if test -n "$CC"; then
2435  { echo "$as_me:$LINENO: result: $CC" >&5
2436echo "${ECHO_T}$CC" >&6; }
2437else
2438  { echo "$as_me:$LINENO: result: no" >&5
2439echo "${ECHO_T}no" >&6; }
2440fi
2441
2442
2443fi
2444if test -z "$CC"; then
2445  if test -n "$ac_tool_prefix"; then
2446  for ac_prog in cl.exe
2447  do
2448    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2449set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2450{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2451echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452if test "${ac_cv_prog_CC+set}" = set; then
2453  echo $ECHO_N "(cached) $ECHO_C" >&6
2454else
2455  if test -n "$CC"; then
2456  ac_cv_prog_CC="$CC" # Let the user override the test.
2457else
2458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459for as_dir in $PATH
2460do
2461  IFS=$as_save_IFS
2462  test -z "$as_dir" && as_dir=.
2463  for ac_exec_ext in '' $ac_executable_extensions; do
2464  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2466    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467    break 2
2468  fi
2469done
2470done
2471IFS=$as_save_IFS
2472
2473fi
2474fi
2475CC=$ac_cv_prog_CC
2476if test -n "$CC"; then
2477  { echo "$as_me:$LINENO: result: $CC" >&5
2478echo "${ECHO_T}$CC" >&6; }
2479else
2480  { echo "$as_me:$LINENO: result: no" >&5
2481echo "${ECHO_T}no" >&6; }
2482fi
2483
2484
2485    test -n "$CC" && break
2486  done
2487fi
2488if test -z "$CC"; then
2489  ac_ct_CC=$CC
2490  for ac_prog in cl.exe
2491do
2492  # Extract the first word of "$ac_prog", so it can be a program name with args.
2493set dummy $ac_prog; ac_word=$2
2494{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2495echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2497  echo $ECHO_N "(cached) $ECHO_C" >&6
2498else
2499  if test -n "$ac_ct_CC"; then
2500  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501else
2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503for as_dir in $PATH
2504do
2505  IFS=$as_save_IFS
2506  test -z "$as_dir" && as_dir=.
2507  for ac_exec_ext in '' $ac_executable_extensions; do
2508  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509    ac_cv_prog_ac_ct_CC="$ac_prog"
2510    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511    break 2
2512  fi
2513done
2514done
2515IFS=$as_save_IFS
2516
2517fi
2518fi
2519ac_ct_CC=$ac_cv_prog_ac_ct_CC
2520if test -n "$ac_ct_CC"; then
2521  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2522echo "${ECHO_T}$ac_ct_CC" >&6; }
2523else
2524  { echo "$as_me:$LINENO: result: no" >&5
2525echo "${ECHO_T}no" >&6; }
2526fi
2527
2528
2529  test -n "$ac_ct_CC" && break
2530done
2531
2532  if test "x$ac_ct_CC" = x; then
2533    CC=""
2534  else
2535    case $cross_compiling:$ac_tool_warned in
2536yes:)
2537{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2538whose name does not start with the host triplet.  If you think this
2539configuration is useful to you, please write to autoconf@gnu.org." >&5
2540echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2541whose name does not start with the host triplet.  If you think this
2542configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2543ac_tool_warned=yes ;;
2544esac
2545    CC=$ac_ct_CC
2546  fi
2547fi
2548
2549fi
2550
2551
2552test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2553See \`config.log' for more details." >&5
2554echo "$as_me: error: no acceptable C compiler found in \$PATH
2555See \`config.log' for more details." >&2;}
2556   { (exit 1); exit 1; }; }
2557
2558# Provide some information about the compiler.
2559echo "$as_me:$LINENO: checking for C compiler version" >&5
2560ac_compiler=`set X $ac_compile; echo $2`
2561{ (ac_try="$ac_compiler --version >&5"
2562case "(($ac_try" in
2563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564  *) ac_try_echo=$ac_try;;
2565esac
2566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2567  (eval "$ac_compiler --version >&5") 2>&5
2568  ac_status=$?
2569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570  (exit $ac_status); }
2571{ (ac_try="$ac_compiler -v >&5"
2572case "(($ac_try" in
2573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574  *) ac_try_echo=$ac_try;;
2575esac
2576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577  (eval "$ac_compiler -v >&5") 2>&5
2578  ac_status=$?
2579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580  (exit $ac_status); }
2581{ (ac_try="$ac_compiler -V >&5"
2582case "(($ac_try" in
2583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584  *) ac_try_echo=$ac_try;;
2585esac
2586eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2587  (eval "$ac_compiler -V >&5") 2>&5
2588  ac_status=$?
2589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590  (exit $ac_status); }
2591
2592cat >conftest.$ac_ext <<_ACEOF
2593/* confdefs.h.  */
2594_ACEOF
2595cat confdefs.h >>conftest.$ac_ext
2596cat >>conftest.$ac_ext <<_ACEOF
2597/* end confdefs.h.  */
2598
2599int
2600main ()
2601{
2602
2603  ;
2604  return 0;
2605}
2606_ACEOF
2607ac_clean_files_save=$ac_clean_files
2608ac_clean_files="$ac_clean_files a.out a.exe b.out"
2609# Try to create an executable without -o first, disregard a.out.
2610# It will help us diagnose broken compilers, and finding out an intuition
2611# of exeext.
2612{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2613echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2614ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2615#
2616# List of possible output files, starting from the most likely.
2617# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2618# only as a last resort.  b.out is created by i960 compilers.
2619ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2620#
2621# The IRIX 6 linker writes into existing files which may not be
2622# executable, retaining their permissions.  Remove them first so a
2623# subsequent execution test works.
2624ac_rmfiles=
2625for ac_file in $ac_files
2626do
2627  case $ac_file in
2628    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2629    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2630  esac
2631done
2632rm -f $ac_rmfiles
2633
2634if { (ac_try="$ac_link_default"
2635case "(($ac_try" in
2636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637  *) ac_try_echo=$ac_try;;
2638esac
2639eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2640  (eval "$ac_link_default") 2>&5
2641  ac_status=$?
2642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643  (exit $ac_status); }; then
2644  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2645# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2646# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2647# so that the user can short-circuit this test for compilers unknown to
2648# Autoconf.
2649for ac_file in $ac_files ''
2650do
2651  test -f "$ac_file" || continue
2652  case $ac_file in
2653    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2654	;;
2655    [ab].out )
2656	# We found the default executable, but exeext='' is most
2657	# certainly right.
2658	break;;
2659    *.* )
2660        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2661	then :; else
2662	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2663	fi
2664	# We set ac_cv_exeext here because the later test for it is not
2665	# safe: cross compilers may not add the suffix if given an `-o'
2666	# argument, so we may need to know it at that point already.
2667	# Even if this section looks crufty: it has the advantage of
2668	# actually working.
2669	break;;
2670    * )
2671	break;;
2672  esac
2673done
2674test "$ac_cv_exeext" = no && ac_cv_exeext=
2675
2676else
2677  ac_file=''
2678fi
2679
2680{ echo "$as_me:$LINENO: result: $ac_file" >&5
2681echo "${ECHO_T}$ac_file" >&6; }
2682if test -z "$ac_file"; then
2683  echo "$as_me: failed program was:" >&5
2684sed 's/^/| /' conftest.$ac_ext >&5
2685
2686{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2687See \`config.log' for more details." >&5
2688echo "$as_me: error: C compiler cannot create executables
2689See \`config.log' for more details." >&2;}
2690   { (exit 77); exit 77; }; }
2691fi
2692
2693ac_exeext=$ac_cv_exeext
2694
2695# Check that the compiler produces executables we can run.  If not, either
2696# the compiler is broken, or we cross compile.
2697{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2698echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2699# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2700# If not cross compiling, check that we can run a simple program.
2701if test "$cross_compiling" != yes; then
2702  if { ac_try='./$ac_file'
2703  { (case "(($ac_try" in
2704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705  *) ac_try_echo=$ac_try;;
2706esac
2707eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2708  (eval "$ac_try") 2>&5
2709  ac_status=$?
2710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711  (exit $ac_status); }; }; then
2712    cross_compiling=no
2713  else
2714    if test "$cross_compiling" = maybe; then
2715	cross_compiling=yes
2716    else
2717	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2718If you meant to cross compile, use \`--host'.
2719See \`config.log' for more details." >&5
2720echo "$as_me: error: cannot run C compiled programs.
2721If you meant to cross compile, use \`--host'.
2722See \`config.log' for more details." >&2;}
2723   { (exit 1); exit 1; }; }
2724    fi
2725  fi
2726fi
2727{ echo "$as_me:$LINENO: result: yes" >&5
2728echo "${ECHO_T}yes" >&6; }
2729
2730rm -f a.out a.exe conftest$ac_cv_exeext b.out
2731ac_clean_files=$ac_clean_files_save
2732# Check that the compiler produces executables we can run.  If not, either
2733# the compiler is broken, or we cross compile.
2734{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2735echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2736{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2737echo "${ECHO_T}$cross_compiling" >&6; }
2738
2739{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2740echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2741if { (ac_try="$ac_link"
2742case "(($ac_try" in
2743  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744  *) ac_try_echo=$ac_try;;
2745esac
2746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747  (eval "$ac_link") 2>&5
2748  ac_status=$?
2749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750  (exit $ac_status); }; then
2751  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2752# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2753# work properly (i.e., refer to `conftest.exe'), while it won't with
2754# `rm'.
2755for ac_file in conftest.exe conftest conftest.*; do
2756  test -f "$ac_file" || continue
2757  case $ac_file in
2758    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2759    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2760	  break;;
2761    * ) break;;
2762  esac
2763done
2764else
2765  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2766See \`config.log' for more details." >&5
2767echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2768See \`config.log' for more details." >&2;}
2769   { (exit 1); exit 1; }; }
2770fi
2771
2772rm -f conftest$ac_cv_exeext
2773{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2774echo "${ECHO_T}$ac_cv_exeext" >&6; }
2775
2776rm -f conftest.$ac_ext
2777EXEEXT=$ac_cv_exeext
2778ac_exeext=$EXEEXT
2779{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2780echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2781if test "${ac_cv_objext+set}" = set; then
2782  echo $ECHO_N "(cached) $ECHO_C" >&6
2783else
2784  cat >conftest.$ac_ext <<_ACEOF
2785/* confdefs.h.  */
2786_ACEOF
2787cat confdefs.h >>conftest.$ac_ext
2788cat >>conftest.$ac_ext <<_ACEOF
2789/* end confdefs.h.  */
2790
2791int
2792main ()
2793{
2794
2795  ;
2796  return 0;
2797}
2798_ACEOF
2799rm -f conftest.o conftest.obj
2800if { (ac_try="$ac_compile"
2801case "(($ac_try" in
2802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803  *) ac_try_echo=$ac_try;;
2804esac
2805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2806  (eval "$ac_compile") 2>&5
2807  ac_status=$?
2808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809  (exit $ac_status); }; then
2810  for ac_file in conftest.o conftest.obj conftest.*; do
2811  test -f "$ac_file" || continue;
2812  case $ac_file in
2813    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2814    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2815       break;;
2816  esac
2817done
2818else
2819  echo "$as_me: failed program was:" >&5
2820sed 's/^/| /' conftest.$ac_ext >&5
2821
2822{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2823See \`config.log' for more details." >&5
2824echo "$as_me: error: cannot compute suffix of object files: cannot compile
2825See \`config.log' for more details." >&2;}
2826   { (exit 1); exit 1; }; }
2827fi
2828
2829rm -f conftest.$ac_cv_objext conftest.$ac_ext
2830fi
2831{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2832echo "${ECHO_T}$ac_cv_objext" >&6; }
2833OBJEXT=$ac_cv_objext
2834ac_objext=$OBJEXT
2835{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2836echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2837if test "${ac_cv_c_compiler_gnu+set}" = set; then
2838  echo $ECHO_N "(cached) $ECHO_C" >&6
2839else
2840  cat >conftest.$ac_ext <<_ACEOF
2841/* confdefs.h.  */
2842_ACEOF
2843cat confdefs.h >>conftest.$ac_ext
2844cat >>conftest.$ac_ext <<_ACEOF
2845/* end confdefs.h.  */
2846
2847int
2848main ()
2849{
2850#ifndef __GNUC__
2851       choke me
2852#endif
2853
2854  ;
2855  return 0;
2856}
2857_ACEOF
2858rm -f conftest.$ac_objext
2859if { (ac_try="$ac_compile"
2860case "(($ac_try" in
2861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862  *) ac_try_echo=$ac_try;;
2863esac
2864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865  (eval "$ac_compile") 2>conftest.er1
2866  ac_status=$?
2867  grep -v '^ *+' conftest.er1 >conftest.err
2868  rm -f conftest.er1
2869  cat conftest.err >&5
2870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871  (exit $ac_status); } && {
2872	 test -z "$ac_c_werror_flag" ||
2873	 test ! -s conftest.err
2874       } && test -s conftest.$ac_objext; then
2875  ac_compiler_gnu=yes
2876else
2877  echo "$as_me: failed program was:" >&5
2878sed 's/^/| /' conftest.$ac_ext >&5
2879
2880	ac_compiler_gnu=no
2881fi
2882
2883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884ac_cv_c_compiler_gnu=$ac_compiler_gnu
2885
2886fi
2887{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2888echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2889GCC=`test $ac_compiler_gnu = yes && echo yes`
2890ac_test_CFLAGS=${CFLAGS+set}
2891ac_save_CFLAGS=$CFLAGS
2892{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2893echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2894if test "${ac_cv_prog_cc_g+set}" = set; then
2895  echo $ECHO_N "(cached) $ECHO_C" >&6
2896else
2897  ac_save_c_werror_flag=$ac_c_werror_flag
2898   ac_c_werror_flag=yes
2899   ac_cv_prog_cc_g=no
2900   CFLAGS="-g"
2901   cat >conftest.$ac_ext <<_ACEOF
2902/* confdefs.h.  */
2903_ACEOF
2904cat confdefs.h >>conftest.$ac_ext
2905cat >>conftest.$ac_ext <<_ACEOF
2906/* end confdefs.h.  */
2907
2908int
2909main ()
2910{
2911
2912  ;
2913  return 0;
2914}
2915_ACEOF
2916rm -f conftest.$ac_objext
2917if { (ac_try="$ac_compile"
2918case "(($ac_try" in
2919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920  *) ac_try_echo=$ac_try;;
2921esac
2922eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2923  (eval "$ac_compile") 2>conftest.er1
2924  ac_status=$?
2925  grep -v '^ *+' conftest.er1 >conftest.err
2926  rm -f conftest.er1
2927  cat conftest.err >&5
2928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929  (exit $ac_status); } && {
2930	 test -z "$ac_c_werror_flag" ||
2931	 test ! -s conftest.err
2932       } && test -s conftest.$ac_objext; then
2933  ac_cv_prog_cc_g=yes
2934else
2935  echo "$as_me: failed program was:" >&5
2936sed 's/^/| /' conftest.$ac_ext >&5
2937
2938	CFLAGS=""
2939      cat >conftest.$ac_ext <<_ACEOF
2940/* confdefs.h.  */
2941_ACEOF
2942cat confdefs.h >>conftest.$ac_ext
2943cat >>conftest.$ac_ext <<_ACEOF
2944/* end confdefs.h.  */
2945
2946int
2947main ()
2948{
2949
2950  ;
2951  return 0;
2952}
2953_ACEOF
2954rm -f conftest.$ac_objext
2955if { (ac_try="$ac_compile"
2956case "(($ac_try" in
2957  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958  *) ac_try_echo=$ac_try;;
2959esac
2960eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961  (eval "$ac_compile") 2>conftest.er1
2962  ac_status=$?
2963  grep -v '^ *+' conftest.er1 >conftest.err
2964  rm -f conftest.er1
2965  cat conftest.err >&5
2966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967  (exit $ac_status); } && {
2968	 test -z "$ac_c_werror_flag" ||
2969	 test ! -s conftest.err
2970       } && test -s conftest.$ac_objext; then
2971  :
2972else
2973  echo "$as_me: failed program was:" >&5
2974sed 's/^/| /' conftest.$ac_ext >&5
2975
2976	ac_c_werror_flag=$ac_save_c_werror_flag
2977	 CFLAGS="-g"
2978	 cat >conftest.$ac_ext <<_ACEOF
2979/* confdefs.h.  */
2980_ACEOF
2981cat confdefs.h >>conftest.$ac_ext
2982cat >>conftest.$ac_ext <<_ACEOF
2983/* end confdefs.h.  */
2984
2985int
2986main ()
2987{
2988
2989  ;
2990  return 0;
2991}
2992_ACEOF
2993rm -f conftest.$ac_objext
2994if { (ac_try="$ac_compile"
2995case "(($ac_try" in
2996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997  *) ac_try_echo=$ac_try;;
2998esac
2999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3000  (eval "$ac_compile") 2>conftest.er1
3001  ac_status=$?
3002  grep -v '^ *+' conftest.er1 >conftest.err
3003  rm -f conftest.er1
3004  cat conftest.err >&5
3005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006  (exit $ac_status); } && {
3007	 test -z "$ac_c_werror_flag" ||
3008	 test ! -s conftest.err
3009       } && test -s conftest.$ac_objext; then
3010  ac_cv_prog_cc_g=yes
3011else
3012  echo "$as_me: failed program was:" >&5
3013sed 's/^/| /' conftest.$ac_ext >&5
3014
3015
3016fi
3017
3018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019fi
3020
3021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022fi
3023
3024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025   ac_c_werror_flag=$ac_save_c_werror_flag
3026fi
3027{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3028echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3029if test "$ac_test_CFLAGS" = set; then
3030  CFLAGS=$ac_save_CFLAGS
3031elif test $ac_cv_prog_cc_g = yes; then
3032  if test "$GCC" = yes; then
3033    CFLAGS="-g -O2"
3034  else
3035    CFLAGS="-g"
3036  fi
3037else
3038  if test "$GCC" = yes; then
3039    CFLAGS="-O2"
3040  else
3041    CFLAGS=
3042  fi
3043fi
3044{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3045echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3046if test "${ac_cv_prog_cc_c89+set}" = set; then
3047  echo $ECHO_N "(cached) $ECHO_C" >&6
3048else
3049  ac_cv_prog_cc_c89=no
3050ac_save_CC=$CC
3051cat >conftest.$ac_ext <<_ACEOF
3052/* confdefs.h.  */
3053_ACEOF
3054cat confdefs.h >>conftest.$ac_ext
3055cat >>conftest.$ac_ext <<_ACEOF
3056/* end confdefs.h.  */
3057#include <stdarg.h>
3058#include <stdio.h>
3059#include <sys/types.h>
3060#include <sys/stat.h>
3061/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3062struct buf { int x; };
3063FILE * (*rcsopen) (struct buf *, struct stat *, int);
3064static char *e (p, i)
3065     char **p;
3066     int i;
3067{
3068  return p[i];
3069}
3070static char *f (char * (*g) (char **, int), char **p, ...)
3071{
3072  char *s;
3073  va_list v;
3074  va_start (v,p);
3075  s = g (p, va_arg (v,int));
3076  va_end (v);
3077  return s;
3078}
3079
3080/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3081   function prototypes and stuff, but not '\xHH' hex character constants.
3082   These don't provoke an error unfortunately, instead are silently treated
3083   as 'x'.  The following induces an error, until -std is added to get
3084   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3085   array size at least.  It's necessary to write '\x00'==0 to get something
3086   that's true only with -std.  */
3087int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3088
3089/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3090   inside strings and character constants.  */
3091#define FOO(x) 'x'
3092int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3093
3094int test (int i, double x);
3095struct s1 {int (*f) (int a);};
3096struct s2 {int (*f) (double a);};
3097int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3098int argc;
3099char **argv;
3100int
3101main ()
3102{
3103return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3104  ;
3105  return 0;
3106}
3107_ACEOF
3108for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3109	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3110do
3111  CC="$ac_save_CC $ac_arg"
3112  rm -f conftest.$ac_objext
3113if { (ac_try="$ac_compile"
3114case "(($ac_try" in
3115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116  *) ac_try_echo=$ac_try;;
3117esac
3118eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119  (eval "$ac_compile") 2>conftest.er1
3120  ac_status=$?
3121  grep -v '^ *+' conftest.er1 >conftest.err
3122  rm -f conftest.er1
3123  cat conftest.err >&5
3124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125  (exit $ac_status); } && {
3126	 test -z "$ac_c_werror_flag" ||
3127	 test ! -s conftest.err
3128       } && test -s conftest.$ac_objext; then
3129  ac_cv_prog_cc_c89=$ac_arg
3130else
3131  echo "$as_me: failed program was:" >&5
3132sed 's/^/| /' conftest.$ac_ext >&5
3133
3134
3135fi
3136
3137rm -f core conftest.err conftest.$ac_objext
3138  test "x$ac_cv_prog_cc_c89" != "xno" && break
3139done
3140rm -f conftest.$ac_ext
3141CC=$ac_save_CC
3142
3143fi
3144# AC_CACHE_VAL
3145case "x$ac_cv_prog_cc_c89" in
3146  x)
3147    { echo "$as_me:$LINENO: result: none needed" >&5
3148echo "${ECHO_T}none needed" >&6; } ;;
3149  xno)
3150    { echo "$as_me:$LINENO: result: unsupported" >&5
3151echo "${ECHO_T}unsupported" >&6; } ;;
3152  *)
3153    CC="$CC $ac_cv_prog_cc_c89"
3154    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3155echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3156esac
3157
3158
3159ac_ext=c
3160ac_cpp='$CPP $CPPFLAGS'
3161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163ac_compiler_gnu=$ac_cv_c_compiler_gnu
3164DEPDIR="${am__leading_dot}deps"
3165
3166ac_config_commands="$ac_config_commands depfiles"
3167
3168
3169am_make=${MAKE-make}
3170cat > confinc << 'END'
3171am__doit:
3172	@echo done
3173.PHONY: am__doit
3174END
3175# If we don't find an include directive, just comment out the code.
3176{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3177echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3178am__include="#"
3179am__quote=
3180_am_result=none
3181# First try GNU make style include.
3182echo "include confinc" > confmf
3183# We grep out `Entering directory' and `Leaving directory'
3184# messages which can occur if `w' ends up in MAKEFLAGS.
3185# In particular we don't look at `^make:' because GNU make might
3186# be invoked under some other name (usually "gmake"), in which
3187# case it prints its new name instead of `make'.
3188if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3189   am__include=include
3190   am__quote=
3191   _am_result=GNU
3192fi
3193# Now try BSD make style include.
3194if test "$am__include" = "#"; then
3195   echo '.include "confinc"' > confmf
3196   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3197      am__include=.include
3198      am__quote="\""
3199      _am_result=BSD
3200   fi
3201fi
3202
3203
3204{ echo "$as_me:$LINENO: result: $_am_result" >&5
3205echo "${ECHO_T}$_am_result" >&6; }
3206rm -f confinc confmf
3207
3208# Check whether --enable-dependency-tracking was given.
3209if test "${enable_dependency_tracking+set}" = set; then
3210  enableval=$enable_dependency_tracking;
3211fi
3212
3213if test "x$enable_dependency_tracking" != xno; then
3214  am_depcomp="$ac_aux_dir/depcomp"
3215  AMDEPBACKSLASH='\'
3216fi
3217 if test "x$enable_dependency_tracking" != xno; then
3218  AMDEP_TRUE=
3219  AMDEP_FALSE='#'
3220else
3221  AMDEP_TRUE='#'
3222  AMDEP_FALSE=
3223fi
3224
3225
3226
3227depcc="$CC"   am_compiler_list=
3228
3229{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3230echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3231if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3232  echo $ECHO_N "(cached) $ECHO_C" >&6
3233else
3234  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3235  # We make a subdir and do the tests there.  Otherwise we can end up
3236  # making bogus files that we don't know about and never remove.  For
3237  # instance it was reported that on HP-UX the gcc test will end up
3238  # making a dummy file named `D' -- because `-MD' means `put the output
3239  # in D'.
3240  mkdir conftest.dir
3241  # Copy depcomp to subdir because otherwise we won't find it if we're
3242  # using a relative directory.
3243  cp "$am_depcomp" conftest.dir
3244  cd conftest.dir
3245  # We will build objects and dependencies in a subdirectory because
3246  # it helps to detect inapplicable dependency modes.  For instance
3247  # both Tru64's cc and ICC support -MD to output dependencies as a
3248  # side effect of compilation, but ICC will put the dependencies in
3249  # the current directory while Tru64 will put them in the object
3250  # directory.
3251  mkdir sub
3252
3253  am_cv_CC_dependencies_compiler_type=none
3254  if test "$am_compiler_list" = ""; then
3255     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3256  fi
3257  for depmode in $am_compiler_list; do
3258    # Setup a source with many dependencies, because some compilers
3259    # like to wrap large dependency lists on column 80 (with \), and
3260    # we should not choose a depcomp mode which is confused by this.
3261    #
3262    # We need to recreate these files for each test, as the compiler may
3263    # overwrite some of them when testing with obscure command lines.
3264    # This happens at least with the AIX C compiler.
3265    : > sub/conftest.c
3266    for i in 1 2 3 4 5 6; do
3267      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3268      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3269      # Solaris 8's {/usr,}/bin/sh.
3270      touch sub/conftst$i.h
3271    done
3272    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3273
3274    case $depmode in
3275    nosideeffect)
3276      # after this tag, mechanisms are not by side-effect, so they'll
3277      # only be used when explicitly requested
3278      if test "x$enable_dependency_tracking" = xyes; then
3279	continue
3280      else
3281	break
3282      fi
3283      ;;
3284    none) break ;;
3285    esac
3286    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3287    # mode.  It turns out that the SunPro C++ compiler does not properly
3288    # handle `-M -o', and we need to detect this.
3289    if depmode=$depmode \
3290       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3291       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3292       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3293         >/dev/null 2>conftest.err &&
3294       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3295       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3296       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3297       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3298      # icc doesn't choke on unknown options, it will just issue warnings
3299      # or remarks (even with -Werror).  So we grep stderr for any message
3300      # that says an option was ignored or not supported.
3301      # When given -MP, icc 7.0 and 7.1 complain thusly:
3302      #   icc: Command line warning: ignoring option '-M'; no argument required
3303      # The diagnosis changed in icc 8.0:
3304      #   icc: Command line remark: option '-MP' not supported
3305      if (grep 'ignoring option' conftest.err ||
3306          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3307        am_cv_CC_dependencies_compiler_type=$depmode
3308        break
3309      fi
3310    fi
3311  done
3312
3313  cd ..
3314  rm -rf conftest.dir
3315else
3316  am_cv_CC_dependencies_compiler_type=none
3317fi
3318
3319fi
3320{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3321echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3322CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3323
3324 if
3325  test "x$enable_dependency_tracking" != xno \
3326  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3327  am__fastdepCC_TRUE=
3328  am__fastdepCC_FALSE='#'
3329else
3330  am__fastdepCC_TRUE='#'
3331  am__fastdepCC_FALSE=
3332fi
3333
3334
3335# Find a good install program.  We prefer a C program (faster),
3336# so one script is as good as another.  But avoid the broken or
3337# incompatible versions:
3338# SysV /etc/install, /usr/sbin/install
3339# SunOS /usr/etc/install
3340# IRIX /sbin/install
3341# AIX /bin/install
3342# AmigaOS /C/install, which installs bootblocks on floppy discs
3343# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3344# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3345# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3346# OS/2's system install, which has a completely different semantic
3347# ./install, which can be erroneously created by make from ./install.sh.
3348{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3349echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3350if test -z "$INSTALL"; then
3351if test "${ac_cv_path_install+set}" = set; then
3352  echo $ECHO_N "(cached) $ECHO_C" >&6
3353else
3354  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355for as_dir in $PATH
3356do
3357  IFS=$as_save_IFS
3358  test -z "$as_dir" && as_dir=.
3359  # Account for people who put trailing slashes in PATH elements.
3360case $as_dir/ in
3361  ./ | .// | /cC/* | \
3362  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3363  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3364  /usr/ucb/* ) ;;
3365  *)
3366    # OSF1 and SCO ODT 3.0 have their own names for install.
3367    # Don't use installbsd from OSF since it installs stuff as root
3368    # by default.
3369    for ac_prog in ginstall scoinst install; do
3370      for ac_exec_ext in '' $ac_executable_extensions; do
3371	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3372	  if test $ac_prog = install &&
3373	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3374	    # AIX install.  It has an incompatible calling convention.
3375	    :
3376	  elif test $ac_prog = install &&
3377	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3378	    # program-specific install script used by HP pwplus--don't use.
3379	    :
3380	  else
3381	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3382	    break 3
3383	  fi
3384	fi
3385      done
3386    done
3387    ;;
3388esac
3389done
3390IFS=$as_save_IFS
3391
3392
3393fi
3394  if test "${ac_cv_path_install+set}" = set; then
3395    INSTALL=$ac_cv_path_install
3396  else
3397    # As a last resort, use the slow shell script.  Don't cache a
3398    # value for INSTALL within a source directory, because that will
3399    # break other packages using the cache if that directory is
3400    # removed, or if the value is a relative name.
3401    INSTALL=$ac_install_sh
3402  fi
3403fi
3404{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3405echo "${ECHO_T}$INSTALL" >&6; }
3406
3407# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3408# It thinks the first close brace ends the variable substitution.
3409test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3410
3411test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3412
3413test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3414
3415
3416
3417
3418{ echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
3419echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; }
3420if test "${ac_cv_lib_z_gzopen+set}" = set; then
3421  echo $ECHO_N "(cached) $ECHO_C" >&6
3422else
3423  ac_check_lib_save_LIBS=$LIBS
3424LIBS="-lz  $LIBS"
3425cat >conftest.$ac_ext <<_ACEOF
3426/* confdefs.h.  */
3427_ACEOF
3428cat confdefs.h >>conftest.$ac_ext
3429cat >>conftest.$ac_ext <<_ACEOF
3430/* end confdefs.h.  */
3431
3432/* Override any GCC internal prototype to avoid an error.
3433   Use char because int might match the return type of a GCC
3434   builtin and then its argument prototype would still apply.  */
3435#ifdef __cplusplus
3436extern "C"
3437#endif
3438char gzopen ();
3439int
3440main ()
3441{
3442return gzopen ();
3443  ;
3444  return 0;
3445}
3446_ACEOF
3447rm -f conftest.$ac_objext conftest$ac_exeext
3448if { (ac_try="$ac_link"
3449case "(($ac_try" in
3450  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451  *) ac_try_echo=$ac_try;;
3452esac
3453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3454  (eval "$ac_link") 2>conftest.er1
3455  ac_status=$?
3456  grep -v '^ *+' conftest.er1 >conftest.err
3457  rm -f conftest.er1
3458  cat conftest.err >&5
3459  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460  (exit $ac_status); } && {
3461	 test -z "$ac_c_werror_flag" ||
3462	 test ! -s conftest.err
3463       } && test -s conftest$ac_exeext &&
3464       $as_test_x conftest$ac_exeext; then
3465  ac_cv_lib_z_gzopen=yes
3466else
3467  echo "$as_me: failed program was:" >&5
3468sed 's/^/| /' conftest.$ac_ext >&5
3469
3470	ac_cv_lib_z_gzopen=no
3471fi
3472
3473rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3474      conftest$ac_exeext conftest.$ac_ext
3475LIBS=$ac_check_lib_save_LIBS
3476fi
3477{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
3478echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; }
3479if test $ac_cv_lib_z_gzopen = yes; then
3480  cat >>confdefs.h <<_ACEOF
3481#define HAVE_LIBZ 1
3482_ACEOF
3483
3484  LIBS="-lz $LIBS"
3485
3486else
3487  { { echo "$as_me:$LINENO: error: zlib is required, but was not found." >&5
3488echo "$as_me: error: zlib is required, but was not found." >&2;}
3489   { (exit 1); exit 1; }; }
3490fi
3491
3492
3493# Checks for pkg-config packages
3494
3495
3496if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3497	if test -n "$ac_tool_prefix"; then
3498  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3499set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3500{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3501echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3502if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3503  echo $ECHO_N "(cached) $ECHO_C" >&6
3504else
3505  case $PKG_CONFIG in
3506  [\\/]* | ?:[\\/]*)
3507  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3508  ;;
3509  *)
3510  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511for as_dir in $PATH
3512do
3513  IFS=$as_save_IFS
3514  test -z "$as_dir" && as_dir=.
3515  for ac_exec_ext in '' $ac_executable_extensions; do
3516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3517    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3518    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519    break 2
3520  fi
3521done
3522done
3523IFS=$as_save_IFS
3524
3525  ;;
3526esac
3527fi
3528PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3529if test -n "$PKG_CONFIG"; then
3530  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3531echo "${ECHO_T}$PKG_CONFIG" >&6; }
3532else
3533  { echo "$as_me:$LINENO: result: no" >&5
3534echo "${ECHO_T}no" >&6; }
3535fi
3536
3537
3538fi
3539if test -z "$ac_cv_path_PKG_CONFIG"; then
3540  ac_pt_PKG_CONFIG=$PKG_CONFIG
3541  # Extract the first word of "pkg-config", so it can be a program name with args.
3542set dummy pkg-config; ac_word=$2
3543{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3544echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3545if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3546  echo $ECHO_N "(cached) $ECHO_C" >&6
3547else
3548  case $ac_pt_PKG_CONFIG in
3549  [\\/]* | ?:[\\/]*)
3550  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3551  ;;
3552  *)
3553  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554for as_dir in $PATH
3555do
3556  IFS=$as_save_IFS
3557  test -z "$as_dir" && as_dir=.
3558  for ac_exec_ext in '' $ac_executable_extensions; do
3559  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3561    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562    break 2
3563  fi
3564done
3565done
3566IFS=$as_save_IFS
3567
3568  ;;
3569esac
3570fi
3571ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3572if test -n "$ac_pt_PKG_CONFIG"; then
3573  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3574echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3575else
3576  { echo "$as_me:$LINENO: result: no" >&5
3577echo "${ECHO_T}no" >&6; }
3578fi
3579
3580  if test "x$ac_pt_PKG_CONFIG" = x; then
3581    PKG_CONFIG=""
3582  else
3583    case $cross_compiling:$ac_tool_warned in
3584yes:)
3585{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3586whose name does not start with the host triplet.  If you think this
3587configuration is useful to you, please write to autoconf@gnu.org." >&5
3588echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3589whose name does not start with the host triplet.  If you think this
3590configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3591ac_tool_warned=yes ;;
3592esac
3593    PKG_CONFIG=$ac_pt_PKG_CONFIG
3594  fi
3595else
3596  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3597fi
3598
3599fi
3600if test -n "$PKG_CONFIG"; then
3601	_pkg_min_version=0.9.0
3602	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3603echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3604	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3605		{ echo "$as_me:$LINENO: result: yes" >&5
3606echo "${ECHO_T}yes" >&6; }
3607	else
3608		{ echo "$as_me:$LINENO: result: no" >&5
3609echo "${ECHO_T}no" >&6; }
3610		PKG_CONFIG=""
3611	fi
3612
3613fi
3614
3615pkg_failed=no
3616{ echo "$as_me:$LINENO: checking for MKFONTSCALE" >&5
3617echo $ECHO_N "checking for MKFONTSCALE... $ECHO_C" >&6; }
3618
3619if test -n "$PKG_CONFIG"; then
3620    if test -n "$MKFONTSCALE_CFLAGS"; then
3621        pkg_cv_MKFONTSCALE_CFLAGS="$MKFONTSCALE_CFLAGS"
3622    else
3623        if test -n "$PKG_CONFIG" && \
3624    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\"") >&5
3625  ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
3626  ac_status=$?
3627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628  (exit $ac_status); }; then
3629  pkg_cv_MKFONTSCALE_CFLAGS=`$PKG_CONFIG --cflags "fontenc freetype2" 2>/dev/null`
3630else
3631  pkg_failed=yes
3632fi
3633    fi
3634else
3635	pkg_failed=untried
3636fi
3637if test -n "$PKG_CONFIG"; then
3638    if test -n "$MKFONTSCALE_LIBS"; then
3639        pkg_cv_MKFONTSCALE_LIBS="$MKFONTSCALE_LIBS"
3640    else
3641        if test -n "$PKG_CONFIG" && \
3642    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\"") >&5
3643  ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
3644  ac_status=$?
3645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646  (exit $ac_status); }; then
3647  pkg_cv_MKFONTSCALE_LIBS=`$PKG_CONFIG --libs "fontenc freetype2" 2>/dev/null`
3648else
3649  pkg_failed=yes
3650fi
3651    fi
3652else
3653	pkg_failed=untried
3654fi
3655
3656
3657
3658if test $pkg_failed = yes; then
3659
3660if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3661        _pkg_short_errors_supported=yes
3662else
3663        _pkg_short_errors_supported=no
3664fi
3665        if test $_pkg_short_errors_supported = yes; then
3666	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontenc freetype2"`
3667        else
3668	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontenc freetype2"`
3669        fi
3670	# Put the nasty error message in config.log where it belongs
3671	echo "$MKFONTSCALE_PKG_ERRORS" >&5
3672
3673	{ { echo "$as_me:$LINENO: error: Package requirements (fontenc freetype2) were not met:
3674
3675$MKFONTSCALE_PKG_ERRORS
3676
3677Consider adjusting the PKG_CONFIG_PATH environment variable if you
3678installed software in a non-standard prefix.
3679
3680Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
3681and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
3682See the pkg-config man page for more details.
3683" >&5
3684echo "$as_me: error: Package requirements (fontenc freetype2) were not met:
3685
3686$MKFONTSCALE_PKG_ERRORS
3687
3688Consider adjusting the PKG_CONFIG_PATH environment variable if you
3689installed software in a non-standard prefix.
3690
3691Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
3692and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
3693See the pkg-config man page for more details.
3694" >&2;}
3695   { (exit 1); exit 1; }; }
3696elif test $pkg_failed = untried; then
3697	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3698is in your PATH or set the PKG_CONFIG environment variable to the full
3699path to pkg-config.
3700
3701Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
3702and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
3703See the pkg-config man page for more details.
3704
3705To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3706See \`config.log' for more details." >&5
3707echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3708is in your PATH or set the PKG_CONFIG environment variable to the full
3709path to pkg-config.
3710
3711Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
3712and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
3713See the pkg-config man page for more details.
3714
3715To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3716See \`config.log' for more details." >&2;}
3717   { (exit 1); exit 1; }; }
3718else
3719	MKFONTSCALE_CFLAGS=$pkg_cv_MKFONTSCALE_CFLAGS
3720	MKFONTSCALE_LIBS=$pkg_cv_MKFONTSCALE_LIBS
3721        { echo "$as_me:$LINENO: result: yes" >&5
3722echo "${ECHO_T}yes" >&6; }
3723	:
3724fi
3725
3726
3727
3728
3729pkg_failed=no
3730{ echo "$as_me:$LINENO: checking for X11" >&5
3731echo $ECHO_N "checking for X11... $ECHO_C" >&6; }
3732
3733if test -n "$PKG_CONFIG"; then
3734    if test -n "$X11_CFLAGS"; then
3735        pkg_cv_X11_CFLAGS="$X11_CFLAGS"
3736    else
3737        if test -n "$PKG_CONFIG" && \
3738    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
3739  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
3740  ac_status=$?
3741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742  (exit $ac_status); }; then
3743  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
3744else
3745  pkg_failed=yes
3746fi
3747    fi
3748else
3749	pkg_failed=untried
3750fi
3751if test -n "$PKG_CONFIG"; then
3752    if test -n "$X11_LIBS"; then
3753        pkg_cv_X11_LIBS="$X11_LIBS"
3754    else
3755        if test -n "$PKG_CONFIG" && \
3756    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
3757  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
3758  ac_status=$?
3759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760  (exit $ac_status); }; then
3761  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
3762else
3763  pkg_failed=yes
3764fi
3765    fi
3766else
3767	pkg_failed=untried
3768fi
3769
3770
3771
3772if test $pkg_failed = yes; then
3773
3774if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3775        _pkg_short_errors_supported=yes
3776else
3777        _pkg_short_errors_supported=no
3778fi
3779        if test $_pkg_short_errors_supported = yes; then
3780	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto"`
3781        else
3782	        X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto"`
3783        fi
3784	# Put the nasty error message in config.log where it belongs
3785	echo "$X11_PKG_ERRORS" >&5
3786
3787	{ { echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
3788
3789$X11_PKG_ERRORS
3790
3791Consider adjusting the PKG_CONFIG_PATH environment variable if you
3792installed software in a non-standard prefix.
3793
3794Alternatively, you may set the environment variables X11_CFLAGS
3795and X11_LIBS to avoid the need to call pkg-config.
3796See the pkg-config man page for more details.
3797" >&5
3798echo "$as_me: error: Package requirements (xproto) were not met:
3799
3800$X11_PKG_ERRORS
3801
3802Consider adjusting the PKG_CONFIG_PATH environment variable if you
3803installed software in a non-standard prefix.
3804
3805Alternatively, you may set the environment variables X11_CFLAGS
3806and X11_LIBS to avoid the need to call pkg-config.
3807See the pkg-config man page for more details.
3808" >&2;}
3809   { (exit 1); exit 1; }; }
3810elif test $pkg_failed = untried; then
3811	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3812is in your PATH or set the PKG_CONFIG environment variable to the full
3813path to pkg-config.
3814
3815Alternatively, you may set the environment variables X11_CFLAGS
3816and X11_LIBS to avoid the need to call pkg-config.
3817See the pkg-config man page for more details.
3818
3819To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3820See \`config.log' for more details." >&5
3821echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3822is in your PATH or set the PKG_CONFIG environment variable to the full
3823path to pkg-config.
3824
3825Alternatively, you may set the environment variables X11_CFLAGS
3826and X11_LIBS to avoid the need to call pkg-config.
3827See the pkg-config man page for more details.
3828
3829To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3830See \`config.log' for more details." >&2;}
3831   { (exit 1); exit 1; }; }
3832else
3833	X11_CFLAGS=$pkg_cv_X11_CFLAGS
3834	X11_LIBS=$pkg_cv_X11_LIBS
3835        { echo "$as_me:$LINENO: result: yes" >&5
3836echo "${ECHO_T}yes" >&6; }
3837	:
3838fi
3839
3840
3841# Make sure we can run config.sub.
3842$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3843  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3844echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3845   { (exit 1); exit 1; }; }
3846
3847{ echo "$as_me:$LINENO: checking build system type" >&5
3848echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3849if test "${ac_cv_build+set}" = set; then
3850  echo $ECHO_N "(cached) $ECHO_C" >&6
3851else
3852  ac_build_alias=$build_alias
3853test "x$ac_build_alias" = x &&
3854  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3855test "x$ac_build_alias" = x &&
3856  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3857echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3858   { (exit 1); exit 1; }; }
3859ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3860  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3861echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3862   { (exit 1); exit 1; }; }
3863
3864fi
3865{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3866echo "${ECHO_T}$ac_cv_build" >&6; }
3867case $ac_cv_build in
3868*-*-*) ;;
3869*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3870echo "$as_me: error: invalid value of canonical build" >&2;}
3871   { (exit 1); exit 1; }; };;
3872esac
3873build=$ac_cv_build
3874ac_save_IFS=$IFS; IFS='-'
3875set x $ac_cv_build
3876shift
3877build_cpu=$1
3878build_vendor=$2
3879shift; shift
3880# Remember, the first character of IFS is used to create $*,
3881# except with old shells:
3882build_os=$*
3883IFS=$ac_save_IFS
3884case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3885
3886
3887{ echo "$as_me:$LINENO: checking host system type" >&5
3888echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3889if test "${ac_cv_host+set}" = set; then
3890  echo $ECHO_N "(cached) $ECHO_C" >&6
3891else
3892  if test "x$host_alias" = x; then
3893  ac_cv_host=$ac_cv_build
3894else
3895  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3896    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3897echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3898   { (exit 1); exit 1; }; }
3899fi
3900
3901fi
3902{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3903echo "${ECHO_T}$ac_cv_host" >&6; }
3904case $ac_cv_host in
3905*-*-*) ;;
3906*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3907echo "$as_me: error: invalid value of canonical host" >&2;}
3908   { (exit 1); exit 1; }; };;
3909esac
3910host=$ac_cv_host
3911ac_save_IFS=$IFS; IFS='-'
3912set x $ac_cv_host
3913shift
3914host_cpu=$1
3915host_vendor=$2
3916shift; shift
3917# Remember, the first character of IFS is used to create $*,
3918# except with old shells:
3919host_os=$*
3920IFS=$ac_save_IFS
3921case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3922
3923
3924
3925
3926
3927if test x$APP_MAN_SUFFIX = x    ; then
3928    APP_MAN_SUFFIX=1
3929fi
3930if test x$APP_MAN_DIR = x    ; then
3931    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3932fi
3933
3934if test x$LIB_MAN_SUFFIX = x    ; then
3935    LIB_MAN_SUFFIX=3
3936fi
3937if test x$LIB_MAN_DIR = x    ; then
3938    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3939fi
3940
3941if test x$FILE_MAN_SUFFIX = x    ; then
3942    case $host_os in
3943	solaris*)	FILE_MAN_SUFFIX=4  ;;
3944	*)		FILE_MAN_SUFFIX=5  ;;
3945    esac
3946fi
3947if test x$FILE_MAN_DIR = x    ; then
3948    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3949fi
3950
3951if test x$MISC_MAN_SUFFIX = x    ; then
3952    case $host_os in
3953	solaris*)	MISC_MAN_SUFFIX=5  ;;
3954	*)		MISC_MAN_SUFFIX=7  ;;
3955    esac
3956fi
3957if test x$MISC_MAN_DIR = x    ; then
3958    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3959fi
3960
3961if test x$DRIVER_MAN_SUFFIX = x    ; then
3962    case $host_os in
3963	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3964	*)		DRIVER_MAN_SUFFIX=4  ;;
3965    esac
3966fi
3967if test x$DRIVER_MAN_DIR = x    ; then
3968    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3969fi
3970
3971if test x$ADMIN_MAN_SUFFIX = x    ; then
3972    case $host_os in
3973	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3974	*)		ADMIN_MAN_SUFFIX=8  ;;
3975    esac
3976fi
3977if test x$ADMIN_MAN_DIR = x    ; then
3978    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3979fi
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997# Check whether --with-release-version was given.
3998if test "${with_release_version+set}" = set; then
3999  withval=$with_release_version; RELEASE_VERSION="$withval"
4000else
4001  RELEASE_VERSION=""
4002fi
4003
4004	if test "x$RELEASE_VERSION" != "x"; then
4005		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4006		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4007		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4008echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4009	fi
4010
4011cat >>confdefs.h <<_ACEOF
4012#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4013_ACEOF
4014
4015	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4016	if test "x$PVM" = "x"; then
4017		PVM="0"
4018	fi
4019
4020cat >>confdefs.h <<_ACEOF
4021#define PACKAGE_VERSION_MINOR $PVM
4022_ACEOF
4023
4024	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4025	if test "x$PVP" = "x"; then
4026		PVP="0"
4027	fi
4028
4029cat >>confdefs.h <<_ACEOF
4030#define PACKAGE_VERSION_PATCHLEVEL $PVP
4031_ACEOF
4032
4033
4034
4035ac_config_files="$ac_config_files Makefile"
4036
4037cat >confcache <<\_ACEOF
4038# This file is a shell script that caches the results of configure
4039# tests run on this system so they can be shared between configure
4040# scripts and configure runs, see configure's option --config-cache.
4041# It is not useful on other systems.  If it contains results you don't
4042# want to keep, you may remove or edit it.
4043#
4044# config.status only pays attention to the cache file if you give it
4045# the --recheck option to rerun configure.
4046#
4047# `ac_cv_env_foo' variables (set or unset) will be overridden when
4048# loading this file, other *unset* `ac_cv_foo' will be assigned the
4049# following values.
4050
4051_ACEOF
4052
4053# The following way of writing the cache mishandles newlines in values,
4054# but we know of no workaround that is simple, portable, and efficient.
4055# So, we kill variables containing newlines.
4056# Ultrix sh set writes to stderr and can't be redirected directly,
4057# and sets the high bit in the cache file unless we assign to the vars.
4058(
4059  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4060    eval ac_val=\$$ac_var
4061    case $ac_val in #(
4062    *${as_nl}*)
4063      case $ac_var in #(
4064      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4065echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4066      esac
4067      case $ac_var in #(
4068      _ | IFS | as_nl) ;; #(
4069      *) $as_unset $ac_var ;;
4070      esac ;;
4071    esac
4072  done
4073
4074  (set) 2>&1 |
4075    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4076    *${as_nl}ac_space=\ *)
4077      # `set' does not quote correctly, so add quotes (double-quote
4078      # substitution turns \\\\ into \\, and sed turns \\ into \).
4079      sed -n \
4080	"s/'/'\\\\''/g;
4081	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4082      ;; #(
4083    *)
4084      # `set' quotes correctly as required by POSIX, so do not add quotes.
4085      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4086      ;;
4087    esac |
4088    sort
4089) |
4090  sed '
4091     /^ac_cv_env_/b end
4092     t clear
4093     :clear
4094     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4095     t end
4096     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4097     :end' >>confcache
4098if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4099  if test -w "$cache_file"; then
4100    test "x$cache_file" != "x/dev/null" &&
4101      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4102echo "$as_me: updating cache $cache_file" >&6;}
4103    cat confcache >$cache_file
4104  else
4105    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4106echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4107  fi
4108fi
4109rm -f confcache
4110
4111test "x$prefix" = xNONE && prefix=$ac_default_prefix
4112# Let make expand exec_prefix.
4113test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4114
4115DEFS=-DHAVE_CONFIG_H
4116
4117ac_libobjs=
4118ac_ltlibobjs=
4119for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4120  # 1. Remove the extension, and $U if already installed.
4121  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4122  ac_i=`echo "$ac_i" | sed "$ac_script"`
4123  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4124  #    will be set to the directory where LIBOBJS objects are built.
4125  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4126  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4127done
4128LIBOBJS=$ac_libobjs
4129
4130LTLIBOBJS=$ac_ltlibobjs
4131
4132
4133if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4134  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4135Usually this means the macro was only invoked conditionally." >&5
4136echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4137Usually this means the macro was only invoked conditionally." >&2;}
4138   { (exit 1); exit 1; }; }
4139fi
4140if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4141  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4142Usually this means the macro was only invoked conditionally." >&5
4143echo "$as_me: error: conditional \"AMDEP\" was never defined.
4144Usually this means the macro was only invoked conditionally." >&2;}
4145   { (exit 1); exit 1; }; }
4146fi
4147if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4148  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4149Usually this means the macro was only invoked conditionally." >&5
4150echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4151Usually this means the macro was only invoked conditionally." >&2;}
4152   { (exit 1); exit 1; }; }
4153fi
4154
4155: ${CONFIG_STATUS=./config.status}
4156ac_clean_files_save=$ac_clean_files
4157ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4158{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4159echo "$as_me: creating $CONFIG_STATUS" >&6;}
4160cat >$CONFIG_STATUS <<_ACEOF
4161#! $SHELL
4162# Generated by $as_me.
4163# Run this file to recreate the current configuration.
4164# Compiler output produced by configure, useful for debugging
4165# configure, is in config.log if it exists.
4166
4167debug=false
4168ac_cs_recheck=false
4169ac_cs_silent=false
4170SHELL=\${CONFIG_SHELL-$SHELL}
4171_ACEOF
4172
4173cat >>$CONFIG_STATUS <<\_ACEOF
4174## --------------------- ##
4175## M4sh Initialization.  ##
4176## --------------------- ##
4177
4178# Be more Bourne compatible
4179DUALCASE=1; export DUALCASE # for MKS sh
4180if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4181  emulate sh
4182  NULLCMD=:
4183  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4184  # is contrary to our usage.  Disable this feature.
4185  alias -g '${1+"$@"}'='"$@"'
4186  setopt NO_GLOB_SUBST
4187else
4188  case `(set -o) 2>/dev/null` in
4189  *posix*) set -o posix ;;
4190esac
4191
4192fi
4193
4194
4195
4196
4197# PATH needs CR
4198# Avoid depending upon Character Ranges.
4199as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4200as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4201as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4202as_cr_digits='0123456789'
4203as_cr_alnum=$as_cr_Letters$as_cr_digits
4204
4205# The user is always right.
4206if test "${PATH_SEPARATOR+set}" != set; then
4207  echo "#! /bin/sh" >conf$$.sh
4208  echo  "exit 0"   >>conf$$.sh
4209  chmod +x conf$$.sh
4210  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4211    PATH_SEPARATOR=';'
4212  else
4213    PATH_SEPARATOR=:
4214  fi
4215  rm -f conf$$.sh
4216fi
4217
4218# Support unset when possible.
4219if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4220  as_unset=unset
4221else
4222  as_unset=false
4223fi
4224
4225
4226# IFS
4227# We need space, tab and new line, in precisely that order.  Quoting is
4228# there to prevent editors from complaining about space-tab.
4229# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4230# splitting by setting IFS to empty value.)
4231as_nl='
4232'
4233IFS=" ""	$as_nl"
4234
4235# Find who we are.  Look in the path if we contain no directory separator.
4236case $0 in
4237  *[\\/]* ) as_myself=$0 ;;
4238  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239for as_dir in $PATH
4240do
4241  IFS=$as_save_IFS
4242  test -z "$as_dir" && as_dir=.
4243  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4244done
4245IFS=$as_save_IFS
4246
4247     ;;
4248esac
4249# We did not find ourselves, most probably we were run as `sh COMMAND'
4250# in which case we are not to be found in the path.
4251if test "x$as_myself" = x; then
4252  as_myself=$0
4253fi
4254if test ! -f "$as_myself"; then
4255  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4256  { (exit 1); exit 1; }
4257fi
4258
4259# Work around bugs in pre-3.0 UWIN ksh.
4260for as_var in ENV MAIL MAILPATH
4261do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4262done
4263PS1='$ '
4264PS2='> '
4265PS4='+ '
4266
4267# NLS nuisances.
4268for as_var in \
4269  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4270  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4271  LC_TELEPHONE LC_TIME
4272do
4273  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4274    eval $as_var=C; export $as_var
4275  else
4276    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4277  fi
4278done
4279
4280# Required to use basename.
4281if expr a : '\(a\)' >/dev/null 2>&1 &&
4282   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4283  as_expr=expr
4284else
4285  as_expr=false
4286fi
4287
4288if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4289  as_basename=basename
4290else
4291  as_basename=false
4292fi
4293
4294
4295# Name of the executable.
4296as_me=`$as_basename -- "$0" ||
4297$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4298	 X"$0" : 'X\(//\)$' \| \
4299	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4300echo X/"$0" |
4301    sed '/^.*\/\([^/][^/]*\)\/*$/{
4302	    s//\1/
4303	    q
4304	  }
4305	  /^X\/\(\/\/\)$/{
4306	    s//\1/
4307	    q
4308	  }
4309	  /^X\/\(\/\).*/{
4310	    s//\1/
4311	    q
4312	  }
4313	  s/.*/./; q'`
4314
4315# CDPATH.
4316$as_unset CDPATH
4317
4318
4319
4320  as_lineno_1=$LINENO
4321  as_lineno_2=$LINENO
4322  test "x$as_lineno_1" != "x$as_lineno_2" &&
4323  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4324
4325  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4326  # uniformly replaced by the line number.  The first 'sed' inserts a
4327  # line-number line after each line using $LINENO; the second 'sed'
4328  # does the real work.  The second script uses 'N' to pair each
4329  # line-number line with the line containing $LINENO, and appends
4330  # trailing '-' during substitution so that $LINENO is not a special
4331  # case at line end.
4332  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4333  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4334  # E. McMahon (1931-1989) for sed's syntax.  :-)
4335  sed -n '
4336    p
4337    /[$]LINENO/=
4338  ' <$as_myself |
4339    sed '
4340      s/[$]LINENO.*/&-/
4341      t lineno
4342      b
4343      :lineno
4344      N
4345      :loop
4346      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4347      t loop
4348      s/-\n.*//
4349    ' >$as_me.lineno &&
4350  chmod +x "$as_me.lineno" ||
4351    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4352   { (exit 1); exit 1; }; }
4353
4354  # Don't try to exec as it changes $[0], causing all sort of problems
4355  # (the dirname of $[0] is not the place where we might find the
4356  # original and so on.  Autoconf is especially sensitive to this).
4357  . "./$as_me.lineno"
4358  # Exit status is that of the last command.
4359  exit
4360}
4361
4362
4363if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4364  as_dirname=dirname
4365else
4366  as_dirname=false
4367fi
4368
4369ECHO_C= ECHO_N= ECHO_T=
4370case `echo -n x` in
4371-n*)
4372  case `echo 'x\c'` in
4373  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4374  *)   ECHO_C='\c';;
4375  esac;;
4376*)
4377  ECHO_N='-n';;
4378esac
4379
4380if expr a : '\(a\)' >/dev/null 2>&1 &&
4381   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4382  as_expr=expr
4383else
4384  as_expr=false
4385fi
4386
4387rm -f conf$$ conf$$.exe conf$$.file
4388if test -d conf$$.dir; then
4389  rm -f conf$$.dir/conf$$.file
4390else
4391  rm -f conf$$.dir
4392  mkdir conf$$.dir
4393fi
4394echo >conf$$.file
4395if ln -s conf$$.file conf$$ 2>/dev/null; then
4396  as_ln_s='ln -s'
4397  # ... but there are two gotchas:
4398  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4399  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4400  # In both cases, we have to default to `cp -p'.
4401  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4402    as_ln_s='cp -p'
4403elif ln conf$$.file conf$$ 2>/dev/null; then
4404  as_ln_s=ln
4405else
4406  as_ln_s='cp -p'
4407fi
4408rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4409rmdir conf$$.dir 2>/dev/null
4410
4411if mkdir -p . 2>/dev/null; then
4412  as_mkdir_p=:
4413else
4414  test -d ./-p && rmdir ./-p
4415  as_mkdir_p=false
4416fi
4417
4418if test -x / >/dev/null 2>&1; then
4419  as_test_x='test -x'
4420else
4421  if ls -dL / >/dev/null 2>&1; then
4422    as_ls_L_option=L
4423  else
4424    as_ls_L_option=
4425  fi
4426  as_test_x='
4427    eval sh -c '\''
4428      if test -d "$1"; then
4429        test -d "$1/.";
4430      else
4431	case $1 in
4432        -*)set "./$1";;
4433	esac;
4434	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4435	???[sx]*):;;*)false;;esac;fi
4436    '\'' sh
4437  '
4438fi
4439as_executable_p=$as_test_x
4440
4441# Sed expression to map a string onto a valid CPP name.
4442as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4443
4444# Sed expression to map a string onto a valid variable name.
4445as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4446
4447
4448exec 6>&1
4449
4450# Save the log message, to keep $[0] and so on meaningful, and to
4451# report actual input values of CONFIG_FILES etc. instead of their
4452# values after options handling.
4453ac_log="
4454This file was extended by mkfontscale $as_me 1.0.5, which was
4455generated by GNU Autoconf 2.61.  Invocation command line was
4456
4457  CONFIG_FILES    = $CONFIG_FILES
4458  CONFIG_HEADERS  = $CONFIG_HEADERS
4459  CONFIG_LINKS    = $CONFIG_LINKS
4460  CONFIG_COMMANDS = $CONFIG_COMMANDS
4461  $ $0 $@
4462
4463on `(hostname || uname -n) 2>/dev/null | sed 1q`
4464"
4465
4466_ACEOF
4467
4468cat >>$CONFIG_STATUS <<_ACEOF
4469# Files that config.status was made for.
4470config_files="$ac_config_files"
4471config_headers="$ac_config_headers"
4472config_commands="$ac_config_commands"
4473
4474_ACEOF
4475
4476cat >>$CONFIG_STATUS <<\_ACEOF
4477ac_cs_usage="\
4478\`$as_me' instantiates files from templates according to the
4479current configuration.
4480
4481Usage: $0 [OPTIONS] [FILE]...
4482
4483  -h, --help       print this help, then exit
4484  -V, --version    print version number and configuration settings, then exit
4485  -q, --quiet      do not print progress messages
4486  -d, --debug      don't remove temporary files
4487      --recheck    update $as_me by reconfiguring in the same conditions
4488  --file=FILE[:TEMPLATE]
4489		   instantiate the configuration file FILE
4490  --header=FILE[:TEMPLATE]
4491		   instantiate the configuration header FILE
4492
4493Configuration files:
4494$config_files
4495
4496Configuration headers:
4497$config_headers
4498
4499Configuration commands:
4500$config_commands
4501
4502Report bugs to <bug-autoconf@gnu.org>."
4503
4504_ACEOF
4505cat >>$CONFIG_STATUS <<_ACEOF
4506ac_cs_version="\\
4507mkfontscale config.status 1.0.5
4508configured by $0, generated by GNU Autoconf 2.61,
4509  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4510
4511Copyright (C) 2006 Free Software Foundation, Inc.
4512This config.status script is free software; the Free Software Foundation
4513gives unlimited permission to copy, distribute and modify it."
4514
4515ac_pwd='$ac_pwd'
4516srcdir='$srcdir'
4517INSTALL='$INSTALL'
4518MKDIR_P='$MKDIR_P'
4519_ACEOF
4520
4521cat >>$CONFIG_STATUS <<\_ACEOF
4522# If no file are specified by the user, then we need to provide default
4523# value.  By we need to know if files were specified by the user.
4524ac_need_defaults=:
4525while test $# != 0
4526do
4527  case $1 in
4528  --*=*)
4529    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4530    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4531    ac_shift=:
4532    ;;
4533  *)
4534    ac_option=$1
4535    ac_optarg=$2
4536    ac_shift=shift
4537    ;;
4538  esac
4539
4540  case $ac_option in
4541  # Handling of the options.
4542  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4543    ac_cs_recheck=: ;;
4544  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4545    echo "$ac_cs_version"; exit ;;
4546  --debug | --debu | --deb | --de | --d | -d )
4547    debug=: ;;
4548  --file | --fil | --fi | --f )
4549    $ac_shift
4550    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4551    ac_need_defaults=false;;
4552  --header | --heade | --head | --hea )
4553    $ac_shift
4554    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4555    ac_need_defaults=false;;
4556  --he | --h)
4557    # Conflict between --help and --header
4558    { echo "$as_me: error: ambiguous option: $1
4559Try \`$0 --help' for more information." >&2
4560   { (exit 1); exit 1; }; };;
4561  --help | --hel | -h )
4562    echo "$ac_cs_usage"; exit ;;
4563  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4564  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4565    ac_cs_silent=: ;;
4566
4567  # This is an error.
4568  -*) { echo "$as_me: error: unrecognized option: $1
4569Try \`$0 --help' for more information." >&2
4570   { (exit 1); exit 1; }; } ;;
4571
4572  *) ac_config_targets="$ac_config_targets $1"
4573     ac_need_defaults=false ;;
4574
4575  esac
4576  shift
4577done
4578
4579ac_configure_extra_args=
4580
4581if $ac_cs_silent; then
4582  exec 6>/dev/null
4583  ac_configure_extra_args="$ac_configure_extra_args --silent"
4584fi
4585
4586_ACEOF
4587cat >>$CONFIG_STATUS <<_ACEOF
4588if \$ac_cs_recheck; then
4589  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4590  CONFIG_SHELL=$SHELL
4591  export CONFIG_SHELL
4592  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4593fi
4594
4595_ACEOF
4596cat >>$CONFIG_STATUS <<\_ACEOF
4597exec 5>>config.log
4598{
4599  echo
4600  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4601## Running $as_me. ##
4602_ASBOX
4603  echo "$ac_log"
4604} >&5
4605
4606_ACEOF
4607cat >>$CONFIG_STATUS <<_ACEOF
4608#
4609# INIT-COMMANDS
4610#
4611AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4612
4613_ACEOF
4614
4615cat >>$CONFIG_STATUS <<\_ACEOF
4616
4617# Handling of arguments.
4618for ac_config_target in $ac_config_targets
4619do
4620  case $ac_config_target in
4621    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4622    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4623    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4624
4625  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4626echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4627   { (exit 1); exit 1; }; };;
4628  esac
4629done
4630
4631
4632# If the user did not use the arguments to specify the items to instantiate,
4633# then the envvar interface is used.  Set only those that are not.
4634# We use the long form for the default assignment because of an extremely
4635# bizarre bug on SunOS 4.1.3.
4636if $ac_need_defaults; then
4637  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4638  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4639  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4640fi
4641
4642# Have a temporary directory for convenience.  Make it in the build tree
4643# simply because there is no reason against having it here, and in addition,
4644# creating and moving files from /tmp can sometimes cause problems.
4645# Hook for its removal unless debugging.
4646# Note that there is a small window in which the directory will not be cleaned:
4647# after its creation but before its name has been assigned to `$tmp'.
4648$debug ||
4649{
4650  tmp=
4651  trap 'exit_status=$?
4652  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4653' 0
4654  trap '{ (exit 1); exit 1; }' 1 2 13 15
4655}
4656# Create a (secure) tmp directory for tmp files.
4657
4658{
4659  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4660  test -n "$tmp" && test -d "$tmp"
4661}  ||
4662{
4663  tmp=./conf$$-$RANDOM
4664  (umask 077 && mkdir "$tmp")
4665} ||
4666{
4667   echo "$me: cannot create a temporary directory in ." >&2
4668   { (exit 1); exit 1; }
4669}
4670
4671#
4672# Set up the sed scripts for CONFIG_FILES section.
4673#
4674
4675# No need to generate the scripts if there are no CONFIG_FILES.
4676# This happens for instance when ./config.status config.h
4677if test -n "$CONFIG_FILES"; then
4678
4679_ACEOF
4680
4681
4682
4683ac_delim='%!_!# '
4684for ac_last_try in false false false false false :; do
4685  cat >conf$$subs.sed <<_ACEOF
4686SHELL!$SHELL$ac_delim
4687PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4688PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4689PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4690PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4691PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4692PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4693exec_prefix!$exec_prefix$ac_delim
4694prefix!$prefix$ac_delim
4695program_transform_name!$program_transform_name$ac_delim
4696bindir!$bindir$ac_delim
4697sbindir!$sbindir$ac_delim
4698libexecdir!$libexecdir$ac_delim
4699datarootdir!$datarootdir$ac_delim
4700datadir!$datadir$ac_delim
4701sysconfdir!$sysconfdir$ac_delim
4702sharedstatedir!$sharedstatedir$ac_delim
4703localstatedir!$localstatedir$ac_delim
4704includedir!$includedir$ac_delim
4705oldincludedir!$oldincludedir$ac_delim
4706docdir!$docdir$ac_delim
4707infodir!$infodir$ac_delim
4708htmldir!$htmldir$ac_delim
4709dvidir!$dvidir$ac_delim
4710pdfdir!$pdfdir$ac_delim
4711psdir!$psdir$ac_delim
4712libdir!$libdir$ac_delim
4713localedir!$localedir$ac_delim
4714mandir!$mandir$ac_delim
4715DEFS!$DEFS$ac_delim
4716ECHO_C!$ECHO_C$ac_delim
4717ECHO_N!$ECHO_N$ac_delim
4718ECHO_T!$ECHO_T$ac_delim
4719LIBS!$LIBS$ac_delim
4720build_alias!$build_alias$ac_delim
4721host_alias!$host_alias$ac_delim
4722target_alias!$target_alias$ac_delim
4723INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4724INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4725INSTALL_DATA!$INSTALL_DATA$ac_delim
4726am__isrc!$am__isrc$ac_delim
4727CYGPATH_W!$CYGPATH_W$ac_delim
4728PACKAGE!$PACKAGE$ac_delim
4729VERSION!$VERSION$ac_delim
4730ACLOCAL!$ACLOCAL$ac_delim
4731AUTOCONF!$AUTOCONF$ac_delim
4732AUTOMAKE!$AUTOMAKE$ac_delim
4733AUTOHEADER!$AUTOHEADER$ac_delim
4734MAKEINFO!$MAKEINFO$ac_delim
4735install_sh!$install_sh$ac_delim
4736STRIP!$STRIP$ac_delim
4737INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4738mkdir_p!$mkdir_p$ac_delim
4739AWK!$AWK$ac_delim
4740SET_MAKE!$SET_MAKE$ac_delim
4741am__leading_dot!$am__leading_dot$ac_delim
4742AMTAR!$AMTAR$ac_delim
4743am__tar!$am__tar$ac_delim
4744am__untar!$am__untar$ac_delim
4745MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4746MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4747MAINT!$MAINT$ac_delim
4748CC!$CC$ac_delim
4749CFLAGS!$CFLAGS$ac_delim
4750LDFLAGS!$LDFLAGS$ac_delim
4751CPPFLAGS!$CPPFLAGS$ac_delim
4752ac_ct_CC!$ac_ct_CC$ac_delim
4753EXEEXT!$EXEEXT$ac_delim
4754OBJEXT!$OBJEXT$ac_delim
4755DEPDIR!$DEPDIR$ac_delim
4756am__include!$am__include$ac_delim
4757am__quote!$am__quote$ac_delim
4758AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4759AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4760AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4761CCDEPMODE!$CCDEPMODE$ac_delim
4762am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4763am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4764PKG_CONFIG!$PKG_CONFIG$ac_delim
4765MKFONTSCALE_CFLAGS!$MKFONTSCALE_CFLAGS$ac_delim
4766MKFONTSCALE_LIBS!$MKFONTSCALE_LIBS$ac_delim
4767X11_CFLAGS!$X11_CFLAGS$ac_delim
4768X11_LIBS!$X11_LIBS$ac_delim
4769build!$build$ac_delim
4770build_cpu!$build_cpu$ac_delim
4771build_vendor!$build_vendor$ac_delim
4772build_os!$build_os$ac_delim
4773host!$host$ac_delim
4774host_cpu!$host_cpu$ac_delim
4775host_vendor!$host_vendor$ac_delim
4776host_os!$host_os$ac_delim
4777APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4778LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4779FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4780MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4781DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4782ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4783_ACEOF
4784
4785  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4786    break
4787  elif $ac_last_try; then
4788    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4789echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4790   { (exit 1); exit 1; }; }
4791  else
4792    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4793  fi
4794done
4795
4796ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4797if test -n "$ac_eof"; then
4798  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4799  ac_eof=`expr $ac_eof + 1`
4800fi
4801
4802cat >>$CONFIG_STATUS <<_ACEOF
4803cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4804/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4805_ACEOF
4806sed '
4807s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4808s/^/s,@/; s/!/@,|#_!!_#|/
4809:n
4810t n
4811s/'"$ac_delim"'$/,g/; t
4812s/$/\\/; p
4813N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4814' >>$CONFIG_STATUS <conf$$subs.sed
4815rm -f conf$$subs.sed
4816cat >>$CONFIG_STATUS <<_ACEOF
4817CEOF$ac_eof
4818_ACEOF
4819
4820
4821ac_delim='%!_!# '
4822for ac_last_try in false false false false false :; do
4823  cat >conf$$subs.sed <<_ACEOF
4824APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4825LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4826FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4827MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4828DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4829ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4830LIBOBJS!$LIBOBJS$ac_delim
4831LTLIBOBJS!$LTLIBOBJS$ac_delim
4832_ACEOF
4833
4834  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
4835    break
4836  elif $ac_last_try; then
4837    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4838echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4839   { (exit 1); exit 1; }; }
4840  else
4841    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4842  fi
4843done
4844
4845ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4846if test -n "$ac_eof"; then
4847  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4848  ac_eof=`expr $ac_eof + 1`
4849fi
4850
4851cat >>$CONFIG_STATUS <<_ACEOF
4852cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4853/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4854_ACEOF
4855sed '
4856s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4857s/^/s,@/; s/!/@,|#_!!_#|/
4858:n
4859t n
4860s/'"$ac_delim"'$/,g/; t
4861s/$/\\/; p
4862N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4863' >>$CONFIG_STATUS <conf$$subs.sed
4864rm -f conf$$subs.sed
4865cat >>$CONFIG_STATUS <<_ACEOF
4866:end
4867s/|#_!!_#|//g
4868CEOF$ac_eof
4869_ACEOF
4870
4871
4872# VPATH may cause trouble with some makes, so we remove $(srcdir),
4873# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4874# trailing colons and then remove the whole line if VPATH becomes empty
4875# (actually we leave an empty line to preserve line numbers).
4876if test "x$srcdir" = x.; then
4877  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4878s/:*\$(srcdir):*/:/
4879s/:*\${srcdir}:*/:/
4880s/:*@srcdir@:*/:/
4881s/^\([^=]*=[	 ]*\):*/\1/
4882s/:*$//
4883s/^[^=]*=[	 ]*$//
4884}'
4885fi
4886
4887cat >>$CONFIG_STATUS <<\_ACEOF
4888fi # test -n "$CONFIG_FILES"
4889
4890
4891for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4892do
4893  case $ac_tag in
4894  :[FHLC]) ac_mode=$ac_tag; continue;;
4895  esac
4896  case $ac_mode$ac_tag in
4897  :[FHL]*:*);;
4898  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4899echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4900   { (exit 1); exit 1; }; };;
4901  :[FH]-) ac_tag=-:-;;
4902  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4903  esac
4904  ac_save_IFS=$IFS
4905  IFS=:
4906  set x $ac_tag
4907  IFS=$ac_save_IFS
4908  shift
4909  ac_file=$1
4910  shift
4911
4912  case $ac_mode in
4913  :L) ac_source=$1;;
4914  :[FH])
4915    ac_file_inputs=
4916    for ac_f
4917    do
4918      case $ac_f in
4919      -) ac_f="$tmp/stdin";;
4920      *) # Look for the file first in the build tree, then in the source tree
4921	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4922	 # because $ac_f cannot contain `:'.
4923	 test -f "$ac_f" ||
4924	   case $ac_f in
4925	   [\\/$]*) false;;
4926	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4927	   esac ||
4928	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4929echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4930   { (exit 1); exit 1; }; };;
4931      esac
4932      ac_file_inputs="$ac_file_inputs $ac_f"
4933    done
4934
4935    # Let's still pretend it is `configure' which instantiates (i.e., don't
4936    # use $as_me), people would be surprised to read:
4937    #    /* config.h.  Generated by config.status.  */
4938    configure_input="Generated from "`IFS=:
4939	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4940    if test x"$ac_file" != x-; then
4941      configure_input="$ac_file.  $configure_input"
4942      { echo "$as_me:$LINENO: creating $ac_file" >&5
4943echo "$as_me: creating $ac_file" >&6;}
4944    fi
4945
4946    case $ac_tag in
4947    *:-:* | *:-) cat >"$tmp/stdin";;
4948    esac
4949    ;;
4950  esac
4951
4952  ac_dir=`$as_dirname -- "$ac_file" ||
4953$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4954	 X"$ac_file" : 'X\(//\)[^/]' \| \
4955	 X"$ac_file" : 'X\(//\)$' \| \
4956	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4957echo X"$ac_file" |
4958    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4959	    s//\1/
4960	    q
4961	  }
4962	  /^X\(\/\/\)[^/].*/{
4963	    s//\1/
4964	    q
4965	  }
4966	  /^X\(\/\/\)$/{
4967	    s//\1/
4968	    q
4969	  }
4970	  /^X\(\/\).*/{
4971	    s//\1/
4972	    q
4973	  }
4974	  s/.*/./; q'`
4975  { as_dir="$ac_dir"
4976  case $as_dir in #(
4977  -*) as_dir=./$as_dir;;
4978  esac
4979  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4980    as_dirs=
4981    while :; do
4982      case $as_dir in #(
4983      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4984      *) as_qdir=$as_dir;;
4985      esac
4986      as_dirs="'$as_qdir' $as_dirs"
4987      as_dir=`$as_dirname -- "$as_dir" ||
4988$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4989	 X"$as_dir" : 'X\(//\)[^/]' \| \
4990	 X"$as_dir" : 'X\(//\)$' \| \
4991	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4992echo X"$as_dir" |
4993    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4994	    s//\1/
4995	    q
4996	  }
4997	  /^X\(\/\/\)[^/].*/{
4998	    s//\1/
4999	    q
5000	  }
5001	  /^X\(\/\/\)$/{
5002	    s//\1/
5003	    q
5004	  }
5005	  /^X\(\/\).*/{
5006	    s//\1/
5007	    q
5008	  }
5009	  s/.*/./; q'`
5010      test -d "$as_dir" && break
5011    done
5012    test -z "$as_dirs" || eval "mkdir $as_dirs"
5013  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5014echo "$as_me: error: cannot create directory $as_dir" >&2;}
5015   { (exit 1); exit 1; }; }; }
5016  ac_builddir=.
5017
5018case "$ac_dir" in
5019.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5020*)
5021  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5022  # A ".." for each directory in $ac_dir_suffix.
5023  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5024  case $ac_top_builddir_sub in
5025  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5026  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5027  esac ;;
5028esac
5029ac_abs_top_builddir=$ac_pwd
5030ac_abs_builddir=$ac_pwd$ac_dir_suffix
5031# for backward compatibility:
5032ac_top_builddir=$ac_top_build_prefix
5033
5034case $srcdir in
5035  .)  # We are building in place.
5036    ac_srcdir=.
5037    ac_top_srcdir=$ac_top_builddir_sub
5038    ac_abs_top_srcdir=$ac_pwd ;;
5039  [\\/]* | ?:[\\/]* )  # Absolute name.
5040    ac_srcdir=$srcdir$ac_dir_suffix;
5041    ac_top_srcdir=$srcdir
5042    ac_abs_top_srcdir=$srcdir ;;
5043  *) # Relative name.
5044    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5045    ac_top_srcdir=$ac_top_build_prefix$srcdir
5046    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5047esac
5048ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5049
5050
5051  case $ac_mode in
5052  :F)
5053  #
5054  # CONFIG_FILE
5055  #
5056
5057  case $INSTALL in
5058  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5059  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5060  esac
5061  ac_MKDIR_P=$MKDIR_P
5062  case $MKDIR_P in
5063  [\\/$]* | ?:[\\/]* ) ;;
5064  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5065  esac
5066_ACEOF
5067
5068cat >>$CONFIG_STATUS <<\_ACEOF
5069# If the template does not know about datarootdir, expand it.
5070# FIXME: This hack should be removed a few years after 2.60.
5071ac_datarootdir_hack=; ac_datarootdir_seen=
5072
5073case `sed -n '/datarootdir/ {
5074  p
5075  q
5076}
5077/@datadir@/p
5078/@docdir@/p
5079/@infodir@/p
5080/@localedir@/p
5081/@mandir@/p
5082' $ac_file_inputs` in
5083*datarootdir*) ac_datarootdir_seen=yes;;
5084*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5085  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5086echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5087_ACEOF
5088cat >>$CONFIG_STATUS <<_ACEOF
5089  ac_datarootdir_hack='
5090  s&@datadir@&$datadir&g
5091  s&@docdir@&$docdir&g
5092  s&@infodir@&$infodir&g
5093  s&@localedir@&$localedir&g
5094  s&@mandir@&$mandir&g
5095    s&\\\${datarootdir}&$datarootdir&g' ;;
5096esac
5097_ACEOF
5098
5099# Neutralize VPATH when `$srcdir' = `.'.
5100# Shell code in configure.ac might set extrasub.
5101# FIXME: do we really want to maintain this feature?
5102cat >>$CONFIG_STATUS <<_ACEOF
5103  sed "$ac_vpsub
5104$extrasub
5105_ACEOF
5106cat >>$CONFIG_STATUS <<\_ACEOF
5107:t
5108/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5109s&@configure_input@&$configure_input&;t t
5110s&@top_builddir@&$ac_top_builddir_sub&;t t
5111s&@srcdir@&$ac_srcdir&;t t
5112s&@abs_srcdir@&$ac_abs_srcdir&;t t
5113s&@top_srcdir@&$ac_top_srcdir&;t t
5114s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5115s&@builddir@&$ac_builddir&;t t
5116s&@abs_builddir@&$ac_abs_builddir&;t t
5117s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5118s&@INSTALL@&$ac_INSTALL&;t t
5119s&@MKDIR_P@&$ac_MKDIR_P&;t t
5120$ac_datarootdir_hack
5121" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5122
5123test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5124  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5125  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5126  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5127which seems to be undefined.  Please make sure it is defined." >&5
5128echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5129which seems to be undefined.  Please make sure it is defined." >&2;}
5130
5131  rm -f "$tmp/stdin"
5132  case $ac_file in
5133  -) cat "$tmp/out"; rm -f "$tmp/out";;
5134  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5135  esac
5136 ;;
5137  :H)
5138  #
5139  # CONFIG_HEADER
5140  #
5141_ACEOF
5142
5143# Transform confdefs.h into a sed script `conftest.defines', that
5144# substitutes the proper values into config.h.in to produce config.h.
5145rm -f conftest.defines conftest.tail
5146# First, append a space to every undef/define line, to ease matching.
5147echo 's/$/ /' >conftest.defines
5148# Then, protect against being on the right side of a sed subst, or in
5149# an unquoted here document, in config.status.  If some macros were
5150# called several times there might be several #defines for the same
5151# symbol, which is useless.  But do not sort them, since the last
5152# AC_DEFINE must be honored.
5153ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5154# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5155# NAME is the cpp macro being defined, VALUE is the value it is being given.
5156# PARAMS is the parameter list in the macro definition--in most cases, it's
5157# just an empty string.
5158ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
5159ac_dB='\\)[	 (].*,\\1define\\2'
5160ac_dC=' '
5161ac_dD=' ,'
5162
5163uniq confdefs.h |
5164  sed -n '
5165	t rset
5166	:rset
5167	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
5168	t ok
5169	d
5170	:ok
5171	s/[\\&,]/\\&/g
5172	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5173	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5174  ' >>conftest.defines
5175
5176# Remove the space that was appended to ease matching.
5177# Then replace #undef with comments.  This is necessary, for
5178# example, in the case of _POSIX_SOURCE, which is predefined and required
5179# on some systems where configure will not decide to define it.
5180# (The regexp can be short, since the line contains either #define or #undef.)
5181echo 's/ $//
5182s,^[	 #]*u.*,/* & */,' >>conftest.defines
5183
5184# Break up conftest.defines:
5185ac_max_sed_lines=50
5186
5187# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5188# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5189# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5190# et cetera.
5191ac_in='$ac_file_inputs'
5192ac_out='"$tmp/out1"'
5193ac_nxt='"$tmp/out2"'
5194
5195while :
5196do
5197  # Write a here document:
5198    cat >>$CONFIG_STATUS <<_ACEOF
5199    # First, check the format of the line:
5200    cat >"\$tmp/defines.sed" <<\\CEOF
5201/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
5202/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
5203b
5204:def
5205_ACEOF
5206  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5207  echo 'CEOF
5208    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5209  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5210  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5211  grep . conftest.tail >/dev/null || break
5212  rm -f conftest.defines
5213  mv conftest.tail conftest.defines
5214done
5215rm -f conftest.defines conftest.tail
5216
5217echo "ac_result=$ac_in" >>$CONFIG_STATUS
5218cat >>$CONFIG_STATUS <<\_ACEOF
5219  if test x"$ac_file" != x-; then
5220    echo "/* $configure_input  */" >"$tmp/config.h"
5221    cat "$ac_result" >>"$tmp/config.h"
5222    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5223      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5224echo "$as_me: $ac_file is unchanged" >&6;}
5225    else
5226      rm -f $ac_file
5227      mv "$tmp/config.h" $ac_file
5228    fi
5229  else
5230    echo "/* $configure_input  */"
5231    cat "$ac_result"
5232  fi
5233  rm -f "$tmp/out12"
5234# Compute $ac_file's index in $config_headers.
5235_am_arg=$ac_file
5236_am_stamp_count=1
5237for _am_header in $config_headers :; do
5238  case $_am_header in
5239    $_am_arg | $_am_arg:* )
5240      break ;;
5241    * )
5242      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5243  esac
5244done
5245echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5246$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5247	 X"$_am_arg" : 'X\(//\)[^/]' \| \
5248	 X"$_am_arg" : 'X\(//\)$' \| \
5249	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5250echo X"$_am_arg" |
5251    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5252	    s//\1/
5253	    q
5254	  }
5255	  /^X\(\/\/\)[^/].*/{
5256	    s//\1/
5257	    q
5258	  }
5259	  /^X\(\/\/\)$/{
5260	    s//\1/
5261	    q
5262	  }
5263	  /^X\(\/\).*/{
5264	    s//\1/
5265	    q
5266	  }
5267	  s/.*/./; q'`/stamp-h$_am_stamp_count
5268 ;;
5269
5270  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5271echo "$as_me: executing $ac_file commands" >&6;}
5272 ;;
5273  esac
5274
5275
5276  case $ac_file$ac_mode in
5277    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5278  # Strip MF so we end up with the name of the file.
5279  mf=`echo "$mf" | sed -e 's/:.*$//'`
5280  # Check whether this is an Automake generated Makefile or not.
5281  # We used to match only the files named `Makefile.in', but
5282  # some people rename them; so instead we look at the file content.
5283  # Grep'ing the first line is not enough: some people post-process
5284  # each Makefile.in and add a new line on top of each file to say so.
5285  # Grep'ing the whole file is not good either: AIX grep has a line
5286  # limit of 2048, but all sed's we know have understand at least 4000.
5287  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5288    dirpart=`$as_dirname -- "$mf" ||
5289$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5290	 X"$mf" : 'X\(//\)[^/]' \| \
5291	 X"$mf" : 'X\(//\)$' \| \
5292	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5293echo X"$mf" |
5294    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5295	    s//\1/
5296	    q
5297	  }
5298	  /^X\(\/\/\)[^/].*/{
5299	    s//\1/
5300	    q
5301	  }
5302	  /^X\(\/\/\)$/{
5303	    s//\1/
5304	    q
5305	  }
5306	  /^X\(\/\).*/{
5307	    s//\1/
5308	    q
5309	  }
5310	  s/.*/./; q'`
5311  else
5312    continue
5313  fi
5314  # Extract the definition of DEPDIR, am__include, and am__quote
5315  # from the Makefile without running `make'.
5316  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5317  test -z "$DEPDIR" && continue
5318  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5319  test -z "am__include" && continue
5320  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5321  # When using ansi2knr, U may be empty or an underscore; expand it
5322  U=`sed -n 's/^U = //p' < "$mf"`
5323  # Find all dependency output files, they are included files with
5324  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5325  # simplest approach to changing $(DEPDIR) to its actual value in the
5326  # expansion.
5327  for file in `sed -n "
5328    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5329       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5330    # Make sure the directory exists.
5331    test -f "$dirpart/$file" && continue
5332    fdir=`$as_dirname -- "$file" ||
5333$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5334	 X"$file" : 'X\(//\)[^/]' \| \
5335	 X"$file" : 'X\(//\)$' \| \
5336	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5337echo X"$file" |
5338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5339	    s//\1/
5340	    q
5341	  }
5342	  /^X\(\/\/\)[^/].*/{
5343	    s//\1/
5344	    q
5345	  }
5346	  /^X\(\/\/\)$/{
5347	    s//\1/
5348	    q
5349	  }
5350	  /^X\(\/\).*/{
5351	    s//\1/
5352	    q
5353	  }
5354	  s/.*/./; q'`
5355    { as_dir=$dirpart/$fdir
5356  case $as_dir in #(
5357  -*) as_dir=./$as_dir;;
5358  esac
5359  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5360    as_dirs=
5361    while :; do
5362      case $as_dir in #(
5363      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5364      *) as_qdir=$as_dir;;
5365      esac
5366      as_dirs="'$as_qdir' $as_dirs"
5367      as_dir=`$as_dirname -- "$as_dir" ||
5368$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5369	 X"$as_dir" : 'X\(//\)[^/]' \| \
5370	 X"$as_dir" : 'X\(//\)$' \| \
5371	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5372echo X"$as_dir" |
5373    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5374	    s//\1/
5375	    q
5376	  }
5377	  /^X\(\/\/\)[^/].*/{
5378	    s//\1/
5379	    q
5380	  }
5381	  /^X\(\/\/\)$/{
5382	    s//\1/
5383	    q
5384	  }
5385	  /^X\(\/\).*/{
5386	    s//\1/
5387	    q
5388	  }
5389	  s/.*/./; q'`
5390      test -d "$as_dir" && break
5391    done
5392    test -z "$as_dirs" || eval "mkdir $as_dirs"
5393  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5394echo "$as_me: error: cannot create directory $as_dir" >&2;}
5395   { (exit 1); exit 1; }; }; }
5396    # echo "creating $dirpart/$file"
5397    echo '# dummy' > "$dirpart/$file"
5398  done
5399done
5400 ;;
5401
5402  esac
5403done # for ac_tag
5404
5405
5406{ (exit 0); exit 0; }
5407_ACEOF
5408chmod +x $CONFIG_STATUS
5409ac_clean_files=$ac_clean_files_save
5410
5411
5412# configure is writing to config.log, and then calls config.status.
5413# config.status does its own redirection, appending to config.log.
5414# Unfortunately, on DOS this fails, as config.log is still kept open
5415# by configure, so config.status won't be able to write to it; its
5416# output is simply discarded.  So we exec the FD to /dev/null,
5417# effectively closing config.log, so it can be properly (re)opened and
5418# appended to by config.status.  When coming back to configure, we
5419# need to make the FD available again.
5420if test "$no_create" != yes; then
5421  ac_cs_success=:
5422  ac_config_status_args=
5423  test "$silent" = yes &&
5424    ac_config_status_args="$ac_config_status_args --quiet"
5425  exec 5>/dev/null
5426  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5427  exec 5>>config.log
5428  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5429  # would make configure fail if this is the last instruction.
5430  $ac_cs_success || { (exit 1); exit 1; }
5431fi
5432
5433