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