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