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