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