source: projects/vine-rpm-helper/trunk/configure @ 6724

Revision 6724, 221.3 KB checked in by yasumichi, 12 years ago (diff)

update version

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