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