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