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