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