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