source: projects/proc-rpmnew/trunk/configure @ 4585

Revision 4585, 223.0 KB checked in by yasumichi, 13 years ago (diff)

対象ファイル表示時に最終更新日時も表示するようにした。

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