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