source: projects/update-from-skel/trunk/configure @ 4567

Revision 4567, 218.7 KB checked in by yasumichi, 13 years ago (diff)

無効な msgid を修正

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